Expand description
One-shot agent invocation without tmux.
Used by the control session and the router LLM to run agents in a fire-and-forget mode without a persistent tmux session.
Structs§
- Direct
Result - Result of a one-shot agent invocation.
- Session
Continuation - Configuration for continuing an agent session.
Enums§
- Direct
Command Error - Error type for
run_direct_command_raw()— carries stdout on non-zero exit so callers can inspect it for rate-limit detection.
Functions§
- run_
direct - Run an agent one-shot without tmux.
- run_
direct_ command_ raw - Execute an already-built
tokio::process::Commandone-shot, returning raw stdout. - run_
direct_ with_ session - Run an agent one-shot with an optional
--session-idor--resumefor conversation continuity.