operator input: per-agent /send form (dashboard T4LK removed)
This commit is contained in:
parent
3c493934da
commit
409263f1c9
8 changed files with 142 additions and 52 deletions
|
|
@ -151,6 +151,11 @@ pub enum AgentRequest {
|
|||
/// Non-mutating: how many pending messages are addressed to me?
|
||||
/// Used by the harness to render a status line after each tool call.
|
||||
Status,
|
||||
/// Operator-injected message TO this agent (from this agent's own web
|
||||
/// UI). Recipient is implicit — `from` is `"operator"`. Effectively the
|
||||
/// per-agent equivalent of the old dashboard T4LK form, but scoped to
|
||||
/// the agent whose page the operator is on.
|
||||
OperatorMsg { body: String },
|
||||
}
|
||||
|
||||
/// Responses on a per-agent socket.
|
||||
|
|
@ -211,6 +216,9 @@ pub enum ManagerRequest {
|
|||
/// Non-mutating: pending message count, used to render a status line
|
||||
/// after each MCP tool call (mirrors `AgentRequest::Status`).
|
||||
Status,
|
||||
/// Operator-injected message TO the manager (from the manager's own web
|
||||
/// UI). Same shape as `AgentRequest::OperatorMsg`.
|
||||
OperatorMsg { body: String },
|
||||
/// 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue