- The panel's top row is now the tab group plus the close button; each tab
keeps its own header: the files tab has the breadcrumb with new/more (or
the name and edit/download while previewing), knowledge its search and
refresh, the terminal its status.
- The key bar is Termux's two rows of seven: ESC / — HOME ↑ END PGUP, then
TAB CTRL ALT ← ↓ → PGDN; the modifiers still apply to what the phone
keyboard types.
- The panel is a dialog, so it gives the IME's height back itself
(viewInsets.bottom). The key bar and the terminal stay above the
keyboard, and the PTY reflows to the smaller terminal.
- Project knowledge gains the memory tab: both scopes from
/api/agent-memory/all, absent when the server has memory switched off,
with type, edit and delete.
- File preview editing passes minLines: null alongside expands.
- 0.3.12 (312).
- 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).
- lib/api/transport.dart: TransportRequest/TransportResponse/Transport, with
DirectTransport holding the old behaviour (HTTP CONNECT, SOCKS5/socks5h,
self-signed and pinned certificates). Client goes through it, so a relay
tunnel only adds an implementation.
- User rows decode the server's inline attachment data and open the shared
image preview on tap; the local path stays the fallback.
- The agent's native forms: models from @opencode/client, the form list,
replies and cancels, form.* events, and a dock above the composer with
when-rules and required-field validation (a switch must be on).
- HomeScreen: the session list is the phone's left drawer and a persistent
column from 840 px, the chat beside it; the newest session opens on start.
- 0.3.10 (310).
- The chat's top-right menu only repeated the per-turn menu. It now opens a
files sidebar that slides in from the right, the way the official client's
right panel does: browse the session directory with a breadcrumb and an up
key, filter the current directory, search its subdirectories (bounded,
skipping .git/node_modules/build and friends), preview text/code/Markdown/
images, edit and save text files, create files and folders, and download
any file through the system save dialog.
- The panel's "..." menu carries the official client's "显示被 git 忽略的文件"
toggle (the listing asks the server to respect gitignore by default) and a
refresh. 项目知识 and 终端 have their tabs, marked as coming later.
- Thinking blocks are Markdown too (headings, lists, inline code), rendered
with the shared MarkdownView at a smaller, quieter size.
- The reconnect banner stayed forever: the stream loop sets it when the SSE
connection drops and nothing cleared it. Any event proves the stream is
back (the server greets every connection with server.connected), so it now
clears the message then.
- Markdown rendering moved to lib/widgets/markdown_view.dart, shared by
messages, thinking, compaction summaries and file previews.
Version 0.3.9 (code 309).
- /compact is not one of the directory's commands: OpenChamber's own
client supplies it and runs POST /api/session/:id/compact. The palette now
starts with that local command (压缩), so picking it compacts without the
model seeing anything.
- A compaction message (status running/completed/failed, reason, summary,
tokens) is part of the timeline. It now shows as the official client's
row: a scissors glyph and "正在压缩对话" / "对话已压缩", a 显示摘要 toggle,
and the summary as Markdown (revealed with the same height animation as
the other folds). Failed compactions keep the error block.
- Live compaction events are subscribed: started adds the running record
(or refreshes the tail when it names no id), delta appends the streaming
summary, ended/failed fetch the server's settled record.
- Version 0.3.8 (code 308).
- Typing `/` opens a palette above the composer, dsh-Go's shape: icon, the
first-party Chinese label, /name, a one-line description, the first match
highlighted and a return hint. It lists the directory's commands
(/api/command) and skills (/api/skill), filters by name, label or
description, and keeps the field focused while it opens.
- Picking completes `/name ` when the command takes arguments (its
description shows a `[...]` form) and runs argument-free commands at once;
skills complete and ride the next prompt as a `skills` attachment. Enter
picks the highlighted row, arrows move, Esc closes.
- Sends route by name: commands go through POST /api/session/:id/command so
the server expands the template (and writes the user message), skills go
through the normal prompt with their id attached, anything else stays a
plain message. A failed command keeps the draft for a retry.
- A failed turn now says so in the transcript: the last step's error is
rendered under it as a quiet red block with the 中文 reading (auth, retry,
stopped, send failure) and the provider's raw response behind 显示详情.
Failed compactions and idle errors not already carried by the step are
shown too; an error that a later step recovered from is not the turn's
outcome and stays hidden.
- The tail is refetched when a turn starts, so a command's server-written
user message (or another client's) appears without reopening the session;
a successful send clears the stale error banner.
Version 0.3.6 (code 306).
- Rebuilt the fold after dsh-Go's ExpandReveal/_holdHeader: the body grows
from its top edge and fades in over 280ms (easeInOutCubic), and every
frame reports the height it adds or removes *before layout*, so the list
can scroll by exactly that much and keep the header under the finger.
Folds nobody can see take their new size without animating or dragging
the view.
- Finished runs now fold to their summary line, as in dsh-Go; running ones
stay open. A tap overrides either default and is remembered.
- Streamed tool parts only carry an id and input, never the tool name, so
live steps showed a generic "工具" label. Each step now swaps in the
server's copy of its message when it ends, which brings the name, the
full input and the attachments (and with them the right icon, label and
image handling).
- getMessage read the message from the response envelope directly and
would have thrown; it now unpacks `data`.
Version 0.3.5 (code 305).
- gpt_markdown renders through its own Material port, whose Theme.of falls
back to a light theme: code panels stayed light and their text black in
the dark theme. The chat now wraps markdown in a matching `mui.Theme`.
- Folding a run changed the height below its header and threw the header
out of view. The toggle remembers the header's screen position, corrects
the scroll offset, and parks the header at the top when the run is
longer than the viewport.
- Step details show what a tool actually did: the command and its output
for shell steps, the remaining inputs and the result for the rest, in
monospace; toolOutput falls back to metadata. A read/write/edit of an
image is no longer foldable — its path opens the preview.
- The event stream now times out without a heartbeat, so a half-open
connection is noticed and reopened; returning to the foreground restarts
the stream, refreshes the session list and the open chat, and reloadTail
merges the newest page instead of dropping loaded history.
- A page shorter than the limit means there is nothing older, so short
sessions no longer offer "load earlier".
- Version 0.3.4 (code 304).
- 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.