@productbrain/mcp 0.0.1-beta.8652 → 0.0.1-beta.8658
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.
|
@@ -7658,7 +7658,10 @@ function formatBriefingLines(view) {
|
|
|
7658
7658
|
if (f.spineUnavailable) lines.push("Objective: unavailable \u2014 the objectives read failed; orient again to retry.");
|
|
7659
7659
|
if (f.truncated) lines.push("(A bounded read hit its cap: a fact above may be missing or not the current one.)");
|
|
7660
7660
|
const ruleLines = formatRuleListsLines(view.ruleLists);
|
|
7661
|
-
|
|
7661
|
+
const rl = view.ruleLists;
|
|
7662
|
+
const ruleRows = rl ? rl.everyone.rows.length + (rl.team?.rows.length ?? 0) + rl.role.rows.length : 0;
|
|
7663
|
+
if (ruleRows === 0 && view.rulesEmptyLine) lines.push("", view.rulesEmptyLine, ...ruleLines);
|
|
7664
|
+
else if (ruleLines.length > 0) lines.push("", "Rules:", ...ruleLines);
|
|
7662
7665
|
const questions = view.openQuestions ?? [];
|
|
7663
7666
|
if (questions.length > 0) {
|
|
7664
7667
|
lines.push("", `Open questions (${questions.length}) \u2014 they need you before you continue; answer with ${BRIEFING_ANSWER_COMMANDS[view.surface]}:`);
|
|
@@ -14430,4 +14433,4 @@ export {
|
|
|
14430
14433
|
createProductBrainServer,
|
|
14431
14434
|
initFeatureFlags
|
|
14432
14435
|
};
|
|
14433
|
-
//# sourceMappingURL=chunk-
|
|
14436
|
+
//# sourceMappingURL=chunk-WKSQMKMW.js.map
|