[FEATURE]: add event "permission.ask" to allow tool to show notification/ or play tts voice ask #6623

Closed
opened 2026-02-16 18:04:47 -05:00 by yindo · 2 comments
Owner

Originally created by @select on GitHub (Jan 17, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When I run an agent I often switch away from the shell and to not see if there are permission request. Currently I only see the following permission events in the docs
Permission Events
permission.replied
permission.updated

Is it maybe already possible to create a plugin that creates a notification or text-to-speach output that asks for the permission? If not may I ask for a permission.ask event?

Originally created by @select on GitHub (Jan 17, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request When I run an agent I often switch away from the shell and to not see if there are permission request. Currently I only see the following permission events in the docs [Permission Events](https://opencode.ai/docs/plugins/#permission-events) permission.replied permission.updated Is it maybe already possible to create a plugin that creates a notification or text-to-speach output that asks for the permission? If not may I ask for a `permission.ask` event?
yindo added the discussiondocs labels 2026-02-16 18:04:47 -05:00
yindo closed this issue 2026-02-16 18:04:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 17, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7006: permission.ask plugin hook is defined but not triggered
  • #6043: Add askPermission to plugin ToolContext

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 17, 2026): This issue might be a duplicate of existing issues. Please check: - #7006: `permission.ask` plugin hook is defined but not triggered - #6043: Add askPermission to plugin ToolContext Feel free to ignore if none of these address your specific case.
Author
Owner

@select commented on GitHub (Jan 17, 2026):

seems to be a duplicate of https://github.com/anomalyco/opencode/issues/7006

@select commented on GitHub (Jan 17, 2026): seems to be a duplicate of https://github.com/anomalyco/opencode/issues/7006
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6623