@productbrain/mcp 0.0.1-beta.196 → 0.0.1-beta.197
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.
|
@@ -11003,15 +11003,12 @@ function formatWhatNeedsAttentionBrief(wna) {
|
|
|
11003
11003
|
const blocked = wna.blockedBets ?? [];
|
|
11004
11004
|
const critical = wna.criticalPathBets ?? [];
|
|
11005
11005
|
const outcomeBlockers = wna.overdueOutcomeBlockers ?? [];
|
|
11006
|
-
if (overdue.length === 0 && blocked.length === 0 && critical.length === 0 && outcomeBlockers.length === 0)
|
|
11007
|
-
return [];
|
|
11006
|
+
if (overdue.length === 0 && blocked.length === 0 && critical.length === 0 && outcomeBlockers.length === 0) return [];
|
|
11008
11007
|
const bullets = [
|
|
11009
11008
|
...overdue.slice(0, 2).map((id) => `\`${id}\` (overdue)`),
|
|
11010
11009
|
...blocked.slice(0, 2).map((id) => `\`${id}\` (blocked)`),
|
|
11011
11010
|
...critical.slice(0, 1).map((id) => `\`${id}\` (critical path)`),
|
|
11012
|
-
...outcomeBlockers.length > 0 ? [
|
|
11013
|
-
`${outcomeBlockers.length} bet${outcomeBlockers.length > 1 ? "s" : ""} with overdue outcome verification`
|
|
11014
|
-
] : []
|
|
11011
|
+
...outcomeBlockers.length > 0 ? [`${outcomeBlockers.length} bet${outcomeBlockers.length > 1 ? "s" : ""} with overdue outcome verification`] : []
|
|
11015
11012
|
].slice(0, 3);
|
|
11016
11013
|
if (bullets.length === 0) return [];
|
|
11017
11014
|
const lines = ["**What needs attention:**", ...bullets.map((b) => `- ${b}`), ""];
|
|
@@ -15922,4 +15919,4 @@ export {
|
|
|
15922
15919
|
createProductBrainServer,
|
|
15923
15920
|
initFeatureFlags
|
|
15924
15921
|
};
|
|
15925
|
-
//# sourceMappingURL=chunk-
|
|
15922
|
+
//# sourceMappingURL=chunk-EL6FYD2Q.js.map
|