agent ssh connections: declare per agent, render into the agent's ssh config
This commit is contained in:
parent
844fb0a219
commit
934da6f31f
1 changed files with 1420 additions and 12 deletions
|
|
@ -32,7 +32,8 @@ use crate::{
|
|||
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,
|
||||
review_classifier, schedules, ssh_connections, status, subagent_term, term_stream, wanted,
|
||||
webhook,
|
||||
};
|
||||
|
||||
/// Where the daemon binds, overridable via `SWARM_CONTROLLER_SOCKET`.
|
||||
|
|
@ -633,6 +634,11 @@ fn permission_routes(router: OpenApiRouter<AppState>) -> OpenApiRouter<AppState>
|
|||
))
|
||||
.routes(routes!(agent_permissions::get_permission_catalogue))
|
||||
.routes(routes!(agent_ssh::get_ssh_ca))
|
||||
.routes(routes!(ssh_connections::get_ssh_connections))
|
||||
.routes(routes!(
|
||||
ssh_connections::put_ssh_connection,
|
||||
ssh_connections::delete_ssh_connection
|
||||
))
|
||||
}
|
||||
|
||||
/// The routes that write, delete and list an agent's linked accounts and
|
||||
|
|
|
|||
Loading…
Reference in a new issue