@alicloud/agentcore20260804 2.3.0 → 2.3.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 (37) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +5 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
  5. package/dist/models/CreateExternalAgentRequest.js +29 -1
  6. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  7. package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
  8. package/dist/models/CreateExternalAgentResponseBody.js +89 -1
  9. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  11. package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
  12. package/dist/models/GetExternalAgentResponseBody.js +89 -1
  13. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  14. package/dist/models/ListUsersRequest.d.ts +10 -2
  15. package/dist/models/ListUsersRequest.js +2 -0
  16. package/dist/models/ListUsersRequest.js.map +1 -1
  17. package/dist/models/ListUsersResponseBody.d.ts +11 -11
  18. package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
  19. package/dist/models/UpdateExternalAgentRequest.js +29 -1
  20. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  21. package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
  22. package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
  23. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  24. package/dist/models/model.d.ts +11 -0
  25. package/dist/models/model.js +88 -66
  26. package/dist/models/model.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/client.ts +6 -2
  29. package/src/models/CreateExternalAgentRequest.ts +80 -14
  30. package/src/models/CreateExternalAgentResponseBody.ts +232 -39
  31. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  32. package/src/models/GetExternalAgentResponseBody.ts +225 -43
  33. package/src/models/ListUsersRequest.ts +12 -2
  34. package/src/models/ListUsersResponseBody.ts +11 -11
  35. package/src/models/UpdateExternalAgentRequest.ts +78 -12
  36. package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
  37. package/src/models/model.ts +11 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to enable token quota. Defaults to true if not specified. Set to false to disable and delete existing quota rules.
8
+ * Specifies whether to enable the token quota. Default value: true. If set to false, the quota is disabled and existing quota rules are deleted.
9
9
  *
10
10
  * @example
11
11
  * true
@@ -13,7 +13,7 @@ export class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
13
13
  enabled?: boolean;
14
14
  /**
15
15
  * @remarks
16
- * The quota limit type. Required by backend validation when quota is enabled. Fixed value: token.
16
+ * The quota limit type. Required and validated by the backend when the quota is enabled. Fixed value: token.
17
17
  *
18
18
  * @example
19
19
  * token
@@ -21,7 +21,9 @@ export class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
21
21
  limitType?: string;
22
22
  /**
23
23
  * @remarks
24
- * The quota statistical period. Required by backend validation when quota is enabled. Valid values: day (daily) and month (monthly).
24
+ * The statistical period for the quota. Required and validated by the backend when the quota is enabled. Valid values:
25
+ * - day: Daily.
26
+ * - month: Monthly.
25
27
  *
26
28
  * @example
27
29
  * day
@@ -29,7 +31,7 @@ export class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
29
31
  periodType?: string;
30
32
  /**
31
33
  * @remarks
32
- * The maximum number of tokens that can be consumed within a single period. Required by backend validation when quota is enabled. The value must be greater than 0.
34
+ * The maximum number of tokens allowed to be consumed within a single period. Required and validated by the backend when the quota is enabled. The value must be greater than 0.
33
35
  *
34
36
  * @example
35
37
  * 1000000
@@ -85,7 +87,7 @@ export class UpdateExternalAgentRequestBodyModel extends $dara.Model {
85
87
  modelName?: string;
86
88
  /**
87
89
  * @remarks
88
- * The model token quota configuration. If not specified, no quota is configured.
90
+ * The model token quota configuration. If not passed, no quota is configured.
89
91
  */
90
92
  quota?: UpdateExternalAgentRequestBodyModelQuota;
91
93
  static names(): { [key: string]: string } {
@@ -116,6 +118,48 @@ export class UpdateExternalAgentRequestBodyModel extends $dara.Model {
116
118
  }
117
119
  }
118
120
 
121
+ export class UpdateExternalAgentRequestBodySkillsVersionSelector extends $dara.Model {
122
+ /**
123
+ * @remarks
124
+ * The type of the version selector. Valid values:
125
+ * - LABEL: By label.
126
+ * - VERSION: By specific version.
127
+ *
128
+ * @example
129
+ * LABEL
130
+ */
131
+ type?: string;
132
+ /**
133
+ * @remarks
134
+ * The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
135
+ *
136
+ * @example
137
+ * latest
138
+ */
139
+ value?: string;
140
+ static names(): { [key: string]: string } {
141
+ return {
142
+ type: 'type',
143
+ value: 'value',
144
+ };
145
+ }
146
+
147
+ static types(): { [key: string]: any } {
148
+ return {
149
+ type: 'string',
150
+ value: 'string',
151
+ };
152
+ }
153
+
154
+ validate() {
155
+ super.validate();
156
+ }
157
+
158
+ constructor(map?: { [key: string]: any }) {
159
+ super(map);
160
+ }
161
+ }
162
+
119
163
  export class UpdateExternalAgentRequestBodySkills extends $dara.Model {
120
164
  /**
121
165
  * @remarks
@@ -127,6 +171,16 @@ export class UpdateExternalAgentRequestBodySkills extends $dara.Model {
127
171
  * code-analysis
128
172
  */
129
173
  name?: string;
174
+ /**
175
+ * @remarks
176
+ * The source type of the skill. Valid values:
177
+ * - REFERENCE: References the AI Registry.
178
+ * - STATIC: Statically provided with the package.
179
+ *
180
+ * @example
181
+ * REFERENCE
182
+ */
183
+ sourceType?: string;
130
184
  /**
131
185
  * @remarks
132
186
  * The skill version.
@@ -135,21 +189,33 @@ export class UpdateExternalAgentRequestBodySkills extends $dara.Model {
135
189
  * 1.0.0
136
190
  */
137
191
  version?: string;
192
+ /**
193
+ * @remarks
194
+ * The referenced version selector. If omitted, the default is LABEL/latest. Currently, only LABEL/latest is supported.
195
+ */
196
+ versionSelector?: UpdateExternalAgentRequestBodySkillsVersionSelector;
138
197
  static names(): { [key: string]: string } {
139
198
  return {
140
199
  name: 'name',
200
+ sourceType: 'sourceType',
141
201
  version: 'version',
202
+ versionSelector: 'versionSelector',
142
203
  };
143
204
  }
144
205
 
145
206
  static types(): { [key: string]: any } {
146
207
  return {
147
208
  name: 'string',
209
+ sourceType: 'string',
148
210
  version: 'string',
211
+ versionSelector: UpdateExternalAgentRequestBodySkillsVersionSelector,
149
212
  };
150
213
  }
151
214
 
152
215
  validate() {
216
+ if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
217
+ (this.versionSelector as any).validate();
218
+ }
153
219
  super.validate();
154
220
  }
155
221
 
@@ -161,7 +227,7 @@ export class UpdateExternalAgentRequestBodySkills extends $dara.Model {
161
227
  export class UpdateExternalAgentRequestBodyTemplateAiRegistry extends $dara.Model {
162
228
  /**
163
229
  * @remarks
164
- * The name of the template in AI Registry.
230
+ * The name of the template in the AI Registry.
165
231
  *
166
232
  * This parameter is required.
167
233
  *
@@ -171,7 +237,7 @@ export class UpdateExternalAgentRequestBodyTemplateAiRegistry extends $dara.Mode
171
237
  name?: string;
172
238
  /**
173
239
  * @remarks
174
- * The version of the template in AI Registry.
240
+ * The version of the template in the AI Registry.
175
241
  *
176
242
  * This parameter is required.
177
243
  *
@@ -283,12 +349,12 @@ export class UpdateExternalAgentRequestBody extends $dara.Model {
283
349
  * The description of the external agent.
284
350
  *
285
351
  * @example
286
- * A code review agent running in the user environment
352
+ * Code review agent running in the user environment
287
353
  */
288
354
  description?: string;
289
355
  /**
290
356
  * @remarks
291
- * The agent instruction that guides the behavior of the agent.
357
+ * The agent instructions used to guide the behavior of the agent.
292
358
  *
293
359
  * @example
294
360
  * You are a code review assistant
@@ -301,9 +367,9 @@ export class UpdateExternalAgentRequestBody extends $dara.Model {
301
367
  model?: UpdateExternalAgentRequestBodyModel;
302
368
  /**
303
369
  * @remarks
304
- * The model configuration source. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be specified at the same time. Valid values:
305
- * - PLATFORM: platform model.
306
- * - RUNTIME: runtime model.
370
+ * The source of the model configuration. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be passed at the same time. Valid values:
371
+ * - PLATFORM: Platform model.
372
+ * - RUNTIME: Runtime model.
307
373
  *
308
374
  * @example
309
375
  * PLATFORM
@@ -2,13 +2,119 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The type of the version selector. Valid values:
9
+ * - LABEL: By label.
10
+ * - VERSION: By specific version.
11
+ *
12
+ * @example
13
+ * LABEL
14
+ */
15
+ type?: string;
16
+ /**
17
+ * @remarks
18
+ * The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
19
+ *
20
+ * @example
21
+ * latest
22
+ */
23
+ value?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ type: 'type',
27
+ value: 'value',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ type: 'string',
34
+ value: 'string',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
47
+ export class UpdateExternalAgentResponseBodyDataConfiguredSkills extends $dara.Model {
48
+ /**
49
+ * @remarks
50
+ * The name of the skill in the Workspace AI Registry.
51
+ *
52
+ * This parameter is required.
53
+ *
54
+ * @example
55
+ * web-search
56
+ */
57
+ name?: string;
58
+ /**
59
+ * @remarks
60
+ * The source type of the skill. Valid values:
61
+ * - REFERENCE: References the AI Registry.
62
+ * - STATIC: Statically provided with the package.
63
+ *
64
+ * @example
65
+ * REFERENCE
66
+ */
67
+ sourceType?: string;
68
+ /**
69
+ * @remarks
70
+ * The legacy compatibility field. Use sourceType and versionSelector for new requests.
71
+ *
72
+ * @example
73
+ * 1.0.0
74
+ */
75
+ version?: string;
76
+ /**
77
+ * @remarks
78
+ * The referenced version selector. If omitted, the default is LABEL/latest. Currently, only LABEL/latest is supported.
79
+ */
80
+ versionSelector?: UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector;
81
+ static names(): { [key: string]: string } {
82
+ return {
83
+ name: 'name',
84
+ sourceType: 'sourceType',
85
+ version: 'version',
86
+ versionSelector: 'versionSelector',
87
+ };
88
+ }
89
+
90
+ static types(): { [key: string]: any } {
91
+ return {
92
+ name: 'string',
93
+ sourceType: 'string',
94
+ version: 'string',
95
+ versionSelector: UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector,
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
101
+ (this.versionSelector as any).validate();
102
+ }
103
+ super.validate();
104
+ }
105
+
106
+ constructor(map?: { [key: string]: any }) {
107
+ super(map);
108
+ }
109
+ }
110
+
5
111
  export class UpdateExternalAgentResponseBodyDataExternalAgentStatus extends $dara.Model {
6
112
  /**
7
113
  * @remarks
8
- * The heartbeat status. ONLINE indicates that the most recent heartbeat has not exceeded the configured timeout threshold. STALE indicates that the heartbeat has timed out. UNKNOWN indicates that the heartbeat is missing or has an invalid format. Valid values:
9
- * - ONLINE: Online.
10
- * - STALE: Heartbeat expired.
11
- * - UNKNOWN: Unknown.
114
+ * The heartbeat status. ONLINE indicates that the latest heartbeat has not exceeded the configured timeout threshold. STALE indicates that the heartbeat has timed out. UNKNOWN indicates that the heartbeat is missing or the format is invalid. Valid values:
115
+ * - ONLINE: online
116
+ * - STALE: heartbeat expired
117
+ * - UNKNOWN: unknown
12
118
  *
13
119
  * @example
14
120
  * ONLINE
@@ -86,7 +192,7 @@ export class UpdateExternalAgentResponseBodyDataModelQuota extends $dara.Model {
86
192
  enabled?: boolean;
87
193
  /**
88
194
  * @remarks
89
- * The quota limit type. Currently, only token is supported.
195
+ * The quota limit type. Only token is supported.
90
196
  *
91
197
  * @example
92
198
  * token
@@ -94,7 +200,7 @@ export class UpdateExternalAgentResponseBodyDataModelQuota extends $dara.Model {
94
200
  limitType?: string;
95
201
  /**
96
202
  * @remarks
97
- * Indicates whether the quota has been exceeded in the current cycle. This is a read-only field returned by the backend.
203
+ * Indicates whether the quota is exceeded for the current cycle. This is a read-only field returned by the backend.
98
204
  *
99
205
  * @example
100
206
  * false
@@ -102,7 +208,7 @@ export class UpdateExternalAgentResponseBodyDataModelQuota extends $dara.Model {
102
208
  overLimit?: boolean;
103
209
  /**
104
210
  * @remarks
105
- * The quota statistical period. day indicates a daily period. month indicates a monthly period.
211
+ * The quota statistical period. A value of day indicates daily, and a value of month indicates monthly.
106
212
  *
107
213
  * @example
108
214
  * day
@@ -118,7 +224,7 @@ export class UpdateExternalAgentResponseBodyDataModelQuota extends $dara.Model {
118
224
  ruleStatus?: string;
119
225
  /**
120
226
  * @remarks
121
- * The maximum number of tokens that can be consumed within a single cycle.
227
+ * The maximum number of tokens allowed to be consumed in a single cycle.
122
228
  *
123
229
  * @example
124
230
  * 1000000
@@ -184,7 +290,7 @@ export class UpdateExternalAgentResponseBodyDataModel extends $dara.Model {
184
290
  modelName?: string;
185
291
  /**
186
292
  * @remarks
187
- * The model token quota configuration and the quota usage status in the current cycle. This field is empty if no quota is configured.
293
+ * The model token quota configuration and usage status for the current cycle. This field is empty if no quota is configured.
188
294
  */
189
295
  quota?: UpdateExternalAgentResponseBodyDataModelQuota;
190
296
  static names(): { [key: string]: string } {
@@ -215,17 +321,91 @@ export class UpdateExternalAgentResponseBodyDataModel extends $dara.Model {
215
321
  }
216
322
  }
217
323
 
324
+ export class UpdateExternalAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
325
+ /**
326
+ * @remarks
327
+ * The type of the version selector. Valid values:
328
+ * - LABEL: By label.
329
+ * - VERSION: By specific version.
330
+ *
331
+ * @example
332
+ * LABEL
333
+ */
334
+ type?: string;
335
+ /**
336
+ * @remarks
337
+ * The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
338
+ *
339
+ * @example
340
+ * latest
341
+ */
342
+ value?: string;
343
+ static names(): { [key: string]: string } {
344
+ return {
345
+ type: 'type',
346
+ value: 'value',
347
+ };
348
+ }
349
+
350
+ static types(): { [key: string]: any } {
351
+ return {
352
+ type: 'string',
353
+ value: 'string',
354
+ };
355
+ }
356
+
357
+ validate() {
358
+ super.validate();
359
+ }
360
+
361
+ constructor(map?: { [key: string]: any }) {
362
+ super(map);
363
+ }
364
+ }
365
+
218
366
  export class UpdateExternalAgentResponseBodyDataSkills extends $dara.Model {
219
367
  /**
220
368
  * @remarks
221
- * The skill name.
369
+ * The applied version in the runtime. This is a read-only field.
222
370
  *
223
- * This parameter is required.
371
+ * @example
372
+ * 1.0.0
373
+ */
374
+ appliedVersion?: string;
375
+ /**
376
+ * @remarks
377
+ * Indicates whether the skill is from a fixed template. This is a read-only field. Template items cannot be removed.
378
+ *
379
+ * @example
380
+ * false
381
+ */
382
+ fromTemplate?: boolean;
383
+ /**
384
+ * @remarks
385
+ * The skill name.
224
386
  *
225
387
  * @example
226
388
  * code-analysis
227
389
  */
228
390
  name?: string;
391
+ /**
392
+ * @remarks
393
+ * The current target version. This is a read-only field.
394
+ *
395
+ * @example
396
+ * 1.0.0
397
+ */
398
+ resolvedVersion?: string;
399
+ /**
400
+ * @remarks
401
+ * The source type of the skill. Valid values:
402
+ * - REFERENCE: References the AI Registry.
403
+ * - STATIC: Statically provided with the package.
404
+ *
405
+ * @example
406
+ * REFERENCE
407
+ */
408
+ sourceType?: string;
229
409
  /**
230
410
  * @remarks
231
411
  * The skill version.
@@ -234,21 +414,39 @@ export class UpdateExternalAgentResponseBodyDataSkills extends $dara.Model {
234
414
  * 1.0.0
235
415
  */
236
416
  version?: string;
417
+ /**
418
+ * @remarks
419
+ * The referenced version selector, which defaults to LABEL/latest if omitted.
420
+ */
421
+ versionSelector?: UpdateExternalAgentResponseBodyDataSkillsVersionSelector;
237
422
  static names(): { [key: string]: string } {
238
423
  return {
424
+ appliedVersion: 'appliedVersion',
425
+ fromTemplate: 'fromTemplate',
239
426
  name: 'name',
427
+ resolvedVersion: 'resolvedVersion',
428
+ sourceType: 'sourceType',
240
429
  version: 'version',
430
+ versionSelector: 'versionSelector',
241
431
  };
242
432
  }
243
433
 
244
434
  static types(): { [key: string]: any } {
245
435
  return {
436
+ appliedVersion: 'string',
437
+ fromTemplate: 'boolean',
246
438
  name: 'string',
439
+ resolvedVersion: 'string',
440
+ sourceType: 'string',
247
441
  version: 'string',
442
+ versionSelector: UpdateExternalAgentResponseBodyDataSkillsVersionSelector,
248
443
  };
249
444
  }
250
445
 
251
446
  validate() {
447
+ if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
448
+ (this.versionSelector as any).validate();
449
+ }
252
450
  super.validate();
253
451
  }
254
452
 
@@ -260,7 +458,7 @@ export class UpdateExternalAgentResponseBodyDataSkills extends $dara.Model {
260
458
  export class UpdateExternalAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
261
459
  /**
262
460
  * @remarks
263
- * The name of the template in AI Registry.
461
+ * The name of the template in the AI Registry.
264
462
  *
265
463
  * This parameter is required.
266
464
  *
@@ -270,7 +468,7 @@ export class UpdateExternalAgentResponseBodyDataTemplateAiRegistry extends $dara
270
468
  name?: string;
271
469
  /**
272
470
  * @remarks
273
- * The version of the template in AI Registry.
471
+ * The version of the template in the AI Registry.
274
472
  *
275
473
  * This parameter is required.
276
474
  *
@@ -385,6 +583,11 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
385
583
  * agent-1
386
584
  */
387
585
  agentId?: string;
586
+ /**
587
+ * @remarks
588
+ * Includes only the skills added or overridden by the user, excluding inherited items from templates. The resource model reads this field to preserve update semantics. Creation and update operations still use the skills in the request.
589
+ */
590
+ configuredSkills?: UpdateExternalAgentResponseBodyDataConfiguredSkills[];
388
591
  /**
389
592
  * @remarks
390
593
  * The creation mode.
@@ -414,7 +617,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
414
617
  * The description of the external agent.
415
618
  *
416
619
  * @example
417
- * A code review agent running in the user environment
620
+ * Code review agent running in the user environment
418
621
  */
419
622
  description?: string;
420
623
  /**
@@ -424,7 +627,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
424
627
  externalAgentStatus?: UpdateExternalAgentResponseBodyDataExternalAgentStatus;
425
628
  /**
426
629
  * @remarks
427
- * The agent instruction that guides the behavior of the agent.
630
+ * The agent instructions used to guide the behavior of the agent.
428
631
  *
429
632
  * @example
430
633
  * You are a code review assistant
@@ -441,12 +644,12 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
441
644
  /**
442
645
  * @remarks
443
646
  * The processing status of the latest specification version. Valid values:
444
- * - pending: Pending.
445
- * - processing: Processing.
446
- * - waiting_retry: Waiting for retry.
447
- * - succeeded: Succeeded.
448
- * - failed: Failed.
449
- * - superseded: Superseded by a newer version.
647
+ * - pending: pending
648
+ * - processing: processing
649
+ * - waiting_retry: waiting for retry
650
+ * - succeeded: succeeded
651
+ * - failed: failed
652
+ * - superseded: superseded by a new version
450
653
  *
451
654
  * @example
452
655
  * pending
@@ -459,9 +662,9 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
459
662
  model?: UpdateExternalAgentResponseBodyDataModel;
460
663
  /**
461
664
  * @remarks
462
- * The model configuration source. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be specified at the same time. Valid values:
463
- * - PLATFORM: platform model.
464
- * - RUNTIME: runtime model.
665
+ * The source of the model configuration. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be passed at the same time. Valid values:
666
+ * - PLATFORM: Platform model.
667
+ * - RUNTIME: Runtime model.
465
668
  *
466
669
  * @example
467
670
  * PLATFORM
@@ -498,13 +701,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
498
701
  skills?: UpdateExternalAgentResponseBodyDataSkills[];
499
702
  /**
500
703
  * @remarks
501
- * The external agent status. Valid values:
502
- * - Creating: Being created.
503
- * - Running: Running.
504
- * - Failed: Failed.
505
- * - Updating: Being updated.
506
- * - Deleting: Being deleted.
507
- * - Deleted: Deleted.
704
+ * The status of the external agent. Valid values: Creating, Running, Failed, Updating, Deleting, and Deleted.
508
705
  *
509
706
  * @example
510
707
  * Running
@@ -539,6 +736,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
539
736
  static names(): { [key: string]: string } {
540
737
  return {
541
738
  agentId: 'agentId',
739
+ configuredSkills: 'configuredSkills',
542
740
  createMode: 'createMode',
543
741
  createdAt: 'createdAt',
544
742
  deployType: 'deployType',
@@ -564,6 +762,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
564
762
  static types(): { [key: string]: any } {
565
763
  return {
566
764
  agentId: 'string',
765
+ configuredSkills: { 'type': 'array', 'itemType': UpdateExternalAgentResponseBodyDataConfiguredSkills },
567
766
  createMode: 'string',
568
767
  createdAt: 'string',
569
768
  deployType: 'string',
@@ -587,6 +786,9 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
587
786
  }
588
787
 
589
788
  validate() {
789
+ if(Array.isArray(this.configuredSkills)) {
790
+ $dara.Model.validateArray(this.configuredSkills);
791
+ }
590
792
  if(this.externalAgentStatus && typeof (this.externalAgentStatus as any).validate === 'function') {
591
793
  (this.externalAgentStatus as any).validate();
592
794
  }
@@ -613,7 +815,7 @@ export class UpdateExternalAgentResponseBodyData extends $dara.Model {
613
815
  export class UpdateExternalAgentResponseBody extends $dara.Model {
614
816
  /**
615
817
  * @remarks
616
- * The business status code. The value is SUCCESS when the request succeeds.
818
+ * The business status code. The value is SUCCESS if the request is successful.
617
819
  *
618
820
  * @example
619
821
  * SUCCESS
@@ -626,7 +828,7 @@ export class UpdateExternalAgentResponseBody extends $dara.Model {
626
828
  data?: UpdateExternalAgentResponseBodyData;
627
829
  /**
628
830
  * @remarks
629
- * The HTTP status code. The value is 200 when the request succeeds.
831
+ * The HTTP status code. A value of 200 indicates success.
630
832
  *
631
833
  * @example
632
834
  * 200
@@ -650,7 +852,7 @@ export class UpdateExternalAgentResponseBody extends $dara.Model {
650
852
  requestId?: string;
651
853
  /**
652
854
  * @remarks
653
- * Indicates whether the request was successful.
855
+ * Indicates whether the request is successful.
654
856
  */
655
857
  success?: boolean;
656
858
  static names(): { [key: string]: string } {
@@ -77,14 +77,18 @@ export { CreateCustomAgentResponseBodyDataRuntime } from './CreateCustomAgentRes
77
77
  export { CreateCustomAgentResponseBodyData } from './CreateCustomAgentResponseBody';
78
78
  export { CreateExternalAgentRequestBodyModelQuota } from './CreateExternalAgentRequest';
79
79
  export { CreateExternalAgentRequestBodyModel } from './CreateExternalAgentRequest';
80
+ export { CreateExternalAgentRequestBodySkillsVersionSelector } from './CreateExternalAgentRequest';
80
81
  export { CreateExternalAgentRequestBodySkills } from './CreateExternalAgentRequest';
81
82
  export { CreateExternalAgentRequestBodyTemplateAiRegistry } from './CreateExternalAgentRequest';
82
83
  export { CreateExternalAgentRequestBodyTemplate } from './CreateExternalAgentRequest';
83
84
  export { CreateExternalAgentRequestBodyTools } from './CreateExternalAgentRequest';
84
85
  export { CreateExternalAgentRequestBody } from './CreateExternalAgentRequest';
86
+ export { CreateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector } from './CreateExternalAgentResponseBody';
87
+ export { CreateExternalAgentResponseBodyDataConfiguredSkills } from './CreateExternalAgentResponseBody';
85
88
  export { CreateExternalAgentResponseBodyDataExternalAgentStatus } from './CreateExternalAgentResponseBody';
86
89
  export { CreateExternalAgentResponseBodyDataModelQuota } from './CreateExternalAgentResponseBody';
87
90
  export { CreateExternalAgentResponseBodyDataModel } from './CreateExternalAgentResponseBody';
91
+ export { CreateExternalAgentResponseBodyDataSkillsVersionSelector } from './CreateExternalAgentResponseBody';
88
92
  export { CreateExternalAgentResponseBodyDataSkills } from './CreateExternalAgentResponseBody';
89
93
  export { CreateExternalAgentResponseBodyDataTemplateAiRegistry } from './CreateExternalAgentResponseBody';
90
94
  export { CreateExternalAgentResponseBodyDataTemplate } from './CreateExternalAgentResponseBody';
@@ -264,9 +268,12 @@ export { GetCustomAgentResponseBodyDataRuntimeHpa } from './GetCustomAgentRespon
264
268
  export { GetCustomAgentResponseBodyDataRuntimeSessionPolicy } from './GetCustomAgentResponseBody';
265
269
  export { GetCustomAgentResponseBodyDataRuntime } from './GetCustomAgentResponseBody';
266
270
  export { GetCustomAgentResponseBodyData } from './GetCustomAgentResponseBody';
271
+ export { GetExternalAgentResponseBodyDataConfiguredSkillsVersionSelector } from './GetExternalAgentResponseBody';
272
+ export { GetExternalAgentResponseBodyDataConfiguredSkills } from './GetExternalAgentResponseBody';
267
273
  export { GetExternalAgentResponseBodyDataExternalAgentStatus } from './GetExternalAgentResponseBody';
268
274
  export { GetExternalAgentResponseBodyDataModelQuota } from './GetExternalAgentResponseBody';
269
275
  export { GetExternalAgentResponseBodyDataModel } from './GetExternalAgentResponseBody';
276
+ export { GetExternalAgentResponseBodyDataSkillsVersionSelector } from './GetExternalAgentResponseBody';
270
277
  export { GetExternalAgentResponseBodyDataSkills } from './GetExternalAgentResponseBody';
271
278
  export { GetExternalAgentResponseBodyDataTemplateAiRegistry } from './GetExternalAgentResponseBody';
272
279
  export { GetExternalAgentResponseBodyDataTemplate } from './GetExternalAgentResponseBody';
@@ -540,14 +547,18 @@ export { UpdateCustomAgentResponseBodyDataRuntime } from './UpdateCustomAgentRes
540
547
  export { UpdateCustomAgentResponseBodyData } from './UpdateCustomAgentResponseBody';
541
548
  export { UpdateExternalAgentRequestBodyModelQuota } from './UpdateExternalAgentRequest';
542
549
  export { UpdateExternalAgentRequestBodyModel } from './UpdateExternalAgentRequest';
550
+ export { UpdateExternalAgentRequestBodySkillsVersionSelector } from './UpdateExternalAgentRequest';
543
551
  export { UpdateExternalAgentRequestBodySkills } from './UpdateExternalAgentRequest';
544
552
  export { UpdateExternalAgentRequestBodyTemplateAiRegistry } from './UpdateExternalAgentRequest';
545
553
  export { UpdateExternalAgentRequestBodyTemplate } from './UpdateExternalAgentRequest';
546
554
  export { UpdateExternalAgentRequestBodyTools } from './UpdateExternalAgentRequest';
547
555
  export { UpdateExternalAgentRequestBody } from './UpdateExternalAgentRequest';
556
+ export { UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector } from './UpdateExternalAgentResponseBody';
557
+ export { UpdateExternalAgentResponseBodyDataConfiguredSkills } from './UpdateExternalAgentResponseBody';
548
558
  export { UpdateExternalAgentResponseBodyDataExternalAgentStatus } from './UpdateExternalAgentResponseBody';
549
559
  export { UpdateExternalAgentResponseBodyDataModelQuota } from './UpdateExternalAgentResponseBody';
550
560
  export { UpdateExternalAgentResponseBodyDataModel } from './UpdateExternalAgentResponseBody';
561
+ export { UpdateExternalAgentResponseBodyDataSkillsVersionSelector } from './UpdateExternalAgentResponseBody';
551
562
  export { UpdateExternalAgentResponseBodyDataSkills } from './UpdateExternalAgentResponseBody';
552
563
  export { UpdateExternalAgentResponseBodyDataTemplateAiRegistry } from './UpdateExternalAgentResponseBody';
553
564
  export { UpdateExternalAgentResponseBodyDataTemplate } from './UpdateExternalAgentResponseBody';