mod builder;
mod context;
pub(crate) mod helpers;
mod messaging;
pub(crate) mod tool_loop;
mod types;
pub use builder::AgentService;
pub use helpers::{
detect_text_repetition, has_investigative_intent, has_phantom_tool_intent,
has_phantom_tool_intent_no_tools, is_gaslighting_preamble, looks_truncated_mid_sentence,
strip_gaslighting_preamble,
};
pub use types::{
AgentResponse, AgentStreamResponse, ApprovalCallback, ChannelSessionEvent,
MessageQueueCallback, ProgressCallback, ProgressEvent, SshPasswordCallback, SudoCallback,
ToolApprovalInfo,
};