@codeam/shared 2.61.78 → 2.61.79

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.mjs CHANGED
@@ -1428,28 +1428,34 @@ var INTEGRATION_REGISTRY = {
1428
1428
  name: "Convex",
1429
1429
  icon: "convex",
1430
1430
  category: "database",
1431
- // LIVE — OAuth 2.0 (authorization code, Confidential). authorize
1432
- // dashboard.convex.dev/oauth/authorize/team (the scope is the URL PATH
1433
- // `team` for team-wide accessNOT a query param); token
1434
- // api.convex.dev/oauth/token (form-urlencoded, client creds in the BODY).
1435
- // ⚠️ Convex issues NO refresh token and the team-scoped application token
1436
- // does not expire, so there is nothing to rotate (refresh() is a re-link
1437
- // surface). The OAuth app (Team Settings OAuth Applications) is registered
1438
- // and CONVEX_OAUTH_CLIENT_ID/SECRET/REDIRECT_URI are in Secret Manager
1439
- // (prod+dev); the config-gated 503 keeps this safe mid-rollout.
1431
+ // LIVE — api_key rail (the user pastes a Convex DEPLOY KEY).
1432
+ // ⚠️ Convex's OAuth application token was tried first and DOES NOT WORK with
1433
+ // the MCP: it's a narrow Management-API credentialverified live it fails
1434
+ // `convex mcp start` as BOTH CONVEX_DEPLOY_KEY and CONVEX_OVERRIDE_ACCESS_TOKEN,
1435
+ // and can't even enumerate the team's deployments ("requires a Personal
1436
+ // Access Token"). The Convex MCP's DOCUMENTED headless credential is a
1437
+ // DEPLOY KEY (CONVEX_DEPLOY_KEY=dev:…|… / prod:… / project:…), so the user
1438
+ // pastes one (Convex Dashboard Project Settings → Deploy Keys), exactly
1439
+ // like Azure DevOps / Datadog / Trello. No OAuth app, no GSM secret.
1440
1440
  enabled: true,
1441
1441
  auth: {
1442
- kind: "oauth_redirect",
1443
- // ⚠️ Convex's scope is the authorize URL path (`/team`), NOT sent in the
1444
- // authorize URL as a query param — this list is informational.
1445
- scopes: []
1442
+ kind: "api_key",
1443
+ fields: [
1444
+ {
1445
+ key: "accessToken",
1446
+ label: "Convex deploy key",
1447
+ placeholder: "prod:happy-animal-123|eyJ2\u2026",
1448
+ secret: true,
1449
+ help: "Convex Dashboard \u2192 Project Settings \u2192 Deploy Keys \u2192 Generate a deploy key."
1450
+ }
1451
+ ]
1446
1452
  },
1447
1453
  delivery: {
1448
1454
  mcp: {
1449
1455
  // Convex's OFFICIAL MCP server ships inside the `convex` npm package
1450
- // (`convex mcp start`). The team-scoped OAuth application token doubles
1451
- // as the CLI/MCP deploy key fed via CONVEX_DEPLOY_KEY (env only, never
1452
- // argv). Version PINNED; bump only after re-verifying headless.
1456
+ // (`convex mcp start`). The pasted deploy key is fed via CONVEX_DEPLOY_KEY
1457
+ // (env only, never argv) its documented non-interactive credential.
1458
+ // Version PINNED; bump only after re-verifying headless.
1453
1459
  command: "npx",
1454
1460
  args: ["-y", "convex@1.42.3", "mcp", "start"],
1455
1461
  envMapping: {