@alicloud/agentcore20260804 2.2.0 → 2.2.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 (46) hide show
  1. package/dist/client.d.ts +14 -14
  2. package/dist/client.js +14 -14
  3. package/dist/models/CreateManagedAgentRequest.d.ts +72 -22
  4. package/dist/models/CreateManagedAgentRequest.js +27 -1
  5. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  6. package/dist/models/CreateManagedAgentResponseBody.d.ts +109 -28
  7. package/dist/models/CreateManagedAgentResponseBody.js +27 -1
  8. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  9. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  10. package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
  11. package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
  12. package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
  13. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +19 -2
  14. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  15. package/dist/models/GetManagedAgentResponseBody.d.ts +115 -32
  16. package/dist/models/GetManagedAgentResponseBody.js +27 -1
  17. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  18. package/dist/models/ListSkillsRequest.d.ts +2 -2
  19. package/dist/models/ListSkillsResponseBody.d.ts +10 -3
  20. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  21. package/dist/models/UpdateManagedAgentRequest.d.ts +61 -30
  22. package/dist/models/UpdateManagedAgentRequest.js +27 -1
  23. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  24. package/dist/models/UpdateManagedAgentResponseBody.d.ts +61 -28
  25. package/dist/models/UpdateManagedAgentResponseBody.js +27 -1
  26. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  27. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  28. package/dist/models/model.d.ts +5 -0
  29. package/dist/models/model.js +65 -55
  30. package/dist/models/model.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/client.ts +14 -14
  33. package/src/models/CreateManagedAgentRequest.ts +89 -22
  34. package/src/models/CreateManagedAgentResponseBody.ts +126 -28
  35. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  36. package/src/models/CreateSkillDraftRequest.ts +1 -1
  37. package/src/models/CreateSkillDraftResponseBody.ts +1 -1
  38. package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
  39. package/src/models/GetAgentSpecLatestResponseBody.ts +19 -2
  40. package/src/models/GetManagedAgentResponseBody.ts +132 -32
  41. package/src/models/ListSkillsRequest.ts +2 -2
  42. package/src/models/ListSkillsResponseBody.ts +10 -3
  43. package/src/models/UpdateManagedAgentRequest.ts +78 -30
  44. package/src/models/UpdateManagedAgentResponseBody.ts +78 -28
  45. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  46. package/src/models/model.ts +5 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount entry as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
8
+ * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount item as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
9
9
  *
10
10
  * @example
11
11
  * /mnt/agenticfs/data
@@ -13,7 +13,7 @@ export class UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
13
13
  mountPath?: string;
14
14
  /**
15
15
  * @remarks
16
- * The non-empty relative directory that exists under the AccessPoint. Required for each mount entry as validated by the backend. Root directory, absolute paths, and parent directory segments are not allowed.
16
+ * A non-empty relative directory that exists under the AccessPoint. Required for each mount item as validated by the backend. Root directories, absolute paths, and parent directory segments are not allowed.
17
17
  *
18
18
  * @example
19
19
  * workspace/data
@@ -21,7 +21,7 @@ export class UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
21
21
  path?: string;
22
22
  /**
23
23
  * @remarks
24
- * Specifies whether to mount in read-only mode. Default value: false. This is not the RAM role read-only policy.
24
+ * Specifies whether to mount in read-only mode. Default value: false. This is not a RAM role read-only policy.
25
25
  *
26
26
  * @example
27
27
  * false
@@ -29,7 +29,7 @@ export class UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
29
29
  readOnly?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The AccessPoint domain name. Required for each mount entry as validated by the backend. Do not include the protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
32
+ * The AccessPoint domain name. Required for each mount item as validated by the backend. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
33
33
  *
34
34
  * @example
35
35
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -181,7 +181,7 @@ export class UpdateManagedAgentRequestBodyEnvironment extends $dara.Model {
181
181
  export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Model {
182
182
  /**
183
183
  * @remarks
184
- * The connector service account key.
184
+ * The Connector Service Account Key.
185
185
  *
186
186
  * @example
187
187
  * key-xxxx
@@ -189,7 +189,7 @@ export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
189
189
  connectorServiceAccountKey?: string;
190
190
  /**
191
191
  * @remarks
192
- * The connector service account name.
192
+ * The Connector Service Account Name.
193
193
  *
194
194
  * @example
195
195
  * my-connector-key
@@ -261,7 +261,7 @@ export class UpdateManagedAgentRequestBodyHarness extends $dara.Model {
261
261
  export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
262
262
  /**
263
263
  * @remarks
264
- * Specifies whether to enable token quota. Default value: true. Set to false to disable and delete existing quota rules.
264
+ * Specifies whether to enable the token quota. Default value: true. Set to false to disable and delete existing quota rules.
265
265
  *
266
266
  * @example
267
267
  * true
@@ -269,7 +269,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
269
269
  enabled?: boolean;
270
270
  /**
271
271
  * @remarks
272
- * The quota limit type. Required when quota is enabled, as validated by the backend. Fixed value: token.
272
+ * The quota limit type. Required when the quota is enabled, as validated by the backend. Fixed value: token.
273
273
  *
274
274
  * @example
275
275
  * token
@@ -277,9 +277,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
277
277
  limitType?: string;
278
278
  /**
279
279
  * @remarks
280
- * The quota statistical period. Required when quota is enabled, as validated by the backend. Valid values:
281
- * - day: daily.
282
- * - month: monthly.
280
+ * The statistical period for the quota. Required when the quota is enabled, as validated by the backend. Valid values: day (daily) and month (monthly).
283
281
  *
284
282
  * @example
285
283
  * day
@@ -287,7 +285,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
287
285
  periodType?: string;
288
286
  /**
289
287
  * @remarks
290
- * The maximum number of tokens allowed within a single period. Required when quota is enabled, as validated by the backend. The value must be greater than 0.
288
+ * The maximum number of tokens that can be consumed within a single period. Required when the quota is enabled, as validated by the backend. The value must be greater than 0.
291
289
  *
292
290
  * @example
293
291
  * 1000000
@@ -475,7 +473,7 @@ export class UpdateManagedAgentRequestBodyNetwork extends $dara.Model {
475
473
  export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
476
474
  /**
477
475
  * @remarks
478
- * The OSS bucket name. Required for each mount entry as validated by the backend.
476
+ * The OSS bucket name. Required for each mount item as validated by the backend.
479
477
  *
480
478
  * @example
481
479
  * bucket-001
@@ -483,7 +481,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
483
481
  bucketName?: string;
484
482
  /**
485
483
  * @remarks
486
- * The absolute mount path in the container. Required for each mount entry as validated by the backend.
484
+ * The absolute mount path in the container. Required for each mount item as validated by the backend.
487
485
  *
488
486
  * @example
489
487
  * /mnt/oss/datasets
@@ -569,7 +567,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
569
567
  enabled?: boolean;
570
568
  /**
571
569
  * @remarks
572
- * The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
570
+ * The maximum number of active sessions per Sandbox. Required when hpa is present, as validated by the backend.
573
571
  *
574
572
  * @example
575
573
  * 5
@@ -577,7 +575,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
577
575
  maxConcurrentSessionsPerSandbox?: number;
578
576
  /**
579
577
  * @remarks
580
- * The maximum number of sandboxes. Required when HPA is enabled and must be no less than the minimum value.
578
+ * The maximum number of Sandboxes. Required when HPA is enabled and must be greater than or equal to the minimum value.
581
579
  *
582
580
  * @example
583
581
  * 3
@@ -585,7 +583,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
585
583
  maxSandboxCount?: number;
586
584
  /**
587
585
  * @remarks
588
- * The minimum number of sandboxes. Required when HPA is enabled.
586
+ * The minimum number of Sandboxes. Required when HPA is enabled.
589
587
  *
590
588
  * @example
591
589
  * 1
@@ -593,7 +591,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
593
591
  minSandboxCount?: number;
594
592
  /**
595
593
  * @remarks
596
- * The time in seconds before an inactive session is reclaimed. Required when hpa is present, as validated by the backend.
594
+ * The time-to-live (TTL) for a session after inactivity, in seconds. Required when hpa is present, as validated by the backend.
597
595
  *
598
596
  * @example
599
597
  * 3600
@@ -631,7 +629,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
631
629
  export class UpdateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
632
630
  /**
633
631
  * @remarks
634
- * The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
632
+ * The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
635
633
  *
636
634
  * @example
637
635
  * X-Session-Id
@@ -680,7 +678,7 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
680
678
  compute?: UpdateManagedAgentRequestBodyRuntimeCompute;
681
679
  /**
682
680
  * @remarks
683
- * The sandbox auto scaling and session configuration.
681
+ * The Sandbox auto scaling and session configuration.
684
682
  */
685
683
  hpa?: UpdateManagedAgentRequestBodyRuntimeHpa;
686
684
  /**
@@ -728,8 +726,8 @@ export class UpdateManagedAgentRequestBodySkillsVersionSelector extends $dara.Mo
728
726
  /**
729
727
  * @remarks
730
728
  * The version selector type. Valid values:
731
- * - LABEL: selects by label.
732
- * - VERSION: selects by specific version.
729
+ * - LABEL: select by label.
730
+ * - VERSION: select by specific version.
733
731
  *
734
732
  * @example
735
733
  * LABEL
@@ -780,7 +778,7 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
780
778
  /**
781
779
  * @remarks
782
780
  * The skill source type. Valid values:
783
- * - REFERENCE: references AI Registry.
781
+ * - REFERENCE: referenced from AI Registry.
784
782
  * - STATIC: statically bundled with the package.
785
783
  *
786
784
  * @example
@@ -797,7 +795,7 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
797
795
  version?: string;
798
796
  /**
799
797
  * @remarks
800
- * The referenced version selector. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
798
+ * The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
801
799
  */
802
800
  versionSelector?: UpdateManagedAgentRequestBodySkillsVersionSelector;
803
801
  static names(): { [key: string]: string } {
@@ -830,6 +828,46 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
830
828
  }
831
829
  }
832
830
 
831
+ export class UpdateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
832
+ /**
833
+ * @remarks
834
+ * The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
835
+ *
836
+ * @example
837
+ * web-search
838
+ */
839
+ name?: string;
840
+ /**
841
+ * @remarks
842
+ * The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
843
+ *
844
+ * @example
845
+ * 1.0.0
846
+ */
847
+ version?: string;
848
+ static names(): { [key: string]: string } {
849
+ return {
850
+ name: 'name',
851
+ version: 'version',
852
+ };
853
+ }
854
+
855
+ static types(): { [key: string]: any } {
856
+ return {
857
+ name: 'string',
858
+ version: 'string',
859
+ };
860
+ }
861
+
862
+ validate() {
863
+ super.validate();
864
+ }
865
+
866
+ constructor(map?: { [key: string]: any }) {
867
+ super(map);
868
+ }
869
+ }
870
+
833
871
  export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
834
872
  /**
835
873
  * @remarks
@@ -851,10 +889,16 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
851
889
  * reviewer-agent
852
890
  */
853
891
  name?: string;
892
+ /**
893
+ * @remarks
894
+ * The skills exclusively used by this sub-agent. Skill names must be unique within the same sub-agent. If this parameter is not specified or an empty array is passed, no skills are configured.
895
+ */
896
+ skills?: UpdateManagedAgentRequestBodySubAgentsSkills[];
854
897
  static names(): { [key: string]: string } {
855
898
  return {
856
899
  instruction: 'instruction',
857
900
  name: 'name',
901
+ skills: 'skills',
858
902
  };
859
903
  }
860
904
 
@@ -862,10 +906,14 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
862
906
  return {
863
907
  instruction: 'string',
864
908
  name: 'string',
909
+ skills: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodySubAgentsSkills },
865
910
  };
866
911
  }
867
912
 
868
913
  validate() {
914
+ if(Array.isArray(this.skills)) {
915
+ $dara.Model.validateArray(this.skills);
916
+ }
869
917
  super.validate();
870
918
  }
871
919
 
@@ -993,7 +1041,7 @@ export class UpdateManagedAgentRequestBodyTools extends $dara.Model {
993
1041
  export class UpdateManagedAgentRequestBody extends $dara.Model {
994
1042
  /**
995
1043
  * @remarks
996
- * The AgenticFS mount list. Omit to retain existing values, pass [] to clear, or pass a non-empty array for full replacement. null is rejected. Combined with OSS mounts, a maximum of 10 entries are allowed.
1044
+ * Omit to retain existing values, pass [] to clear, or pass a non-empty array for full replacement. null is rejected. Combined with OSS mounts, a maximum of 10 items are allowed.
997
1045
  */
998
1046
  agenticFsMounts?: UpdateManagedAgentRequestBodyAgenticFsMounts[];
999
1047
  /**
@@ -1042,7 +1090,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
1042
1090
  network?: UpdateManagedAgentRequestBodyNetwork;
1043
1091
  /**
1044
1092
  * @remarks
1045
- * The OSS mount list. A maximum of 10 entries are allowed. Pass an empty array to clear existing mounts.
1093
+ * The list of OSS mounts. A maximum of 10 items are allowed. Pass an empty array to clear existing mounts.
1046
1094
  */
1047
1095
  ossMounts?: UpdateManagedAgentRequestBodyOssMounts[];
1048
1096
  /**
@@ -1052,12 +1100,12 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
1052
1100
  runtime?: UpdateManagedAgentRequestBodyRuntime;
1053
1101
  /**
1054
1102
  * @remarks
1055
- * The skill configuration list.
1103
+ * The list of skill configurations.
1056
1104
  */
1057
1105
  skills?: UpdateManagedAgentRequestBodySkills[];
1058
1106
  /**
1059
1107
  * @remarks
1060
- * The sub-agent configuration list.
1108
+ * The list of sub-agent configurations.
1061
1109
  */
1062
1110
  subAgents?: UpdateManagedAgentRequestBodySubAgents[];
1063
1111
  /**
@@ -1067,7 +1115,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
1067
1115
  template?: UpdateManagedAgentRequestBodyTemplate;
1068
1116
  /**
1069
1117
  * @remarks
1070
- * The tool configuration list.
1118
+ * The list of tool configurations.
1071
1119
  */
1072
1120
  tools?: UpdateManagedAgentRequestBodyTools[];
1073
1121
  static names(): { [key: string]: string } {
@@ -1158,7 +1206,7 @@ export class UpdateManagedAgentRequest extends $dara.Model {
1158
1206
  body?: UpdateManagedAgentRequestBody;
1159
1207
  /**
1160
1208
  * @remarks
1161
- * The reserved idempotency token. The backend does not guarantee idempotency in the current release.
1209
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
1162
1210
  *
1163
1211
  * @example
1164
1212
  * client-token-1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount entry as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
8
+ * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount item as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
9
9
  *
10
10
  * @example
11
11
  * /mnt/agenticfs/data
@@ -13,7 +13,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
13
13
  mountPath?: string;
14
14
  /**
15
15
  * @remarks
16
- * The non-empty relative directory that exists under the AccessPoint. Required for each mount entry as validated by the backend. Root directory, absolute paths, and parent directory segments are not allowed.
16
+ * A non-empty relative directory that exists under the AccessPoint. Required for each mount item as validated by the backend. Root directories, absolute paths, and parent directory segments are not allowed.
17
17
  *
18
18
  * @example
19
19
  * workspace/data
@@ -21,7 +21,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
21
21
  path?: string;
22
22
  /**
23
23
  * @remarks
24
- * Specifies whether to mount in read-only mode. Default value: false. This is not the RAM role read-only policy.
24
+ * Specifies whether to mount in read-only mode. Default value: false. This is not a RAM role read-only policy.
25
25
  *
26
26
  * @example
27
27
  * false
@@ -29,7 +29,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
29
29
  readOnly?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The AccessPoint domain name. Required for each mount entry as validated by the backend. Do not include the protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
32
+ * The AccessPoint domain name. Required for each mount item as validated by the backend. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
33
33
  *
34
34
  * @example
35
35
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -66,8 +66,8 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
66
66
  /**
67
67
  * @remarks
68
68
  * The version selector type. Valid values:
69
- * - LABEL: selects by label.
70
- * - VERSION: selects by specific version.
69
+ * - LABEL: select by label.
70
+ * - VERSION: select by specific version.
71
71
  *
72
72
  * @example
73
73
  * LABEL
@@ -118,7 +118,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
118
118
  /**
119
119
  * @remarks
120
120
  * The skill source type. Valid values:
121
- * - REFERENCE: references AI Registry.
121
+ * - REFERENCE: referenced from AI Registry.
122
122
  * - STATIC: statically bundled with the package.
123
123
  *
124
124
  * @example
@@ -135,7 +135,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
135
135
  version?: string;
136
136
  /**
137
137
  * @remarks
138
- * The referenced version selector. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
138
+ * The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
139
139
  */
140
140
  versionSelector?: UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
141
141
  static names(): { [key: string]: string } {
@@ -287,7 +287,7 @@ export class UpdateManagedAgentResponseBodyDataEnvironment extends $dara.Model {
287
287
  export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
288
288
  /**
289
289
  * @remarks
290
- * The connector service account key.
290
+ * The Connector Service Account Key.
291
291
  *
292
292
  * @example
293
293
  * key-xxxx
@@ -295,7 +295,7 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
295
295
  connectorServiceAccountKey?: string;
296
296
  /**
297
297
  * @remarks
298
- * The connector service account name.
298
+ * The Connector Service Account Name.
299
299
  *
300
300
  * @example
301
301
  * my-connector-key
@@ -391,7 +391,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
391
391
  overLimit?: boolean;
392
392
  /**
393
393
  * @remarks
394
- * The quota statistical period. A value of day indicates daily. A value of month indicates monthly.
394
+ * The quota statistical period. Valid values: day (daily) and month (monthly).
395
395
  *
396
396
  * @example
397
397
  * day
@@ -607,7 +607,7 @@ export class UpdateManagedAgentResponseBodyDataNetwork extends $dara.Model {
607
607
  export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
608
608
  /**
609
609
  * @remarks
610
- * The OSS bucket name. Required for each mount entry as validated by the backend.
610
+ * The OSS bucket name. Required for each mount item as validated by the backend.
611
611
  *
612
612
  * @example
613
613
  * bucket-001
@@ -615,7 +615,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
615
615
  bucketName?: string;
616
616
  /**
617
617
  * @remarks
618
- * The absolute mount path in the container. Required for each mount entry as validated by the backend.
618
+ * The absolute mount path in the container. Required for each mount item as validated by the backend.
619
619
  *
620
620
  * @example
621
621
  * /mnt/oss/datasets
@@ -701,7 +701,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
701
701
  enabled?: boolean;
702
702
  /**
703
703
  * @remarks
704
- * The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
704
+ * The maximum number of active sessions per Sandbox. Required when hpa is present, as validated by the backend.
705
705
  *
706
706
  * @example
707
707
  * 5
@@ -709,7 +709,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
709
709
  maxConcurrentSessionsPerSandbox?: number;
710
710
  /**
711
711
  * @remarks
712
- * The maximum number of sandboxes. Required when HPA is enabled and must be no less than the minimum value.
712
+ * The maximum number of Sandboxes. Required when HPA is enabled and must be greater than or equal to the minimum value.
713
713
  *
714
714
  * @example
715
715
  * 3
@@ -717,7 +717,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
717
717
  maxSandboxCount?: number;
718
718
  /**
719
719
  * @remarks
720
- * The minimum number of sandboxes. Required when HPA is enabled.
720
+ * The minimum number of Sandboxes. Required when HPA is enabled.
721
721
  *
722
722
  * @example
723
723
  * 1
@@ -725,7 +725,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
725
725
  minSandboxCount?: number;
726
726
  /**
727
727
  * @remarks
728
- * The time in seconds before an inactive session is reclaimed. Required when hpa is present, as validated by the backend.
728
+ * The time-to-live (TTL) for a session after inactivity, in seconds. Required when hpa is present, as validated by the backend.
729
729
  *
730
730
  * @example
731
731
  * 3600
@@ -763,7 +763,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
763
763
  export class UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
764
764
  /**
765
765
  * @remarks
766
- * The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
766
+ * The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
767
767
  *
768
768
  * @example
769
769
  * X-Session-Id
@@ -812,7 +812,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
812
812
  compute?: UpdateManagedAgentResponseBodyDataRuntimeCompute;
813
813
  /**
814
814
  * @remarks
815
- * The sandbox auto scaling and session configuration.
815
+ * The Sandbox auto scaling and session configuration.
816
816
  */
817
817
  hpa?: UpdateManagedAgentResponseBodyDataRuntimeHpa;
818
818
  /**
@@ -860,8 +860,8 @@ export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
860
860
  /**
861
861
  * @remarks
862
862
  * The version selector type. Valid values:
863
- * - LABEL: selects by label.
864
- * - VERSION: selects by specific version.
863
+ * - LABEL: select by label.
864
+ * - VERSION: select by specific version.
865
865
  *
866
866
  * @example
867
867
  * LABEL
@@ -934,7 +934,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
934
934
  /**
935
935
  * @remarks
936
936
  * The skill source type. Valid values:
937
- * - REFERENCE: references AI Registry.
937
+ * - REFERENCE: referenced from AI Registry.
938
938
  * - STATIC: statically bundled with the package.
939
939
  *
940
940
  * @example
@@ -990,6 +990,46 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
990
990
  }
991
991
  }
992
992
 
993
+ export class UpdateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
994
+ /**
995
+ * @remarks
996
+ * The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
997
+ *
998
+ * @example
999
+ * web-search
1000
+ */
1001
+ name?: string;
1002
+ /**
1003
+ * @remarks
1004
+ * The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
1005
+ *
1006
+ * @example
1007
+ * 1.0.0
1008
+ */
1009
+ version?: string;
1010
+ static names(): { [key: string]: string } {
1011
+ return {
1012
+ name: 'name',
1013
+ version: 'version',
1014
+ };
1015
+ }
1016
+
1017
+ static types(): { [key: string]: any } {
1018
+ return {
1019
+ name: 'string',
1020
+ version: 'string',
1021
+ };
1022
+ }
1023
+
1024
+ validate() {
1025
+ super.validate();
1026
+ }
1027
+
1028
+ constructor(map?: { [key: string]: any }) {
1029
+ super(map);
1030
+ }
1031
+ }
1032
+
993
1033
  export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
994
1034
  /**
995
1035
  * @remarks
@@ -1011,10 +1051,16 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
1011
1051
  * reviewer-agent
1012
1052
  */
1013
1053
  name?: string;
1054
+ /**
1055
+ * @remarks
1056
+ * The skills used by the child agent and their actual versions. The version field is not returned if the template package does not contain version information.
1057
+ */
1058
+ skills?: UpdateManagedAgentResponseBodyDataSubAgentsSkills[];
1014
1059
  static names(): { [key: string]: string } {
1015
1060
  return {
1016
1061
  instruction: 'instruction',
1017
1062
  name: 'name',
1063
+ skills: 'skills',
1018
1064
  };
1019
1065
  }
1020
1066
 
@@ -1022,10 +1068,14 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
1022
1068
  return {
1023
1069
  instruction: 'string',
1024
1070
  name: 'string',
1071
+ skills: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataSubAgentsSkills },
1025
1072
  };
1026
1073
  }
1027
1074
 
1028
1075
  validate() {
1076
+ if(Array.isArray(this.skills)) {
1077
+ $dara.Model.validateArray(this.skills);
1078
+ }
1029
1079
  super.validate();
1030
1080
  }
1031
1081
 
@@ -1166,7 +1216,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1166
1216
  agenticFsMounts?: UpdateManagedAgentResponseBodyDataAgenticFsMounts[];
1167
1217
  /**
1168
1218
  * @remarks
1169
- * Contains only skills that are added or overridden by the user. Skills inherited from templates are not included. The resource model reads this field to preserve update semantics. The skills field in the request is still used for creation and update operations.
1219
+ * The skills that are explicitly configured. This field contains only skills that the user appended or overrode, excluding skills inherited from templates. The resource model reads this field to preserve update semantics. The skills field in the request is still used for creation and update operations.
1170
1220
  */
1171
1221
  configuredSkills?: UpdateManagedAgentResponseBodyDataConfiguredSkills[];
1172
1222
  /**
@@ -1273,12 +1323,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1273
1323
  runtime?: UpdateManagedAgentResponseBodyDataRuntime;
1274
1324
  /**
1275
1325
  * @remarks
1276
- * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), FAILED (runtime failure). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic mapping and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
1326
+ * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), and FAILED (runtime failure). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic map and new keys may be added in the future. You can use FAILED > 0 to determine whether abnormal instances exist.
1277
1327
  */
1278
1328
  sandboxPhaseCounts?: { [key: string]: number };
1279
1329
  /**
1280
1330
  * @remarks
1281
- * The skill configuration list.
1331
+ * The list of skill configurations.
1282
1332
  */
1283
1333
  skills?: UpdateManagedAgentResponseBodyDataSkills[];
1284
1334
  /**
@@ -1291,7 +1341,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1291
1341
  status?: string;
1292
1342
  /**
1293
1343
  * @remarks
1294
- * The sub-agent configuration list.
1344
+ * The list of sub-agent configurations.
1295
1345
  */
1296
1346
  subAgents?: UpdateManagedAgentResponseBodyDataSubAgents[];
1297
1347
  /**
@@ -1301,12 +1351,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1301
1351
  template?: UpdateManagedAgentResponseBodyDataTemplate;
1302
1352
  /**
1303
1353
  * @remarks
1304
- * The tool configuration list.
1354
+ * The list of tool configurations.
1305
1355
  */
1306
1356
  tools?: UpdateManagedAgentResponseBodyDataTools[];
1307
1357
  /**
1308
1358
  * @remarks
1309
- * The update time in RFC 3339 format.
1359
+ * The time when the managed agent was last updated, in RFC 3339 format.
1310
1360
  *
1311
1361
  * @example
1312
1362
  * 2026-01-01T00:00:00Z
@@ -10,7 +10,7 @@ export class UpdateManagedAgentShrinkRequest extends $dara.Model {
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The reserved idempotency token. The backend does not guarantee idempotency in the current release.
13
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
14
14
  *
15
15
  * @example
16
16
  * client-token-1
@@ -72,6 +72,7 @@ export { CreateManagedAgentRequestBodyRuntimeSessionPolicy } from './CreateManag
72
72
  export { CreateManagedAgentRequestBodyRuntime } from './CreateManagedAgentRequest';
73
73
  export { CreateManagedAgentRequestBodySkillsVersionSelector } from './CreateManagedAgentRequest';
74
74
  export { CreateManagedAgentRequestBodySkills } from './CreateManagedAgentRequest';
75
+ export { CreateManagedAgentRequestBodySubAgentsSkills } from './CreateManagedAgentRequest';
75
76
  export { CreateManagedAgentRequestBodySubAgents } from './CreateManagedAgentRequest';
76
77
  export { CreateManagedAgentRequestBodyTemplateAiRegistry } from './CreateManagedAgentRequest';
77
78
  export { CreateManagedAgentRequestBodyTemplate } from './CreateManagedAgentRequest';
@@ -97,6 +98,7 @@ export { CreateManagedAgentResponseBodyDataRuntimeSessionPolicy } from './Create
97
98
  export { CreateManagedAgentResponseBodyDataRuntime } from './CreateManagedAgentResponseBody';
98
99
  export { CreateManagedAgentResponseBodyDataSkillsVersionSelector } from './CreateManagedAgentResponseBody';
99
100
  export { CreateManagedAgentResponseBodyDataSkills } from './CreateManagedAgentResponseBody';
101
+ export { CreateManagedAgentResponseBodyDataSubAgentsSkills } from './CreateManagedAgentResponseBody';
100
102
  export { CreateManagedAgentResponseBodyDataSubAgents } from './CreateManagedAgentResponseBody';
101
103
  export { CreateManagedAgentResponseBodyDataTemplateAiRegistry } from './CreateManagedAgentResponseBody';
102
104
  export { CreateManagedAgentResponseBodyDataTemplate } from './CreateManagedAgentResponseBody';
@@ -231,6 +233,7 @@ export { GetManagedAgentResponseBodyDataRuntimeSessionPolicy } from './GetManage
231
233
  export { GetManagedAgentResponseBodyDataRuntime } from './GetManagedAgentResponseBody';
232
234
  export { GetManagedAgentResponseBodyDataSkillsVersionSelector } from './GetManagedAgentResponseBody';
233
235
  export { GetManagedAgentResponseBodyDataSkills } from './GetManagedAgentResponseBody';
236
+ export { GetManagedAgentResponseBodyDataSubAgentsSkills } from './GetManagedAgentResponseBody';
234
237
  export { GetManagedAgentResponseBodyDataSubAgents } from './GetManagedAgentResponseBody';
235
238
  export { GetManagedAgentResponseBodyDataTemplateAiRegistry } from './GetManagedAgentResponseBody';
236
239
  export { GetManagedAgentResponseBodyDataTemplate } from './GetManagedAgentResponseBody';
@@ -464,6 +467,7 @@ export { UpdateManagedAgentRequestBodyRuntimeSessionPolicy } from './UpdateManag
464
467
  export { UpdateManagedAgentRequestBodyRuntime } from './UpdateManagedAgentRequest';
465
468
  export { UpdateManagedAgentRequestBodySkillsVersionSelector } from './UpdateManagedAgentRequest';
466
469
  export { UpdateManagedAgentRequestBodySkills } from './UpdateManagedAgentRequest';
470
+ export { UpdateManagedAgentRequestBodySubAgentsSkills } from './UpdateManagedAgentRequest';
467
471
  export { UpdateManagedAgentRequestBodySubAgents } from './UpdateManagedAgentRequest';
468
472
  export { UpdateManagedAgentRequestBodyTemplateAiRegistry } from './UpdateManagedAgentRequest';
469
473
  export { UpdateManagedAgentRequestBodyTemplate } from './UpdateManagedAgentRequest';
@@ -489,6 +493,7 @@ export { UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy } from './Update
489
493
  export { UpdateManagedAgentResponseBodyDataRuntime } from './UpdateManagedAgentResponseBody';
490
494
  export { UpdateManagedAgentResponseBodyDataSkillsVersionSelector } from './UpdateManagedAgentResponseBody';
491
495
  export { UpdateManagedAgentResponseBodyDataSkills } from './UpdateManagedAgentResponseBody';
496
+ export { UpdateManagedAgentResponseBodyDataSubAgentsSkills } from './UpdateManagedAgentResponseBody';
492
497
  export { UpdateManagedAgentResponseBodyDataSubAgents } from './UpdateManagedAgentResponseBody';
493
498
  export { UpdateManagedAgentResponseBodyDataTemplateAiRegistry } from './UpdateManagedAgentResponseBody';
494
499
  export { UpdateManagedAgentResponseBodyDataTemplate } from './UpdateManagedAgentResponseBody';