Move the Electron macOS app into the main repository and ship it with every
DeepTutor release.
- apps/desktop: Electron shell that installs a signed bundled runtime and
hosts the web UI; versioned with the bundled core.
- White app icon with the black DeepTutor mark, generated by
scripts/make-icon.swift; redesigned start screen and title bar.
- Shell copy in en/zh/de/fr/pl/uk, starting in English and following the
interface language and theme from DeepTutor Settings, including live changes.
- Web UI labels itself "Open DeepTutor MacOS v<version>" inside the app
(user-agent marker) and "Open DeepTutor Web v<version>" in a browser.
- Sealing refuses a missing or mismatched signing key instead of silently
generating a new one.
- desktop-release.yml builds, smoke-tests and attaches the DMG to each
GitHub Release; Developer ID signing and notarization run when secrets exist.
- tests.yml runs the shell checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Editing a saved question copies its request snapshot and replaces only the
content, and sendMessage treats any supplied snapshot as an exact replay, so
the model picker and the explicit reply language of the moment lose to the
ones the original turn ran with.
An edit opens a new branch: it keeps the turn's material context (attachments,
tools, knowledge bases, references, capability, parent) but resolves generation
settings from the session, the way a fresh send does. Unsent drafts keep
replaying their exact reserved request, which is what the submission-replacement
protocol requires.
Adds a regression case for the persisted-message edit, and lets the mocked
PATCH /api/sessions/{id}/reply-language echo the language back like the real
endpoint does.
Editing a persisted message and resending a saved failed turn both replayed
the failed turn's saved request verbatim, so the new turn silently ran on
the previous model and the previous reply language.
- An edit keeps the original request's context (attachments, references,
parent, capability, tools, config) but takes the model and the reply
language from the current session state (#2106).
- A Resend of a saved failed turn sends the current model and reply
language in the regenerate overrides. The backend already prefers those
over the saved snapshot, and the recovered model is now written back to
the conversation, so the choice survives a reload (#2105).
- An unconfirmed submission is still retried with its own parameters: the
server may already hold that submission id, and a changed request would
no longer match it.
A UI draft staged while GET /api/settings was failing omitted theme.
Retry showed the server theme in the form but Apply still saved that
draft, so localStorage and the document kept the old palette.
Rebuild the pending UI payload with the confirmed theme once the load
succeeds. Regenerate the router index, and correct the System preview
split and the French blurb.
The default waitFor timeout is 1s. On a loaded runner the focus event's
history refresh can land after that, which fails as "expected to be called
2 times, but got 1" — a timing artefact, not a behaviour change.
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 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>
handleScroll only read a scroll as the reader's when the scroll height and
viewport were unchanged since the last remembered position, to tell a user
gesture from the browser clamping scrollTop on shrink. While a reply
streams the height changes every frame, so a scrollbar drag (no wheel or
key event) was never seen and the next frame pinned the view back to the
bottom.
Compare against where the position would be without the reader instead:
growth never moves scrollTop (overflow-anchor: none) and clamping only
lowers it to the new maximum, so min(previous top, new max) is the
expected position whatever the layout did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a tab-separated Anki import from a note page and from the review
queue so learners can File -> Import cards into a deck named after the
note. Re-importing uses stable card GUIDs and does not include review
scheduling.
Download one calendar or every visible calendar as an RFC 5545 .ics file,
including recurring series, occurrence exceptions, reminders, and a rail
action that fetches the file through the existing authenticated API.