@memnexus-ai/typescript-sdk 1.20.9 → 1.21.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.js CHANGED
@@ -3870,7 +3870,17 @@ var memory = z.object({
3870
3870
  /** Basis for the confidence score */
3871
3871
  confidenceBasis: z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
3872
3872
  /** Effective state of the memory in the narrative */
3873
- effectiveState: z.enum(["current", "superseded", "contradicted"]).optional()
3873
+ effectiveState: z.enum(["current", "superseded", "contradicted"]).optional(),
3874
+ /** Status of automatic content extraction */
3875
+ extractionStatus: z.enum(["pending", "completed", "failed", "skipped"]).optional(),
3876
+ /** When extraction was completed */
3877
+ extractionCompletedAt: z.string().datetime().optional(),
3878
+ /** Number of topics extracted from content */
3879
+ extractedTopicCount: z.number().min(0).optional(),
3880
+ /** Number of facts extracted from content */
3881
+ extractedFactCount: z.number().min(0).optional(),
3882
+ /** Number of entities extracted from content */
3883
+ extractedEntityCount: z.number().min(0).optional()
3874
3884
  });
3875
3885
  var createMemoryRequest = z.object({
3876
3886
  /** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
@@ -3945,7 +3955,17 @@ var relatedMemoryResult = z.object({
3945
3955
  /** Basis for the confidence score */
3946
3956
  confidenceBasis: z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
3947
3957
  /** Effective state of the memory in the narrative */
3948
- effectiveState: z.enum(["current", "superseded", "contradicted"]).optional()
3958
+ effectiveState: z.enum(["current", "superseded", "contradicted"]).optional(),
3959
+ /** Status of automatic content extraction */
3960
+ extractionStatus: z.enum(["pending", "completed", "failed", "skipped"]).optional(),
3961
+ /** When extraction was completed */
3962
+ extractionCompletedAt: z.string().datetime().optional(),
3963
+ /** Number of topics extracted from content */
3964
+ extractedTopicCount: z.number().min(0).optional(),
3965
+ /** Number of facts extracted from content */
3966
+ extractedFactCount: z.number().min(0).optional(),
3967
+ /** Number of entities extracted from content */
3968
+ extractedEntityCount: z.number().min(0).optional()
3949
3969
  }),
3950
3970
  /** Relevance score (0-1). For similar: semantic similarity. For related: topic overlap ratio. For conversation: position score. */
3951
3971
  score: z.number().min(0).max(1),
@@ -4167,7 +4187,17 @@ var searchResult = z.lazy(() => z.object({
4167
4187
  /** Basis for the confidence score */
4168
4188
  confidenceBasis: z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
4169
4189
  /** Effective state of the memory in the narrative */
4170
- effectiveState: z.enum(["current", "superseded", "contradicted"]).optional()
4190
+ effectiveState: z.enum(["current", "superseded", "contradicted"]).optional(),
4191
+ /** Status of automatic content extraction */
4192
+ extractionStatus: z.enum(["pending", "completed", "failed", "skipped"]).optional(),
4193
+ /** When extraction was completed */
4194
+ extractionCompletedAt: z.string().datetime().optional(),
4195
+ /** Number of topics extracted from content */
4196
+ extractedTopicCount: z.number().min(0).optional(),
4197
+ /** Number of facts extracted from content */
4198
+ extractedFactCount: z.number().min(0).optional(),
4199
+ /** Number of entities extracted from content */
4200
+ extractedEntityCount: z.number().min(0).optional()
4171
4201
  }),
4172
4202
  /** Relevance score for this result */
4173
4203
  score: z.number(),
@@ -4463,7 +4493,17 @@ var narrativeMemory = z.object({
4463
4493
  /** Basis for the confidence score */
4464
4494
  confidenceBasis: z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
4465
4495
  /** Effective state of the memory in the narrative */
4466
- effectiveState: z.enum(["current", "superseded", "contradicted"]).optional()
4496
+ effectiveState: z.enum(["current", "superseded", "contradicted"]).optional(),
4497
+ /** Status of automatic content extraction */
4498
+ extractionStatus: z.enum(["pending", "completed", "failed", "skipped"]).optional(),
4499
+ /** When extraction was completed */
4500
+ extractionCompletedAt: z.string().datetime().optional(),
4501
+ /** Number of topics extracted from content */
4502
+ extractedTopicCount: z.number().min(0).optional(),
4503
+ /** Number of facts extracted from content */
4504
+ extractedFactCount: z.number().min(0).optional(),
4505
+ /** Number of entities extracted from content */
4506
+ extractedEntityCount: z.number().min(0).optional()
4467
4507
  }),
4468
4508
  /** Position of this memory in the narrative (0-indexed) */
4469
4509
  position: z.number().min(0),