CI / check (push) Canceled after 0s
- Pinned: 75 files, with the spec's display.json (DisplayTest runs its
duration and end cases) and progress.json's budget stop.
- Not additive: a call's chips no longer carry "exit 0", and an edit's are
one "+N -M" (the app draws chips only, so nothing is said twice);
block.title follows the spec's key order.
- A message's `end {phase, reason, text}` is what a stopped or failed reply
is drawn from, so a reloaded one says "Stopped: by you" too; the app
writes the line in its own language from the phase and the reason.
- A call's time is block.duration (the server's), else made from `ms`;
its state is block.state; a call without a title shows block.label.
- "Always allow" only when every item of the approval has `always`.
- The notifications build's updater takes its file from latest.json, else
from GET /apps' `notifications {url, sha256}` of the same version.
- ApiClient.mentions and attachFrom with their models and fixtures; the
composer does not use them yet.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
99 lines
2.1 KiB
JSON
99 lines
2.1 KiB
JSON
{
|
|
"message": {
|
|
"id": "msg2",
|
|
"role": "assistant",
|
|
"created_at": "2026-01-02T03:04:05+00:00",
|
|
"complete": true,
|
|
"stopped": false,
|
|
"error": null,
|
|
"queued": false,
|
|
"machine": false,
|
|
"origin": "",
|
|
"model": "qwen",
|
|
"attachments": [],
|
|
"end": null,
|
|
"steps": [
|
|
{
|
|
"index": 0,
|
|
"kind": "thinking",
|
|
"open": false,
|
|
"text": "The reader wants a recipe.",
|
|
"label": "for 1 second · 6 tokens"
|
|
},
|
|
{
|
|
"index": 0,
|
|
"kind": "text",
|
|
"open": false,
|
|
"markdown": "Here is how it is made:\n\n```sh\nbake --slow\n```\n"
|
|
},
|
|
{
|
|
"index": 0,
|
|
"kind": "tools",
|
|
"open": false,
|
|
"calls": [
|
|
{
|
|
"id": "call1",
|
|
"name": "bash",
|
|
"kind": "shell",
|
|
"status": "ok",
|
|
"args": {
|
|
"command": "bake --slow"
|
|
},
|
|
"purpose": "Bake one loaf",
|
|
"text": "baked\n",
|
|
"exit": 0,
|
|
"ms": 2412,
|
|
"block": {
|
|
"kind": "shell",
|
|
"title": "bake --slow",
|
|
"chips": [],
|
|
"added": 0,
|
|
"removed": 0,
|
|
"state": "done",
|
|
"duration": "2.4s",
|
|
"label": "Bash"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"index": 0,
|
|
"kind": "steer",
|
|
"open": false,
|
|
"messages": [
|
|
{
|
|
"id": "msg9",
|
|
"text": "and add honey"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"index": 1,
|
|
"kind": "text",
|
|
"open": false,
|
|
"markdown": "Done. *Wrap it in a leaf.*"
|
|
}
|
|
],
|
|
"plan": null,
|
|
"metrics": {
|
|
"prompt_tokens": 120,
|
|
"completion_tokens": 40,
|
|
"total_tokens": 160,
|
|
"context_tokens": 160,
|
|
"context_limit": 8192,
|
|
"estimated": false,
|
|
"elapsed_ms": 4000,
|
|
"rounds": 2,
|
|
"thinking_ms": 1200,
|
|
"percent": 2,
|
|
"tok_s": 10.0
|
|
}
|
|
},
|
|
"chat": {
|
|
"id": "chat1",
|
|
"title": "Waybread",
|
|
"title_pending": false
|
|
},
|
|
"next": null
|
|
}
|