12 Commits

Author SHA1 Message Date
Arrunabh Singh
b0bf8cf2d4 feat(i18n): add Hindi as a reply language
Add Hindi (hi, हिन्दी) to the reply-language contract, following step 4
of docs-for-dev/I18N.md and the earlier Malay change (550268e1):

- SUPPORTED_RESPONSE_LANGUAGES, the settings router's ResponseLanguage,
  the prompt-language label and the settings-spec reply choices;
- "hindi", "हिन्दी" and "हिंदी" aliases in the backend and web
  normalizers (hi-IN and hi_IN resolve through the base code);
- the web ResponseLanguage type, isResponseLanguage() and
  RESPONSE_LANGUAGE_OPTIONS, which the partner picker shares;
- regenerated frontend contracts, and tests mirroring the Malay change.

The interface language is unchanged: no web catalog or picker entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:24:54 +05:30
Bingxi Zhao (Frank)
88b45d524d Integrate account typography with shared reply languages and current settings validation 2026-10-31 17:59:13 +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
Bingxi Zhao (Frank)
550268e1e3 fix: support Malay as a persistent reply language 2026-09-27 04:37:15 +08:00
Bingxi Zhao (Frank)
6a1913626a Fix response language normalization and circular import after #1345 2026-09-23 10:47:51 +08:00
XZH
634a6916f9 feat(settings): expand response language options 2026-09-09 13:33:11 -07:00
Bingxi Zhao (Frank)
8865da7c6d release: v1.5.10
The paths underneath the providers. A batch upload that stalled every other
request, a knowledge-base list that rescanned every index, a tool call
dispatched with no arguments and retried until the budget ran out — plus two
things that were quietly missing.

- Every account can sign in to its own Codex. The token authorizes one
  person's ChatGPT plan so the profile was correctly never grantable, but the
  OAuth endpoints were admin-only too, leaving ordinary users no route at all.
  A sign-in now publishes into the OWNER's catalog
  (data/users/<uid>/settings/model_catalog.json), keyed by the same owner
  resolution as the credential store; redacted_model_access gains those
  personal rows for the caller's own id only, so the option list, capability
  gate and selection validation cannot disagree. Partners are refused.
- Model output language is its own setting. Settings -> Appearance carries two
  independent toggles; resolve_languages() in interface_settings.py owns the
  legacy migration (a pre-split file inherits its single `language` into both),
  and both readers go through it. GET /settings/ui is public so /login and
  /register can bootstrap before a session, projected down to theme+language.
- A tool call with empty `arguments` is rejected in front of dispatch instead
  of run. The tool used to do the rejecting ("requires a non-empty command",
  "Unknown mode ''"), which does not read as a missing argument, so the model
  re-emitted the same call until the loop budget ran out. The guard names the
  missing arguments and their accepted values, enums included.
- Batch uploads move off the event loop (the chunked write, zip extraction and
  per-file PocketBase upload ran inline; the staging pass sat in an async
  BackgroundTasks entry, which starlette awaits ON the loop). KB listing reuses
  one reconciled snapshot instead of reloading config and rescanning every
  index per item.
- Deep Research mounts the read-only Obsidian tools instead of rag for a linked
  vault, injects the vault path server-side, and treats their evidence as
  citable.
- The server-side backend address is the IPv4 loopback on all three paths
  (launcher, Docker entrypoint, web/proxy.ts default): `localhost` resolves to
  ::1 first on a dual-stack host while uvicorn binds 0.0.0.0.
- Escape stops a streaming Partner reply and bails while any dialog overlay is
  mounted; vision overrides match `claude-` by vendor prefix and recognize Kimi
  K3 and Qwen3.8-Max; Codex context-window metadata survives the catalog round
  trip; editing a message no longer races its refresh; the deeptutor-cli wheel
  ships the agents' prompt YAML again and prompt misses are no longer cached.

Also fixes the `ruff format --check` failure red on dev since 6cd55939, and
syncs the README prose, all ten translations, and the release-notes archive.
2026-08-07 22:28:33 +08:00
wayblink
be14c3ef23 feat: separate UI and model response languages (#758)
* feat: separate UI and model response languages

* refactor(settings): keep one owner for the interface.json language rules

The legacy migration — a file written before the UI/response split
inherits its single language into both fields — had been duplicated into
both readers of interface.json, as had the theme/language defaults. Two
copies of a migration rule drift.

Move the rule into resolve_languages() in the module that owns the file,
have the router compose its superset of defaults on top of the service's,
and cover the agreement with a test that reads one legacy file through
both paths. The helper also drops the separate key-presence check:
_normalize_language already falls back to its default for missing, null
and unrecognized values alike.

* fix: keep the language bootstrap single and local-choice-first

Merging dev surfaced three collisions this branch had not seen:

- The new bootstrap fetched /settings/ui unconditionally and overwrote
  writeStoredLanguage on every mount, undoing #730's rule that a choice
  made in this browser is the more specific signal and must win. Folded it
  into the existing guarded effect so one fetch serves both language
  fields and neither can clobber a local selection.
- apiFetch/apiUrl ended up imported twice in AppShellContext, which git
  merged without a conflict and tsc rejects outright.
- Three tests still stubbed get_ui_language at call sites that now ask for
  get_response_language: the question router's stand-in module and two
  mastery_path patches (renamed the zh case to say response language).

* fix(api): include response_language in the pre-session UI read

The bootstrap adopts both languages from this one endpoint, so leaving
response_language out of the projection meant a fresh browser always
inherited the interface locale and never saw the saved output-language
preference. It belongs with the other two: all three are the visitor's
own presentation choices, none describe the deployment.

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-08-07 03:13:04 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00
Bingxi Zhao (Frank)
72bcdd77d8 prepare v1.3.9 release 2026-05-09 02:53:14 +08:00
Bingxi Zhao (Frank)
2c4769a96f prepare v1.3.8 release
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 02:36:24 +08:00