@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.
@@ -40,8 +40,9 @@ import {
40
40
  runWithToolContext,
41
41
  seatKeysRevoked,
42
42
  setSessionOriented,
43
- startAgentSession
44
- } from "./chunk-3U2ECUFG.js";
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-V2WCCCRI.js.map
11949
+ //# sourceMappingURL=chunk-QWSKAXJH.js.map