@productbrain/mcp 0.0.1-beta.12049 → 0.0.1-beta.12050
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-RXURVQXW.js → chunk-4DVP3ALV.js} +3 -2
- package/dist/{chunk-RXURVQXW.js.map → chunk-4DVP3ALV.js.map} +1 -1
- package/dist/{chunk-7LROKFBR.js → chunk-H4LOLM6J.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{setup-HTPCWKF3.js → setup-4QXMLBFT.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-7LROKFBR.js.map → chunk-H4LOLM6J.js.map} +0 -0
- /package/dist/{setup-HTPCWKF3.js.map → setup-4QXMLBFT.js.map} +0 -0
|
@@ -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
|
-
|
|
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-
|
|
1785
|
+
//# sourceMappingURL=chunk-4DVP3ALV.js.map
|