Watch
0
0
Fork
You've already forked hyperhive
0

swarm: an agent's open todos, mirrored to the queue and served by the controller

This commit is contained in:
iris 2026-11-16 00:28:54 +01:00 • committed by mara
commit b239500f88
2 changed files with 478 additions and 6 deletions

View file

@ -1000,6 +1000,11 @@ in
# in its message box. As for the icon, one put and no
# `$$JS.API.*` subject; swarm-controller creates the bucket.
"--agent-token-publish-subject ${lib.escapeShellArg "\$\$KV.agent-commands.{agent}"}"
# Its own key in the `agent-todos` KV bucket
# (`swarm_wire::agent_todos`): the open todos the swarm UI
# shows on its card. One put and no `$$JS.API.*` subject;
# swarm-controller creates the bucket.
"--agent-token-publish-subject ${lib.escapeShellArg "\$\$KV.agent-todos.{agent}"}"
# Its bash tasks (`swarm_wire::bash_task`): one status key per
# task in the `bash-task-status` KV bucket and the task's output
# rows. Publish only and no `$JS.API.*` subject:

View file

@ -546,6 +546,7 @@ let
"'$$SWARM.term.{agent}.sub.>'"
"'$$KV.subagent-status.{agent}.*'"
"'$$KV.agent-commands.{agent}'"
"'$$KV.agent-todos.{agent}'"
"'$$KV.bash-task-status.{agent}.*'"
"'$$SWARM.term.{agent}.bash.>'"
"'$$JS.API.DIRECT.GET.KV_agent-schedules.$$KV.agent-schedules.{agent}'"