opencode icon indicating copy to clipboard operation
opencode copied to clipboard

UI: show plugins in /status

Open spoons-and-mirrors opened this issue 1 month ago • 8 comments

image

spoons-and-mirrors avatar Nov 19 '25 23:11 spoons-and-mirrors

@spoons-and-mirrors do you think instead of showing it here, can we show them in the /status?

rekram1-node avatar Nov 20 '25 04:11 rekram1-node

@rekram1-node it totally should be in /status yeah! Although I do like having the plugin count on the home page.

Plugins are going to get more and more relevant for users that want to customize OC and it also surfaces the concept to the user.

Should I remove the plugin count from the home page and only show it in /status ?

spoons-and-mirrors avatar Nov 20 '25 04:11 spoons-and-mirrors

@spoons-and-mirrors the main reason i suggest removing it for now is they are redesigning the prompt input box and some other things

/status would also benefit from saying like the name of the plugin and stuff

rekram1-node avatar Nov 20 '25 04:11 rekram1-node

@rekram1-node did as you asked.

image

spoons-and-mirrors avatar Nov 20 '25 14:11 spoons-and-mirrors

OO thats nice

rekram1-node avatar Nov 20 '25 17:11 rekram1-node

Can we clean it up a little, instead of reading node modules just check if the plugin has a @ suffix, else say "latest"

The code to get versions and stuff feels overly messy and verbose

rekram1-node avatar Nov 20 '25 17:11 rekram1-node

Yes very much agree, this is a mess rn

spoons-and-mirrors avatar Nov 20 '25 17:11 spoons-and-mirrors

@rekram1-node I think we're good, either show @latest or the version after the suffix

for file plugins it displays like this: .opencode/plugin/workflow.ts -> workflow .opencode/plugin/myplugin/index.ts -> myplugin

spoons-and-mirrors avatar Nov 20 '25 23:11 spoons-and-mirrors

/review

rekram1-node avatar Dec 17 '25 20:12 rekram1-node

lgtm

github-actions[bot] avatar Dec 17 '25 20:12 github-actions[bot]