@memnexus-ai/sdk 1.85.5 → 1.86.1

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.d.cts CHANGED
@@ -606,7 +606,7 @@ interface SearchRequest {
606
606
  searchMethod?: 'keyword' | 'semantic' | 'hybrid';
607
607
  /** 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`. */
608
608
  limit?: number;
609
- /** Offset for pagination (defaults to 0) */
609
+ /** Offset for pagination (defaults to 0). offset + limit must not exceed 10000; a request above that returns HTTP 400. */
610
610
  offset?: number;
611
611
  /** Weight for vector (semantic) results in hybrid search (0-1, defaults to 0.7) */
612
612
  vectorWeight?: number;
@@ -813,7 +813,7 @@ interface SearchMeta {
813
813
  branchFailures?: BranchFailure[];
814
814
  /** 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. */
815
815
  anchorGateSuppressed?: boolean;
816
- /** How many fused candidates the fulltext-anchor gate discarded, summed across every hybrid search whose health this request captured; reformulation searches issued under `rewrite=true` are NOT included, so on such a request this count can under-report, and both fields can be absent entirely even though the gate did suppress. 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. */
816
+ /** 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. */
817
817
  anchorGateDiscardedCount?: number;
818
818
  /** Temporal query metadata (present when temporal filters are used) */
819
819
  temporalMetadata?: TemporalMetadata;
package/dist/index.d.ts CHANGED
@@ -606,7 +606,7 @@ interface SearchRequest {
606
606
  searchMethod?: 'keyword' | 'semantic' | 'hybrid';
607
607
  /** 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`. */
608
608
  limit?: number;
609
- /** Offset for pagination (defaults to 0) */
609
+ /** Offset for pagination (defaults to 0). offset + limit must not exceed 10000; a request above that returns HTTP 400. */
610
610
  offset?: number;
611
611
  /** Weight for vector (semantic) results in hybrid search (0-1, defaults to 0.7) */
612
612
  vectorWeight?: number;
@@ -813,7 +813,7 @@ interface SearchMeta {
813
813
  branchFailures?: BranchFailure[];
814
814
  /** 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. */
815
815
  anchorGateSuppressed?: boolean;
816
- /** How many fused candidates the fulltext-anchor gate discarded, summed across every hybrid search whose health this request captured; reformulation searches issued under `rewrite=true` are NOT included, so on such a request this count can under-report, and both fields can be absent entirely even though the gate did suppress. 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. */
816
+ /** 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. */
817
817
  anchorGateDiscardedCount?: number;
818
818
  /** Temporal query metadata (present when temporal filters are used) */
819
819
  temporalMetadata?: TemporalMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memnexus-ai/sdk",
3
- "version": "1.85.5",
3
+ "version": "1.86.1",
4
4
  "description": "Official Node.js SDK for the MemNexus API",
5
5
  "license": "Proprietary",
6
6
  "type": "module",