ReadonlyonFires when the active (most recent) session changes
ReadonlyonFires when trajectory summaries grow (new conversation likely)
ReadonlyonFires when any monitored USS key changes size
ReadonlyonFires when a session's step count changes (agent made progress)
Get the currently active session ID.
Check if the monitor is currently running.
Start polling for state changes.
USS polling interval (default: 3000ms)
Trajectory polling interval (default: 5000ms). Set to 0 to disable trajectory polling (saves CPU).
Stop polling.
Monitors Antigravity state for changes.
Two polling modes:
Example