mod animation;
pub mod assistant_output;
mod command_executor;
mod commands;
mod context_reduction;
mod context_truncation;
pub mod continuation;
pub mod conversation_compression;
mod cost_tracker;
mod edit_mode;
pub mod formatting;
mod input;
mod layered_response;
pub mod markdown;
mod message_handler;
mod prompt;
mod reedline_adapter;
pub(crate) mod response;
mod semantic_chunking;
pub mod session;
pub mod session_continuation;
mod syntax;
mod thinking_display;
mod tool_display;
mod tool_error_tracker;
mod tool_processor;
pub use animation::{
show_generation_message_static, show_loading_animation, show_no_animation, show_smart_animation,
};
pub use assistant_output::print_assistant_response;
pub use command_executor::{
command_exists, execute_command_layer, get_command_help, list_available_commands,
};
pub use commands::{
CACHE_COMMAND, CLEAR_COMMAND, COMMANDS, COPY_COMMAND, DONE_COMMAND, EXIT_COMMAND, HELP_COMMAND,
QUIT_COMMAND, RUN_COMMAND, SAVE_COMMAND,
};
pub use context_reduction::perform_context_reduction;
pub use context_truncation::{
check_and_truncate_context, check_and_truncate_context_with_cancellation,
perform_simple_boundary_truncation, perform_smart_full_summarization, TruncationOptions,
};
pub use cost_tracker::CostTracker;
pub use edit_mode::EmacsWithShortcutHelp;
pub use formatting::format_duration;
pub use input::{read_user_input, InputResult};
pub use layered_response::process_layered_response;
pub use markdown::{is_markdown_content, MarkdownRenderer, MarkdownTheme};
pub use message_handler::MessageHandler;
pub use prompt::ChatPrompt;
pub use response::process_response;
pub use session::{
format_number, run_interactive_session, run_interactive_session_with_input, ChatSession,
};
pub use thinking_display::display_thinking;
pub use tool_display::{
display_individual_tool_header_with_context, display_individual_tool_header_with_params,
display_tool_output_smart, display_tool_parameters_full,
};
pub use tool_processor::ToolProcessor;
pub const CLAUDE_MODEL: &str = "openrouter:anthropic/claude-sonnet-4";
pub const DEFAULT_MODEL: &str = CLAUDE_MODEL;