@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.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6810,7 +6810,7 @@ var searchRequest = import_zod.z.object({
|
|
|
6810
6810
|
expandEntities: import_zod.z.boolean().optional(),
|
|
6811
6811
|
/** Enable topic graph traversal branch in hybrid search (default true) */
|
|
6812
6812
|
expandTopics: import_zod.z.boolean().optional(),
|
|
6813
|
-
/** Enable fact graph traversal branch in hybrid search (default
|
|
6813
|
+
/** Enable fact graph traversal branch in hybrid search (default false) */
|
|
6814
6814
|
expandFacts: import_zod.z.boolean().optional(),
|
|
6815
6815
|
/** Include superseded and contradicted memories in results (default false) */
|
|
6816
6816
|
includeSuperseded: import_zod.z.boolean().optional(),
|
|
@@ -7542,12 +7542,12 @@ var digestRequest = import_zod.z.object({
|
|
|
7542
7542
|
recent: import_zod.z.string().optional(),
|
|
7543
7543
|
/** Filter to memories with these topics */
|
|
7544
7544
|
topics: import_zod.z.array(import_zod.z.string()).optional(),
|
|
7545
|
-
/** Limit to specific conversation IDs */
|
|
7546
|
-
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(),
|
|
7547
7547
|
/** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
|
|
7548
7548
|
format: import_zod.z.enum(["structured", "narrative", "timeline", "status-report"]).optional(),
|
|
7549
|
-
/** Maximum number of memories to consider (1-
|
|
7550
|
-
maxSources: import_zod.z.number().min(1).max(
|
|
7549
|
+
/** Maximum number of memories to consider (1-100, default 100) */
|
|
7550
|
+
maxSources: import_zod.z.number().min(1).max(100).optional(),
|
|
7551
7551
|
/** Whether to include source memory IDs in the response */
|
|
7552
7552
|
includeMemoryIds: import_zod.z.boolean().optional(),
|
|
7553
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. */
|