@codeam/shared 2.61.78 → 2.61.80

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.js CHANGED
@@ -1515,28 +1515,34 @@ var INTEGRATION_REGISTRY = {
1515
1515
  name: "Convex",
1516
1516
  icon: "convex",
1517
1517
  category: "database",
1518
- // LIVE — OAuth 2.0 (authorization code, Confidential). authorize
1519
- // dashboard.convex.dev/oauth/authorize/team (the scope is the URL PATH
1520
- // `team` for team-wide accessNOT a query param); token
1521
- // api.convex.dev/oauth/token (form-urlencoded, client creds in the BODY).
1522
- // ⚠️ Convex issues NO refresh token and the team-scoped application token
1523
- // does not expire, so there is nothing to rotate (refresh() is a re-link
1524
- // surface). The OAuth app (Team Settings OAuth Applications) is registered
1525
- // and CONVEX_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
1526
- // (prod+dev); the config-gated 503 keeps this safe mid-rollout.
1518
+ // LIVE — api_key rail (the user pastes a Convex DEPLOY KEY).
1519
+ // ⚠️ Convex's OAuth application token was tried first and DOES NOT WORK with
1520
+ // the MCP: it's a narrow Management-API credentialverified live it fails
1521
+ // `convex mcp start` as BOTH CONVEX_DEPLOY_KEY and CONVEX_OVERRIDE_ACCESS_TOKEN,
1522
+ // and can't even enumerate the team's deployments ("requires a Personal
1523
+ // Access Token"). The Convex MCP's DOCUMENTED headless credential is a
1524
+ // DEPLOY KEY (CONVEX_DEPLOY_KEY=dev:…|… / prod:… / project:…), so the user
1525
+ // pastes one (Convex Dashboard Project Settings → Deploy Keys), exactly
1526
+ // like Azure DevOps / Datadog / Trello. No OAuth app, no GSM secret.
1527
1527
  enabled: true,
1528
1528
  auth: {
1529
- kind: "oauth_redirect",
1530
- // ⚠️ Convex's scope is the authorize URL path (`/team`), NOT sent in the
1531
- // authorize URL as a query param — this list is informational.
1532
- scopes: []
1529
+ kind: "api_key",
1530
+ fields: [
1531
+ {
1532
+ key: "accessToken",
1533
+ label: "Convex deploy key",
1534
+ placeholder: "prod:happy-animal-123|eyJ2\u2026",
1535
+ secret: true,
1536
+ help: "Convex Dashboard \u2192 Project Settings \u2192 Deploy Keys \u2192 Generate a deploy key."
1537
+ }
1538
+ ]
1533
1539
  },
1534
1540
  delivery: {
1535
1541
  mcp: {
1536
1542
  // Convex's OFFICIAL MCP server ships inside the `convex` npm package
1537
- // (`convex mcp start`). The team-scoped OAuth application token doubles
1538
- // as the CLI/MCP deploy key fed via CONVEX_DEPLOY_KEY (env only, never
1539
- // argv). Version PINNED; bump only after re-verifying headless.
1543
+ // (`convex mcp start`). The pasted deploy key is fed via CONVEX_DEPLOY_KEY
1544
+ // (env only, never argv) its documented non-interactive credential.
1545
+ // Version PINNED; bump only after re-verifying headless.
1540
1546
  command: "npx",
1541
1547
  args: ["-y", "convex@1.42.3", "mcp", "start"],
1542
1548
  envMapping: {