pub mod baseline;
#[path = "boundary.rs"]
pub mod boundary;
pub mod dry_run;
pub mod list;
pub mod template_mgmt;
pub use baseline::handle_show_baseline;
pub use dry_run::handle_dry_run;
pub use list::{handle_list_agents, handle_list_available_agents};
pub use template_mgmt::handle_template_commands;
pub fn handle_diagnose<W: std::io::Write>(
writer: W,
colors: crate::logger::Colors,
config: &crate::config::Config,
registry: &crate::agents::AgentRegistry,
config_info: boundary::ConfigInfo<'_>,
executor: &dyn crate::executor::ProcessExecutor,
workspace: &dyn crate::workspace::Workspace,
) {
boundary::handle_diagnose(
writer,
colors,
config,
registry,
config_info,
executor,
workspace,
);
}
pub fn create_prompt_from_template(
template_name: &str,
colors: crate::logger::Colors,
) -> anyhow::Result<()> {
boundary::create_prompt_from_template(template_name, colors)
}
#[must_use]
pub fn prompt_template_selection(colors: crate::logger::Colors) -> Option<String> {
boundary::prompt_template_selection(colors)
}