@productbrain/mcp 0.0.1-beta.10975 → 0.0.1-beta.10986
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.
|
@@ -2404,7 +2404,8 @@ async function handleUpdateEntry({ entryId, name, status: rawStatus, workflowSta
|
|
|
2404
2404
|
const responseLines = [
|
|
2405
2405
|
`# Entry Updated`,
|
|
2406
2406
|
``,
|
|
2407
|
-
`**${entryId}** \u2014 ${versionMode}.`,
|
|
2407
|
+
updateResult.receipt ?? `**${entryId}** \u2014 ${versionMode}.`,
|
|
2408
|
+
// TASK-773: a draft team's discard names the drafts it took
|
|
2408
2409
|
``,
|
|
2409
2410
|
`Internal ID: ${id}`,
|
|
2410
2411
|
`**Workspace:** ${wsCtx.workspaceSlug} (${wsCtx.workspaceId})`
|
|
@@ -2423,7 +2424,7 @@ async function handleUpdateEntry({ entryId, name, status: rawStatus, workflowSta
|
|
|
2423
2424
|
responseLines.push(` - ${warning}`);
|
|
2424
2425
|
}
|
|
2425
2426
|
}
|
|
2426
|
-
const summary = `Updated ${entryId} \u2014 ${versionMode}. Fields: ${appliedFields.join(", ") || "none"}.`;
|
|
2427
|
+
const summary = updateResult.receipt ?? `Updated ${entryId} \u2014 ${versionMode}. Fields: ${appliedFields.join(", ") || "none"}.`;
|
|
2427
2428
|
const next = [
|
|
2428
2429
|
{ tool: "context", description: "View updated entry", parameters: { action: "get", entryId } },
|
|
2429
2430
|
// DEC-1894: reads live on context
|
|
@@ -12880,4 +12881,4 @@ export {
|
|
|
12880
12881
|
createProductBrainServer,
|
|
12881
12882
|
initFeatureFlags
|
|
12882
12883
|
};
|
|
12883
|
-
//# sourceMappingURL=chunk-
|
|
12884
|
+
//# sourceMappingURL=chunk-AD72CEET.js.map
|