Skip to content

Conversation

@spoons-and-mirrors
Copy link
Contributor

image

@rekram1-node
Copy link
Collaborator

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

@spoons-and-mirrors
Copy link
Contributor Author

spoons-and-mirrors commented Nov 20, 2025

@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 ?

@rekram1-node
Copy link
Collaborator

@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

@spoons-and-mirrors
Copy link
Contributor Author

spoons-and-mirrors commented Nov 20, 2025

@rekram1-node did as you asked.

image

@spoons-and-mirrors spoons-and-mirrors changed the title UI: show plugin count on home page UI: show plugins in /status Nov 20, 2025
@rekram1-node
Copy link
Collaborator

OO thats nice

import { KVProvider, useKV } from "./context/kv"
import { Provider } from "@/provider/provider"
import { ArgsProvider, useArgs, type Args } from "./context/args"
import { Locale } from "@/util/locale"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats this import for

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry should've labeled the PR as WIP / draft, i'm still experimenting on resolving the package number for npm package that are in the local config. I'll do some more research on how to properly wire everything and some cleanup afterwards

@rekram1-node
Copy link
Collaborator

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

@spoons-and-mirrors
Copy link
Contributor Author

Yes very much agree, this is a mess rn

@spoons-and-mirrors spoons-and-mirrors marked this pull request as draft November 20, 2025 17:09
@spoons-and-mirrors
Copy link
Contributor Author

spoons-and-mirrors commented Nov 20, 2025

@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 spoons-and-mirrors marked this pull request as ready for review November 20, 2025 23:20
@github-actions github-actions bot force-pushed the dev branch 3 times, most recently from f1dc981 to 3e15a39 Compare November 22, 2025 18:07
@github-actions github-actions bot force-pushed the dev branch 2 times, most recently from df8bdf9 to 0dd5039 Compare November 22, 2025 18:21
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.

3 participants