@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.js
CHANGED
|
@@ -437,13 +437,12 @@ var AGENT_REGISTRY = {
|
|
|
437
437
|
displayName: "opencode",
|
|
438
438
|
binaryName: "opencode",
|
|
439
439
|
enabled: true,
|
|
440
|
-
// opencode
|
|
441
|
-
//
|
|
442
|
-
//
|
|
443
|
-
//
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
preferredAuthKind: "oauth_token",
|
|
440
|
+
// opencode is model-AGNOSTIC and AUTO-DETECTS provider API keys from env
|
|
441
|
+
// vars (ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / …) — same
|
|
442
|
+
// model as aider. So the credential is the user's OWN provider key; we set
|
|
443
|
+
// the matching env var (detected by prefix) at deploy. api_key only.
|
|
444
|
+
supportedAuthKinds: ["api_key"],
|
|
445
|
+
preferredAuthKind: "api_key",
|
|
447
446
|
// Not listed by `headroom init --global` (claude/codex/copilot only) — native.
|
|
448
447
|
headroomWrappable: false,
|
|
449
448
|
// Native ACP server: `opencode acp` (stdio JSON-RPC).
|