@memnexus-ai/typescript-sdk 1.79.1 → 1.80.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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -24
- package/dist/index.d.ts +24 -24
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4285,16 +4285,16 @@ declare const branchFailure: z.ZodObject<{
|
|
|
4285
4285
|
name: z.ZodString;
|
|
4286
4286
|
/** How the branch failed */
|
|
4287
4287
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4288
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4289
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4288
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4289
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4290
4290
|
}, "strip", z.ZodTypeAny, {
|
|
4291
4291
|
status: "error" | "timeout";
|
|
4292
4292
|
name: string;
|
|
4293
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4293
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4294
4294
|
}, {
|
|
4295
4295
|
status: "error" | "timeout";
|
|
4296
4296
|
name: string;
|
|
4297
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4297
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4298
4298
|
}>;
|
|
4299
4299
|
/**
|
|
4300
4300
|
* Temporal query metadata (present when temporal filters are used)
|
|
@@ -4383,16 +4383,16 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4383
4383
|
name: z.ZodString;
|
|
4384
4384
|
/** How the branch failed */
|
|
4385
4385
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4386
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4387
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4386
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4387
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4388
4388
|
}, "strip", z.ZodTypeAny, {
|
|
4389
4389
|
status: "error" | "timeout";
|
|
4390
4390
|
name: string;
|
|
4391
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4391
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4392
4392
|
}, {
|
|
4393
4393
|
status: "error" | "timeout";
|
|
4394
4394
|
name: string;
|
|
4395
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4395
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4396
4396
|
}>, "many">>;
|
|
4397
4397
|
/** True when the fulltext-anchor gate discarded a non-empty candidate set for this query, so this page does NOT include everything the search found. Combine with total: total=0 alongside this flag means the empty result is an artefact of the gate, not a statement that no matching memory exists, and a larger limit may return results. DISTINCT from degraded, which is false here because every search branch succeeded. ABSENT (not false) when the gate suppressed nothing — an unsuppressed response gains no new fields. This field is emitted by the search and digest responses that implement it; its absence on any other endpoint carries no assurance that nothing was suppressed there. */
|
|
4398
4398
|
anchorGateSuppressed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4471,7 +4471,7 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4471
4471
|
branchFailures?: {
|
|
4472
4472
|
status: "error" | "timeout";
|
|
4473
4473
|
name: string;
|
|
4474
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4474
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4475
4475
|
}[] | undefined;
|
|
4476
4476
|
anchorGateSuppressed?: boolean | undefined;
|
|
4477
4477
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -4500,7 +4500,7 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4500
4500
|
branchFailures?: {
|
|
4501
4501
|
status: "error" | "timeout";
|
|
4502
4502
|
name: string;
|
|
4503
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4503
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4504
4504
|
}[] | undefined;
|
|
4505
4505
|
anchorGateSuppressed?: boolean | undefined;
|
|
4506
4506
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -4987,16 +4987,16 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
4987
4987
|
name: z.ZodString;
|
|
4988
4988
|
/** How the branch failed */
|
|
4989
4989
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4990
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4991
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4990
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4991
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4992
4992
|
}, "strip", z.ZodTypeAny, {
|
|
4993
4993
|
status: "error" | "timeout";
|
|
4994
4994
|
name: string;
|
|
4995
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4995
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4996
4996
|
}, {
|
|
4997
4997
|
status: "error" | "timeout";
|
|
4998
4998
|
name: string;
|
|
4999
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4999
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5000
5000
|
}>, "many">>;
|
|
5001
5001
|
/** True when the fulltext-anchor gate discarded a non-empty candidate set for this query, so this page does NOT include everything the search found. Combine with total: total=0 alongside this flag means the empty result is an artefact of the gate, not a statement that no matching memory exists, and a larger limit may return results. DISTINCT from degraded, which is false here because every search branch succeeded. ABSENT (not false) when the gate suppressed nothing — an unsuppressed response gains no new fields. This field is emitted by the search and digest responses that implement it; its absence on any other endpoint carries no assurance that nothing was suppressed there. */
|
|
5002
5002
|
anchorGateSuppressed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5075,7 +5075,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5075
5075
|
branchFailures?: {
|
|
5076
5076
|
status: "error" | "timeout";
|
|
5077
5077
|
name: string;
|
|
5078
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5078
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5079
5079
|
}[] | undefined;
|
|
5080
5080
|
anchorGateSuppressed?: boolean | undefined;
|
|
5081
5081
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5104,7 +5104,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5104
5104
|
branchFailures?: {
|
|
5105
5105
|
status: "error" | "timeout";
|
|
5106
5106
|
name: string;
|
|
5107
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5107
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5108
5108
|
}[] | undefined;
|
|
5109
5109
|
anchorGateSuppressed?: boolean | undefined;
|
|
5110
5110
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5352,7 +5352,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5352
5352
|
branchFailures?: {
|
|
5353
5353
|
status: "error" | "timeout";
|
|
5354
5354
|
name: string;
|
|
5355
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5355
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5356
5356
|
}[] | undefined;
|
|
5357
5357
|
anchorGateSuppressed?: boolean | undefined;
|
|
5358
5358
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5464,7 +5464,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5464
5464
|
branchFailures?: {
|
|
5465
5465
|
status: "error" | "timeout";
|
|
5466
5466
|
name: string;
|
|
5467
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5467
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5468
5468
|
}[] | undefined;
|
|
5469
5469
|
anchorGateSuppressed?: boolean | undefined;
|
|
5470
5470
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5537,16 +5537,16 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5537
5537
|
name: z.ZodString;
|
|
5538
5538
|
/** How the branch failed */
|
|
5539
5539
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
5540
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
5541
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
5540
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
5541
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
5542
5542
|
}, "strip", z.ZodTypeAny, {
|
|
5543
5543
|
status: "error" | "timeout";
|
|
5544
5544
|
name: string;
|
|
5545
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5545
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5546
5546
|
}, {
|
|
5547
5547
|
status: "error" | "timeout";
|
|
5548
5548
|
name: string;
|
|
5549
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5549
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5550
5550
|
}>, "many">>;
|
|
5551
5551
|
}, "strip", z.ZodTypeAny, {
|
|
5552
5552
|
error: string;
|
|
@@ -5555,7 +5555,7 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5555
5555
|
branchFailures?: {
|
|
5556
5556
|
status: "error" | "timeout";
|
|
5557
5557
|
name: string;
|
|
5558
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5558
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5559
5559
|
}[] | undefined;
|
|
5560
5560
|
retryable?: boolean | undefined;
|
|
5561
5561
|
retry_after_ms?: number | undefined;
|
|
@@ -5566,7 +5566,7 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5566
5566
|
branchFailures?: {
|
|
5567
5567
|
status: "error" | "timeout";
|
|
5568
5568
|
name: string;
|
|
5569
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5569
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5570
5570
|
}[] | undefined;
|
|
5571
5571
|
retryable?: boolean | undefined;
|
|
5572
5572
|
retry_after_ms?: number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -4285,16 +4285,16 @@ declare const branchFailure: z.ZodObject<{
|
|
|
4285
4285
|
name: z.ZodString;
|
|
4286
4286
|
/** How the branch failed */
|
|
4287
4287
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4288
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4289
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4288
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4289
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4290
4290
|
}, "strip", z.ZodTypeAny, {
|
|
4291
4291
|
status: "error" | "timeout";
|
|
4292
4292
|
name: string;
|
|
4293
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4293
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4294
4294
|
}, {
|
|
4295
4295
|
status: "error" | "timeout";
|
|
4296
4296
|
name: string;
|
|
4297
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4297
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4298
4298
|
}>;
|
|
4299
4299
|
/**
|
|
4300
4300
|
* Temporal query metadata (present when temporal filters are used)
|
|
@@ -4383,16 +4383,16 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4383
4383
|
name: z.ZodString;
|
|
4384
4384
|
/** How the branch failed */
|
|
4385
4385
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4386
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4387
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4386
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4387
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4388
4388
|
}, "strip", z.ZodTypeAny, {
|
|
4389
4389
|
status: "error" | "timeout";
|
|
4390
4390
|
name: string;
|
|
4391
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4391
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4392
4392
|
}, {
|
|
4393
4393
|
status: "error" | "timeout";
|
|
4394
4394
|
name: string;
|
|
4395
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4395
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4396
4396
|
}>, "many">>;
|
|
4397
4397
|
/** True when the fulltext-anchor gate discarded a non-empty candidate set for this query, so this page does NOT include everything the search found. Combine with total: total=0 alongside this flag means the empty result is an artefact of the gate, not a statement that no matching memory exists, and a larger limit may return results. DISTINCT from degraded, which is false here because every search branch succeeded. ABSENT (not false) when the gate suppressed nothing — an unsuppressed response gains no new fields. This field is emitted by the search and digest responses that implement it; its absence on any other endpoint carries no assurance that nothing was suppressed there. */
|
|
4398
4398
|
anchorGateSuppressed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4471,7 +4471,7 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4471
4471
|
branchFailures?: {
|
|
4472
4472
|
status: "error" | "timeout";
|
|
4473
4473
|
name: string;
|
|
4474
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4474
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4475
4475
|
}[] | undefined;
|
|
4476
4476
|
anchorGateSuppressed?: boolean | undefined;
|
|
4477
4477
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -4500,7 +4500,7 @@ declare const searchMeta: z.ZodLazy<z.ZodObject<{
|
|
|
4500
4500
|
branchFailures?: {
|
|
4501
4501
|
status: "error" | "timeout";
|
|
4502
4502
|
name: string;
|
|
4503
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4503
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4504
4504
|
}[] | undefined;
|
|
4505
4505
|
anchorGateSuppressed?: boolean | undefined;
|
|
4506
4506
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -4987,16 +4987,16 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
4987
4987
|
name: z.ZodString;
|
|
4988
4988
|
/** How the branch failed */
|
|
4989
4989
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
4990
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
4991
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
4990
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
4991
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
4992
4992
|
}, "strip", z.ZodTypeAny, {
|
|
4993
4993
|
status: "error" | "timeout";
|
|
4994
4994
|
name: string;
|
|
4995
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4995
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
4996
4996
|
}, {
|
|
4997
4997
|
status: "error" | "timeout";
|
|
4998
4998
|
name: string;
|
|
4999
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
4999
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5000
5000
|
}>, "many">>;
|
|
5001
5001
|
/** True when the fulltext-anchor gate discarded a non-empty candidate set for this query, so this page does NOT include everything the search found. Combine with total: total=0 alongside this flag means the empty result is an artefact of the gate, not a statement that no matching memory exists, and a larger limit may return results. DISTINCT from degraded, which is false here because every search branch succeeded. ABSENT (not false) when the gate suppressed nothing — an unsuppressed response gains no new fields. This field is emitted by the search and digest responses that implement it; its absence on any other endpoint carries no assurance that nothing was suppressed there. */
|
|
5002
5002
|
anchorGateSuppressed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5075,7 +5075,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5075
5075
|
branchFailures?: {
|
|
5076
5076
|
status: "error" | "timeout";
|
|
5077
5077
|
name: string;
|
|
5078
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5078
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5079
5079
|
}[] | undefined;
|
|
5080
5080
|
anchorGateSuppressed?: boolean | undefined;
|
|
5081
5081
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5104,7 +5104,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5104
5104
|
branchFailures?: {
|
|
5105
5105
|
status: "error" | "timeout";
|
|
5106
5106
|
name: string;
|
|
5107
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5107
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5108
5108
|
}[] | undefined;
|
|
5109
5109
|
anchorGateSuppressed?: boolean | undefined;
|
|
5110
5110
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5352,7 +5352,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5352
5352
|
branchFailures?: {
|
|
5353
5353
|
status: "error" | "timeout";
|
|
5354
5354
|
name: string;
|
|
5355
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5355
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5356
5356
|
}[] | undefined;
|
|
5357
5357
|
anchorGateSuppressed?: boolean | undefined;
|
|
5358
5358
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5464,7 +5464,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5464
5464
|
branchFailures?: {
|
|
5465
5465
|
status: "error" | "timeout";
|
|
5466
5466
|
name: string;
|
|
5467
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5467
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5468
5468
|
}[] | undefined;
|
|
5469
5469
|
anchorGateSuppressed?: boolean | undefined;
|
|
5470
5470
|
anchorGateDiscardedCount?: number | undefined;
|
|
@@ -5537,16 +5537,16 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5537
5537
|
name: z.ZodString;
|
|
5538
5538
|
/** How the branch failed */
|
|
5539
5539
|
status: z.ZodEnum<["timeout", "error"]>;
|
|
5540
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
5541
|
-
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown"]>;
|
|
5540
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
5541
|
+
reason: z.ZodEnum<["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"]>;
|
|
5542
5542
|
}, "strip", z.ZodTypeAny, {
|
|
5543
5543
|
status: "error" | "timeout";
|
|
5544
5544
|
name: string;
|
|
5545
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5545
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5546
5546
|
}, {
|
|
5547
5547
|
status: "error" | "timeout";
|
|
5548
5548
|
name: string;
|
|
5549
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5549
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5550
5550
|
}>, "many">>;
|
|
5551
5551
|
}, "strip", z.ZodTypeAny, {
|
|
5552
5552
|
error: string;
|
|
@@ -5555,7 +5555,7 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5555
5555
|
branchFailures?: {
|
|
5556
5556
|
status: "error" | "timeout";
|
|
5557
5557
|
name: string;
|
|
5558
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5558
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5559
5559
|
}[] | undefined;
|
|
5560
5560
|
retryable?: boolean | undefined;
|
|
5561
5561
|
retry_after_ms?: number | undefined;
|
|
@@ -5566,7 +5566,7 @@ declare const searchFailureResponse: z.ZodLazy<z.ZodObject<{
|
|
|
5566
5566
|
branchFailures?: {
|
|
5567
5567
|
status: "error" | "timeout";
|
|
5568
5568
|
name: string;
|
|
5569
|
-
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error";
|
|
5569
|
+
reason: "unknown" | "timeout" | "connection" | "query_error" | "provider_error" | "internal_error";
|
|
5570
5570
|
}[] | undefined;
|
|
5571
5571
|
retryable?: boolean | undefined;
|
|
5572
5572
|
retry_after_ms?: number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -6923,8 +6923,8 @@ var branchFailure = z.object({
|
|
|
6923
6923
|
name: z.string(),
|
|
6924
6924
|
/** How the branch failed */
|
|
6925
6925
|
status: z.enum(["timeout", "error"]),
|
|
6926
|
-
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. */
|
|
6927
|
-
reason: z.enum(["timeout", "connection", "query_error", "provider_error", "unknown"])
|
|
6926
|
+
/** Closed-vocabulary cause. Never free text — a raw message could leak internal hostnames, ports, or query text. `internal_error` means hybrid search failed after the branches ran and the results came from the scoped fulltext fallback. */
|
|
6927
|
+
reason: z.enum(["timeout", "connection", "query_error", "provider_error", "unknown", "internal_error"])
|
|
6928
6928
|
});
|
|
6929
6929
|
var temporalMetadata = z.object({
|
|
6930
6930
|
/** Temporal query mode used */
|