@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 UpdateManagedAgentResponseBodyDataAgenticFsMounts 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 UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
|
|
|
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 UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
|
|
|
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 UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
|
|
|
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
|
|
@@ -65,9 +65,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
|
|
|
65
65
|
export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The version selector type. Valid values:
|
|
69
|
-
* - LABEL: select by label.
|
|
70
|
-
* - VERSION: select by specific version.
|
|
68
|
+
* The version selector type. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* LABEL
|
|
@@ -75,7 +73,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
|
|
|
75
73
|
type?: string;
|
|
76
74
|
/**
|
|
77
75
|
* @remarks
|
|
78
|
-
* The selector
|
|
76
|
+
* 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.
|
|
79
77
|
*
|
|
80
78
|
* @example
|
|
81
79
|
* latest
|
|
@@ -107,7 +105,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
|
|
|
107
105
|
export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
108
106
|
/**
|
|
109
107
|
* @remarks
|
|
110
|
-
* The skill
|
|
108
|
+
* The name of the skill in the Workspace AI Registry.
|
|
111
109
|
*
|
|
112
110
|
* This parameter is required.
|
|
113
111
|
*
|
|
@@ -117,9 +115,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
|
|
|
117
115
|
name?: string;
|
|
118
116
|
/**
|
|
119
117
|
* @remarks
|
|
120
|
-
* The skill source type. Valid values:
|
|
121
|
-
* - REFERENCE: referenced from AI Registry.
|
|
122
|
-
* - STATIC: statically bundled with the package.
|
|
118
|
+
* The skill source type. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
123
119
|
*
|
|
124
120
|
* @example
|
|
125
121
|
* REFERENCE
|
|
@@ -127,7 +123,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
|
|
|
127
123
|
sourceType?: string;
|
|
128
124
|
/**
|
|
129
125
|
* @remarks
|
|
130
|
-
*
|
|
126
|
+
* The legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
131
127
|
*
|
|
132
128
|
* @example
|
|
133
129
|
* 1.0.0
|
|
@@ -135,7 +131,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
|
|
|
135
131
|
version?: string;
|
|
136
132
|
/**
|
|
137
133
|
* @remarks
|
|
138
|
-
* The version selector
|
|
134
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
139
135
|
*/
|
|
140
136
|
versionSelector?: UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
141
137
|
static names(): { [key: string]: string } {
|
|
@@ -287,7 +283,7 @@ export class UpdateManagedAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
287
283
|
export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
|
|
288
284
|
/**
|
|
289
285
|
* @remarks
|
|
290
|
-
* The
|
|
286
|
+
* The connector service account key.
|
|
291
287
|
*
|
|
292
288
|
* @example
|
|
293
289
|
* key-xxxx
|
|
@@ -295,7 +291,7 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
|
|
|
295
291
|
connectorServiceAccountKey?: string;
|
|
296
292
|
/**
|
|
297
293
|
* @remarks
|
|
298
|
-
* The
|
|
294
|
+
* The connector service account name.
|
|
299
295
|
*
|
|
300
296
|
* @example
|
|
301
297
|
* my-connector-key
|
|
@@ -327,12 +323,12 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
|
|
|
327
323
|
export class UpdateManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
328
324
|
/**
|
|
329
325
|
* @remarks
|
|
330
|
-
* The runtime
|
|
326
|
+
* The runtime framework configuration.
|
|
331
327
|
*/
|
|
332
328
|
configuration?: UpdateManagedAgentResponseBodyDataHarnessConfiguration;
|
|
333
329
|
/**
|
|
334
330
|
* @remarks
|
|
335
|
-
* The runtime
|
|
331
|
+
* The type of the runtime framework.
|
|
336
332
|
*
|
|
337
333
|
* @example
|
|
338
334
|
* qodercli
|
|
@@ -383,7 +379,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
383
379
|
limitType?: string;
|
|
384
380
|
/**
|
|
385
381
|
* @remarks
|
|
386
|
-
* Indicates whether the quota
|
|
382
|
+
* Indicates whether the quota is exceeded for the current period. This is a read-only field returned by the backend.
|
|
387
383
|
*
|
|
388
384
|
* @example
|
|
389
385
|
* false
|
|
@@ -391,7 +387,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
391
387
|
overLimit?: boolean;
|
|
392
388
|
/**
|
|
393
389
|
* @remarks
|
|
394
|
-
* The quota statistical period.
|
|
390
|
+
* The quota statistical period. A value of day indicates a daily period, and a value of month indicates a monthly period.
|
|
395
391
|
*
|
|
396
392
|
* @example
|
|
397
393
|
* day
|
|
@@ -399,7 +395,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
399
395
|
periodType?: string;
|
|
400
396
|
/**
|
|
401
397
|
* @remarks
|
|
402
|
-
* The gateway quota rule
|
|
398
|
+
* The status of the gateway quota rule. This is a read-only field returned by the backend.
|
|
403
399
|
*
|
|
404
400
|
* @example
|
|
405
401
|
* ACTIVE
|
|
@@ -415,7 +411,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
415
411
|
usageLimit?: number;
|
|
416
412
|
/**
|
|
417
413
|
* @remarks
|
|
418
|
-
* The number of tokens consumed in the current period. This
|
|
414
|
+
* The number of tokens consumed in the current period. This is a read-only field returned by the backend.
|
|
419
415
|
*
|
|
420
416
|
* @example
|
|
421
417
|
* 12345
|
|
@@ -507,7 +503,7 @@ export class UpdateManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
507
503
|
export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
508
504
|
/**
|
|
509
505
|
* @remarks
|
|
510
|
-
* Specifies whether to allow
|
|
506
|
+
* Specifies whether to allow access to the Internet.
|
|
511
507
|
*
|
|
512
508
|
* @example
|
|
513
509
|
* false
|
|
@@ -537,7 +533,7 @@ export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $da
|
|
|
537
533
|
export class UpdateManagedAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
|
|
538
534
|
/**
|
|
539
535
|
* @remarks
|
|
540
|
-
* Specifies whether to allow VPC
|
|
536
|
+
* Specifies whether to allow access to the VPC.
|
|
541
537
|
*
|
|
542
538
|
* @example
|
|
543
539
|
* true
|
|
@@ -607,7 +603,7 @@ export class UpdateManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
607
603
|
export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
608
604
|
/**
|
|
609
605
|
* @remarks
|
|
610
|
-
* The OSS bucket
|
|
606
|
+
* The name of the OSS bucket. This parameter is required and validated by the backend for each mount item.
|
|
611
607
|
*
|
|
612
608
|
* @example
|
|
613
609
|
* bucket-001
|
|
@@ -615,7 +611,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
615
611
|
bucketName?: string;
|
|
616
612
|
/**
|
|
617
613
|
* @remarks
|
|
618
|
-
* The absolute mount path in the container.
|
|
614
|
+
* The absolute mount path in the container. This parameter is required and validated by the backend for each mount item.
|
|
619
615
|
*
|
|
620
616
|
* @example
|
|
621
617
|
* /mnt/oss/datasets
|
|
@@ -623,7 +619,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
623
619
|
mountPath?: string;
|
|
624
620
|
/**
|
|
625
621
|
* @remarks
|
|
626
|
-
* The relative object prefix
|
|
622
|
+
* The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
|
|
627
623
|
*
|
|
628
624
|
* @example
|
|
629
625
|
* datasets
|
|
@@ -631,7 +627,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
631
627
|
path?: string;
|
|
632
628
|
/**
|
|
633
629
|
* @remarks
|
|
634
|
-
* Specifies whether to mount in read-only mode.
|
|
630
|
+
* Specifies whether to mount the bucket in read-only mode. If not specified, the default value is false.
|
|
635
631
|
*/
|
|
636
632
|
readOnly?: boolean;
|
|
637
633
|
static names(): { [key: string]: string } {
|
|
@@ -661,6 +657,56 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
661
657
|
}
|
|
662
658
|
}
|
|
663
659
|
|
|
660
|
+
export class UpdateManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
|
|
661
|
+
/**
|
|
662
|
+
* @remarks
|
|
663
|
+
* The default value.
|
|
664
|
+
*
|
|
665
|
+
* @example
|
|
666
|
+
* default
|
|
667
|
+
*/
|
|
668
|
+
defaultValue?: string;
|
|
669
|
+
/**
|
|
670
|
+
* @remarks
|
|
671
|
+
* The description of the variable.
|
|
672
|
+
*
|
|
673
|
+
* @example
|
|
674
|
+
* desc
|
|
675
|
+
*/
|
|
676
|
+
description?: string;
|
|
677
|
+
/**
|
|
678
|
+
* @remarks
|
|
679
|
+
* The name of the variable.
|
|
680
|
+
*
|
|
681
|
+
* @example
|
|
682
|
+
* brand
|
|
683
|
+
*/
|
|
684
|
+
name?: string;
|
|
685
|
+
static names(): { [key: string]: string } {
|
|
686
|
+
return {
|
|
687
|
+
defaultValue: 'defaultValue',
|
|
688
|
+
description: 'description',
|
|
689
|
+
name: 'name',
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
static types(): { [key: string]: any } {
|
|
694
|
+
return {
|
|
695
|
+
defaultValue: 'string',
|
|
696
|
+
description: 'string',
|
|
697
|
+
name: 'string',
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
validate() {
|
|
702
|
+
super.validate();
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
constructor(map?: { [key: string]: any }) {
|
|
706
|
+
super(map);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
664
710
|
export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
665
711
|
/**
|
|
666
712
|
* @remarks
|
|
@@ -696,12 +742,12 @@ export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
|
|
|
696
742
|
export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
697
743
|
/**
|
|
698
744
|
* @remarks
|
|
699
|
-
* Specifies whether
|
|
745
|
+
* Specifies whether auto-scaling is enabled. This parameter is required and validated by the backend when HPA is configured.
|
|
700
746
|
*/
|
|
701
747
|
enabled?: boolean;
|
|
702
748
|
/**
|
|
703
749
|
* @remarks
|
|
704
|
-
* The maximum number of active sessions per
|
|
750
|
+
* The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is configured.
|
|
705
751
|
*
|
|
706
752
|
* @example
|
|
707
753
|
* 5
|
|
@@ -709,7 +755,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
709
755
|
maxConcurrentSessionsPerSandbox?: number;
|
|
710
756
|
/**
|
|
711
757
|
* @remarks
|
|
712
|
-
* The maximum number of
|
|
758
|
+
* The maximum number of sandboxes. This parameter is required when HPA is enabled and must not be less than the minimum value.
|
|
713
759
|
*
|
|
714
760
|
* @example
|
|
715
761
|
* 3
|
|
@@ -717,7 +763,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
717
763
|
maxSandboxCount?: number;
|
|
718
764
|
/**
|
|
719
765
|
* @remarks
|
|
720
|
-
* The minimum number of
|
|
766
|
+
* The minimum number of sandboxes. This parameter is required when HPA is enabled.
|
|
721
767
|
*
|
|
722
768
|
* @example
|
|
723
769
|
* 1
|
|
@@ -725,7 +771,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
725
771
|
minSandboxCount?: number;
|
|
726
772
|
/**
|
|
727
773
|
* @remarks
|
|
728
|
-
* The time
|
|
774
|
+
* The time in seconds before an inactive session is reclaimed. This parameter is required and validated by the backend when HPA is configured.
|
|
729
775
|
*
|
|
730
776
|
* @example
|
|
731
777
|
* 3600
|
|
@@ -763,7 +809,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
763
809
|
export class UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
764
810
|
/**
|
|
765
811
|
* @remarks
|
|
766
|
-
* The name of the HTTP header used for session affinity. This parameter takes effect
|
|
812
|
+
* The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
767
813
|
*
|
|
768
814
|
* @example
|
|
769
815
|
* X-Session-Id
|
|
@@ -812,7 +858,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
812
858
|
compute?: UpdateManagedAgentResponseBodyDataRuntimeCompute;
|
|
813
859
|
/**
|
|
814
860
|
* @remarks
|
|
815
|
-
* The
|
|
861
|
+
* The sandbox auto-scaling and session configuration.
|
|
816
862
|
*/
|
|
817
863
|
hpa?: UpdateManagedAgentResponseBodyDataRuntimeHpa;
|
|
818
864
|
/**
|
|
@@ -859,9 +905,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
859
905
|
export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
860
906
|
/**
|
|
861
907
|
* @remarks
|
|
862
|
-
* The version selector type. Valid values:
|
|
863
|
-
* - LABEL: select by label.
|
|
864
|
-
* - VERSION: select by specific version.
|
|
908
|
+
* The version selector type. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
|
|
865
909
|
*
|
|
866
910
|
* @example
|
|
867
911
|
* LABEL
|
|
@@ -869,7 +913,7 @@ export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
|
|
|
869
913
|
type?: string;
|
|
870
914
|
/**
|
|
871
915
|
* @remarks
|
|
872
|
-
* The selector
|
|
916
|
+
* 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.
|
|
873
917
|
*
|
|
874
918
|
* @example
|
|
875
919
|
* latest
|
|
@@ -901,7 +945,7 @@ export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
|
|
|
901
945
|
export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
902
946
|
/**
|
|
903
947
|
* @remarks
|
|
904
|
-
* The
|
|
948
|
+
* The applied runtime version. This field is read-only.
|
|
905
949
|
*
|
|
906
950
|
* @example
|
|
907
951
|
* 1.0.0
|
|
@@ -909,7 +953,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
909
953
|
appliedVersion?: string;
|
|
910
954
|
/**
|
|
911
955
|
* @remarks
|
|
912
|
-
* Indicates whether the skill
|
|
956
|
+
* Indicates whether the skill is from a fixed template. This field is read-only, and template items cannot be removed.
|
|
913
957
|
*
|
|
914
958
|
* @example
|
|
915
959
|
* false
|
|
@@ -933,9 +977,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
933
977
|
resolvedVersion?: string;
|
|
934
978
|
/**
|
|
935
979
|
* @remarks
|
|
936
|
-
* The skill source type. Valid values:
|
|
937
|
-
* - REFERENCE: referenced from AI Registry.
|
|
938
|
-
* - STATIC: statically bundled with the package.
|
|
980
|
+
* The skill source type. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
|
|
939
981
|
*
|
|
940
982
|
* @example
|
|
941
983
|
* REFERENCE
|
|
@@ -951,7 +993,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
951
993
|
version?: string;
|
|
952
994
|
/**
|
|
953
995
|
* @remarks
|
|
954
|
-
* The referenced version selector.
|
|
996
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest.
|
|
955
997
|
*/
|
|
956
998
|
versionSelector?: UpdateManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
957
999
|
static names(): { [key: string]: string } {
|
|
@@ -993,7 +1035,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
993
1035
|
export class UpdateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
|
|
994
1036
|
/**
|
|
995
1037
|
* @remarks
|
|
996
|
-
* The skill name
|
|
1038
|
+
* The skill name.
|
|
997
1039
|
*
|
|
998
1040
|
* @example
|
|
999
1041
|
* web-search
|
|
@@ -1001,7 +1043,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Mod
|
|
|
1001
1043
|
name?: string;
|
|
1002
1044
|
/**
|
|
1003
1045
|
* @remarks
|
|
1004
|
-
* The
|
|
1046
|
+
* The skill version.
|
|
1005
1047
|
*
|
|
1006
1048
|
* @example
|
|
1007
1049
|
* 1.0.0
|
|
@@ -1038,7 +1080,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
1038
1080
|
* This parameter is required.
|
|
1039
1081
|
*
|
|
1040
1082
|
* @example
|
|
1041
|
-
*
|
|
1083
|
+
* Review the code
|
|
1042
1084
|
*/
|
|
1043
1085
|
instruction?: string;
|
|
1044
1086
|
/**
|
|
@@ -1053,7 +1095,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
1053
1095
|
name?: string;
|
|
1054
1096
|
/**
|
|
1055
1097
|
* @remarks
|
|
1056
|
-
* The
|
|
1098
|
+
* The list of sub-agent skills.
|
|
1057
1099
|
*/
|
|
1058
1100
|
skills?: UpdateManagedAgentResponseBodyDataSubAgentsSkills[];
|
|
1059
1101
|
static names(): { [key: string]: string } {
|
|
@@ -1087,7 +1129,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
1087
1129
|
export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
|
|
1088
1130
|
/**
|
|
1089
1131
|
* @remarks
|
|
1090
|
-
* The name of the template in AI
|
|
1132
|
+
* The name of the template in the AI registry.
|
|
1091
1133
|
*
|
|
1092
1134
|
* This parameter is required.
|
|
1093
1135
|
*
|
|
@@ -1097,7 +1139,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
1097
1139
|
name?: string;
|
|
1098
1140
|
/**
|
|
1099
1141
|
* @remarks
|
|
1100
|
-
* The version of the template in AI
|
|
1142
|
+
* The version of the template in the AI registry.
|
|
1101
1143
|
*
|
|
1102
1144
|
* @example
|
|
1103
1145
|
* 1.0.0
|
|
@@ -1129,7 +1171,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
1129
1171
|
export class UpdateManagedAgentResponseBodyDataTemplate extends $dara.Model {
|
|
1130
1172
|
/**
|
|
1131
1173
|
* @remarks
|
|
1132
|
-
* The AI
|
|
1174
|
+
* The AI registry template configuration.
|
|
1133
1175
|
*/
|
|
1134
1176
|
aiRegistry?: UpdateManagedAgentResponseBodyDataTemplateAiRegistry;
|
|
1135
1177
|
static names(): { [key: string]: string } {
|
|
@@ -1211,12 +1253,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1211
1253
|
agentId?: string;
|
|
1212
1254
|
/**
|
|
1213
1255
|
* @remarks
|
|
1214
|
-
* The
|
|
1256
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10.
|
|
1215
1257
|
*/
|
|
1216
1258
|
agenticFsMounts?: UpdateManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1217
1259
|
/**
|
|
1218
1260
|
* @remarks
|
|
1219
|
-
* The
|
|
1261
|
+
* The explicitly configured skills.
|
|
1220
1262
|
*/
|
|
1221
1263
|
configuredSkills?: UpdateManagedAgentResponseBodyDataConfiguredSkills[];
|
|
1222
1264
|
/**
|
|
@@ -1248,7 +1290,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1248
1290
|
* The description of the managed agent.
|
|
1249
1291
|
*
|
|
1250
1292
|
* @example
|
|
1251
|
-
*
|
|
1293
|
+
* Agent for code review
|
|
1252
1294
|
*/
|
|
1253
1295
|
description?: string;
|
|
1254
1296
|
/**
|
|
@@ -1258,12 +1300,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1258
1300
|
environment?: UpdateManagedAgentResponseBodyDataEnvironment;
|
|
1259
1301
|
/**
|
|
1260
1302
|
* @remarks
|
|
1261
|
-
* The agent runtime
|
|
1303
|
+
* The agent runtime framework.
|
|
1262
1304
|
*/
|
|
1263
1305
|
harness?: UpdateManagedAgentResponseBodyDataHarness;
|
|
1264
1306
|
/**
|
|
1265
1307
|
* @remarks
|
|
1266
|
-
* The agent
|
|
1308
|
+
* The agent instructions used to guide the behavior of the agent.
|
|
1267
1309
|
*
|
|
1268
1310
|
* @example
|
|
1269
1311
|
* You are a code review assistant
|
|
@@ -1279,7 +1321,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1279
1321
|
latestSpecVersion?: number;
|
|
1280
1322
|
/**
|
|
1281
1323
|
* @remarks
|
|
1282
|
-
* The latest version
|
|
1324
|
+
* The status of the latest version.
|
|
1283
1325
|
*
|
|
1284
1326
|
* @example
|
|
1285
1327
|
* succeeded
|
|
@@ -1305,9 +1347,14 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1305
1347
|
network?: UpdateManagedAgentResponseBodyDataNetwork;
|
|
1306
1348
|
/**
|
|
1307
1349
|
* @remarks
|
|
1308
|
-
* The OSS
|
|
1350
|
+
* The list of OSS mounts. A maximum of 10 items are supported.
|
|
1309
1351
|
*/
|
|
1310
1352
|
ossMounts?: UpdateManagedAgentResponseBodyDataOssMounts[];
|
|
1353
|
+
/**
|
|
1354
|
+
* @remarks
|
|
1355
|
+
* The prompt variable declarations.
|
|
1356
|
+
*/
|
|
1357
|
+
promptVariables?: UpdateManagedAgentResponseBodyDataPromptVariables[];
|
|
1311
1358
|
/**
|
|
1312
1359
|
* @remarks
|
|
1313
1360
|
* The region ID.
|
|
@@ -1323,7 +1370,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1323
1370
|
runtime?: UpdateManagedAgentResponseBodyDataRuntime;
|
|
1324
1371
|
/**
|
|
1325
1372
|
* @remarks
|
|
1326
|
-
* The instance counts of
|
|
1373
|
+
* The instance counts of managed agents by sandbox phase. Current keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (runtime failure). Only phases that actually occur are returned, and missing keys are treated as 0. This field is a dynamic mapping and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
|
|
1327
1374
|
*/
|
|
1328
1375
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1329
1376
|
/**
|
|
@@ -1356,7 +1403,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1356
1403
|
tools?: UpdateManagedAgentResponseBodyDataTools[];
|
|
1357
1404
|
/**
|
|
1358
1405
|
* @remarks
|
|
1359
|
-
* The time
|
|
1406
|
+
* The update time in RFC 3339 format.
|
|
1360
1407
|
*
|
|
1361
1408
|
* @example
|
|
1362
1409
|
* 2026-01-01T00:00:00Z
|
|
@@ -1388,6 +1435,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1388
1435
|
name: 'name',
|
|
1389
1436
|
network: 'network',
|
|
1390
1437
|
ossMounts: 'ossMounts',
|
|
1438
|
+
promptVariables: 'promptVariables',
|
|
1391
1439
|
regionId: 'regionId',
|
|
1392
1440
|
runtime: 'runtime',
|
|
1393
1441
|
sandboxPhaseCounts: 'sandboxPhaseCounts',
|
|
@@ -1419,6 +1467,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1419
1467
|
name: 'string',
|
|
1420
1468
|
network: UpdateManagedAgentResponseBodyDataNetwork,
|
|
1421
1469
|
ossMounts: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataOssMounts },
|
|
1470
|
+
promptVariables: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataPromptVariables },
|
|
1422
1471
|
regionId: 'string',
|
|
1423
1472
|
runtime: UpdateManagedAgentResponseBodyDataRuntime,
|
|
1424
1473
|
sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
@@ -1454,6 +1503,9 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1454
1503
|
if(Array.isArray(this.ossMounts)) {
|
|
1455
1504
|
$dara.Model.validateArray(this.ossMounts);
|
|
1456
1505
|
}
|
|
1506
|
+
if(Array.isArray(this.promptVariables)) {
|
|
1507
|
+
$dara.Model.validateArray(this.promptVariables);
|
|
1508
|
+
}
|
|
1457
1509
|
if(this.runtime && typeof (this.runtime as any).validate === 'function') {
|
|
1458
1510
|
(this.runtime as any).validate();
|
|
1459
1511
|
}
|
|
@@ -1483,7 +1535,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1483
1535
|
export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
1484
1536
|
/**
|
|
1485
1537
|
* @remarks
|
|
1486
|
-
* The business status code. The value is SUCCESS
|
|
1538
|
+
* The business status code. The value is SUCCESS if the operation is successful.
|
|
1487
1539
|
*
|
|
1488
1540
|
* @example
|
|
1489
1541
|
* SUCCESS
|
|
@@ -1496,7 +1548,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
|
1496
1548
|
data?: UpdateManagedAgentResponseBodyData;
|
|
1497
1549
|
/**
|
|
1498
1550
|
* @remarks
|
|
1499
|
-
* The HTTP status code.
|
|
1551
|
+
* The HTTP status code. A value of 200 indicates success.
|
|
1500
1552
|
*
|
|
1501
1553
|
* @example
|
|
1502
1554
|
* 200
|
|
@@ -1504,7 +1556,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
|
1504
1556
|
httpStatusCode?: number;
|
|
1505
1557
|
/**
|
|
1506
1558
|
* @remarks
|
|
1507
|
-
* The message
|
|
1559
|
+
* The message about the request processing result.
|
|
1508
1560
|
*
|
|
1509
1561
|
* @example
|
|
1510
1562
|
* success
|
|
@@ -1520,7 +1572,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
|
|
|
1520
1572
|
requestId?: string;
|
|
1521
1573
|
/**
|
|
1522
1574
|
* @remarks
|
|
1523
|
-
* Indicates whether the request
|
|
1575
|
+
* Indicates whether the request is successful.
|
|
1524
1576
|
*
|
|
1525
1577
|
* @example
|
|
1526
1578
|
* true
|
|
@@ -10,7 +10,7 @@ export class UpdateManagedAgentShrinkRequest extends $dara.Model {
|
|
|
10
10
|
bodyShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current
|
|
13
|
+
* The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* client-token-1
|