@memnexus-ai/typescript-sdk 1.85.4 → 1.86.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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2668,7 +2668,7 @@ var MemoriesService = class extends BaseService {
|
|
|
2668
2668
|
* @param q - Search query string. Optional — omit for topic/date-only browsing.
|
|
2669
2669
|
* @param searchMethod - Search algorithm to use
|
|
2670
2670
|
* @param limit - Maximum number of results to return
|
|
2671
|
-
* @param offset - Number of results to skip for pagination
|
|
2671
|
+
* @param offset - Number of results to skip for pagination. offset + limit must not exceed 10000; a request above that returns HTTP 400.
|
|
2672
2672
|
* @param threshold - Minimum similarity threshold for semantic search
|
|
2673
2673
|
* @param mode - Content filtering mode
|
|
2674
2674
|
* @param vectorWeight - Weight for vector similarity in hybrid search
|
|
@@ -6938,7 +6938,7 @@ var searchRequest = import_zod.z.object({
|
|
|
6938
6938
|
searchMethod: import_zod.z.enum(["keyword", "semantic", "hybrid"]).optional(),
|
|
6939
6939
|
/** Target number of results (defaults to 20). Note: when the v2.33 RRF consensus-exemption feature is enabled (CONSENSUS_EXEMPTION_ENABLED, off by default), a hybrid response MAY contain up to limit + CONSENSUS_EXEMPTION_MAX_PINS results — a small number of dual-primary-consensus documents appended after the top-`limit` window without evicting it. With the feature off, the response never exceeds `limit`. */
|
|
6940
6940
|
limit: import_zod.z.number().min(1).max(100).optional(),
|
|
6941
|
-
/** Offset for pagination (defaults to 0) */
|
|
6941
|
+
/** Offset for pagination (defaults to 0). offset + limit must not exceed 10000; a request above that returns HTTP 400. */
|
|
6942
6942
|
offset: import_zod.z.number().min(0).optional(),
|
|
6943
6943
|
/** Weight for vector (semantic) results in hybrid search (0-1, defaults to 0.7) */
|
|
6944
6944
|
vectorWeight: import_zod.z.number().min(0).max(1).optional(),
|
|
@@ -7150,7 +7150,7 @@ var searchMeta = import_zod.z.lazy(() => import_zod.z.object({
|
|
|
7150
7150
|
branchFailures: import_zod.z.array(branchFailure).optional(),
|
|
7151
7151
|
/** 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. */
|
|
7152
7152
|
anchorGateSuppressed: import_zod.z.boolean().optional(),
|
|
7153
|
-
/** How many fused candidates the fulltext-anchor gate discarded, summed across every hybrid search
|
|
7153
|
+
/** How many fused candidates the fulltext-anchor gate discarded, summed across every hybrid search this request ran, including the reformulation searches issued under `rewrite=true`. Present only alongside anchorGateSuppressed, and always > 0 when present. Treat it as an UPPER BOUND on what a larger limit could recover, not as a count of retrievable rows: the gate runs before the superseded/duplicate exclusion, so discarded candidates can include duplicate-state rows that are never served at any limit and superseded rows that are served only when the caller asks for them. 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. */
|
|
7154
7154
|
anchorGateDiscardedCount: import_zod.z.number().min(1).optional(),
|
|
7155
7155
|
/** Temporal query metadata (present when temporal filters are used) */
|
|
7156
7156
|
temporalMetadata: temporalMetadata.optional()
|