- Delete machine_ui_writer.rs - Remove --machine CLI flag from cli_args.rs - Remove run_machine_mode(), run_interactive_machine(), run_autonomous_machine() functions - Remove handle_machine_command() function - Simplify OutputMode enum to just use SimpleOutput directly - Simplify SimpleOutput struct (remove machine_mode field) - Remove machine_mode parameter from setup_workspace_directory() - Remove test_machine_option_accepted test - Disable ACD by default in agent_mode (requires --acd flag) - Change 'memory checkpoint' message formatting - Remove dehydration status message
24 lines
422 B
Rust
24 lines
422 B
Rust
/// Simple output helper for printing messages
|
|
#[derive(Clone)]
|
|
pub struct SimpleOutput;
|
|
|
|
impl SimpleOutput {
|
|
pub fn new() -> Self {
|
|
SimpleOutput
|
|
}
|
|
|
|
pub fn print(&self, message: &str) {
|
|
println!("{}", message);
|
|
}
|
|
|
|
pub fn print_smart(&self, message: &str) {
|
|
println!("{}", message);
|
|
}
|
|
}
|
|
|
|
impl Default for SimpleOutput {
|
|
fn default() -> Self {
|
|
Self::new()
|
|
}
|
|
}
|