- 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 old rows ("已思考 ▸", "✓ shell ▸") said nothing about what a step did
and could only be expanded one at a time.
- A turn is one or more assistant messages (the server writes a message
per step), so grouping per message produced a header for every step.
Rows are now grouped per turn: one "已完成 · N 次工具调用" header, split
where the reply has text. Header shows running/complete/failed, and the
whole run folds away.
- Every step shows a rounded icon for its kind (thought, shell, read,
write, edit, patch, search, fetch, task, skill), its label and a
one-line summary: the command, the file path, the pattern, the URL, the
skill id, and so on.
- A step opens to its reasoning text or the tool's input and output;
image references stay listed and clickable.
- A lone thought needs no header; a reasoning-only run reads "思考过程".
- Version 0.3.3 (code 303).
- 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.
Follow dsh-Go's input bar (MIT, referenced rather than copied):
- one rounded capsule holding a leading 36px attach key, a borderless
auto-growing field, the context usage ring and a trailing 36px key that
sends, or becomes the stop button while a turn runs (the hint says
"still typing while generating")
- attachment chips show image thumbnails above the capsule
- the app bar shows the current model and agent as a chip that opens the
model/agent picker, now a segmented control
- light haptic on send
- 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.
- README describes the MyGo toolchain, the third_party fork's minSdk 24
patch, the cleartext rationale, and the release signing
- PLAN.md records the Asuka 0.2 vs MyGo decision and the 0.3.0 status
- mygo.json signs with the test keystore and sets an adaptive icon
- the composer shows a context ring and percentage from the last
token-bearing assistant message, toned at 75% and 90%; tapping opens a
sheet with the model, used tokens, limits, output reserve and turn cost
- images a tool call names (read attachments as data URLs, input paths,
and image paths in output text) get a link under the tool row; tapping
previews it from the data URL or /api/fs/raw, allowing paths outside
the workspace
- directory-scoped requests now send x-opencode-directory-encoding: uri,
which scoped routes such as /api/fs/raw need to decode the header
- ocprobe gains a raw file command for checking previews
Bump version to 0.2.2 (build 16).
- sent images keep a local copy and render as rounded thumbnails in the
message, surviving later page reloads
- a prompt's menu can revert it and everything after it: confirm, then
stage and commit the server-side revert
- the app icon is OpenChamber's own (packages/mobile/assets/icon-only.png)
- document a terminal assessment (native view vs Go ANSI vs xterm.js in
a WebView) for the next decision
Bump version to 0.2.1 (build 15).
Reach the first-party mobile client's everyday features:
- sessions: a search button opens a field; typing asks the server with
its search parameter (350 ms settle) and clearing restores the list
- composer: attach photos or files (up to five, 10 MB each) as data
URLs with the prompt; attachments show as removable chips and are
named under the sent message
- turn menu: read the answer aloud with the system voice, or stop it
- chat: a "latest" button appears after scrolling up and returns to the
end of the conversation
- reset a live search when a connection ends
Bump version to 0.2.0 (build 14).
A chat page carried every finished tool result, and the app fetched it
twice when opening a chat, with a 20 second deadline. On a slow link a
long session (this one was ~530 KB per page) timed out.
- ask for shelled pages (x-openchamber-part-shells: v1), which drops
finished tool results: ~180 KB for the same page
- fetch one message by id when its tool row is opened
- keep tool and step updates local from events instead of re-reading
the page on every step, and only resync after a real disconnect
- 60 second deadline with a retry button
Bump version to 0.1.11 (build 12).
Every prompt now carries a row with its time, a copy button and a menu
(copy message, fork before this prompt), matching the first-party
client. The turn footer's sparkles became an inline SVG: the platform
symbol table left an empty square on some devices.
Bump version to 0.1.10 (build 11).
Match the first-party chat footer on touch screens: after a turn ends,
its last assistant message gets a row with the model name (resolved
from /api/model with the id as fallback), the agent and how long the
turn took, plus a "more" menu. The menu shows the completion timestamp
and offers copy answer and fork from here; forking copies history
before the next prompt (or the whole history at the end) and opens the
new session.
Bump version to 0.1.7 (build 8).
While disconnected the screen is the bare list with its own heading;
the navigation stack (and its new-session and refresh actions) exists
only once connected. That removes the duplicate title and the buttons
that could do nothing without a session.
Bump version to 0.1.6 (build 7).
The session screen now has a single server icon that opens the instance
list; picking an instance drops the live connection and connects to it,
and disconnecting moved into that list. A custom SVG rack stands in for
the missing server symbol on Android.
The agent sheet lists primary agents only: a session cannot run a
subagent (General, Explore) as its own agent.
Bump version to 0.1.5 (build 6).
Note what the native app now mirrors from the first-party client and
what stays different on purpose: per-server proxy and self-signed
certificates instead of request headers, no QR/pairing yet, and a
password-issued device token instead of a typed one.
Match the first-party mobile client's connection screen:
- the first screen lists saved servers, the one last used leading with
its connect button or connected state, the others below, and adding
is one tap
- servers can be added, edited (name, address, proxy, self-signed) and
deleted; deleting the live or last one returns to the list
- a password sheet prompts only when the server asks for one, keeps the
error and the typed password for a retry
- while connected, the instances sheet switches servers
- proxy and self-signed options stay per server (the native app's own)
- the single-server record and its token migrate automatically
- permission cards read a plain signal, fixing a flaky update
- bump version to 0.1.2 (build 3)
- chat: a searchable sheet picks the model or agent for the session; the
choice is applied through the server and mirrored in the session list
- sessions: a new-session sheet with a title and a working directory
(the server's default plus the directories already listed); creating
one opens its chat
- ocapi: list models with their display names and read the server's
default location
- bump version to 0.1.1 (build 2)
Add a Go client for OpenChamber built with Asuka's native widgets.
- internal/ocapi: health, password-to-device-token auth, session and
message paging, prompt/interrupt/model/agent, permissions, SSE events,
HTTP/SOCKS5 proxies and certificate pinning
- internal/storage: connection settings plus a device token in the
platform keystore, with a per-install id for server-side dedupe
- internal/appui: connect, session list and chat screens with streaming
Markdown, reasoning/tool folding, permission cards and session actions
- netcfg: native module that enables cleartext HTTP in release builds
- cmd/ocprobe: terminal probe for the API
- headless UI tests (uitest) and the research/plan document