@curio-data/mcp-intelli-search 0.20.0 → 0.21.0
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/README.md +1 -1
- package/dist/{chunk-NLULRY33.js → chunk-HLF5TGKP.js} +28 -7
- package/dist/runtime.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://www.npmjs.com/package/@curio-data/mcp-intelli-search)
|
|
7
7
|
[](https://nodejs.org/)
|
|
8
8
|
[](https://github.com/Curio-Data/pi-intelli-search/blob/main/LICENSE)
|
|
9
|
-

|
|
10
10
|
|
|
11
11
|
Intelligent web research for coding agents: search, extract, collate, and cache grounded web context in one tool call.
|
|
12
12
|
|
|
@@ -271,7 +271,14 @@ var NON_RETRYABLE_LIMIT_PATTERNS = [
|
|
|
271
271
|
"billing",
|
|
272
272
|
// Sign in with ChatGPT: the subscription's shared usage limit, which resets
|
|
273
273
|
// after hours rather than seconds.
|
|
274
|
-
"subscription_sharing_usage_limit_exceeded"
|
|
274
|
+
"subscription_sharing_usage_limit_exceeded",
|
|
275
|
+
// Sign in with ChatGPT on a ChatGPT Business plan: a usage limit set by the
|
|
276
|
+
// workspace admin. Only the admin can raise it.
|
|
277
|
+
"subscription_sharing_workplace_individual_usage_limit_exceeded",
|
|
278
|
+
// Zhipu/Z.ai (open.bigmodel.cn) error code 1308: the plan's usage limit is
|
|
279
|
+
// reached, sent as HTTP 429. It resets after hours, not seconds (pi #11537).
|
|
280
|
+
// The lookahead keeps a different code such as 13089 from matching.
|
|
281
|
+
'"code"\\s*:\\s*"?1308(?![0-9])'
|
|
275
282
|
];
|
|
276
283
|
var RETRYABLE_PATTERNS = [
|
|
277
284
|
// Generic provider load, HTTP status, and server-side transient failures.
|
|
@@ -282,12 +289,13 @@ var RETRYABLE_PATTERNS = [
|
|
|
282
289
|
"model is at capacity",
|
|
283
290
|
"rate.?limit",
|
|
284
291
|
"too many requests",
|
|
285
|
-
//
|
|
286
|
-
//
|
|
287
|
-
//
|
|
288
|
-
//
|
|
289
|
-
//
|
|
290
|
-
"
|
|
292
|
+
// Status codes, upstream's verbatim form: the lookarounds reject codes
|
|
293
|
+
// embedded in digits or letters (request ids, token counts such as
|
|
294
|
+
// "150293 tokens") while still matching delimited ones. Underscore-adjacent
|
|
295
|
+
// tokens ("HTTP_502_BAD_GATEWAY") match too; that is upstream's accepted
|
|
296
|
+
// trade. This policy keeps no context-overflow pre-filter, so a delimited
|
|
297
|
+
// count such as "128,500 tokens" can still retry (known limitation).
|
|
298
|
+
"(?<![a-z0-9])(?:429|500|502|503|504|520|524)(?![a-z0-9])",
|
|
291
299
|
// Also matches "The service is temporarily unavailable" (pi #10965).
|
|
292
300
|
"service.?(?:is.?)?(?:temporarily.?)?unavailable",
|
|
293
301
|
"server.?error",
|
|
@@ -300,6 +308,12 @@ var RETRYABLE_PATTERNS = [
|
|
|
300
308
|
// Gateway failure relaying the upstream response stream, sent as an OpenAI
|
|
301
309
|
// Responses `response.failed` event without an error code (pi #10920).
|
|
302
310
|
"unable to forward upstream",
|
|
311
|
+
// Other gateway upstream failures relayed as `response.failed` error codes
|
|
312
|
+
// (pi #10920).
|
|
313
|
+
"upstream.?request.?failed",
|
|
314
|
+
"upstream_stream_read_error",
|
|
315
|
+
"stream was interrupted",
|
|
316
|
+
"http/?2 stream failed",
|
|
303
317
|
// Network, proxy, and fetch transport failures, including raw-fetch failures
|
|
304
318
|
// such as "upstream connect", "connection refused", and "reset before
|
|
305
319
|
// headers" (pi #733), plus OpenRouter connection drops (pi #3317).
|
|
@@ -309,6 +323,9 @@ var RETRYABLE_PATTERNS = [
|
|
|
309
323
|
"connection.?lost",
|
|
310
324
|
"other side closed",
|
|
311
325
|
"fetch failed",
|
|
326
|
+
// node-fetch system errors, e.g. the Google ADC OAuth token refresh used by
|
|
327
|
+
// google-vertex. The reason is often empty (pi #10996).
|
|
328
|
+
"request to \\S+ failed, reason:",
|
|
312
329
|
"getaddrinfo",
|
|
313
330
|
"ENOTFOUND",
|
|
314
331
|
"EAI_AGAIN",
|
|
@@ -341,6 +358,10 @@ var RETRYABLE_PATTERNS = [
|
|
|
341
358
|
"stream ended before message_stop",
|
|
342
359
|
"stream ended before a terminal response event",
|
|
343
360
|
"http2 request did not get a response",
|
|
361
|
+
// Codex CLI mid-stream disconnect, relayed by proxies that wrap the Codex
|
|
362
|
+
// CLI, e.g. "stream disconnected before completion: stream closed before
|
|
363
|
+
// response.completed" (pi #11057).
|
|
364
|
+
"stream disconnected before completion",
|
|
344
365
|
// Node ERR_HTTP2_STREAM_CANCEL: the HTTP/2 session died before the request
|
|
345
366
|
// was sent, for example after the Bedrock SDK's session timeout (pi #10379).
|
|
346
367
|
"pending stream has been canceled",
|
package/dist/runtime.js
CHANGED
package/dist/server.js
CHANGED
package/package.json
CHANGED