- the right sidebar gains a Browser tab: address bar (back/forward, URL,
go, stop/reload, open in the system browser), history, quick links for
localhost:3000/5173/8080, and an embedded WebView on Android/iOS with an
error bar and retry; desktop shows a mobile-only hint
- Android allows cleartext traffic so local dev servers over HTTP load in
the WebView
- the tab row is now icons with tooltips (Files, Project knowledge,
Terminal, Browser), so four tabs fit a phone without truncated labels;
the tabs are kept alive offstage, so switching away and back keeps the
browser page and terminal state
- webview_flutter 4.14.1; version 0.6.7+607; tests cover the tab icons and
the desktop fallback
- 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
- the sidebar footer gains 全部功能 left of 设置; its page lists the
features the server offers, planned tasks for now
- 计划任务 follows the web client: a project (or the chats scope) picked
at the top, then its tasks with schedule, last result, next run, model
and error; the switch pauses, the menu runs now, edits or deletes
- the editor covers name, prompt, daily/weekly/once/cron schedules
(Chinese date and time pickers), several times a day, weekdays, cron
examples, enabled, and either the session defaults or a fixed model
and agent
- the same /api/projects/:id/scheduled-tasks endpoints the web uses; a
server without them says so instead of failing silently
- the app now pins zh_CN localizations, so the built-in pickers and
menus are Chinese too
- bump to 0.5.1
- 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
Sessions under the server's managed chats root (chats/<date>/session-…) were
grouped per directory, so each one appeared as its own session-xxxxx band.
GET /api/fs/home now supplies the chats root plus its canonical and legacy
aliases; every chat folder becomes the single 聊天 group. The new-session
picker can target 聊天 too: the first send creates a fresh chat directory
before creating the session, and a new session started from an existing chat
gets a new one instead of sharing its folder.
Projects merge their OpenChamber settings row (label, icon key, colour,
iconBackground and uploaded/auto icon image) with /api/project. Group
headers, the picker and the draft chip draw the chosen icon in its colour,
and custom images are fetched through the client transport (SVG included)
with a themed fallback to the glyph. The chat group uses a chat bubble rather
than a folder.
0.4.8 (408).
The pairing dialog gained a "扫码" button: a full-screen scanner points the
back camera at the QR that OpenChamber's connect-a-device dialog shows, and a
decoded pairing link connects straight away.
Frames are decoded with zxing2 (pure Dart, no ML Kit or Play services): the
YUV420 Y plane is already luminance, BGRA frames are converted green-weighted,
and each frame is decoded in a background isolate so camera frames never block
the UI. Only an openchamber://connect payload ends the scan; any other QR code
shows a short hint and scanning continues. A torch button, a denied-permission
message with retry, and camera-less devices are handled.
The recorder audio permission the camera plugin declares for video is removed
from the merged manifest: the scanner reads frames only.
0.4.5 (405).
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).
Nothing is built in: Settings → 宠物 shows "尚未导入宠物" until a zip is
picked. The zip holds a dsh-Go pack.json and PNG sheets; it is validated
(pack.json, every named sheet) and unpacked under the app's private files
directory, with enable, size (40/52/64) and remove kept on the device.
A pack's canvas, anchor, per-animation box and frame list drive rendering:
PetSlot reserves the area above the baseline and stands the sprite on the
composer's top edge (or on the activity cap while a turn runs). Idle,
thinking, working and error follow the chat's state, and a tap plays the
pack's react-left/react-right. Only one sheet is decoded at a time.
path_provider's JNI binding does not load on this engine, so MainActivity
exposes the files directory over a tiny method channel instead.
dist/deepy-whale-pet.zip is the Deepy whale for testing. Tests cover the
real pack manifest, frame/state mapping and zip import.
0.4.0 (400).
- Starting a session opens NewSessionScreen instead of a title sheet: a
project chip (GET /api/project, one row per canonical), a model/agent
chip, attachments and the composer. Nothing is created on the server
until the first send, which posts the session with its directory, model
and agent and then sends that message.
- The draft lives in AppState (memory only): leaving it keeps it; the
sidebar shows a draft row with its first line and a discard button; a
failed create stays on the draft with its text.
- The session list groups by project (chat folders under 聊天), dates the
rows (今天/昨天/本周早些时候/更早), pins through
session.metadata.openchamber.pinned, archives on demand, pages with
"载入更多", and swipes to pin/archive/delete (flutter_slidable).
- Child sessions are hidden; a parent's row shows its children's activity.
- The chat app bar follows the live session list, so the title the server
generates from the first message appears at once.
- Attachments and the model picker move to shared widgets, used by the
chat and the draft.
- 0.3.13 (313).
- lib/api/terminal.dart: the PTY protocol (create/resize/restart/close, and
the /api/terminal/ws binary control frames) with a reconnecting socket
that replays the server snapshot at the size it was drawn for.
- lib/terminal_state.dart: an xterm model plus that socket, kept per
workspace on AppState, so closing the panel or switching tabs keeps the
shell; the app reattaches when it returns from the background.
- lib/screens/terminal_panel.dart: TerminalView, a status bar (keyboard,
restart, clear, close) and a Termux-style key bar whose CTRL/ALT/SHIFT
modifiers also apply to what the phone keyboard types.
- lib/screens/knowledge_panel.dart: notes, todos and plans from
/api/project-context, searchable, with a full page for a plan's Markdown
and its raw editor.
- Downloads stream with a progress dialog (bytes, total, percent) and a
cancel that aborts the request; the save dialog only opens on success.
The request asks for `accept-encoding: identity` so Content-Length exists.
- MarkdownView renders task lists as ✅/⬜ instead of material_ui's
Checkbox, which wants a material_ui Material ancestor the app lacks.
- Dialogs own their TextEditingControllers, so closing one no longer
trips a framework assertion in debug builds.
- 0.3.11 (311).
- The chat loaded only one page of history: a desc page's older side is
cursor.next, not previous, and the server rejects a cursor combined
with order (InvalidCursorError). The first page stores `next`, later
pages pass only `cursor`. tool/history_probe.dart walks a 1698-message
session down to the oldest message with no gaps.
- The message list is now reversed (newest at offset 0), so older pages
grow above and the viewport stays put; near the top it loads by itself
and a "load earlier" row remains as a fallback.
- The agent picker filtered only on mode, so Compaction/Title/Summary
(primary but hidden) showed up. Filter `hidden` too, and mark the
current model or agent with a check.
- The usage ring's sheet was guarded by a flag nothing ever set; the
ring now opens the context detail sheet.
- Tool image previews use a self-loading dialog and Image.memory: no
temp file and no path_provider, whose Android implementation throws
ClassNotFoundException: Landroid/content/Context; on the emulator.
- "Add server" in the connected server sheet now opens the form and
returns to the session list once connected.
- Add a Linux desktop target for fast local UI checks, plus the probe
that pages history.
- Version 0.3.2 (code 302).
- SOCKS5 had been fed to HttpClient.findProxy, which supports only HTTP
proxies ("Invalid proxy configuration"), and socks5h was treated as an
HTTP proxy ("Invalid request method"). HTTP/HTTPS proxies stay on
findProxy; socks5/socks5h tunnel through socks5_proxy, which resolves
names at the proxy; user:pass in the proxy URL is passed along.
- Saving moved to the successful path: a failed attempt stays in the form
with a short reason, and the server list keeps no duplicates.
- package net.blumia.openchamber.flutter (namespace, applicationId,
MainActivity, iOS bundle id), version 0.3.1 (code 301).
- show the proxy in the instance and server lists; clearer connect errors.
- tool/proxy_probe.dart checks direct, socks5, socks5h and HTTP proxies
(requests and SSE) against a live server.
- render assistant Markdown with gpt_markdown (the same renderer dsh-Go
uses): streaming, syntax-highlighted code with copy, tables, LaTeX and
task lists, replacing flutter_markdown
- fix the event stream: Dart's Map collapsed the repeated `types` query
into one value, so only one event type was subscribed and chats never
updated; build the query by hand
- keep the optimistic prompt on failure out of the transcript and put the
text back for a retry
- clamp negative turn durations
- build: Aliyun Maven mirrors, pre-seeded Gradle 9.5.0, and a complete
NDK 28.2 install to avoid multi-hour downloads
Replace the MyGo/Go app with a Flutter client that keeps the feature set:
- servers: saved servers, passwordless and password login, HTTP/SOCKS5
proxy via dart:io, self-signed certificates and pinning, tokens in
flutter_secure_storage (Keystore)
- sessions: list with live events, search, new/rename/archive/delete,
instance sheet
- chat: streaming Markdown (flutter_markdown), reasoning and tool rows,
image previews, context usage ring and sheet, model/agent switching,
fork/revert, attachments (file_picker), permissions
- Android 7.0 (API 24)+, plain http:// works in release (Dart dials
sockets directly)
- build: China mirrors for Gradle/NDK, Aliyun Maven repositories, and the
Gradle distribution pre-seeded; release signed with the test keystore
Read-aloud is dropped as requested. Version 0.3.0.