Skip to main content

Module agents

Module agents 

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

The full design + 5-PR migration plan lived in a Phase-1.5 lineage spec that was retired in #1928 (“remove legacy pre-Drone Workflows lineage specs”); this module is what shipped from it.

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 types::TokenCounts;

Modules§

failure
Classification of agent (Claude CLI) run failures into a small, stable taxonomy with a human-readable explanation.
runner
Unified agent runner — one-shot Claude Code spawn for the drone Agent block.
translator
Provider frame → unified AgentEvent translation.
types
Unified agent types shared between the agent pane (interactive) and the drone Agent block (headless). The design rationale lived in a Phase-1.5 lineage spec retired in #1928.