Skip to main content

Module watcher

Module watcher 

Source
Expand description

Disk-based session monitoring — polls agent output via tmux capture-pane.

Detects agent completion, crashes, and staleness by periodically capturing pane output and checking for state changes. For Codex and Claude, this also tails their on-disk session JSONL data to reduce false classifications from stale pane text.

Structs§

CodexQualitySignals
SessionWatcher

Enums§

SessionTrackerConfig
WatcherState
State of a watched agent session.

Functions§

is_at_agent_prompt
Check if the captured pane output shows an idle prompt.