- source strings are English again; Chinese comes from lib/l10n/zh.dart
through tr()/trArgs() and AppText, and a language without a table
(Spanish, ...) reads English instead of Chinese
- server and user data (titles, messages, file names, notes, task names)
is drawn with plain Text, so it is never looked up in the table
- SelectionArea moved from the whole message list to the messages, the
answer text, an opened tool call's details and the turn footer; status
lines and folded tool rows no longer start a selection
- a message the transcript does not know (its start event was lost while
the stream was down) fetches the tail once, so a turn continued from
another client comes in with its prompt
- bump to 0.5.3
- settings → general → language picks system, Chinese or English; the
choice is stored on the device and read before the first frame
- our Chinese strings are translated through tr()/trArgs() and AppText,
with the English in lib/l10n/en_*.dart; a missing entry falls back to
Chinese and a test checks that every literal in lib has one
- AppText rebuilds on a language change (it depends on the resolved
locale), so const text and whole pages switch at once; the built-in
date/time pickers and selection menu follow the same language
- server and user data (titles, messages, prompts, paths) is never
translated
- the chat list sits in a SelectionArea: long-press selects message text
and shows the copy/select-all menu
- bump to 0.5.2
- the settings screen is now an index: 通用 → 聊天, 外观 → 主题 / 宠物,
帮助与关于 → 关于; each row opens its own page, the controls moved
there unchanged
- 关于 shows the app version, the server's OpenCode (/api/info) and
OpenChamber (/api/version) versions with a refresh, and the open-source
licenses, listed per package with their full text on tap
- the app version is read from the platform at startup
(package_info_plus), so pubspec.yaml is the only place it is written;
the pairing/relay handshake now sends it too instead of a constant that
had drifted
A server can now be added by pasting an openchamber://connect pairing link.
The one-time secret is redeemed over the first reachable candidate (direct
addresses first, then the relay), and the device token is stored with the
connection, so later launches reconnect without the link.
The relay candidate carries the relay WebSocket URL, the host's routing id
and its P-256 public key. The new transport opens one encrypted tunnel to the
relay: P-256 ECDH + HKDF-SHA256 derive one AES-256-GCM key per direction;
frames carry a version, a 12-byte IV and the GCM tag; a small mux carries
HTTP, SSE and WebSocket sub-streams with fragmentation and ping/pong. Every
request and the terminal socket ride it; WebSocket upgrades first mint the
short-lived oc_url_token over the tunnel, since upgrades cannot send headers.
Only the host's legacy path is negotiated (no batching, downstream flow
control or body gzip). Pairing while connected switches servers like picking
one in the list, which exposed and fixes a ChatScreen crash when app.chat is
cleared during the switch.
0.4.4 (404).