@productbrain/mcp 0.0.1-beta.12402 → 0.0.1-beta.12408
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-3U2ECUFG.js → chunk-PXHPUMH4.js} +15 -4
- package/dist/{chunk-3U2ECUFG.js.map → chunk-PXHPUMH4.js.map} +1 -1
- package/dist/{chunk-V2WCCCRI.js → chunk-QWSKAXJH.js} +5 -4
- package/dist/chunk-QWSKAXJH.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-OMHPPHKE.js → setup-6GTZZQWF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-V2WCCCRI.js.map +0 -1
- /package/dist/{setup-OMHPPHKE.js.map → setup-6GTZZQWF.js.map} +0 -0
|
@@ -40,8 +40,9 @@ import {
|
|
|
40
40
|
runWithToolContext,
|
|
41
41
|
seatKeysRevoked,
|
|
42
42
|
setSessionOriented,
|
|
43
|
-
startAgentSession
|
|
44
|
-
|
|
43
|
+
startAgentSession,
|
|
44
|
+
withAcceptPrompt
|
|
45
|
+
} from "./chunk-PXHPUMH4.js";
|
|
45
46
|
|
|
46
47
|
// src/server.ts
|
|
47
48
|
import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -1575,7 +1576,7 @@ function coherencyRefusedResult(toolName, entryId, refusal, options) {
|
|
|
1575
1576
|
lines.push("", GENERIC_RECOVERY_LINE);
|
|
1576
1577
|
}
|
|
1577
1578
|
return failureResult(
|
|
1578
|
-
lines.join("\n"),
|
|
1579
|
+
withAcceptPrompt(lines.join("\n"), [refusal]),
|
|
1579
1580
|
"COHERENCY_REFUSED",
|
|
1580
1581
|
`Coherency gate refused ${toolName} on ${entryId}.`,
|
|
1581
1582
|
"Use one of the refusal's routes (link / coherencyAcknowledgement / steeringOverrideReason), then retry.",
|
|
@@ -11945,4 +11946,4 @@ export {
|
|
|
11945
11946
|
SERVER_VERSION,
|
|
11946
11947
|
createProductBrainServer
|
|
11947
11948
|
};
|
|
11948
|
-
//# sourceMappingURL=chunk-
|
|
11949
|
+
//# sourceMappingURL=chunk-QWSKAXJH.js.map
|