We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66c3efb commit 1f884feCopy full SHA for 1f884fe
1 file changed
packages/opencode/src/plugin/index.ts
@@ -19,7 +19,10 @@ export namespace Plugin {
19
const BUILTIN = ["opencode-anthropic-auth@0.0.13"]
20
21
// Built-in plugins that are directly imported (not installed from npm)
22
- const INTERNAL_PLUGINS: PluginInstance[] = [CodexAuthPlugin, CopilotAuthPlugin, GitlabAuthPlugin]
+ // GitlabAuthPlugin uses a different version of @opencode-ai/plugin (from npm)
23
+ // vs the workspace version, causing a type mismatch on internal HeyApiClient.
24
+ // The types are structurally compatible at runtime.
25
+ const INTERNAL_PLUGINS: PluginInstance[] = [CodexAuthPlugin, CopilotAuthPlugin, GitlabAuthPlugin as unknown as PluginInstance]
26
27
const state = Instance.state(async () => {
28
const client = createOpencodeClient({
0 commit comments