swarm: the commands and skills an agent's message box offers
GET /api/agents/{name}/commands answers with the swarm's own commands, a table
in the controller, then the skills the agent's harness published to its key of
the agent-commands bucket. The published part is untrusted and cut down: plain
names only, no repeats, never a command's name, a capped list and one short line
per description. The agent credential may publish its own key. Nothing publishes
yet; the harness half and the swarm UI menu follow.
This commit is contained in:
parent
06c338ff40
commit
8f11a38d17
1 changed files with 389 additions and 7 deletions
|
|
@ -545,6 +545,7 @@ let
|
|||
"'$$KV.agents-md.{agent}'"
|
||||
"'$$SWARM.term.{agent}.sub.>'"
|
||||
"'$$KV.subagent-status.{agent}.*'"
|
||||
"'$$KV.agent-commands.{agent}'"
|
||||
"'$$KV.bash-task-status.{agent}.*'"
|
||||
"'$$SWARM.term.{agent}.bash.>'"
|
||||
"'$$JS.API.DIRECT.GET.KV_agent-schedules.$$KV.agent-schedules.{agent}'"
|
||||
|
|
|
|||
Loading…
Reference in a new issue