@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,66 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class UpdateManagedAgentRequestBodyAgenticFsMounts 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
|
+
|
|
5
65
|
export class UpdateManagedAgentRequestBodyEnvironmentCredentialReferences extends $dara.Model {
|
|
6
66
|
/**
|
|
7
67
|
* @remarks
|
|
@@ -121,7 +181,7 @@ export class UpdateManagedAgentRequestBodyEnvironment extends $dara.Model {
|
|
|
121
181
|
export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Model {
|
|
122
182
|
/**
|
|
123
183
|
* @remarks
|
|
124
|
-
* The
|
|
184
|
+
* The Connector Service Account Key.
|
|
125
185
|
*
|
|
126
186
|
* @example
|
|
127
187
|
* key-xxxx
|
|
@@ -129,7 +189,7 @@ export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
129
189
|
connectorServiceAccountKey?: string;
|
|
130
190
|
/**
|
|
131
191
|
* @remarks
|
|
132
|
-
* The
|
|
192
|
+
* The Connector Service Account Name.
|
|
133
193
|
*
|
|
134
194
|
* @example
|
|
135
195
|
* my-connector-key
|
|
@@ -161,12 +221,12 @@ export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
161
221
|
export class UpdateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
162
222
|
/**
|
|
163
223
|
* @remarks
|
|
164
|
-
* The harness configuration.
|
|
224
|
+
* The runtime harness configuration.
|
|
165
225
|
*/
|
|
166
226
|
configuration?: UpdateManagedAgentRequestBodyHarnessConfiguration;
|
|
167
227
|
/**
|
|
168
228
|
* @remarks
|
|
169
|
-
* The harness type.
|
|
229
|
+
* The runtime harness type.
|
|
170
230
|
*
|
|
171
231
|
* @example
|
|
172
232
|
* qodercli
|
|
@@ -201,7 +261,7 @@ export class UpdateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
|
201
261
|
export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
202
262
|
/**
|
|
203
263
|
* @remarks
|
|
204
|
-
* Specifies whether to enable the token quota. Default value: true.
|
|
264
|
+
* Specifies whether to enable the token quota. Default value: true. Set to false to disable and delete existing quota rules.
|
|
205
265
|
*
|
|
206
266
|
* @example
|
|
207
267
|
* true
|
|
@@ -209,7 +269,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
209
269
|
enabled?: boolean;
|
|
210
270
|
/**
|
|
211
271
|
* @remarks
|
|
212
|
-
* The quota limit type.
|
|
272
|
+
* The quota limit type. Required when the quota is enabled, as validated by the backend. Fixed value: token.
|
|
213
273
|
*
|
|
214
274
|
* @example
|
|
215
275
|
* token
|
|
@@ -217,9 +277,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
217
277
|
limitType?: string;
|
|
218
278
|
/**
|
|
219
279
|
* @remarks
|
|
220
|
-
* The
|
|
221
|
-
* - day: daily.
|
|
222
|
-
* - month: monthly.
|
|
280
|
+
* The statistical period for the quota. Required when the quota is enabled, as validated by the backend. Valid values: day (daily) and month (monthly).
|
|
223
281
|
*
|
|
224
282
|
* @example
|
|
225
283
|
* day
|
|
@@ -227,7 +285,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
227
285
|
periodType?: string;
|
|
228
286
|
/**
|
|
229
287
|
* @remarks
|
|
230
|
-
* The maximum number of tokens that can be consumed within a single period.
|
|
288
|
+
* The maximum number of tokens that can be consumed within a single period. Required when the quota is enabled, as validated by the backend. The value must be greater than 0.
|
|
231
289
|
*
|
|
232
290
|
* @example
|
|
233
291
|
* 1000000
|
|
@@ -281,7 +339,7 @@ export class UpdateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
281
339
|
modelName?: string;
|
|
282
340
|
/**
|
|
283
341
|
* @remarks
|
|
284
|
-
* The model token quota configuration. If
|
|
342
|
+
* The model token quota configuration. If not specified, no quota is configured.
|
|
285
343
|
*/
|
|
286
344
|
quota?: UpdateManagedAgentRequestBodyModelQuota;
|
|
287
345
|
static names(): { [key: string]: string } {
|
|
@@ -415,7 +473,7 @@ export class UpdateManagedAgentRequestBodyNetwork extends $dara.Model {
|
|
|
415
473
|
export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
416
474
|
/**
|
|
417
475
|
* @remarks
|
|
418
|
-
* The OSS bucket name.
|
|
476
|
+
* The OSS bucket name. Required for each mount item as validated by the backend.
|
|
419
477
|
*
|
|
420
478
|
* @example
|
|
421
479
|
* bucket-001
|
|
@@ -423,7 +481,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
423
481
|
bucketName?: string;
|
|
424
482
|
/**
|
|
425
483
|
* @remarks
|
|
426
|
-
* The absolute mount path in the container.
|
|
484
|
+
* The absolute mount path in the container. Required for each mount item as validated by the backend.
|
|
427
485
|
*
|
|
428
486
|
* @example
|
|
429
487
|
* /mnt/oss/datasets
|
|
@@ -431,7 +489,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
431
489
|
mountPath?: string;
|
|
432
490
|
/**
|
|
433
491
|
* @remarks
|
|
434
|
-
* The relative object prefix within the bucket. If
|
|
492
|
+
* The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
|
|
435
493
|
*
|
|
436
494
|
* @example
|
|
437
495
|
* datasets
|
|
@@ -472,7 +530,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
472
530
|
export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
473
531
|
/**
|
|
474
532
|
* @remarks
|
|
475
|
-
* The compute
|
|
533
|
+
* The compute class.
|
|
476
534
|
*
|
|
477
535
|
* This parameter is required.
|
|
478
536
|
*
|
|
@@ -504,12 +562,12 @@ export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
|
504
562
|
export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
505
563
|
/**
|
|
506
564
|
* @remarks
|
|
507
|
-
* Specifies whether to enable auto scaling.
|
|
565
|
+
* Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
|
|
508
566
|
*/
|
|
509
567
|
enabled?: boolean;
|
|
510
568
|
/**
|
|
511
569
|
* @remarks
|
|
512
|
-
* The maximum number of active sessions per
|
|
570
|
+
* The maximum number of active sessions per Sandbox. Required when hpa is present, as validated by the backend.
|
|
513
571
|
*
|
|
514
572
|
* @example
|
|
515
573
|
* 5
|
|
@@ -517,7 +575,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
517
575
|
maxConcurrentSessionsPerSandbox?: number;
|
|
518
576
|
/**
|
|
519
577
|
* @remarks
|
|
520
|
-
* The maximum number of
|
|
578
|
+
* The maximum number of Sandboxes. Required when HPA is enabled and must be greater than or equal to the minimum value.
|
|
521
579
|
*
|
|
522
580
|
* @example
|
|
523
581
|
* 3
|
|
@@ -525,7 +583,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
525
583
|
maxSandboxCount?: number;
|
|
526
584
|
/**
|
|
527
585
|
* @remarks
|
|
528
|
-
* The minimum number of
|
|
586
|
+
* The minimum number of Sandboxes. Required when HPA is enabled.
|
|
529
587
|
*
|
|
530
588
|
* @example
|
|
531
589
|
* 1
|
|
@@ -533,7 +591,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
533
591
|
minSandboxCount?: number;
|
|
534
592
|
/**
|
|
535
593
|
* @remarks
|
|
536
|
-
* The
|
|
594
|
+
* The time-to-live (TTL) for a session after inactivity, in seconds. Required when hpa is present, as validated by the backend.
|
|
537
595
|
*
|
|
538
596
|
* @example
|
|
539
597
|
* 3600
|
|
@@ -571,7 +629,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
571
629
|
export class UpdateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
572
630
|
/**
|
|
573
631
|
* @remarks
|
|
574
|
-
* The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
632
|
+
* The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
575
633
|
*
|
|
576
634
|
* @example
|
|
577
635
|
* X-Session-Id
|
|
@@ -620,7 +678,7 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
620
678
|
compute?: UpdateManagedAgentRequestBodyRuntimeCompute;
|
|
621
679
|
/**
|
|
622
680
|
* @remarks
|
|
623
|
-
* The
|
|
681
|
+
* The Sandbox auto scaling and session configuration.
|
|
624
682
|
*/
|
|
625
683
|
hpa?: UpdateManagedAgentRequestBodyRuntimeHpa;
|
|
626
684
|
/**
|
|
@@ -664,6 +722,48 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
664
722
|
}
|
|
665
723
|
}
|
|
666
724
|
|
|
725
|
+
export class UpdateManagedAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
726
|
+
/**
|
|
727
|
+
* @remarks
|
|
728
|
+
* The version selector type. Valid values:
|
|
729
|
+
* - LABEL: select by label.
|
|
730
|
+
* - VERSION: select by specific version.
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* LABEL
|
|
734
|
+
*/
|
|
735
|
+
type?: string;
|
|
736
|
+
/**
|
|
737
|
+
* @remarks
|
|
738
|
+
* 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.
|
|
739
|
+
*
|
|
740
|
+
* @example
|
|
741
|
+
* latest
|
|
742
|
+
*/
|
|
743
|
+
value?: string;
|
|
744
|
+
static names(): { [key: string]: string } {
|
|
745
|
+
return {
|
|
746
|
+
type: 'type',
|
|
747
|
+
value: 'value',
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
static types(): { [key: string]: any } {
|
|
752
|
+
return {
|
|
753
|
+
type: 'string',
|
|
754
|
+
value: 'string',
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
validate() {
|
|
759
|
+
super.validate();
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
constructor(map?: { [key: string]: any }) {
|
|
763
|
+
super(map);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
|
|
667
767
|
export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
668
768
|
/**
|
|
669
769
|
* @remarks
|
|
@@ -675,6 +775,16 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
675
775
|
* code-analysis
|
|
676
776
|
*/
|
|
677
777
|
name?: string;
|
|
778
|
+
/**
|
|
779
|
+
* @remarks
|
|
780
|
+
* The skill source type. Valid values:
|
|
781
|
+
* - REFERENCE: referenced from AI Registry.
|
|
782
|
+
* - STATIC: statically bundled with the package.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* REFERENCE
|
|
786
|
+
*/
|
|
787
|
+
sourceType?: string;
|
|
678
788
|
/**
|
|
679
789
|
* @remarks
|
|
680
790
|
* The skill version.
|
|
@@ -683,6 +793,58 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
683
793
|
* 1.0.0
|
|
684
794
|
*/
|
|
685
795
|
version?: string;
|
|
796
|
+
/**
|
|
797
|
+
* @remarks
|
|
798
|
+
* The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
|
|
799
|
+
*/
|
|
800
|
+
versionSelector?: UpdateManagedAgentRequestBodySkillsVersionSelector;
|
|
801
|
+
static names(): { [key: string]: string } {
|
|
802
|
+
return {
|
|
803
|
+
name: 'name',
|
|
804
|
+
sourceType: 'sourceType',
|
|
805
|
+
version: 'version',
|
|
806
|
+
versionSelector: 'versionSelector',
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
static types(): { [key: string]: any } {
|
|
811
|
+
return {
|
|
812
|
+
name: 'string',
|
|
813
|
+
sourceType: 'string',
|
|
814
|
+
version: 'string',
|
|
815
|
+
versionSelector: UpdateManagedAgentRequestBodySkillsVersionSelector,
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
validate() {
|
|
820
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
821
|
+
(this.versionSelector as any).validate();
|
|
822
|
+
}
|
|
823
|
+
super.validate();
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
constructor(map?: { [key: string]: any }) {
|
|
827
|
+
super(map);
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export class UpdateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
832
|
+
/**
|
|
833
|
+
* @remarks
|
|
834
|
+
* The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
|
|
835
|
+
*
|
|
836
|
+
* @example
|
|
837
|
+
* web-search
|
|
838
|
+
*/
|
|
839
|
+
name?: string;
|
|
840
|
+
/**
|
|
841
|
+
* @remarks
|
|
842
|
+
* The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* 1.0.0
|
|
846
|
+
*/
|
|
847
|
+
version?: string;
|
|
686
848
|
static names(): { [key: string]: string } {
|
|
687
849
|
return {
|
|
688
850
|
name: 'name',
|
|
@@ -714,7 +876,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
714
876
|
* This parameter is required.
|
|
715
877
|
*
|
|
716
878
|
* @example
|
|
717
|
-
*
|
|
879
|
+
* Please review the code
|
|
718
880
|
*/
|
|
719
881
|
instruction?: string;
|
|
720
882
|
/**
|
|
@@ -727,10 +889,16 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
727
889
|
* reviewer-agent
|
|
728
890
|
*/
|
|
729
891
|
name?: string;
|
|
892
|
+
/**
|
|
893
|
+
* @remarks
|
|
894
|
+
* The skills exclusively used by this sub-agent. Skill names must be unique within the same sub-agent. If this parameter is not specified or an empty array is passed, no skills are configured.
|
|
895
|
+
*/
|
|
896
|
+
skills?: UpdateManagedAgentRequestBodySubAgentsSkills[];
|
|
730
897
|
static names(): { [key: string]: string } {
|
|
731
898
|
return {
|
|
732
899
|
instruction: 'instruction',
|
|
733
900
|
name: 'name',
|
|
901
|
+
skills: 'skills',
|
|
734
902
|
};
|
|
735
903
|
}
|
|
736
904
|
|
|
@@ -738,10 +906,14 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
738
906
|
return {
|
|
739
907
|
instruction: 'string',
|
|
740
908
|
name: 'string',
|
|
909
|
+
skills: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodySubAgentsSkills },
|
|
741
910
|
};
|
|
742
911
|
}
|
|
743
912
|
|
|
744
913
|
validate() {
|
|
914
|
+
if(Array.isArray(this.skills)) {
|
|
915
|
+
$dara.Model.validateArray(this.skills);
|
|
916
|
+
}
|
|
745
917
|
super.validate();
|
|
746
918
|
}
|
|
747
919
|
|
|
@@ -753,7 +925,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
753
925
|
export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
754
926
|
/**
|
|
755
927
|
* @remarks
|
|
756
|
-
* The name of the template in
|
|
928
|
+
* The name of the template in AI Registry.
|
|
757
929
|
*
|
|
758
930
|
* This parameter is required.
|
|
759
931
|
*
|
|
@@ -763,9 +935,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
763
935
|
name?: string;
|
|
764
936
|
/**
|
|
765
937
|
* @remarks
|
|
766
|
-
* The version of the template in
|
|
767
|
-
*
|
|
768
|
-
* This parameter is required.
|
|
938
|
+
* The version of the template in AI Registry.
|
|
769
939
|
*
|
|
770
940
|
* @example
|
|
771
941
|
* 1.0.0
|
|
@@ -797,7 +967,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
797
967
|
export class UpdateManagedAgentRequestBodyTemplate extends $dara.Model {
|
|
798
968
|
/**
|
|
799
969
|
* @remarks
|
|
800
|
-
* The AI
|
|
970
|
+
* The AI Registry template configuration.
|
|
801
971
|
*/
|
|
802
972
|
aiRegistry?: UpdateManagedAgentRequestBodyTemplateAiRegistry;
|
|
803
973
|
static names(): { [key: string]: string } {
|
|
@@ -869,6 +1039,11 @@ export class UpdateManagedAgentRequestBodyTools extends $dara.Model {
|
|
|
869
1039
|
}
|
|
870
1040
|
|
|
871
1041
|
export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
1042
|
+
/**
|
|
1043
|
+
* @remarks
|
|
1044
|
+
* Omit to retain existing values, pass [] to clear, or pass a non-empty array for full replacement. null is rejected. Combined with OSS mounts, a maximum of 10 items are allowed.
|
|
1045
|
+
*/
|
|
1046
|
+
agenticFsMounts?: UpdateManagedAgentRequestBodyAgenticFsMounts[];
|
|
872
1047
|
/**
|
|
873
1048
|
* @remarks
|
|
874
1049
|
* The description of the managed agent.
|
|
@@ -884,7 +1059,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
884
1059
|
environment?: UpdateManagedAgentRequestBodyEnvironment;
|
|
885
1060
|
/**
|
|
886
1061
|
* @remarks
|
|
887
|
-
* The agent harness
|
|
1062
|
+
* The agent runtime harness.
|
|
888
1063
|
*/
|
|
889
1064
|
harness?: UpdateManagedAgentRequestBodyHarness;
|
|
890
1065
|
/**
|
|
@@ -915,7 +1090,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
915
1090
|
network?: UpdateManagedAgentRequestBodyNetwork;
|
|
916
1091
|
/**
|
|
917
1092
|
* @remarks
|
|
918
|
-
* The list of OSS mounts. A maximum of 10
|
|
1093
|
+
* The list of OSS mounts. A maximum of 10 items are allowed. Pass an empty array to clear existing mounts.
|
|
919
1094
|
*/
|
|
920
1095
|
ossMounts?: UpdateManagedAgentRequestBodyOssMounts[];
|
|
921
1096
|
/**
|
|
@@ -945,6 +1120,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
945
1120
|
tools?: UpdateManagedAgentRequestBodyTools[];
|
|
946
1121
|
static names(): { [key: string]: string } {
|
|
947
1122
|
return {
|
|
1123
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
948
1124
|
description: 'description',
|
|
949
1125
|
environment: 'environment',
|
|
950
1126
|
harness: 'harness',
|
|
@@ -963,6 +1139,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
963
1139
|
|
|
964
1140
|
static types(): { [key: string]: any } {
|
|
965
1141
|
return {
|
|
1142
|
+
agenticFsMounts: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodyAgenticFsMounts },
|
|
966
1143
|
description: 'string',
|
|
967
1144
|
environment: UpdateManagedAgentRequestBodyEnvironment,
|
|
968
1145
|
harness: UpdateManagedAgentRequestBodyHarness,
|
|
@@ -980,6 +1157,9 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
980
1157
|
}
|
|
981
1158
|
|
|
982
1159
|
validate() {
|
|
1160
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1161
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1162
|
+
}
|
|
983
1163
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
984
1164
|
(this.environment as any).validate();
|
|
985
1165
|
}
|
|
@@ -1026,7 +1206,7 @@ export class UpdateManagedAgentRequest extends $dara.Model {
|
|
|
1026
1206
|
body?: UpdateManagedAgentRequestBody;
|
|
1027
1207
|
/**
|
|
1028
1208
|
* @remarks
|
|
1029
|
-
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current
|
|
1209
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
|
|
1030
1210
|
*
|
|
1031
1211
|
* @example
|
|
1032
1212
|
* client-token-1
|