claude: pipe prompt via stdin (variadic --allowedTools was eating it); + ManagerRequest::Status

This commit is contained in:
müde 2026-05-15 15:06:09 +02:00
parent 9eab28a716
commit accb1445e3
5 changed files with 34 additions and 10 deletions

View file

@ -208,6 +208,9 @@ pub enum ManagerRequest {
body: String,
},
Recv,
/// Non-mutating: pending message count, used to render a status line
/// after each MCP tool call (mirrors `AgentRequest::Status`).
Status,
/// Submit a spawn request for the user to approve. On approval the host
/// creates and starts the container. Brand-new agent names only — if an
/// agent of the same name already exists, the approval will fail.
@ -234,4 +237,5 @@ pub enum ManagerResponse {
Err { message: String },
Message { from: String, body: String },
Empty,
Status { unread: u64 },
}