Defer protocol selection until provider configuration. Start custom providers on Auto and preserve manual protocol selection in settings.
Co-Authored-By: GPT-6 Astra
mapMarkdownProse closed a fenced code block at any later line whose fence
marker matched, including lines that carry an info string (```tex inside a
```text block). Per CommonMark a closing fence has no info string, so such a
line is code content, not a close. Closing early let the block's remaining
content run through prose normalization — e.g. a documented \(x+y\) example
became $x+y$ — which is exactly what this helper exists to prevent.
Require an empty info string before treating a line as a closing fence,
matching the sibling fence trackers in reading-outline.ts and
think-segments.ts.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fails when a zh branch picks the English text without t(), when it pairs
Chinese text with a raw English literal, when a date switches between
zh-CN and en, or when inline English copy next to Chinese copy is
missing from any catalog. Unused legacy settings editors are exempt, as
are the voice preview sample sentence and the stored default model name,
which are not interface copy.
CLI app install dates, the About page update check and the mastery
dashboard's relative and calendar times were formatted as zh-CN or
en-US, so every other language got US dates. They now use getLocale()
from lib/datetime, which already knows each interface language.
BookCreator and CreateTopicWizard passed i18next's t to
useTopicSourceLibrary, which calls its translator as (zh, en). i18next
read the Chinese text as the key and the English text as the default, so
labels such as "Untitled question" stayed English even in Chinese.
catalogTranslate() builds the (zh, en) translator from t for all three
callers, and the message and file counts become interpolated keys.
The resource and personalization shelves in the sidebar and command
palette, the tools page section titles and availability notes, and the
system and general workspace names picked the English text directly
outside Chinese. They now go through t(). The settings search heading
and the appearance blurb get their missing catalog entries.
The mastery dashboard and the learner profile showed the next-step
labels in English for every language but Chinese. The labels now go
through t(); the server-provided reason stays as-is.
The EduHub import dialog chose between inline English and Chinese text.
Its labels now go through t(), and the download count and import error,
which were assembled from fragments, become interpolated keys.
Data migration chose between inline English and Chinese text, so other
languages saw English. Labels and statuses now go through t(), the
conversation and file counts use the existing plural keys, and the
feature list is joined with a comma outside Chinese instead of 、.
The connected-agents page, the subagent settings editor and the run
transcript toggle picked between inline { zh, en } text, so every other
language saw English. The non-Chinese branch now goes through t(); the
three strings that were template literals become interpolated keys whose
Chinese values are the old inline text. The subagent sync time follows
the interface language instead of zh-CN or en-US.