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>
Newer FastAPI resolves include_router lazily, so iterating app.routes yields
_IncludedRouter placeholders without a .path attribute — the learner-surface
template tests crashed on attribute access instead of asserting routes, and
the file-preview auth test counted 0 routes (assert 0 == 2).
Adapt the two suites to resolve included routers through the same
iter_routes pattern video_learning's tests already use, so route
enumeration works under both eager and lazy inclusion.
This clears the pre-existing red on dev (the v1.6.11 release commit runs
red on these suites in CI) — verified: 130 passed across the two files.
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.
- Strip PDF margin line numbers before verifying a selection, so explain
and guide no longer fail with "Select text from the visible unit first".
- Quiz, vocabulary and study guidance go through
json_with_reasoning_retry with a larger token budget; reasoning models
exhausting max_tokens returned an empty answer that surfaced as
"This reading action is temporarily unavailable" (503).
- Renaming or deleting a reading conversation from the main sidebar
updates the reading catalog too.
The native DashScope STT adapter talks to the Paraformer real-time WebSocket
endpoint (`/api-ws/v1/inference`, `task_group=audio`, `function=recognition`),
which only accepts `paraformer-realtime-*` model ids. `paraformer-v2` is a
batch-transcription id, so the pre-filled default made every DashScope STT test
fail the handshake:
[failed] DashScope STT failed to start: Model not found (paraformer-v2)!
Point the provider default and the curated voice options at
`paraformer-realtime-v2` (and offer the 8 kHz variant), and update the tests
that pinned the old id.
Verified against the live endpoint with the real adapter: `paraformer-v2`
answers `task-failed/ModelNotFound`, `paraformer-realtime-v2` answers
`task-started` and returns a transcript.
Combine knowledge bootstrap coverage and preserve later progress-isolation tests, native notebook tooltip, and locale-aware tool-hint fallback. Regenerate frontend contracts and align test fixtures with merged APIs.