agentmux_srv\agents/
mod.rs

1// Copyright 2026, AgentMux Corp.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Unified agent runner — single entry point for spawning Claude
5//! Code (or any future provider) used by BOTH the interactive agent
6//! pane and the headless drone Agent block.
7//!
8//! See `docs/specs/SPEC_UNIFIED_AGENT_TYPES_2026_05_13.md` for the
9//! full design + 5-PR migration plan.
10//!
11//! This is Phase 1.5 PR 0: types + skeleton. PR 1 wires the agent
12//! pane through this module; PR 2 wires the drone Agent block.
13
14pub mod runner;
15pub mod translator;
16pub mod types;
17
18pub use runner::{run_agent, AgentError, AgentRunHandle};
19pub use types::{AgentEvent, AgentRef, AgentRunResult, AgentTask, TokenCounts, AgentTurn};