@productbrain/mcp 0.0.1-beta.8941 → 0.0.1-beta.8947
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.
|
@@ -234,12 +234,17 @@ function sanitizeSingleLineField(str) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/lib/ownerLine.ts
|
|
237
|
+
function ownerLineParts(owner) {
|
|
238
|
+
return owner.kind === "one" ? { role: owner.role.name, team: owner.team.name } : null;
|
|
239
|
+
}
|
|
237
240
|
function formatOwnerLine(owner, options = {}) {
|
|
238
241
|
const ids = options.ids ?? true;
|
|
239
242
|
const label = options.label ?? "Owner:";
|
|
240
243
|
switch (owner.kind) {
|
|
241
|
-
case "one":
|
|
242
|
-
|
|
244
|
+
case "one": {
|
|
245
|
+
const { role, team } = ownerLineParts(owner);
|
|
246
|
+
return `${label} ${role} in ${team}`;
|
|
247
|
+
}
|
|
243
248
|
case "none":
|
|
244
249
|
return `${label} none`;
|
|
245
250
|
case "many":
|
|
@@ -1168,6 +1173,12 @@ var CHECKLIST_LINES = {
|
|
|
1168
1173
|
beneficiary: "Name who benefits: a role, a persona or a segment",
|
|
1169
1174
|
falsifiability: "Choose a direction a reasonable rival would reject",
|
|
1170
1175
|
stranger_test: "Explain it so a stranger knows what you build (20+ words)"
|
|
1176
|
+
},
|
|
1177
|
+
/** One line per spine rung, keyed by the rung it reaches (kernel/strategy/spineTrace.ts order). */
|
|
1178
|
+
strategy_link: {
|
|
1179
|
+
key_result: "Link this work to an accepted key result it validates",
|
|
1180
|
+
objective: "Put the key result under an accepted objective",
|
|
1181
|
+
strategy: "Put the objective under an accepted strategy"
|
|
1171
1182
|
}
|
|
1172
1183
|
};
|
|
1173
1184
|
var MARK = { met: "[x]", not_yet: "[ ]", judging: "[~]" };
|
|
@@ -13584,4 +13595,4 @@ export {
|
|
|
13584
13595
|
createProductBrainServer,
|
|
13585
13596
|
initFeatureFlags
|
|
13586
13597
|
};
|
|
13587
|
-
//# sourceMappingURL=chunk-
|
|
13598
|
+
//# sourceMappingURL=chunk-ISGBWBXR.js.map
|