@productbrain/mcp 0.0.1-beta.6055 → 0.0.1-beta.6065

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.
@@ -2908,7 +2908,7 @@ Use \`entries action=get\` to inspect the existing entry, or \`entries action=up
2908
2908
  }
2909
2909
  }
2910
2910
  const appUrl = process.env.PRODUCTBRAIN_APP_URL ?? "https://work.productbrain.io";
2911
- const studioUrl = resolvedCollection === "chains" ? `${appUrl.replace(/\/$/, "")}/w/${wsCtx.workspaceSlug}/legacy/${internalId}` : void 0;
2911
+ const studioUrl = resolvedCollection === "chains" ? `${appUrl.replace(/\/$/, "")}/w/${wsCtx.workspaceSlug}/chain?entry=${encodeURIComponent(internalId)}&railTab=context` : void 0;
2912
2912
  if (studioUrl) {
2913
2913
  lines.push("");
2914
2914
  lines.push(`**View in Cortex:** ${studioUrl}`);
@@ -7310,16 +7310,11 @@ function formatSteeringBrief(result2) {
7310
7310
  if (result2.snapshotWarning) {
7311
7311
  lines.push("_Note: Compound query spans multiple reads. Data consistency is not guaranteed across components (TEN-1029)._");
7312
7312
  }
7313
- const sanitizedReadiness = { ...readiness };
7314
- delete sanitizedReadiness.score;
7315
- delete sanitizedReadiness.totalChecks;
7316
- delete sanitizedReadiness.passedChecks;
7317
- delete sanitizedReadiness.scoringVersion;
7318
7313
  return {
7319
7314
  content: [{ type: "text", text: lines.join("\n") }],
7320
7315
  structuredContent: success(
7321
7316
  `Steering brief: ${changes.entries.length} changes, ${delta.newEntries.length} new entries.${readiness.sampleTruncated ? " (provisional sample; gaps unverified)" : ""}`,
7322
- { ...result2, readiness: sanitizedReadiness, trustFilterActive: true }
7317
+ { ...result2, trustFilterActive: true }
7323
7318
  )
7324
7319
  };
7325
7320
  }
@@ -13218,7 +13213,7 @@ var facilitateSchema = z27.object({
13218
13213
  });
13219
13214
  function buildCortexUrl(workspaceSlug, entryId) {
13220
13215
  const appUrl = process.env.PRODUCTBRAIN_APP_URL ?? "https://work.productbrain.io";
13221
- return `${appUrl}/${workspaceSlug}/legacy/entries/${entryId}`;
13216
+ return `${appUrl}/w/${workspaceSlug}/chain?entry=${encodeURIComponent(entryId)}&railTab=context`;
13222
13217
  }
13223
13218
  async function handleResume(args) {
13224
13219
  const betId = args.betEntryId;
@@ -17039,4 +17034,4 @@ export {
17039
17034
  createProductBrainServer,
17040
17035
  initFeatureFlags
17041
17036
  };
17042
- //# sourceMappingURL=chunk-M2DL3H3W.js.map
17037
+ //# sourceMappingURL=chunk-XJ26KWCH.js.map