@codeam/shared 2.73.10 → 2.74.1

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
@@ -569,6 +569,18 @@ interface IntegrationsManifestEntry {
569
569
  }
570
570
  interface IntegrationsManifest {
571
571
  integrations: IntegrationsManifestEntry[];
572
+ /**
573
+ * When true, the CLI fronts every integration MCP server with ONE router
574
+ * server (`codeam mcp-router`) so the agent carries 4 tool schemas instead of
575
+ * one per tool — the fix for autocompact thrashing on the house agent, where
576
+ * a dozen integrations meant ~175k tokens of schemas on every turn and
577
+ * Claude's own deferred loading is unavailable (non-Anthropic upstream).
578
+ *
579
+ * OPTIONAL and additive: absent/false = every server injected directly,
580
+ * exactly as before. The backend decides per session, so rollout can start
581
+ * with the house agent and be reverted without a client release.
582
+ */
583
+ toolRouter?: boolean;
572
584
  }
573
585
  /** `GET /api/integrations` row: registry definition merged with the user's link state. */
574
586
  interface IntegrationStatus {
package/dist/index.d.ts CHANGED
@@ -569,6 +569,18 @@ interface IntegrationsManifestEntry {
569
569
  }
570
570
  interface IntegrationsManifest {
571
571
  integrations: IntegrationsManifestEntry[];
572
+ /**
573
+ * When true, the CLI fronts every integration MCP server with ONE router
574
+ * server (`codeam mcp-router`) so the agent carries 4 tool schemas instead of
575
+ * one per tool — the fix for autocompact thrashing on the house agent, where
576
+ * a dozen integrations meant ~175k tokens of schemas on every turn and
577
+ * Claude's own deferred loading is unavailable (non-Anthropic upstream).
578
+ *
579
+ * OPTIONAL and additive: absent/false = every server injected directly,
580
+ * exactly as before. The backend decides per session, so rollout can start
581
+ * with the house agent and be reverted without a client release.
582
+ */
583
+ toolRouter?: boolean;
572
584
  }
573
585
  /** `GET /api/integrations` row: registry definition merged with the user's link state. */
574
586
  interface IntegrationStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeam/shared",
3
- "version": "2.73.10",
3
+ "version": "2.74.1",
4
4
  "description": "CodeAgent Mobile wire-protocol contract: chunk-protocol renderer, RemoteCommand envelope, SSE event names, model pricing tables, and cross-repo wire types shared by codeam-cli, the VS Code extension, and the backend.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",