@codeam/shared 2.61.76 → 2.61.77

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' | 'trello' | 'clickup' | 'n8n' | 'postman' | 'mixpanel' | 'supabase' | 'confluence' | 'cloudflare';
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' | 'clickup' | 'n8n' | 'postman' | 'mixpanel' | 'supabase' | 'convex' | 'confluence' | 'cloudflare';
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
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' | 'trello' | 'clickup' | 'n8n' | 'postman' | 'mixpanel' | 'supabase' | 'confluence' | 'cloudflare';
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' | 'clickup' | 'n8n' | 'postman' | 'mixpanel' | 'supabase' | 'convex' | 'confluence' | 'cloudflare';
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
package/dist/index.js CHANGED
@@ -1505,6 +1505,41 @@ var INTEGRATION_REGISTRY = {
1505
1505
  }
1506
1506
  }
1507
1507
  },
1508
+ convex: {
1509
+ id: "convex",
1510
+ name: "Convex",
1511
+ icon: "convex",
1512
+ category: "database",
1513
+ // LIVE — OAuth 2.0 (authorization code, Confidential). authorize
1514
+ // dashboard.convex.dev/oauth/authorize/team (the scope is the URL PATH —
1515
+ // `team` for team-wide access — NOT a query param); token
1516
+ // api.convex.dev/oauth/token (form-urlencoded, client creds in the BODY).
1517
+ // ⚠️ Convex issues NO refresh token and the team-scoped application token
1518
+ // does not expire, so there is nothing to rotate (refresh() is a re-link
1519
+ // surface). The OAuth app (Team Settings → OAuth Applications) is registered
1520
+ // and CONVEX_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
1521
+ // (prod+dev); the config-gated 503 keeps this safe mid-rollout.
1522
+ enabled: true,
1523
+ auth: {
1524
+ kind: "oauth_redirect",
1525
+ // ⚠️ Convex's scope is the authorize URL path (`/team`), NOT sent in the
1526
+ // authorize URL as a query param — this list is informational.
1527
+ scopes: []
1528
+ },
1529
+ delivery: {
1530
+ mcp: {
1531
+ // Convex's OFFICIAL MCP server ships inside the `convex` npm package
1532
+ // (`convex mcp start`). The team-scoped OAuth application token doubles
1533
+ // as the CLI/MCP deploy key → fed via CONVEX_DEPLOY_KEY (env only, never
1534
+ // argv). Version PINNED; bump only after re-verifying headless.
1535
+ command: "npx",
1536
+ args: ["-y", "convex@1.42.3", "mcp", "start"],
1537
+ envMapping: {
1538
+ CONVEX_DEPLOY_KEY: "accessToken"
1539
+ }
1540
+ }
1541
+ }
1542
+ },
1508
1543
  confluence: {
1509
1544
  id: "confluence",
1510
1545
  name: "Confluence",
@@ -1842,6 +1877,14 @@ var INTEGRATION_BRANDING = {
1842
1877
  brandColor: "#3FCF8E",
1843
1878
  logoSvg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Supabase</title><path fill="#FFFFFF" d="M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z"/></svg>'
1844
1879
  },
1880
+ convex: {
1881
+ id: "convex",
1882
+ name: "Convex",
1883
+ vendor: "Convex",
1884
+ tagline: "Reactive database & backend",
1885
+ brandColor: "#EE342F",
1886
+ logoSvg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Convex</title><path fill="#FFFFFF" d="M15.09 18.916c3.488-.387 6.776-2.246 8.586-5.348-.857 7.673-9.247 12.522-16.095 9.545a3.47 3.47 0 0 1-1.547-1.314c-1.539-2.417-2.044-5.492-1.318-8.282 2.077 3.584 6.3 5.78 10.374 5.399m-10.501-7.65c-1.414 3.266-1.475 7.092.258 10.24-6.1-4.59-6.033-14.41-.074-18.953a3.44 3.44 0 0 1 1.893-.707c2.825-.15 5.695.942 7.708 2.977-4.09.04-8.073 2.66-9.785 6.442m11.757-5.437C14.283 2.951 11.053.992 7.515.933c6.84-3.105 15.253 1.929 16.17 9.37a3.6 3.6 0 0 1-.334 2.02c-1.278 2.594-3.647 4.607-6.416 5.352 2.029-3.763 1.778-8.36-.589-11.847"/></svg>'
1887
+ },
1845
1888
  cloudflare: {
1846
1889
  id: "cloudflare",
1847
1890
  name: "Cloudflare",