@productbrain/mcp 0.0.1-beta.11420 → 0.0.1-beta.11425
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-M4PCHB22.js} +14 -3
- package/dist/{chunk-4G36T7FB.js.map → chunk-M4PCHB22.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";
|
|
@@ -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-M4PCHB22.js.map
|