@memnexus-ai/typescript-sdk 1.61.0 → 1.62.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
@@ -3932,7 +3932,7 @@ declare const searchRequest: z.ZodObject<{
3932
3932
  expandEntities: z.ZodOptional<z.ZodBoolean>;
3933
3933
  /** Enable topic graph traversal branch in hybrid search (default true) */
3934
3934
  expandTopics: z.ZodOptional<z.ZodBoolean>;
3935
- /** Enable fact graph traversal branch in hybrid search (default true) */
3935
+ /** Enable fact graph traversal branch in hybrid search (default false) */
3936
3936
  expandFacts: z.ZodOptional<z.ZodBoolean>;
3937
3937
  /** Include superseded and contradicted memories in results (default false) */
3938
3938
  includeSuperseded: z.ZodOptional<z.ZodBoolean>;
@@ -7641,11 +7641,11 @@ declare const digestRequest: z.ZodObject<{
7641
7641
  recent: z.ZodOptional<z.ZodString>;
7642
7642
  /** Filter to memories with these topics */
7643
7643
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7644
- /** Limit to specific conversation IDs */
7644
+ /** Limit to specific conversation IDs (max 10). Each id triggers its own hybrid search during gather, so the list is bounded to prevent a single-request memory blow-up. */
7645
7645
  conversationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7646
7646
  /** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
7647
7647
  format: z.ZodOptional<z.ZodEnum<["structured", "narrative", "timeline", "status-report"]>>;
7648
- /** Maximum number of memories to consider (1-500, default 100) */
7648
+ /** Maximum number of memories to consider (1-100, default 100) */
7649
7649
  maxSources: z.ZodOptional<z.ZodNumber>;
7650
7650
  /** Whether to include source memory IDs in the response */
7651
7651
  includeMemoryIds: z.ZodOptional<z.ZodBoolean>;
package/dist/index.d.ts CHANGED
@@ -3932,7 +3932,7 @@ declare const searchRequest: z.ZodObject<{
3932
3932
  expandEntities: z.ZodOptional<z.ZodBoolean>;
3933
3933
  /** Enable topic graph traversal branch in hybrid search (default true) */
3934
3934
  expandTopics: z.ZodOptional<z.ZodBoolean>;
3935
- /** Enable fact graph traversal branch in hybrid search (default true) */
3935
+ /** Enable fact graph traversal branch in hybrid search (default false) */
3936
3936
  expandFacts: z.ZodOptional<z.ZodBoolean>;
3937
3937
  /** Include superseded and contradicted memories in results (default false) */
3938
3938
  includeSuperseded: z.ZodOptional<z.ZodBoolean>;
@@ -7641,11 +7641,11 @@ declare const digestRequest: z.ZodObject<{
7641
7641
  recent: z.ZodOptional<z.ZodString>;
7642
7642
  /** Filter to memories with these topics */
7643
7643
  topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7644
- /** Limit to specific conversation IDs */
7644
+ /** Limit to specific conversation IDs (max 10). Each id triggers its own hybrid search during gather, so the list is bounded to prevent a single-request memory blow-up. */
7645
7645
  conversationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7646
7646
  /** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
7647
7647
  format: z.ZodOptional<z.ZodEnum<["structured", "narrative", "timeline", "status-report"]>>;
7648
- /** Maximum number of memories to consider (1-500, default 100) */
7648
+ /** Maximum number of memories to consider (1-100, default 100) */
7649
7649
  maxSources: z.ZodOptional<z.ZodNumber>;
7650
7650
  /** Whether to include source memory IDs in the response */
7651
7651
  includeMemoryIds: z.ZodOptional<z.ZodBoolean>;
package/dist/index.js CHANGED
@@ -6657,7 +6657,7 @@ var searchRequest = z.object({
6657
6657
  expandEntities: z.boolean().optional(),
6658
6658
  /** Enable topic graph traversal branch in hybrid search (default true) */
6659
6659
  expandTopics: z.boolean().optional(),
6660
- /** Enable fact graph traversal branch in hybrid search (default true) */
6660
+ /** Enable fact graph traversal branch in hybrid search (default false) */
6661
6661
  expandFacts: z.boolean().optional(),
6662
6662
  /** Include superseded and contradicted memories in results (default false) */
6663
6663
  includeSuperseded: z.boolean().optional(),
@@ -7389,12 +7389,12 @@ var digestRequest = z.object({
7389
7389
  recent: z.string().optional(),
7390
7390
  /** Filter to memories with these topics */
7391
7391
  topics: z.array(z.string()).optional(),
7392
- /** Limit to specific conversation IDs */
7393
- conversationIds: z.array(z.string()).optional(),
7392
+ /** Limit to specific conversation IDs (max 10). Each id triggers its own hybrid search during gather, so the list is bounded to prevent a single-request memory blow-up. */
7393
+ conversationIds: z.array(z.string()).max(10).optional(),
7394
7394
  /** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
7395
7395
  format: z.enum(["structured", "narrative", "timeline", "status-report"]).optional(),
7396
- /** Maximum number of memories to consider (1-500, default 100) */
7397
- maxSources: z.number().min(1).max(500).optional(),
7396
+ /** Maximum number of memories to consider (1-100, default 100) */
7397
+ maxSources: z.number().min(1).max(100).optional(),
7398
7398
  /** Whether to include source memory IDs in the response */
7399
7399
  includeMemoryIds: z.boolean().optional(),
7400
7400
  /** Number of most-recent matching memories to return VERBATIM (full stored content, untouched) in `recentMemories`, instead of synthesizing them into `digest`. The remaining (older) memories are still synthesized into `digest` as usual. Recency is determined by event time when present, else system timestamp, else creation time. Default 0 = current behavior (synthesize all memories, `recentMemories` empty). When the total matched count is <= verbatimRecent, all matches are returned in `recentMemories` and `digest` is an empty string (no older memories to synthesize). Range 0-50. */