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.
The outbound submit gates waited only 10 x 200ms (2s) for the WebSocket
to connect, while the transport reconnect ladder waits up to 8s per
rung. A Submit clicked mid-reconnect therefore gave up before the
socket could come back and reported a false server-side expiry while
the parked turn still held the session lease.
Move the shared budget into web/lib/send-retry.ts (60 x 200ms = 12s,
above the 8s rung cap plus jitter) and use it at all four gates:
QuizFollowupContext, ChatStateAdapter, BookChatPanel and the whisper
page. A guard test pins the budget above the worst-case reconnect
rung, and the failed-submission recovery spec now derives its fake
timer budget from the same constants.
Co-authored-by: multica-agent <github@multica.ai>
GLM models served via an OpenAI-compatible binding fell through the
model-family allowlist in tableReasoningEffortOptions, so the Reasoning
Effort selector stayed hidden for them. Recognize "glm" in the
OPENAI_PROVIDERS branch and offer minimal/low/medium/high.
"none" is deliberately excluded: it maps to "omit the parameter", and
GLM's endpoint keeps server-side thinking fully on when the parameter
is omitted - minimal is the actual lightest level. All four levels were
verified against the Zhipu coding endpoint (reasoning output length
increases monotonically minimal -> high).
processMarkdownContent only moved $$ onto their own lines when the whole
block fit on one line. $$a \\\\ ... $$ spread over several lines kept its
fences glued to the formula and remark-math left it as text. Now a line
that opens with a lone $$ is matched to the next line ending in $$ and both
fences are put on their own lines; blank lines stop the search.
sendReadingToNotebook posted to /api/reading/workspaces/{id}/notebooks,
but the backend only registers POST /api/reading/workspaces/{id}/notebook
(capture_reading_to_notebook), so saving a reading workspace to a notebook
always failed with 404 Not Found. Point the client at the real route and add
a test that checks the path against the generated OpenAPI contract.
A submission that never reached the server looked like an ordinary sent
message, its connection error rendered as if it were an assistant reply,
and both vanished after a reload because nothing was persisted.
- Mark the optimistic user row "Not sent" when the transport never
connected; drop the empty assistant placeholder so the failure cannot
read as an errored reply. The connection error now surfaces in a
banner next to the composer with a Resend action.
- Persist the last unproven submission of each session locally and
restore it after a reload as an unsent, retryable row. The record is
cleared by any evidence the server took the turn over (done, terminal
error, cancel), or when the server transcript already holds the text.
- Server-accepted-but-disconnected turns keep the existing reconcile-
before-resend path; drafts can now retry without a server session.
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>
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.
Collections vs workspaces: a workspace holds many collections, and a
collection's files and reading conversations live in the workspace it
was created in. The library now shows collections as folders grouped
under their workspace, and creating one asks which workspace it goes
into.
- Folder page at /learning/reading/folders/[folderId]: breadcrumb,
files, the collection's conversations, and "Start reading" that opens
the whole folder in the reader. The reader's back link returns to it.
- Collections carry a user-picked color (new `color` column, migrated);
tones are --folder-* tokens with dark variants.
- One shared "New collection" / "Edit collection" dialog with consistent
type sizes.
- Selection popover gains AI actions; results land as cards at the foot
of the companion. Read-aloud is a single header toggle.
- The three ⋯ menus (collection, document, conversation) merge into one.
- Outline toggle moves to the left and starts closed; navigator has
Outline / Annotations tabs.
- Reading conversations live in the main sidebar (with a page-shaped idle
mark) instead of a history dropdown in the companion.
- Fix sidebar rows never showing a selected state
(bg-[var(--background)]/60 compiled to nothing).
- Composer floats over the conversation (no divider, bottom fade); the
toolbar wraps by content instead of splitting under 420px.
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.