requirements always
This commit is contained in:
@@ -504,19 +504,6 @@ Output ONLY the markdown content, no explanations or meta-commentary."#,
|
|||||||
)
|
)
|
||||||
.await?
|
.await?
|
||||||
} else {
|
} else {
|
||||||
// NEW DEFAULT: Accumulative mode for interactive sessions
|
|
||||||
// It runs when:
|
|
||||||
// 1. No task is provided (not single-shot)
|
|
||||||
// 2. Not in autonomous mode
|
|
||||||
// 3. Not explicitly disabled with --accumulative flag
|
|
||||||
let use_accumulative = cli.task.is_none() && !cli.autonomous && !cli.accumulative;
|
|
||||||
|
|
||||||
if use_accumulative {
|
|
||||||
// Run accumulative mode and return early
|
|
||||||
run_accumulative_mode(workspace_dir.clone(), cli.clone(), combined_content.clone()).await?;
|
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
|
|
||||||
Agent::new_with_readme_and_quiet(
|
Agent::new_with_readme_and_quiet(
|
||||||
config.clone(),
|
config.clone(),
|
||||||
ui_writer,
|
ui_writer,
|
||||||
@@ -529,6 +516,20 @@ Output ONLY the markdown content, no explanations or meta-commentary."#,
|
|||||||
run_with_machine_mode(agent, cli, project).await?;
|
run_with_machine_mode(agent, cli, project).await?;
|
||||||
} else {
|
} else {
|
||||||
// Normal mode - use ConsoleUiWriter
|
// Normal mode - use ConsoleUiWriter
|
||||||
|
|
||||||
|
// NEW DEFAULT: Accumulative mode for interactive sessions
|
||||||
|
// It runs when:
|
||||||
|
// 1. No task is provided (not single-shot)
|
||||||
|
// 2. Not in autonomous mode
|
||||||
|
// 3. Not explicitly disabled with --accumulative flag
|
||||||
|
let use_accumulative = cli.task.is_none() && !cli.autonomous && !cli.accumulative;
|
||||||
|
|
||||||
|
if use_accumulative {
|
||||||
|
// Run accumulative mode and return early
|
||||||
|
run_accumulative_mode(workspace_dir.clone(), cli.clone(), combined_content.clone()).await?;
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
|
||||||
let ui_writer = ConsoleUiWriter::new();
|
let ui_writer = ConsoleUiWriter::new();
|
||||||
|
|
||||||
let agent = if cli.autonomous {
|
let agent = if cli.autonomous {
|
||||||
|
|||||||
Reference in New Issue
Block a user