@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.d.mts
CHANGED
|
@@ -273,7 +273,7 @@ declare const HOUSE_AGENT_SUBTITLE = "Included \u2014 no setup";
|
|
|
273
273
|
* endpoints and the mobile/web surfaces speak. The internal `AgentId`
|
|
274
274
|
* (`'claude' | 'codex' | …`) is what the runtimes / provisioning key on.
|
|
275
275
|
*/
|
|
276
|
-
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | '
|
|
276
|
+
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | 'openrouter' | 'opencode' | typeof HOUSE_AGENT_ID;
|
|
277
277
|
declare const LINKED_AGENT_IDS: readonly LinkedAgentId[];
|
|
278
278
|
declare function isLinkedAgentId(value: string): value is LinkedAgentId;
|
|
279
279
|
/**
|
|
@@ -351,7 +351,7 @@ declare function isHeadroomWrappable(agentId: string): boolean;
|
|
|
351
351
|
* ubiquitous CLI for the tool → `cliEnv`; otherwise → `mcp`. A tool may
|
|
352
352
|
* declare both.
|
|
353
353
|
*/
|
|
354
|
-
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab' | 'vercel';
|
|
354
|
+
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab' | 'vercel' | 'trello';
|
|
355
355
|
/**
|
|
356
356
|
* `derived` = no link flow of its own: the credential is BORROWED live from a
|
|
357
357
|
* connection the user already made elsewhere (see `derivedFrom`). The backend
|
|
@@ -390,7 +390,7 @@ type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' |
|
|
|
390
390
|
interface IntegrationApiKeyField {
|
|
391
391
|
/** Maps to a BrokeredIntegrationToken field (`accessToken`, `orgUrl`,
|
|
392
392
|
* `appKey`, `host`, …). */
|
|
393
|
-
key: 'accessToken' | 'orgUrl' | 'appKey' | 'host';
|
|
393
|
+
key: 'accessToken' | 'orgUrl' | 'appKey' | 'host' | 'apiKey';
|
|
394
394
|
/** Form label. */
|
|
395
395
|
label: string;
|
|
396
396
|
/** Example / placeholder. */
|
|
@@ -509,6 +509,10 @@ interface BrokeredIntegrationToken {
|
|
|
509
509
|
* (`accessToken`) as the `DD-APPLICATION-KEY` header; `host` carries the
|
|
510
510
|
* regional site. Absent for non-Datadog integrations. */
|
|
511
511
|
appKey?: string;
|
|
512
|
+
/** Trello developer API key — the app-level key the Trello MCP server needs
|
|
513
|
+
* alongside the user token (`TRELLO_API_KEY` + `TRELLO_TOKEN`=`accessToken`).
|
|
514
|
+
* Absent for non-Trello integrations. */
|
|
515
|
+
apiKey?: string;
|
|
512
516
|
}
|
|
513
517
|
|
|
514
518
|
/**
|
|
@@ -556,7 +560,7 @@ interface IntegrationBranding {
|
|
|
556
560
|
logoSvg: string;
|
|
557
561
|
}
|
|
558
562
|
declare const INTEGRATION_BRANDING: Record<string, IntegrationBranding>;
|
|
559
|
-
declare const UPCOMING_INTEGRATION_IDS: readonly ["gmail", "clickup", "figma", "
|
|
563
|
+
declare const UPCOMING_INTEGRATION_IDS: readonly ["gmail", "clickup", "figma", "supabase", "asana", "postman", "n8n", "stripe", "mixpanel", "pendo", "pagerduty", "amplitude"];
|
|
560
564
|
declare function getIntegrationBranding(id: string): IntegrationBranding | null;
|
|
561
565
|
|
|
562
566
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -273,7 +273,7 @@ declare const HOUSE_AGENT_SUBTITLE = "Included \u2014 no setup";
|
|
|
273
273
|
* endpoints and the mobile/web surfaces speak. The internal `AgentId`
|
|
274
274
|
* (`'claude' | 'codex' | …`) is what the runtimes / provisioning key on.
|
|
275
275
|
*/
|
|
276
|
-
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | '
|
|
276
|
+
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | 'openrouter' | 'opencode' | typeof HOUSE_AGENT_ID;
|
|
277
277
|
declare const LINKED_AGENT_IDS: readonly LinkedAgentId[];
|
|
278
278
|
declare function isLinkedAgentId(value: string): value is LinkedAgentId;
|
|
279
279
|
/**
|
|
@@ -351,7 +351,7 @@ declare function isHeadroomWrappable(agentId: string): boolean;
|
|
|
351
351
|
* ubiquitous CLI for the tool → `cliEnv`; otherwise → `mcp`. A tool may
|
|
352
352
|
* declare both.
|
|
353
353
|
*/
|
|
354
|
-
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab' | 'vercel';
|
|
354
|
+
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab' | 'vercel' | 'trello';
|
|
355
355
|
/**
|
|
356
356
|
* `derived` = no link flow of its own: the credential is BORROWED live from a
|
|
357
357
|
* connection the user already made elsewhere (see `derivedFrom`). The backend
|
|
@@ -390,7 +390,7 @@ type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' |
|
|
|
390
390
|
interface IntegrationApiKeyField {
|
|
391
391
|
/** Maps to a BrokeredIntegrationToken field (`accessToken`, `orgUrl`,
|
|
392
392
|
* `appKey`, `host`, …). */
|
|
393
|
-
key: 'accessToken' | 'orgUrl' | 'appKey' | 'host';
|
|
393
|
+
key: 'accessToken' | 'orgUrl' | 'appKey' | 'host' | 'apiKey';
|
|
394
394
|
/** Form label. */
|
|
395
395
|
label: string;
|
|
396
396
|
/** Example / placeholder. */
|
|
@@ -509,6 +509,10 @@ interface BrokeredIntegrationToken {
|
|
|
509
509
|
* (`accessToken`) as the `DD-APPLICATION-KEY` header; `host` carries the
|
|
510
510
|
* regional site. Absent for non-Datadog integrations. */
|
|
511
511
|
appKey?: string;
|
|
512
|
+
/** Trello developer API key — the app-level key the Trello MCP server needs
|
|
513
|
+
* alongside the user token (`TRELLO_API_KEY` + `TRELLO_TOKEN`=`accessToken`).
|
|
514
|
+
* Absent for non-Trello integrations. */
|
|
515
|
+
apiKey?: string;
|
|
512
516
|
}
|
|
513
517
|
|
|
514
518
|
/**
|
|
@@ -556,7 +560,7 @@ interface IntegrationBranding {
|
|
|
556
560
|
logoSvg: string;
|
|
557
561
|
}
|
|
558
562
|
declare const INTEGRATION_BRANDING: Record<string, IntegrationBranding>;
|
|
559
|
-
declare const UPCOMING_INTEGRATION_IDS: readonly ["gmail", "clickup", "figma", "
|
|
563
|
+
declare const UPCOMING_INTEGRATION_IDS: readonly ["gmail", "clickup", "figma", "supabase", "asana", "postman", "n8n", "stripe", "mixpanel", "pendo", "pagerduty", "amplitude"];
|
|
560
564
|
declare function getIntegrationBranding(id: string): IntegrationBranding | null;
|
|
561
565
|
|
|
562
566
|
/**
|
package/dist/index.js
CHANGED
|
@@ -475,7 +475,7 @@ var LINKED_AGENT_IDS = [
|
|
|
475
475
|
"coderabbit",
|
|
476
476
|
"gemini",
|
|
477
477
|
"kimi",
|
|
478
|
-
"
|
|
478
|
+
"openrouter",
|
|
479
479
|
"opencode",
|
|
480
480
|
HOUSE_AGENT_ID
|
|
481
481
|
];
|
|
@@ -498,11 +498,14 @@ var PUBLIC_TO_INTERNAL = {
|
|
|
498
498
|
// opencode is a real, distinct agent (its own binary + ACP server) — it does
|
|
499
499
|
// NOT map onto another runtime. Public id === internal id.
|
|
500
500
|
opencode: "opencode",
|
|
501
|
-
//
|
|
502
|
-
//
|
|
503
|
-
//
|
|
504
|
-
//
|
|
505
|
-
|
|
501
|
+
// OpenRouter runs Claude Code under the hood, pointed at OpenRouter's hosted
|
|
502
|
+
// "Anthropic Skin" (https://openrouter.ai/api — native Anthropic Messages
|
|
503
|
+
// protocol) with the user's vaulted `sk-or-…` key as ANTHROPIC_AUTH_TOKEN,
|
|
504
|
+
// instead of the house MiniMax proxy. Same internal runtime as the house
|
|
505
|
+
// agent — `claude` — differing only in WHERE the Anthropic env is pointed (a
|
|
506
|
+
// buildOpenRouterBootstrap variant). The endpoint is FIXED (hosted), so there
|
|
507
|
+
// is no per-user base URL — just the key.
|
|
508
|
+
openrouter: "claude",
|
|
506
509
|
// The house agent runs Claude Code under the hood (pointed at the
|
|
507
510
|
// MiniMax proxy). Its internal runtime is therefore `claude`.
|
|
508
511
|
[HOUSE_AGENT_ID]: "claude"
|
|
@@ -1219,6 +1222,49 @@ var INTEGRATION_REGISTRY = {
|
|
|
1219
1222
|
httpHeaders: { Authorization: "Bearer {accessToken}" }
|
|
1220
1223
|
}
|
|
1221
1224
|
}
|
|
1225
|
+
},
|
|
1226
|
+
trello: {
|
|
1227
|
+
id: "trello",
|
|
1228
|
+
name: "Trello",
|
|
1229
|
+
icon: "trello",
|
|
1230
|
+
category: "tracker",
|
|
1231
|
+
// LIVE — api_key rail (like Azure DevOps). Trello's auth is a developer API
|
|
1232
|
+
// key + a user token, NOT an OAuth2 code exchange: its token returns via a
|
|
1233
|
+
// URL fragment / OAuth 1.0a, incompatible with our server-side broker. The
|
|
1234
|
+
// user pastes both; the backend validates against the Trello REST API and
|
|
1235
|
+
// vaults them. No OAuth app, no GSM secrets, no config-gated 503.
|
|
1236
|
+
enabled: true,
|
|
1237
|
+
auth: {
|
|
1238
|
+
kind: "api_key",
|
|
1239
|
+
fields: [
|
|
1240
|
+
{
|
|
1241
|
+
key: "apiKey",
|
|
1242
|
+
label: "API Key",
|
|
1243
|
+
placeholder: "Your Trello API key",
|
|
1244
|
+
secret: false,
|
|
1245
|
+
help: "Create a Power-Up at https://trello.com/power-ups/admin and copy its API key."
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
key: "accessToken",
|
|
1249
|
+
label: "Token",
|
|
1250
|
+
placeholder: "Your Trello token",
|
|
1251
|
+
secret: true,
|
|
1252
|
+
help: 'On the API-key page, click the "Token" link to authorize + generate a token (scope read,write, never-expiring).'
|
|
1253
|
+
}
|
|
1254
|
+
]
|
|
1255
|
+
},
|
|
1256
|
+
delivery: {
|
|
1257
|
+
mcp: {
|
|
1258
|
+
// mcp-server-trello (Node): TRELLO_API_KEY + TRELLO_TOKEN via env only,
|
|
1259
|
+
// never argv. Version PINNED; bump only after re-verifying headless.
|
|
1260
|
+
command: "npx",
|
|
1261
|
+
args: ["-y", "mcp-server-trello@1.0.4"],
|
|
1262
|
+
envMapping: {
|
|
1263
|
+
TRELLO_API_KEY: "apiKey",
|
|
1264
|
+
TRELLO_TOKEN: "accessToken"
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1222
1268
|
}
|
|
1223
1269
|
};
|
|
1224
1270
|
function getEnabledIntegrations() {
|
|
@@ -1512,7 +1558,6 @@ var UPCOMING_INTEGRATION_IDS = [
|
|
|
1512
1558
|
"gmail",
|
|
1513
1559
|
"clickup",
|
|
1514
1560
|
"figma",
|
|
1515
|
-
"trello",
|
|
1516
1561
|
"supabase",
|
|
1517
1562
|
"asana",
|
|
1518
1563
|
"postman",
|