@memnexus-ai/typescript-sdk 1.60.37 → 1.62.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 CHANGED
@@ -6829,7 +6829,9 @@ var searchRequest = import_zod.z.object({
6829
6829
  /** Sort order: 'asc' or 'desc' (defaults to 'desc' for timestamps, 'desc' for relevance) */
6830
6830
  order: import_zod.z.enum(["asc", "desc"]).optional(),
6831
6831
  /** Include facet aggregation (topics, memoryType, effectiveState) in response (defaults to false) */
6832
- includeFacets: import_zod.z.boolean().optional()
6832
+ includeFacets: import_zod.z.boolean().optional(),
6833
+ /** EXPERIMENTAL — dev-measurement only. Per-request override of the server serving-format mode, used by the eval harness to run control/treatment arms in one pass. Honored ONLY when the server has SERVING_FORMAT_PARAM_ENABLED=true (dev); otherwise silently ignored (no error). 'raw' serves the original content; 'claims_replace' serves bullet-joined claims as content with the original preserved in raw_content (falls back to raw per-result when a result has no claims). Not for production use. */
6834
+ servingFormat: import_zod.z.enum(["raw", "claims_replace"]).optional()
6833
6835
  });
6834
6836
  var entity = import_zod.z.object({
6835
6837
  /** Entity name */
@@ -7540,12 +7542,12 @@ var digestRequest = import_zod.z.object({
7540
7542
  recent: import_zod.z.string().optional(),
7541
7543
  /** Filter to memories with these topics */
7542
7544
  topics: import_zod.z.array(import_zod.z.string()).optional(),
7543
- /** Limit to specific conversation IDs */
7544
- conversationIds: import_zod.z.array(import_zod.z.string()).optional(),
7545
+ /** 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. */
7546
+ conversationIds: import_zod.z.array(import_zod.z.string()).max(10).optional(),
7545
7547
  /** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
7546
7548
  format: import_zod.z.enum(["structured", "narrative", "timeline", "status-report"]).optional(),
7547
- /** Maximum number of memories to consider (1-500, default 100) */
7548
- maxSources: import_zod.z.number().min(1).max(500).optional(),
7549
+ /** Maximum number of memories to consider (1-100, default 100) */
7550
+ maxSources: import_zod.z.number().min(1).max(100).optional(),
7549
7551
  /** Whether to include source memory IDs in the response */
7550
7552
  includeMemoryIds: import_zod.z.boolean().optional(),
7551
7553
  /** 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. */