@alicloud/agentcore20260804 3.0.0 → 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 +29 -17
- package/dist/models/GetIdentityProviderScimresponseBody.js +2 -0
- 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 +42 -26
- package/dist/models/UpdateIdentityProviderScimresponseBody.js +4 -0
- package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -1
- 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 +31 -17
- 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 +46 -26
- 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 UpdateIdentityProviderSCIMShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Submits business parameters as described in this API. The body parameters of the public API are mapped to the backend wrapper by the gateway. Do not mix them with the backend direct connection body wrapper.
|
|
8
|
+
* Submits the business parameters as described in this API. The body parameters of the public API are mapped to the backend wrapper by the gateway. Do not mix them with the backend direct connection body wrapper.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateIdentityProviderShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The configuration fields to be modified. For DingTalk and
|
|
8
|
+
* The configuration fields to be modified. For DingTalk and Feishu, you must submit at least one of the following fields: loginEnabled, syncEnabled, metadata, and syncScope. For CustomSSO, use the protocol, saml, and loginEnabled fields. You cannot submit the vendor metadata, syncEnabled, or syncScope fields.
|
|
9
9
|
*/
|
|
10
10
|
bodyShrink?: string;
|
|
11
11
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateManagedAgentRequestBodyAgenticFsMounts 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 UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
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 UpdateManagedAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether to mount in read-only mode.
|
|
24
|
+
* Specifies whether to mount the file system in read-only mode. If omitted, the default value is 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 UpdateManagedAgentRequestBodyAgenticFsMounts 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
|
|
@@ -181,7 +181,7 @@ export class UpdateManagedAgentRequestBodyEnvironment extends $dara.Model {
|
|
|
181
181
|
export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Model {
|
|
182
182
|
/**
|
|
183
183
|
* @remarks
|
|
184
|
-
* The
|
|
184
|
+
* The connector service account key.
|
|
185
185
|
*
|
|
186
186
|
* @example
|
|
187
187
|
* key-xxxx
|
|
@@ -189,7 +189,7 @@ export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
189
189
|
connectorServiceAccountKey?: string;
|
|
190
190
|
/**
|
|
191
191
|
* @remarks
|
|
192
|
-
* The
|
|
192
|
+
* The connector service account name.
|
|
193
193
|
*
|
|
194
194
|
* @example
|
|
195
195
|
* my-connector-key
|
|
@@ -221,12 +221,12 @@ export class UpdateManagedAgentRequestBodyHarnessConfiguration extends $dara.Mod
|
|
|
221
221
|
export class UpdateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
* The runtime
|
|
224
|
+
* The runtime framework configuration.
|
|
225
225
|
*/
|
|
226
226
|
configuration?: UpdateManagedAgentRequestBodyHarnessConfiguration;
|
|
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 UpdateManagedAgentRequestBodyHarness extends $dara.Model {
|
|
|
261
261
|
export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
262
262
|
/**
|
|
263
263
|
* @remarks
|
|
264
|
-
* Specifies whether to enable the token quota.
|
|
264
|
+
* Specifies whether to enable the token quota. If not specified, the default value is true. If set 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 UpdateManagedAgentRequestBodyModelQuota 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. Valid value: token.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* token
|
|
@@ -277,7 +277,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
277
277
|
limitType?: string;
|
|
278
278
|
/**
|
|
279
279
|
* @remarks
|
|
280
|
-
* The statistical period for the quota.
|
|
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).
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
283
283
|
* day
|
|
@@ -285,7 +285,7 @@ export class UpdateManagedAgentRequestBodyModelQuota extends $dara.Model {
|
|
|
285
285
|
periodType?: string;
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The maximum number of tokens
|
|
288
|
+
* The maximum number of tokens allowed to 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.
|
|
289
289
|
*
|
|
290
290
|
* @example
|
|
291
291
|
* 1000000
|
|
@@ -339,7 +339,7 @@ export class UpdateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
339
339
|
modelName?: string;
|
|
340
340
|
/**
|
|
341
341
|
* @remarks
|
|
342
|
-
* The model token quota configuration. If not
|
|
342
|
+
* The model token quota configuration. If this parameter is not passed, no quota is configured.
|
|
343
343
|
*/
|
|
344
344
|
quota?: UpdateManagedAgentRequestBodyModelQuota;
|
|
345
345
|
static names(): { [key: string]: string } {
|
|
@@ -373,7 +373,7 @@ export class UpdateManagedAgentRequestBodyModel extends $dara.Model {
|
|
|
373
373
|
export class UpdateManagedAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
374
374
|
/**
|
|
375
375
|
* @remarks
|
|
376
|
-
* Specifies whether to allow
|
|
376
|
+
* Specifies whether to allow access to the Internet.
|
|
377
377
|
*
|
|
378
378
|
* @example
|
|
379
379
|
* false
|
|
@@ -403,7 +403,7 @@ export class UpdateManagedAgentRequestBodyNetworkAccessInternet extends $dara.Mo
|
|
|
403
403
|
export class UpdateManagedAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
404
404
|
/**
|
|
405
405
|
* @remarks
|
|
406
|
-
* Specifies whether to allow VPC
|
|
406
|
+
* Specifies whether to allow access to the VPC.
|
|
407
407
|
*
|
|
408
408
|
* @example
|
|
409
409
|
* true
|
|
@@ -473,7 +473,7 @@ export class UpdateManagedAgentRequestBodyNetwork extends $dara.Model {
|
|
|
473
473
|
export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
474
474
|
/**
|
|
475
475
|
* @remarks
|
|
476
|
-
* The OSS bucket
|
|
476
|
+
* The name of the OSS bucket. This parameter is required and validated by the backend for each mount item.
|
|
477
477
|
*
|
|
478
478
|
* @example
|
|
479
479
|
* bucket-001
|
|
@@ -481,7 +481,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
481
481
|
bucketName?: string;
|
|
482
482
|
/**
|
|
483
483
|
* @remarks
|
|
484
|
-
* 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.
|
|
485
485
|
*
|
|
486
486
|
* @example
|
|
487
487
|
* /mnt/oss/datasets
|
|
@@ -489,7 +489,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
489
489
|
mountPath?: string;
|
|
490
490
|
/**
|
|
491
491
|
* @remarks
|
|
492
|
-
* The relative object prefix
|
|
492
|
+
* The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
|
|
493
493
|
*
|
|
494
494
|
* @example
|
|
495
495
|
* datasets
|
|
@@ -497,7 +497,7 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
497
497
|
path?: string;
|
|
498
498
|
/**
|
|
499
499
|
* @remarks
|
|
500
|
-
* Specifies whether to mount in read-only mode.
|
|
500
|
+
* Specifies whether to mount the bucket in read-only mode. If not specified, the default value is false.
|
|
501
501
|
*/
|
|
502
502
|
readOnly?: boolean;
|
|
503
503
|
static names(): { [key: string]: string } {
|
|
@@ -527,6 +527,56 @@ export class UpdateManagedAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
+
export class UpdateManagedAgentRequestBodyPromptVariables 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
|
+
|
|
530
580
|
export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
531
581
|
/**
|
|
532
582
|
* @remarks
|
|
@@ -562,12 +612,12 @@ export class UpdateManagedAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
|
562
612
|
export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
563
613
|
/**
|
|
564
614
|
* @remarks
|
|
565
|
-
* Specifies whether
|
|
615
|
+
* Specifies whether auto-scaling is enabled. This parameter is required and validated by the backend when HPA is configured.
|
|
566
616
|
*/
|
|
567
617
|
enabled?: boolean;
|
|
568
618
|
/**
|
|
569
619
|
* @remarks
|
|
570
|
-
* The maximum number of active sessions per
|
|
620
|
+
* The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is configured.
|
|
571
621
|
*
|
|
572
622
|
* @example
|
|
573
623
|
* 5
|
|
@@ -575,7 +625,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
575
625
|
maxConcurrentSessionsPerSandbox?: number;
|
|
576
626
|
/**
|
|
577
627
|
* @remarks
|
|
578
|
-
* The maximum number of
|
|
628
|
+
* The maximum number of sandboxes. This parameter is required when HPA is enabled and must not be less than the minimum value.
|
|
579
629
|
*
|
|
580
630
|
* @example
|
|
581
631
|
* 3
|
|
@@ -583,7 +633,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
583
633
|
maxSandboxCount?: number;
|
|
584
634
|
/**
|
|
585
635
|
* @remarks
|
|
586
|
-
* The minimum number of
|
|
636
|
+
* The minimum number of sandboxes. This parameter is required when HPA is enabled.
|
|
587
637
|
*
|
|
588
638
|
* @example
|
|
589
639
|
* 1
|
|
@@ -591,7 +641,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
591
641
|
minSandboxCount?: number;
|
|
592
642
|
/**
|
|
593
643
|
* @remarks
|
|
594
|
-
* The time
|
|
644
|
+
* The time in seconds before an inactive session is reclaimed. This parameter is required and validated by the backend when HPA is configured.
|
|
595
645
|
*
|
|
596
646
|
* @example
|
|
597
647
|
* 3600
|
|
@@ -629,7 +679,7 @@ export class UpdateManagedAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
|
629
679
|
export class UpdateManagedAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
630
680
|
/**
|
|
631
681
|
* @remarks
|
|
632
|
-
* 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.
|
|
633
683
|
*
|
|
634
684
|
* @example
|
|
635
685
|
* X-Session-Id
|
|
@@ -678,7 +728,7 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
678
728
|
compute?: UpdateManagedAgentRequestBodyRuntimeCompute;
|
|
679
729
|
/**
|
|
680
730
|
* @remarks
|
|
681
|
-
* The
|
|
731
|
+
* The sandbox auto-scaling and session configuration.
|
|
682
732
|
*/
|
|
683
733
|
hpa?: UpdateManagedAgentRequestBodyRuntimeHpa;
|
|
684
734
|
/**
|
|
@@ -725,9 +775,7 @@ export class UpdateManagedAgentRequestBodyRuntime extends $dara.Model {
|
|
|
725
775
|
export class UpdateManagedAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
726
776
|
/**
|
|
727
777
|
* @remarks
|
|
728
|
-
* The version selector type. Valid values:
|
|
729
|
-
* - LABEL: select by label.
|
|
730
|
-
* - VERSION: select by specific version.
|
|
778
|
+
* The version selector type. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
731
779
|
*
|
|
732
780
|
* @example
|
|
733
781
|
* LABEL
|
|
@@ -735,7 +783,7 @@ export class UpdateManagedAgentRequestBodySkillsVersionSelector extends $dara.Mo
|
|
|
735
783
|
type?: string;
|
|
736
784
|
/**
|
|
737
785
|
* @remarks
|
|
738
|
-
* The selector
|
|
786
|
+
* The value of the selector. When the type is LABEL, this is the tag name, such as latest. When the type is VERSION, this is the specific version number.
|
|
739
787
|
*
|
|
740
788
|
* @example
|
|
741
789
|
* latest
|
|
@@ -777,9 +825,7 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
777
825
|
name?: string;
|
|
778
826
|
/**
|
|
779
827
|
* @remarks
|
|
780
|
-
* The skill source type. Valid values:
|
|
781
|
-
* - REFERENCE: referenced from AI Registry.
|
|
782
|
-
* - STATIC: statically bundled with the package.
|
|
828
|
+
* The skill source type. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
783
829
|
*
|
|
784
830
|
* @example
|
|
785
831
|
* REFERENCE
|
|
@@ -795,7 +841,7 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
795
841
|
version?: string;
|
|
796
842
|
/**
|
|
797
843
|
* @remarks
|
|
798
|
-
* The version selector
|
|
844
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
799
845
|
*/
|
|
800
846
|
versionSelector?: UpdateManagedAgentRequestBodySkillsVersionSelector;
|
|
801
847
|
static names(): { [key: string]: string } {
|
|
@@ -831,7 +877,7 @@ export class UpdateManagedAgentRequestBodySkills extends $dara.Model {
|
|
|
831
877
|
export class UpdateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
832
878
|
/**
|
|
833
879
|
* @remarks
|
|
834
|
-
* The skill name
|
|
880
|
+
* The skill name.
|
|
835
881
|
*
|
|
836
882
|
* @example
|
|
837
883
|
* web-search
|
|
@@ -839,7 +885,7 @@ export class UpdateManagedAgentRequestBodySubAgentsSkills extends $dara.Model {
|
|
|
839
885
|
name?: string;
|
|
840
886
|
/**
|
|
841
887
|
* @remarks
|
|
842
|
-
* The
|
|
888
|
+
* The skill version.
|
|
843
889
|
*
|
|
844
890
|
* @example
|
|
845
891
|
* 1.0.0
|
|
@@ -876,7 +922,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
876
922
|
* This parameter is required.
|
|
877
923
|
*
|
|
878
924
|
* @example
|
|
879
|
-
*
|
|
925
|
+
* Review the code
|
|
880
926
|
*/
|
|
881
927
|
instruction?: string;
|
|
882
928
|
/**
|
|
@@ -891,7 +937,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
891
937
|
name?: string;
|
|
892
938
|
/**
|
|
893
939
|
* @remarks
|
|
894
|
-
* The
|
|
940
|
+
* The list of sub-agent skills.
|
|
895
941
|
*/
|
|
896
942
|
skills?: UpdateManagedAgentRequestBodySubAgentsSkills[];
|
|
897
943
|
static names(): { [key: string]: string } {
|
|
@@ -925,7 +971,7 @@ export class UpdateManagedAgentRequestBodySubAgents extends $dara.Model {
|
|
|
925
971
|
export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
926
972
|
/**
|
|
927
973
|
* @remarks
|
|
928
|
-
* The name of the template in AI
|
|
974
|
+
* The name of the template in the AI registry.
|
|
929
975
|
*
|
|
930
976
|
* This parameter is required.
|
|
931
977
|
*
|
|
@@ -935,7 +981,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
935
981
|
name?: string;
|
|
936
982
|
/**
|
|
937
983
|
* @remarks
|
|
938
|
-
* The version of the template in AI
|
|
984
|
+
* The version of the template in the AI registry.
|
|
939
985
|
*
|
|
940
986
|
* @example
|
|
941
987
|
* 1.0.0
|
|
@@ -967,7 +1013,7 @@ export class UpdateManagedAgentRequestBodyTemplateAiRegistry extends $dara.Model
|
|
|
967
1013
|
export class UpdateManagedAgentRequestBodyTemplate extends $dara.Model {
|
|
968
1014
|
/**
|
|
969
1015
|
* @remarks
|
|
970
|
-
* The AI
|
|
1016
|
+
* The AI registry template configuration.
|
|
971
1017
|
*/
|
|
972
1018
|
aiRegistry?: UpdateManagedAgentRequestBodyTemplateAiRegistry;
|
|
973
1019
|
static names(): { [key: string]: string } {
|
|
@@ -1041,7 +1087,7 @@ export class UpdateManagedAgentRequestBodyTools extends $dara.Model {
|
|
|
1041
1087
|
export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
1042
1088
|
/**
|
|
1043
1089
|
* @remarks
|
|
1044
|
-
*
|
|
1090
|
+
* The AgenticFS mounts. If omitted during an update, the existing mounts are retained. If an empty array is passed, the mounts are cleared. If a non-empty array is passed, the mounts are fully replaced. Null values are rejected. The total number of AgenticFS and OSS mounts cannot exceed 10.
|
|
1045
1091
|
*/
|
|
1046
1092
|
agenticFsMounts?: UpdateManagedAgentRequestBodyAgenticFsMounts[];
|
|
1047
1093
|
/**
|
|
@@ -1049,7 +1095,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1049
1095
|
* The description of the managed agent.
|
|
1050
1096
|
*
|
|
1051
1097
|
* @example
|
|
1052
|
-
*
|
|
1098
|
+
* Agent for code review
|
|
1053
1099
|
*/
|
|
1054
1100
|
description?: string;
|
|
1055
1101
|
/**
|
|
@@ -1059,12 +1105,12 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1059
1105
|
environment?: UpdateManagedAgentRequestBodyEnvironment;
|
|
1060
1106
|
/**
|
|
1061
1107
|
* @remarks
|
|
1062
|
-
* The agent runtime
|
|
1108
|
+
* The agent runtime framework.
|
|
1063
1109
|
*/
|
|
1064
1110
|
harness?: UpdateManagedAgentRequestBodyHarness;
|
|
1065
1111
|
/**
|
|
1066
1112
|
* @remarks
|
|
1067
|
-
* The agent
|
|
1113
|
+
* The agent instructions used to guide the behavior of the agent.
|
|
1068
1114
|
*
|
|
1069
1115
|
* @example
|
|
1070
1116
|
* You are a code review assistant
|
|
@@ -1093,6 +1139,11 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1093
1139
|
* The list of OSS mounts. A maximum of 10 items are allowed. Pass an empty array to clear existing mounts.
|
|
1094
1140
|
*/
|
|
1095
1141
|
ossMounts?: UpdateManagedAgentRequestBodyOssMounts[];
|
|
1142
|
+
/**
|
|
1143
|
+
* @remarks
|
|
1144
|
+
* The prompt variable declarations.
|
|
1145
|
+
*/
|
|
1146
|
+
promptVariables?: UpdateManagedAgentRequestBodyPromptVariables[];
|
|
1096
1147
|
/**
|
|
1097
1148
|
* @remarks
|
|
1098
1149
|
* The runtime configuration.
|
|
@@ -1129,6 +1180,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1129
1180
|
name: 'name',
|
|
1130
1181
|
network: 'network',
|
|
1131
1182
|
ossMounts: 'ossMounts',
|
|
1183
|
+
promptVariables: 'promptVariables',
|
|
1132
1184
|
runtime: 'runtime',
|
|
1133
1185
|
skills: 'skills',
|
|
1134
1186
|
subAgents: 'subAgents',
|
|
@@ -1148,6 +1200,7 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1148
1200
|
name: 'string',
|
|
1149
1201
|
network: UpdateManagedAgentRequestBodyNetwork,
|
|
1150
1202
|
ossMounts: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodyOssMounts },
|
|
1203
|
+
promptVariables: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodyPromptVariables },
|
|
1151
1204
|
runtime: UpdateManagedAgentRequestBodyRuntime,
|
|
1152
1205
|
skills: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodySkills },
|
|
1153
1206
|
subAgents: { 'type': 'array', 'itemType': UpdateManagedAgentRequestBodySubAgents },
|
|
@@ -1175,6 +1228,9 @@ export class UpdateManagedAgentRequestBody extends $dara.Model {
|
|
|
1175
1228
|
if(Array.isArray(this.ossMounts)) {
|
|
1176
1229
|
$dara.Model.validateArray(this.ossMounts);
|
|
1177
1230
|
}
|
|
1231
|
+
if(Array.isArray(this.promptVariables)) {
|
|
1232
|
+
$dara.Model.validateArray(this.promptVariables);
|
|
1233
|
+
}
|
|
1178
1234
|
if(this.runtime && typeof (this.runtime as any).validate === 'function') {
|
|
1179
1235
|
(this.runtime as any).validate();
|
|
1180
1236
|
}
|
|
@@ -1206,7 +1262,7 @@ export class UpdateManagedAgentRequest extends $dara.Model {
|
|
|
1206
1262
|
body?: UpdateManagedAgentRequestBody;
|
|
1207
1263
|
/**
|
|
1208
1264
|
* @remarks
|
|
1209
|
-
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current
|
|
1265
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
|
|
1210
1266
|
*
|
|
1211
1267
|
* @example
|
|
1212
1268
|
* client-token-1
|