CI / check (push) Canceled after 0s
The server's /api/v2 has the tree routes (8dd3201): GET /chats/{c}/tree
{tree, room, live} and GET /chats/{c}/subagents/{id}/transcript {id,
state, turns}. The activity sheet reads the tree when it opens (an older
server's 404 is ignored), so the list is there without a reply streaming;
a subagent's row opens its conversation from the transcript route, by id,
followed every 3 s while it has not ended -- the provisional member-by-name
route is gone. The conversation dialog is one for both kinds now
(ConversationDialog); a 409 (an agent chat's device away) is said in the
server's words. Findings and stopping are not on Android (the reduced
display, subagents.md §12).
ContractTest reads tree.json and subagent_transcript.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
113 lines
2.3 KiB
JSON
113 lines
2.3 KiB
JSON
{
|
|
"tree": {
|
|
"min": 2,
|
|
"max": 4,
|
|
"size": 3,
|
|
"open_slots": 0,
|
|
"agents": [
|
|
{
|
|
"id": "lead",
|
|
"name": "lead",
|
|
"position": "the main agent",
|
|
"parent": null,
|
|
"state": "working",
|
|
"model": "local/qwen",
|
|
"mode": "auto",
|
|
"request": [],
|
|
"manager": true,
|
|
"progress": {
|
|
"phase": "waiting_for_subagents",
|
|
"since": 1767323045000,
|
|
"running": 2
|
|
},
|
|
"findings": 0,
|
|
"messages": 1
|
|
},
|
|
{
|
|
"id": "s1",
|
|
"name": "area",
|
|
"position": "owns the API",
|
|
"parent": "lead",
|
|
"state": "working",
|
|
"model": "local/qwen",
|
|
"mode": "auto",
|
|
"request": [],
|
|
"manager": true,
|
|
"task": "Direct it.",
|
|
"progress": null,
|
|
"findings": 0,
|
|
"messages": 1
|
|
},
|
|
{
|
|
"id": "s2",
|
|
"name": "routes",
|
|
"position": "writes the routes",
|
|
"parent": "area",
|
|
"state": "working",
|
|
"model": "local/qwen",
|
|
"mode": "edit",
|
|
"request": [
|
|
"execute"
|
|
],
|
|
"manager": false,
|
|
"task": "Write the routes.",
|
|
"context": {
|
|
"used": 9100,
|
|
"window": 131072
|
|
},
|
|
"progress": {
|
|
"phase": "running_tool",
|
|
"since": 1767323045000,
|
|
"tool": "read",
|
|
"what": "src/api.py"
|
|
},
|
|
"findings": 1,
|
|
"messages": 1
|
|
}
|
|
],
|
|
"ended": [
|
|
{
|
|
"id": "s3",
|
|
"name": "scout",
|
|
"position": "maps the code",
|
|
"parent": "lead",
|
|
"state": "done",
|
|
"model": "local/qwen",
|
|
"mode": "auto",
|
|
"request": [],
|
|
"manager": false,
|
|
"task": "Map it.",
|
|
"progress": null,
|
|
"findings": 0,
|
|
"messages": 1,
|
|
"ended": 1767323045000
|
|
}
|
|
]
|
|
},
|
|
"room": [
|
|
{
|
|
"n": 1,
|
|
"from": "routes",
|
|
"to": [
|
|
"area"
|
|
],
|
|
"text": "Routes are in.",
|
|
"report": false,
|
|
"kind": "message",
|
|
"time": 1767323045000
|
|
},
|
|
{
|
|
"n": 2,
|
|
"from": "scout",
|
|
"to": [
|
|
"lead"
|
|
],
|
|
"text": "Mapped: see map.md.",
|
|
"report": true,
|
|
"kind": "report",
|
|
"time": 1767323045000
|
|
}
|
|
],
|
|
"live": true
|
|
}
|