@alicloud/agentloop20260520 2.4.0 → 2.4.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.
Files changed (34) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +7 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +142 -42
  5. package/dist/models/CreateContextStoreRequest.js +67 -1
  6. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  7. package/dist/models/CreateContextStoreResponseBody.d.ts +2 -2
  8. package/dist/models/GetAgentSpaceResponseBody.d.ts +8 -1
  9. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  10. package/dist/models/GetContextStoreResponseBody.d.ts +162 -66
  11. package/dist/models/GetContextStoreResponseBody.js +67 -1
  12. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  13. package/dist/models/SearchContextRequest.d.ts +13 -5
  14. package/dist/models/SearchContextRequest.js +5 -0
  15. package/dist/models/SearchContextRequest.js.map +1 -1
  16. package/dist/models/SearchContextResponseBody.d.ts +3 -3
  17. package/dist/models/UpdateContextStoreRequest.d.ts +129 -31
  18. package/dist/models/UpdateContextStoreRequest.js +67 -1
  19. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  20. package/dist/models/UpdateContextStoreResponseBody.d.ts +2 -2
  21. package/dist/models/model.d.ts +6 -0
  22. package/dist/models/model.js +71 -59
  23. package/dist/models/model.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/client.ts +8 -4
  26. package/src/models/CreateContextStoreRequest.ts +190 -42
  27. package/src/models/CreateContextStoreResponseBody.ts +2 -2
  28. package/src/models/GetAgentSpaceResponseBody.ts +8 -1
  29. package/src/models/GetContextStoreResponseBody.ts +210 -66
  30. package/src/models/SearchContextRequest.ts +18 -5
  31. package/src/models/SearchContextResponseBody.ts +3 -3
  32. package/src/models/UpdateContextStoreRequest.ts +177 -31
  33. package/src/models/UpdateContextStoreResponseBody.ts +2 -2
  34. package/src/models/model.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/agentloop20260520",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1634,7 +1634,7 @@ export default class Client extends OpenApi {
1634
1634
  }
1635
1635
 
1636
1636
  /**
1637
- * Queries an AgentSpace.
1637
+ * Queries the AgentSpace.
1638
1638
  *
1639
1639
  * @param request - GetAgentSpaceRequest
1640
1640
  * @param headers - map
@@ -1661,7 +1661,7 @@ export default class Client extends OpenApi {
1661
1661
  }
1662
1662
 
1663
1663
  /**
1664
- * Queries an AgentSpace.
1664
+ * Queries the AgentSpace.
1665
1665
  *
1666
1666
  * @param request - GetAgentSpaceRequest
1667
1667
  * @returns GetAgentSpaceResponse
@@ -1673,7 +1673,7 @@ export default class Client extends OpenApi {
1673
1673
  }
1674
1674
 
1675
1675
  /**
1676
- * Queries the context store.
1676
+ * Queries a context store.
1677
1677
  *
1678
1678
  * @param request - GetContextStoreRequest
1679
1679
  * @param headers - map
@@ -1700,7 +1700,7 @@ export default class Client extends OpenApi {
1700
1700
  }
1701
1701
 
1702
1702
  /**
1703
- * Queries the context store.
1703
+ * Queries a context store.
1704
1704
  *
1705
1705
  * @param request - GetContextStoreRequest
1706
1706
  * @returns GetContextStoreResponse
@@ -3391,6 +3391,10 @@ export default class Client extends OpenApi {
3391
3391
  body["scope"] = request.scope;
3392
3392
  }
3393
3393
 
3394
+ if (!$dara.isNull(request.strategyIds)) {
3395
+ body["strategyIds"] = request.strategyIds;
3396
+ }
3397
+
3394
3398
  if (!$dara.isNull(request.threshold)) {
3395
3399
  body["threshold"] = request.threshold;
3396
3400
  }
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateContextStoreRequestConfigAudit extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to write item events for candidates dropped during recall. Default value: false.
8
+ * Specifies whether to write item events for dropped recall candidates. Default value: false.
9
9
  *
10
10
  * @example
11
11
  * false
@@ -13,7 +13,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
13
13
  droppedCandidates?: boolean;
14
14
  /**
15
15
  * @remarks
16
- * Specifies the logging mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
16
+ * The logging mode for recall queries. Valid values: raw (plaintext) and hash (HMAC only). Default value: raw.
17
17
  *
18
18
  * @example
19
19
  * raw
@@ -21,7 +21,7 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
21
21
  queryMode?: string;
22
22
  /**
23
23
  * @remarks
24
- * Specifies the number of days to retain audit logs. Valid values: 1 to 180. Default value: 30.
24
+ * The number of days to retain audit logs. Valid values: 1 to 180. Default value: 30.
25
25
  *
26
26
  * @example
27
27
  * 30
@@ -52,10 +52,146 @@ export class CreateContextStoreRequestConfigAudit extends $dara.Model {
52
52
  }
53
53
  }
54
54
 
55
+ export class CreateContextStoreRequestConfigExtractionPoliciesModel extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
59
+ *
60
+ * @example
61
+ * qwen3.8-flash
62
+ */
63
+ name?: string;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ name: 'name',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ name: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class CreateContextStoreRequestConfigExtractionPolicies extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The list of memory categories.
89
+ *
90
+ * @example
91
+ * ["preference","profile"]
92
+ */
93
+ categories?: string[];
94
+ /**
95
+ * @remarks
96
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
+ *
98
+ * @example
99
+ * Extract only user product preferences
100
+ */
101
+ customInstructions?: string;
102
+ /**
103
+ * @remarks
104
+ * Specifies whether to execute this policy for new inputs. Default value: true. Disabling the policy does not delete historical memories.
105
+ *
106
+ * @example
107
+ * true
108
+ */
109
+ enabled?: boolean;
110
+ /**
111
+ * @remarks
112
+ * The list of exclusion rules. Content that matches these rules is not extracted.
113
+ *
114
+ * @example
115
+ * ["Password","ID number"]
116
+ */
117
+ excludeRules?: string[];
118
+ /**
119
+ * @remarks
120
+ * The extraction model configuration.
121
+ */
122
+ model?: CreateContextStoreRequestConfigExtractionPoliciesModel;
123
+ /**
124
+ * @remarks
125
+ * The display name of the extraction policy.
126
+ *
127
+ * @example
128
+ * User preferences
129
+ */
130
+ name?: string;
131
+ /**
132
+ * @remarks
133
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
134
+ *
135
+ * @example
136
+ * fact
137
+ */
138
+ preset?: string;
139
+ /**
140
+ * @remarks
141
+ * The ID of the extraction policy. This parameter is optional. If omitted, the default value is used. The ID must start with a letter and can contain only letters, digits, underscores, and hyphens. The maximum length is 64 characters. After default value processing, the ID must be unique within the same library. Modifying the name or instructions does not change this ID.
142
+ *
143
+ * @example
144
+ * preferences
145
+ */
146
+ strategyId?: string;
147
+ static names(): { [key: string]: string } {
148
+ return {
149
+ categories: 'categories',
150
+ customInstructions: 'customInstructions',
151
+ enabled: 'enabled',
152
+ excludeRules: 'excludeRules',
153
+ model: 'model',
154
+ name: 'name',
155
+ preset: 'preset',
156
+ strategyId: 'strategyId',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ categories: { 'type': 'array', 'itemType': 'string' },
163
+ customInstructions: 'string',
164
+ enabled: 'boolean',
165
+ excludeRules: { 'type': 'array', 'itemType': 'string' },
166
+ model: CreateContextStoreRequestConfigExtractionPoliciesModel,
167
+ name: 'string',
168
+ preset: 'string',
169
+ strategyId: 'string',
170
+ };
171
+ }
172
+
173
+ validate() {
174
+ if(Array.isArray(this.categories)) {
175
+ $dara.Model.validateArray(this.categories);
176
+ }
177
+ if(Array.isArray(this.excludeRules)) {
178
+ $dara.Model.validateArray(this.excludeRules);
179
+ }
180
+ if(this.model && typeof (this.model as any).validate === 'function') {
181
+ (this.model as any).validate();
182
+ }
183
+ super.validate();
184
+ }
185
+
186
+ constructor(map?: { [key: string]: any }) {
187
+ super(map);
188
+ }
189
+ }
190
+
55
191
  export class CreateContextStoreRequestConfigExtractionPolicyModel extends $dara.Model {
56
192
  /**
57
193
  * @remarks
58
- * Specifies the name of the extraction model. Currently, only qwen3.8-flash is supported. Platform internal credentials are used.
194
+ * The name of the extraction model. Currently, only qwen3.8-flash is supported, which uses internal platform credentials.
59
195
  *
60
196
  * @example
61
197
  * qwen3.8-flash
@@ -93,7 +229,7 @@ export class CreateContextStoreRequestConfigExtractionPolicy extends $dara.Model
93
229
  categories?: string[];
94
230
  /**
95
231
  * @remarks
96
- * Specifies the custom extraction instructions. This parameter is required when preset is set to custom. Length: 1 to 8000 characters.
232
+ * The custom extraction instructions. This parameter is required when preset is set to custom. The length must be 1 to 8,000 characters.
97
233
  *
98
234
  * @example
99
235
  * Extract only user product preferences
@@ -114,7 +250,7 @@ export class CreateContextStoreRequestConfigExtractionPolicy extends $dara.Model
114
250
  model?: CreateContextStoreRequestConfigExtractionPolicyModel;
115
251
  /**
116
252
  * @remarks
117
- * Specifies the preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
253
+ * The preset policy. Valid values: fact, toc-profile, tob-digital-twin, and custom. Default value: fact.
118
254
  *
119
255
  * @example
120
256
  * fact
@@ -194,7 +330,7 @@ export class CreateContextStoreRequestConfigScopePolicy extends $dara.Model {
194
330
  export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $dara.Model {
195
331
  /**
196
332
  * @remarks
197
- * Specifies the field description. This parameter is required when usage is set to extraction-input. It is appended to the extraction prompt.
333
+ * The field description. This parameter is required when usage is set to extraction-input and is appended to the extraction prompt.
198
334
  *
199
335
  * @example
200
336
  * Customer tier
@@ -202,7 +338,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
202
338
  description?: string;
203
339
  /**
204
340
  * @remarks
205
- * Specifies whether the field is a sensitive field.
341
+ * Specifies whether the field is sensitive.
206
342
  *
207
343
  * @example
208
344
  * false
@@ -218,7 +354,7 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
218
354
  sourceField?: string;
219
355
  /**
220
356
  * @remarks
221
- * The target path for writing, such as metadata.customerTier.
357
+ * The target path for writing data, such as metadata.customerTier.
222
358
  *
223
359
  * @example
224
360
  * metadata.customerTier
@@ -226,7 +362,9 @@ export class CreateContextStoreRequestConfigSourceDatasetCustomFields extends $d
226
362
  target?: string;
227
363
  /**
228
364
  * @remarks
229
- * Specifies the usage of the field. Valid values: extraction-input (participates in extraction) and ignore (ignored).
365
+ * The usage of the field. Valid values:
366
+ * - extraction-input: Participates in extraction.
367
+ * - ignore: Ignored.
230
368
  *
231
369
  * @example
232
370
  * extraction-input
@@ -296,7 +434,7 @@ export class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $
296
434
  * @remarks
297
435
  * The consumption mode. Valid values:
298
436
  * - follow: Consumes data incrementally based on __dataset_seq.
299
- * - fixed: Consumes the specified ACTIVE version in full at once.
437
+ * - fixed: Consumes the specified ACTIVE version in full once.
300
438
  *
301
439
  * @example
302
440
  * follow
@@ -312,7 +450,7 @@ export class CreateContextStoreRequestConfigSourceDatasetVersionPolicy extends $
312
450
  startSeq?: number;
313
451
  /**
314
452
  * @remarks
315
- * The dataset version specified for the fixed mode.
453
+ * The Dataset version specified for the fixed mode.
316
454
  *
317
455
  * @example
318
456
  * v3
@@ -351,7 +489,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
351
489
  customFields?: CreateContextStoreRequestConfigSourceDatasetCustomFields[];
352
490
  /**
353
491
  * @remarks
354
- * Specifies the name of the Dataset in the same AgentSpace. This parameter cannot be modified after creation.
492
+ * The name of the Dataset in the same AgentSpace. This parameter cannot be modified after creation.
355
493
  *
356
494
  * @example
357
495
  * trajectory-with-crm-profile
@@ -359,12 +497,12 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
359
497
  datasetName?: string;
360
498
  /**
361
499
  * @remarks
362
- * The row filter conditions.
500
+ * The row filter condition.
363
501
  */
364
502
  filter?: CreateContextStoreRequestConfigSourceDatasetFilter;
365
503
  /**
366
504
  * @remarks
367
- * Specifies the polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
505
+ * The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
368
506
  *
369
507
  * @example
370
508
  * 300
@@ -372,7 +510,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
372
510
  pollIntervalSeconds?: number;
373
511
  /**
374
512
  * @remarks
375
- * The Dataset row schema contract. In the current phase, this is fixed to MemorySourceV1.
513
+ * The row schema contract for the Dataset. The value is fixed to MemorySourceV1 in the current phase.
376
514
  *
377
515
  * @example
378
516
  * MemorySourceV1
@@ -380,7 +518,7 @@ export class CreateContextStoreRequestConfigSourceDataset extends $dara.Model {
380
518
  schemaContract?: string;
381
519
  /**
382
520
  * @remarks
383
- * The dataset version consumption policy.
521
+ * The version consumption policy for the Dataset.
384
522
  */
385
523
  versionPolicy?: CreateContextStoreRequestConfigSourceDatasetVersionPolicy;
386
524
  static names(): { [key: string]: string } {
@@ -450,7 +588,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryFilter extends $dara
450
588
  minStepCount?: number;
451
589
  /**
452
590
  * @remarks
453
- * The native Simple Log Service (SLS) query statement. This statement is combined with the preceding conditions using AND.
591
+ * The native Simple Log Service (SLS) query statement, which is combined with the preceding conditions using AND.
454
592
  *
455
593
  * @example
456
594
  * tool_names:"search_order"
@@ -562,7 +700,7 @@ export class CreateContextStoreRequestConfigSourceTrajectoryScopeMapping extends
562
700
  export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model {
563
701
  /**
564
702
  * @remarks
565
- * The trajectory filter conditions. Conditions are combined with AND, and items within a list are combined with OR.
703
+ * The trajectory filter condition. Conditions are combined with AND, and items within a list are combined with OR.
566
704
  */
567
705
  filter?: CreateContextStoreRequestConfigSourceTrajectoryFilter;
568
706
  /**
@@ -575,7 +713,7 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
575
713
  logstore?: string;
576
714
  /**
577
715
  * @remarks
578
- * Specifies the polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
716
+ * The polling interval in seconds. Valid values: 60 to 3600. Default value: 300.
579
717
  *
580
718
  * @example
581
719
  * 300
@@ -588,7 +726,7 @@ export class CreateContextStoreRequestConfigSourceTrajectory extends $dara.Model
588
726
  scopeMapping?: CreateContextStoreRequestConfigSourceTrajectoryScopeMapping;
589
727
  /**
590
728
  * @remarks
591
- * The start time for trajectory consumption in ISO 8601 UTC format. If not specified, the creation time is used by default.
729
+ * The start time for trajectory consumption in ISO 8601 UTC format. If this parameter is not specified, the creation time is used by default.
592
730
  *
593
731
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
594
732
  *
@@ -642,7 +780,7 @@ export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Mo
642
780
  mode?: string;
643
781
  /**
644
782
  * @remarks
645
- * The initial consumed append sequence. 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.
783
+ * 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.
646
784
  *
647
785
  * @example
648
786
  * 0
@@ -674,7 +812,7 @@ export class CreateContextStoreRequestConfigSourceVersionPolicy extends $dara.Mo
674
812
  export class CreateContextStoreRequestConfigSource extends $dara.Model {
675
813
  /**
676
814
  * @remarks
677
- * Specifies the AgentSpace where the trace data source is located. If not specified, the default is the AgentSpace in the current path. Cross-AgentSpace is not supported in the current phase. If specified, it must be equal to the path AgentSpace; otherwise, a 400 parameter error is returned. This parameter cannot be modified after creation.
815
+ * The AgentSpace where the trace data source is located. If not specified, the default value is the AgentSpace in the current path. Cross-AgentSpace operations are not supported in the current phase. If specified, the value must be identical to the path AgentSpace. Otherwise, a 400 parameter error is returned. This parameter cannot be modified after creation.
678
816
  *
679
817
  * @example
680
818
  * my-agent-space
@@ -682,7 +820,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
682
820
  agentSpace?: string;
683
821
  /**
684
822
  * @remarks
685
- * The DatasetBinding v1 shared with optimization tasks. It includes version, selection (all/window and structured filters), and customFields. It is validated by the server and does not accept SQL or column mappings.
823
+ * The DatasetBinding v1 configuration shared with optimization tasks. It includes version, selection (all/window and structured filters), and customFields. It is validated by the server and does not accept SQL or column mappings.
686
824
  *
687
825
  * @example
688
826
  * {"version":1,"selection":{"mode":"all"}}
@@ -690,12 +828,12 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
690
828
  binding?: { [key: string]: any };
691
829
  /**
692
830
  * @remarks
693
- * The Dataset datasource config. This parameter is required when source.type is set to dataset.
831
+ * The Dataset data source configuration. This parameter is required when source.type is set to dataset.
694
832
  */
695
833
  dataset?: CreateContextStoreRequestConfigSourceDataset;
696
834
  /**
697
835
  * @remarks
698
- * The name of the experience dataset source. The dataset must reside in the current AgentSpace. This parameter is provided only when the source type is experience and source.type is dataset.
836
+ * The source name of the experience Dataset, which must be located in the current AgentSpace. This parameter is provided only when the type is experience and source.type is set to dataset.
699
837
  *
700
838
  * @example
701
839
  * reviewed_trajectories
@@ -703,7 +841,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
703
841
  datasetName?: string;
704
842
  /**
705
843
  * @remarks
706
- * The input format of the dataset. For experience dataset sources, only atif is supported, and the fixed columns must be consistent with the optimization task.
844
+ * The input format of the Dataset. For experience library Dataset sources, only atif is supported, and the fixed columns are consistent with those of optimization tasks.
707
845
  *
708
846
  * @example
709
847
  * atif
@@ -711,7 +849,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
711
849
  format?: string;
712
850
  /**
713
851
  * @remarks
714
- * The maximum number of records to read per batch. Valid values: 1 to 1000. Default value: 1000. In manual mode, exceeding the limit causes a failure. In follow mode, bounded pagination is used to continue consumption.
852
+ * The maximum number of Dataset records to read per batch. Valid values: 1 to 1000. Default value: 1000. In manual mode, exceeding the limit causes a failure. In follow mode, bounded pagination is used to continue consumption.
715
853
  *
716
854
  * @example
717
855
  * 1000
@@ -719,7 +857,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
719
857
  maxRecords?: number;
720
858
  /**
721
859
  * @remarks
722
- * The start time for data backfill in ISO 8601 UTC format. If not specified, the current time is used.
860
+ * The start time for data backfill in ISO 8601 UTC format. If this parameter is not specified, the current time is used.
723
861
  *
724
862
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
725
863
  *
@@ -729,12 +867,12 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
729
867
  startTime?: string;
730
868
  /**
731
869
  * @remarks
732
- * The trajectory datasource config. This parameter is required when source.type is trajectory.
870
+ * The trajectory data source configuration. This parameter is required when source.type is set to trajectory.
733
871
  */
734
872
  trajectory?: CreateContextStoreRequestConfigSourceTrajectory;
735
873
  /**
736
874
  * @remarks
737
- * The data source type for the memory type. Valid values: trajectory and dataset. If not specified, the value defaults to manual, which means data is written only through AddContexts. This parameter cannot be modified after creation.
875
+ * The data source type for the memory type. Valid values: trajectory, dataset. If this parameter is not specified, the default value is manual, which means data is written only through AddContexts. This parameter cannot be modified after creation.
738
876
  *
739
877
  * @example
740
878
  * trajectory
@@ -742,7 +880,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
742
880
  type?: string;
743
881
  /**
744
882
  * @remarks
745
- * The continuous consumption configuration for the native experience dataset. The default mode is manual. The follow mode only allows binding.selection.mode=all and consumes data based on the append sequence. This parameter cannot be modified after creation.
883
+ * The continuous consumption configuration for the native experience dataset. The default value is manual. The follow mode is allowed only when binding.selection.mode is set to all. In this mode, data is consumed by append sequence number. This configuration cannot be modified after creation.
746
884
  */
747
885
  versionPolicy?: CreateContextStoreRequestConfigSourceVersionPolicy;
748
886
  static names(): { [key: string]: string } {
@@ -799,7 +937,7 @@ export class CreateContextStoreRequestConfigSource extends $dara.Model {
799
937
  export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
800
938
  /**
801
939
  * @remarks
802
- * The allowed storage actions. Default value: all actions, including ADD, UPDATE, MERGE, and DELETE.
940
+ * The allowed storage actions. Default value: all. Valid values: ADD, UPDATE, MERGE, DELETE.
803
941
  *
804
942
  * @example
805
943
  * ["ADD","UPDATE","MERGE","DELETE"]
@@ -815,7 +953,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
815
953
  dedupe?: boolean;
816
954
  /**
817
955
  * @remarks
818
- * Specifies whether to enable human edit protection. Default value: true. When enabled, automatic extraction does not overwrite manually modified memories.
956
+ * Specifies whether to enable manual edit protection. Default value: true. If this feature is enabled, automatic extraction does not overwrite manually modified memories.
819
957
  *
820
958
  * @example
821
959
  * true
@@ -823,7 +961,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
823
961
  humanEditProtection?: boolean;
824
962
  /**
825
963
  * @remarks
826
- * The merge key for upsert operations. Valid values: factKey, semantic, and both. Default value: semantic.
964
+ * The merge key for upsert operations. Default value: semantic. Valid values: factKey, semantic, both.
827
965
  *
828
966
  * @example
829
967
  * semantic
@@ -831,7 +969,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
831
969
  mergeKey?: string;
832
970
  /**
833
971
  * @remarks
834
- * The storage mode. Valid values: event for event appending, and upsert for merged updates. Default value: upsert.
972
+ * The storage mode. Default value: upsert. Valid values: event (event append), upsert (merge update).
835
973
  *
836
974
  * @example
837
975
  * upsert
@@ -847,7 +985,7 @@ export class CreateContextStoreRequestConfigStoragePolicy extends $dara.Model {
847
985
  similarityThreshold?: number;
848
986
  /**
849
987
  * @remarks
850
- * The number of days before memories expire. A value of 0 indicates that memories do not expire.
988
+ * The number of days before a memory expires. A value of 0 indicates that the memory does not expire.
851
989
  *
852
990
  * @example
853
991
  * 0
@@ -895,6 +1033,11 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
895
1033
  * The audit configuration.
896
1034
  */
897
1035
  audit?: CreateContextStoreRequestConfigAudit;
1036
+ /**
1037
+ * @remarks
1038
+ * The extraction policies. You can specify 1 to 10 policies. In a request, you can specify either this field or the compatible extractionPolicy field, but not both. The strategyVersion parameter indicates the snapshot version of the entire library configuration.
1039
+ */
1040
+ extractionPolicies?: CreateContextStoreRequestConfigExtractionPolicies[];
898
1041
  /**
899
1042
  * @remarks
900
1043
  * The extraction policy for the memory type.
@@ -910,7 +1053,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
910
1053
  metadataField?: { [key: string]: string };
911
1054
  /**
912
1055
  * @remarks
913
- * Specifies the experience mining interval, which controls how often experience mining is executed. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d. This parameter cannot be modified after creation.
1056
+ * The experience mining interval, which controls how often experience mining is executed. Valid values: 1h, 6h, 12h, and 1d. Default value: 1d. This parameter cannot be modified after creation.
914
1057
  *
915
1058
  * @example
916
1059
  * 1d
@@ -923,7 +1066,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
923
1066
  scopePolicy?: CreateContextStoreRequestConfigScopePolicy;
924
1067
  /**
925
1068
  * @remarks
926
- * The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses agentSpace to find the bound CMS workspace and project or logstore, and then filters by serviceName. This parameter cannot be modified after creation.
1069
+ * The list of service names. This parameter is required and cannot be empty. It works with source.agentSpace to locate the trace data source. The trajectory extraction service uses agentSpace to query the bound CMS workspace and project or logstore, and then filters by serviceName. This parameter cannot be modified after creation.
927
1070
  *
928
1071
  * @example
929
1072
  * ["order-service","payment-service"]
@@ -931,7 +1074,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
931
1074
  serviceNames?: string[];
932
1075
  /**
933
1076
  * @remarks
934
- * The datasource config, which serves only as the root identity for the data source. This is an optional block.
1077
+ * The data source configuration, which serves only as the root identifier for the data source. This block is optional.
935
1078
  */
936
1079
  source?: CreateContextStoreRequestConfigSource;
937
1080
  /**
@@ -942,6 +1085,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
942
1085
  static names(): { [key: string]: string } {
943
1086
  return {
944
1087
  audit: 'audit',
1088
+ extractionPolicies: 'extractionPolicies',
945
1089
  extractionPolicy: 'extractionPolicy',
946
1090
  metadataField: 'metadataField',
947
1091
  miningInterval: 'miningInterval',
@@ -955,6 +1099,7 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
955
1099
  static types(): { [key: string]: any } {
956
1100
  return {
957
1101
  audit: CreateContextStoreRequestConfigAudit,
1102
+ extractionPolicies: { 'type': 'array', 'itemType': CreateContextStoreRequestConfigExtractionPolicies },
958
1103
  extractionPolicy: CreateContextStoreRequestConfigExtractionPolicy,
959
1104
  metadataField: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
960
1105
  miningInterval: 'string',
@@ -969,6 +1114,9 @@ export class CreateContextStoreRequestConfig extends $dara.Model {
969
1114
  if(this.audit && typeof (this.audit as any).validate === 'function') {
970
1115
  (this.audit as any).validate();
971
1116
  }
1117
+ if(Array.isArray(this.extractionPolicies)) {
1118
+ $dara.Model.validateArray(this.extractionPolicies);
1119
+ }
972
1120
  if(this.extractionPolicy && typeof (this.extractionPolicy as any).validate === 'function') {
973
1121
  (this.extractionPolicy as any).validate();
974
1122
  }
@@ -1013,7 +1161,7 @@ export class CreateContextStoreRequest extends $dara.Model {
1013
1161
  contextStoreName?: string;
1014
1162
  /**
1015
1163
  * @remarks
1016
- * The type of the context store. Valid values include experience and memory.
1164
+ * The type of the context store. Valid values include experience (experience store) and memory (memory store).
1017
1165
  *
1018
1166
  * This parameter is required.
1019
1167
  *
@@ -1031,7 +1179,7 @@ export class CreateContextStoreRequest extends $dara.Model {
1031
1179
  description?: string;
1032
1180
  /**
1033
1181
  * @remarks
1034
- * The idempotency token, which is a unique string generated by the client to ensure the idempotency of the creation operation.
1182
+ * The idempotency token. This is a unique string generated by the client to ensure the idempotency of the creation operation.
1035
1183
  *
1036
1184
  * @example
1037
1185
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateContextStoreResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID, which is used to locate the request when you troubleshoot issues.
8
+ * The request ID, which is used to locate the request during troubleshooting.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -13,7 +13,7 @@ export class CreateContextStoreResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The version number of the currently effective strategy for the memory type.
16
+ * The version number of the currently effective strategy (memory type).
17
17
  *
18
18
  * @example
19
19
  * 1
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class GetAgentSpaceResponseBodyMseNamespace extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The attach type of the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that an existing namespace is selected and attached when the AgentSpace is created.
9
+ *
10
+ * @example
11
+ * AutoCreated
12
+ */
6
13
  bindType?: string;
7
14
  /**
8
15
  * @remarks
@@ -56,7 +63,7 @@ export class GetAgentSpaceResponseBody extends $dara.Model {
56
63
  agentSpace?: string;
57
64
  /**
58
65
  * @remarks
59
- * The CloudMonitor workspace.
66
+ * The CMS workspace.
60
67
  *
61
68
  * @example
62
69
  * test-cms-workspace