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

View file

@ -27,12 +27,12 @@ use crate::routes::hives::{HiveEntry, ServiceLink};
use crate::routes::{self, AppState, agents, config_prs, forge_admin, hives, jobq_graph};
use crate::{
agent_commands, agent_control, agent_custom, agent_icon, agent_input, agent_limits,
agent_login, agent_permissions, agent_renewal, agent_state_stream, agent_status, agents_md,
alerts, archetypes, auth, backend_env, bash_task, builder, claude_login, config_drift,
config_pr, egress_allow, egress_deny, forge, forge_account, github_account, gitlab_account,
inference, issue_report, linked_accounts, matrix_account, message_stream, notify_flows,
notify_router_api, pause_hold, pr_report, pulls, queue_identity, review_classifier, schedules,
status, subagent_term, term_stream, wanted, webhook,
agent_login, agent_permissions, agent_renewal, agent_state_stream, agent_status, agent_todos,
agents_md, alerts, archetypes, auth, backend_env, bash_task, builder, claude_login,
config_drift, config_pr, egress_allow, egress_deny, forge, forge_account, github_account,
gitlab_account, inference, issue_report, linked_accounts, matrix_account, message_stream,
notify_flows, notify_router_api, pause_hold, pr_report, pulls, queue_identity,
review_classifier, schedules, status, subagent_term, term_stream, wanted, webhook,
};
/// Where the daemon binds, overridable via `SWARM_CONTROLLER_SOCKET`.
@ -668,6 +668,7 @@ pub(crate) fn build_app(state: AppState) -> axum::Router {
.routes(routes!(subagent_term::list_subagents))
.routes(routes!(bash_task::list_bash_tasks))
.routes(routes!(agent_commands::list_commands))
.routes(routes!(agent_todos::list_todos))
.routes(routes!(subagent_term::stream_subagent_term))
.routes(routes!(agent_state_stream::stream_agent_state))
.routes(routes!(agent_input::post_agent_input))