Skip to content

Add number key shortcuts for agent prompts#142

Open
boudra wants to merge 2 commits intomainfrom
fix-138-number-keys
Open

Add number key shortcuts for agent prompts#142
boudra wants to merge 2 commits intomainfrom
fix-138-number-keys

Conversation

@boudra
Copy link
Copy Markdown
Collaborator

@boudra boudra commented Mar 23, 2026

Summary

  • add rebindable 1/2/3 prompt-selection shortcuts to the shared keyboard shortcuts system
  • scope those shortcuts to agents that are actively awaiting user input and route them through the focused agent pane
  • support sequential question-card selection with keyboard hints and add regression coverage for the shortcut matcher and question selection state

Verification

  • npm test --workspace=@getpaseo/app -- src/components/question-form-card.utils.test.ts src/keyboard/keyboard-shortcuts.test.ts src/keyboard/keyboard-action-dispatcher.test.ts
  • npm run typecheck --workspace=@getpaseo/app
  • npm run typecheck

Closes #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support 1/2/3 number keys to accept permissions and answer prompts

1 participant