@productbrain/mcp 0.0.1-beta.12049 → 0.0.1-beta.12051

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.
@@ -1114,7 +1114,8 @@ ${next2}` : cleanMessage,
1114
1114
  }
1115
1115
  const next = spineNextLine(mcpErr.details);
1116
1116
  const recovery = next ?? authorityRecovery(mcpErr.details?.[0]);
1117
- return { code: convexCode, fn, message: recovery ? `${cleanMessage}${next ? "\n" : " "}${recovery}` : cleanMessage, ...recovery ? { recovery } : {} };
1117
+ const said = recovery && !next ? cleanMessage.replace(/\s*\n\s*/g, " ") : cleanMessage;
1118
+ return { code: convexCode, fn, message: recovery ? `${said}${next ? "\n" : " "}${recovery}` : cleanMessage, ...recovery ? { recovery } : {} };
1118
1119
  }
1119
1120
  for (const { pattern, code, recovery, action } of GATE_PATTERNS) {
1120
1121
  if (pattern.test(message)) {
@@ -1781,4 +1782,4 @@ export {
1781
1782
  appUrl,
1782
1783
  apiKeysUrl
1783
1784
  };
1784
- //# sourceMappingURL=chunk-RXURVQXW.js.map
1785
+ //# sourceMappingURL=chunk-4DVP3ALV.js.map