@productbrain/mcp 0.0.1-beta.4892 → 0.0.1-beta.4895
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.
|
@@ -2921,12 +2921,13 @@ Use \`entries action=get\` to inspect the existing entry, or \`entries action=up
|
|
|
2921
2921
|
)
|
|
2922
2922
|
});
|
|
2923
2923
|
}
|
|
2924
|
-
const
|
|
2924
|
+
const isWorkPackageOrBetCapture = isWorkPackageCapture || resolvedCK === "bet";
|
|
2925
|
+
const isBetOrGoal = isWorkPackageOrBetCapture || resolvedCK === "goal";
|
|
2925
2926
|
const hasStrategyLink = linksCreated.some((l) => l.targetCollection === "strategy");
|
|
2926
2927
|
if (isBetOrGoal && !hasStrategyLink) {
|
|
2927
2928
|
lines.push("");
|
|
2928
2929
|
lines.push(
|
|
2929
|
-
`**Strategy link:** This ${
|
|
2930
|
+
`**Strategy link:** This ${isWorkPackageOrBetCapture ? "work package" : "goal"} doesn't connect to any strategy entry. Consider linking before accepting. Use \`relations action=suggest entryId="${finalEntryId}"\` to find strategy entries to connect to.`
|
|
2930
2931
|
);
|
|
2931
2932
|
await recordSessionActivity({ strategyLinkWarnedForEntryId: internalId });
|
|
2932
2933
|
}
|
|
@@ -16495,4 +16496,4 @@ export {
|
|
|
16495
16496
|
createProductBrainServer,
|
|
16496
16497
|
initFeatureFlags
|
|
16497
16498
|
};
|
|
16498
|
-
//# sourceMappingURL=chunk-
|
|
16499
|
+
//# sourceMappingURL=chunk-UYEGGXDV.js.map
|