@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 CreateManagedAgentRequestBodyAgenticFsMounts 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
|
+
* The 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 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 CreateManagedAgentRequestBodyEnvironmentCredentialReferences extends $dara.Model {
|
|
6
66
|
/**
|
|
7
67
|
* @remarks
|
|
@@ -161,12 +221,12 @@ export class CreateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
161
221
|
export class CreateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
162
222
|
/**
|
|
163
223
|
* @remarks
|
|
164
|
-
* The harness configuration.
|
|
224
|
+
* The runtime harness configuration.
|
|
165
225
|
*/
|
|
166
226
|
configuration?: CreateManagedAgentRequestBodyHarnessConfiguration;
|
|
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 CreateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
|
201
261
|
export class CreateManagedAgentRequestBodyModelQuota 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 CreateManagedAgentRequestBodyModelQuota 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 CreateManagedAgentRequestBodyModelQuota 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 CreateManagedAgentRequestBodyModelQuota 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
|
|
@@ -415,7 +475,7 @@ export class CreateManagedAgentRequestBodyNetwork extends $dara.Model {
|
|
|
415
475
|
export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
416
476
|
/**
|
|
417
477
|
* @remarks
|
|
418
|
-
* The OSS bucket name.
|
|
478
|
+
* The OSS bucket name. Required for each mount item as validated by the backend.
|
|
419
479
|
*
|
|
420
480
|
* @example
|
|
421
481
|
* bucket-001
|
|
@@ -423,7 +483,7 @@ export class CreateManagedAgentRequestBodyOssMounts 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 item as validated by the backend.
|
|
427
487
|
*
|
|
428
488
|
* @example
|
|
429
489
|
* /mnt/oss/datasets
|
|
@@ -431,7 +491,7 @@ export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
431
491
|
mountPath?: string;
|
|
432
492
|
/**
|
|
433
493
|
* @remarks
|
|
434
|
-
* The relative object prefix
|
|
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 CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
472
532
|
export class CreateManagedAgentRequestBodyRuntimeCompute 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 CreateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
|
504
564
|
export class CreateManagedAgentRequestBodyRuntimeHpa 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 CreateManagedAgentRequestBodyRuntimeHpa 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 greater than or equal to the minimum value.
|
|
521
581
|
*
|
|
522
582
|
* @example
|
|
523
583
|
* 3
|
|
@@ -525,7 +585,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa 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 CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
533
593
|
minSandboxCount?: number;
|
|
534
594
|
/**
|
|
535
595
|
* @remarks
|
|
536
|
-
* The time
|
|
596
|
+
* The time-to-live for an inactive session, in seconds. Required when hpa is present, as validated by the backend.
|
|
537
597
|
*
|
|
538
598
|
* @example
|
|
539
599
|
* 3600
|
|
@@ -571,7 +631,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
571
631
|
export class CreateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
572
632
|
/**
|
|
573
633
|
* @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.
|
|
634
|
+
* 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
635
|
*
|
|
576
636
|
* @example
|
|
577
637
|
* X-Session-Id
|
|
@@ -664,6 +724,48 @@ export class CreateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
664
724
|
}
|
|
665
725
|
}
|
|
666
726
|
|
|
727
|
+
export class CreateManagedAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
728
|
+
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* The version selector type. Valid values:
|
|
731
|
+
* - LABEL: select by label.
|
|
732
|
+
* - VERSION: select by specific version.
|
|
733
|
+
*
|
|
734
|
+
* @example
|
|
735
|
+
* LABEL
|
|
736
|
+
*/
|
|
737
|
+
type?: string;
|
|
738
|
+
/**
|
|
739
|
+
* @remarks
|
|
740
|
+
* The selector value. When the type is LABEL, specify a label name such as latest. When 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 CreateManagedAgentRequestBodySkills extends $dara.Model {
|
|
668
770
|
/**
|
|
669
771
|
* @remarks
|
|
@@ -675,6 +777,16 @@ export class CreateManagedAgentRequestBodySkills 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: referenced from 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,6 +795,58 @@ export class CreateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
683
795
|
* 1.0.0
|
|
684
796
|
*/
|
|
685
797
|
version?: string;
|
|
798
|
+
/**
|
|
799
|
+
* @remarks
|
|
800
|
+
* The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
|
|
801
|
+
*/
|
|
802
|
+
versionSelector?: CreateManagedAgentRequestBodySkillsVersionSelector;
|
|
803
|
+
static names(): { [key: string]: string } {
|
|
804
|
+
return {
|
|
805
|
+
name: 'name',
|
|
806
|
+
sourceType: 'sourceType',
|
|
807
|
+
version: 'version',
|
|
808
|
+
versionSelector: 'versionSelector',
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
static types(): { [key: string]: any } {
|
|
813
|
+
return {
|
|
814
|
+
name: 'string',
|
|
815
|
+
sourceType: 'string',
|
|
816
|
+
version: 'string',
|
|
817
|
+
versionSelector: CreateManagedAgentRequestBodySkillsVersionSelector,
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
validate() {
|
|
822
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
823
|
+
(this.versionSelector as any).validate();
|
|
824
|
+
}
|
|
825
|
+
super.validate();
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
constructor(map?: { [key: string]: any }) {
|
|
829
|
+
super(map);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export class CreateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
834
|
+
/**
|
|
835
|
+
* @remarks
|
|
836
|
+
* The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
|
|
837
|
+
*
|
|
838
|
+
* @example
|
|
839
|
+
* web-search
|
|
840
|
+
*/
|
|
841
|
+
name?: string;
|
|
842
|
+
/**
|
|
843
|
+
* @remarks
|
|
844
|
+
* The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
|
|
845
|
+
*
|
|
846
|
+
* @example
|
|
847
|
+
* 1.0.0
|
|
848
|
+
*/
|
|
849
|
+
version?: string;
|
|
686
850
|
static names(): { [key: string]: string } {
|
|
687
851
|
return {
|
|
688
852
|
name: 'name',
|
|
@@ -714,7 +878,7 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
714
878
|
* This parameter is required.
|
|
715
879
|
*
|
|
716
880
|
* @example
|
|
717
|
-
*
|
|
881
|
+
* Please review the code
|
|
718
882
|
*/
|
|
719
883
|
instruction?: string;
|
|
720
884
|
/**
|
|
@@ -727,10 +891,16 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
727
891
|
* reviewer-agent
|
|
728
892
|
*/
|
|
729
893
|
name?: string;
|
|
894
|
+
/**
|
|
895
|
+
* @remarks
|
|
896
|
+
* The skills exclusively used by this sub-agent. Skill names must be unique within the same sub-agent. If not specified or an empty array is passed, no skills are configured.
|
|
897
|
+
*/
|
|
898
|
+
skills?: CreateManagedAgentRequestBodySubAgentsSkills[];
|
|
730
899
|
static names(): { [key: string]: string } {
|
|
731
900
|
return {
|
|
732
901
|
instruction: 'instruction',
|
|
733
902
|
name: 'name',
|
|
903
|
+
skills: 'skills',
|
|
734
904
|
};
|
|
735
905
|
}
|
|
736
906
|
|
|
@@ -738,10 +908,14 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
738
908
|
return {
|
|
739
909
|
instruction: 'string',
|
|
740
910
|
name: 'string',
|
|
911
|
+
skills: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodySubAgentsSkills },
|
|
741
912
|
};
|
|
742
913
|
}
|
|
743
914
|
|
|
744
915
|
validate() {
|
|
916
|
+
if(Array.isArray(this.skills)) {
|
|
917
|
+
$dara.Model.validateArray(this.skills);
|
|
918
|
+
}
|
|
745
919
|
super.validate();
|
|
746
920
|
}
|
|
747
921
|
|
|
@@ -753,7 +927,7 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
753
927
|
export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
754
928
|
/**
|
|
755
929
|
* @remarks
|
|
756
|
-
* The name of the template in
|
|
930
|
+
* The name of the template in AI Registry.
|
|
757
931
|
*
|
|
758
932
|
* This parameter is required.
|
|
759
933
|
*
|
|
@@ -763,9 +937,7 @@ export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
763
937
|
name?: string;
|
|
764
938
|
/**
|
|
765
939
|
* @remarks
|
|
766
|
-
* The version of the template in
|
|
767
|
-
*
|
|
768
|
-
* This parameter is required.
|
|
940
|
+
* The version of the template in AI Registry.
|
|
769
941
|
*
|
|
770
942
|
* @example
|
|
771
943
|
* 1.0.0
|
|
@@ -797,7 +969,7 @@ export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
797
969
|
export class CreateManagedAgentRequestBodyTemplate extends $dara.Model {
|
|
798
970
|
/**
|
|
799
971
|
* @remarks
|
|
800
|
-
* The AI
|
|
972
|
+
* The AI Registry template configuration.
|
|
801
973
|
*/
|
|
802
974
|
aiRegistry?: CreateManagedAgentRequestBodyTemplateAiRegistry;
|
|
803
975
|
static names(): { [key: string]: string } {
|
|
@@ -869,6 +1041,11 @@ export class CreateManagedAgentRequestBodyTools extends $dara.Model {
|
|
|
869
1041
|
}
|
|
870
1042
|
|
|
871
1043
|
export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
1044
|
+
/**
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* The AgenticFS mount list. Omit or set to [] to indicate no AFS mounts. Set to null to reject. The total number of AFS and OSS mounts cannot exceed 10.
|
|
1047
|
+
*/
|
|
1048
|
+
agenticFsMounts?: CreateManagedAgentRequestBodyAgenticFsMounts[];
|
|
872
1049
|
/**
|
|
873
1050
|
* @remarks
|
|
874
1051
|
* The description of the managed agent.
|
|
@@ -884,7 +1061,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
884
1061
|
environment?: CreateManagedAgentRequestBodyEnvironment;
|
|
885
1062
|
/**
|
|
886
1063
|
* @remarks
|
|
887
|
-
* The agent harness.
|
|
1064
|
+
* The agent runtime harness.
|
|
888
1065
|
*/
|
|
889
1066
|
harness?: CreateManagedAgentRequestBodyHarness;
|
|
890
1067
|
/**
|
|
@@ -919,7 +1096,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
919
1096
|
network?: CreateManagedAgentRequestBodyNetwork;
|
|
920
1097
|
/**
|
|
921
1098
|
* @remarks
|
|
922
|
-
* The OSS mount list. A maximum of 10
|
|
1099
|
+
* The OSS mount list. A maximum of 10 items are allowed.
|
|
923
1100
|
*/
|
|
924
1101
|
ossMounts?: CreateManagedAgentRequestBodyOssMounts[];
|
|
925
1102
|
/**
|
|
@@ -951,6 +1128,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
951
1128
|
tools?: CreateManagedAgentRequestBodyTools[];
|
|
952
1129
|
static names(): { [key: string]: string } {
|
|
953
1130
|
return {
|
|
1131
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
954
1132
|
description: 'description',
|
|
955
1133
|
environment: 'environment',
|
|
956
1134
|
harness: 'harness',
|
|
@@ -969,6 +1147,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
969
1147
|
|
|
970
1148
|
static types(): { [key: string]: any } {
|
|
971
1149
|
return {
|
|
1150
|
+
agenticFsMounts: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodyAgenticFsMounts },
|
|
972
1151
|
description: 'string',
|
|
973
1152
|
environment: CreateManagedAgentRequestBodyEnvironment,
|
|
974
1153
|
harness: CreateManagedAgentRequestBodyHarness,
|
|
@@ -986,6 +1165,9 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
986
1165
|
}
|
|
987
1166
|
|
|
988
1167
|
validate() {
|
|
1168
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1169
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1170
|
+
}
|
|
989
1171
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
990
1172
|
(this.environment as any).validate();
|
|
991
1173
|
}
|
|
@@ -1032,7 +1214,7 @@ export class CreateManagedAgentRequest extends $dara.Model {
|
|
|
1032
1214
|
body?: CreateManagedAgentRequestBody;
|
|
1033
1215
|
/**
|
|
1034
1216
|
* @remarks
|
|
1035
|
-
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current
|
|
1217
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
|
|
1036
1218
|
*
|
|
1037
1219
|
* @example
|
|
1038
1220
|
* client-token-1
|