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.
The provider-branding spec requires every registered provider to have an
icon unless it is listed as generic. Vendor the official site icon
(https://onomeo.com/icon.svg) and record its source and sha256.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reading composer hides Course Study from its action menu and shows
any action it does not offer as Chat, but left the stored capability in
chat state untouched. Turns are built from chat state, so after a course
hand-off opened a video or document in Reading, every message was still
sent as `course_study`. That loop only recommends next steps and never
teaches, so questions about the material got a hand-off instead of an
answer, while the composer said "Chat".
Pinned workspaces (Mastery) already assert their action for this exact
reason. Do the same for unpinned ones: once the capability catalog has
loaded, reset a stored action the workspace does not offer to Chat, which
is what the composer shows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since Watching converged into Reading (#1378), the reader reports
`reading_viewport.time_seconds` with every turn on a video material, but
`ReadingViewport` forbids extra fields and only declared `locator` and
`selection`. The WebSocket rejected each such turn with `invalid_command`,
so every question asked beside a YouTube/Bilibili video stayed "Not sent".
- Declare `time_seconds` (optional, >= 0) on `ReadingViewport`.
- Keep it in `_reading_viewport` (finite, non-negative, capped at 24h) so
the reading capability's existing "Current media time" grounding
actually receives it instead of silently dropping it.
- Regenerate the frontend contracts.
- Cover protocol acceptance and normalisation in tests/reading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Always include the knowledge base item in the composer resources
menu when KB toggling is available, displaying a 'No KB' summary and
an empty-state guidance link when no knowledge bases are configured
in the active workspace instead of silently hiding the entry.
- Unwrap standalone locator citations enclosed in backticks (e.g. `[p.12]`)
originating from prompt formatting artifacts so they linkify cleanly while
preserving inline code spans
- Split comma-separated multi-locator citations (e.g. [p.12, 17]) into
independent clickable links for precise per-page navigation
- Clarify reading prompt instructions in zh/en to omit backticks around citations
- Add unit tests for backticked citations and split multi-locator links