- 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
- draw the task bar in the activity strip's capsule (8px margins, 14px
padding, 36px min height, stadium radius) so the two read as one stack
- drop the stop button from the bar: its padding pushed the clock off the
right edge shared with the strip above; the row opens the sheet instead
- in the sheet, show only the clock while running, a stop button with a
stop icon, and "已结束" once the command ends; no "运行中" label and no
close x (the drag handle and the scrim already close it)
- say "读取输出…" while the first page loads instead of claiming the
command has printed nothing
- rest the pet's feet on the status capsule's edge (4px top margin)
instead of sinking 2px into it
A command the agent detached keeps running after its tool call returns;
the chat now shows it above the composer: one row per command with its
clock and a stop, folded under "正在执行 N 条命令" when there are
several, with a subagent tag for a child session's command.
Tapping a row opens the live output in a sheet (a page a second from
shell.output, tail kept), following the tail with a way back to the
newest line. The tool row that started it carries a 后台 tag and shows
the same output when expanded, falling back to the completion note once
the shell is gone; a command stopped from the app says so instead of
showing the Shell.NotFoundError it leaves behind.
The list comes from opencode's own shell jobs (experimental/job,
descendants included), so a foreground command never appears, and an
older server falls back to the shell list narrowed by the detached
calls in the transcript. Stopping confirms, removes the shell, and
leaves the model a note that the stop was the user's, as the
first-party client does.
0.4.14 (414).