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>
167 lines
3.9 KiB
JSON
167 lines
3.9 KiB
JSON
{
|
|
"cards": [
|
|
{
|
|
"id": "card1",
|
|
"kind": "question",
|
|
"why": "",
|
|
"dismissable": false,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "q0",
|
|
"kind": "question",
|
|
"tool": "ask_user",
|
|
"title": "Honey or not?",
|
|
"header": "Taste",
|
|
"detail": "",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [
|
|
{
|
|
"label": "Honey",
|
|
"description": "",
|
|
"recommended": true
|
|
},
|
|
{
|
|
"label": "Plain",
|
|
"description": "As the elves have it",
|
|
"recommended": false
|
|
}
|
|
],
|
|
"multiple": false,
|
|
"free_text": true,
|
|
"always": false,
|
|
"editable": false,
|
|
"plan": null,
|
|
"mode_choice": true,
|
|
"job": "",
|
|
"subagent": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card2",
|
|
"kind": "approval",
|
|
"why": "",
|
|
"dismissable": false,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "0",
|
|
"kind": "approval",
|
|
"tool": "bash",
|
|
"title": "Run a command",
|
|
"header": "",
|
|
"detail": "rm -rf build",
|
|
"reason": "Edit mode asks before anything that runs a command.",
|
|
"purpose": "Start clean",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"always": true,
|
|
"editable": true,
|
|
"plan": null,
|
|
"mode_choice": true,
|
|
"job": "explore (job1)",
|
|
"subagent": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card3",
|
|
"kind": "plan",
|
|
"why": "",
|
|
"dismissable": true,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "p0",
|
|
"kind": "plan",
|
|
"tool": "plan_submit",
|
|
"title": "Bake lembas",
|
|
"header": "",
|
|
"detail": "",
|
|
"reason": "",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": true,
|
|
"always": false,
|
|
"editable": false,
|
|
"plan": {
|
|
"version": 2,
|
|
"title": "Bake lembas",
|
|
"summary": "",
|
|
"findings": [],
|
|
"objectives": [],
|
|
"phases": [
|
|
{
|
|
"id": "p1",
|
|
"title": "Plan",
|
|
"status": "pending",
|
|
"tasks": [
|
|
{
|
|
"id": "t1",
|
|
"text": "Gather mallorn leaves",
|
|
"status": "todo",
|
|
"note": ""
|
|
},
|
|
{
|
|
"id": "t2",
|
|
"text": "Bake slowly",
|
|
"status": "todo",
|
|
"note": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"steps": [
|
|
"Gather mallorn leaves",
|
|
"Bake slowly"
|
|
]
|
|
},
|
|
"mode_choice": true,
|
|
"job": "",
|
|
"subagent": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "card4",
|
|
"kind": "approval",
|
|
"why": "",
|
|
"dismissable": false,
|
|
"expires_in": null,
|
|
"items": [
|
|
{
|
|
"index": 0,
|
|
"key": "0",
|
|
"kind": "approval",
|
|
"tool": "bash",
|
|
"title": "Run a command",
|
|
"header": "",
|
|
"detail": "git push",
|
|
"reason": "Edit mode asks before anything that runs a command.",
|
|
"purpose": "",
|
|
"options": [],
|
|
"multiple": false,
|
|
"free_text": false,
|
|
"always": true,
|
|
"editable": true,
|
|
"plan": null,
|
|
"mode_choice": true,
|
|
"job": "",
|
|
"subagent": {
|
|
"id": "s1",
|
|
"name": "parser",
|
|
"position": "reviews the parser"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|