@memnexus-ai/typescript-sdk 1.55.4 → 1.55.5

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
@@ -3762,7 +3762,7 @@ declare const searchRequest: z.ZodObject<{
3762
3762
  mode: z.ZodOptional<z.ZodEnum<["unified", "content", "facts"]>>;
3763
3763
  /** Search algorithm: hybrid (combined, default), semantic (vector), or keyword (fulltext). */
3764
3764
  searchMethod: z.ZodOptional<z.ZodEnum<["keyword", "semantic", "hybrid"]>>;
3765
- /** Maximum number of results (defaults to 20) */
3765
+ /** 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`. */
3766
3766
  limit: z.ZodOptional<z.ZodNumber>;
3767
3767
  /** Offset for pagination (defaults to 0) */
3768
3768
  offset: z.ZodOptional<z.ZodNumber>;
@@ -4525,7 +4525,7 @@ declare const claimGroup: z.ZodLazy<z.ZodObject<{
4525
4525
  };
4526
4526
  }>>;
4527
4527
  declare const searchResponse: z.ZodLazy<z.ZodObject<{
4528
- /** Flattened search results with memory fields and search metadata */
4528
+ /** Flattened search results with memory fields and search metadata. Length is normally ≤ the request `limit`; when the v2.33 consensus-exemption feature is enabled it may be up to limit + CONSENSUS_EXEMPTION_MAX_PINS (appended dual-primary-consensus documents). */
4529
4529
  data: z.ZodArray<z.ZodLazy<z.ZodObject<{
4530
4530
  /** Unique memory identifier */
4531
4531
  id: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -3762,7 +3762,7 @@ declare const searchRequest: z.ZodObject<{
3762
3762
  mode: z.ZodOptional<z.ZodEnum<["unified", "content", "facts"]>>;
3763
3763
  /** Search algorithm: hybrid (combined, default), semantic (vector), or keyword (fulltext). */
3764
3764
  searchMethod: z.ZodOptional<z.ZodEnum<["keyword", "semantic", "hybrid"]>>;
3765
- /** Maximum number of results (defaults to 20) */
3765
+ /** 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`. */
3766
3766
  limit: z.ZodOptional<z.ZodNumber>;
3767
3767
  /** Offset for pagination (defaults to 0) */
3768
3768
  offset: z.ZodOptional<z.ZodNumber>;
@@ -4525,7 +4525,7 @@ declare const claimGroup: z.ZodLazy<z.ZodObject<{
4525
4525
  };
4526
4526
  }>>;
4527
4527
  declare const searchResponse: z.ZodLazy<z.ZodObject<{
4528
- /** Flattened search results with memory fields and search metadata */
4528
+ /** Flattened search results with memory fields and search metadata. Length is normally ≤ the request `limit`; when the v2.33 consensus-exemption feature is enabled it may be up to limit + CONSENSUS_EXEMPTION_MAX_PINS (appended dual-primary-consensus documents). */
4529
4529
  data: z.ZodArray<z.ZodLazy<z.ZodObject<{
4530
4530
  /** Unique memory identifier */
4531
4531
  id: z.ZodString;
package/dist/index.js CHANGED
@@ -6504,7 +6504,7 @@ var searchRequest = z.object({
6504
6504
  mode: z.enum(["unified", "content", "facts"]).optional(),
6505
6505
  /** Search algorithm: hybrid (combined, default), semantic (vector), or keyword (fulltext). */
6506
6506
  searchMethod: z.enum(["keyword", "semantic", "hybrid"]).optional(),
6507
- /** Maximum number of results (defaults to 20) */
6507
+ /** 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`. */
6508
6508
  limit: z.number().min(1).max(100).optional(),
6509
6509
  /** Offset for pagination (defaults to 0) */
6510
6510
  offset: z.number().min(0).optional(),
@@ -6740,7 +6740,7 @@ var claimGroup = z.lazy(() => z.object({
6740
6740
  signals: claimGroupSignals
6741
6741
  }));
6742
6742
  var searchResponse = z.lazy(() => z.object({
6743
- /** Flattened search results with memory fields and search metadata */
6743
+ /** Flattened search results with memory fields and search metadata. Length is normally ≤ the request `limit`; when the v2.33 consensus-exemption feature is enabled it may be up to limit + CONSENSUS_EXEMPTION_MAX_PINS (appended dual-primary-consensus documents). */
6744
6744
  data: z.array(searchResult),
6745
6745
  /** Search metadata including pagination, timing, and method */
6746
6746
  meta: searchMeta,