diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/package.json | 1 | ||||
| -rw-r--r-- | packages/opencode/src/plugin/index.ts | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/opencode/package.json b/packages/opencode/package.json index 97a6457cf..6cd7862c5 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -135,6 +135,7 @@ "opencode-gitlab-auth": "2.0.0", "opentui-spinner": "0.0.6", "partial-json": "0.1.7", + "opencode-poe-auth": "0.0.1", "remeda": "catalog:", "semver": "^7.6.3", "solid-js": "catalog:", diff --git a/packages/opencode/src/plugin/index.ts b/packages/opencode/src/plugin/index.ts index e519f9f35..5cd379078 100644 --- a/packages/opencode/src/plugin/index.ts +++ b/packages/opencode/src/plugin/index.ts @@ -11,6 +11,7 @@ import { Session } from "../session" import { NamedError } from "@opencode-ai/util/error" import { CopilotAuthPlugin } from "./copilot" import { gitlabAuthPlugin as GitlabAuthPlugin } from "opencode-gitlab-auth" +import { PoeAuthPlugin } from "opencode-poe-auth" import { Effect, Layer, ServiceMap } from "effect" import { InstanceState } from "@/effect/instance-state" import { makeRunPromise } from "@/effect/run-service" @@ -44,7 +45,7 @@ export namespace Plugin { export class Service extends ServiceMap.Service<Service, Interface>()("@opencode/Plugin") {} // Built-in plugins that are directly imported (not installed from npm) - const INTERNAL_PLUGINS: PluginInstance[] = [CodexAuthPlugin, CopilotAuthPlugin, GitlabAuthPlugin] + const INTERNAL_PLUGINS: PluginInstance[] = [CodexAuthPlugin, CopilotAuthPlugin, GitlabAuthPlugin, PoeAuthPlugin] // Old npm package names for plugins that are now built-in — skip if users still have them in config const DEPRECATED_PLUGIN_PACKAGES = ["opencode-openai-codex-auth", "opencode-copilot-auth"] |
