plan mode: show full plan before the exit prompt (claude ExitPlanMode via bridge, ask_user path)

This commit is contained in:
hermes committed 2026-11-14 11:36:40 +00:00
1 parent 36e99fc8af
commit 8a9d8fe607
6 files changed
+78 -6

No files matched your search

+2
View File
@@ -314,6 +314,7 @@ impl Tool for AskUser {
options,
multi: a["multi"].as_bool().unwrap_or(false),
other: true,
plan: None,
};
match cx.state.choose(q).await {
Err(e) => ToolResult::err(e),
@@ -352,6 +353,7 @@ impl Tool for ExitPlan {
],
multi: false,
other: true,
plan: None,
};
match cx.state.choose(q).await {
Ok(Some(v)) if v.first().is_some_and(|s| s == "Implement") => {