swarm-controller: move the agents concern into its own module
Refs #6897
This commit is contained in:
parent
26ac7acb25
commit
eabcaab930
1 changed files with 38 additions and 26 deletions
|
|
@ -24,22 +24,7 @@ use std::sync::{Arc, Mutex};
|
|||
use anyhow::{Context, Result};
|
||||
|
||||
mod accounts;
|
||||
mod agent_archetype;
|
||||
mod agent_commands;
|
||||
mod agent_config_repo;
|
||||
mod agent_control;
|
||||
mod agent_custom;
|
||||
mod agent_icon;
|
||||
mod agent_input;
|
||||
mod agent_limits;
|
||||
mod agent_login;
|
||||
mod agent_permissions;
|
||||
mod agent_ssh;
|
||||
mod agent_state_stream;
|
||||
mod agent_status;
|
||||
mod agent_todos;
|
||||
mod agents_md;
|
||||
mod agents_md_initial;
|
||||
mod agents;
|
||||
mod archetypes;
|
||||
mod attic_copy;
|
||||
mod auth;
|
||||
|
|
@ -48,35 +33,34 @@ mod builder;
|
|||
mod cache_miss;
|
||||
mod config_drift;
|
||||
mod git_forge;
|
||||
mod inference;
|
||||
mod jobq;
|
||||
mod message_stream;
|
||||
mod meta_build;
|
||||
mod meta_fanout;
|
||||
mod meta_flake;
|
||||
mod observability;
|
||||
mod observability_grant;
|
||||
mod pause_hold;
|
||||
mod queue_identity;
|
||||
mod review;
|
||||
mod routes;
|
||||
mod schedules;
|
||||
mod secrets;
|
||||
mod ssh_connections;
|
||||
mod startup;
|
||||
mod status;
|
||||
mod store;
|
||||
mod subagent_term;
|
||||
mod tcp_tls;
|
||||
mod term_stream;
|
||||
#[cfg(test)]
|
||||
mod test_nats;
|
||||
mod wanted;
|
||||
|
||||
// The accounts, forge, secrets, observability and review modules keep their crate-root paths (`crate::matrix_account::…`).
|
||||
use accounts::{
|
||||
forge_account, github_account, gitlab_account, link_egress, linked_accounts, matrix_account,
|
||||
};
|
||||
use agents::{
|
||||
agent_archetype, agent_commands, agent_config_repo, agent_control, agent_custom, agent_icon,
|
||||
agent_input, agent_limits, agent_login, agent_permissions, agent_ssh, agent_state_stream,
|
||||
agent_status, agent_todos, agents_md, agents_md_initial, inference, message_stream, pause_hold,
|
||||
schedules, subagent_term, term_stream, wanted,
|
||||
};
|
||||
use git_forge::{
|
||||
config_pr, forge, forge_events, issue_report, pr_conflicts, pr_report, pulls, webhook,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue