opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: display the permission indicator in sidebar.

Open ariane-emory opened this issue 3 weeks ago • 3 comments

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

An excellent PR by @terakael was recently merged that adds an indicator in the footer when a tool is awaiting permission. While having this indicator is already pretty great, it does leave one significant gap uncovered: this indicator is not visible when the sidebar is open. This might initially come as a surprise to users who would expect the permission indicators to be displayed somewhere onscreen.

A good solution would be to display the same indicator in the sidebar's footer when the sidebar is enabled.

ariane-emory avatar Dec 15 '25 06:12 ariane-emory

will it also make sense to add a sound notification, just from a pure UX perspective ?

nalin-singh avatar Dec 15 '25 07:12 nalin-singh

@nalin-singh I don't think that playing sounds when tools need permission would require/justify any changes in opencode's own code. I use a simple plugin I vibed up with Pickle that invokes afplay to do that and it works very well, adding a whole audio system to opencode just to do the same thing a plugin can already do easily is probably not necessary.

ariane-emory avatar Dec 15 '25 07:12 ariane-emory

yeah, even something like a plugin works not to bloat the package thanks I will look into it

nalin-singh avatar Dec 15 '25 07:12 nalin-singh