@codeam/shared 2.61.55 → 2.61.56
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -393,7 +393,7 @@ var LINKED_AGENT_IDS = [
|
|
|
393
393
|
"coderabbit",
|
|
394
394
|
"gemini",
|
|
395
395
|
"kimi",
|
|
396
|
-
"
|
|
396
|
+
"openrouter",
|
|
397
397
|
"opencode",
|
|
398
398
|
HOUSE_AGENT_ID
|
|
399
399
|
];
|
|
@@ -416,11 +416,14 @@ var PUBLIC_TO_INTERNAL = {
|
|
|
416
416
|
// opencode is a real, distinct agent (its own binary + ACP server) — it does
|
|
417
417
|
// NOT map onto another runtime. Public id === internal id.
|
|
418
418
|
opencode: "opencode",
|
|
419
|
-
//
|
|
420
|
-
//
|
|
421
|
-
//
|
|
422
|
-
//
|
|
423
|
-
|
|
419
|
+
// OpenRouter runs Claude Code under the hood, pointed at OpenRouter's hosted
|
|
420
|
+
// "Anthropic Skin" (https://openrouter.ai/api — native Anthropic Messages
|
|
421
|
+
// protocol) with the user's vaulted `sk-or-…` key as ANTHROPIC_AUTH_TOKEN,
|
|
422
|
+
// instead of the house MiniMax proxy. Same internal runtime as the house
|
|
423
|
+
// agent — `claude` — differing only in WHERE the Anthropic env is pointed (a
|
|
424
|
+
// buildOpenRouterBootstrap variant). The endpoint is FIXED (hosted), so there
|
|
425
|
+
// is no per-user base URL — just the key.
|
|
426
|
+
openrouter: "claude",
|
|
424
427
|
// The house agent runs Claude Code under the hood (pointed at the
|
|
425
428
|
// MiniMax proxy). Its internal runtime is therefore `claude`.
|
|
426
429
|
[HOUSE_AGENT_ID]: "claude"
|