Apply Unicode casefolding to filename and query instead of relying on SQLite LIKE ASCII-only folding. Preserve literal wildcard escaping, soft-deletion filtering and result ordering.
AI-assisted: implemented and validated with OpenAI Codex; actual SQLite stores and isolated API fixtures.
Translate only an actual active-SHA uniqueness conflict into a safe 409 response. Preserve both records and their bytes so restoring the earlier entry can be retried after deleting the replacement; unrelated database failures still propagate.
AI-assisted: implemented and validated with OpenAI Codex; isolated API and real SQLite constraints, no user workspace writes.
Apply the configured polling deadline to status requests, progress callbacks and intervals in both video adapters. Keep external cancellation and unrelated callback timeout errors intact.
AI-assisted: implemented and validated with OpenAI Codex; real local HTTP fixtures, no live generation provider calls.
Keep a shared hint producer alive when one consumer is cancelled, and remove its inflight entry only when production finishes. Observe abandoned errors without changing propagation to remaining consumers.
AI-assisted: implemented and validated with OpenAI Codex; no live provider calls.
Read lower and upper bounds independently of their TeX order and consume the optional limits placement command before verbalizing them.
AI-assisted: implementation and regression tests prepared and validated with OpenAI Codex. Maintainer review is pending.
- add the 760 English keys missing from the French catalog and translate 229 values still copied from English\n- make a partner's empty reply language (Auto) follow the account model output language instead of hardcoding English\n- label Auto with the configured language and offer every supported response language in the picker\n- localize the Feishu thinking notice for every supported response language\n- add French catalog, picker and partner runtime regression tests
Return the detached thread ids from deleteMessage and have deleteTurn
notify the session-change bus, so useSessionThreads and the viewer refresh
immediately instead of keeping a stale marker.
ChatWorkspace clears only the tabs still pointing at one of the deleted
message rows; a newer passage selected but not yet sent survives the delete.
Archived workspaces are hidden in the picker and rejected by the catalog
resolve path, but read_workspace_indexes() still polled them, logging a
traceback and reporting them as unavailable on every navigation request.
Signed-off-by: Eapp1e <163811520+Eapp1e@users.noreply.github.com>
Archived workspaces are hidden in the picker and rejected by the catalog
resolve path, but read_workspace_indexes() still polled them, logging a
traceback and reporting them as unavailable on every navigation request.
Signed-off-by: Eapp1e <163811520+Eapp1e@users.noreply.github.com>
Persist a structured selection_source beside the assistant prompt, and use
the legacy sidebar prompt's containing message, role and selection to
disambiguate repeated text. Scan every user message for a quote, refuse to
guess between several, and make the backfill conditional so a concurrent move
or detach wins.
Serialize PocketBase preference merges with a lock that spans event loops,
not one asyncio lock per loop, and validate client-supplied anchors on turns
and organization updates. Detach threads when the message they point at is
deleted.
quoted_message_id now follows the create_target rule: the key's presence
is authoritative. A value moves the thread, an explicit null clears it,
and omitting the key leaves the stored anchor untouched. A new selection
moves the thread to the passage just asked about.
The message-level popover gains a detach action that clears the anchor
through the organization PATCH without deleting the conversation, and a
deliberate clear also stops the legacy backfill from re-attaching it.
Threads created before the attribution existed kept only the passage:
selection threads store it in tutor_selected_text, newer side chats as a
quote attachment. Match that passage against the parent transcript with
the Markdown projection selection grounding uses, and record the source
only when exactly one message contains it.
The scan is recorded per thread and runs when the thread list is read,
so it happens once; touch=false keeps the thread's place in the list.
Side chats are filed under the message their quoted passage came from:
the turn carries quoted_message_id, the backend stores it as
tutor_source_message_id, and the chat list shows "Little Tutor x N"
under that message with a popover to open or delete each thread.
Threads are read once per conversation and shared with the viewer, only
side-chat turns refresh the session lists, and a turn that omits the
field leaves the stored anchor untouched.
Refs #2118
The visual-coverage report and recovered usage reports are UTF-8 JSON
written by this codebase, but were read through the locale default.
Non-ASCII titles made coverage fall back to unverified and cost recovery
silently lose per-model details on Chinese Windows.
The migration journal, PocketBase snapshot, presentation items and
dependency-closure documents are written as UTF-8 by atomic_write_json()
but were read through the locale default. On Chinese Windows (cp936)
non-ASCII names raise UnicodeDecodeError or come back as mojibake, so
workspace migration/preview can fail or copy wrong values.
Read them with file_io.read_text(), which uses the writers' encoding and
the same bounded PermissionError retry as the write side.
After each reply the chat composer shows a predicted next line as its
placeholder, and Tab accepts it. When the assistant has just asked a
question, such as a quiz in chat, the likeliest next line is the answer,
so the hint gives it away. There was no way to turn it off.
Add an `ask_hint_enabled` switch to the per-user starter settings
(Settings -> Conversation -> Composer), on by default. When it is off,
`get_ask_hint` returns an empty hint before reading the session or the
cache, so no LLM call is made and no line cached while it was on leaks
through.
A PUT that omits the field keeps the stored value, so an older client or
a settings draft saved before this change cannot turn the hint back on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Formatting pass with ruff 0.16.0 so the lint job stops asking for a reformat;
no behaviour change: tests/services/memory/test_chunker.py still passes 15/15.
Signed-off-by: Eapp1e <163811520+Eapp1e@users.noreply.github.com>