@productbrain/mcp 0.0.1-beta.13235 → 0.0.1-beta.13263
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-I2JXAGTV.js → chunk-DMSRWHOG.js} +5 -3
- package/dist/{chunk-I2JXAGTV.js.map → chunk-DMSRWHOG.js.map} +1 -1
- package/dist/{chunk-EVK7IH5X.js → chunk-FSA7LAHO.js} +8 -3
- package/dist/chunk-FSA7LAHO.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-L6TVDKQ5.js → setup-XAILRVQL.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EVK7IH5X.js.map +0 -1
- /package/dist/{setup-L6TVDKQ5.js.map → setup-XAILRVQL.js.map} +0 -0
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
setSessionOriented,
|
|
44
44
|
startAgentSession,
|
|
45
45
|
withAcceptPrompt
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FSA7LAHO.js";
|
|
47
47
|
|
|
48
48
|
// src/server.ts
|
|
49
49
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -10284,7 +10284,7 @@ async function handleClose() {
|
|
|
10284
10284
|
const closed = await closeAgentSession();
|
|
10285
10285
|
clearSessionGaps();
|
|
10286
10286
|
if (!closed) throw new Error("No active agent session to close.");
|
|
10287
|
-
const { created, modified, relationsCreated: relations, capturesTruncated, modifiedTruncated, capLine } = closed;
|
|
10287
|
+
const { created, modified, relationsCreated: relations, capturesTruncated, modifiedTruncated, capLine, callLine } = closed;
|
|
10288
10288
|
const lines = [
|
|
10289
10289
|
`Session ${sessionId} closed.`,
|
|
10290
10290
|
""
|
|
@@ -10300,6 +10300,7 @@ async function handleClose() {
|
|
|
10300
10300
|
...session ? [`| Gate failures | ${gates} |`, `| Contradiction warnings | ${warnings} |`] : []
|
|
10301
10301
|
);
|
|
10302
10302
|
if (capLine) lines.push("", capLine);
|
|
10303
|
+
if (callLine) lines.push("", callLine);
|
|
10303
10304
|
let rituals = null;
|
|
10304
10305
|
try {
|
|
10305
10306
|
rituals = await kernelCall("chain.getRitualsSurface", {});
|
|
@@ -10319,6 +10320,7 @@ async function handleClose() {
|
|
|
10319
10320
|
capturesTruncated,
|
|
10320
10321
|
modifiedTruncated,
|
|
10321
10322
|
...capLine ? { capLine } : {},
|
|
10323
|
+
...callLine ? { callLine } : {},
|
|
10322
10324
|
gateFailures: gates,
|
|
10323
10325
|
contradictionWarnings: warnings,
|
|
10324
10326
|
wrapupNudge: wrapupNudge.length > 0,
|
|
@@ -12002,4 +12004,4 @@ export {
|
|
|
12002
12004
|
SERVER_VERSION,
|
|
12003
12005
|
createProductBrainServer
|
|
12004
12006
|
};
|
|
12005
|
-
//# sourceMappingURL=chunk-
|
|
12007
|
+
//# sourceMappingURL=chunk-DMSRWHOG.js.map
|