Chore: update plan mode output in prompt (#9592)

### Summary
* Update plan prompt output
* Update requestUserInput response to be a single key value pair
`answer: String`.
This commit is contained in:
Shijie Rao
2026-01-21 14:12:18 -08:00
committed by GitHub
parent f2e1ad59bc
commit 3fcb40245e
7 changed files with 30 additions and 44 deletions

View File

@@ -152,8 +152,7 @@ async fn request_user_input_round_trip_resolves_pending() -> anyhow::Result<()>
answers.insert(
"confirm_path".to_string(),
RequestUserInputAnswer {
selected: vec!["yes".to_string()],
other: None,
answers: vec!["yes".to_string()],
},
);
let response = RequestUserInputResponse { answers };
@@ -173,7 +172,7 @@ async fn request_user_input_round_trip_resolves_pending() -> anyhow::Result<()>
output_json,
json!({
"answers": {
"confirm_path": { "selected": ["yes"], "other": Value::Null }
"confirm_path": { "answers": ["yes"] }
}
})
);