@codeam/shared 2.61.55 → 2.61.57
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 +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +52 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -7
- 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"
|
|
@@ -1137,6 +1140,49 @@ var INTEGRATION_REGISTRY = {
|
|
|
1137
1140
|
httpHeaders: { Authorization: "Bearer {accessToken}" }
|
|
1138
1141
|
}
|
|
1139
1142
|
}
|
|
1143
|
+
},
|
|
1144
|
+
trello: {
|
|
1145
|
+
id: "trello",
|
|
1146
|
+
name: "Trello",
|
|
1147
|
+
icon: "trello",
|
|
1148
|
+
category: "tracker",
|
|
1149
|
+
// LIVE — api_key rail (like Azure DevOps). Trello's auth is a developer API
|
|
1150
|
+
// key + a user token, NOT an OAuth2 code exchange: its token returns via a
|
|
1151
|
+
// URL fragment / OAuth 1.0a, incompatible with our server-side broker. The
|
|
1152
|
+
// user pastes both; the backend validates against the Trello REST API and
|
|
1153
|
+
// vaults them. No OAuth app, no GSM secrets, no config-gated 503.
|
|
1154
|
+
enabled: true,
|
|
1155
|
+
auth: {
|
|
1156
|
+
kind: "api_key",
|
|
1157
|
+
fields: [
|
|
1158
|
+
{
|
|
1159
|
+
key: "apiKey",
|
|
1160
|
+
label: "API Key",
|
|
1161
|
+
placeholder: "Your Trello API key",
|
|
1162
|
+
secret: false,
|
|
1163
|
+
help: "Create a Power-Up at https://trello.com/power-ups/admin and copy its API key."
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
key: "accessToken",
|
|
1167
|
+
label: "Token",
|
|
1168
|
+
placeholder: "Your Trello token",
|
|
1169
|
+
secret: true,
|
|
1170
|
+
help: 'On the API-key page, click the "Token" link to authorize + generate a token (scope read,write, never-expiring).'
|
|
1171
|
+
}
|
|
1172
|
+
]
|
|
1173
|
+
},
|
|
1174
|
+
delivery: {
|
|
1175
|
+
mcp: {
|
|
1176
|
+
// mcp-server-trello (Node): TRELLO_API_KEY + TRELLO_TOKEN via env only,
|
|
1177
|
+
// never argv. Version PINNED; bump only after re-verifying headless.
|
|
1178
|
+
command: "npx",
|
|
1179
|
+
args: ["-y", "mcp-server-trello@1.0.4"],
|
|
1180
|
+
envMapping: {
|
|
1181
|
+
TRELLO_API_KEY: "apiKey",
|
|
1182
|
+
TRELLO_TOKEN: "accessToken"
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1140
1186
|
}
|
|
1141
1187
|
};
|
|
1142
1188
|
function getEnabledIntegrations() {
|
|
@@ -1430,7 +1476,6 @@ var UPCOMING_INTEGRATION_IDS = [
|
|
|
1430
1476
|
"gmail",
|
|
1431
1477
|
"clickup",
|
|
1432
1478
|
"figma",
|
|
1433
|
-
"trello",
|
|
1434
1479
|
"supabase",
|
|
1435
1480
|
"asana",
|
|
1436
1481
|
"postman",
|