Skip to main content

Module session

Module session 

Source
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§

SessionOutput
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.