@alicloud/agentcore20260804 3.0.1 → 3.1.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 +370 -188
- package/dist/client.js +413 -188
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +155 -53
- package/dist/models/CreateCustomAgentRequest.js +61 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +305 -58
- package/dist/models/CreateCustomAgentResponseBody.js +153 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +12 -15
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +19 -22
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +80 -45
- package/dist/models/CreateManagedAgentRequest.js +29 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +98 -65
- package/dist/models/CreateManagedAgentResponseBody.js +29 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +10 -10
- package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +5 -5
- package/dist/models/FindCustomAgentImagePreparationRequest.d.ts +23 -0
- package/dist/models/FindCustomAgentImagePreparationRequest.js +58 -0
- package/dist/models/FindCustomAgentImagePreparationRequest.js.map +1 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.d.ts +19 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.js +69 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.js.map +1 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.d.ts +135 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.js +122 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.js +54 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.js +69 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.d.ts +135 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.js +122 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +304 -51
- package/dist/models/GetCustomAgentResponseBody.js +153 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +30 -30
- package/dist/models/GetIdentityProviderScimresponseBody.d.ts +22 -18
- package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +1 -1
- package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +10 -10
- package/dist/models/GetManagedAgentResponseBody.d.ts +106 -75
- package/dist/models/GetManagedAgentResponseBody.js +29 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentsResponseBody.d.ts +24 -22
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProvidersRequest.d.ts +1 -1
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +30 -18
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +10 -10
- package/dist/models/UpdateCustomAgentRequest.d.ts +154 -75
- package/dist/models/UpdateCustomAgentRequest.js +61 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +310 -65
- package/dist/models/UpdateCustomAgentResponseBody.js +153 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -20
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +19 -19
- package/dist/models/UpdateIdentityProviderScimrequest.d.ts +2 -2
- package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +28 -28
- package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +83 -46
- package/dist/models/UpdateManagedAgentRequest.js +29 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +98 -65
- package/dist/models/UpdateManagedAgentResponseBody.js +29 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +34 -0
- package/dist/models/model.js +267 -198
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +418 -188
- package/src/models/CreateCustomAgentRequest.ts +197 -53
- package/src/models/CreateCustomAgentResponseBody.ts +412 -58
- package/src/models/CreateIdentityProviderRequest.ts +12 -15
- package/src/models/CreateIdentityProviderResponseBody.ts +19 -22
- package/src/models/CreateManagedAgentRequest.ts +99 -45
- package/src/models/CreateManagedAgentResponseBody.ts +117 -65
- package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteIdentityProviderResponseBody.ts +10 -10
- package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +5 -5
- package/src/models/FindCustomAgentImagePreparationRequest.ts +36 -0
- package/src/models/FindCustomAgentImagePreparationResponse.ts +40 -0
- package/src/models/FindCustomAgentImagePreparationResponseBody.ts +194 -0
- package/src/models/GetCustomAgentImagePreparationRequest.ts +24 -0
- package/src/models/GetCustomAgentImagePreparationResponse.ts +40 -0
- package/src/models/GetCustomAgentImagePreparationResponseBody.ts +194 -0
- package/src/models/GetCustomAgentResponseBody.ts +411 -51
- package/src/models/GetIdentityProviderResponseBody.ts +30 -30
- package/src/models/GetIdentityProviderScimresponseBody.ts +22 -18
- package/src/models/GetIdentityProviderServiceProviderRequest.ts +1 -1
- package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +10 -10
- package/src/models/GetManagedAgentResponseBody.ts +125 -75
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +1 -1
- package/src/models/ListCustomAgentsRequest.ts +2 -2
- package/src/models/ListCustomAgentsResponseBody.ts +24 -22
- package/src/models/ListIdentityProvidersRequest.ts +1 -1
- package/src/models/ListIdentityProvidersResponseBody.ts +30 -18
- package/src/models/PrepareIdentityProviderScimresponseBody.ts +10 -10
- package/src/models/UpdateCustomAgentRequest.ts +196 -75
- package/src/models/UpdateCustomAgentResponseBody.ts +417 -65
- package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderRequest.ts +20 -20
- package/src/models/UpdateIdentityProviderResponseBody.ts +19 -19
- package/src/models/UpdateIdentityProviderScimrequest.ts +2 -2
- package/src/models/UpdateIdentityProviderScimresponseBody.ts +28 -28
- package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/UpdateManagedAgentRequest.ts +102 -46
- package/src/models/UpdateManagedAgentResponseBody.ts +117 -65
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/model.ts +34 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The subdirectory under /mnt/agenticfs/ in the container.
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required and validated by the backend for each mount item. Mount targets must not be duplicated or overlap in parent-child relationships.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* /mnt/agenticfs/data
|
|
@@ -13,7 +13,7 @@ export class CreateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The non-empty relative directory
|
|
16
|
+
* The existing non-empty relative directory under the access point. This parameter is required and validated by the backend for each mount item. Root directories, absolute paths, and parent directory segments are not allowed.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* workspace/data
|
|
@@ -21,7 +21,7 @@ export class CreateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether
|
|
24
|
+
* Specifies whether the mount is read-only. Default value: false. This parameter does not represent a read-only policy for a RAM role.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -29,7 +29,7 @@ export class CreateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
29
29
|
readOnly?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The domain name of the access point. This parameter is required and validated by the backend for each mount item. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -221,12 +221,12 @@ export class CreateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
221
221
|
export class CreateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
* The runtime
|
|
224
|
+
* The runtime framework configuration.
|
|
225
225
|
*/
|
|
226
226
|
configuration?: CreateManagedAgentRequestBodyHarnessConfiguration;
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
|
-
* The runtime
|
|
229
|
+
* The type of the runtime framework.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
232
|
* qodercli
|
|
@@ -261,7 +261,7 @@ export class CreateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
|
261
261
|
export class CreateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
262
262
|
/**
|
|
263
263
|
* @remarks
|
|
264
|
-
* Specifies whether to enable token quota. Default value: true.
|
|
264
|
+
* Specifies whether to enable the token quota. Default value: true. If you set this parameter to false, the quota is disabled and existing quota rules are deleted.
|
|
265
265
|
*
|
|
266
266
|
* @example
|
|
267
267
|
* true
|
|
@@ -269,7 +269,7 @@ export class CreateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
269
269
|
enabled?: boolean;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The quota limit type.
|
|
272
|
+
* The quota limit type. This parameter is required and validated by the backend when the quota is enabled. Fixed value: token.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* token
|
|
@@ -277,9 +277,7 @@ export class CreateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
277
277
|
limitType?: string;
|
|
278
278
|
/**
|
|
279
279
|
* @remarks
|
|
280
|
-
* The
|
|
281
|
-
* - day: daily.
|
|
282
|
-
* - month: monthly.
|
|
280
|
+
* The statistical period for the quota. This parameter is required and validated by the backend when the quota is enabled. Valid values: day (daily) and month (monthly).
|
|
283
281
|
*
|
|
284
282
|
* @example
|
|
285
283
|
* day
|
|
@@ -287,7 +285,7 @@ export class CreateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
287
285
|
periodType?: string;
|
|
288
286
|
/**
|
|
289
287
|
* @remarks
|
|
290
|
-
* The maximum number of tokens
|
|
288
|
+
* The maximum number of tokens that can be consumed within a single period. This parameter is required and validated by the backend when the quota is enabled. The value must be greater than 0.
|
|
291
289
|
*
|
|
292
290
|
* @example
|
|
293
291
|
* 1000000
|
|
@@ -341,7 +339,7 @@ export class CreateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
341
339
|
modelName?: string;
|
|
342
340
|
/**
|
|
343
341
|
* @remarks
|
|
344
|
-
* The model token quota configuration. If not
|
|
342
|
+
* The model token quota configuration. If this parameter is not passed, no quota is configured.
|
|
345
343
|
*/
|
|
346
344
|
quota?: CreateManagedAgentRequestBodyModelQuota;
|
|
347
345
|
static names(): { [key: string]: string } {
|
|
@@ -375,7 +373,7 @@ export class CreateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
375
373
|
export class CreateManagedAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
376
374
|
/**
|
|
377
375
|
* @remarks
|
|
378
|
-
* Specifies whether to allow
|
|
376
|
+
* Specifies whether to allow Internet access.
|
|
379
377
|
*
|
|
380
378
|
* @example
|
|
381
379
|
* false
|
|
@@ -475,7 +473,7 @@ export class CreateManagedAgentRequestBodyNetwork extends $dara.Model {
|
|
|
475
473
|
export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
476
474
|
/**
|
|
477
475
|
* @remarks
|
|
478
|
-
* The OSS bucket
|
|
476
|
+
* The name of the OSS bucket. This parameter is required and validated by the backend for each mount item.
|
|
479
477
|
*
|
|
480
478
|
* @example
|
|
481
479
|
* bucket-001
|
|
@@ -483,7 +481,7 @@ export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
483
481
|
bucketName?: string;
|
|
484
482
|
/**
|
|
485
483
|
* @remarks
|
|
486
|
-
* The absolute mount path in the container.
|
|
484
|
+
* The absolute mount path in the container. This parameter is required and validated by the backend for each mount item.
|
|
487
485
|
*
|
|
488
486
|
* @example
|
|
489
487
|
* /mnt/oss/datasets
|
|
@@ -491,7 +489,7 @@ export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
491
489
|
mountPath?: string;
|
|
492
490
|
/**
|
|
493
491
|
* @remarks
|
|
494
|
-
* The relative object prefix
|
|
492
|
+
* The relative object prefix in the bucket. If this parameter is not specified, the entire bucket is mounted.
|
|
495
493
|
*
|
|
496
494
|
* @example
|
|
497
495
|
* datasets
|
|
@@ -499,7 +497,7 @@ export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
499
497
|
path?: string;
|
|
500
498
|
/**
|
|
501
499
|
* @remarks
|
|
502
|
-
* Specifies whether
|
|
500
|
+
* Specifies whether the mount is read-only. Default value: false.
|
|
503
501
|
*/
|
|
504
502
|
readOnly?: boolean;
|
|
505
503
|
static names(): { [key: string]: string } {
|
|
@@ -529,6 +527,56 @@ export class CreateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
529
527
|
}
|
|
530
528
|
}
|
|
531
529
|
|
|
530
|
+
export class CreateManagedAgentRequestBodyPromptVariables extends $dara.Model {
|
|
531
|
+
/**
|
|
532
|
+
* @remarks
|
|
533
|
+
* The default value.
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* default
|
|
537
|
+
*/
|
|
538
|
+
defaultValue?: string;
|
|
539
|
+
/**
|
|
540
|
+
* @remarks
|
|
541
|
+
* The description of the variable.
|
|
542
|
+
*
|
|
543
|
+
* @example
|
|
544
|
+
* desc
|
|
545
|
+
*/
|
|
546
|
+
description?: string;
|
|
547
|
+
/**
|
|
548
|
+
* @remarks
|
|
549
|
+
* The name of the variable.
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
552
|
+
* brand
|
|
553
|
+
*/
|
|
554
|
+
name?: string;
|
|
555
|
+
static names(): { [key: string]: string } {
|
|
556
|
+
return {
|
|
557
|
+
defaultValue: 'defaultValue',
|
|
558
|
+
description: 'description',
|
|
559
|
+
name: 'name',
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
static types(): { [key: string]: any } {
|
|
564
|
+
return {
|
|
565
|
+
defaultValue: 'string',
|
|
566
|
+
description: 'string',
|
|
567
|
+
name: 'string',
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
validate() {
|
|
572
|
+
super.validate();
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
constructor(map?: { [key: string]: any }) {
|
|
576
|
+
super(map);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
532
580
|
export class CreateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
533
581
|
/**
|
|
534
582
|
* @remarks
|
|
@@ -564,12 +612,12 @@ export class CreateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
|
564
612
|
export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
565
613
|
/**
|
|
566
614
|
* @remarks
|
|
567
|
-
* Specifies whether
|
|
615
|
+
* Specifies whether auto-scaling is enabled. This parameter is required and validated by the backend when HPA is present.
|
|
568
616
|
*/
|
|
569
617
|
enabled?: boolean;
|
|
570
618
|
/**
|
|
571
619
|
* @remarks
|
|
572
|
-
* The maximum number of active sessions per sandbox.
|
|
620
|
+
* The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is present.
|
|
573
621
|
*
|
|
574
622
|
* @example
|
|
575
623
|
* 5
|
|
@@ -577,7 +625,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
577
625
|
maxConcurrentSessionsPerSandbox?: number;
|
|
578
626
|
/**
|
|
579
627
|
* @remarks
|
|
580
|
-
* The maximum number of sandboxes.
|
|
628
|
+
* The maximum number of sandboxes. This parameter is required and must not be less than the minimum value when HPA is enabled.
|
|
581
629
|
*
|
|
582
630
|
* @example
|
|
583
631
|
* 3
|
|
@@ -585,7 +633,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
585
633
|
maxSandboxCount?: number;
|
|
586
634
|
/**
|
|
587
635
|
* @remarks
|
|
588
|
-
* The minimum number of sandboxes.
|
|
636
|
+
* The minimum number of sandboxes. This parameter is required when HPA is enabled.
|
|
589
637
|
*
|
|
590
638
|
* @example
|
|
591
639
|
* 1
|
|
@@ -593,7 +641,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
593
641
|
minSandboxCount?: number;
|
|
594
642
|
/**
|
|
595
643
|
* @remarks
|
|
596
|
-
* The
|
|
644
|
+
* The timeout period in seconds for reclaiming an inactive session. This parameter is required and validated by the backend when HPA is present.
|
|
597
645
|
*
|
|
598
646
|
* @example
|
|
599
647
|
* 3600
|
|
@@ -631,7 +679,7 @@ export class CreateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
631
679
|
export class CreateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
632
680
|
/**
|
|
633
681
|
* @remarks
|
|
634
|
-
* The name of the HTTP header used for session affinity. This parameter takes effect
|
|
682
|
+
* The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
635
683
|
*
|
|
636
684
|
* @example
|
|
637
685
|
* X-Session-Id
|
|
@@ -680,7 +728,7 @@ export class CreateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
680
728
|
compute?: CreateManagedAgentRequestBodyRuntimeCompute;
|
|
681
729
|
/**
|
|
682
730
|
* @remarks
|
|
683
|
-
* The sandbox auto
|
|
731
|
+
* The sandbox auto-scaling and session configuration.
|
|
684
732
|
*/
|
|
685
733
|
hpa?: CreateManagedAgentRequestBodyRuntimeHpa;
|
|
686
734
|
/**
|
|
@@ -727,9 +775,7 @@ export class CreateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
727
775
|
export class CreateManagedAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
728
776
|
/**
|
|
729
777
|
* @remarks
|
|
730
|
-
* The version selector type. Valid values:
|
|
731
|
-
* - LABEL: select by label.
|
|
732
|
-
* - VERSION: select by specific version.
|
|
778
|
+
* The version selector type. Valid values: LABEL: selects by label. VERSION: selects by specific version.
|
|
733
779
|
*
|
|
734
780
|
* @example
|
|
735
781
|
* LABEL
|
|
@@ -737,7 +783,7 @@ export class CreateManagedAgentRequestBodySkillsVersionSelector extends $dara.Mo
|
|
|
737
783
|
type?: string;
|
|
738
784
|
/**
|
|
739
785
|
* @remarks
|
|
740
|
-
* The selector value. When the type is LABEL,
|
|
786
|
+
* 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.
|
|
741
787
|
*
|
|
742
788
|
* @example
|
|
743
789
|
* latest
|
|
@@ -779,9 +825,7 @@ export class CreateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
779
825
|
name?: string;
|
|
780
826
|
/**
|
|
781
827
|
* @remarks
|
|
782
|
-
* The skill source type. Valid values:
|
|
783
|
-
* - REFERENCE: referenced from AI Registry.
|
|
784
|
-
* - STATIC: statically bundled with the package.
|
|
828
|
+
* The skill source type. Valid values: REFERENCE: references the AI registry. STATIC: statically provided with the package.
|
|
785
829
|
*
|
|
786
830
|
* @example
|
|
787
831
|
* REFERENCE
|
|
@@ -797,7 +841,7 @@ export class CreateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
797
841
|
version?: string;
|
|
798
842
|
/**
|
|
799
843
|
* @remarks
|
|
800
|
-
* The version selector
|
|
844
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
801
845
|
*/
|
|
802
846
|
versionSelector?: CreateManagedAgentRequestBodySkillsVersionSelector;
|
|
803
847
|
static names(): { [key: string]: string } {
|
|
@@ -833,7 +877,7 @@ export class CreateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
833
877
|
export class CreateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
834
878
|
/**
|
|
835
879
|
* @remarks
|
|
836
|
-
* The skill name
|
|
880
|
+
* The skill name.
|
|
837
881
|
*
|
|
838
882
|
* @example
|
|
839
883
|
* web-search
|
|
@@ -841,7 +885,7 @@ export class CreateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
|
841
885
|
name?: string;
|
|
842
886
|
/**
|
|
843
887
|
* @remarks
|
|
844
|
-
* The
|
|
888
|
+
* The skill version.
|
|
845
889
|
*
|
|
846
890
|
* @example
|
|
847
891
|
* 1.0.0
|
|
@@ -893,7 +937,7 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
893
937
|
name?: string;
|
|
894
938
|
/**
|
|
895
939
|
* @remarks
|
|
896
|
-
* The
|
|
940
|
+
* The list of sub-agent skills.
|
|
897
941
|
*/
|
|
898
942
|
skills?: CreateManagedAgentRequestBodySubAgentsSkills[];
|
|
899
943
|
static names(): { [key: string]: string } {
|
|
@@ -927,7 +971,7 @@ export class CreateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
927
971
|
export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
928
972
|
/**
|
|
929
973
|
* @remarks
|
|
930
|
-
* The name of the template in AI
|
|
974
|
+
* The name of the template in the AI registry.
|
|
931
975
|
*
|
|
932
976
|
* This parameter is required.
|
|
933
977
|
*
|
|
@@ -937,7 +981,7 @@ export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
937
981
|
name?: string;
|
|
938
982
|
/**
|
|
939
983
|
* @remarks
|
|
940
|
-
* The version of the template in AI
|
|
984
|
+
* The version of the template in the AI registry.
|
|
941
985
|
*
|
|
942
986
|
* @example
|
|
943
987
|
* 1.0.0
|
|
@@ -969,7 +1013,7 @@ export class CreateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
969
1013
|
export class CreateManagedAgentRequestBodyTemplate extends $dara.Model {
|
|
970
1014
|
/**
|
|
971
1015
|
* @remarks
|
|
972
|
-
* The AI
|
|
1016
|
+
* The AI registry template configuration.
|
|
973
1017
|
*/
|
|
974
1018
|
aiRegistry?: CreateManagedAgentRequestBodyTemplateAiRegistry;
|
|
975
1019
|
static names(): { [key: string]: string } {
|
|
@@ -1043,7 +1087,7 @@ export class CreateManagedAgentRequestBodyTools extends $dara.Model {
|
|
|
1043
1087
|
export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
1044
1088
|
/**
|
|
1045
1089
|
* @remarks
|
|
1046
|
-
* The AgenticFS
|
|
1090
|
+
* The AgenticFS mounts. Omitting this parameter or passing an empty array indicates no AgenticFS mounts. Null values are rejected. The total number of AgenticFS and OSS mounts cannot exceed 10.
|
|
1047
1091
|
*/
|
|
1048
1092
|
agenticFsMounts?: CreateManagedAgentRequestBodyAgenticFsMounts[];
|
|
1049
1093
|
/**
|
|
@@ -1051,7 +1095,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1051
1095
|
* The description of the managed agent.
|
|
1052
1096
|
*
|
|
1053
1097
|
* @example
|
|
1054
|
-
*
|
|
1098
|
+
* Agent for code review
|
|
1055
1099
|
*/
|
|
1056
1100
|
description?: string;
|
|
1057
1101
|
/**
|
|
@@ -1061,12 +1105,12 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1061
1105
|
environment?: CreateManagedAgentRequestBodyEnvironment;
|
|
1062
1106
|
/**
|
|
1063
1107
|
* @remarks
|
|
1064
|
-
* The agent runtime
|
|
1108
|
+
* The agent runtime framework.
|
|
1065
1109
|
*/
|
|
1066
1110
|
harness?: CreateManagedAgentRequestBodyHarness;
|
|
1067
1111
|
/**
|
|
1068
1112
|
* @remarks
|
|
1069
|
-
* The agent instruction
|
|
1113
|
+
* The agent instruction used to guide the behavior of the agent.
|
|
1070
1114
|
*
|
|
1071
1115
|
* @example
|
|
1072
1116
|
* You are a code review assistant
|
|
@@ -1096,9 +1140,14 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1096
1140
|
network?: CreateManagedAgentRequestBodyNetwork;
|
|
1097
1141
|
/**
|
|
1098
1142
|
* @remarks
|
|
1099
|
-
* The OSS
|
|
1143
|
+
* The list of OSS mounts. A maximum of 10 items are allowed.
|
|
1100
1144
|
*/
|
|
1101
1145
|
ossMounts?: CreateManagedAgentRequestBodyOssMounts[];
|
|
1146
|
+
/**
|
|
1147
|
+
* @remarks
|
|
1148
|
+
* The prompt variable declarations.
|
|
1149
|
+
*/
|
|
1150
|
+
promptVariables?: CreateManagedAgentRequestBodyPromptVariables[];
|
|
1102
1151
|
/**
|
|
1103
1152
|
* @remarks
|
|
1104
1153
|
* The runtime configuration.
|
|
@@ -1137,6 +1186,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1137
1186
|
name: 'name',
|
|
1138
1187
|
network: 'network',
|
|
1139
1188
|
ossMounts: 'ossMounts',
|
|
1189
|
+
promptVariables: 'promptVariables',
|
|
1140
1190
|
runtime: 'runtime',
|
|
1141
1191
|
skills: 'skills',
|
|
1142
1192
|
subAgents: 'subAgents',
|
|
@@ -1156,6 +1206,7 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1156
1206
|
name: 'string',
|
|
1157
1207
|
network: CreateManagedAgentRequestBodyNetwork,
|
|
1158
1208
|
ossMounts: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodyOssMounts },
|
|
1209
|
+
promptVariables: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodyPromptVariables },
|
|
1159
1210
|
runtime: CreateManagedAgentRequestBodyRuntime,
|
|
1160
1211
|
skills: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodySkills },
|
|
1161
1212
|
subAgents: { 'type': 'array', 'itemType': CreateManagedAgentRequestBodySubAgents },
|
|
@@ -1183,6 +1234,9 @@ export class CreateManagedAgentRequestBody extends $dara.Model {
|
|
|
1183
1234
|
if(Array.isArray(this.ossMounts)) {
|
|
1184
1235
|
$dara.Model.validateArray(this.ossMounts);
|
|
1185
1236
|
}
|
|
1237
|
+
if(Array.isArray(this.promptVariables)) {
|
|
1238
|
+
$dara.Model.validateArray(this.promptVariables);
|
|
1239
|
+
}
|
|
1186
1240
|
if(this.runtime && typeof (this.runtime as any).validate === 'function') {
|
|
1187
1241
|
(this.runtime as any).validate();
|
|
1188
1242
|
}
|
|
@@ -1214,7 +1268,7 @@ export class CreateManagedAgentRequest extends $dara.Model {
|
|
|
1214
1268
|
body?: CreateManagedAgentRequestBody;
|
|
1215
1269
|
/**
|
|
1216
1270
|
* @remarks
|
|
1217
|
-
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current
|
|
1271
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
|
|
1218
1272
|
*
|
|
1219
1273
|
* @example
|
|
1220
1274
|
* client-token-1
|