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