@productbrain/mcp 0.0.1-beta.122 → 0.0.1-beta.125

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.
@@ -44,7 +44,7 @@ import {
44
44
  unknownAction,
45
45
  validationResult,
46
46
  withEnvelope
47
- } from "./chunk-G4WJIWXX.js";
47
+ } from "./chunk-UUI7P743.js";
48
48
  import {
49
49
  trackChainEntryCommitted,
50
50
  trackKnowledgeGap,
@@ -273,7 +273,7 @@ ${formatted}` }],
273
273
  },
274
274
  withEnvelope(async ({ entryId }) => {
275
275
  requireWriteAccess();
276
- const { runContradictionCheck } = await import("./smart-capture-CVZ5PLUZ.js");
276
+ const { runContradictionCheck } = await import("./smart-capture-LJ6JF5DC.js");
277
277
  const entry = await mcpQuery("chain.getEntry", { entryId });
278
278
  if (!entry) {
279
279
  return notFoundResult(entryId, `Entry '${entryId}' not found. Try search to find the right ID.`);
@@ -528,6 +528,7 @@ async function handleGet(entryId) {
528
528
  if (e.origin) lines.push(`**Origin:** ${e.origin}`);
529
529
  if (e.verificationStatus) lines.push(`**Verification:** ${e.verificationStatus}`);
530
530
  if (e.sourceRef) lines.push(`**Source ref:** ${e.sourceRef}`);
531
+ if (e.sourceExcerpt) lines.push(`**Source excerpt:** ${e.sourceExcerpt}`);
531
532
  if (epistemic) {
532
533
  lines.push(formatEpistemicLine(epistemic));
533
534
  }
@@ -572,6 +573,7 @@ async function handleGet(entryId) {
572
573
  ...e.origin ? { origin: String(e.origin) } : {},
573
574
  ...e.verificationStatus ? { verificationStatus: String(e.verificationStatus) } : {},
574
575
  ...e.sourceRef ? { sourceRef: String(e.sourceRef) } : {},
576
+ ...e.sourceExcerpt ? { sourceExcerpt: String(e.sourceExcerpt) } : {},
575
577
  entries: [{ entryId: e.entryId, name: e.name, status: e.status, ...e.workflowStatus ? { workflowStatus: e.workflowStatus } : {}, collectionName: String(e.collectionName ?? e.canonicalKey ?? "\u2014") }],
576
578
  ...visibleData ? { data: visibleData } : {},
577
579
  ...Array.isArray(e.relations) && e.relations.length > 0 ? {
@@ -6047,7 +6049,7 @@ async function handleCommitConstellation(args) {
6047
6049
  }
6048
6050
  let contradictionWarnings = [];
6049
6051
  try {
6050
- const { runContradictionCheck } = await import("./smart-capture-CVZ5PLUZ.js");
6052
+ const { runContradictionCheck } = await import("./smart-capture-LJ6JF5DC.js");
6051
6053
  const links = betData["links"];
6052
6054
  const descField = betData.problem ?? links?.problem ?? betData.description ?? "";
6053
6055
  contradictionWarnings = await runContradictionCheck(
@@ -11528,4 +11530,4 @@ export {
11528
11530
  SERVER_VERSION,
11529
11531
  createProductBrainServer
11530
11532
  };
11531
- //# sourceMappingURL=chunk-ZFODPVNH.js.map
11533
+ //# sourceMappingURL=chunk-4ALZMEXE.js.map