@alicloud/agentcore20260804 2.1.1 → 2.2.0
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 +88 -22
- package/dist/client.js +175 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +95 -20
- package/dist/models/CreateManagedAgentRequest.js +59 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +171 -25
- package/dist/models/CreateManagedAgentResponseBody.js +119 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/DataResourceValue.d.ts +15 -15
- package/dist/models/DataResourceValue.js +4 -4
- package/dist/models/DataResourceValue.js.map +1 -1
- package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
- package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
- package/dist/models/GetAgentSpecLatestResponseBody.d.ts +28 -0
- package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +176 -30
- package/dist/models/GetManagedAgentResponseBody.js +119 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
- package/dist/models/GetSkillDetailResponseBody.js +4 -0
- package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
- package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
- package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
- package/dist/models/ListAgentSpecsResponseBody.js +29 -1
- package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
- package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
- package/dist/models/ListSkillReferencesRequest.js +64 -0
- package/dist/models/ListSkillReferencesRequest.js.map +1 -0
- package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
- package/dist/models/ListSkillReferencesResponse.js +69 -0
- package/dist/models/ListSkillReferencesResponse.js.map +1 -0
- package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
- package/dist/models/ListSkillReferencesResponseBody.js +122 -0
- package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
- package/dist/models/ListSkillsResponseBody.d.ts +5 -0
- package/dist/models/ListSkillsResponseBody.js +2 -0
- package/dist/models/ListSkillsResponseBody.js.map +1 -1
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
- package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/PublishSkillVersionRequest.js +2 -0
- package/dist/models/PublishSkillVersionRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +121 -29
- package/dist/models/UpdateManagedAgentRequest.js +59 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +231 -37
- package/dist/models/UpdateManagedAgentResponseBody.js +119 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
- package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +206 -143
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +189 -22
- package/src/models/CreateManagedAgentRequest.ts +135 -20
- package/src/models/CreateManagedAgentResponseBody.ts +253 -25
- package/src/models/DataResourceValue.ts +17 -17
- package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
- package/src/models/GetAgentSpecLatestResponseBody.ts +47 -0
- package/src/models/GetManagedAgentResponseBody.ts +258 -30
- package/src/models/GetSkillDetailResponseBody.ts +24 -4
- package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
- package/src/models/ListAgentSpecsRequest.ts +4 -4
- package/src/models/ListAgentSpecsResponseBody.ts +68 -2
- package/src/models/ListSkillReferencesRequest.ts +64 -0
- package/src/models/ListSkillReferencesResponse.ts +40 -0
- package/src/models/ListSkillReferencesResponseBody.ts +194 -0
- package/src/models/ListSkillsResponseBody.ts +7 -0
- package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
- package/src/models/PublishSkillVersionRequest.ts +10 -0
- package/src/models/UpdateManagedAgentRequest.ts +161 -29
- package/src/models/UpdateManagedAgentResponseBody.ts +313 -37
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateSkillLabelsRequest.ts +1 -1
- package/src/models/UploadSkillViaOssRequest.ts +1 -1
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
- package/src/models/model.ts +31 -0
|
@@ -2,6 +2,172 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
|
+
/**
|
|
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.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* /mnt/agenticfs/data
|
|
12
|
+
*/
|
|
13
|
+
mountPath?: string;
|
|
14
|
+
/**
|
|
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.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* workspace/data
|
|
20
|
+
*/
|
|
21
|
+
path?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Specifies whether to mount in read-only mode. Default value: false. This is not the RAM role read-only policy.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* false
|
|
28
|
+
*/
|
|
29
|
+
readOnly?: boolean;
|
|
30
|
+
/**
|
|
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.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
36
|
+
*/
|
|
37
|
+
server?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
mountPath: 'mountPath',
|
|
41
|
+
path: 'path',
|
|
42
|
+
readOnly: 'readOnly',
|
|
43
|
+
server: 'server',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
mountPath: 'string',
|
|
50
|
+
path: 'string',
|
|
51
|
+
readOnly: 'boolean',
|
|
52
|
+
server: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The version selector type. Valid values:
|
|
69
|
+
* - LABEL: selects by label.
|
|
70
|
+
* - VERSION: selects by specific version.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* LABEL
|
|
74
|
+
*/
|
|
75
|
+
type?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The selector value. If the type is LABEL, specify a label name such as latest. If the type is VERSION, specify a specific version number.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* latest
|
|
82
|
+
*/
|
|
83
|
+
value?: string;
|
|
84
|
+
static names(): { [key: string]: string } {
|
|
85
|
+
return {
|
|
86
|
+
type: 'type',
|
|
87
|
+
value: 'value',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static types(): { [key: string]: any } {
|
|
92
|
+
return {
|
|
93
|
+
type: 'string',
|
|
94
|
+
value: 'string',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
validate() {
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The skill name in the Workspace AI Registry.
|
|
111
|
+
*
|
|
112
|
+
* This parameter is required.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* web-search
|
|
116
|
+
*/
|
|
117
|
+
name?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The skill source type. Valid values:
|
|
121
|
+
* - REFERENCE: references AI Registry.
|
|
122
|
+
* - STATIC: statically bundled with the package.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* REFERENCE
|
|
126
|
+
*/
|
|
127
|
+
sourceType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* A legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* 1.0.0
|
|
134
|
+
*/
|
|
135
|
+
version?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The referenced version selector. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
|
|
139
|
+
*/
|
|
140
|
+
versionSelector?: UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
141
|
+
static names(): { [key: string]: string } {
|
|
142
|
+
return {
|
|
143
|
+
name: 'name',
|
|
144
|
+
sourceType: 'sourceType',
|
|
145
|
+
version: 'version',
|
|
146
|
+
versionSelector: 'versionSelector',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static types(): { [key: string]: any } {
|
|
151
|
+
return {
|
|
152
|
+
name: 'string',
|
|
153
|
+
sourceType: 'string',
|
|
154
|
+
version: 'string',
|
|
155
|
+
versionSelector: UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
validate() {
|
|
160
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
161
|
+
(this.versionSelector as any).validate();
|
|
162
|
+
}
|
|
163
|
+
super.validate();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
5
171
|
export class UpdateManagedAgentResponseBodyDataEnvironmentCredentialReferences extends $dara.Model {
|
|
6
172
|
/**
|
|
7
173
|
* @remarks
|
|
@@ -161,12 +327,12 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
|
|
|
161
327
|
export class UpdateManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
162
328
|
/**
|
|
163
329
|
* @remarks
|
|
164
|
-
* The harness configuration.
|
|
330
|
+
* The runtime harness configuration.
|
|
165
331
|
*/
|
|
166
332
|
configuration?: UpdateManagedAgentResponseBodyDataHarnessConfiguration;
|
|
167
333
|
/**
|
|
168
334
|
* @remarks
|
|
169
|
-
* The harness type.
|
|
335
|
+
* The runtime harness type.
|
|
170
336
|
*
|
|
171
337
|
* @example
|
|
172
338
|
* qodercli
|
|
@@ -217,7 +383,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
217
383
|
limitType?: string;
|
|
218
384
|
/**
|
|
219
385
|
* @remarks
|
|
220
|
-
* Indicates whether the quota has been exceeded in the current period. This is
|
|
386
|
+
* Indicates whether the quota has been exceeded in the current period. This field is read-only and returned by the backend.
|
|
221
387
|
*
|
|
222
388
|
* @example
|
|
223
389
|
* false
|
|
@@ -225,7 +391,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
225
391
|
overLimit?: boolean;
|
|
226
392
|
/**
|
|
227
393
|
* @remarks
|
|
228
|
-
* The quota statistical period.
|
|
394
|
+
* The quota statistical period. A value of day indicates daily. A value of month indicates monthly.
|
|
229
395
|
*
|
|
230
396
|
* @example
|
|
231
397
|
* day
|
|
@@ -233,7 +399,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
233
399
|
periodType?: string;
|
|
234
400
|
/**
|
|
235
401
|
* @remarks
|
|
236
|
-
* The gateway quota rule status. This is
|
|
402
|
+
* The gateway quota rule status. This field is read-only and returned by the backend.
|
|
237
403
|
*
|
|
238
404
|
* @example
|
|
239
405
|
* ACTIVE
|
|
@@ -241,7 +407,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
241
407
|
ruleStatus?: string;
|
|
242
408
|
/**
|
|
243
409
|
* @remarks
|
|
244
|
-
* The maximum number of tokens that can be consumed
|
|
410
|
+
* The maximum number of tokens that can be consumed in a single period.
|
|
245
411
|
*
|
|
246
412
|
* @example
|
|
247
413
|
* 1000000
|
|
@@ -249,7 +415,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
249
415
|
usageLimit?: number;
|
|
250
416
|
/**
|
|
251
417
|
* @remarks
|
|
252
|
-
* The number of tokens consumed in the current period. This is
|
|
418
|
+
* The number of tokens consumed in the current period. This field is read-only and returned by the backend.
|
|
253
419
|
*
|
|
254
420
|
* @example
|
|
255
421
|
* 12345
|
|
@@ -441,7 +607,7 @@ export class UpdateManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
441
607
|
export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
442
608
|
/**
|
|
443
609
|
* @remarks
|
|
444
|
-
* The OSS bucket name.
|
|
610
|
+
* The OSS bucket name. Required for each mount entry as validated by the backend.
|
|
445
611
|
*
|
|
446
612
|
* @example
|
|
447
613
|
* bucket-001
|
|
@@ -449,7 +615,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
449
615
|
bucketName?: string;
|
|
450
616
|
/**
|
|
451
617
|
* @remarks
|
|
452
|
-
* The absolute mount path in the container.
|
|
618
|
+
* The absolute mount path in the container. Required for each mount entry as validated by the backend.
|
|
453
619
|
*
|
|
454
620
|
* @example
|
|
455
621
|
* /mnt/oss/datasets
|
|
@@ -457,7 +623,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
457
623
|
mountPath?: string;
|
|
458
624
|
/**
|
|
459
625
|
* @remarks
|
|
460
|
-
* The relative object prefix within the bucket. If
|
|
626
|
+
* The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
|
|
461
627
|
*
|
|
462
628
|
* @example
|
|
463
629
|
* datasets
|
|
@@ -498,7 +664,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
498
664
|
export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
499
665
|
/**
|
|
500
666
|
* @remarks
|
|
501
|
-
* The compute
|
|
667
|
+
* The compute class.
|
|
502
668
|
*
|
|
503
669
|
* This parameter is required.
|
|
504
670
|
*
|
|
@@ -530,12 +696,12 @@ export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
|
|
|
530
696
|
export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
531
697
|
/**
|
|
532
698
|
* @remarks
|
|
533
|
-
* Specifies whether to enable auto scaling.
|
|
699
|
+
* Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
|
|
534
700
|
*/
|
|
535
701
|
enabled?: boolean;
|
|
536
702
|
/**
|
|
537
703
|
* @remarks
|
|
538
|
-
* The maximum number of active sessions per sandbox.
|
|
704
|
+
* The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
|
|
539
705
|
*
|
|
540
706
|
* @example
|
|
541
707
|
* 5
|
|
@@ -543,7 +709,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
543
709
|
maxConcurrentSessionsPerSandbox?: number;
|
|
544
710
|
/**
|
|
545
711
|
* @remarks
|
|
546
|
-
* The maximum number of sandboxes.
|
|
712
|
+
* The maximum number of sandboxes. Required when HPA is enabled and must be no less than the minimum value.
|
|
547
713
|
*
|
|
548
714
|
* @example
|
|
549
715
|
* 3
|
|
@@ -551,7 +717,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
551
717
|
maxSandboxCount?: number;
|
|
552
718
|
/**
|
|
553
719
|
* @remarks
|
|
554
|
-
* The minimum number of sandboxes.
|
|
720
|
+
* The minimum number of sandboxes. Required when HPA is enabled.
|
|
555
721
|
*
|
|
556
722
|
* @example
|
|
557
723
|
* 1
|
|
@@ -559,7 +725,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
559
725
|
minSandboxCount?: number;
|
|
560
726
|
/**
|
|
561
727
|
* @remarks
|
|
562
|
-
* The
|
|
728
|
+
* The time in seconds before an inactive session is reclaimed. Required when hpa is present, as validated by the backend.
|
|
563
729
|
*
|
|
564
730
|
* @example
|
|
565
731
|
* 3600
|
|
@@ -597,7 +763,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
597
763
|
export class UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
598
764
|
/**
|
|
599
765
|
* @remarks
|
|
600
|
-
* The
|
|
766
|
+
* The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
601
767
|
*
|
|
602
768
|
* @example
|
|
603
769
|
* X-Session-Id
|
|
@@ -690,17 +856,91 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
690
856
|
}
|
|
691
857
|
}
|
|
692
858
|
|
|
859
|
+
export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
860
|
+
/**
|
|
861
|
+
* @remarks
|
|
862
|
+
* The version selector type. Valid values:
|
|
863
|
+
* - LABEL: selects by label.
|
|
864
|
+
* - VERSION: selects by specific version.
|
|
865
|
+
*
|
|
866
|
+
* @example
|
|
867
|
+
* LABEL
|
|
868
|
+
*/
|
|
869
|
+
type?: string;
|
|
870
|
+
/**
|
|
871
|
+
* @remarks
|
|
872
|
+
* The selector value. If the type is LABEL, specify a label name such as latest. If the type is VERSION, specify a specific version number.
|
|
873
|
+
*
|
|
874
|
+
* @example
|
|
875
|
+
* latest
|
|
876
|
+
*/
|
|
877
|
+
value?: string;
|
|
878
|
+
static names(): { [key: string]: string } {
|
|
879
|
+
return {
|
|
880
|
+
type: 'type',
|
|
881
|
+
value: 'value',
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
static types(): { [key: string]: any } {
|
|
886
|
+
return {
|
|
887
|
+
type: 'string',
|
|
888
|
+
value: 'string',
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
validate() {
|
|
893
|
+
super.validate();
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
constructor(map?: { [key: string]: any }) {
|
|
897
|
+
super(map);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
693
901
|
export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
694
902
|
/**
|
|
695
903
|
* @remarks
|
|
696
|
-
* The
|
|
904
|
+
* The version that has taken effect at runtime. This field is read-only.
|
|
697
905
|
*
|
|
698
|
-
*
|
|
906
|
+
* @example
|
|
907
|
+
* 1.0.0
|
|
908
|
+
*/
|
|
909
|
+
appliedVersion?: string;
|
|
910
|
+
/**
|
|
911
|
+
* @remarks
|
|
912
|
+
* Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
|
|
913
|
+
*
|
|
914
|
+
* @example
|
|
915
|
+
* false
|
|
916
|
+
*/
|
|
917
|
+
fromTemplate?: boolean;
|
|
918
|
+
/**
|
|
919
|
+
* @remarks
|
|
920
|
+
* The skill name.
|
|
699
921
|
*
|
|
700
922
|
* @example
|
|
701
923
|
* code-analysis
|
|
702
924
|
*/
|
|
703
925
|
name?: string;
|
|
926
|
+
/**
|
|
927
|
+
* @remarks
|
|
928
|
+
* The current target version. This field is read-only.
|
|
929
|
+
*
|
|
930
|
+
* @example
|
|
931
|
+
* 1.0.0
|
|
932
|
+
*/
|
|
933
|
+
resolvedVersion?: string;
|
|
934
|
+
/**
|
|
935
|
+
* @remarks
|
|
936
|
+
* The skill source type. Valid values:
|
|
937
|
+
* - REFERENCE: references AI Registry.
|
|
938
|
+
* - STATIC: statically bundled with the package.
|
|
939
|
+
*
|
|
940
|
+
* @example
|
|
941
|
+
* REFERENCE
|
|
942
|
+
*/
|
|
943
|
+
sourceType?: string;
|
|
704
944
|
/**
|
|
705
945
|
* @remarks
|
|
706
946
|
* The skill version.
|
|
@@ -709,21 +949,39 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
709
949
|
* 1.0.0
|
|
710
950
|
*/
|
|
711
951
|
version?: string;
|
|
952
|
+
/**
|
|
953
|
+
* @remarks
|
|
954
|
+
* The referenced version selector. Defaults to LABEL/latest if omitted.
|
|
955
|
+
*/
|
|
956
|
+
versionSelector?: UpdateManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
712
957
|
static names(): { [key: string]: string } {
|
|
713
958
|
return {
|
|
959
|
+
appliedVersion: 'appliedVersion',
|
|
960
|
+
fromTemplate: 'fromTemplate',
|
|
714
961
|
name: 'name',
|
|
962
|
+
resolvedVersion: 'resolvedVersion',
|
|
963
|
+
sourceType: 'sourceType',
|
|
715
964
|
version: 'version',
|
|
965
|
+
versionSelector: 'versionSelector',
|
|
716
966
|
};
|
|
717
967
|
}
|
|
718
968
|
|
|
719
969
|
static types(): { [key: string]: any } {
|
|
720
970
|
return {
|
|
971
|
+
appliedVersion: 'string',
|
|
972
|
+
fromTemplate: 'boolean',
|
|
721
973
|
name: 'string',
|
|
974
|
+
resolvedVersion: 'string',
|
|
975
|
+
sourceType: 'string',
|
|
722
976
|
version: 'string',
|
|
977
|
+
versionSelector: UpdateManagedAgentResponseBodyDataSkillsVersionSelector,
|
|
723
978
|
};
|
|
724
979
|
}
|
|
725
980
|
|
|
726
981
|
validate() {
|
|
982
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
983
|
+
(this.versionSelector as any).validate();
|
|
984
|
+
}
|
|
727
985
|
super.validate();
|
|
728
986
|
}
|
|
729
987
|
|
|
@@ -740,7 +998,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
740
998
|
* This parameter is required.
|
|
741
999
|
*
|
|
742
1000
|
* @example
|
|
743
|
-
*
|
|
1001
|
+
* Please review the code
|
|
744
1002
|
*/
|
|
745
1003
|
instruction?: string;
|
|
746
1004
|
/**
|
|
@@ -779,7 +1037,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
779
1037
|
export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
|
|
780
1038
|
/**
|
|
781
1039
|
* @remarks
|
|
782
|
-
* The name of the template in
|
|
1040
|
+
* The name of the template in AI Registry.
|
|
783
1041
|
*
|
|
784
1042
|
* This parameter is required.
|
|
785
1043
|
*
|
|
@@ -789,9 +1047,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
789
1047
|
name?: string;
|
|
790
1048
|
/**
|
|
791
1049
|
* @remarks
|
|
792
|
-
* The version of the template in
|
|
793
|
-
*
|
|
794
|
-
* This parameter is required.
|
|
1050
|
+
* The version of the template in AI Registry.
|
|
795
1051
|
*
|
|
796
1052
|
* @example
|
|
797
1053
|
* 1.0.0
|
|
@@ -823,7 +1079,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
823
1079
|
export class UpdateManagedAgentResponseBodyDataTemplate extends $dara.Model {
|
|
824
1080
|
/**
|
|
825
1081
|
* @remarks
|
|
826
|
-
* The AI
|
|
1082
|
+
* The AI Registry template configuration.
|
|
827
1083
|
*/
|
|
828
1084
|
aiRegistry?: UpdateManagedAgentResponseBodyDataTemplateAiRegistry;
|
|
829
1085
|
static names(): { [key: string]: string } {
|
|
@@ -903,6 +1159,16 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
903
1159
|
* agent-1
|
|
904
1160
|
*/
|
|
905
1161
|
agentId?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* @remarks
|
|
1164
|
+
* The AgenticFS additional mount list. The total number of items combined with ossMounts cannot exceed 10.
|
|
1165
|
+
*/
|
|
1166
|
+
agenticFsMounts?: UpdateManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1167
|
+
/**
|
|
1168
|
+
* @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.
|
|
1170
|
+
*/
|
|
1171
|
+
configuredSkills?: UpdateManagedAgentResponseBodyDataConfiguredSkills[];
|
|
906
1172
|
/**
|
|
907
1173
|
* @remarks
|
|
908
1174
|
* The creation mode.
|
|
@@ -937,12 +1203,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
937
1203
|
description?: string;
|
|
938
1204
|
/**
|
|
939
1205
|
* @remarks
|
|
940
|
-
* The environment configuration
|
|
1206
|
+
* The environment configuration.
|
|
941
1207
|
*/
|
|
942
1208
|
environment?: UpdateManagedAgentResponseBodyDataEnvironment;
|
|
943
1209
|
/**
|
|
944
1210
|
* @remarks
|
|
945
|
-
* The agent harness
|
|
1211
|
+
* The agent runtime harness.
|
|
946
1212
|
*/
|
|
947
1213
|
harness?: UpdateManagedAgentResponseBodyDataHarness;
|
|
948
1214
|
/**
|
|
@@ -971,7 +1237,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
971
1237
|
latestVersionStatus?: string;
|
|
972
1238
|
/**
|
|
973
1239
|
* @remarks
|
|
974
|
-
* The model configuration
|
|
1240
|
+
* The model configuration.
|
|
975
1241
|
*/
|
|
976
1242
|
model?: UpdateManagedAgentResponseBodyDataModel;
|
|
977
1243
|
/**
|
|
@@ -984,12 +1250,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
984
1250
|
name?: string;
|
|
985
1251
|
/**
|
|
986
1252
|
* @remarks
|
|
987
|
-
* The network configuration
|
|
1253
|
+
* The network configuration.
|
|
988
1254
|
*/
|
|
989
1255
|
network?: UpdateManagedAgentResponseBodyDataNetwork;
|
|
990
1256
|
/**
|
|
991
1257
|
* @remarks
|
|
992
|
-
* The
|
|
1258
|
+
* The OSS mount list. A maximum of 10 items are supported.
|
|
993
1259
|
*/
|
|
994
1260
|
ossMounts?: UpdateManagedAgentResponseBodyDataOssMounts[];
|
|
995
1261
|
/**
|
|
@@ -1007,12 +1273,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1007
1273
|
runtime?: UpdateManagedAgentResponseBodyDataRuntime;
|
|
1008
1274
|
/**
|
|
1009
1275
|
* @remarks
|
|
1010
|
-
* The
|
|
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.
|
|
1011
1277
|
*/
|
|
1012
1278
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1013
1279
|
/**
|
|
1014
1280
|
* @remarks
|
|
1015
|
-
* The
|
|
1281
|
+
* The skill configuration list.
|
|
1016
1282
|
*/
|
|
1017
1283
|
skills?: UpdateManagedAgentResponseBodyDataSkills[];
|
|
1018
1284
|
/**
|
|
@@ -1025,22 +1291,22 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1025
1291
|
status?: string;
|
|
1026
1292
|
/**
|
|
1027
1293
|
* @remarks
|
|
1028
|
-
* The
|
|
1294
|
+
* The sub-agent configuration list.
|
|
1029
1295
|
*/
|
|
1030
1296
|
subAgents?: UpdateManagedAgentResponseBodyDataSubAgents[];
|
|
1031
1297
|
/**
|
|
1032
1298
|
* @remarks
|
|
1033
|
-
* The template configuration.
|
|
1299
|
+
* The template configuration information.
|
|
1034
1300
|
*/
|
|
1035
1301
|
template?: UpdateManagedAgentResponseBodyDataTemplate;
|
|
1036
1302
|
/**
|
|
1037
1303
|
* @remarks
|
|
1038
|
-
* The
|
|
1304
|
+
* The tool configuration list.
|
|
1039
1305
|
*/
|
|
1040
1306
|
tools?: UpdateManagedAgentResponseBodyDataTools[];
|
|
1041
1307
|
/**
|
|
1042
1308
|
* @remarks
|
|
1043
|
-
* The time
|
|
1309
|
+
* The update time in RFC 3339 format.
|
|
1044
1310
|
*
|
|
1045
1311
|
* @example
|
|
1046
1312
|
* 2026-01-01T00:00:00Z
|
|
@@ -1057,6 +1323,8 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1057
1323
|
static names(): { [key: string]: string } {
|
|
1058
1324
|
return {
|
|
1059
1325
|
agentId: 'agentId',
|
|
1326
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
1327
|
+
configuredSkills: 'configuredSkills',
|
|
1060
1328
|
createMode: 'createMode',
|
|
1061
1329
|
createdAt: 'createdAt',
|
|
1062
1330
|
deployType: 'deployType',
|
|
@@ -1086,6 +1354,8 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1086
1354
|
static types(): { [key: string]: any } {
|
|
1087
1355
|
return {
|
|
1088
1356
|
agentId: 'string',
|
|
1357
|
+
agenticFsMounts: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataAgenticFsMounts },
|
|
1358
|
+
configuredSkills: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataConfiguredSkills },
|
|
1089
1359
|
createMode: 'string',
|
|
1090
1360
|
createdAt: 'string',
|
|
1091
1361
|
deployType: 'string',
|
|
@@ -1113,6 +1383,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1113
1383
|
}
|
|
1114
1384
|
|
|
1115
1385
|
validate() {
|
|
1386
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1387
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1388
|
+
}
|
|
1389
|
+
if(Array.isArray(this.configuredSkills)) {
|
|
1390
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
1391
|
+
}
|
|
1116
1392
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1117
1393
|
(this.environment as any).validate();
|
|
1118
1394
|
}
|
|
@@ -1178,7 +1454,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
|
1178
1454
|
httpStatusCode?: number;
|
|
1179
1455
|
/**
|
|
1180
1456
|
* @remarks
|
|
1181
|
-
* The
|
|
1457
|
+
* The message returned for the request.
|
|
1182
1458
|
*
|
|
1183
1459
|
* @example
|
|
1184
1460
|
* success
|
|
@@ -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
|
|
13
|
+
* The reserved idempotency token. The backend does not guarantee idempotency in the current release.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* client-token-1
|
|
@@ -31,7 +31,7 @@ export class UploadSkillViaOssRequestBody extends $dara.Model {
|
|
|
31
31
|
overwrite?: boolean;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The upload version number. This parameter is optional and
|
|
34
|
+
* The target upload version number. This parameter is optional and serves as a fallback when the ZIP package does not contain version information.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 1.0.0
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class VerifyWorkspaceAgenticFsMountRamAuthorizationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The domain name of the target AccessPoint, obtained from the DomainName field of NAS ListAccessPoints. Do not include the protocol, port, or path.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
14
|
+
*/
|
|
15
|
+
server?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
server: 'server',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
server: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|