Skip to content

Conversation

@Haagndaazer
Copy link

Summary

  • Enables users to select from Claude Code's suggested answer options in the AskUserQuestion tool, matching the terminal experience
  • When user selects options and clicks Submit, it properly clears the permission and sends the answer to Claude
  • Previously, users had to refuse the question and manually type their answers

Changes

  • Updated AskUserQuestionView.tsx to use sessionAllow (same pattern as plan approval) followed by sendMessage
  • This follows the existing PermissionFooter.handleApprove pattern used by ExitPlanMode

Test plan

  • Run npm run web or mobile app
  • Connect to a Claude Code session
  • Trigger an AskUserQuestion tool (ask Claude to clarify something)
  • Select options and click Submit
  • Verify permission clears and Claude receives/acknowledges the selected answer

🤖 Generated with Claude Code

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.

2 participants