@productbrain/mcp 0.0.1-beta.12095 → 0.0.1-beta.12112
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.
- package/dist/{chunk-WLWNFSAV.js → chunk-INCWDY4M.js} +6 -4
- package/dist/{chunk-WLWNFSAV.js.map → chunk-INCWDY4M.js.map} +1 -1
- package/dist/{chunk-PD5WOI5O.js → chunk-X3F2D6NI.js} +2 -1
- package/dist/chunk-X3F2D6NI.js.map +1 -0
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-MXUCMJIY.js → setup-IC6J7EMW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-PD5WOI5O.js.map +0 -1
- /package/dist/{setup-MXUCMJIY.js.map → setup-IC6J7EMW.js.map} +0 -0
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
runWithToolContext,
|
|
41
41
|
setSessionOriented,
|
|
42
42
|
startAgentSession
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-X3F2D6NI.js";
|
|
44
44
|
|
|
45
45
|
// src/server.ts
|
|
46
46
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -9278,6 +9278,8 @@ function isStructural(value) {
|
|
|
9278
9278
|
]) {
|
|
9279
9279
|
if (value[key] != null && !isStringArray(value[key])) return false;
|
|
9280
9280
|
}
|
|
9281
|
+
const stranded = value.strandedWorkPackages;
|
|
9282
|
+
if (stranded != null && !(Array.isArray(stranded) && stranded.every((w) => isRecord(w) && typeof w.id === "string" && isStringArray(w.pastTargetIds)))) return false;
|
|
9281
9283
|
return value.visionPurposeConnectivityTruncated === void 0 || typeof value.visionPurposeConnectivityTruncated === "boolean";
|
|
9282
9284
|
}
|
|
9283
9285
|
function isStrategy(value) {
|
|
@@ -9291,7 +9293,7 @@ function readSpineVerdict(value) {
|
|
|
9291
9293
|
if (!isRecord(value) || typeof value.noSpineEntries !== "boolean") return { kind: "malformed" };
|
|
9292
9294
|
if (value.noSpineEntries) return { kind: "empty" };
|
|
9293
9295
|
if (!isStructural(value.structural) || !Array.isArray(value.perStrategy) || !value.perStrategy.every(isStrategy) || !isStory(value.story)) return { kind: "malformed" };
|
|
9294
|
-
for (const key of ["strategiesTruncated", "perStrategyEvaluationTruncated", "objectivesTruncated", "keyResultsTruncated"]) {
|
|
9296
|
+
for (const key of ["strategiesTruncated", "perStrategyEvaluationTruncated", "objectivesTruncated", "keyResultsTruncated", "workPackagesTruncated"]) {
|
|
9295
9297
|
if (value[key] !== void 0 && typeof value[key] !== "boolean") return { kind: "malformed" };
|
|
9296
9298
|
}
|
|
9297
9299
|
return { kind: "graded", verdict: value };
|
|
@@ -9302,7 +9304,7 @@ function describeSpineStaleness(changedMemberCount, membershipTruncated = false,
|
|
|
9302
9304
|
return reason + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9303
9305
|
}
|
|
9304
9306
|
if (relationsChanged) {
|
|
9305
|
-
return "
|
|
9307
|
+
return "a part_of or validates link changed since this check ran" + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9306
9308
|
}
|
|
9307
9309
|
return "freshness could not be verified; the changed-entry count is unknown" + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9308
9310
|
}
|
|
@@ -11883,4 +11885,4 @@ export {
|
|
|
11883
11885
|
SERVER_VERSION,
|
|
11884
11886
|
createProductBrainServer
|
|
11885
11887
|
};
|
|
11886
|
-
//# sourceMappingURL=chunk-
|
|
11888
|
+
//# sourceMappingURL=chunk-INCWDY4M.js.map
|