@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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
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
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* /mnt/agenticfs/data
|
|
12
|
+
*/
|
|
13
|
+
mountPath?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
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
|
+
*
|
|
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. 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
|
+
*
|
|
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 GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector 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. 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
|
+
*
|
|
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 GetManagedAgentResponseBodyDataConfiguredSkills 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 the AI Registry.
|
|
122
|
+
* - STATIC: statically provided with the package.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* REFERENCE
|
|
126
|
+
*/
|
|
127
|
+
sourceType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* **[Deprecated]** 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 referenced skill. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
139
|
+
*/
|
|
140
|
+
versionSelector?: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
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: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
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 GetManagedAgentResponseBodyDataEnvironmentCredentialReferences extends $dara.Model {
|
|
6
172
|
/**
|
|
7
173
|
* @remarks
|
|
@@ -121,7 +287,7 @@ export class GetManagedAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
121
287
|
export class GetManagedAgentResponseBodyDataHarnessConfiguration 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 GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
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
|
|
@@ -201,7 +367,7 @@ export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
|
201
367
|
export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
202
368
|
/**
|
|
203
369
|
* @remarks
|
|
204
|
-
* Indicates whether the quota is enabled.
|
|
370
|
+
* Indicates whether the quota is enabled. This field is not returned if no quota is configured.
|
|
205
371
|
*
|
|
206
372
|
* @example
|
|
207
373
|
* true
|
|
@@ -209,7 +375,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
209
375
|
enabled?: boolean;
|
|
210
376
|
/**
|
|
211
377
|
* @remarks
|
|
212
|
-
* The quota limit type. Currently only token is supported.
|
|
378
|
+
* The quota limit type. Currently, only token is supported.
|
|
213
379
|
*
|
|
214
380
|
* @example
|
|
215
381
|
* token
|
|
@@ -217,7 +383,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
217
383
|
limitType?: string;
|
|
218
384
|
/**
|
|
219
385
|
* @remarks
|
|
220
|
-
* Indicates whether the quota has been exceeded in the current period.
|
|
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,9 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
225
391
|
overLimit?: boolean;
|
|
226
392
|
/**
|
|
227
393
|
* @remarks
|
|
228
|
-
* The quota statistical period. Valid values:
|
|
394
|
+
* The quota statistical period. Valid values:
|
|
395
|
+
* - day: daily.
|
|
396
|
+
* - month: monthly.
|
|
229
397
|
*
|
|
230
398
|
* @example
|
|
231
399
|
* day
|
|
@@ -233,7 +401,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
233
401
|
periodType?: string;
|
|
234
402
|
/**
|
|
235
403
|
* @remarks
|
|
236
|
-
* The gateway quota rule status.
|
|
404
|
+
* The gateway quota rule status. This field is read-only and returned by the backend.
|
|
237
405
|
*
|
|
238
406
|
* @example
|
|
239
407
|
* ACTIVE
|
|
@@ -241,7 +409,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
241
409
|
ruleStatus?: string;
|
|
242
410
|
/**
|
|
243
411
|
* @remarks
|
|
244
|
-
* The maximum number of tokens
|
|
412
|
+
* The maximum number of tokens that can be consumed in a single period.
|
|
245
413
|
*
|
|
246
414
|
* @example
|
|
247
415
|
* 1000000
|
|
@@ -249,7 +417,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
249
417
|
usageLimit?: number;
|
|
250
418
|
/**
|
|
251
419
|
* @remarks
|
|
252
|
-
* The number of tokens consumed in the current period.
|
|
420
|
+
* The number of tokens consumed in the current period. This field is read-only and returned by the backend.
|
|
253
421
|
*
|
|
254
422
|
* @example
|
|
255
423
|
* 12345
|
|
@@ -307,7 +475,7 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
307
475
|
modelName?: string;
|
|
308
476
|
/**
|
|
309
477
|
* @remarks
|
|
310
|
-
* The model token quota configuration and usage status for the current period.
|
|
478
|
+
* The model token quota configuration and the quota usage status for the current period. This field is empty if no quota is configured.
|
|
311
479
|
*/
|
|
312
480
|
quota?: GetManagedAgentResponseBodyDataModelQuota;
|
|
313
481
|
static names(): { [key: string]: string } {
|
|
@@ -441,7 +609,7 @@ export class GetManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
441
609
|
export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
442
610
|
/**
|
|
443
611
|
* @remarks
|
|
444
|
-
* The OSS bucket name.
|
|
612
|
+
* The OSS bucket name. This field is required for each mount item as validated by the backend.
|
|
445
613
|
*
|
|
446
614
|
* @example
|
|
447
615
|
* bucket-001
|
|
@@ -449,7 +617,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
449
617
|
bucketName?: string;
|
|
450
618
|
/**
|
|
451
619
|
* @remarks
|
|
452
|
-
* 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.
|
|
453
621
|
*
|
|
454
622
|
* @example
|
|
455
623
|
* /mnt/oss/datasets
|
|
@@ -457,7 +625,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
457
625
|
mountPath?: string;
|
|
458
626
|
/**
|
|
459
627
|
* @remarks
|
|
460
|
-
* The relative object prefix
|
|
628
|
+
* The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
|
|
461
629
|
*
|
|
462
630
|
* @example
|
|
463
631
|
* datasets
|
|
@@ -530,12 +698,12 @@ export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
|
530
698
|
export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
531
699
|
/**
|
|
532
700
|
* @remarks
|
|
533
|
-
* Specifies whether auto
|
|
701
|
+
* Specifies whether to enable auto scaling. This field is validated as required by the backend when hpa is present.
|
|
534
702
|
*/
|
|
535
703
|
enabled?: boolean;
|
|
536
704
|
/**
|
|
537
705
|
* @remarks
|
|
538
|
-
* The maximum number of active sessions per sandbox.
|
|
706
|
+
* The maximum number of active sessions per sandbox. This field is validated as required by the backend when hpa is present.
|
|
539
707
|
*
|
|
540
708
|
* @example
|
|
541
709
|
* 5
|
|
@@ -543,7 +711,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
543
711
|
maxConcurrentSessionsPerSandbox?: number;
|
|
544
712
|
/**
|
|
545
713
|
* @remarks
|
|
546
|
-
* The maximum number of sandboxes.
|
|
714
|
+
* The maximum number of sandboxes. This field is required when HPA is enabled and must be no less than the minimum value.
|
|
547
715
|
*
|
|
548
716
|
* @example
|
|
549
717
|
* 3
|
|
@@ -551,7 +719,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
551
719
|
maxSandboxCount?: number;
|
|
552
720
|
/**
|
|
553
721
|
* @remarks
|
|
554
|
-
* The minimum number of sandboxes.
|
|
722
|
+
* The minimum number of sandboxes. This field is required when HPA is enabled.
|
|
555
723
|
*
|
|
556
724
|
* @example
|
|
557
725
|
* 1
|
|
@@ -559,7 +727,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
559
727
|
minSandboxCount?: number;
|
|
560
728
|
/**
|
|
561
729
|
* @remarks
|
|
562
|
-
* The
|
|
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.
|
|
563
731
|
*
|
|
564
732
|
* @example
|
|
565
733
|
* 3600
|
|
@@ -597,7 +765,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
597
765
|
export class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
598
766
|
/**
|
|
599
767
|
* @remarks
|
|
600
|
-
* The HTTP header name used for session affinity.
|
|
768
|
+
* The HTTP header name used for session affinity. This field takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
601
769
|
*
|
|
602
770
|
* @example
|
|
603
771
|
* X-Session-Id
|
|
@@ -646,7 +814,7 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
646
814
|
compute?: GetManagedAgentResponseBodyDataRuntimeCompute;
|
|
647
815
|
/**
|
|
648
816
|
* @remarks
|
|
649
|
-
* The sandbox auto
|
|
817
|
+
* The sandbox auto scaling and session configuration.
|
|
650
818
|
*/
|
|
651
819
|
hpa?: GetManagedAgentResponseBodyDataRuntimeHpa;
|
|
652
820
|
/**
|
|
@@ -690,17 +858,91 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
690
858
|
}
|
|
691
859
|
}
|
|
692
860
|
|
|
861
|
+
export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
862
|
+
/**
|
|
863
|
+
* @remarks
|
|
864
|
+
* The version selector type. Valid values:
|
|
865
|
+
* - LABEL: selects by label.
|
|
866
|
+
* - VERSION: selects by specific version.
|
|
867
|
+
*
|
|
868
|
+
* @example
|
|
869
|
+
* LABEL
|
|
870
|
+
*/
|
|
871
|
+
type?: string;
|
|
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
|
+
*
|
|
876
|
+
* @example
|
|
877
|
+
* latest
|
|
878
|
+
*/
|
|
879
|
+
value?: string;
|
|
880
|
+
static names(): { [key: string]: string } {
|
|
881
|
+
return {
|
|
882
|
+
type: 'type',
|
|
883
|
+
value: 'value',
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
static types(): { [key: string]: any } {
|
|
888
|
+
return {
|
|
889
|
+
type: 'string',
|
|
890
|
+
value: 'string',
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
validate() {
|
|
895
|
+
super.validate();
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
constructor(map?: { [key: string]: any }) {
|
|
899
|
+
super(map);
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
|
|
693
903
|
export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
694
904
|
/**
|
|
695
905
|
* @remarks
|
|
696
|
-
* The
|
|
906
|
+
* The version currently in effect at runtime. This field is read-only.
|
|
697
907
|
*
|
|
698
|
-
*
|
|
908
|
+
* @example
|
|
909
|
+
* 1.0.0
|
|
910
|
+
*/
|
|
911
|
+
appliedVersion?: string;
|
|
912
|
+
/**
|
|
913
|
+
* @remarks
|
|
914
|
+
* Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
|
|
915
|
+
*
|
|
916
|
+
* @example
|
|
917
|
+
* false
|
|
918
|
+
*/
|
|
919
|
+
fromTemplate?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* @remarks
|
|
922
|
+
* The skill name.
|
|
699
923
|
*
|
|
700
924
|
* @example
|
|
701
925
|
* code-analysis
|
|
702
926
|
*/
|
|
703
927
|
name?: string;
|
|
928
|
+
/**
|
|
929
|
+
* @remarks
|
|
930
|
+
* The current target version. This field is read-only.
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
* 1.0.0
|
|
934
|
+
*/
|
|
935
|
+
resolvedVersion?: string;
|
|
936
|
+
/**
|
|
937
|
+
* @remarks
|
|
938
|
+
* The skill source type. Valid values:
|
|
939
|
+
* - REFERENCE: references the AI Registry.
|
|
940
|
+
* - STATIC: statically provided with the package.
|
|
941
|
+
*
|
|
942
|
+
* @example
|
|
943
|
+
* REFERENCE
|
|
944
|
+
*/
|
|
945
|
+
sourceType?: string;
|
|
704
946
|
/**
|
|
705
947
|
* @remarks
|
|
706
948
|
* The skill version.
|
|
@@ -709,6 +951,64 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
709
951
|
* 1.0.0
|
|
710
952
|
*/
|
|
711
953
|
version?: string;
|
|
954
|
+
/**
|
|
955
|
+
* @remarks
|
|
956
|
+
* The referenced version selector. Defaults to LABEL/latest if omitted.
|
|
957
|
+
*/
|
|
958
|
+
versionSelector?: GetManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
959
|
+
static names(): { [key: string]: string } {
|
|
960
|
+
return {
|
|
961
|
+
appliedVersion: 'appliedVersion',
|
|
962
|
+
fromTemplate: 'fromTemplate',
|
|
963
|
+
name: 'name',
|
|
964
|
+
resolvedVersion: 'resolvedVersion',
|
|
965
|
+
sourceType: 'sourceType',
|
|
966
|
+
version: 'version',
|
|
967
|
+
versionSelector: 'versionSelector',
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
static types(): { [key: string]: any } {
|
|
972
|
+
return {
|
|
973
|
+
appliedVersion: 'string',
|
|
974
|
+
fromTemplate: 'boolean',
|
|
975
|
+
name: 'string',
|
|
976
|
+
resolvedVersion: 'string',
|
|
977
|
+
sourceType: 'string',
|
|
978
|
+
version: 'string',
|
|
979
|
+
versionSelector: GetManagedAgentResponseBodyDataSkillsVersionSelector,
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
validate() {
|
|
984
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
985
|
+
(this.versionSelector as any).validate();
|
|
986
|
+
}
|
|
987
|
+
super.validate();
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
constructor(map?: { [key: string]: any }) {
|
|
991
|
+
super(map);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
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;
|
|
712
1012
|
static names(): { [key: string]: string } {
|
|
713
1013
|
return {
|
|
714
1014
|
name: 'name',
|
|
@@ -735,7 +1035,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
735
1035
|
export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
736
1036
|
/**
|
|
737
1037
|
* @remarks
|
|
738
|
-
* The
|
|
1038
|
+
* The child agent instruction.
|
|
739
1039
|
*
|
|
740
1040
|
* This parameter is required.
|
|
741
1041
|
*
|
|
@@ -745,7 +1045,7 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
745
1045
|
instruction?: string;
|
|
746
1046
|
/**
|
|
747
1047
|
* @remarks
|
|
748
|
-
* The
|
|
1048
|
+
* The child agent name.
|
|
749
1049
|
*
|
|
750
1050
|
* This parameter is required.
|
|
751
1051
|
*
|
|
@@ -753,10 +1053,16 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
753
1053
|
* reviewer-agent
|
|
754
1054
|
*/
|
|
755
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[];
|
|
756
1061
|
static names(): { [key: string]: string } {
|
|
757
1062
|
return {
|
|
758
1063
|
instruction: 'instruction',
|
|
759
1064
|
name: 'name',
|
|
1065
|
+
skills: 'skills',
|
|
760
1066
|
};
|
|
761
1067
|
}
|
|
762
1068
|
|
|
@@ -764,10 +1070,14 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
764
1070
|
return {
|
|
765
1071
|
instruction: 'string',
|
|
766
1072
|
name: 'string',
|
|
1073
|
+
skills: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataSubAgentsSkills },
|
|
767
1074
|
};
|
|
768
1075
|
}
|
|
769
1076
|
|
|
770
1077
|
validate() {
|
|
1078
|
+
if(Array.isArray(this.skills)) {
|
|
1079
|
+
$dara.Model.validateArray(this.skills);
|
|
1080
|
+
}
|
|
771
1081
|
super.validate();
|
|
772
1082
|
}
|
|
773
1083
|
|
|
@@ -791,8 +1101,6 @@ export class GetManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Mod
|
|
|
791
1101
|
* @remarks
|
|
792
1102
|
* The version of the template in the AI registry.
|
|
793
1103
|
*
|
|
794
|
-
* This parameter is required.
|
|
795
|
-
*
|
|
796
1104
|
* @example
|
|
797
1105
|
* 1.0.0
|
|
798
1106
|
*/
|
|
@@ -903,6 +1211,16 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
903
1211
|
* agent-1
|
|
904
1212
|
*/
|
|
905
1213
|
agentId?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* @remarks
|
|
1216
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10.
|
|
1217
|
+
*/
|
|
1218
|
+
agenticFsMounts?: GetManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1219
|
+
/**
|
|
1220
|
+
* @remarks
|
|
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.
|
|
1222
|
+
*/
|
|
1223
|
+
configuredSkills?: GetManagedAgentResponseBodyDataConfiguredSkills[];
|
|
906
1224
|
/**
|
|
907
1225
|
* @remarks
|
|
908
1226
|
* The creation mode.
|
|
@@ -963,7 +1281,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
963
1281
|
latestSpecVersion?: number;
|
|
964
1282
|
/**
|
|
965
1283
|
* @remarks
|
|
966
|
-
* The latest version
|
|
1284
|
+
* The status of the latest version.
|
|
967
1285
|
*
|
|
968
1286
|
* @example
|
|
969
1287
|
* succeeded
|
|
@@ -989,7 +1307,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
989
1307
|
network?: GetManagedAgentResponseBodyDataNetwork;
|
|
990
1308
|
/**
|
|
991
1309
|
* @remarks
|
|
992
|
-
* The OSS
|
|
1310
|
+
* The list of OSS mounts. A maximum of 10 items are allowed.
|
|
993
1311
|
*/
|
|
994
1312
|
ossMounts?: GetManagedAgentResponseBodyDataOssMounts[];
|
|
995
1313
|
/**
|
|
@@ -1007,7 +1325,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1007
1325
|
runtime?: GetManagedAgentResponseBodyDataRuntime;
|
|
1008
1326
|
/**
|
|
1009
1327
|
* @remarks
|
|
1010
|
-
* The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (
|
|
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.
|
|
1011
1329
|
*/
|
|
1012
1330
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1013
1331
|
/**
|
|
@@ -1025,7 +1343,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1025
1343
|
status?: string;
|
|
1026
1344
|
/**
|
|
1027
1345
|
* @remarks
|
|
1028
|
-
* The list of
|
|
1346
|
+
* The list of child agent configurations.
|
|
1029
1347
|
*/
|
|
1030
1348
|
subAgents?: GetManagedAgentResponseBodyDataSubAgents[];
|
|
1031
1349
|
/**
|
|
@@ -1040,7 +1358,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1040
1358
|
tools?: GetManagedAgentResponseBodyDataTools[];
|
|
1041
1359
|
/**
|
|
1042
1360
|
* @remarks
|
|
1043
|
-
* The time when the
|
|
1361
|
+
* The time when the resource was last updated, in RFC 3339 format.
|
|
1044
1362
|
*
|
|
1045
1363
|
* @example
|
|
1046
1364
|
* 2026-01-01T00:00:00Z
|
|
@@ -1057,6 +1375,8 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1057
1375
|
static names(): { [key: string]: string } {
|
|
1058
1376
|
return {
|
|
1059
1377
|
agentId: 'agentId',
|
|
1378
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
1379
|
+
configuredSkills: 'configuredSkills',
|
|
1060
1380
|
createMode: 'createMode',
|
|
1061
1381
|
createdAt: 'createdAt',
|
|
1062
1382
|
deployType: 'deployType',
|
|
@@ -1086,6 +1406,8 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1086
1406
|
static types(): { [key: string]: any } {
|
|
1087
1407
|
return {
|
|
1088
1408
|
agentId: 'string',
|
|
1409
|
+
agenticFsMounts: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataAgenticFsMounts },
|
|
1410
|
+
configuredSkills: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataConfiguredSkills },
|
|
1089
1411
|
createMode: 'string',
|
|
1090
1412
|
createdAt: 'string',
|
|
1091
1413
|
deployType: 'string',
|
|
@@ -1113,6 +1435,12 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1113
1435
|
}
|
|
1114
1436
|
|
|
1115
1437
|
validate() {
|
|
1438
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1439
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1440
|
+
}
|
|
1441
|
+
if(Array.isArray(this.configuredSkills)) {
|
|
1442
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
1443
|
+
}
|
|
1116
1444
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1117
1445
|
(this.environment as any).validate();
|
|
1118
1446
|
}
|