@productbrain/mcp 0.0.1-beta.2140 → 0.0.1-beta.2149

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.
@@ -3124,7 +3124,8 @@ function registerKnowledgeTools(server) {
3124
3124
  const formatted = history.map((h) => {
3125
3125
  const date = new Date(h.timestamp).toISOString();
3126
3126
  const changes = h.changes ? ` \u2014 ${JSON.stringify(h.changes)}` : "";
3127
- return `- **${date}** ${h.event}${h.changedBy ? ` _(${h.changedBy})_` : ""}${changes}`;
3127
+ const qualifier = h.legacyQualifier ? ` [${h.legacyQualifier}]` : "";
3128
+ return `- **${date}** ${h.event}${h.changedBy ? ` _(${h.changedBy})_` : ""}${changes}${qualifier}`;
3128
3129
  }).join("\n");
3129
3130
  return {
3130
3131
  content: [{ type: "text", text: `# History for \`${entryId}\` (${history.length} events)
@@ -3655,7 +3656,8 @@ async function handleGet(entryId) {
3655
3656
  lines.push("", "## History (last 10)");
3656
3657
  for (const h of e.history.slice(-10)) {
3657
3658
  const date = new Date(h.timestamp).toISOString().split("T")[0];
3658
- lines.push(`- ${date}: ${h.event}${h.changedBy ? ` _(${h.changedBy})_` : ""}`);
3659
+ const qualifier = h.legacyQualifier ? ` [${h.legacyQualifier}]` : "";
3660
+ lines.push(`- ${date}: ${h.event}${h.changedBy ? ` _(${h.changedBy})_` : ""}${qualifier}`);
3659
3661
  }
3660
3662
  }
3661
3663
  const entryData = {
@@ -14708,4 +14710,4 @@ export {
14708
14710
  createProductBrainServer,
14709
14711
  initFeatureFlags
14710
14712
  };
14711
- //# sourceMappingURL=chunk-C3AA44PZ.js.map
14713
+ //# sourceMappingURL=chunk-HEP37RZV.js.map