@alicloud/agentcore20260804 2.1.1 → 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 +102 -36
- package/dist/client.js +189 -36
- package/dist/client.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +150 -25
- package/dist/models/CreateManagedAgentRequest.js +85 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +259 -32
- package/dist/models/CreateManagedAgentResponseBody.js +145 -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/DataResourceValue.d.ts +15 -15
- package/dist/models/DataResourceValue.js +4 -4
- package/dist/models/DataResourceValue.js.map +1 -1
- package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +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 +47 -2
- package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +260 -31
- package/dist/models/GetManagedAgentResponseBody.js +145 -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/ListSkillsRequest.d.ts +2 -2
- package/dist/models/ListSkillsResponseBody.d.ts +15 -3
- 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 +154 -31
- package/dist/models/UpdateManagedAgentRequest.js +85 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +263 -36
- package/dist/models/UpdateManagedAgentResponseBody.js +145 -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 +36 -0
- package/dist/models/model.js +216 -143
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +203 -36
- package/src/models/CreateManagedAgentRequest.ts +207 -25
- package/src/models/CreateManagedAgentResponseBody.ts +358 -32
- package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/CreateSkillDraftRequest.ts +1 -1
- package/src/models/CreateSkillDraftResponseBody.ts +1 -1
- package/src/models/DataResourceValue.ts +17 -17
- package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
- package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
- package/src/models/GetAgentSpecLatestResponseBody.ts +66 -2
- package/src/models/GetManagedAgentResponseBody.ts +359 -31
- 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/ListSkillsRequest.ts +2 -2
- package/src/models/ListSkillsResponseBody.ts +17 -3
- package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
- package/src/models/PublishSkillVersionRequest.ts +10 -0
- package/src/models/UpdateManagedAgentRequest.ts +211 -31
- package/src/models/UpdateManagedAgentResponseBody.ts +362 -36
- 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 +36 -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 item 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
|
+
* 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
|
+
*
|
|
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 a 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 item as validated by the backend. Do not include the protocol, port, or path. Use the DomainName value 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: select by label.
|
|
70
|
+
* - VERSION: select 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: referenced from 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 version selector for the reference. 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
|
|
@@ -121,7 +287,7 @@ export class UpdateManagedAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
121
287
|
export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
|
|
122
288
|
/**
|
|
123
289
|
* @remarks
|
|
124
|
-
* The
|
|
290
|
+
* The Connector Service Account Key.
|
|
125
291
|
*
|
|
126
292
|
* @example
|
|
127
293
|
* key-xxxx
|
|
@@ -129,7 +295,7 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
|
|
|
129
295
|
connectorServiceAccountKey?: string;
|
|
130
296
|
/**
|
|
131
297
|
* @remarks
|
|
132
|
-
* The
|
|
298
|
+
* The Connector Service Account Name.
|
|
133
299
|
*
|
|
134
300
|
* @example
|
|
135
301
|
* my-connector-key
|
|
@@ -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. Valid values: day (daily) and month (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 item 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 item 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
|
|
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
|
|
712
|
+
* The maximum number of Sandboxes. Required when HPA is enabled and must be greater than or equal to 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
|
|
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-to-live (TTL) for a session after inactivity, in seconds. 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 name of the HTTP header used for session affinity. This parameter 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.
|
|
601
767
|
*
|
|
602
768
|
* @example
|
|
603
769
|
* X-Session-Id
|
|
@@ -646,7 +812,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
646
812
|
compute?: UpdateManagedAgentResponseBodyDataRuntimeCompute;
|
|
647
813
|
/**
|
|
648
814
|
* @remarks
|
|
649
|
-
* The
|
|
815
|
+
* The Sandbox auto scaling and session configuration.
|
|
650
816
|
*/
|
|
651
817
|
hpa?: UpdateManagedAgentResponseBodyDataRuntimeHpa;
|
|
652
818
|
/**
|
|
@@ -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: select by label.
|
|
864
|
+
* - VERSION: select 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: referenced from 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,6 +949,64 @@ 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;
|
|
957
|
+
static names(): { [key: string]: string } {
|
|
958
|
+
return {
|
|
959
|
+
appliedVersion: 'appliedVersion',
|
|
960
|
+
fromTemplate: 'fromTemplate',
|
|
961
|
+
name: 'name',
|
|
962
|
+
resolvedVersion: 'resolvedVersion',
|
|
963
|
+
sourceType: 'sourceType',
|
|
964
|
+
version: 'version',
|
|
965
|
+
versionSelector: 'versionSelector',
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
static types(): { [key: string]: any } {
|
|
970
|
+
return {
|
|
971
|
+
appliedVersion: 'string',
|
|
972
|
+
fromTemplate: 'boolean',
|
|
973
|
+
name: 'string',
|
|
974
|
+
resolvedVersion: 'string',
|
|
975
|
+
sourceType: 'string',
|
|
976
|
+
version: 'string',
|
|
977
|
+
versionSelector: UpdateManagedAgentResponseBodyDataSkillsVersionSelector,
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
validate() {
|
|
982
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
983
|
+
(this.versionSelector as any).validate();
|
|
984
|
+
}
|
|
985
|
+
super.validate();
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
constructor(map?: { [key: string]: any }) {
|
|
989
|
+
super(map);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
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;
|
|
712
1010
|
static names(): { [key: string]: string } {
|
|
713
1011
|
return {
|
|
714
1012
|
name: 'name',
|
|
@@ -740,7 +1038,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
740
1038
|
* This parameter is required.
|
|
741
1039
|
*
|
|
742
1040
|
* @example
|
|
743
|
-
*
|
|
1041
|
+
* Please review the code
|
|
744
1042
|
*/
|
|
745
1043
|
instruction?: string;
|
|
746
1044
|
/**
|
|
@@ -753,10 +1051,16 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
753
1051
|
* reviewer-agent
|
|
754
1052
|
*/
|
|
755
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[];
|
|
756
1059
|
static names(): { [key: string]: string } {
|
|
757
1060
|
return {
|
|
758
1061
|
instruction: 'instruction',
|
|
759
1062
|
name: 'name',
|
|
1063
|
+
skills: 'skills',
|
|
760
1064
|
};
|
|
761
1065
|
}
|
|
762
1066
|
|
|
@@ -764,10 +1068,14 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
764
1068
|
return {
|
|
765
1069
|
instruction: 'string',
|
|
766
1070
|
name: 'string',
|
|
1071
|
+
skills: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataSubAgentsSkills },
|
|
767
1072
|
};
|
|
768
1073
|
}
|
|
769
1074
|
|
|
770
1075
|
validate() {
|
|
1076
|
+
if(Array.isArray(this.skills)) {
|
|
1077
|
+
$dara.Model.validateArray(this.skills);
|
|
1078
|
+
}
|
|
771
1079
|
super.validate();
|
|
772
1080
|
}
|
|
773
1081
|
|
|
@@ -779,7 +1087,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
779
1087
|
export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
|
|
780
1088
|
/**
|
|
781
1089
|
* @remarks
|
|
782
|
-
* The name of the template in
|
|
1090
|
+
* The name of the template in AI Registry.
|
|
783
1091
|
*
|
|
784
1092
|
* This parameter is required.
|
|
785
1093
|
*
|
|
@@ -789,9 +1097,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
789
1097
|
name?: string;
|
|
790
1098
|
/**
|
|
791
1099
|
* @remarks
|
|
792
|
-
* The version of the template in
|
|
793
|
-
*
|
|
794
|
-
* This parameter is required.
|
|
1100
|
+
* The version of the template in AI Registry.
|
|
795
1101
|
*
|
|
796
1102
|
* @example
|
|
797
1103
|
* 1.0.0
|
|
@@ -823,7 +1129,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
823
1129
|
export class UpdateManagedAgentResponseBodyDataTemplate extends $dara.Model {
|
|
824
1130
|
/**
|
|
825
1131
|
* @remarks
|
|
826
|
-
* The AI
|
|
1132
|
+
* The AI Registry template configuration.
|
|
827
1133
|
*/
|
|
828
1134
|
aiRegistry?: UpdateManagedAgentResponseBodyDataTemplateAiRegistry;
|
|
829
1135
|
static names(): { [key: string]: string } {
|
|
@@ -903,6 +1209,16 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
903
1209
|
* agent-1
|
|
904
1210
|
*/
|
|
905
1211
|
agentId?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* @remarks
|
|
1214
|
+
* The AgenticFS additional mount list. The total number of items combined with ossMounts cannot exceed 10.
|
|
1215
|
+
*/
|
|
1216
|
+
agenticFsMounts?: UpdateManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1217
|
+
/**
|
|
1218
|
+
* @remarks
|
|
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.
|
|
1220
|
+
*/
|
|
1221
|
+
configuredSkills?: UpdateManagedAgentResponseBodyDataConfiguredSkills[];
|
|
906
1222
|
/**
|
|
907
1223
|
* @remarks
|
|
908
1224
|
* The creation mode.
|
|
@@ -937,12 +1253,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
937
1253
|
description?: string;
|
|
938
1254
|
/**
|
|
939
1255
|
* @remarks
|
|
940
|
-
* The environment configuration
|
|
1256
|
+
* The environment configuration.
|
|
941
1257
|
*/
|
|
942
1258
|
environment?: UpdateManagedAgentResponseBodyDataEnvironment;
|
|
943
1259
|
/**
|
|
944
1260
|
* @remarks
|
|
945
|
-
* The agent harness
|
|
1261
|
+
* The agent runtime harness.
|
|
946
1262
|
*/
|
|
947
1263
|
harness?: UpdateManagedAgentResponseBodyDataHarness;
|
|
948
1264
|
/**
|
|
@@ -971,7 +1287,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
971
1287
|
latestVersionStatus?: string;
|
|
972
1288
|
/**
|
|
973
1289
|
* @remarks
|
|
974
|
-
* The model configuration
|
|
1290
|
+
* The model configuration.
|
|
975
1291
|
*/
|
|
976
1292
|
model?: UpdateManagedAgentResponseBodyDataModel;
|
|
977
1293
|
/**
|
|
@@ -984,12 +1300,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
984
1300
|
name?: string;
|
|
985
1301
|
/**
|
|
986
1302
|
* @remarks
|
|
987
|
-
* The network configuration
|
|
1303
|
+
* The network configuration.
|
|
988
1304
|
*/
|
|
989
1305
|
network?: UpdateManagedAgentResponseBodyDataNetwork;
|
|
990
1306
|
/**
|
|
991
1307
|
* @remarks
|
|
992
|
-
* The
|
|
1308
|
+
* The OSS mount list. A maximum of 10 items are supported.
|
|
993
1309
|
*/
|
|
994
1310
|
ossMounts?: UpdateManagedAgentResponseBodyDataOssMounts[];
|
|
995
1311
|
/**
|
|
@@ -1007,7 +1323,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1007
1323
|
runtime?: UpdateManagedAgentResponseBodyDataRuntime;
|
|
1008
1324
|
/**
|
|
1009
1325
|
* @remarks
|
|
1010
|
-
* The
|
|
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.
|
|
1011
1327
|
*/
|
|
1012
1328
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1013
1329
|
/**
|
|
@@ -1030,7 +1346,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1030
1346
|
subAgents?: UpdateManagedAgentResponseBodyDataSubAgents[];
|
|
1031
1347
|
/**
|
|
1032
1348
|
* @remarks
|
|
1033
|
-
* The template configuration.
|
|
1349
|
+
* The template configuration information.
|
|
1034
1350
|
*/
|
|
1035
1351
|
template?: UpdateManagedAgentResponseBodyDataTemplate;
|
|
1036
1352
|
/**
|
|
@@ -1057,6 +1373,8 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1057
1373
|
static names(): { [key: string]: string } {
|
|
1058
1374
|
return {
|
|
1059
1375
|
agentId: 'agentId',
|
|
1376
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
1377
|
+
configuredSkills: 'configuredSkills',
|
|
1060
1378
|
createMode: 'createMode',
|
|
1061
1379
|
createdAt: 'createdAt',
|
|
1062
1380
|
deployType: 'deployType',
|
|
@@ -1086,6 +1404,8 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1086
1404
|
static types(): { [key: string]: any } {
|
|
1087
1405
|
return {
|
|
1088
1406
|
agentId: 'string',
|
|
1407
|
+
agenticFsMounts: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataAgenticFsMounts },
|
|
1408
|
+
configuredSkills: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataConfiguredSkills },
|
|
1089
1409
|
createMode: 'string',
|
|
1090
1410
|
createdAt: 'string',
|
|
1091
1411
|
deployType: 'string',
|
|
@@ -1113,6 +1433,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1113
1433
|
}
|
|
1114
1434
|
|
|
1115
1435
|
validate() {
|
|
1436
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1437
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1438
|
+
}
|
|
1439
|
+
if(Array.isArray(this.configuredSkills)) {
|
|
1440
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
1441
|
+
}
|
|
1116
1442
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1117
1443
|
(this.environment as any).validate();
|
|
1118
1444
|
}
|
|
@@ -1178,7 +1504,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
|
1178
1504
|
httpStatusCode?: number;
|
|
1179
1505
|
/**
|
|
1180
1506
|
* @remarks
|
|
1181
|
-
* The
|
|
1507
|
+
* The message returned for the request.
|
|
1182
1508
|
*
|
|
1183
1509
|
* @example
|
|
1184
1510
|
* 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 provide idempotency guarantees in the current
|
|
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
|