129 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
3fc9d2ce18 Merge PR #2534: feat(web_fetch): pluggable fetch backend with DeepSeek Fetch as first alternative
Combine independent locale additions and regenerate integrated route index.
2026-11-14 23:00:23 +08:00
evan188199-tech
da65a29e54 fix(web): dedicated voice nav key and bilingual settings search (#2134) 2026-11-09 17:46:38 +08:00
evan188199-tech
a312b26515 fix(web): move settings nav copy into locale catalogs (#2134) 2026-11-09 17:17:41 +08:00
evan188199-tech
91104d9a3f fix(web_fetch): settings UI for backend + harden DeepSeek fetch cap (#2448)
Addresses Air R1/R2 review blockers on top of the opened PR head:
Settings GET/PUT /api/settings/web-fetch with UI control; DeepSeek fetch
uses identity encoding, raw bytes, and capacity checks before buffer extend;
provider-branding treats `local` as generic.
Air Codex R3 on MacBook Air: READY.
2026-11-09 16:23:50 +08:00
Bingxi Zhao (Frank)
9efacba0d2 Merge #2445 from iSanae233 2026-11-06 01:56:26 +08:00
Bingxi Zhao (Frank)
d99dc70daa Merge #2335 from yertYang 2026-11-06 01:56:23 +08:00
iSanae233
a40786370b fix(settings): default custom provider protocol to auto
Defer protocol selection until provider configuration. Start custom providers on Auto and preserve manual protocol selection in settings.

Co-Authored-By: GPT-6 Astra
2026-11-05 12:36:29 +08:00
yert
9afd724b1e feat(settings): discover models automatically after credential edits 2026-11-02 05:34:46 +00:00
yert
880ea294e4 feat(settings): import discovered models in bulk 2026-11-02 03:13:46 +00:00
Erhan ÜRGÜN
be7b58ee01 fix(i18n): resolve the agent and subagent settings copy through the catalogs
The connected-agents page, the subagent settings editor and the run
transcript toggle picked between inline { zh, en } text, so every other
language saw English. The non-Chinese branch now goes through t(); the
three strings that were template literals become interpolated keys whose
Chinese values are the old inline text. The subagent sync time follows
the interface language instead of zh-CN or en-US.
2026-11-01 05:41:46 +03:00
Bingxi Zhao (Frank)
88b45d524d Integrate account typography with shared reply languages and current settings validation 2026-10-31 17:59:13 +08:00
Bingxi Zhao (Frank)
6d2026ee71 Merge reviewed PR #2207 and regenerate routing contracts 2026-10-31 17:39:41 +08:00
Bingxi Zhao (Frank)
34153c1052 fix(settings): restore model drafts without a selected provider
Co-authored-by: czcjsxmhqydncgg1 <163500110+czcjsxmhqydncgg1@users.noreply.github.com>
2026-10-31 17:31:18 +08:00
Bingxi Zhao (Frank)
9476a1c4b4 fix(settings): preserve add-model drafts across catalog refreshes 2026-10-31 17:10:02 +08:00
d41sys
9ddbb92c36 feat: add Vietnamese localization 2026-10-30 02:28:18 +01:00
hongthana
98cfb501a5 feat(web): add account-scoped learning typography 2026-10-30 07:41:44 +07:00
czc
f742fc2693 fix(settings): require a model ID and keep model panels URL-driven
- The Add model panel now asks for a model ID (prefilled from provider
  defaults and discovered models) and keeps Continue disabled until it is
  filled, so an unusable row can no longer reach the draft.
- The model editor marks a blank ID as required, explains it inline, and
  blocks "Set as default" until it is fixed.
- Apply now names the first incomplete model and opens the page and row
  that can repair it, instead of failing with a message pointing nowhere.
- Add/selection state lives in the URL, so refreshing no longer swaps the
  add panel for the list (or vice versa).
- Backend guidance points at the current page names (Language models /
  Embedding models / Search) instead of the removed Catalog page.
- Regression tests cover the add flow, URL state, editor validation, and
  the Apply preflight; new i18n keys for en/zh/de/pl/fr/uk.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-29 18:16:23 +09:00
Bingxi Zhao (Frank)
b89748200a Merge pull request #2109: Claude Agent SDK provider 2026-10-29 01:07:23 +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
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
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)
d23206ebc0 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 21:42:52 +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
octo-patch
53d19a39f0 feat: recommend MiniMax Flash and map current reasoning controls 2026-10-20 16:31: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)
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
Wen Li Hong
9a80d3477f fix(voice): surface the HTTP status when a preview error body is not JSON
A reverse proxy can replace the backend's JSON error with an HTML page;
VoicePreviewPanel parsed the error body unconditionally, so the settings
page showed the raw JSON syntax error ("Unexpected token '<'...") from
#1951 instead of anything actionable. Parse the body defensively and fall
back to a localized 'Voice preview failed (HTTP <status>).' message that
keeps the HTTP status visible. Adds the message to the locales that
already translate the voice preview strings and a regression test.
2026-10-15 11:51:22 +08:00
Bingxi Zhao (Frank)
fd8f108178 fix: restore lighter page styling with subtle navigation refinements 2026-10-13 03:21:51 +08:00
Bingxi Zhao (Frank)
1c735c75ea feat: unify page chrome and refine DeepTutor navigation 2026-10-13 00:14:50 +08:00
Bingxi Zhao (Frank)
6cf793bd86 release: v1.6.14
Ship original-source visual practice, recoverable indexing, unified video
Reading, scientific research tools, managed plugins, and a learning journal
as summarized in assets/releases/ver1-6-14.md.

Improve provider setup and protocol-aware endpoints. Restore missing
localized setup and Ukrainian UI text, keep plugin loading in the plugin
layer, harden research XML parsing, and repair isolated test fixtures and
type-checking errors found by the release gate.

Sync README prose and all eleven translations, bump the package version,
and update the stable release announcement.

Validation: 10180 Python tests and 8 subtests passed (28 skipped); 1303
Node tests passed on Node 22; 24 provider UI tests passed. All pre-commit
hooks, ruff, translation checks, documentation checks, and docs build passed.
2026-10-08 11:34:42 +08:00
Bingxi Zhao (Frank)
f0146a2a9e Polish settings UI and localize provider brand labels 2026-10-07 21:30:50 +08:00
Bingxi Zhao (Frank)
fb2065b6a9 Preserve current provider configuration and settings scroll work 2026-10-07 20:38:11 +08:00
Bingxi Zhao (Frank)
f8be756906 Integrate saved user workspace changes with reviewed dev updates 2026-10-07 20:37:55 +08:00
Bingxi Zhao (Frank)
a137fbd29d fix(settings): retain explicit token clearing and edits made during Apply 2026-10-07 20:31:13 +08:00
georgelichen
510fe3a744 fix(settings): prevent phantom unsaved changes when configuring MinerU cloud API (#1798)
- Normalize MinerU API URL and endpoint trailing slashes in normalizeDraft
- Prevent browser credential autofill on MinerU API token field with autoComplete='new-password'
- Add toggleable visibility for MinerU API token with Eye/EyeOff icons
- Reset dirty flags on mounted extensions in clearPending after successful apply
- Add tests covering MinerU cloud credentials application in unified draft

Co-authored-by: 李晨 <lichen@lichendeMac-Mini.local>
2026-10-07 20:29:54 +08:00
Bingxi Zhao (Frank)
f07029cfcf release: v1.6.13
Ship the reading, listening, question-bank, parsing, and provider updates
summarized in assets/releases/ver1-6-13.md.

Make speech timeouts configurable, report actionable synthesis failures,
and keep chat attachments discoverable in their selected workspace while
preserving earlier uploads and URLs. Keep reply playback cancellation and
single-audio ownership intact.

Sync README prose and all eleven translations, update the stable install
note, and archive release notes older than one week. Repair stale reading
test fixtures and spawned test imports, and clear the Partner type error.

Validation: 9252 Python tests and 8 subtests passed (28 skipped); 518 web
unit tests, 1253 Node tests, and 62 browser audits passed. Pre-commit, ruff,
typecheck, contracts, architecture, i18n, production build, route budgets,
and the docs build passed.
2026-10-04 21:35:00 +08:00
Bingxi Zhao (Frank)
4f47c55d52 fix(tooltips): expose passive diagnostic hints 2026-09-27 10:50:03 +08:00
Bingxi Zhao (Frank)
d2810c2812 Replace forwarded link titles with accessible tooltips 2026-09-27 10:41:33 +08:00
Bingxi Zhao (Frank)
1c97480cb2 fix(tooltips): cover interactive nonbutton hints 2026-09-27 10:40:27 +08:00
Bingxi Zhao (Frank)
de5ecb9b2a fix(tooltips): migrate data and admin button hints (#1526) 2026-09-27 10:25:50 +08:00
Philipp Eisbacher
9b139a772f feat(i18n): add German as a full interface language
Adds `de` alongside en/zh/fr/uk, following the seams the Ukrainian locale
established: the interface-language normalizers (settings + launcher), the
Settings language list, APP_LANGUAGES / normalizeLanguage, the lazy bundle
loader, the date locale, the CLI banner labels, the quiz-judge prompt and
the i18n audit's required locales. German already existed as a reply
language; this makes it selectable for the UI as well.

`web/locales/de/app.json` covers all 5200 English keys (audit: 3850/3850
used keys, strict). `language.german` is added to every catalog.

Tests: `tests/i18n/test_german_locale.py` pins each seam, and
`web/tests/german-locale-quality.test.ts` guards terminology (informal
"du", one term per concept, no context-free machine translations such as
"Lappen" for RAG). Three existing tests used `de` as their example of an
unsupported language; they now use `xx`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:00:58 +02:00
Bingxi Zhao (Frank)
a053fecf6e release: v1.6.11
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.

Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.

Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.

See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
2026-09-24 09:59:56 +08:00
Bingxi Zhao (Frank)
9ef8922444 feat(settings): interface language as a select like model output language 2026-09-23 19:37:19 +08:00
Bingxi Zhao (Frank)
8880529c65 Merge PR batch with local follow-up fixes
Preserve precise learner KB route guards, combine UI and response language domains, carry normalized EPUB extraction, and regenerate frontend contracts.

Update locale fallback coverage for the completed Ukrainian translation bundle.
2026-09-23 12:01:14 +08:00
Bingxi Zhao (Frank)
064034a283 Merge branch 'codex/evan-backend-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/api/routers/settings.py
#	tests/api/test_settings_router.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/components/settings/SettingsOverview.tsx
#	web/context/app-shell-storage.ts
#	web/features/knowledge/api/sources.ts
#	web/features/settings/store/SettingsStore.tsx
2026-09-23 10:56:37 +08:00
Bingxi Zhao (Frank)
fc0e0a9510 Unify French and Ukrainian language settings across app 2026-09-23 10:51:27 +08:00
Bingxi Zhao (Frank)
453b06063b Merge PR #1344 Ukrainian locale after conflict resolution 2026-09-23 10:38:18 +08:00
Bingxi Zhao (Frank)
d6825cb695 Merge PR #1344: add Ukrainian language support 2026-09-23 10:34:40 +08:00