Files
kilocode/packages/kilo-vscode/tests/unit
Marius 37559f8643 fix(agent-manager): restore focus to question options and prompt on session switch (#12795)
* fix(agent-manager): restore focus to question options and prompt on session switch

- Route keyboard tab switching (Meta+Alt+ArrowLeft/Right) through coordinated focus path
- Retry focus across render lifecycle to handle VS Code focus transitions
- Focus first enabled question option after question dock mounts
- Focus prompt textarea for sessions without pending questions
- Preserve focus when terminal, history, or review surfaces are active
- Add focusQuestionOption helper with unit tests
- Add changeset for patch release

Fixes race conditions where keyboard navigation would leave focus on webview body instead of the intended question option or prompt input.

* fix(agent-manager): preserve tab and question focus ownership

* fix(agent-manager): guard deferred focus during async questions
2026-08-03 15:08:10 +00:00
..