@productbrain/mcp 0.0.1-beta.9754 → 0.0.1-beta.9760
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.
|
@@ -2304,7 +2304,7 @@ async function handleGetHistory({ entryId }) {
|
|
|
2304
2304
|
const date = new Date(h.timestamp).toISOString();
|
|
2305
2305
|
const changes = h.changes ? ` \u2014 ${JSON.stringify(h.changes)}` : "";
|
|
2306
2306
|
const qualifier = h.legacyQualifier ? ` [${h.legacyQualifier}]` : "";
|
|
2307
|
-
return `- **${date}** ${h.event}
|
|
2307
|
+
return `- **${date}** ${h.event} _(${sanitizeSingleLineField(h.displayAuthor)})_${changes}${qualifier}`;
|
|
2308
2308
|
}).join("\n");
|
|
2309
2309
|
return {
|
|
2310
2310
|
content: [{ type: "text", text: `# History for \`${entryId}\` (${history.length} events)
|
|
@@ -3505,7 +3505,7 @@ async function handleGet(entryId) {
|
|
|
3505
3505
|
for (const h of e.history.slice(-10)) {
|
|
3506
3506
|
const date = new Date(h.timestamp).toISOString().split("T")[0];
|
|
3507
3507
|
const qualifier = h.legacyQualifier ? ` [${h.legacyQualifier}]` : "";
|
|
3508
|
-
lines.push(`- ${date}: ${h.event}
|
|
3508
|
+
lines.push(`- ${date}: ${h.event} _(${sanitizeSingleLineField(h.displayAuthor)})_${qualifier}`);
|
|
3509
3509
|
}
|
|
3510
3510
|
}
|
|
3511
3511
|
const entryData = {
|
|
@@ -13065,4 +13065,4 @@ export {
|
|
|
13065
13065
|
createProductBrainServer,
|
|
13066
13066
|
initFeatureFlags
|
|
13067
13067
|
};
|
|
13068
|
-
//# sourceMappingURL=chunk-
|
|
13068
|
+
//# sourceMappingURL=chunk-ER5AXQN2.js.map
|