Watch
0
0
Fork
You've already forked hyperhive
0

swarm: list an agent's bash tasks from their published status

GET /api/agents/{name}/bash-tasks reads the agent's keys of the bash-task-status
bucket and reports each task's state, command and times, with a live task whose
daemon stopped reporting as stale. The swarm UI shows them in a background tasks
section of the agent card, running ones first. The task output stays unread.
This commit is contained in:
iris 2026-11-15 18:36:44 +01:00 • committed by mara
commit 5de20f31dd

View file

@ -8,16 +8,17 @@ import {
startsOpen,
} from "../src/agent/detail/sections.ts";
test("a card holds status, terminal, subagents, then settings", () => {
test("a card holds status, terminal, subagents, background tasks, then settings", () => {
assert.deepEqual(sectionsFor(true), [
"status",
"terminal",
"subagents",
"tasks",
"settings",
]);
});
test("a page beside a terminal leaves the terminal and subagents out", () => {
test("a page beside a terminal leaves the terminal, subagents and tasks out", () => {
assert.deepEqual(sectionsFor(false), ["status", "settings"]);
});