@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.cjs CHANGED
@@ -3974,7 +3974,17 @@ var memory = import_zod.z.object({
3974
3974
  /** Basis for the confidence score */
3975
3975
  confidenceBasis: import_zod.z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
3976
3976
  /** Effective state of the memory in the narrative */
3977
- effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional()
3977
+ effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional(),
3978
+ /** Status of automatic content extraction */
3979
+ extractionStatus: import_zod.z.enum(["pending", "completed", "failed", "skipped"]).optional(),
3980
+ /** When extraction was completed */
3981
+ extractionCompletedAt: import_zod.z.string().datetime().optional(),
3982
+ /** Number of topics extracted from content */
3983
+ extractedTopicCount: import_zod.z.number().min(0).optional(),
3984
+ /** Number of facts extracted from content */
3985
+ extractedFactCount: import_zod.z.number().min(0).optional(),
3986
+ /** Number of entities extracted from content */
3987
+ extractedEntityCount: import_zod.z.number().min(0).optional()
3978
3988
  });
3979
3989
  var createMemoryRequest = import_zod.z.object({
3980
3990
  /** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
@@ -4049,7 +4059,17 @@ var relatedMemoryResult = import_zod.z.object({
4049
4059
  /** Basis for the confidence score */
4050
4060
  confidenceBasis: import_zod.z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
4051
4061
  /** Effective state of the memory in the narrative */
4052
- effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional()
4062
+ effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional(),
4063
+ /** Status of automatic content extraction */
4064
+ extractionStatus: import_zod.z.enum(["pending", "completed", "failed", "skipped"]).optional(),
4065
+ /** When extraction was completed */
4066
+ extractionCompletedAt: import_zod.z.string().datetime().optional(),
4067
+ /** Number of topics extracted from content */
4068
+ extractedTopicCount: import_zod.z.number().min(0).optional(),
4069
+ /** Number of facts extracted from content */
4070
+ extractedFactCount: import_zod.z.number().min(0).optional(),
4071
+ /** Number of entities extracted from content */
4072
+ extractedEntityCount: import_zod.z.number().min(0).optional()
4053
4073
  }),
4054
4074
  /** Relevance score (0-1). For similar: semantic similarity. For related: topic overlap ratio. For conversation: position score. */
4055
4075
  score: import_zod.z.number().min(0).max(1),
@@ -4271,7 +4291,17 @@ var searchResult = import_zod.z.lazy(() => import_zod.z.object({
4271
4291
  /** Basis for the confidence score */
4272
4292
  confidenceBasis: import_zod.z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
4273
4293
  /** Effective state of the memory in the narrative */
4274
- effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional()
4294
+ effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional(),
4295
+ /** Status of automatic content extraction */
4296
+ extractionStatus: import_zod.z.enum(["pending", "completed", "failed", "skipped"]).optional(),
4297
+ /** When extraction was completed */
4298
+ extractionCompletedAt: import_zod.z.string().datetime().optional(),
4299
+ /** Number of topics extracted from content */
4300
+ extractedTopicCount: import_zod.z.number().min(0).optional(),
4301
+ /** Number of facts extracted from content */
4302
+ extractedFactCount: import_zod.z.number().min(0).optional(),
4303
+ /** Number of entities extracted from content */
4304
+ extractedEntityCount: import_zod.z.number().min(0).optional()
4275
4305
  }),
4276
4306
  /** Relevance score for this result */
4277
4307
  score: import_zod.z.number(),
@@ -4567,7 +4597,17 @@ var narrativeMemory = import_zod.z.object({
4567
4597
  /** Basis for the confidence score */
4568
4598
  confidenceBasis: import_zod.z.enum(["direct-statement", "repeated-mention", "single-mention", "hedged", "inference", "external-source", "contradicted"]).optional(),
4569
4599
  /** Effective state of the memory in the narrative */
4570
- effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional()
4600
+ effectiveState: import_zod.z.enum(["current", "superseded", "contradicted"]).optional(),
4601
+ /** Status of automatic content extraction */
4602
+ extractionStatus: import_zod.z.enum(["pending", "completed", "failed", "skipped"]).optional(),
4603
+ /** When extraction was completed */
4604
+ extractionCompletedAt: import_zod.z.string().datetime().optional(),
4605
+ /** Number of topics extracted from content */
4606
+ extractedTopicCount: import_zod.z.number().min(0).optional(),
4607
+ /** Number of facts extracted from content */
4608
+ extractedFactCount: import_zod.z.number().min(0).optional(),
4609
+ /** Number of entities extracted from content */
4610
+ extractedEntityCount: import_zod.z.number().min(0).optional()
4571
4611
  }),
4572
4612
  /** Position of this memory in the narrative (0-indexed) */
4573
4613
  position: import_zod.z.number().min(0),