@productbrain/mcp 0.0.1-beta.4105 → 0.0.1-beta.4126

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.
@@ -13654,6 +13654,9 @@ ${formatted}` }],
13654
13654
  return validationResult("The `content` for the link is required.");
13655
13655
  }
13656
13656
  const result2 = await kernelMutation("gitchain.editLink", { chainEntryId, linkId, content, author });
13657
+ const remedyBlock = result2.strategyLinkRemedy ? `
13658
+
13659
+ **Still draft:** ${result2.strategyLinkRemedy}` : "";
13657
13660
  return {
13658
13661
  content: [{
13659
13662
  type: "text",
@@ -13662,13 +13665,13 @@ ${formatted}` }],
13662
13665
  - **Chain:** \`${result2.entryId}\`
13663
13666
  - **Link:** ${result2.linkId}
13664
13667
  - **Chain status:** ${result2.status}
13665
- - **Content length:** ${content.length} chars
13668
+ - **Content length:** ${content.length} chars${remedyBlock}
13666
13669
 
13667
13670
  Use \`chain action=get\` to see the full chain with updated scores.`
13668
13671
  }],
13669
13672
  structuredContent: success(
13670
- `Updated link "${result2.linkId}" on ${result2.entryId}. Status: ${result2.status}.`,
13671
- { entryId: result2.entryId, linkId: result2.linkId, status: result2.status, contentLength: content.length },
13673
+ `Updated link "${result2.linkId}" on ${result2.entryId}. Status: ${result2.status}.${result2.strategyLinkRemedy ? ` ${result2.strategyLinkRemedy}` : ""}`,
13674
+ { entryId: result2.entryId, linkId: result2.linkId, status: result2.status, contentLength: content.length, ...result2.strategyLinkRemedy ? { strategyLinkRemedy: result2.strategyLinkRemedy } : {} },
13672
13675
  [{ tool: "chain", description: "View full chain", parameters: { action: "get", chainEntryId } }]
13673
13676
  )
13674
13677
  };
@@ -16733,4 +16736,4 @@ export {
16733
16736
  createProductBrainServer,
16734
16737
  initFeatureFlags
16735
16738
  };
16736
- //# sourceMappingURL=chunk-MZQFLJVD.js.map
16739
+ //# sourceMappingURL=chunk-BVUMLRIL.js.map