@productbrain/mcp 0.0.1-beta.11420 → 0.0.1-beta.11431
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-4G36T7FB.js → chunk-KU3IBGI4.js} +17 -6
- package/dist/{chunk-4G36T7FB.js.map → chunk-KU3IBGI4.js.map} +1 -1
- package/dist/{chunk-GDRCAR44.js → chunk-QUM6WNMF.js} +210 -208
- package/dist/chunk-QUM6WNMF.js.map +1 -0
- package/dist/cli/index.js +1 -1
- package/dist/http.js +6 -6
- package/dist/http.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{setup-MDXQKHPZ.js → setup-QJ434LAR.js} +4 -3
- package/dist/setup-QJ434LAR.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-GDRCAR44.js.map +0 -1
- package/dist/setup-MDXQKHPZ.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KernelCallError,
|
|
3
3
|
PASS_SESSION_ID,
|
|
4
|
+
PASTE_NOW,
|
|
4
5
|
WORKSPACE_CLOSED,
|
|
5
6
|
appUrl,
|
|
6
7
|
authorityRecovery,
|
|
@@ -33,7 +34,7 @@ import {
|
|
|
33
34
|
runWithToolContext,
|
|
34
35
|
setSessionOriented,
|
|
35
36
|
startAgentSession
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QUM6WNMF.js";
|
|
37
38
|
|
|
38
39
|
// src/server.ts
|
|
39
40
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -9162,7 +9163,7 @@ function describeSpineStaleness(changedMemberCount, membershipTruncated = false,
|
|
|
9162
9163
|
return reason + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9163
9164
|
}
|
|
9164
9165
|
if (relationsChanged) {
|
|
9165
|
-
return "the spine's relation topology (
|
|
9166
|
+
return "the spine's relation topology (a part_of edge) changed since this was computed" + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9166
9167
|
}
|
|
9167
9168
|
return "freshness could not be verified; the changed-entry count is unknown" + (membershipTruncated ? "; membership scan incomplete" : "");
|
|
9168
9169
|
}
|
|
@@ -9235,11 +9236,11 @@ async function handleSpineCheck(story, refresh = false) {
|
|
|
9235
9236
|
if (s.missing.length > 0) lines.push(`Missing: ${s.missing.join(", ")}`);
|
|
9236
9237
|
if (s.duplicateSingletons.purpose) lines.push(`Duplicate purpose singletons (which is canonical?): ${s.duplicateSingletons.purpose.join(", ")}`);
|
|
9237
9238
|
if (s.duplicateSingletons.vision) lines.push(`Duplicate vision singletons (which is canonical?): ${s.duplicateSingletons.vision.join(", ")}`);
|
|
9238
|
-
if (s.unconnectedStrategyIds.length > 0) lines.push(`Unconnected strategies (no
|
|
9239
|
+
if (s.unconnectedStrategyIds.length > 0) lines.push(`Unconnected strategies (no part_of edge to any vision): ${s.unconnectedStrategyIds.join(", ")}`);
|
|
9239
9240
|
if ((s.strategiesWithUnknownConnectivity ?? []).length > 0) {
|
|
9240
9241
|
lines.push(`Connectivity unknown (relation set truncated \u2014 not confirmed disconnected): ${s.strategiesWithUnknownConnectivity.join(", ")}`);
|
|
9241
9242
|
}
|
|
9242
|
-
if (s.visionConnectedToPurpose === false) lines.push("No vision
|
|
9243
|
+
if (s.visionConnectedToPurpose === false) lines.push("No vision is part_of any purpose.");
|
|
9243
9244
|
if (s.visionPurposeConnectivityTruncated) lines.push("Vision\u2192purpose connectivity unknown (relation set truncated).");
|
|
9244
9245
|
if (verdict2.strategiesTruncated) lines.push("Strategy set truncated \u2014 not every strategy was graded this pass.");
|
|
9245
9246
|
if (verdict2.perStrategyEvaluationTruncated) lines.push("Per-strategy evaluation stopped on the wall-clock budget \u2014 not every fetched strategy was graded this pass.");
|
|
@@ -10305,7 +10306,17 @@ function registerSessionTools(server) {
|
|
|
10305
10306
|
"session",
|
|
10306
10307
|
{
|
|
10307
10308
|
title: "Session \u2014 Lifecycle & Facilitation",
|
|
10308
|
-
description:
|
|
10309
|
+
description: `Start here. When the person says "${PASTE_NOW}", call start.
|
|
10310
|
+
|
|
10311
|
+
Session lifecycle, wrapup review, and work package facilitation.
|
|
10312
|
+
|
|
10313
|
+
- **start**: Begin a tracked write session for attribution. **This is the ONLY call that creates a session** \u2014 write tools (capture, entries action=update/commit, relations) require it. Its reply is the briefing; then \`orient task="<what you are doing>"\` loads the context for a task.
|
|
10314
|
+
- **close**: End the current session. Records structured data (entries created, modified, relations). Run \`session action=wrapup-review\` before closing.
|
|
10315
|
+
- **status**: Check current session \u2014 active or not, oriented, activity counts.
|
|
10316
|
+
- **wrapup-review**: Review uncommitted drafts with quality scores. Run before close.
|
|
10317
|
+
- **wrapup-commit**: Accept all uncommitted drafts. Writes no relations; create the ones you want with relations action=create.
|
|
10318
|
+
- **resume**: Load session state (work package data, constellation, drafts) from an existing work package entry.
|
|
10319
|
+
- **commit-constellation**: Atomically accept a work package and all its linked draft entries in one call.`,
|
|
10309
10320
|
inputSchema: sessionSchema,
|
|
10310
10321
|
// Mixed read/write noun (§3 R3): wrapup-commit/resume/commit-constellation write.
|
|
10311
10322
|
annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false }
|
|
@@ -12091,4 +12102,4 @@ export {
|
|
|
12091
12102
|
SERVER_VERSION,
|
|
12092
12103
|
createProductBrainServer
|
|
12093
12104
|
};
|
|
12094
|
-
//# sourceMappingURL=chunk-
|
|
12105
|
+
//# sourceMappingURL=chunk-KU3IBGI4.js.map
|