@productbrain/mcp 0.0.1-beta.14438 → 0.0.1-beta.14454
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.
|
@@ -1860,8 +1860,9 @@ var updateEntrySchema = z7.object({
|
|
|
1860
1860
|
canonicalKey: z7.string().optional().describe("Semantic type (e.g. 'decision', 'tension'). Only changeable on draft entries."),
|
|
1861
1861
|
autoPublish: z7.boolean().optional().default(false).describe("Accepted for backward compatibility but IGNORED \u2014 draft vs. published is decided by the entry's own accepted/active status, never by this flag. Removal tracked as a follow-up."),
|
|
1862
1862
|
// DEC-1716
|
|
1863
|
-
changeReason: z7.string().optional()
|
|
1864
|
-
changeNote: z7.string().optional()
|
|
1863
|
+
changeReason: z7.string().optional(),
|
|
1864
|
+
changeNote: z7.string().optional(),
|
|
1865
|
+
// TEN-6290: described once, on the served entries schema (entriesContract.ts)
|
|
1865
1866
|
changedByEntry: z7.string().max(200).optional(),
|
|
1866
1867
|
// TASK-1674 (TASK-711): described once, on the served entries schema
|
|
1867
1868
|
sourceRef: z7.string().optional().describe("URI or path of the source document backing this entry. Write-once: can only be set if currently empty."),
|
|
@@ -2773,14 +2774,14 @@ var entriesSchema = z12.object({
|
|
|
2773
2774
|
"For 'update': accepted for backward compatibility but IGNORED \u2014 draft vs. published is decided by the entry's own accepted/active status, never by this flag."
|
|
2774
2775
|
),
|
|
2775
2776
|
changeReason: z12.string().max(2e3).optional().describe(
|
|
2776
|
-
"For 'update': Change reason \u2014 required when the update changes a promise field of an accepted entry. Recorded on the history event and the version."
|
|
2777
|
+
"For 'update': Change reason \u2014 required when the update changes a promise field of an accepted entry. Recorded on the history event, and on the version an accepted entry's save publishes."
|
|
2777
2778
|
),
|
|
2778
2779
|
changedByEntry: z12.string().max(200).optional().describe(
|
|
2779
2780
|
`For 'update': the newer entry this update answers a ${CLASH.one} with; needs changeReason.`
|
|
2780
2781
|
),
|
|
2781
2782
|
// TASK-1674 (TASK-711)
|
|
2782
2783
|
changeNote: z12.string().max(2e3).optional().describe(
|
|
2783
|
-
"For 'update': short human-readable rationale for WHY this change was made.
|
|
2784
|
+
"For 'update': short human-readable rationale for WHY this change was made. Recorded on the history event, and on the version an accepted entry's save publishes. If omitted, the history names the fields that changed."
|
|
2784
2785
|
),
|
|
2785
2786
|
sourceRef: z12.string().max(2e3).optional().describe(
|
|
2786
2787
|
"For 'update': URI or path of the source document backing this entry. Write-once."
|
|
@@ -6900,6 +6901,7 @@ function buildDocCompletenessSection(collections) {
|
|
|
6900
6901
|
function buildTaskAlignmentLines(ta) {
|
|
6901
6902
|
if (!ta) return [];
|
|
6902
6903
|
const lines = ["## Alignment Check"];
|
|
6904
|
+
if (ta.named) lines.push(`**${ta.named.heading}:**`, ...ta.named.entries.map((e) => `- ${e.label}`));
|
|
6903
6905
|
lines.push(ta.wording);
|
|
6904
6906
|
if (ta.candidates.length > 0) {
|
|
6905
6907
|
lines.push("");
|
|
@@ -7528,7 +7530,8 @@ async function _handleOrient({ mode: mode2 = "full", tier, task, startupSignals,
|
|
|
7528
7530
|
}
|
|
7529
7531
|
}
|
|
7530
7532
|
if (orientView?.taskAlignment) {
|
|
7531
|
-
|
|
7533
|
+
const n = orientView.taskAlignment.named;
|
|
7534
|
+
lines.push(...n ? n.line ? [n.line] : [`${n.heading}:`, ...n.entries.map((e) => `- ${e.label}`)] : [], `Task alignment: ${orientView.taskAlignment.wording.replace(/\*\*/g, "")}`);
|
|
7532
7535
|
}
|
|
7533
7536
|
const degradedLineBrief = buildDegradedPreloadsLine(orientView?.degradedPreloads);
|
|
7534
7537
|
if (degradedLineBrief) lines.push(degradedLineBrief);
|
|
@@ -12422,4 +12425,4 @@ export {
|
|
|
12422
12425
|
SERVER_VERSION,
|
|
12423
12426
|
createProductBrainServer
|
|
12424
12427
|
};
|
|
12425
|
-
//# sourceMappingURL=chunk-
|
|
12428
|
+
//# sourceMappingURL=chunk-WZYAEAIO.js.map
|