1mod acp_executor;
29mod auto_detect;
30mod claude_stream;
31mod cli_backend;
32mod cli_executor;
33mod copilot_stream;
34mod json_rpc_handler;
35mod pi_stream;
36mod pty_executor;
37pub mod pty_handle;
38mod stream_handler;
39
40pub use acp_executor::AcpExecutor;
41pub use auto_detect::{
42 DEFAULT_PRIORITY, NoBackendError, detect_backend, detect_backend_default, is_backend_available,
43};
44pub use claude_stream::{
45 AssistantMessage, ClaudeStreamEvent, ClaudeStreamParser, ContentBlock, Usage, UserContentBlock,
46 UserMessage,
47};
48pub use cli_backend::{CliBackend, CustomBackendError, OutputFormat, PromptMode};
49pub use cli_executor::{CliExecutor, ExecutionResult};
50pub use copilot_stream::{CopilotAssistantMessage, CopilotStreamEvent, CopilotStreamParser};
51pub use json_rpc_handler::{JsonRpcStreamHandler, stdout_json_rpc_handler};
52pub use pi_stream::{
53 PiAssistantEvent, PiContentBlock, PiCost, PiSessionState, PiStreamEvent, PiStreamParser,
54 PiToolResult, PiTurnMessage, PiUsage, dispatch_pi_stream_event,
55};
56pub use pty_executor::{
57 CtrlCAction, CtrlCState, PtyConfig, PtyExecutionResult, PtyExecutor, TerminationType,
58};
59pub use pty_handle::{ControlCommand, PtyHandle};
60pub use stream_handler::{
61 ConsoleStreamHandler, PrettyStreamHandler, QuietStreamHandler, SessionResult, StreamHandler,
62 TuiStreamHandler,
63};