@memnexus-ai/typescript-sdk 1.58.9 → 1.59.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.d.ts CHANGED
@@ -353,6 +353,8 @@ declare const memory: z.ZodLazy<z.ZodObject<{
353
353
  content: z.ZodString;
354
354
  /** Type of memory */
355
355
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
356
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
357
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
356
358
  /** Context or domain of the memory */
357
359
  context: z.ZodOptional<z.ZodString>;
358
360
  /** Associated topics */
@@ -497,6 +499,7 @@ declare const memory: z.ZodLazy<z.ZodObject<{
497
499
  updatedAt: string;
498
500
  name?: string | undefined;
499
501
  version?: number | undefined;
502
+ memoryTypeUserSet?: boolean | undefined;
500
503
  context?: string | undefined;
501
504
  topics?: string[] | undefined;
502
505
  timestamp?: string | undefined;
@@ -560,6 +563,7 @@ declare const memory: z.ZodLazy<z.ZodObject<{
560
563
  updatedAt: string;
561
564
  name?: string | undefined;
562
565
  version?: number | undefined;
566
+ memoryTypeUserSet?: boolean | undefined;
563
567
  context?: string | undefined;
564
568
  topics?: string[] | undefined;
565
569
  timestamp?: string | undefined;
@@ -889,6 +893,8 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
889
893
  content: z.ZodString;
890
894
  /** Type of memory */
891
895
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
896
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
897
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
892
898
  /** Context or domain of the memory */
893
899
  context: z.ZodOptional<z.ZodString>;
894
900
  /** Associated topics */
@@ -1033,6 +1039,7 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
1033
1039
  updatedAt: string;
1034
1040
  name?: string | undefined;
1035
1041
  version?: number | undefined;
1042
+ memoryTypeUserSet?: boolean | undefined;
1036
1043
  context?: string | undefined;
1037
1044
  topics?: string[] | undefined;
1038
1045
  timestamp?: string | undefined;
@@ -1096,6 +1103,7 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
1096
1103
  updatedAt: string;
1097
1104
  name?: string | undefined;
1098
1105
  version?: number | undefined;
1106
+ memoryTypeUserSet?: boolean | undefined;
1099
1107
  context?: string | undefined;
1100
1108
  topics?: string[] | undefined;
1101
1109
  timestamp?: string | undefined;
@@ -1181,6 +1189,7 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
1181
1189
  updatedAt: string;
1182
1190
  name?: string | undefined;
1183
1191
  version?: number | undefined;
1192
+ memoryTypeUserSet?: boolean | undefined;
1184
1193
  context?: string | undefined;
1185
1194
  topics?: string[] | undefined;
1186
1195
  timestamp?: string | undefined;
@@ -1252,6 +1261,7 @@ declare const createMemoryResponse: z.ZodLazy<z.ZodObject<{
1252
1261
  updatedAt: string;
1253
1262
  name?: string | undefined;
1254
1263
  version?: number | undefined;
1264
+ memoryTypeUserSet?: boolean | undefined;
1255
1265
  context?: string | undefined;
1256
1266
  topics?: string[] | undefined;
1257
1267
  timestamp?: string | undefined;
@@ -1327,6 +1337,8 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
1327
1337
  content: z.ZodString;
1328
1338
  /** Type of memory */
1329
1339
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
1340
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
1341
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
1330
1342
  /** Context or domain of the memory */
1331
1343
  context: z.ZodOptional<z.ZodString>;
1332
1344
  /** Associated topics */
@@ -1471,6 +1483,7 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
1471
1483
  updatedAt: string;
1472
1484
  name?: string | undefined;
1473
1485
  version?: number | undefined;
1486
+ memoryTypeUserSet?: boolean | undefined;
1474
1487
  context?: string | undefined;
1475
1488
  topics?: string[] | undefined;
1476
1489
  timestamp?: string | undefined;
@@ -1534,6 +1547,7 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
1534
1547
  updatedAt: string;
1535
1548
  name?: string | undefined;
1536
1549
  version?: number | undefined;
1550
+ memoryTypeUserSet?: boolean | undefined;
1537
1551
  context?: string | undefined;
1538
1552
  topics?: string[] | undefined;
1539
1553
  timestamp?: string | undefined;
@@ -1605,6 +1619,7 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
1605
1619
  updatedAt: string;
1606
1620
  name?: string | undefined;
1607
1621
  version?: number | undefined;
1622
+ memoryTypeUserSet?: boolean | undefined;
1608
1623
  context?: string | undefined;
1609
1624
  topics?: string[] | undefined;
1610
1625
  timestamp?: string | undefined;
@@ -1673,6 +1688,7 @@ declare const relatedMemoryResult: z.ZodLazy<z.ZodObject<{
1673
1688
  updatedAt: string;
1674
1689
  name?: string | undefined;
1675
1690
  version?: number | undefined;
1691
+ memoryTypeUserSet?: boolean | undefined;
1676
1692
  context?: string | undefined;
1677
1693
  topics?: string[] | undefined;
1678
1694
  timestamp?: string | undefined;
@@ -1748,6 +1764,8 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
1748
1764
  content: z.ZodString;
1749
1765
  /** Type of memory */
1750
1766
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
1767
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
1768
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
1751
1769
  /** Context or domain of the memory */
1752
1770
  context: z.ZodOptional<z.ZodString>;
1753
1771
  /** Associated topics */
@@ -1892,6 +1910,7 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
1892
1910
  updatedAt: string;
1893
1911
  name?: string | undefined;
1894
1912
  version?: number | undefined;
1913
+ memoryTypeUserSet?: boolean | undefined;
1895
1914
  context?: string | undefined;
1896
1915
  topics?: string[] | undefined;
1897
1916
  timestamp?: string | undefined;
@@ -1955,6 +1974,7 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
1955
1974
  updatedAt: string;
1956
1975
  name?: string | undefined;
1957
1976
  version?: number | undefined;
1977
+ memoryTypeUserSet?: boolean | undefined;
1958
1978
  context?: string | undefined;
1959
1979
  topics?: string[] | undefined;
1960
1980
  timestamp?: string | undefined;
@@ -2020,6 +2040,7 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
2020
2040
  updatedAt: string;
2021
2041
  name?: string | undefined;
2022
2042
  version?: number | undefined;
2043
+ memoryTypeUserSet?: boolean | undefined;
2023
2044
  context?: string | undefined;
2024
2045
  topics?: string[] | undefined;
2025
2046
  timestamp?: string | undefined;
@@ -2085,6 +2106,7 @@ declare const getMemoryResponse: z.ZodLazy<z.ZodObject<{
2085
2106
  updatedAt: string;
2086
2107
  name?: string | undefined;
2087
2108
  version?: number | undefined;
2109
+ memoryTypeUserSet?: boolean | undefined;
2088
2110
  context?: string | undefined;
2089
2111
  topics?: string[] | undefined;
2090
2112
  timestamp?: string | undefined;
@@ -2391,6 +2413,8 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
2391
2413
  content: z.ZodString;
2392
2414
  /** Type of memory */
2393
2415
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
2416
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
2417
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
2394
2418
  /** Context or domain of the memory */
2395
2419
  context: z.ZodOptional<z.ZodString>;
2396
2420
  /** Associated topics */
@@ -2535,6 +2559,7 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
2535
2559
  updatedAt: string;
2536
2560
  name?: string | undefined;
2537
2561
  version?: number | undefined;
2562
+ memoryTypeUserSet?: boolean | undefined;
2538
2563
  context?: string | undefined;
2539
2564
  topics?: string[] | undefined;
2540
2565
  timestamp?: string | undefined;
@@ -2598,6 +2623,7 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
2598
2623
  updatedAt: string;
2599
2624
  name?: string | undefined;
2600
2625
  version?: number | undefined;
2626
+ memoryTypeUserSet?: boolean | undefined;
2601
2627
  context?: string | undefined;
2602
2628
  topics?: string[] | undefined;
2603
2629
  timestamp?: string | undefined;
@@ -2679,6 +2705,7 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
2679
2705
  updatedAt: string;
2680
2706
  name?: string | undefined;
2681
2707
  version?: number | undefined;
2708
+ memoryTypeUserSet?: boolean | undefined;
2682
2709
  context?: string | undefined;
2683
2710
  topics?: string[] | undefined;
2684
2711
  timestamp?: string | undefined;
@@ -2749,6 +2776,7 @@ declare const batchGetMemoriesResponse: z.ZodLazy<z.ZodObject<{
2749
2776
  updatedAt: string;
2750
2777
  name?: string | undefined;
2751
2778
  version?: number | undefined;
2779
+ memoryTypeUserSet?: boolean | undefined;
2752
2780
  context?: string | undefined;
2753
2781
  topics?: string[] | undefined;
2754
2782
  timestamp?: string | undefined;
@@ -2851,6 +2879,8 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
2851
2879
  content: z.ZodString;
2852
2880
  /** Type of memory */
2853
2881
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
2882
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
2883
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
2854
2884
  /** Context or domain of the memory */
2855
2885
  context: z.ZodOptional<z.ZodString>;
2856
2886
  /** Associated topics */
@@ -2995,6 +3025,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
2995
3025
  updatedAt: string;
2996
3026
  name?: string | undefined;
2997
3027
  version?: number | undefined;
3028
+ memoryTypeUserSet?: boolean | undefined;
2998
3029
  context?: string | undefined;
2999
3030
  topics?: string[] | undefined;
3000
3031
  timestamp?: string | undefined;
@@ -3058,6 +3089,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
3058
3089
  updatedAt: string;
3059
3090
  name?: string | undefined;
3060
3091
  version?: number | undefined;
3092
+ memoryTypeUserSet?: boolean | undefined;
3061
3093
  context?: string | undefined;
3062
3094
  topics?: string[] | undefined;
3063
3095
  timestamp?: string | undefined;
@@ -3133,6 +3165,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
3133
3165
  updatedAt: string;
3134
3166
  name?: string | undefined;
3135
3167
  version?: number | undefined;
3168
+ memoryTypeUserSet?: boolean | undefined;
3136
3169
  context?: string | undefined;
3137
3170
  topics?: string[] | undefined;
3138
3171
  timestamp?: string | undefined;
@@ -3202,6 +3235,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
3202
3235
  updatedAt: string;
3203
3236
  name?: string | undefined;
3204
3237
  version?: number | undefined;
3238
+ memoryTypeUserSet?: boolean | undefined;
3205
3239
  context?: string | undefined;
3206
3240
  topics?: string[] | undefined;
3207
3241
  timestamp?: string | undefined;
@@ -3301,6 +3335,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
3301
3335
  updatedAt: string;
3302
3336
  name?: string | undefined;
3303
3337
  version?: number | undefined;
3338
+ memoryTypeUserSet?: boolean | undefined;
3304
3339
  context?: string | undefined;
3305
3340
  topics?: string[] | undefined;
3306
3341
  timestamp?: string | undefined;
@@ -3379,6 +3414,7 @@ declare const graphRAGQueryResponse: z.ZodLazy<z.ZodObject<{
3379
3414
  updatedAt: string;
3380
3415
  name?: string | undefined;
3381
3416
  version?: number | undefined;
3417
+ memoryTypeUserSet?: boolean | undefined;
3382
3418
  context?: string | undefined;
3383
3419
  topics?: string[] | undefined;
3384
3420
  timestamp?: string | undefined;
@@ -5787,6 +5823,8 @@ declare const narrativeMemory: z.ZodLazy<z.ZodObject<{
5787
5823
  content: z.ZodString;
5788
5824
  /** Type of memory */
5789
5825
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
5826
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
5827
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
5790
5828
  /** Context or domain of the memory */
5791
5829
  context: z.ZodOptional<z.ZodString>;
5792
5830
  /** Associated topics */
@@ -5931,6 +5969,7 @@ declare const narrativeMemory: z.ZodLazy<z.ZodObject<{
5931
5969
  updatedAt: string;
5932
5970
  name?: string | undefined;
5933
5971
  version?: number | undefined;
5972
+ memoryTypeUserSet?: boolean | undefined;
5934
5973
  context?: string | undefined;
5935
5974
  topics?: string[] | undefined;
5936
5975
  timestamp?: string | undefined;
@@ -5994,6 +6033,7 @@ declare const narrativeMemory: z.ZodLazy<z.ZodObject<{
5994
6033
  updatedAt: string;
5995
6034
  name?: string | undefined;
5996
6035
  version?: number | undefined;
6036
+ memoryTypeUserSet?: boolean | undefined;
5997
6037
  context?: string | undefined;
5998
6038
  topics?: string[] | undefined;
5999
6039
  timestamp?: string | undefined;
@@ -6063,6 +6103,7 @@ declare const narrativeMemory: z.ZodLazy<z.ZodObject<{
6063
6103
  updatedAt: string;
6064
6104
  name?: string | undefined;
6065
6105
  version?: number | undefined;
6106
+ memoryTypeUserSet?: boolean | undefined;
6066
6107
  context?: string | undefined;
6067
6108
  topics?: string[] | undefined;
6068
6109
  timestamp?: string | undefined;
@@ -6130,6 +6171,7 @@ declare const narrativeMemory: z.ZodLazy<z.ZodObject<{
6130
6171
  updatedAt: string;
6131
6172
  name?: string | undefined;
6132
6173
  version?: number | undefined;
6174
+ memoryTypeUserSet?: boolean | undefined;
6133
6175
  context?: string | undefined;
6134
6176
  topics?: string[] | undefined;
6135
6177
  timestamp?: string | undefined;
@@ -6202,6 +6244,8 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6202
6244
  content: z.ZodString;
6203
6245
  /** Type of memory */
6204
6246
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
6247
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
6248
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
6205
6249
  /** Context or domain of the memory */
6206
6250
  context: z.ZodOptional<z.ZodString>;
6207
6251
  /** Associated topics */
@@ -6346,6 +6390,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6346
6390
  updatedAt: string;
6347
6391
  name?: string | undefined;
6348
6392
  version?: number | undefined;
6393
+ memoryTypeUserSet?: boolean | undefined;
6349
6394
  context?: string | undefined;
6350
6395
  topics?: string[] | undefined;
6351
6396
  timestamp?: string | undefined;
@@ -6409,6 +6454,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6409
6454
  updatedAt: string;
6410
6455
  name?: string | undefined;
6411
6456
  version?: number | undefined;
6457
+ memoryTypeUserSet?: boolean | undefined;
6412
6458
  context?: string | undefined;
6413
6459
  topics?: string[] | undefined;
6414
6460
  timestamp?: string | undefined;
@@ -6478,6 +6524,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6478
6524
  updatedAt: string;
6479
6525
  name?: string | undefined;
6480
6526
  version?: number | undefined;
6527
+ memoryTypeUserSet?: boolean | undefined;
6481
6528
  context?: string | undefined;
6482
6529
  topics?: string[] | undefined;
6483
6530
  timestamp?: string | undefined;
@@ -6545,6 +6592,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6545
6592
  updatedAt: string;
6546
6593
  name?: string | undefined;
6547
6594
  version?: number | undefined;
6595
+ memoryTypeUserSet?: boolean | undefined;
6548
6596
  context?: string | undefined;
6549
6597
  topics?: string[] | undefined;
6550
6598
  timestamp?: string | undefined;
@@ -6675,6 +6723,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6675
6723
  updatedAt: string;
6676
6724
  name?: string | undefined;
6677
6725
  version?: number | undefined;
6726
+ memoryTypeUserSet?: boolean | undefined;
6678
6727
  context?: string | undefined;
6679
6728
  topics?: string[] | undefined;
6680
6729
  timestamp?: string | undefined;
@@ -6762,6 +6811,7 @@ declare const narrativeTimelineResponse: z.ZodLazy<z.ZodObject<{
6762
6811
  updatedAt: string;
6763
6812
  name?: string | undefined;
6764
6813
  version?: number | undefined;
6814
+ memoryTypeUserSet?: boolean | undefined;
6765
6815
  context?: string | undefined;
6766
6816
  topics?: string[] | undefined;
6767
6817
  timestamp?: string | undefined;
@@ -7922,6 +7972,8 @@ declare const digestResponse: z.ZodLazy<z.ZodObject<{
7922
7972
  content: z.ZodString;
7923
7973
  /** Type of memory */
7924
7974
  memoryType: z.ZodEnum<["episodic", "semantic", "procedural"]>;
7975
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
7976
+ memoryTypeUserSet: z.ZodOptional<z.ZodBoolean>;
7925
7977
  /** Context or domain of the memory */
7926
7978
  context: z.ZodOptional<z.ZodString>;
7927
7979
  /** Associated topics */
@@ -8066,6 +8118,7 @@ declare const digestResponse: z.ZodLazy<z.ZodObject<{
8066
8118
  updatedAt: string;
8067
8119
  name?: string | undefined;
8068
8120
  version?: number | undefined;
8121
+ memoryTypeUserSet?: boolean | undefined;
8069
8122
  context?: string | undefined;
8070
8123
  topics?: string[] | undefined;
8071
8124
  timestamp?: string | undefined;
@@ -8129,6 +8182,7 @@ declare const digestResponse: z.ZodLazy<z.ZodObject<{
8129
8182
  updatedAt: string;
8130
8183
  name?: string | undefined;
8131
8184
  version?: number | undefined;
8185
+ memoryTypeUserSet?: boolean | undefined;
8132
8186
  context?: string | undefined;
8133
8187
  topics?: string[] | undefined;
8134
8188
  timestamp?: string | undefined;
@@ -8276,6 +8330,7 @@ declare const digestResponse: z.ZodLazy<z.ZodObject<{
8276
8330
  updatedAt: string;
8277
8331
  name?: string | undefined;
8278
8332
  version?: number | undefined;
8333
+ memoryTypeUserSet?: boolean | undefined;
8279
8334
  context?: string | undefined;
8280
8335
  topics?: string[] | undefined;
8281
8336
  timestamp?: string | undefined;
@@ -8383,6 +8438,7 @@ declare const digestResponse: z.ZodLazy<z.ZodObject<{
8383
8438
  updatedAt: string;
8384
8439
  name?: string | undefined;
8385
8440
  version?: number | undefined;
8441
+ memoryTypeUserSet?: boolean | undefined;
8386
8442
  context?: string | undefined;
8387
8443
  topics?: string[] | undefined;
8388
8444
  timestamp?: string | undefined;
@@ -10696,6 +10752,7 @@ declare class MemoriesService extends BaseService {
10696
10752
  version?: number;
10697
10753
  content: string;
10698
10754
  memoryType: 'episodic' | 'semantic' | 'procedural';
10755
+ memoryTypeUserSet?: boolean;
10699
10756
  context?: string;
10700
10757
  topics?: string[];
10701
10758
  timestamp?: string;
package/dist/index.js CHANGED
@@ -6002,6 +6002,8 @@ var memory = z.lazy(() => z.object({
6002
6002
  content: z.string(),
6003
6003
  /** Type of memory */
6004
6004
  memoryType: z.enum(["episodic", "semantic", "procedural"]),
6005
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
6006
+ memoryTypeUserSet: z.boolean().optional(),
6005
6007
  /** Context or domain of the memory */
6006
6008
  context: z.string().optional(),
6007
6009
  /** Associated topics */
@@ -6203,6 +6205,8 @@ var relatedMemoryResult = z.lazy(() => z.object({
6203
6205
  content: z.string(),
6204
6206
  /** Type of memory */
6205
6207
  memoryType: z.enum(["episodic", "semantic", "procedural"]),
6208
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
6209
+ memoryTypeUserSet: z.boolean().optional(),
6206
6210
  /** Context or domain of the memory */
6207
6211
  context: z.string().optional(),
6208
6212
  /** Associated topics */
@@ -7072,6 +7076,8 @@ var narrativeMemory = z.lazy(() => z.object({
7072
7076
  content: z.string(),
7073
7077
  /** Type of memory */
7074
7078
  memoryType: z.enum(["episodic", "semantic", "procedural"]),
7079
+ /** True when memoryType was explicitly supplied by the caller on create/update, rather than defaulted from role/name. The async graph-extraction classifier reads this to skip auto-classification of user-set types. Absent on memories written before v3.84. */
7080
+ memoryTypeUserSet: z.boolean().optional(),
7075
7081
  /** Context or domain of the memory */
7076
7082
  context: z.string().optional(),
7077
7083
  /** Associated topics */