@codeam/shared 2.61.56 → 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 CHANGED
@@ -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", "trello", "supabase", "asana", "postman", "n8n", "stripe", "mixpanel", "pendo", "pagerduty", "amplitude"];
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
@@ -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", "trello", "supabase", "asana", "postman", "n8n", "stripe", "mixpanel", "pendo", "pagerduty", "amplitude"];
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
@@ -1222,6 +1222,49 @@ var INTEGRATION_REGISTRY = {
1222
1222
  httpHeaders: { Authorization: "Bearer {accessToken}" }
1223
1223
  }
1224
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
+ }
1225
1268
  }
1226
1269
  };
1227
1270
  function getEnabledIntegrations() {
@@ -1515,7 +1558,6 @@ var UPCOMING_INTEGRATION_IDS = [
1515
1558
  "gmail",
1516
1559
  "clickup",
1517
1560
  "figma",
1518
- "trello",
1519
1561
  "supabase",
1520
1562
  "asana",
1521
1563
  "postman",