@productbrain/mcp 0.0.1-beta.4051 → 0.0.1-beta.4062
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.
|
@@ -9606,6 +9606,10 @@ async function _handleOrient({ mode = "full", tier, task, scope, startupSignals,
|
|
|
9606
9606
|
const wpPlural = getCollectionLabel("work_package", "plural", vocabCtx);
|
|
9607
9607
|
lines.push(`${sc.activeBetCount} active ${wpPlural}, ${sc.activeTensionCount} tension(s).`);
|
|
9608
9608
|
}
|
|
9609
|
+
const briefStrategyHighlights = (orientView?.strategyHighlights ?? []).filter((e) => e != null && typeof e.name === "string" && e.name.length > 0);
|
|
9610
|
+
if (briefStrategyHighlights.length > 0) {
|
|
9611
|
+
lines.push(`Strategy: ${briefStrategyHighlights.map((e) => e.name + (typeof e.preview === "string" && e.preview ? ` \u2014 ${e.preview}` : "")).join(" | ")}`);
|
|
9612
|
+
}
|
|
9609
9613
|
if (orientView?.taskContext && orientView.taskContext.context.length > 0) {
|
|
9610
9614
|
lines.push(`Task context: ${orientView.taskContext.totalFound} relevant entries (${orientView.taskContext.confidence} confidence).`);
|
|
9611
9615
|
if (orientView.taskContext.isGroundingStub && orientView.taskContext.groundingNote) {
|
|
@@ -9781,7 +9785,9 @@ async function _handleOrient({ mode = "full", tier, task, scope, startupSignals,
|
|
|
9781
9785
|
// WP-560/TEN-2532 post-merge review (Codex P2): the rendered shape-advisory
|
|
9782
9786
|
// line must reach structuredContent too, not just the text — never a
|
|
9783
9787
|
// text-only fact a machine consumer can't see.
|
|
9784
|
-
...orientView?.shapeAdvisorySummary ? { shapeAdvisorySummary: orientView.shapeAdvisorySummary } : {}
|
|
9788
|
+
...orientView?.shapeAdvisorySummary ? { shapeAdvisorySummary: orientView.shapeAdvisorySummary } : {},
|
|
9789
|
+
// WP-622 follow-up (Copilot review PR #601, post-merge): brief structuredContent parity with full mode.
|
|
9790
|
+
...orientView?.strategyHighlights?.length ? { strategyHighlights: orientView.strategyHighlights } : {}
|
|
9785
9791
|
}
|
|
9786
9792
|
)
|
|
9787
9793
|
};
|
|
@@ -16718,4 +16724,4 @@ export {
|
|
|
16718
16724
|
createProductBrainServer,
|
|
16719
16725
|
initFeatureFlags
|
|
16720
16726
|
};
|
|
16721
|
-
//# sourceMappingURL=chunk-
|
|
16727
|
+
//# sourceMappingURL=chunk-BCGA47GM.js.map
|