@productbrain/mcp 0.0.1-beta.2149 → 0.0.1-beta.2160
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.
|
@@ -312,6 +312,14 @@ function classifyError(err) {
|
|
|
312
312
|
availableActions: [{ tool: "entries", description: "Get entry", parameters: { action: "get" } }]
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
+
if (convexCode === "rate-limited") {
|
|
316
|
+
return {
|
|
317
|
+
code: "rate-limited",
|
|
318
|
+
fn,
|
|
319
|
+
message: cleanMessage,
|
|
320
|
+
recovery: "Rate limit hit for this API key. Wait the number of seconds in the message (Retry-After), then retry the same call unchanged \u2014 it is safe to retry."
|
|
321
|
+
};
|
|
322
|
+
}
|
|
315
323
|
return { code: convexCode, fn, message: cleanMessage };
|
|
316
324
|
}
|
|
317
325
|
for (const { pattern, code, recovery, action } of GATE_PATTERNS) {
|
|
@@ -14710,4 +14718,4 @@ export {
|
|
|
14710
14718
|
createProductBrainServer,
|
|
14711
14719
|
initFeatureFlags
|
|
14712
14720
|
};
|
|
14713
|
-
//# sourceMappingURL=chunk-
|
|
14721
|
+
//# sourceMappingURL=chunk-P5QWTJUV.js.map
|