@alicloud/agentloop20260520 2.4.2 → 2.4.3

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.
Files changed (37) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +8 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +69 -48
  5. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  6. package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
  7. package/dist/models/GetContextStoreResponseBody.d.ts +132 -55
  8. package/dist/models/GetContextStoreResponseBody.js +31 -1
  9. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  10. package/dist/models/ListContextStoresRequest.d.ts +1 -1
  11. package/dist/models/ListContextStoresResponseBody.d.ts +10 -6
  12. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  13. package/dist/models/SearchContextRequest.d.ts +8 -8
  14. package/dist/models/SearchContextResponseBody.d.ts +54 -3
  15. package/dist/models/SearchContextResponseBody.js +23 -0
  16. package/dist/models/SearchContextResponseBody.js.map +1 -1
  17. package/dist/models/UpdateContextStoreRequest.d.ts +88 -33
  18. package/dist/models/UpdateContextStoreRequest.js +6 -0
  19. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  20. package/dist/models/UpdateContextStoreResponseBody.d.ts +32 -2
  21. package/dist/models/UpdateContextStoreResponseBody.js +27 -1
  22. package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
  23. package/dist/models/model.d.ts +2 -0
  24. package/dist/models/model.js +38 -34
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +10 -2
  28. package/src/models/CreateContextStoreRequest.ts +69 -48
  29. package/src/models/CreateContextStoreResponseBody.ts +1 -1
  30. package/src/models/GetContextStoreResponseBody.ts +153 -55
  31. package/src/models/ListContextStoresRequest.ts +1 -1
  32. package/src/models/ListContextStoresResponseBody.ts +10 -6
  33. package/src/models/SearchContextRequest.ts +8 -8
  34. package/src/models/SearchContextResponseBody.ts +73 -3
  35. package/src/models/UpdateContextStoreRequest.ts +94 -33
  36. package/src/models/UpdateContextStoreResponseBody.ts +49 -2
  37. package/src/models/model.ts +2 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to write item events for dropped recall candidates. Default value: false.
8
+ * Specifies whether to write item events for dropped candidates during retrieval. Default value: false.
9
9
  *
10
10
  * @example
11
11
  * false
@@ -13,7 +13,7 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
13
13
  droppedCandidates?: boolean;
14
14
  /**
15
15
  * @remarks
16
- * The recording mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
16
+ * The recording mode for retrieval queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
17
17
  *
18
18
  * @example
19
19
  * raw
@@ -52,10 +52,50 @@ export class GetContextStoreResponseBodyConfigAudit extends $dara.Model {
52
52
  }
53
53
  }
54
54
 
55
+ export class GetContextStoreResponseBodyConfigAuditLogStore extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The name of the Logstore for the experience library audit logs.
59
+ *
60
+ * @example
61
+ * experience_audit
62
+ */
63
+ logstore?: string;
64
+ /**
65
+ * @remarks
66
+ * The name of the user SLS project where the experience library audit logs are stored.
67
+ *
68
+ * @example
69
+ * agentloop-xxx
70
+ */
71
+ project?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ logstore: 'logstore',
75
+ project: 'project',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ logstore: 'string',
82
+ project: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
55
95
  export class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $dara.Model {
56
96
  /**
57
97
  * @remarks
58
- * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
98
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
59
99
  *
60
100
  * @example
61
101
  * qwen3.8-flash
@@ -84,36 +124,57 @@ export class GetContextStoreResponseBodyConfigExtractionPoliciesModel extends $d
84
124
 
85
125
  export class GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy extends $dara.Model {
86
126
  /**
127
+ * @remarks
128
+ * The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
129
+ *
87
130
  * @example
88
131
  * ["ADD","UPDATE","MERGE","DELETE"]
89
132
  */
90
133
  allowedActions?: string[];
91
134
  /**
135
+ * @remarks
136
+ * Specifies whether to enable deduplication in event mode. Default value: true.
137
+ *
92
138
  * @example
93
139
  * true
94
140
  */
95
141
  dedupe?: boolean;
96
142
  /**
143
+ * @remarks
144
+ * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
145
+ *
97
146
  * @example
98
147
  * true
99
148
  */
100
149
  humanEditProtection?: boolean;
101
150
  /**
151
+ * @remarks
152
+ * The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
153
+ *
102
154
  * @example
103
155
  * semantic
104
156
  */
105
157
  mergeKey?: string;
106
158
  /**
159
+ * @remarks
160
+ * The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
161
+ *
107
162
  * @example
108
163
  * upsert
109
164
  */
110
165
  mode?: string;
111
166
  /**
167
+ * @remarks
168
+ * The similarity threshold for semantic merging. Valid values: 0 to 1. Default value: 0.4.
169
+ *
112
170
  * @example
113
171
  * 0.4
114
172
  */
115
173
  similarityThreshold?: number;
116
174
  /**
175
+ * @remarks
176
+ * The number of days before memories expire. A value of 0 indicates that memories do not expire.
177
+ *
117
178
  * @example
118
179
  * 0
119
180
  */
@@ -173,7 +234,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
173
234
  customInstructions?: string;
174
235
  /**
175
236
  * @remarks
176
- * Specifies whether to apply this policy to new inputs. Default value: true. Disabling the policy does not delete historical memories.
237
+ * Specifies whether to execute this policy for new input. Default value: true. Disabling the policy does not delete historical memories.
177
238
  *
178
239
  * @example
179
240
  * true
@@ -181,7 +242,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
181
242
  enabled?: boolean;
182
243
  /**
183
244
  * @remarks
184
- * The list of exclusion rules. Content that matches these rules is not extracted.
245
+ * The list of exclusion rules. Content that matches the rules is not extracted.
185
246
  *
186
247
  * @example
187
248
  * ["Password","ID number"]
@@ -208,6 +269,10 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
208
269
  * fact
209
270
  */
210
271
  preset?: string;
272
+ /**
273
+ * @remarks
274
+ * The independent storage rules for this policy. If omitted, the original value is retained. New policies use the default value. Repeatedly confirmed memories refresh the validity period by default.
275
+ */
211
276
  storagePolicy?: GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy;
212
277
  /**
213
278
  * @remarks
@@ -271,7 +336,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicies extends $dara.M
271
336
  export class GetContextStoreResponseBodyConfigExtractionPolicyModel extends $dara.Model {
272
337
  /**
273
338
  * @remarks
274
- * The name of the extraction model. Currently, only qwen3.8-flash is supported. Internal platform credentials are used.
339
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported. The platform uses internal credentials.
275
340
  *
276
341
  * @example
277
342
  * qwen3.8-flash
@@ -317,7 +382,7 @@ export class GetContextStoreResponseBodyConfigExtractionPolicy extends $dara.Mod
317
382
  customInstructions?: string;
318
383
  /**
319
384
  * @remarks
320
- * The list of exclusion rules. Content that matches these rules is not extracted.
385
+ * The list of exclusion rules. Content that matches the rules is not extracted.
321
386
  *
322
387
  * @example
323
388
  * ["Password","ID number"]
@@ -385,7 +450,7 @@ export class GetContextStoreResponseBodyConfigInnerSource extends $dara.Model {
385
450
  logstore?: string;
386
451
  /**
387
452
  * @remarks
388
- * The name of the SLS project.
453
+ * The name of the Simple Log Service (SLS) project.
389
454
  *
390
455
  * @example
391
456
  * agentloop-xxx
@@ -433,7 +498,7 @@ export class GetContextStoreResponseBodyConfigObservability extends $dara.Model
433
498
  eventsLogstore?: string;
434
499
  /**
435
500
  * @remarks
436
- * The Simple Log Service (SLS) project to which both belong, which is bound to the AgentSpace.
501
+ * The Simple Log Service (SLS) project where both resources are located, which is the project bound to the AgentSpace.
437
502
  *
438
503
  * @example
439
504
  * agentloop-xxx
@@ -467,7 +532,7 @@ export class GetContextStoreResponseBodyConfigObservability extends $dara.Model
467
532
  export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model {
468
533
  /**
469
534
  * @remarks
470
- * The AgentSpace to which the dataset belongs.
535
+ * The AgentSpace where the dataset is located.
471
536
  *
472
537
  * @example
473
538
  * my-agent-space
@@ -491,7 +556,7 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
491
556
  schemaContract?: string;
492
557
  /**
493
558
  * @remarks
494
- * The schema version.
559
+ * The version of the schema.
495
560
  *
496
561
  * @example
497
562
  * 1
@@ -527,7 +592,7 @@ export class GetContextStoreResponseBodyConfigOutputDataset extends $dara.Model
527
592
  export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
528
593
  /**
529
594
  * @remarks
530
- * Specifies that at least one of the scope fields must be non-empty. Valid values: userId, agentId, appId, and runId.
595
+ * At least one of the scope fields must be non-empty. Valid values for the elements: userId, agentId, appId, and runId.
531
596
  *
532
597
  * @example
533
598
  * ["userId"]
@@ -560,7 +625,7 @@ export class GetContextStoreResponseBodyConfigScopePolicy extends $dara.Model {
560
625
  export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends $dara.Model {
561
626
  /**
562
627
  * @remarks
563
- * The description of the field. This parameter is required when usage is extraction-input and is appended to the extraction prompt.
628
+ * The description of the field. This parameter is required when usage is set to extraction-input, and it is appended to the extraction prompt.
564
629
  *
565
630
  * @example
566
631
  * Customer tier
@@ -584,7 +649,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
584
649
  sourceField?: string;
585
650
  /**
586
651
  * @remarks
587
- * The target path for writing, such as metadata.customerTier.
652
+ * The write target path, such as metadata.customerTier.
588
653
  *
589
654
  * @example
590
655
  * metadata.customerTier
@@ -630,7 +695,7 @@ export class GetContextStoreResponseBodyConfigSourceDatasetCustomFields extends
630
695
  export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.Model {
631
696
  /**
632
697
  * @remarks
633
- * The subset of the pipeline where clause, which is pushed down to SQL.
698
+ * The subset of the pipeline where clause that is pushed down to SQL.
634
699
  *
635
700
  * @example
636
701
  * appId = \\"crm-service\\"
@@ -660,7 +725,9 @@ export class GetContextStoreResponseBodyConfigSourceDatasetFilter extends $dara.
660
725
  export class GetContextStoreResponseBodyConfigSourceDatasetVersionPolicy extends $dara.Model {
661
726
  /**
662
727
  * @remarks
663
- * The consumption mode. Valid values: follow (incremental consumption based on __dataset_seq) and fixed (full consumption of the specified ACTIVE version at once).
728
+ * The version consumption mode. Valid values:
729
+ * - follow: consumes data incrementally based on __dataset_seq.
730
+ * - fixed: consumes the specified ACTIVE version in full at once.
664
731
  *
665
732
  * @example
666
733
  * follow
@@ -715,7 +782,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
715
782
  customFields?: GetContextStoreResponseBodyConfigSourceDatasetCustomFields[];
716
783
  /**
717
784
  * @remarks
718
- * The name of the dataset in the same AgentSpace. This parameter cannot be modified after creation.
785
+ * The name of the dataset in the same AgentSpace. This parameter cannot be changed after creation.
719
786
  *
720
787
  * @example
721
788
  * trajectory-with-crm-profile
@@ -723,7 +790,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
723
790
  datasetName?: string;
724
791
  /**
725
792
  * @remarks
726
- * The row filter condition.
793
+ * The row filter conditions.
727
794
  */
728
795
  filter?: GetContextStoreResponseBodyConfigSourceDatasetFilter;
729
796
  /**
@@ -736,7 +803,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
736
803
  pollIntervalSeconds?: number;
737
804
  /**
738
805
  * @remarks
739
- * The row schema contract of the dataset. In the current phase, this parameter is fixed to MemorySourceV1.
806
+ * The row schema contract of the dataset. The value is fixed to MemorySourceV1 in the current phase.
740
807
  *
741
808
  * @example
742
809
  * MemorySourceV1
@@ -790,7 +857,7 @@ export class GetContextStoreResponseBodyConfigSourceDataset extends $dara.Model
790
857
  export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $dara.Model {
791
858
  /**
792
859
  * @remarks
793
- * The list of agent names. An explicit empty list returns a 400 error.
860
+ * The list of agent names. An explicitly empty list returns a 400 error.
794
861
  *
795
862
  * @example
796
863
  * ["sales-copilot"]
@@ -798,7 +865,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
798
865
  agentNames?: string[];
799
866
  /**
800
867
  * @remarks
801
- * Specifies whether to exclude degraded trajectories. Default value: false (includes degraded trajectories).
868
+ * Specifies whether to exclude degraded trajectories. Default value: false, which includes degraded trajectories.
802
869
  *
803
870
  * @example
804
871
  * false
@@ -806,7 +873,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
806
873
  excludeDegraded?: boolean;
807
874
  /**
808
875
  * @remarks
809
- * The minimum step count, which must be greater than or equal to 0.
876
+ * The minimum number of steps. The value must be greater than or equal to 0.
810
877
  *
811
878
  * @example
812
879
  * 2
@@ -814,7 +881,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
814
881
  minStepCount?: number;
815
882
  /**
816
883
  * @remarks
817
- * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using the AND operator.
884
+ * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using AND.
818
885
  *
819
886
  * @example
820
887
  * tool_names:"search_order"
@@ -822,7 +889,7 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryFilter extends $da
822
889
  query?: string;
823
890
  /**
824
891
  * @remarks
825
- * The list of service names. A single trailing asterisk (*) is supported. An explicit empty list returns a 400 error.
892
+ * The list of service names. A single trailing asterisk (*) is supported. An explicitly empty list returns a 400 error.
826
893
  *
827
894
  * @example
828
895
  * ["crm-service","app-*"]
@@ -926,12 +993,12 @@ export class GetContextStoreResponseBodyConfigSourceTrajectoryScopeMapping exten
926
993
  export class GetContextStoreResponseBodyConfigSourceTrajectory extends $dara.Model {
927
994
  /**
928
995
  * @remarks
929
- * The trajectory filter condition. Multiple conditions are combined with AND, and conditions within a list are combined with OR.
996
+ * The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
930
997
  */
931
998
  filter?: GetContextStoreResponseBodyConfigSourceTrajectoryFilter;
932
999
  /**
933
1000
  * @remarks
934
- * The name of the trajectory Logstore. Default value: agent-trajectory. This parameter cannot be modified after creation.
1001
+ * The name of the trajectory Logstore. Default value: agent-trajectory. The value cannot be changed after creation.
935
1002
  *
936
1003
  * @example
937
1004
  * agent-trajectory
@@ -1006,7 +1073,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
1006
1073
  mode?: string;
1007
1074
  /**
1008
1075
  * @remarks
1009
- * The initial consumed append sequence number. The value is a decimal string of a non-negative int64 integer. Default value: 0. The __dataset_seq field is used, and the business timestamp is not used as the consumption checkpoint.
1076
+ * The initial consumed append sequence number. The value is a decimal string of a non-negative int64 integer. Default value: 0. The __dataset_seq parameter is used, and the business timestamp is not used as the consumption checkpoint.
1010
1077
  *
1011
1078
  * @example
1012
1079
  * 0
@@ -1038,7 +1105,7 @@ export class GetContextStoreResponseBodyConfigSourceVersionPolicy extends $dara.
1038
1105
  export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1039
1106
  /**
1040
1107
  * @remarks
1041
- * The AgentSpace to which the trace data source belongs, which is the same as the AgentSpace to which it belonged when it was created.
1108
+ * The AgentSpace where the trace data source is located, which is the same as the AgentSpace to which it belonged when it was created.
1042
1109
  *
1043
1110
  * @example
1044
1111
  * my-agent-space
@@ -1054,7 +1121,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1054
1121
  binding?: { [key: string]: any };
1055
1122
  /**
1056
1123
  * @remarks
1057
- * The data source configuration for the memory type dataset. This parameter is required when the type is memory and source.type is dataset.
1124
+ * The dataset data source configuration for the memory type. This parameter is required when the memory type is used and source.type is set to dataset.
1058
1125
  */
1059
1126
  dataset?: GetContextStoreResponseBodyConfigSourceDataset;
1060
1127
  /**
@@ -1067,7 +1134,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1067
1134
  datasetName?: string;
1068
1135
  /**
1069
1136
  * @remarks
1070
- * The input format of the dataset. For the experience base dataset, the source is atif.
1137
+ * The input format of the dataset. The source of the experience base dataset is atif.
1071
1138
  *
1072
1139
  * @example
1073
1140
  * atif
@@ -1093,12 +1160,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1093
1160
  startTime?: string;
1094
1161
  /**
1095
1162
  * @remarks
1096
- * The data source configuration for the memory type trajectory. This parameter is required when the type is memory and source.type is trajectory.
1163
+ * The trajectory datasource config for the memory type. This parameter is required when the type is memory and source.type is trajectory.
1097
1164
  */
1098
1165
  trajectory?: GetContextStoreResponseBodyConfigSourceTrajectory;
1099
1166
  /**
1100
1167
  * @remarks
1101
- * The source type, which can be trajectory or dataset. For experience, if not specified, the trajectory configuration is used. For Dataset, the datasetName, format, and binding at the current level are used. The default mode is manual. If versionPolicy.mode is set to follow, continuous processing is performed and automatically applied to the experience library. For memory, if not specified, the mode is manual (only written by AddContexts). Otherwise, the trajectory or dataset sub-configuration with the same name is used. This parameter cannot be modified after creation.
1168
+ * The source type. Valid values: trajectory and dataset. For the experience type, if this parameter is not specified, trajectory is used. For datasets, the datasetName, format, and binding parameters at the current level are used. The default mode is manual. If versionPolicy.mode is set to follow, data is continuously processed and automatically applied to the experience base. For the memory type, if this parameter is not specified, manual is used, meaning data is written only through AddContexts. Otherwise, the trajectory or dataset sub-configuration with the same name is used. The value cannot be changed after creation.
1102
1169
  *
1103
1170
  * @example
1104
1171
  * dataset
@@ -1106,7 +1173,7 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1106
1173
  type?: string;
1107
1174
  /**
1108
1175
  * @remarks
1109
- * The continuous consumption configuration for the native experience library Dataset. The default mode is manual. The follow mode only allows binding.selection.mode to be set to all, and consumes data by append sequence number. This parameter cannot be modified after creation.
1176
+ * The continuous consumption configuration for the native experience base dataset. The default mode is manual. The follow mode only allows binding.selection.mode to be set to all, and data is consumed based on the append sequence number. The value cannot be changed after creation.
1110
1177
  */
1111
1178
  versionPolicy?: GetContextStoreResponseBodyConfigSourceVersionPolicy;
1112
1179
  static names(): { [key: string]: string } {
@@ -1163,12 +1230,12 @@ export class GetContextStoreResponseBodyConfigSource extends $dara.Model {
1163
1230
  export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
1164
1231
  /**
1165
1232
  * @remarks
1166
- * The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. For experience Dataset follow, the seq field uses an exact int64 decimal string.
1233
+ * The processing progress. For memory trajectory, the format is {processTimeNs, watermarkMs}. For dataset, the format is {seq}. For manual, the format is {}. For the experience dataset in follow mode, the seq value is an exact int64 decimal string.
1167
1234
  */
1168
1235
  checkpoint?: { [key: string]: any };
1169
1236
  /**
1170
1237
  * @remarks
1171
- * The current reserved sequence window for experience Dataset follow, in the format of {after, until, runId}. All sequence numbers are decimal strings. If a failure occurs, the submitted checkpoint is not advanced.
1238
+ * The current scheduled sequence window for the experience dataset in follow mode. The format is {after, until, runId}. All sequence numbers are decimal strings. If a failure occurs, the submitted checkpoint is not advanced.
1172
1239
  */
1173
1240
  currentWindow?: { [key: string]: string };
1174
1241
  /**
@@ -1181,7 +1248,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
1181
1248
  lastError?: string;
1182
1249
  /**
1183
1250
  * @remarks
1184
- * The run ID of the last successful automatic application to the native experience library. This field is for audit purposes only.
1251
+ * The run ID of the last successful automatic application to the native experience store, for audit purposes only.
1185
1252
  *
1186
1253
  * @example
1187
1254
  * opr-example
@@ -1253,7 +1320,7 @@ export class GetContextStoreResponseBodyConfigSourceStatus extends $dara.Model {
1253
1320
  export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model {
1254
1321
  /**
1255
1322
  * @remarks
1256
- * The allowed storage actions. Default value: all actions. Valid values: ADD, UPDATE, MERGE, and DELETE.
1323
+ * The allowed storage actions. Default value: all actions (ADD, UPDATE, MERGE, and DELETE).
1257
1324
  *
1258
1325
  * @example
1259
1326
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -1277,7 +1344,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1277
1344
  humanEditProtection?: boolean;
1278
1345
  /**
1279
1346
  * @remarks
1280
- * The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, and both.
1347
+ * The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
1281
1348
  *
1282
1349
  * @example
1283
1350
  * semantic
@@ -1285,7 +1352,7 @@ export class GetContextStoreResponseBodyConfigStoragePolicy extends $dara.Model
1285
1352
  mergeKey?: string;
1286
1353
  /**
1287
1354
  * @remarks
1288
- * The storage mode. Default value: upsert. Valid values: event (event append) and upsert (merge update).
1355
+ * The storage mode. Valid values: event (event append) and upsert (merge update). Default value: upsert.
1289
1356
  *
1290
1357
  * @example
1291
1358
  * upsert
@@ -1349,6 +1416,11 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1349
1416
  * The audit configuration.
1350
1417
  */
1351
1418
  audit?: GetContextStoreResponseBodyConfigAudit;
1419
+ /**
1420
+ * @remarks
1421
+ * The Simple Log Service (SLS) audit log location for the experience library user. The console reads the logs by using the existing GetLogs permission.
1422
+ */
1423
+ auditLogStore?: GetContextStoreResponseBodyConfigAuditLogStore;
1352
1424
  /**
1353
1425
  * @remarks
1354
1426
  * The extraction policies. You can configure 1 to 10 policies. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
@@ -1356,17 +1428,17 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1356
1428
  extractionPolicies?: GetContextStoreResponseBodyConfigExtractionPolicies[];
1357
1429
  /**
1358
1430
  * @remarks
1359
- * The extraction policy for the memory type.
1431
+ * The extraction policy of the memory type.
1360
1432
  */
1361
1433
  extractionPolicy?: GetContextStoreResponseBodyConfigExtractionPolicy;
1362
1434
  /**
1363
1435
  * @remarks
1364
- * The system-assigned coordinates of the event Logstore for the memory type. The Logstore is located in the Simple Log Service (SLS) project bound to the AgentSpace.
1436
+ * The system-assigned event Logstore coordinates for the memory type, located in the Simple Log Service (SLS) project bound to the AgentSpace.
1365
1437
  */
1366
1438
  innerSource?: GetContextStoreResponseBodyConfigInnerSource;
1367
1439
  /**
1368
1440
  * @remarks
1369
- * The metadata field mapping. The key is the business field and the value is the storage field.
1441
+ * The metadata field mapping, where the key is the business field and the value is the storage field.
1370
1442
  *
1371
1443
  * @example
1372
1444
  * {"userId":"user_id","sessionId":"session_id"}
@@ -1374,7 +1446,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1374
1446
  metadataField?: { [key: string]: string };
1375
1447
  /**
1376
1448
  * @remarks
1377
- * The interval for experience mining. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
1449
+ * The experience mining interval. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d.
1378
1450
  *
1379
1451
  * @example
1380
1452
  * 1d
@@ -1382,7 +1454,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1382
1454
  miningInterval?: string;
1383
1455
  /**
1384
1456
  * @remarks
1385
- * The name of the internal running task associated with the server. For continuous libraries, it is used to view consumption records in read-only mode. For manual libraries, it can run limited mining. It is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience library.
1457
+ * The name of the internal running task associated with the server. Continuous libraries are used for read-only viewing of consumption records, and manual libraries can run limited mining. This value is not inferred by the client and cannot replace the ingestion and recall criteria of the native experience library.
1386
1458
  *
1387
1459
  * @example
1388
1460
  * experience-review-library
@@ -1390,14 +1462,27 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1390
1462
  miningTaskName?: string;
1391
1463
  /**
1392
1464
  * @remarks
1393
- * The observability resource coordinates (memory type).
1465
+ * The observability resource coordinates for the memory type.
1394
1466
  */
1395
1467
  observability?: GetContextStoreResponseBodyConfigObservability;
1396
1468
  /**
1397
1469
  * @remarks
1398
- * The location of the memory output dataset (memory type).
1470
+ * The location of the memory output dataset for the memory type.
1399
1471
  */
1400
1472
  outputDataset?: GetContextStoreResponseBodyConfigOutputDataset;
1473
+ /**
1474
+ * @remarks
1475
+ * Specifies whether runtime recall is allowed for the experience library. This parameter is returned only for the experience type.
1476
+ */
1477
+ runtimeRecallEnabled?: boolean;
1478
+ /**
1479
+ * @remarks
1480
+ * The version of the runtime recall property, which is read-only. When you update the switch, a concurrency check is performed by using expectedRuntimeRecallRevision.
1481
+ *
1482
+ * @example
1483
+ * 1
1484
+ */
1485
+ runtimeRecallRevision?: number;
1401
1486
  /**
1402
1487
  * @remarks
1403
1488
  * The scope constraint policy.
@@ -1405,7 +1490,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1405
1490
  scopePolicy?: GetContextStoreResponseBodyConfigScopePolicy;
1406
1491
  /**
1407
1492
  * @remarks
1408
- * The list of service names used to locate the trace data source together with source.agentSpace. This parameter cannot be modified in the current phase.
1493
+ * The list of service names, which are used together with source.agentSpace to locate the trace data source. This parameter cannot be changed in the current phase.
1409
1494
  *
1410
1495
  * @example
1411
1496
  * ["order-service","payment-service"]
@@ -1413,14 +1498,18 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1413
1498
  serviceNames?: string[];
1414
1499
  /**
1415
1500
  * @remarks
1416
- * The data source configuration provided by the user, which serves only as the root identifier of the data source.
1501
+ * The data source configuration passed by the user, which serves only as the root identity of the data source.
1417
1502
  */
1418
1503
  source?: GetContextStoreResponseBodyConfigSource;
1419
1504
  /**
1420
1505
  * @remarks
1421
- * The running status of the data source, applicable to the memory type and experience Dataset follow mode. The experience library submits a checkpoint only after it is published and automatically applied successfully. Pausing and restarting retain the checkpoint.
1506
+ * The running status of the data source. This applies to the memory type and the experience dataset in follow mode. The experience base submits a checkpoint only after it is published and automatically applied. Pausing and restarting retain the checkpoint.
1422
1507
  */
1423
1508
  sourceStatus?: GetContextStoreResponseBodyConfigSourceStatus;
1509
+ /**
1510
+ * @remarks
1511
+ * The actual storage modes for each policy. A hybrid store includes event and upsert.
1512
+ */
1424
1513
  storageModes?: string[];
1425
1514
  /**
1426
1515
  * @remarks
@@ -1429,7 +1518,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1429
1518
  storagePolicy?: GetContextStoreResponseBodyConfigStoragePolicy;
1430
1519
  /**
1431
1520
  * @remarks
1432
- * The currently effective strategy version number for the memory type.
1521
+ * The version number of the currently effective policy for the memory type.
1433
1522
  *
1434
1523
  * @example
1435
1524
  * 1
@@ -1438,6 +1527,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1438
1527
  static names(): { [key: string]: string } {
1439
1528
  return {
1440
1529
  audit: 'audit',
1530
+ auditLogStore: 'auditLogStore',
1441
1531
  extractionPolicies: 'extractionPolicies',
1442
1532
  extractionPolicy: 'extractionPolicy',
1443
1533
  innerSource: 'innerSource',
@@ -1446,6 +1536,8 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1446
1536
  miningTaskName: 'miningTaskName',
1447
1537
  observability: 'observability',
1448
1538
  outputDataset: 'outputDataset',
1539
+ runtimeRecallEnabled: 'runtimeRecallEnabled',
1540
+ runtimeRecallRevision: 'runtimeRecallRevision',
1449
1541
  scopePolicy: 'scopePolicy',
1450
1542
  serviceNames: 'serviceNames',
1451
1543
  source: 'source',
@@ -1459,6 +1551,7 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1459
1551
  static types(): { [key: string]: any } {
1460
1552
  return {
1461
1553
  audit: GetContextStoreResponseBodyConfigAudit,
1554
+ auditLogStore: GetContextStoreResponseBodyConfigAuditLogStore,
1462
1555
  extractionPolicies: { 'type': 'array', 'itemType': GetContextStoreResponseBodyConfigExtractionPolicies },
1463
1556
  extractionPolicy: GetContextStoreResponseBodyConfigExtractionPolicy,
1464
1557
  innerSource: GetContextStoreResponseBodyConfigInnerSource,
@@ -1467,6 +1560,8 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1467
1560
  miningTaskName: 'string',
1468
1561
  observability: GetContextStoreResponseBodyConfigObservability,
1469
1562
  outputDataset: GetContextStoreResponseBodyConfigOutputDataset,
1563
+ runtimeRecallEnabled: 'boolean',
1564
+ runtimeRecallRevision: 'number',
1470
1565
  scopePolicy: GetContextStoreResponseBodyConfigScopePolicy,
1471
1566
  serviceNames: { 'type': 'array', 'itemType': 'string' },
1472
1567
  source: GetContextStoreResponseBodyConfigSource,
@@ -1481,6 +1576,9 @@ export class GetContextStoreResponseBodyConfig extends $dara.Model {
1481
1576
  if(this.audit && typeof (this.audit as any).validate === 'function') {
1482
1577
  (this.audit as any).validate();
1483
1578
  }
1579
+ if(this.auditLogStore && typeof (this.auditLogStore as any).validate === 'function') {
1580
+ (this.auditLogStore as any).validate();
1581
+ }
1484
1582
  if(Array.isArray(this.extractionPolicies)) {
1485
1583
  $dara.Model.validateArray(this.extractionPolicies);
1486
1584
  }
@@ -1557,7 +1655,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1557
1655
  contextType?: string;
1558
1656
  /**
1559
1657
  * @remarks
1560
- * The time when the context store was created, in ISO 8601 UTC format.
1658
+ * The creation time of the context store in ISO 8601 UTC format.
1561
1659
  *
1562
1660
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
1563
1661
  *
@@ -1575,7 +1673,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1575
1673
  description?: string;
1576
1674
  /**
1577
1675
  * @remarks
1578
- * The ID of the region where the context store is located.
1676
+ * The ID of the region where the context store resides.
1579
1677
  *
1580
1678
  * @example
1581
1679
  * cn-hangzhou
@@ -1583,7 +1681,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1583
1681
  regionId?: string;
1584
1682
  /**
1585
1683
  * @remarks
1586
- * The request ID used to locate the request during troubleshooting.
1684
+ * The request ID, which is used to locate the request for troubleshooting.
1587
1685
  *
1588
1686
  * @example
1589
1687
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -1591,7 +1689,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1591
1689
  requestId?: string;
1592
1690
  /**
1593
1691
  * @remarks
1594
- * The status of the context store, such as ACTIVE, INITIALIZING, or FAILED.
1692
+ * The status of the context store. Valid values: ACTIVE, INITIALIZING, and FAILED.
1595
1693
  *
1596
1694
  * @example
1597
1695
  * ACTIVE
@@ -1599,7 +1697,7 @@ export class GetContextStoreResponseBody extends $dara.Model {
1599
1697
  status?: string;
1600
1698
  /**
1601
1699
  * @remarks
1602
- * The time when the context store was last updated, in ISO 8601 UTC format.
1700
+ * The last update time of the context store in ISO 8601 UTC format.
1603
1701
  *
1604
1702
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
1605
1703
  *
@@ -37,7 +37,7 @@ export class ListContextStoresRequest extends $dara.Model {
37
37
  nextToken?: string;
38
38
  /**
39
39
  * @remarks
40
- * The memory data source type used for filtering, such as manual, trajectory, or dataset. If this parameter is not specified, no filtering is performed.
40
+ * The data source type of the memory context store used for filtering. Valid values: manual, trajectory, and dataset. If this parameter is not specified, no filtering is performed.
41
41
  *
42
42
  * @example
43
43
  * trajectory