Expand description
Unified agent runner — single entry point for spawning Claude Code (or any future provider) used by BOTH the interactive agent pane and the headless drone Agent block.
See docs/specs/SPEC_UNIFIED_AGENT_TYPES_2026_05_13.md for the
full design + 5-PR migration plan.
This is Phase 1.5 PR 0: types + skeleton. PR 1 wires the agent pane through this module; PR 2 wires the drone Agent block.
Re-exports§
pub use runner::run_agent;pub use runner::AgentError;pub use runner::AgentRunHandle;pub use types::AgentEvent;pub use types::AgentRef;pub use types::AgentRunResult;pub use types::AgentTask;pub use types::TokenCounts;pub use types::AgentTurn;
Modules§
- runner
- Unified agent runner — one-shot Claude Code spawn for the drone Agent block.
- translator
- Provider frame → unified
AgentEventtranslation. - types
- Unified agent types shared between the agent pane (interactive)
and the drone Agent block (headless). See
docs/specs/SPEC_UNIFIED_AGENT_TYPES_2026_05_13.md§3 for the full design rationale.