Expand description
Agent execution modes — coding mode, swarm mode, and plan approval.
Structs§
- Null
Channel - No-op channel for headless swarm worker agents.
All operations are discarded — only the return value of
handle_messageis used. - Pending
Plan - A plan waiting for user approval before execution.
Enums§
- Agent
Mode - Agent execution mode.
Functions§
- agent_
mode_ from_ permission_ profile - Maps stored
agent.permission_profileto the initial runtime mode. - is_
approval - Returns true if
textis an explicit approval (“go”, “yes”, “ok”, etc.) - is_
rejection - Returns true if
textis an explicit rejection (“no”, “cancel”, “abort”, etc.)