@productbrain/mcp 0.0.1-beta.1152 → 0.0.1-beta.1166

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.
@@ -357,6 +357,7 @@ var TOUCH_EXCLUDED = /* @__PURE__ */ new Set([
357
357
  // would create a redundant second write per orient call (DEC-50 OCC anti-pattern).
358
358
  "agent.reportOrientMetric"
359
359
  ]);
360
+ var MCP_TELEMETRY_SOURCE = "mcp";
360
361
  async function callGateway(fn, args) {
361
362
  const siteUrl = await resolveDeploymentUrl();
362
363
  const apiKey = getActiveApiKey();
@@ -368,7 +369,10 @@ async function callGateway(fn, args) {
368
369
  signal: AbortSignal.timeout(1e4),
369
370
  headers: {
370
371
  "Content-Type": "application/json",
371
- Authorization: `Bearer ${apiKey}`
372
+ Authorization: `Bearer ${apiKey}`,
373
+ // DEC-1207: attribute this connector for the gateway's context.served seam. MCP is
374
+ // the dominant agent surface (INS-1706); without this header it was emitting nothing.
375
+ "x-pb-source": MCP_TELEMETRY_SOURCE
372
376
  },
373
377
  body: JSON.stringify({ fn, args })
374
378
  });
@@ -15290,4 +15294,4 @@ export {
15290
15294
  createProductBrainServer,
15291
15295
  initFeatureFlags
15292
15296
  };
15293
- //# sourceMappingURL=chunk-WG7H45D3.js.map
15297
+ //# sourceMappingURL=chunk-M5XN5T3N.js.map