@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.
- package/dist/client.d.ts +14 -14
- package/dist/client.js +14 -14
- package/dist/models/CreateManagedAgentRequest.d.ts +72 -22
- package/dist/models/CreateManagedAgentRequest.js +27 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +109 -28
- package/dist/models/CreateManagedAgentResponseBody.js +27 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
- package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
- package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
- package/dist/models/GetAgentSpecLatestResponseBody.d.ts +19 -2
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +115 -32
- package/dist/models/GetManagedAgentResponseBody.js +27 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/ListSkillsRequest.d.ts +2 -2
- package/dist/models/ListSkillsResponseBody.d.ts +10 -3
- package/dist/models/ListSkillsResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +61 -30
- package/dist/models/UpdateManagedAgentRequest.js +27 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +61 -28
- package/dist/models/UpdateManagedAgentResponseBody.js +27 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +65 -55
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -14
- package/src/models/CreateManagedAgentRequest.ts +89 -22
- package/src/models/CreateManagedAgentResponseBody.ts +126 -28
- package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/CreateSkillDraftRequest.ts +1 -1
- package/src/models/CreateSkillDraftResponseBody.ts +1 -1
- package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
- package/src/models/GetAgentSpecLatestResponseBody.ts +19 -2
- package/src/models/GetManagedAgentResponseBody.ts +132 -32
- package/src/models/ListSkillsRequest.ts +2 -2
- package/src/models/ListSkillsResponseBody.ts +10 -3
- package/src/models/UpdateManagedAgentRequest.ts +78 -30
- package/src/models/UpdateManagedAgentResponseBody.ts +78 -28
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/model.ts +5 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The subdirectory under /mnt/agenticfs/ in the container.
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This field is 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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The non-empty relative directory that exists under the AccessPoint.
|
|
16
|
+
* The non-empty relative directory that exists under the AccessPoint. This field is 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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether to mount
|
|
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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model
|
|
|
29
29
|
readOnly?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The AccessPoint domain name.
|
|
32
|
+
* The AccessPoint domain name. This field is required for each mount item as validated by the backend. The value does not include protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -64,11 +64,19 @@ export class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model
|
|
|
64
64
|
|
|
65
65
|
export class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
66
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The version selector type. Valid values:
|
|
69
|
+
* - LABEL: selects by label.
|
|
70
|
+
* - VERSION: selects by specific version.
|
|
71
|
+
*
|
|
67
72
|
* @example
|
|
68
73
|
* LABEL
|
|
69
74
|
*/
|
|
70
75
|
type?: string;
|
|
71
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The selector value. When the type is LABEL, this is the label name (such as latest). When the type is VERSION, this is the specific version number.
|
|
79
|
+
*
|
|
72
80
|
* @example
|
|
73
81
|
* latest
|
|
74
82
|
*/
|
|
@@ -99,6 +107,8 @@ export class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector exte
|
|
|
99
107
|
export class GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
100
108
|
/**
|
|
101
109
|
* @remarks
|
|
110
|
+
* The skill name in the Workspace AI Registry.
|
|
111
|
+
*
|
|
102
112
|
* This parameter is required.
|
|
103
113
|
*
|
|
104
114
|
* @example
|
|
@@ -106,15 +116,27 @@ export class GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model
|
|
|
106
116
|
*/
|
|
107
117
|
name?: string;
|
|
108
118
|
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The skill source type. Valid values:
|
|
121
|
+
* - REFERENCE: references the AI Registry.
|
|
122
|
+
* - STATIC: statically provided with the package.
|
|
123
|
+
*
|
|
109
124
|
* @example
|
|
110
125
|
* REFERENCE
|
|
111
126
|
*/
|
|
112
127
|
sourceType?: string;
|
|
113
128
|
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* **[Deprecated]** Legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
131
|
+
*
|
|
114
132
|
* @example
|
|
115
133
|
* 1.0.0
|
|
116
134
|
*/
|
|
117
135
|
version?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The version selector for the referenced skill. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
139
|
+
*/
|
|
118
140
|
versionSelector?: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
119
141
|
static names(): { [key: string]: string } {
|
|
120
142
|
return {
|
|
@@ -265,7 +287,7 @@ export class GetManagedAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
265
287
|
export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
|
|
266
288
|
/**
|
|
267
289
|
* @remarks
|
|
268
|
-
* The
|
|
290
|
+
* The Connector Service Account Key.
|
|
269
291
|
*
|
|
270
292
|
* @example
|
|
271
293
|
* key-xxxx
|
|
@@ -273,7 +295,7 @@ export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
273
295
|
connectorServiceAccountKey?: string;
|
|
274
296
|
/**
|
|
275
297
|
* @remarks
|
|
276
|
-
* The
|
|
298
|
+
* The Connector Service Account Name.
|
|
277
299
|
*
|
|
278
300
|
* @example
|
|
279
301
|
* my-connector-key
|
|
@@ -305,12 +327,12 @@ export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
305
327
|
export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
306
328
|
/**
|
|
307
329
|
* @remarks
|
|
308
|
-
* The runtime
|
|
330
|
+
* The runtime harness configuration.
|
|
309
331
|
*/
|
|
310
332
|
configuration?: GetManagedAgentResponseBodyDataHarnessConfiguration;
|
|
311
333
|
/**
|
|
312
334
|
* @remarks
|
|
313
|
-
* The runtime
|
|
335
|
+
* The runtime harness type.
|
|
314
336
|
*
|
|
315
337
|
* @example
|
|
316
338
|
* qodercli
|
|
@@ -369,7 +391,9 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
369
391
|
overLimit?: boolean;
|
|
370
392
|
/**
|
|
371
393
|
* @remarks
|
|
372
|
-
* The quota statistical period. Valid values:
|
|
394
|
+
* The quota statistical period. Valid values:
|
|
395
|
+
* - day: daily.
|
|
396
|
+
* - month: monthly.
|
|
373
397
|
*
|
|
374
398
|
* @example
|
|
375
399
|
* day
|
|
@@ -385,7 +409,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
385
409
|
ruleStatus?: string;
|
|
386
410
|
/**
|
|
387
411
|
* @remarks
|
|
388
|
-
* The maximum number of tokens
|
|
412
|
+
* The maximum number of tokens that can be consumed in a single period.
|
|
389
413
|
*
|
|
390
414
|
* @example
|
|
391
415
|
* 1000000
|
|
@@ -451,7 +475,7 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
451
475
|
modelName?: string;
|
|
452
476
|
/**
|
|
453
477
|
* @remarks
|
|
454
|
-
* The model token quota configuration and quota usage status for the current period. This field is empty if no quota is configured.
|
|
478
|
+
* The model token quota configuration and the quota usage status for the current period. This field is empty if no quota is configured.
|
|
455
479
|
*/
|
|
456
480
|
quota?: GetManagedAgentResponseBodyDataModelQuota;
|
|
457
481
|
static names(): { [key: string]: string } {
|
|
@@ -585,7 +609,7 @@ export class GetManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
585
609
|
export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
586
610
|
/**
|
|
587
611
|
* @remarks
|
|
588
|
-
* The OSS bucket name.
|
|
612
|
+
* The OSS bucket name. This field is required for each mount item as validated by the backend.
|
|
589
613
|
*
|
|
590
614
|
* @example
|
|
591
615
|
* bucket-001
|
|
@@ -593,7 +617,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
593
617
|
bucketName?: string;
|
|
594
618
|
/**
|
|
595
619
|
* @remarks
|
|
596
|
-
* The absolute mount path
|
|
620
|
+
* The absolute mount path inside the container. This field is validated as required by the backend for each mount entry.
|
|
597
621
|
*
|
|
598
622
|
* @example
|
|
599
623
|
* /mnt/oss/datasets
|
|
@@ -609,7 +633,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
609
633
|
path?: string;
|
|
610
634
|
/**
|
|
611
635
|
* @remarks
|
|
612
|
-
* Specifies whether to mount as read-only.
|
|
636
|
+
* Specifies whether to mount as read-only. Default value: false.
|
|
613
637
|
*/
|
|
614
638
|
readOnly?: boolean;
|
|
615
639
|
static names(): { [key: string]: string } {
|
|
@@ -674,12 +698,12 @@ export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
|
674
698
|
export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
675
699
|
/**
|
|
676
700
|
* @remarks
|
|
677
|
-
* Specifies whether to enable auto scaling. This field is required when hpa is present
|
|
701
|
+
* Specifies whether to enable auto scaling. This field is validated as required by the backend when hpa is present.
|
|
678
702
|
*/
|
|
679
703
|
enabled?: boolean;
|
|
680
704
|
/**
|
|
681
705
|
* @remarks
|
|
682
|
-
* The maximum number of active sessions per sandbox. This
|
|
706
|
+
* The maximum number of active sessions per sandbox. This field is validated as required by the backend when hpa is present.
|
|
683
707
|
*
|
|
684
708
|
* @example
|
|
685
709
|
* 5
|
|
@@ -687,7 +711,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
687
711
|
maxConcurrentSessionsPerSandbox?: number;
|
|
688
712
|
/**
|
|
689
713
|
* @remarks
|
|
690
|
-
* The maximum number of sandboxes. This
|
|
714
|
+
* The maximum number of sandboxes. This field is required when HPA is enabled and must be no less than the minimum value.
|
|
691
715
|
*
|
|
692
716
|
* @example
|
|
693
717
|
* 3
|
|
@@ -695,7 +719,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
695
719
|
maxSandboxCount?: number;
|
|
696
720
|
/**
|
|
697
721
|
* @remarks
|
|
698
|
-
* The minimum number of sandboxes. This
|
|
722
|
+
* The minimum number of sandboxes. This field is required when HPA is enabled.
|
|
699
723
|
*
|
|
700
724
|
* @example
|
|
701
725
|
* 1
|
|
@@ -703,7 +727,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
703
727
|
minSandboxCount?: number;
|
|
704
728
|
/**
|
|
705
729
|
* @remarks
|
|
706
|
-
* The time-to-live
|
|
730
|
+
* The time-to-live in seconds for a session after inactivity. This field is validated as required by the backend when hpa is present.
|
|
707
731
|
*
|
|
708
732
|
* @example
|
|
709
733
|
* 3600
|
|
@@ -741,7 +765,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
741
765
|
export class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
742
766
|
/**
|
|
743
767
|
* @remarks
|
|
744
|
-
* The
|
|
768
|
+
* The HTTP header name used for session affinity. This field takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
745
769
|
*
|
|
746
770
|
* @example
|
|
747
771
|
* X-Session-Id
|
|
@@ -836,11 +860,19 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
836
860
|
|
|
837
861
|
export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
838
862
|
/**
|
|
863
|
+
* @remarks
|
|
864
|
+
* The version selector type. Valid values:
|
|
865
|
+
* - LABEL: selects by label.
|
|
866
|
+
* - VERSION: selects by specific version.
|
|
867
|
+
*
|
|
839
868
|
* @example
|
|
840
869
|
* LABEL
|
|
841
870
|
*/
|
|
842
871
|
type?: string;
|
|
843
872
|
/**
|
|
873
|
+
* @remarks
|
|
874
|
+
* The selector value. When the type is LABEL, this is the label name (such as latest). When the type is VERSION, this is the specific version number.
|
|
875
|
+
*
|
|
844
876
|
* @example
|
|
845
877
|
* latest
|
|
846
878
|
*/
|
|
@@ -870,11 +902,17 @@ export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.
|
|
|
870
902
|
|
|
871
903
|
export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
872
904
|
/**
|
|
905
|
+
* @remarks
|
|
906
|
+
* The version currently in effect at runtime. This field is read-only.
|
|
907
|
+
*
|
|
873
908
|
* @example
|
|
874
909
|
* 1.0.0
|
|
875
910
|
*/
|
|
876
911
|
appliedVersion?: string;
|
|
877
912
|
/**
|
|
913
|
+
* @remarks
|
|
914
|
+
* Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
|
|
915
|
+
*
|
|
878
916
|
* @example
|
|
879
917
|
* false
|
|
880
918
|
*/
|
|
@@ -888,11 +926,19 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
888
926
|
*/
|
|
889
927
|
name?: string;
|
|
890
928
|
/**
|
|
929
|
+
* @remarks
|
|
930
|
+
* The current target version. This field is read-only.
|
|
931
|
+
*
|
|
891
932
|
* @example
|
|
892
933
|
* 1.0.0
|
|
893
934
|
*/
|
|
894
935
|
resolvedVersion?: string;
|
|
895
936
|
/**
|
|
937
|
+
* @remarks
|
|
938
|
+
* The skill source type. Valid values:
|
|
939
|
+
* - REFERENCE: references the AI Registry.
|
|
940
|
+
* - STATIC: statically provided with the package.
|
|
941
|
+
*
|
|
896
942
|
* @example
|
|
897
943
|
* REFERENCE
|
|
898
944
|
*/
|
|
@@ -905,6 +951,10 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
905
951
|
* 1.0.0
|
|
906
952
|
*/
|
|
907
953
|
version?: string;
|
|
954
|
+
/**
|
|
955
|
+
* @remarks
|
|
956
|
+
* The referenced version selector. Defaults to LABEL/latest if omitted.
|
|
957
|
+
*/
|
|
908
958
|
versionSelector?: GetManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
909
959
|
static names(): { [key: string]: string } {
|
|
910
960
|
return {
|
|
@@ -942,20 +992,60 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
942
992
|
}
|
|
943
993
|
}
|
|
944
994
|
|
|
995
|
+
export class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
|
|
996
|
+
/**
|
|
997
|
+
* @remarks
|
|
998
|
+
* The skill name used by the child agent. Declared as optional for compatibility, but validated as required by the backend for each entry.
|
|
999
|
+
*
|
|
1000
|
+
* @example
|
|
1001
|
+
* web-search
|
|
1002
|
+
*/
|
|
1003
|
+
name?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @remarks
|
|
1006
|
+
* The optional version number. If omitted, null, or blank, the latest version is resolved.
|
|
1007
|
+
*
|
|
1008
|
+
* @example
|
|
1009
|
+
* 1.0.0
|
|
1010
|
+
*/
|
|
1011
|
+
version?: string;
|
|
1012
|
+
static names(): { [key: string]: string } {
|
|
1013
|
+
return {
|
|
1014
|
+
name: 'name',
|
|
1015
|
+
version: 'version',
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
static types(): { [key: string]: any } {
|
|
1020
|
+
return {
|
|
1021
|
+
name: 'string',
|
|
1022
|
+
version: 'string',
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
validate() {
|
|
1027
|
+
super.validate();
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
constructor(map?: { [key: string]: any }) {
|
|
1031
|
+
super(map);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
|
|
945
1035
|
export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
946
1036
|
/**
|
|
947
1037
|
* @remarks
|
|
948
|
-
* The
|
|
1038
|
+
* The child agent instruction.
|
|
949
1039
|
*
|
|
950
1040
|
* This parameter is required.
|
|
951
1041
|
*
|
|
952
1042
|
* @example
|
|
953
|
-
*
|
|
1043
|
+
* Review the code
|
|
954
1044
|
*/
|
|
955
1045
|
instruction?: string;
|
|
956
1046
|
/**
|
|
957
1047
|
* @remarks
|
|
958
|
-
* The
|
|
1048
|
+
* The child agent name.
|
|
959
1049
|
*
|
|
960
1050
|
* This parameter is required.
|
|
961
1051
|
*
|
|
@@ -963,10 +1053,16 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
963
1053
|
* reviewer-agent
|
|
964
1054
|
*/
|
|
965
1055
|
name?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* @remarks
|
|
1058
|
+
* The skills and actual versions used by the child agent. The version field is not returned when the template package does not contain version information.
|
|
1059
|
+
*/
|
|
1060
|
+
skills?: GetManagedAgentResponseBodyDataSubAgentsSkills[];
|
|
966
1061
|
static names(): { [key: string]: string } {
|
|
967
1062
|
return {
|
|
968
1063
|
instruction: 'instruction',
|
|
969
1064
|
name: 'name',
|
|
1065
|
+
skills: 'skills',
|
|
970
1066
|
};
|
|
971
1067
|
}
|
|
972
1068
|
|
|
@@ -974,10 +1070,14 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
974
1070
|
return {
|
|
975
1071
|
instruction: 'string',
|
|
976
1072
|
name: 'string',
|
|
1073
|
+
skills: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataSubAgentsSkills },
|
|
977
1074
|
};
|
|
978
1075
|
}
|
|
979
1076
|
|
|
980
1077
|
validate() {
|
|
1078
|
+
if(Array.isArray(this.skills)) {
|
|
1079
|
+
$dara.Model.validateArray(this.skills);
|
|
1080
|
+
}
|
|
981
1081
|
super.validate();
|
|
982
1082
|
}
|
|
983
1083
|
|
|
@@ -1113,12 +1213,12 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1113
1213
|
agentId?: string;
|
|
1114
1214
|
/**
|
|
1115
1215
|
* @remarks
|
|
1116
|
-
* The
|
|
1216
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10.
|
|
1117
1217
|
*/
|
|
1118
1218
|
agenticFsMounts?: GetManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1119
1219
|
/**
|
|
1120
1220
|
* @remarks
|
|
1121
|
-
*
|
|
1221
|
+
* The skills that are explicitly added or overridden by the user. This field does not include skills inherited from the template. The resource model reads this field to preserve update semantics. The skills field in the request is still used for create and update operations.
|
|
1122
1222
|
*/
|
|
1123
1223
|
configuredSkills?: GetManagedAgentResponseBodyDataConfiguredSkills[];
|
|
1124
1224
|
/**
|
|
@@ -1160,7 +1260,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1160
1260
|
environment?: GetManagedAgentResponseBodyDataEnvironment;
|
|
1161
1261
|
/**
|
|
1162
1262
|
* @remarks
|
|
1163
|
-
* The agent runtime
|
|
1263
|
+
* The agent runtime harness.
|
|
1164
1264
|
*/
|
|
1165
1265
|
harness?: GetManagedAgentResponseBodyDataHarness;
|
|
1166
1266
|
/**
|
|
@@ -1181,7 +1281,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1181
1281
|
latestSpecVersion?: number;
|
|
1182
1282
|
/**
|
|
1183
1283
|
* @remarks
|
|
1184
|
-
* The latest version
|
|
1284
|
+
* The status of the latest version.
|
|
1185
1285
|
*
|
|
1186
1286
|
* @example
|
|
1187
1287
|
* succeeded
|
|
@@ -1207,7 +1307,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1207
1307
|
network?: GetManagedAgentResponseBodyDataNetwork;
|
|
1208
1308
|
/**
|
|
1209
1309
|
* @remarks
|
|
1210
|
-
* The OSS
|
|
1310
|
+
* The list of OSS mounts. A maximum of 10 items are allowed.
|
|
1211
1311
|
*/
|
|
1212
1312
|
ossMounts?: GetManagedAgentResponseBodyDataOssMounts[];
|
|
1213
1313
|
/**
|
|
@@ -1225,7 +1325,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1225
1325
|
runtime?: GetManagedAgentResponseBodyDataRuntime;
|
|
1226
1326
|
/**
|
|
1227
1327
|
* @remarks
|
|
1228
|
-
* The instance
|
|
1328
|
+
* The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), FAILED (runtime failure). Only phases that actually occur are returned. Missing keys should be treated as 0. This field is a dynamic map and new keys may be added in the future. Use FAILED > 0 to determine whether abnormal instances exist.
|
|
1229
1329
|
*/
|
|
1230
1330
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1231
1331
|
/**
|
|
@@ -1243,7 +1343,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1243
1343
|
status?: string;
|
|
1244
1344
|
/**
|
|
1245
1345
|
* @remarks
|
|
1246
|
-
* The list of
|
|
1346
|
+
* The list of child agent configurations.
|
|
1247
1347
|
*/
|
|
1248
1348
|
subAgents?: GetManagedAgentResponseBodyDataSubAgents[];
|
|
1249
1349
|
/**
|
|
@@ -1258,7 +1358,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1258
1358
|
tools?: GetManagedAgentResponseBodyDataTools[];
|
|
1259
1359
|
/**
|
|
1260
1360
|
* @remarks
|
|
1261
|
-
* The
|
|
1361
|
+
* The time when the resource was last updated, in RFC 3339 format.
|
|
1262
1362
|
*
|
|
1263
1363
|
* @example
|
|
1264
1364
|
* 2026-01-01T00:00:00Z
|
|
@@ -1398,7 +1498,7 @@ export class GetManagedAgentResponseBody extends $dara.Model {
|
|
|
1398
1498
|
data?: GetManagedAgentResponseBodyData;
|
|
1399
1499
|
/**
|
|
1400
1500
|
* @remarks
|
|
1401
|
-
* The HTTP status code.
|
|
1501
|
+
* The HTTP status code. A value of 200 indicates success.
|
|
1402
1502
|
*
|
|
1403
1503
|
* @example
|
|
1404
1504
|
* 200
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListSkillsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The maximum number of entries
|
|
8
|
+
* The maximum number of entries per page.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -21,7 +21,7 @@ export class ListSkillsRequest extends $dara.Model {
|
|
|
21
21
|
nextToken?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The sort
|
|
24
|
+
* The field by which to sort results. The value download_count is supported. Default value: gmt_modified.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* download_count
|
|
@@ -28,13 +28,20 @@ export class ListSkillsResponseBodyDataPageItems extends $dara.Model {
|
|
|
28
28
|
*/
|
|
29
29
|
downloadCount?: number;
|
|
30
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The draft mode. Valid values:
|
|
33
|
+
* - HEAD: The Skill has a persistent draft.
|
|
34
|
+
* - VERSIONED: Each edit creates a versioned draft.
|
|
35
|
+
*
|
|
36
|
+
* The value is determined by the server. The caller uses this value to render the status column.
|
|
37
|
+
*
|
|
31
38
|
* @example
|
|
32
39
|
* HEAD
|
|
33
40
|
*/
|
|
34
41
|
draftMode?: string;
|
|
35
42
|
/**
|
|
36
43
|
* @remarks
|
|
37
|
-
* The version that is being edited.
|
|
44
|
+
* The version that is being edited. In HEAD draft mode, the value is HEAD.
|
|
38
45
|
*
|
|
39
46
|
* @example
|
|
40
47
|
* 1.0.0
|
|
@@ -84,7 +91,7 @@ export class ListSkillsResponseBodyDataPageItems extends $dara.Model {
|
|
|
84
91
|
owner?: string;
|
|
85
92
|
/**
|
|
86
93
|
* @remarks
|
|
87
|
-
* The version that is under review.
|
|
94
|
+
* The version that is under review. In HEAD draft mode, the value is HEAD.
|
|
88
95
|
*
|
|
89
96
|
* @example
|
|
90
97
|
* 1.0.0
|
|
@@ -241,7 +248,7 @@ export class ListSkillsResponseBody extends $dara.Model {
|
|
|
241
248
|
data?: ListSkillsResponseBodyData;
|
|
242
249
|
/**
|
|
243
250
|
* @remarks
|
|
244
|
-
* The maximum number of entries
|
|
251
|
+
* The maximum number of entries per page.
|
|
245
252
|
*
|
|
246
253
|
* @example
|
|
247
254
|
* 20
|