Commit Graph

684 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
ce4380f3e7 feat(desktop): add Intel Mac and Windows editions with platform builds 2026-10-30 07:20:55 +08:00
Bingxi Zhao (Frank)
a4fa63b6e2 feat(desktop): add Open DeepTutor for macOS under apps/desktop
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>
2026-10-29 19:20:15 +08:00
Bingxi Zhao (Frank)
e495fd6002 Merge origin/dev and reconcile creation contracts and replay tests 2026-10-29 18:13:47 +08:00
Bingxi Zhao (Frank)
01d7c0ed55 feat: add conversational creation drafts and refresh local dev UI 2026-10-29 18:11:52 +08:00
Bingxi Zhao (Frank)
086ad067c9 fix(integration): complete cancellation, documentation and browser regressions 2026-10-29 01:37:11 +08:00
Bingxi Zhao (Frank)
2c47cc22ce fix(integration): authenticate search and regenerate route contracts 2026-10-29 01:19:18 +08:00
Bingxi Zhao (Frank)
af04b783ab Merge pull request #2114 for deterministic contract validation 2026-10-29 01:12:05 +08:00
Bingxi Zhao (Frank)
adf99ad8aa Merge pull request #2122: resend with live model and response language 2026-10-29 01:12:05 +08:00
Bingxi Zhao (Frank)
f50ab3afb0 Merge pull request #2050: inspect and clean generated files 2026-10-29 01:10:37 +08:00
Bingxi Zhao (Frank)
9269029699 Merge pull request #2086: server folder picker with all supported locales 2026-10-29 01:10:00 +08:00
Bingxi Zhao (Frank)
b89748200a Merge pull request #2109: Claude Agent SDK provider 2026-10-29 01:07:23 +08:00
Bingxi Zhao (Frank)
d09a4d3a4f Merge pull request #2028: configurable review strategies 2026-10-29 01:04:33 +08:00
Bingxi Zhao (Frank)
aabf8d3a99 Merge pull request #2099: Anki flashcard export 2026-10-29 01:02:52 +08:00
Bingxi Zhao (Frank)
f3710ce0ab Merge pull request #2098: calendar ICS export 2026-10-29 01:01:59 +08:00
Bingxi Zhao (Frank)
dd31a77f58 Merge pull request #2076 into validated PR integration 2026-10-29 00:56:11 +08:00
Bingxi Zhao (Frank)
e491b4af22 Merge pull request #2108 into validated PR integration 2026-10-29 00:56:10 +08:00
Bingxi Zhao (Frank)
6d72cfe1f6 Merge pull request #2120 into validated PR integration 2026-10-29 00:56:10 +08:00
Bingxi Zhao (Frank)
8f60fa8339 Merge pull request #2121 into validated PR integration 2026-10-29 00:56:09 +08:00
Bingxi Zhao (Frank)
46675ad01c Merge pull request #2124 into validated PR integration 2026-10-29 00:56:09 +08:00
Bingxi Zhao (Frank)
1ea7df1554 docs: consolidate developer and agent handbook 2026-10-29 00:36:18 +08:00
Bingxi Zhao (Frank)
9189c08501 chore: remove development artifacts and obsolete preview 2026-10-29 00:23:53 +08:00
ZQR1101
9fd2e88e14 fix(web): edited questions pick up the live model and reply language
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.
2026-10-28 15:49:49 +00:00
sjagadee
99303f9df7 fix: use the current model and reply language when editing or resending
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.
2026-10-28 09:08:22 -05:00
newye
a3fc1fa95a fix: preserve request identity when retrying unsent messages 2026-10-28 21:31:30 +08:00
Bingxi Zhao (Frank)
d02fb9850b pre-releas 2026-10-28 21:21:34 +08:00
Frank-zhu2000
586a0d9430 fix: restage the confirmed theme after settings retry
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.
2026-10-28 19:53:07 +08:00
Fancie
318c05fa7f test(chat): give the focus-poll assertion room on slow runners
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.
2026-10-28 19:35:49 +08:00
Bingxi Zhao (Frank)
e99d632de5 fix: prepare modular installs and align dev documentation 2026-10-28 19:02:44 +08:00
Frank-zhu2000
9dbed4b21f fix: do not persist a placeholder theme when settings fail to load
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.
2026-10-28 18:33:14 +08:00
aleekaz
5101208c22 test(web): keep google_browser_scraper on the generic provider icon 2026-10-28 12:05:13 +03:00
Frank-zhu2000
9a04808c33 fix: follow the OS theme until the user picks 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.
2026-10-28 16:31:49 +08:00
quocldce-sys
6cc31b197c feat: list Claude Code models with display names and sync them in settings
- `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>
2026-10-28 15:28:08 +07:00
heojunfo
63a816d913 fix(web): let a scrollbar drag release chat auto-follow while streaming (#2072)
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>
2026-10-28 16:51:02 +09:00
Bingxi Zhao (Frank)
9ce7ba9059 fix 2026-10-28 12:28:20 +08:00
Matt Van Horn
7f061c5675 feat(notes): export flashcards for Anki
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.
2026-10-27 22:07:06 +00:00
Matt Van Horn
9ede0fb10e feat(calendar): export calendars as iCalendar files
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.
2026-10-27 22:03:37 +00:00
0x-IHRR
507ec78780 fix: manage direct chat output attachments 2026-10-28 03:13:05 +08:00
0x-IHRR
25bbc02a3b fix: match generated chat output paths 2026-10-28 02:50:15 +08:00
0x-IHRR
7748e81a20 feat: manage generated chat output files 2026-10-28 02:44:07 +08:00
Bingxi Zhao (Frank)
766e626d1f test: provide module inventory in browser audit fixtures 2026-10-28 02:16:11 +08:00
Bingxi Zhao (Frank)
9aadac3e3b merge: integrate current dev with modular installation 2026-10-28 01:23:48 +08:00
Bingxi Zhao (Frank)
fbab59acbf feat: modularize installation and enforce feature dependency boundaries 2026-10-28 01:02:29 +08:00
Bingxi Zhao (Frank)
7d0ba36a70 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-28 00:44:27 +08:00
Bingxi Zhao
ce323701b9 Merge pull request #1994 from Frankisfrank/fix/partner-archives-markdown
fix: render Markdown in partner conversation archives
2026-10-28 00:19:21 +08:00
Bingxi Zhao
1b066f8e97 Merge pull request #2021 from evan188199-tech/codex/fix/ios-tts-playback
fix(chat): unlock iOS reply playback (#2020)
2026-10-28 00:18:15 +08:00
Bingxi Zhao (Frank)
2c2f4b4211 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 23:39:22 +08:00
Bingxi Zhao (Frank)
34e7c8527e test: stabilize Mermaid recovery fixture across rerenders 2026-10-27 23:39:17 +08:00
Bingxi Zhao (Frank)
2ebc44a47f fix: unlock speech playback with a playable silent WAV 2026-10-27 21:53:08 +08:00
Bingxi Zhao (Frank)
7c25ea96a0 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 21:50:34 +08:00
Bingxi Zhao (Frank)
d23206ebc0 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 21:42:52 +08:00