Skip to main content

Module mode

Module mode 

Source
Expand description

Agent execution modes — coding mode, swarm mode, and plan approval.

Structs§

NullChannel
No-op channel for headless swarm worker agents. All operations are discarded — only the return value of handle_message is used.
PendingPlan
A plan waiting for user approval before execution.

Enums§

AgentMode
Agent execution mode.

Functions§

agent_mode_from_permission_profile
Maps stored agent.permission_profile to the initial runtime mode.
is_approval
Returns true if text is an explicit approval (“go”, “yes”, “ok”, etc.)
is_rejection
Returns true if text is an explicit rejection (“no”, “cancel”, “abort”, etc.)

Type Aliases§

PendingPlans