mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-27 00:31:00 +00:00
filter out old plugin
This commit is contained in:
parent
2844086752
commit
cacf9df24c
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ export namespace Plugin {
|
|||
plugins.push(...BUILTIN)
|
||||
}
|
||||
for (let plugin of plugins) {
|
||||
// ignore old codex plugin since it is supported first party now
|
||||
if (plugin.includes("opencode-openai-codex-auth")) continue
|
||||
log.info("loading plugin", { path: plugin })
|
||||
if (!plugin.startsWith("file://")) {
|
||||
const lastAtIndex = plugin.lastIndexOf("@")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue