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).
- The folded composer aligns to its bottom edge, so the 16px usage ring sat
below the 36px keys; a 10px bottom padding puts it on their centre line (the
two-row layout was already centred).
- A running turn no longer shows the finished turn's footer (model · mode ·
time, with its copy/fork menu). Above the input there is now an activity
strip like dsh-Go's: "思考中 / 正在回复 / 正在读取 · …" with the current
step's summary and a clock that ticks each second.
- Project headers in the sidebar are tinted bands at least a session row tall,
with a folder icon, a bolder name and the path beneath, so the project and
its sessions read as different levels.
- Project names take the last path segment with either separator, and path
comparisons unify `\`/`/` (case-insensitively for drive-letter paths); the
grouping key does too, so a Windows server no longer shows a full path or
splits one project in two.
- 0.3.19 (319).
- A send while a turn runs joins it (delivery "steer") on a short press; a
long press offers steer or queue. Queue/steer prompts wait in the server's
inbox and show as a pending bubble at the end of the transcript, with
改为排队/转为转向 and 撤回 (which puts the text back into the composer).
The inbox is read on open and resume and kept current by the
session.inbox.* events; delivery reloads the tail.
- The send key is stop only while running with an empty draft; with text it
sends (as dsh-Go does), leaving the long press for the delivery choice.
- The composer also folds to one line when the phone's back gesture closes
the keyboard while the field keeps focus: the page passes the keyboard
height (a Scaffold strips the bottom inset from its body) and the composer
treats a fall below half the peak as a dismissal.
- The Build/Plan chip now opens a bottom sheet with icons, hints and a check,
instead of a popup menu.
- Tests: composer_box_test (focus opens, IME dismissal folds, typing reopens)
and inbox_item_test (list items, enqueued events, delivery changes).
- 0.3.16 (316).
dsh-Go opens the input into two rows only while focused: the text above, the
model / mode / keys below, folding back when focus leaves. ComposerBox keeps
the field across the two layouts with a GlobalKey and animates the swap.
Model and thinking level are now one control (ModelPill shows "model · effort"
and the sheet offers the level after choosing a model); Build/Plan is a
separate ModeChip. The draft page uses the same box, with its project chip
above it. 0.3.15 (315).
- POST /api/session/:id/model takes the reference under `model`; sending it
at the top level was rejected with "Missing key at [model]".
- The chat now shows the model/agent row above the input (revealed while
typing or running, as dsh-Go does) instead of in the app bar; the draft
keeps the same row, with its project chip first.
- Thinking levels: /api/model's variants become a 思考 chip and sheet; the
choice travels as ModelRef.variant on the switch or the create, and the
last level per model is remembered on the device.
- The model picker groups providers, adds 收藏 and 最近 (device-local), shows
each model's context size and reasoning mark, and collapses sections.
- The `/` palette is shared by the chat and the draft (new slash_palette
widget); the draft lists commands and skills but not the client-local
/compact, which needs an existing session.
- 0.3.14 (314).
- 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'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).
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.