@memnexus-ai/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.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -666,6 +666,8 @@ interface SearchRequest {
|
|
|
666
666
|
order?: 'asc' | 'desc';
|
|
667
667
|
/** Include facet aggregation (topics, memoryType, effectiveState) in response (defaults to false) */
|
|
668
668
|
includeFacets?: boolean;
|
|
669
|
+
/** 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. */
|
|
670
|
+
servingFormat?: 'raw' | 'claims_replace';
|
|
669
671
|
}
|
|
670
672
|
interface Entity {
|
|
671
673
|
/** Entity name */
|
|
@@ -1296,11 +1298,11 @@ interface DigestRequest {
|
|
|
1296
1298
|
recent?: string;
|
|
1297
1299
|
/** Filter to memories with these topics */
|
|
1298
1300
|
topics?: string[];
|
|
1299
|
-
/** Limit to specific conversation IDs */
|
|
1301
|
+
/** 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. */
|
|
1300
1302
|
conversationIds?: string[];
|
|
1301
1303
|
/** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
|
|
1302
1304
|
format?: 'structured' | 'narrative' | 'timeline' | 'status-report';
|
|
1303
|
-
/** Maximum number of memories to consider (1-
|
|
1305
|
+
/** Maximum number of memories to consider (1-100, default 100) */
|
|
1304
1306
|
maxSources?: number;
|
|
1305
1307
|
/** Whether to include source memory IDs in the response */
|
|
1306
1308
|
includeMemoryIds?: boolean;
|
|
@@ -2703,6 +2705,7 @@ declare class Memories {
|
|
|
2703
2705
|
sortBy?: 'relevance' | 'createdAt' | 'updatedAt' | 'eventTime';
|
|
2704
2706
|
order?: 'asc' | 'desc';
|
|
2705
2707
|
includeFacets?: boolean;
|
|
2708
|
+
servingFormat?: 'raw' | 'claims_replace';
|
|
2706
2709
|
}): Promise<HttpResponse<{
|
|
2707
2710
|
data: SearchResult[];
|
|
2708
2711
|
meta: SearchMeta;
|
package/dist/index.d.ts
CHANGED
|
@@ -666,6 +666,8 @@ interface SearchRequest {
|
|
|
666
666
|
order?: 'asc' | 'desc';
|
|
667
667
|
/** Include facet aggregation (topics, memoryType, effectiveState) in response (defaults to false) */
|
|
668
668
|
includeFacets?: boolean;
|
|
669
|
+
/** 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. */
|
|
670
|
+
servingFormat?: 'raw' | 'claims_replace';
|
|
669
671
|
}
|
|
670
672
|
interface Entity {
|
|
671
673
|
/** Entity name */
|
|
@@ -1296,11 +1298,11 @@ interface DigestRequest {
|
|
|
1296
1298
|
recent?: string;
|
|
1297
1299
|
/** Filter to memories with these topics */
|
|
1298
1300
|
topics?: string[];
|
|
1299
|
-
/** Limit to specific conversation IDs */
|
|
1301
|
+
/** 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. */
|
|
1300
1302
|
conversationIds?: string[];
|
|
1301
1303
|
/** Output format: "structured" (sections with headers), "narrative" (chronological prose), "timeline" (dated event list), "status-report" (done/in-progress/blocked) */
|
|
1302
1304
|
format?: 'structured' | 'narrative' | 'timeline' | 'status-report';
|
|
1303
|
-
/** Maximum number of memories to consider (1-
|
|
1305
|
+
/** Maximum number of memories to consider (1-100, default 100) */
|
|
1304
1306
|
maxSources?: number;
|
|
1305
1307
|
/** Whether to include source memory IDs in the response */
|
|
1306
1308
|
includeMemoryIds?: boolean;
|
|
@@ -2703,6 +2705,7 @@ declare class Memories {
|
|
|
2703
2705
|
sortBy?: 'relevance' | 'createdAt' | 'updatedAt' | 'eventTime';
|
|
2704
2706
|
order?: 'asc' | 'desc';
|
|
2705
2707
|
includeFacets?: boolean;
|
|
2708
|
+
servingFormat?: 'raw' | 'claims_replace';
|
|
2706
2709
|
}): Promise<HttpResponse<{
|
|
2707
2710
|
data: SearchResult[];
|
|
2708
2711
|
meta: SearchMeta;
|