requirements always

This commit is contained in:
Michael Neale
2025-10-29 13:09:15 +11:00
parent 45bffc40da
commit f53cd8e8f3

View File

@@ -504,6 +504,19 @@ Output ONLY the markdown content, no explanations or meta-commentary."#,
) )
.await? .await?
} else { } else {
Agent::new_with_readme_and_quiet(
config.clone(),
ui_writer,
combined_content.clone(),
cli.quiet,
)
.await?
};
run_with_machine_mode(agent, cli, project).await?;
} else {
// Normal mode - use ConsoleUiWriter
// NEW DEFAULT: Accumulative mode for interactive sessions // NEW DEFAULT: Accumulative mode for interactive sessions
// It runs when: // It runs when:
// 1. No task is provided (not single-shot) // 1. No task is provided (not single-shot)
@@ -517,18 +530,6 @@ Output ONLY the markdown content, no explanations or meta-commentary."#,
return Ok(()); return Ok(());
} }
Agent::new_with_readme_and_quiet(
config.clone(),
ui_writer,
combined_content.clone(),
cli.quiet,
)
.await?
};
run_with_machine_mode(agent, cli, project).await?;
} else {
// Normal mode - use ConsoleUiWriter
let ui_writer = ConsoleUiWriter::new(); let ui_writer = ConsoleUiWriter::new();
let agent = if cli.autonomous { let agent = if cli.autonomous {