fmt
This commit is contained in:
parent
17092961a2
commit
4a73340150
3 changed files with 12 additions and 7 deletions
|
|
@ -108,12 +108,19 @@ pub const MANAGER_AGENT: &str = "manager";
|
|||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[serde(tag = "cmd", rename_all = "snake_case")]
|
||||
pub enum ManagerRequest {
|
||||
Send { to: String, body: String },
|
||||
Send {
|
||||
to: String,
|
||||
body: String,
|
||||
},
|
||||
Recv,
|
||||
/// Spawn a sub-agent. Phase 5 will gate this on user approval.
|
||||
Spawn { name: String },
|
||||
Spawn {
|
||||
name: String,
|
||||
},
|
||||
/// Stop a sub-agent (graceful).
|
||||
Kill { name: String },
|
||||
Kill {
|
||||
name: String,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue