Commit Graph

230 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)
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)
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)
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)
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
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
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
Bingxi Zhao (Frank)
9ce7ba9059 fix 2026-10-28 12:28:20 +08:00
Matt Van Horn
d7fb17ebfb fix(calendar): refresh the router index and keep export off the shared client
The new export.ics route needs a regenerated lazy-routing fingerprint.
Move the .ics download helper out of the shared calendar transport so the
workspace reminder runtime does not add blob-saving code to every layout.
2026-10-27 22:08:36 +00: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
7748e81a20 feat: manage generated chat output files 2026-10-28 02:44:07 +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)
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)
e347c0c2e0 fix: preserve tutoring replies and stabilize preview runtime
Keep learner-facing explanations visible across finish checks, persistence, and replay. Remove mastery prose heuristics and prioritize learner objections.

Coordinate service shutdown and descendant cleanup, and preserve video lesson identity and playable results across chat completion and reload.
2026-10-27 17:58:46 +08:00
yh wang
98d2bddb92 feat(workspace): add a server-side folder picker for project workspaces 2026-10-27 12:32:45 +08:00
Bingxi Zhao (Frank)
addb783d2f Merge preview and CI fixes into video lesson branch 2026-10-27 01:40:39 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
Bingxi Zhao (Frank)
28c11e2ae8 feat: update notes, chat interactions and workspace UI on preview
Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.

Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.

Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
2026-10-26 22:13:34 +08:00
XZH
4a49b5b38e fix(chat): unlock iOS reply playback (#2020) 2026-10-22 13:15:27 -07:00
SeleiXi
78877ee2ba feat(web): play video lessons in chat
Adds "Video Lesson" to the capability picker. A video_lesson result is
shown as its player page in an iframe sandboxed to allow-scripts only,
with the summary underneath, a link to open it in a tab, the lesson's
length and the Remotion source behind a disclosure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:58:03 +08:00
Bingxi Zhao (Frank)
df7621d3ac fix(settings): preserve actionable apply and usage errors (#1984, #1907) 2026-10-19 03:29:21 +08:00
Bingxi Zhao (Frank)
4b9b73a73f perf(chat): load specialized teaching and handoff cards only when present 2026-10-19 01:11:31 +08:00
Bingxi Zhao (Frank)
583bdfc714 Merge PR #1945: fence edited submissions and isolate recovery by account and backend support 2026-10-19 01:03:40 +08:00
Bingxi Zhao (Frank)
9aae961412 Merge PR #1957: separate private source evidence from explicit public presentation 2026-10-19 00:53:44 +08:00
Bingxi Zhao (Frank)
0fd8dc8384 Merge PR #1953: source-bound assessment with portable lexical page lookup 2026-10-19 00:43:33 +08:00
Bingxi Zhao (Frank)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao (Frank)
ef3cb3e361 fix(chat): retain unsent messages when durable dismissal fails 2026-10-19 00:34:38 +08:00
Bingxi Zhao
4688fbfdb8 Merge pull request #1970 from MrmoLabs/codex/failed-submission-recovery
fix(chat): reconcile and dismiss browser-local unsent submissions
2026-10-19 00:34:18 +08:00
Bingxi Zhao
e49522cd28 Merge pull request #1884 from dajiaohuang/fix/co-writer-draft-migration
fix(web): preserve legacy drafts when storage migration fails
2026-10-19 00:25:03 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Bingxi Zhao (Frank)
857a82e74a feat(notes): add block notebooks with inline reviews and linked favorites
Add rich text and learning blocks, media uploads, page trees, and revisioned notebook storage. Present AI suggestions at their target blocks with durable accept and dismiss actions.

Unify saved outputs as Favorites with typed expandable blocks, stable source links, atomic batch insertion, nesting, dragging, and undo/redo.

Validation: 99 frontend tests and 99 backend tests pass in an isolated snapshot, along with TypeScript, scoped ESLint, dependency architecture, and locale parity checks.
2026-10-17 23:15:23 +08:00
Bingxi Zhao (Frank)
d70ab8609a Merge branch 'dev' into dt-exp-idp 2026-10-16 17:25:36 +08:00
Bingxi Zhao (Frank)
6ab4f9a766 feat(web): add classic/modern layout switch with Notion-style modern chrome
- Settings → General gains a classic/modern layout choice; classic is a frozen
  snapshot of dev's sidebar and learning dashboard, modern keeps iterating.
  Variants differ only through slots, tokens and per-variant CSS on
  <html data-ui-layout>; the preference lives in localStorage.
- Modern chrome: warm neutral tokens, WorkspaceMenu header, ⌘K command palette
  and keyboard shortcuts, PageBar location strip, swipeable PartnerRoster.
- Remove dead HomeShortcuts, WorkspaceSwitcher and the inline sidebar search
  query chain.
2026-10-15 23:00:23 +08:00