summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorKamil Jopek <[email protected]>2026-03-24 16:17:47 -0500
committerGitHub <[email protected]>2026-03-24 16:17:47 -0500
commit00d3b831fc74aecde4617a008f0f2292064d72a5 (patch)
tree933d5b0ccab8e1dc2315f1e1e0e4f793e4a44332 /packages
parentb848b7ebae7b783ae5dc121f1c865f17da453543 (diff)
downloadopencode-00d3b831fc74aecde4617a008f0f2292064d72a5.tar.gz
opencode-00d3b831fc74aecde4617a008f0f2292064d72a5.zip
feat: add Poe OAuth auth plugin (#18477)
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/package.json1
-rw-r--r--packages/opencode/src/plugin/index.ts3
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"]