sync: Auto-sync from DESKTOP-0O8A1RL at 2026-04-02 19:20:43
Synced files: - Session logs updated - Latest context and credentials - Command/directive updates Machine: DESKTOP-0O8A1RL Timestamp: 2026-04-02 19:20:43 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,8 +56,9 @@ pub fn routes() -> Router<AppState> {
|
||||
.route("/metrics/summary", get(metrics::get_summary))
|
||||
// Commands
|
||||
.route("/agents/:id/command", post(commands::send_command))
|
||||
.route("/commands", get(commands::list_commands))
|
||||
.route("/commands/:id", get(commands::get_command))
|
||||
.route("/commands", get(commands::list_commands).delete(commands::clear_command_history))
|
||||
.route("/commands/:id", get(commands::get_command).delete(commands::delete_command))
|
||||
.route("/commands/:id/cancel", post(commands::cancel_command))
|
||||
// Legacy Agent (PowerShell for 2008 R2)
|
||||
.route("/agent/register-legacy", post(agents::register_legacy))
|
||||
.route("/agent/heartbeat", post(agents::heartbeat))
|
||||
|
||||
Reference in New Issue
Block a user