Expand description
Core agent execution spawning logic.
Provides spawn_session_execution which handles the full lifecycle of a
background agent run: spawn task → execute → finalize runner → persist session.
Structs§
- Session
Execution Args - Arguments for spawning a background agent execution.
Functions§
- log_
base_ system_ prompt_ snapshot - Log a snapshot of the base system prompt for debugging.
- preserve_
concurrent_ session_ overrides - Preserve concurrent session overrides (title/pin) made via external edits while the agent loop was running.
- spawn_
session_ execution - Spawn a background agent execution task.
- terminal_
error_ event_ for_ result - Map an execution result to a terminal error event.