@codeam/shared 2.61.50 → 2.61.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -355,13 +355,12 @@ var AGENT_REGISTRY = {
|
|
|
355
355
|
displayName: "opencode",
|
|
356
356
|
binaryName: "opencode",
|
|
357
357
|
enabled: true,
|
|
358
|
-
// opencode
|
|
359
|
-
//
|
|
360
|
-
//
|
|
361
|
-
//
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
preferredAuthKind: "oauth_token",
|
|
358
|
+
// opencode is model-AGNOSTIC and AUTO-DETECTS provider API keys from env
|
|
359
|
+
// vars (ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / …) — same
|
|
360
|
+
// model as aider. So the credential is the user's OWN provider key; we set
|
|
361
|
+
// the matching env var (detected by prefix) at deploy. api_key only.
|
|
362
|
+
supportedAuthKinds: ["api_key"],
|
|
363
|
+
preferredAuthKind: "api_key",
|
|
365
364
|
// Not listed by `headroom init --global` (claude/codex/copilot only) — native.
|
|
366
365
|
headroomWrappable: false,
|
|
367
366
|
// Native ACP server: `opencode acp` (stdio JSON-RPC).
|