Owing to the plugin's use of the V1 plugin format, it appears in the UI as file:///Users/user/.config/opencode/plugins... without actually showing the name of the plugin.
If you migrate to the V2 plugin API you should be able to simply do
import { define } from "@opencode-ai/plugin/v2/promise"
export default define({
id: "git-ai",
setup: async (ctx) => {
// V2 setup logic
},
})
There might be other benefits too.
Owing to the plugin's use of the V1 plugin format, it appears in the UI as
file:///Users/user/.config/opencode/plugins...without actually showing the name of the plugin.If you migrate to the V2 plugin API you should be able to simply do
There might be other benefits too.