hive-bash-mcp: publish each task's status and output to the swarm queue
This commit is contained in:
parent
faadc5abe2
commit
c0b9c1778c
1 changed files with 841 additions and 211 deletions
|
|
@ -33,6 +33,9 @@ notices = ["async-nats/jetstream"]
|
|||
# `subagent_term::open_or_create`, for swarm-controller, which creates every
|
||||
# agent's subagent stream. Explicit for the same reason as `notices`.
|
||||
subagent-term = ["async-nats/jetstream"]
|
||||
# `agent_publisher`: the connection a daemon in an agent's container publishes
|
||||
# over as the agent, with the agent's own queue credential from the secret store.
|
||||
agent-publisher = ["dep:anyhow", "dep:swarm-agent-verify"]
|
||||
# `bash_task::open_status` and `open_output`, for swarm-controller, which creates
|
||||
# the status bucket and every agent's task output stream. Needs `kv` for the bucket.
|
||||
bash-task = ["kv"]
|
||||
|
|
@ -84,6 +87,7 @@ router-todo = ["async-nats/jetstream"]
|
|||
[dependencies]
|
||||
# Bare (no `kv`/`jetstream`) unless a consumer opts into the `kv` feature
|
||||
# above - the connect itself needs none of them.
|
||||
anyhow = { workspace = true, optional = true }
|
||||
async-nats.workspace = true
|
||||
hive-types = { workspace = true, optional = true }
|
||||
# `agent_status::roster` collects the stream's subject listing.
|
||||
|
|
@ -106,6 +110,8 @@ swarm-secret-client.workspace = true
|
|||
# The inference bucket's stored types are in `swarm-wire`; this crate holds
|
||||
# the connection side.
|
||||
swarm-wire.workspace = true
|
||||
# The spelling of the token `agent_publisher` presents.
|
||||
swarm-agent-verify = { workspace = true, optional = true }
|
||||
# A library, so its errors are a matchable enum rather than an opaque
|
||||
# `anyhow::Error`. The binaries that consume this keep anyhow; `?` converts.
|
||||
thiserror.workspace = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue