Merge sessions/interactive/9681cb67

This commit is contained in:
Dhanji R. Prasanna
2026-01-30 13:01:00 +11:00
11 changed files with 797 additions and 81 deletions

View File

@@ -211,6 +211,14 @@ pub async fn run_interactive<W: UiWriter>(
// Display context window progress bar before each prompt
display_context_progress(&agent, &output);
// Check for completed research and inject into context
// This happens before prompting the user for input
let injected_count = agent.inject_completed_research();
if injected_count > 0 {
println!("📋 {} research result(s) ready - injected into context", injected_count);
println!();
}
// Build prompt
let prompt = build_prompt(in_multiline, agent_name, &active_project);