@alicloud/agentcore20260804 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +88 -22
- package/dist/client.js +175 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +95 -20
- package/dist/models/CreateManagedAgentRequest.js +59 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +171 -25
- package/dist/models/CreateManagedAgentResponseBody.js +119 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/DataResourceValue.d.ts +15 -15
- package/dist/models/DataResourceValue.js +4 -4
- package/dist/models/DataResourceValue.js.map +1 -1
- package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
- package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
- package/dist/models/GetAgentSpecLatestResponseBody.d.ts +28 -0
- package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +176 -30
- package/dist/models/GetManagedAgentResponseBody.js +119 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
- package/dist/models/GetSkillDetailResponseBody.js +4 -0
- package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
- package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
- package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
- package/dist/models/ListAgentSpecsResponseBody.js +29 -1
- package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
- package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
- package/dist/models/ListSkillReferencesRequest.js +64 -0
- package/dist/models/ListSkillReferencesRequest.js.map +1 -0
- package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
- package/dist/models/ListSkillReferencesResponse.js +69 -0
- package/dist/models/ListSkillReferencesResponse.js.map +1 -0
- package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
- package/dist/models/ListSkillReferencesResponseBody.js +122 -0
- package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
- package/dist/models/ListSkillsResponseBody.d.ts +5 -0
- package/dist/models/ListSkillsResponseBody.js +2 -0
- package/dist/models/ListSkillsResponseBody.js.map +1 -1
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
- package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/PublishSkillVersionRequest.js +2 -0
- package/dist/models/PublishSkillVersionRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +121 -29
- package/dist/models/UpdateManagedAgentRequest.js +59 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +231 -37
- package/dist/models/UpdateManagedAgentResponseBody.js +119 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
- package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +206 -143
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +189 -22
- package/src/models/CreateManagedAgentRequest.ts +135 -20
- package/src/models/CreateManagedAgentResponseBody.ts +253 -25
- package/src/models/DataResourceValue.ts +17 -17
- package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
- package/src/models/GetAgentSpecLatestResponseBody.ts +47 -0
- package/src/models/GetManagedAgentResponseBody.ts +258 -30
- package/src/models/GetSkillDetailResponseBody.ts +24 -4
- package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
- package/src/models/ListAgentSpecsRequest.ts +4 -4
- package/src/models/ListAgentSpecsResponseBody.ts +68 -2
- package/src/models/ListSkillReferencesRequest.ts +64 -0
- package/src/models/ListSkillReferencesResponse.ts +40 -0
- package/src/models/ListSkillReferencesResponseBody.ts +194 -0
- package/src/models/ListSkillsResponseBody.ts +7 -0
- package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
- package/src/models/PublishSkillVersionRequest.ts +10 -0
- package/src/models/UpdateManagedAgentRequest.ts +161 -29
- package/src/models/UpdateManagedAgentResponseBody.ts +313 -37
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateSkillLabelsRequest.ts +1 -1
- package/src/models/UploadSkillViaOssRequest.ts +1 -1
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
- package/src/models/model.ts +31 -0
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class PublishSkillVersionRequestBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The commit message recorded on the official version produced by this publish operation. Takes effect in HEAD draft mode. If left empty, the draft message is used. Ignored in version Draft mode.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* First official version
|
|
12
|
+
*/
|
|
13
|
+
commitMsg?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* Specifies whether to update the latest label.
|
|
@@ -13,12 +21,14 @@ export class PublishSkillVersionRequestBody extends $dara.Model {
|
|
|
13
21
|
updateLatestLabel?: boolean;
|
|
14
22
|
static names(): { [key: string]: string } {
|
|
15
23
|
return {
|
|
24
|
+
commitMsg: 'commitMsg',
|
|
16
25
|
updateLatestLabel: 'updateLatestLabel',
|
|
17
26
|
};
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
static types(): { [key: string]: any } {
|
|
21
30
|
return {
|
|
31
|
+
commitMsg: 'string',
|
|
22
32
|
updateLatestLabel: 'boolean',
|
|
23
33
|
};
|
|
24
34
|
}
|
|
@@ -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 entry as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* /mnt/agenticfs/data
|
|
12
|
+
*/
|
|
13
|
+
mountPath?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The non-empty relative directory that exists under the AccessPoint. Required for each mount entry as validated by the backend. Root directory, absolute paths, and parent directory segments are not allowed.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* workspace/data
|
|
20
|
+
*/
|
|
21
|
+
path?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Specifies whether to mount in read-only mode. Default value: false. This is not the RAM role read-only policy.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* false
|
|
28
|
+
*/
|
|
29
|
+
readOnly?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The AccessPoint domain name. Required for each mount entry as validated by the backend. Do not include the protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
36
|
+
*/
|
|
37
|
+
server?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
mountPath: 'mountPath',
|
|
41
|
+
path: 'path',
|
|
42
|
+
readOnly: 'readOnly',
|
|
43
|
+
server: 'server',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
mountPath: 'string',
|
|
50
|
+
path: 'string',
|
|
51
|
+
readOnly: 'boolean',
|
|
52
|
+
server: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
5
65
|
export class UpdateManagedAgentRequestBodyEnvironmentCredentialReferences extends $dara.Model {
|
|
6
66
|
/**
|
|
7
67
|
* @remarks
|
|
@@ -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
|
|
264
|
+
* Specifies whether to enable 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 quota is enabled, as validated by the backend. Fixed value: token.
|
|
213
273
|
*
|
|
214
274
|
* @example
|
|
215
275
|
* token
|
|
@@ -217,7 +277,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
217
277
|
limitType?: string;
|
|
218
278
|
/**
|
|
219
279
|
* @remarks
|
|
220
|
-
* The quota statistical period.
|
|
280
|
+
* The quota statistical period. Required when quota is enabled, as validated by the backend. Valid values:
|
|
221
281
|
* - day: daily.
|
|
222
282
|
* - month: monthly.
|
|
223
283
|
*
|
|
@@ -227,7 +287,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
227
287
|
periodType?: string;
|
|
228
288
|
/**
|
|
229
289
|
* @remarks
|
|
230
|
-
* The maximum number of tokens
|
|
290
|
+
* The maximum number of tokens allowed within a single period. Required when quota is enabled, as validated by the backend. The value must be greater than 0.
|
|
231
291
|
*
|
|
232
292
|
* @example
|
|
233
293
|
* 1000000
|
|
@@ -281,7 +341,7 @@ export class UpdateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
281
341
|
modelName?: string;
|
|
282
342
|
/**
|
|
283
343
|
* @remarks
|
|
284
|
-
* The model token quota configuration. If
|
|
344
|
+
* The model token quota configuration. If not specified, no quota is configured.
|
|
285
345
|
*/
|
|
286
346
|
quota?: UpdateManagedAgentRequestBodyModelQuota;
|
|
287
347
|
static names(): { [key: string]: string } {
|
|
@@ -415,7 +475,7 @@ export class UpdateManagedAgentRequestBodyNetwork extends $dara.Model {
|
|
|
415
475
|
export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
416
476
|
/**
|
|
417
477
|
* @remarks
|
|
418
|
-
* The OSS bucket name.
|
|
478
|
+
* The OSS bucket name. Required for each mount entry as validated by the backend.
|
|
419
479
|
*
|
|
420
480
|
* @example
|
|
421
481
|
* bucket-001
|
|
@@ -423,7 +483,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
423
483
|
bucketName?: string;
|
|
424
484
|
/**
|
|
425
485
|
* @remarks
|
|
426
|
-
* The absolute mount path in the container.
|
|
486
|
+
* The absolute mount path in the container. Required for each mount entry as validated by the backend.
|
|
427
487
|
*
|
|
428
488
|
* @example
|
|
429
489
|
* /mnt/oss/datasets
|
|
@@ -431,7 +491,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
431
491
|
mountPath?: string;
|
|
432
492
|
/**
|
|
433
493
|
* @remarks
|
|
434
|
-
* The relative object prefix within the bucket. If
|
|
494
|
+
* The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
|
|
435
495
|
*
|
|
436
496
|
* @example
|
|
437
497
|
* datasets
|
|
@@ -472,7 +532,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
472
532
|
export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
473
533
|
/**
|
|
474
534
|
* @remarks
|
|
475
|
-
* The compute
|
|
535
|
+
* The compute class.
|
|
476
536
|
*
|
|
477
537
|
* This parameter is required.
|
|
478
538
|
*
|
|
@@ -504,12 +564,12 @@ export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
|
504
564
|
export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
505
565
|
/**
|
|
506
566
|
* @remarks
|
|
507
|
-
* Specifies whether to enable auto scaling.
|
|
567
|
+
* Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
|
|
508
568
|
*/
|
|
509
569
|
enabled?: boolean;
|
|
510
570
|
/**
|
|
511
571
|
* @remarks
|
|
512
|
-
* The maximum number of active sessions per sandbox.
|
|
572
|
+
* The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
|
|
513
573
|
*
|
|
514
574
|
* @example
|
|
515
575
|
* 5
|
|
@@ -517,7 +577,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
517
577
|
maxConcurrentSessionsPerSandbox?: number;
|
|
518
578
|
/**
|
|
519
579
|
* @remarks
|
|
520
|
-
* The maximum number of sandboxes.
|
|
580
|
+
* The maximum number of sandboxes. Required when HPA is enabled and must be no less than the minimum value.
|
|
521
581
|
*
|
|
522
582
|
* @example
|
|
523
583
|
* 3
|
|
@@ -525,7 +585,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
525
585
|
maxSandboxCount?: number;
|
|
526
586
|
/**
|
|
527
587
|
* @remarks
|
|
528
|
-
* The minimum number of sandboxes.
|
|
588
|
+
* The minimum number of sandboxes. Required when HPA is enabled.
|
|
529
589
|
*
|
|
530
590
|
* @example
|
|
531
591
|
* 1
|
|
@@ -533,7 +593,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
533
593
|
minSandboxCount?: number;
|
|
534
594
|
/**
|
|
535
595
|
* @remarks
|
|
536
|
-
* The
|
|
596
|
+
* The time in seconds before an inactive session is reclaimed. Required when hpa is present, as validated by the backend.
|
|
537
597
|
*
|
|
538
598
|
* @example
|
|
539
599
|
* 3600
|
|
@@ -571,7 +631,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
571
631
|
export class UpdateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
572
632
|
/**
|
|
573
633
|
* @remarks
|
|
574
|
-
* The
|
|
634
|
+
* The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
575
635
|
*
|
|
576
636
|
* @example
|
|
577
637
|
* X-Session-Id
|
|
@@ -664,6 +724,48 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
664
724
|
}
|
|
665
725
|
}
|
|
666
726
|
|
|
727
|
+
export class UpdateManagedAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
728
|
+
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* The version selector type. Valid values:
|
|
731
|
+
* - LABEL: selects by label.
|
|
732
|
+
* - VERSION: selects by specific version.
|
|
733
|
+
*
|
|
734
|
+
* @example
|
|
735
|
+
* LABEL
|
|
736
|
+
*/
|
|
737
|
+
type?: string;
|
|
738
|
+
/**
|
|
739
|
+
* @remarks
|
|
740
|
+
* 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.
|
|
741
|
+
*
|
|
742
|
+
* @example
|
|
743
|
+
* latest
|
|
744
|
+
*/
|
|
745
|
+
value?: string;
|
|
746
|
+
static names(): { [key: string]: string } {
|
|
747
|
+
return {
|
|
748
|
+
type: 'type',
|
|
749
|
+
value: 'value',
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
static types(): { [key: string]: any } {
|
|
754
|
+
return {
|
|
755
|
+
type: 'string',
|
|
756
|
+
value: 'string',
|
|
757
|
+
};
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
validate() {
|
|
761
|
+
super.validate();
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
constructor(map?: { [key: string]: any }) {
|
|
765
|
+
super(map);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
667
769
|
export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
668
770
|
/**
|
|
669
771
|
* @remarks
|
|
@@ -675,6 +777,16 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
675
777
|
* code-analysis
|
|
676
778
|
*/
|
|
677
779
|
name?: string;
|
|
780
|
+
/**
|
|
781
|
+
* @remarks
|
|
782
|
+
* The skill source type. Valid values:
|
|
783
|
+
* - REFERENCE: references AI Registry.
|
|
784
|
+
* - STATIC: statically bundled with the package.
|
|
785
|
+
*
|
|
786
|
+
* @example
|
|
787
|
+
* REFERENCE
|
|
788
|
+
*/
|
|
789
|
+
sourceType?: string;
|
|
678
790
|
/**
|
|
679
791
|
* @remarks
|
|
680
792
|
* The skill version.
|
|
@@ -683,21 +795,33 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
683
795
|
* 1.0.0
|
|
684
796
|
*/
|
|
685
797
|
version?: string;
|
|
798
|
+
/**
|
|
799
|
+
* @remarks
|
|
800
|
+
* The referenced version selector. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
|
|
801
|
+
*/
|
|
802
|
+
versionSelector?: UpdateManagedAgentRequestBodySkillsVersionSelector;
|
|
686
803
|
static names(): { [key: string]: string } {
|
|
687
804
|
return {
|
|
688
805
|
name: 'name',
|
|
806
|
+
sourceType: 'sourceType',
|
|
689
807
|
version: 'version',
|
|
808
|
+
versionSelector: 'versionSelector',
|
|
690
809
|
};
|
|
691
810
|
}
|
|
692
811
|
|
|
693
812
|
static types(): { [key: string]: any } {
|
|
694
813
|
return {
|
|
695
814
|
name: 'string',
|
|
815
|
+
sourceType: 'string',
|
|
696
816
|
version: 'string',
|
|
817
|
+
versionSelector: UpdateManagedAgentRequestBodySkillsVersionSelector,
|
|
697
818
|
};
|
|
698
819
|
}
|
|
699
820
|
|
|
700
821
|
validate() {
|
|
822
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
823
|
+
(this.versionSelector as any).validate();
|
|
824
|
+
}
|
|
701
825
|
super.validate();
|
|
702
826
|
}
|
|
703
827
|
|
|
@@ -714,7 +838,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
714
838
|
* This parameter is required.
|
|
715
839
|
*
|
|
716
840
|
* @example
|
|
717
|
-
*
|
|
841
|
+
* Please review the code
|
|
718
842
|
*/
|
|
719
843
|
instruction?: string;
|
|
720
844
|
/**
|
|
@@ -753,7 +877,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
753
877
|
export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
754
878
|
/**
|
|
755
879
|
* @remarks
|
|
756
|
-
* The name of the template in
|
|
880
|
+
* The name of the template in AI Registry.
|
|
757
881
|
*
|
|
758
882
|
* This parameter is required.
|
|
759
883
|
*
|
|
@@ -763,9 +887,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
763
887
|
name?: string;
|
|
764
888
|
/**
|
|
765
889
|
* @remarks
|
|
766
|
-
* The version of the template in
|
|
767
|
-
*
|
|
768
|
-
* This parameter is required.
|
|
890
|
+
* The version of the template in AI Registry.
|
|
769
891
|
*
|
|
770
892
|
* @example
|
|
771
893
|
* 1.0.0
|
|
@@ -797,7 +919,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
797
919
|
export class UpdateManagedAgentRequestBodyTemplate extends $dara.Model {
|
|
798
920
|
/**
|
|
799
921
|
* @remarks
|
|
800
|
-
* The AI
|
|
922
|
+
* The AI Registry template configuration.
|
|
801
923
|
*/
|
|
802
924
|
aiRegistry?: UpdateManagedAgentRequestBodyTemplateAiRegistry;
|
|
803
925
|
static names(): { [key: string]: string } {
|
|
@@ -869,6 +991,11 @@ export class UpdateManagedAgentRequestBodyTools extends $dara.Model {
|
|
|
869
991
|
}
|
|
870
992
|
|
|
871
993
|
export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
994
|
+
/**
|
|
995
|
+
* @remarks
|
|
996
|
+
* The AgenticFS mount list. 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 entries are allowed.
|
|
997
|
+
*/
|
|
998
|
+
agenticFsMounts?: UpdateManagedAgentRequestBodyAgenticFsMounts[];
|
|
872
999
|
/**
|
|
873
1000
|
* @remarks
|
|
874
1001
|
* The description of the managed agent.
|
|
@@ -884,7 +1011,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
884
1011
|
environment?: UpdateManagedAgentRequestBodyEnvironment;
|
|
885
1012
|
/**
|
|
886
1013
|
* @remarks
|
|
887
|
-
* The agent harness
|
|
1014
|
+
* The agent runtime harness.
|
|
888
1015
|
*/
|
|
889
1016
|
harness?: UpdateManagedAgentRequestBodyHarness;
|
|
890
1017
|
/**
|
|
@@ -915,7 +1042,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
915
1042
|
network?: UpdateManagedAgentRequestBodyNetwork;
|
|
916
1043
|
/**
|
|
917
1044
|
* @remarks
|
|
918
|
-
* The
|
|
1045
|
+
* The OSS mount list. A maximum of 10 entries are allowed. Pass an empty array to clear existing mounts.
|
|
919
1046
|
*/
|
|
920
1047
|
ossMounts?: UpdateManagedAgentRequestBodyOssMounts[];
|
|
921
1048
|
/**
|
|
@@ -925,12 +1052,12 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
925
1052
|
runtime?: UpdateManagedAgentRequestBodyRuntime;
|
|
926
1053
|
/**
|
|
927
1054
|
* @remarks
|
|
928
|
-
* The
|
|
1055
|
+
* The skill configuration list.
|
|
929
1056
|
*/
|
|
930
1057
|
skills?: UpdateManagedAgentRequestBodySkills[];
|
|
931
1058
|
/**
|
|
932
1059
|
* @remarks
|
|
933
|
-
* The
|
|
1060
|
+
* The sub-agent configuration list.
|
|
934
1061
|
*/
|
|
935
1062
|
subAgents?: UpdateManagedAgentRequestBodySubAgents[];
|
|
936
1063
|
/**
|
|
@@ -940,11 +1067,12 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
940
1067
|
template?: UpdateManagedAgentRequestBodyTemplate;
|
|
941
1068
|
/**
|
|
942
1069
|
* @remarks
|
|
943
|
-
* The
|
|
1070
|
+
* The tool configuration list.
|
|
944
1071
|
*/
|
|
945
1072
|
tools?: UpdateManagedAgentRequestBodyTools[];
|
|
946
1073
|
static names(): { [key: string]: string } {
|
|
947
1074
|
return {
|
|
1075
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
948
1076
|
description: 'description',
|
|
949
1077
|
environment: 'environment',
|
|
950
1078
|
harness: 'harness',
|
|
@@ -963,6 +1091,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
963
1091
|
|
|
964
1092
|
static types(): { [key: string]: any } {
|
|
965
1093
|
return {
|
|
1094
|
+
agenticFsMounts: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodyAgenticFsMounts },
|
|
966
1095
|
description: 'string',
|
|
967
1096
|
environment: UpdateManagedAgentRequestBodyEnvironment,
|
|
968
1097
|
harness: UpdateManagedAgentRequestBodyHarness,
|
|
@@ -980,6 +1109,9 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
980
1109
|
}
|
|
981
1110
|
|
|
982
1111
|
validate() {
|
|
1112
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1113
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1114
|
+
}
|
|
983
1115
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
984
1116
|
(this.environment as any).validate();
|
|
985
1117
|
}
|
|
@@ -1026,7 +1158,7 @@ export class UpdateManagedAgentRequest extends $dara.Model {
|
|
|
1026
1158
|
body?: UpdateManagedAgentRequestBody;
|
|
1027
1159
|
/**
|
|
1028
1160
|
* @remarks
|
|
1029
|
-
* The reserved idempotency token. The backend does not
|
|
1161
|
+
* The reserved idempotency token. The backend does not guarantee idempotency in the current release.
|
|
1030
1162
|
*
|
|
1031
1163
|
* @example
|
|
1032
1164
|
* client-token-1
|