agent_ui: Fix keyboard navigation in ACP elicitation forms (#64193)

Closes #61358

Address the keyboard-navigation portions. Image answers are
intentionally not included. ACP form responses support primitive values
rather than image attachments, and Claude Code's adapter treats the
"Other" answer as text. This PR therefore only partially addresses the
issue.

Release Notes:

- acp: Fixed submitting and navigating ACP elicitation forms with the
keyboard.
This commit is contained in:
Ben Brandt authored and GitHub committed 2026-09-17 14:39:57 +00:00
1 parent 0fd7252634
commit 1cea5261a1
5 files changed
+417 -13

No files matched your search

+9
View File
@@ -379,6 +379,15 @@
"enter": "editor::Newline",
},
},
{
"context": "Elicitation || (Elicitation > Editor)",
"use_key_equivalents": true,
"bindings": {
"enter": "menu::Confirm",
"tab": "menu::SelectNext",
"shift-tab": "menu::SelectPrevious",
},
},
{
"context": "ThreadHistory",
"bindings": {
+9
View File
@@ -414,6 +414,15 @@
"enter": "editor::Newline",
},
},
{
"context": "Elicitation || (Elicitation > Editor)",
"use_key_equivalents": true,
"bindings": {
"enter": "menu::Confirm",
"tab": "menu::SelectNext",
"shift-tab": "menu::SelectPrevious",
},
},
{
"context": "ThreadHistory",
"bindings": {
+9
View File
@@ -382,6 +382,15 @@
"enter": "editor::Newline",
},
},
{
"context": "Elicitation || (Elicitation > Editor)",
"use_key_equivalents": true,
"bindings": {
"enter": "menu::Confirm",
"tab": "menu::SelectNext",
"shift-tab": "menu::SelectPrevious",
},
},
{
"context": "ThreadHistory",
"use_key_equivalents": true,