Expand description
Agent session management — spawn, wait for completion, collect output.
Extracted from runner/mod.rs. Handles the tmux session lifecycle:
spawning the agent, waiting for completion, reading output files, and cleanup.
Structs§
- Session
Output - Raw output collected from an agent session.
Functions§
- cleanup_
session - Kill the tmux session if it still exists, and scrub secrets from the tmux global environment so they never leak across sessions.
- run_
agent_ session - Spawn the agent in tmux, wait for completion, and collect output.