Ship the modular installation profile, refreshed workspace, Learning notebook
with Dito, narrated video lessons, and tutoring/indexing reliability updates.
Synchronize the English README, all 11 translations, and installation guides;
archive older notes and prepare assets/releases/ver1-7-0.md. Include the
formatting fix for the architecture diagram generator reported by CI and
pin the update-cache test fixture so releases do not change its premise.
The OpenAI-compatible stream accumulators defaulted a missing tool-call
index to 0 (or None), so with servers that send none, such as Gemini's and
Mistral's compatible endpoints, parallel tool calls shared one buffer and
their names and arguments were merged into broken JSON. A delta with a new
id now starts the next call and one without an id continues the last;
deltas that carry an index behave as before.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Masking fenced code, math and inline code in three passes let the math pattern match $ signs inside inline code, and the inline code pass then wrapped that placeholder in a new one, so a placeholder leaked into the stored answer. Match all three in one left-to-right pass and skip the repair when the text already has a NUL.
A failed GET /api/settings left Appearance on "system". Applying any
later UI change wrote that placeholder and replaced an explicit local
palette.
Seed the form from the stored preference, and omit theme from Apply
until the server has confirmed one.
The claude_code provider now declares vision support and forwards
`image_url` parts (for example a source figure retrieved by `rag` from a
knowledge base) as Anthropic `image` blocks. Turns with images go to the
CLI as one streamed user message; text-only turns are still sent as plain
strings. In sessions, only the new tail is sent, the same as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first visit stored the detected palette and never listened for
prefers-color-scheme changes, so the theme stopped tracking the OS and
Settings had no System choice.
Do not write that fallback. Subscribe while the preference is missing or
"system", and add a System option in Appearance. New accounts default to
system so Apply does not freeze the snow palette.
- `fetch_claude_code_catalog()` reads the account's model list from the
Claude Code CLI handshake (`get_server_info`), so no model request is made,
and returns display names such as "Opus 5.5" and "Fable 5.1". The
`default` entry is labelled "Default (account setting)" because managed or
user settings can pin a different model at run time. It falls back to the
bare aliases when the CLI cannot start.
- `/api/settings/fetch-models` returns those names for `claude_code`.
- Settings UI: `codebuddy` and `claude_code` now share a CLI_LOGIN_BINDINGS
set. Claude Code gets the same "Sync models" button, auto-sync on provider
switch, and hidden base URL / API key fields, without the CodeBuddy login
card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chunk_with_boundary() documented a hard upper bound of `budget` chunks but
sized the window off len(text) / budget while every cut advances the cursor
by target - overlap. The overlap is spent at each cut, so the default 10%
overlap profile needed 21 chunks for a budget of 20 and one extra LLM call
per consolidation. Derive the window from the distance the budget chunk
really covers and assert the bound in a new regression test.
Signed-off-by: Eapp1e <163811520+Eapp1e@users.noreply.github.com>
Adds a `claude_code` LLM provider that runs turns through the local Claude
Code CLI via `claude-agent-sdk`, so DeepTutor can use the account signed in
with `claude /login` (including a Claude subscription) without an Anthropic
API key.
- One long-lived Claude Code process per DeepTutor session, mirroring the
CodeBuddy SDK provider's owner-task pattern.
- Claude Code's built-in tools, settings, CLAUDE.md and hooks are disabled;
DeepTutor tools are exposed through an in-process SDK MCP server and tool
calls are returned to DeepTutor's dispatcher.
- Tool turns end via max_turns=1 and are drained instead of interrupted, so
the transcript does not record an interrupted request.
- System messages become Claude's real system prompt.
- Optional extra: `pip install deeptutor[claude-code]`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>