Skip to content

feat: add multi-select ask-user prompts#24

Merged
corwinm merged 2 commits into
mainfrom
feat/ask-user-multi-select
Jun 12, 2026
Merged

feat: add multi-select ask-user prompts#24
corwinm merged 2 commits into
mainfrom
feat/ask-user-multi-select

Conversation

@corwinm

@corwinm corwinm commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a distinct multiSelect option for ask_user_question when callers need multiple predefined choices.
  • Return mode: "multi-select" and set answer to a string array for selected options.
  • Keep existing single-choice options behavior unchanged and covered by regression tests.
  • Document the new multi-select capability and add a changeset.

Test Plan

  • npm run test -- extensions/pi-ask-user-question/test/index.test.ts
  • npm run ci

Comment thread extensions/pi-ask-user-question/src/index.ts Outdated
Comment thread extensions/pi-ask-user-question/src/index.ts
@corwinm
corwinm merged commit 7383aa5 into main Jun 12, 2026
2 checks passed
@corwinm
corwinm deleted the feat/ask-user-multi-select branch June 12, 2026 22:40
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.

1 participant