feat: tool steps as foldable runs with icon, label and summary

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).
This commit is contained in:
blumia committed 2026-11-19 14:58:18 +08:00
1 parent 61977d2b14
commit 2baa0a2730
4 files changed
+424 -106

No files matched your search

+7 -6
View File
@@ -5,13 +5,14 @@ Android first. This branch (`flutter`) is a framework evaluation: the same
feature set as the earlier Asuka/Go and MyGo attempts, reimplemented in
Flutter to compare mobile UI maturity.
Status: 0.3.2 — servers (passwordless / password login, HTTP/HTTPS and
Status: 0.3.3 — servers (passwordless / password login, HTTP/HTTPS and
SOCKS5/socks5h proxy, self-signed certificates and pinning), session list with search and live
events, chat with streaming Markdown and full history paging, tool rows with
image previews, a context usage ring with a detail sheet, model/agent
switching (Build/Plan only, current one checked), copy / fork / revert,
attachments (photos/files), permissions. Android 7.0 (API 24)+, plus a Linux
desktop target used for local testing.
events, chat with streaming Markdown and full history paging, tool steps
grouped per turn (icon, one-line summary, foldable run) with image previews, a
context usage ring with a detail sheet, model/agent switching (Build/Plan only,
current one checked), copy / fork / revert, attachments (photos/files),
permissions. Android 7.0 (API 24)+, plus a Linux desktop target used for local
testing.
## What is here