@codeam/shared 2.61.80 → 2.61.81
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 +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +21 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -430,6 +430,13 @@ interface IntegrationMcpDelivery {
|
|
|
430
430
|
* `{ 'DD-API-KEY': '{accessToken}', 'DD-APPLICATION-KEY': '{appKey}' }`). The
|
|
431
431
|
* token stays server-side of the shim — never on argv. */
|
|
432
432
|
httpHeaders?: Record<string, string>;
|
|
433
|
+
/** BUILT-IN transport — a codeam-authored MCP server (not a spawned `command`,
|
|
434
|
+
* not a remote `httpUrl` relay). The shim dispatches to the named internal
|
|
435
|
+
* server, which fulfils the tools itself with the brokered credential.
|
|
436
|
+
* `command`/`args`/`envMapping` are empty. Used by Convex (`'convex-admin'`),
|
|
437
|
+
* whose own MCP rejects every headless credential — we serve its tools
|
|
438
|
+
* against the deployment admin REST API instead. */
|
|
439
|
+
builtin?: 'convex-admin';
|
|
433
440
|
}
|
|
434
441
|
interface IntegrationDelivery {
|
|
435
442
|
mcp?: IntegrationMcpDelivery;
|
package/dist/index.d.ts
CHANGED
|
@@ -430,6 +430,13 @@ interface IntegrationMcpDelivery {
|
|
|
430
430
|
* `{ 'DD-API-KEY': '{accessToken}', 'DD-APPLICATION-KEY': '{appKey}' }`). The
|
|
431
431
|
* token stays server-side of the shim — never on argv. */
|
|
432
432
|
httpHeaders?: Record<string, string>;
|
|
433
|
+
/** BUILT-IN transport — a codeam-authored MCP server (not a spawned `command`,
|
|
434
|
+
* not a remote `httpUrl` relay). The shim dispatches to the named internal
|
|
435
|
+
* server, which fulfils the tools itself with the brokered credential.
|
|
436
|
+
* `command`/`args`/`envMapping` are empty. Used by Convex (`'convex-admin'`),
|
|
437
|
+
* whose own MCP rejects every headless credential — we serve its tools
|
|
438
|
+
* against the deployment admin REST API instead. */
|
|
439
|
+
builtin?: 'convex-admin';
|
|
433
440
|
}
|
|
434
441
|
interface IntegrationDelivery {
|
|
435
442
|
mcp?: IntegrationMcpDelivery;
|
package/dist/index.js
CHANGED
|
@@ -1515,15 +1515,19 @@ var INTEGRATION_REGISTRY = {
|
|
|
1515
1515
|
name: "Convex",
|
|
1516
1516
|
icon: "convex",
|
|
1517
1517
|
category: "database",
|
|
1518
|
-
// LIVE — api_key rail (the user pastes a Convex DEPLOY KEY).
|
|
1519
|
-
// ⚠️ Convex's
|
|
1520
|
-
//
|
|
1521
|
-
//
|
|
1522
|
-
//
|
|
1523
|
-
//
|
|
1524
|
-
//
|
|
1525
|
-
//
|
|
1526
|
-
//
|
|
1518
|
+
// LIVE — api_key rail (the user pastes a Convex DEPLOY KEY) + a BUILT-IN MCP.
|
|
1519
|
+
// ⚠️ Convex's OWN `convex mcp start` server CANNOT work headlessly: it
|
|
1520
|
+
// categorically requires an INTERACTIVE `npx convex dev`/`login`
|
|
1521
|
+
// personal-access-token and REJECTS every headless credential — OAuth token,
|
|
1522
|
+
// dev/prod deploy key, self-hosted admin key, with every flag
|
|
1523
|
+
// (--deployment/--prod/--project-dir) — all return "Not Authorized: Run
|
|
1524
|
+
// `npx convex dev` to login" (verified LIVE, exhaustively, 2026-08-03; it
|
|
1525
|
+
// also HANGS on the failed auth = the mareado/no-Stop wedge). BUT the
|
|
1526
|
+
// deployment's own HTTP admin API accepts the deploy key directly
|
|
1527
|
+
// (`Authorization: Convex <deployKey>` → 200; verified). So we serve Convex's
|
|
1528
|
+
// tools ourselves via a BUILT-IN MCP (delivery.builtin) against that admin
|
|
1529
|
+
// API — see apps/cli/src/integrations/convex-admin-mcp.ts. The user still
|
|
1530
|
+
// pastes a deploy key (Dashboard → Project Settings → Deploy Keys).
|
|
1527
1531
|
enabled: true,
|
|
1528
1532
|
auth: {
|
|
1529
1533
|
kind: "api_key",
|
|
@@ -1539,15 +1543,14 @@ var INTEGRATION_REGISTRY = {
|
|
|
1539
1543
|
},
|
|
1540
1544
|
delivery: {
|
|
1541
1545
|
mcp: {
|
|
1542
|
-
//
|
|
1543
|
-
//
|
|
1544
|
-
//
|
|
1545
|
-
//
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
}
|
|
1546
|
+
// BUILT-IN MCP: the CLI serves Convex's tools itself against the
|
|
1547
|
+
// deployment admin REST API with the brokered deploy key (Convex's own
|
|
1548
|
+
// `convex mcp start` rejects all headless creds — see the note above).
|
|
1549
|
+
// No spawned child, no npx. command/args/envMapping are empty.
|
|
1550
|
+
builtin: "convex-admin",
|
|
1551
|
+
command: "",
|
|
1552
|
+
args: [],
|
|
1553
|
+
envMapping: {}
|
|
1551
1554
|
}
|
|
1552
1555
|
}
|
|
1553
1556
|
},
|