@codeam/shared 2.61.51 → 2.61.52

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';
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';
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
@@ -380,7 +380,7 @@ type DerivedCredentialSource = 'github';
380
380
  /** Grouping used by category-driven surfaces (Start-from-Work-Item picker,
381
381
  * catalog sections). A future tracker integration joins those features with
382
382
  * ZERO feature code — they resolve sources from the registry by category. */
383
- type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability';
383
+ type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability' | 'deployment';
384
384
  /**
385
385
  * One user-entered field for an `api_key` integration (no browser OAuth — the
386
386
  * user pastes credentials directly, e.g. a PAT + an org URL). The mobile form
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';
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';
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
@@ -380,7 +380,7 @@ type DerivedCredentialSource = 'github';
380
380
  /** Grouping used by category-driven surfaces (Start-from-Work-Item picker,
381
381
  * catalog sections). A future tracker integration joins those features with
382
382
  * ZERO feature code — they resolve sources from the registry by category. */
383
- type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability';
383
+ type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability' | 'deployment';
384
384
  /**
385
385
  * One user-entered field for an `api_key` integration (no browser OAuth — the
386
386
  * user pastes credentials directly, e.g. a PAT + an org URL). The mobile form
package/dist/index.js CHANGED
@@ -1187,6 +1187,37 @@ var INTEGRATION_REGISTRY = {
1187
1187
  httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
1188
1188
  }
1189
1189
  }
1190
+ },
1191
+ vercel: {
1192
+ id: "vercel",
1193
+ name: "Vercel",
1194
+ icon: "vercel",
1195
+ category: "deployment",
1196
+ // DARK — OAuth (PKCE public client). The user authorizes our registered
1197
+ // Vercel OAuth app; the access token calls Vercel's OFFICIAL hosted remote
1198
+ // MCP (mcp.vercel.com, Streamable HTTP) as a Bearer header — the SAME shim
1199
+ // HTTP transport as PostHog/Datadog. Vercel MCP is approved-clients + per-
1200
+ // connection OAuth consent, but that consent is the ONE-TIME authorize (not
1201
+ // per MCP request), so a backend-brokered access token works headless.
1202
+ // Endpoints (from mcp.vercel.com/.well-known/oauth-protected-resource →
1203
+ // vercel.com/.well-known/oauth-authorization-server): authorize
1204
+ // https://vercel.com/oauth/authorize, token
1205
+ // https://vercel.com/api/login/oauth/token, PKCE S256, token-endpoint auth
1206
+ // 'none' (public). enabled:false until Step-8 live-verify of the Bearer.
1207
+ enabled: false,
1208
+ auth: {
1209
+ kind: "oauth_redirect",
1210
+ scopes: ["openid", "offline_access"]
1211
+ },
1212
+ delivery: {
1213
+ mcp: {
1214
+ command: "",
1215
+ args: [],
1216
+ envMapping: {},
1217
+ httpUrl: "https://mcp.vercel.com",
1218
+ httpHeaders: { Authorization: "Bearer {accessToken}" }
1219
+ }
1220
+ }
1190
1221
  }
1191
1222
  };
1192
1223
  function getEnabledIntegrations() {