@memnexus-ai/typescript-sdk 1.66.13 → 1.67.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 CHANGED
@@ -4084,6 +4084,8 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4084
4084
  updatedAt: z.ZodOptional<z.ZodString>;
4085
4085
  /** Effective state of the memory */
4086
4086
  effectiveState: z.ZodOptional<z.ZodString>;
4087
+ /** Human-readable caveat present ONLY on results with effectiveState='superseded' (v2.76, #4611). Supersession is session-granular: a memory is marked superseded when ANY fact in it was later updated, so most of its facts are typically still accurate. This notice says the session was partially updated; individual outdated lines in summary_facts are marked [SUPERSEDED] with the newer value quoted inline. Additive and optional — absent on current results, and absent entirely unless SUPERSEDED_RETRIEVAL_MODE='demote'. */
4088
+ supersessionNotice: z.ZodOptional<z.ZodString>;
4087
4089
  /** Confidence score (0-1) */
4088
4090
  confidenceScore: z.ZodOptional<z.ZodNumber>;
4089
4091
  /** Overall relevance score for this result */
@@ -4185,6 +4187,7 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4185
4187
  predicate: string;
4186
4188
  confidence?: number | undefined;
4187
4189
  }[] | undefined;
4190
+ supersessionNotice?: string | undefined;
4188
4191
  hybridScore?: number | null | undefined;
4189
4192
  vectorScore?: number | undefined;
4190
4193
  vectorRank?: number | null | undefined;
@@ -4225,6 +4228,7 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4225
4228
  predicate: string;
4226
4229
  confidence?: number | undefined;
4227
4230
  }[] | undefined;
4231
+ supersessionNotice?: string | undefined;
4228
4232
  hybridScore?: number | null | undefined;
4229
4233
  vectorScore?: number | undefined;
4230
4234
  vectorRank?: number | null | undefined;
@@ -4687,6 +4691,8 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4687
4691
  updatedAt: z.ZodOptional<z.ZodString>;
4688
4692
  /** Effective state of the memory */
4689
4693
  effectiveState: z.ZodOptional<z.ZodString>;
4694
+ /** Human-readable caveat present ONLY on results with effectiveState='superseded' (v2.76, #4611). Supersession is session-granular: a memory is marked superseded when ANY fact in it was later updated, so most of its facts are typically still accurate. This notice says the session was partially updated; individual outdated lines in summary_facts are marked [SUPERSEDED] with the newer value quoted inline. Additive and optional — absent on current results, and absent entirely unless SUPERSEDED_RETRIEVAL_MODE='demote'. */
4695
+ supersessionNotice: z.ZodOptional<z.ZodString>;
4690
4696
  /** Confidence score (0-1) */
4691
4697
  confidenceScore: z.ZodOptional<z.ZodNumber>;
4692
4698
  /** Overall relevance score for this result */
@@ -4788,6 +4794,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4788
4794
  predicate: string;
4789
4795
  confidence?: number | undefined;
4790
4796
  }[] | undefined;
4797
+ supersessionNotice?: string | undefined;
4791
4798
  hybridScore?: number | null | undefined;
4792
4799
  vectorScore?: number | undefined;
4793
4800
  vectorRank?: number | null | undefined;
@@ -4828,6 +4835,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4828
4835
  predicate: string;
4829
4836
  confidence?: number | undefined;
4830
4837
  }[] | undefined;
4838
+ supersessionNotice?: string | undefined;
4831
4839
  hybridScore?: number | null | undefined;
4832
4840
  vectorScore?: number | undefined;
4833
4841
  vectorRank?: number | null | undefined;
@@ -5155,6 +5163,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
5155
5163
  predicate: string;
5156
5164
  confidence?: number | undefined;
5157
5165
  }[] | undefined;
5166
+ supersessionNotice?: string | undefined;
5158
5167
  hybridScore?: number | null | undefined;
5159
5168
  vectorScore?: number | undefined;
5160
5169
  vectorRank?: number | null | undefined;
@@ -5253,6 +5262,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
5253
5262
  predicate: string;
5254
5263
  confidence?: number | undefined;
5255
5264
  }[] | undefined;
5265
+ supersessionNotice?: string | undefined;
5256
5266
  hybridScore?: number | null | undefined;
5257
5267
  vectorScore?: number | undefined;
5258
5268
  vectorRank?: number | null | undefined;
package/dist/index.d.ts CHANGED
@@ -4084,6 +4084,8 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4084
4084
  updatedAt: z.ZodOptional<z.ZodString>;
4085
4085
  /** Effective state of the memory */
4086
4086
  effectiveState: z.ZodOptional<z.ZodString>;
4087
+ /** Human-readable caveat present ONLY on results with effectiveState='superseded' (v2.76, #4611). Supersession is session-granular: a memory is marked superseded when ANY fact in it was later updated, so most of its facts are typically still accurate. This notice says the session was partially updated; individual outdated lines in summary_facts are marked [SUPERSEDED] with the newer value quoted inline. Additive and optional — absent on current results, and absent entirely unless SUPERSEDED_RETRIEVAL_MODE='demote'. */
4088
+ supersessionNotice: z.ZodOptional<z.ZodString>;
4087
4089
  /** Confidence score (0-1) */
4088
4090
  confidenceScore: z.ZodOptional<z.ZodNumber>;
4089
4091
  /** Overall relevance score for this result */
@@ -4185,6 +4187,7 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4185
4187
  predicate: string;
4186
4188
  confidence?: number | undefined;
4187
4189
  }[] | undefined;
4190
+ supersessionNotice?: string | undefined;
4188
4191
  hybridScore?: number | null | undefined;
4189
4192
  vectorScore?: number | undefined;
4190
4193
  vectorRank?: number | null | undefined;
@@ -4225,6 +4228,7 @@ declare const searchResult: z.ZodLazy<z.ZodObject<{
4225
4228
  predicate: string;
4226
4229
  confidence?: number | undefined;
4227
4230
  }[] | undefined;
4231
+ supersessionNotice?: string | undefined;
4228
4232
  hybridScore?: number | null | undefined;
4229
4233
  vectorScore?: number | undefined;
4230
4234
  vectorRank?: number | null | undefined;
@@ -4687,6 +4691,8 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4687
4691
  updatedAt: z.ZodOptional<z.ZodString>;
4688
4692
  /** Effective state of the memory */
4689
4693
  effectiveState: z.ZodOptional<z.ZodString>;
4694
+ /** Human-readable caveat present ONLY on results with effectiveState='superseded' (v2.76, #4611). Supersession is session-granular: a memory is marked superseded when ANY fact in it was later updated, so most of its facts are typically still accurate. This notice says the session was partially updated; individual outdated lines in summary_facts are marked [SUPERSEDED] with the newer value quoted inline. Additive and optional — absent on current results, and absent entirely unless SUPERSEDED_RETRIEVAL_MODE='demote'. */
4695
+ supersessionNotice: z.ZodOptional<z.ZodString>;
4690
4696
  /** Confidence score (0-1) */
4691
4697
  confidenceScore: z.ZodOptional<z.ZodNumber>;
4692
4698
  /** Overall relevance score for this result */
@@ -4788,6 +4794,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4788
4794
  predicate: string;
4789
4795
  confidence?: number | undefined;
4790
4796
  }[] | undefined;
4797
+ supersessionNotice?: string | undefined;
4791
4798
  hybridScore?: number | null | undefined;
4792
4799
  vectorScore?: number | undefined;
4793
4800
  vectorRank?: number | null | undefined;
@@ -4828,6 +4835,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
4828
4835
  predicate: string;
4829
4836
  confidence?: number | undefined;
4830
4837
  }[] | undefined;
4838
+ supersessionNotice?: string | undefined;
4831
4839
  hybridScore?: number | null | undefined;
4832
4840
  vectorScore?: number | undefined;
4833
4841
  vectorRank?: number | null | undefined;
@@ -5155,6 +5163,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
5155
5163
  predicate: string;
5156
5164
  confidence?: number | undefined;
5157
5165
  }[] | undefined;
5166
+ supersessionNotice?: string | undefined;
5158
5167
  hybridScore?: number | null | undefined;
5159
5168
  vectorScore?: number | undefined;
5160
5169
  vectorRank?: number | null | undefined;
@@ -5253,6 +5262,7 @@ declare const searchResponse: z.ZodLazy<z.ZodObject<{
5253
5262
  predicate: string;
5254
5263
  confidence?: number | undefined;
5255
5264
  }[] | undefined;
5265
+ supersessionNotice?: string | undefined;
5256
5266
  hybridScore?: number | null | undefined;
5257
5267
  vectorScore?: number | undefined;
5258
5268
  vectorRank?: number | null | undefined;
package/dist/index.js CHANGED
@@ -6731,6 +6731,8 @@ var searchResult = z.lazy(() => z.object({
6731
6731
  updatedAt: z.string().datetime().optional(),
6732
6732
  /** Effective state of the memory */
6733
6733
  effectiveState: z.string().optional(),
6734
+ /** Human-readable caveat present ONLY on results with effectiveState='superseded' (v2.76, #4611). Supersession is session-granular: a memory is marked superseded when ANY fact in it was later updated, so most of its facts are typically still accurate. This notice says the session was partially updated; individual outdated lines in summary_facts are marked [SUPERSEDED] with the newer value quoted inline. Additive and optional — absent on current results, and absent entirely unless SUPERSEDED_RETRIEVAL_MODE='demote'. */
6735
+ supersessionNotice: z.string().optional(),
6734
6736
  /** Confidence score (0-1) */
6735
6737
  confidenceScore: z.number().min(0).max(1).optional(),
6736
6738
  /** Overall relevance score for this result */