@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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The subdirectory under /mnt/agenticfs/ in the container. This
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required and validated by the backend. Mount targets cannot be duplicated or overlap in parent-child relationships.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* /mnt/agenticfs/data
|
|
@@ -13,7 +13,7 @@ export class GetManagedAgentResponseBodyDataAgenticFsMounts 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. 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 GetManagedAgentResponseBodyDataAgenticFsMounts 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 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 GetManagedAgentResponseBodyDataAgenticFsMounts 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. 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 GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model
|
|
|
65
65
|
export class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The version selector
|
|
69
|
-
* - LABEL: selects by label.
|
|
70
|
-
* - VERSION: selects by specific version.
|
|
68
|
+
* The type of the version selector. Valid values: LABEL (by tag) and VERSION (by specific version).
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* LABEL
|
|
@@ -75,7 +73,7 @@ export class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector exte
|
|
|
75
73
|
type?: string;
|
|
76
74
|
/**
|
|
77
75
|
* @remarks
|
|
78
|
-
* The selector
|
|
76
|
+
* The value of the selector. If the type is LABEL, this is the tag name, such as latest. If the type is VERSION, this is the specific version number.
|
|
79
77
|
*
|
|
80
78
|
* @example
|
|
81
79
|
* latest
|
|
@@ -107,7 +105,7 @@ export class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector exte
|
|
|
107
105
|
export class GetManagedAgentResponseBodyDataConfiguredSkills 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 GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model
|
|
|
117
115
|
name?: string;
|
|
118
116
|
/**
|
|
119
117
|
* @remarks
|
|
120
|
-
* The
|
|
121
|
-
* - REFERENCE: references the AI Registry.
|
|
122
|
-
* - STATIC: statically provided with the package.
|
|
118
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (provided statically with the package).
|
|
123
119
|
*
|
|
124
120
|
* @example
|
|
125
121
|
* REFERENCE
|
|
@@ -127,7 +123,7 @@ export class GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model
|
|
|
127
123
|
sourceType?: string;
|
|
128
124
|
/**
|
|
129
125
|
* @remarks
|
|
130
|
-
*
|
|
126
|
+
* The legacy compatibility field. For new requests, use sourceType and versionSelector.
|
|
131
127
|
*
|
|
132
128
|
* @example
|
|
133
129
|
* 1.0.0
|
|
@@ -135,7 +131,7 @@ export class GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model
|
|
|
135
131
|
version?: string;
|
|
136
132
|
/**
|
|
137
133
|
* @remarks
|
|
138
|
-
* The version selector for the
|
|
134
|
+
* The version selector for the reference. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
139
135
|
*/
|
|
140
136
|
versionSelector?: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
141
137
|
static names(): { [key: string]: string } {
|
|
@@ -287,7 +283,7 @@ export class GetManagedAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
287
283
|
export class GetManagedAgentResponseBodyDataHarnessConfiguration 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 GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
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 GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
327
323
|
export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
328
324
|
/**
|
|
329
325
|
* @remarks
|
|
330
|
-
* The runtime
|
|
326
|
+
* The configuration of the runtime framework.
|
|
331
327
|
*/
|
|
332
328
|
configuration?: GetManagedAgentResponseBodyDataHarnessConfiguration;
|
|
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 GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
383
379
|
limitType?: string;
|
|
384
380
|
/**
|
|
385
381
|
* @remarks
|
|
386
|
-
* Indicates whether the quota has been exceeded in the current period. This
|
|
382
|
+
* Indicates whether the quota has been exceeded in the current period. This is a read-only field returned by the backend.
|
|
387
383
|
*
|
|
388
384
|
* @example
|
|
389
385
|
* false
|
|
@@ -391,9 +387,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
391
387
|
overLimit?: boolean;
|
|
392
388
|
/**
|
|
393
389
|
* @remarks
|
|
394
|
-
* The
|
|
395
|
-
* - day: daily.
|
|
396
|
-
* - month: monthly.
|
|
390
|
+
* The statistical period for the quota. Valid values: day (daily) and month (monthly).
|
|
397
391
|
*
|
|
398
392
|
* @example
|
|
399
393
|
* day
|
|
@@ -401,7 +395,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
401
395
|
periodType?: string;
|
|
402
396
|
/**
|
|
403
397
|
* @remarks
|
|
404
|
-
* The gateway quota rule
|
|
398
|
+
* The status of the gateway quota rule. This is a read-only field returned by the backend.
|
|
405
399
|
*
|
|
406
400
|
* @example
|
|
407
401
|
* ACTIVE
|
|
@@ -409,7 +403,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
409
403
|
ruleStatus?: string;
|
|
410
404
|
/**
|
|
411
405
|
* @remarks
|
|
412
|
-
* The maximum number of tokens
|
|
406
|
+
* The maximum number of tokens allowed to be consumed in a single period.
|
|
413
407
|
*
|
|
414
408
|
* @example
|
|
415
409
|
* 1000000
|
|
@@ -417,7 +411,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
417
411
|
usageLimit?: number;
|
|
418
412
|
/**
|
|
419
413
|
* @remarks
|
|
420
|
-
* 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.
|
|
421
415
|
*
|
|
422
416
|
* @example
|
|
423
417
|
* 12345
|
|
@@ -467,7 +461,7 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
467
461
|
modelConnectionId?: string;
|
|
468
462
|
/**
|
|
469
463
|
* @remarks
|
|
470
|
-
* The upstream model
|
|
464
|
+
* The name of the upstream model.
|
|
471
465
|
*
|
|
472
466
|
* @example
|
|
473
467
|
* qwen-max
|
|
@@ -509,7 +503,7 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
509
503
|
export class GetManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
510
504
|
/**
|
|
511
505
|
* @remarks
|
|
512
|
-
* Specifies whether
|
|
506
|
+
* Specifies whether Internet access is allowed.
|
|
513
507
|
*
|
|
514
508
|
* @example
|
|
515
509
|
* false
|
|
@@ -609,7 +603,7 @@ export class GetManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
609
603
|
export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
610
604
|
/**
|
|
611
605
|
* @remarks
|
|
612
|
-
* The OSS bucket
|
|
606
|
+
* The name of the OSS bucket. This parameter is required and validated by the backend for each mount.
|
|
613
607
|
*
|
|
614
608
|
* @example
|
|
615
609
|
* bucket-001
|
|
@@ -617,7 +611,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
617
611
|
bucketName?: string;
|
|
618
612
|
/**
|
|
619
613
|
* @remarks
|
|
620
|
-
* The absolute mount path
|
|
614
|
+
* The absolute mount path in the container. Each mount item is validated as required by the backend.
|
|
621
615
|
*
|
|
622
616
|
* @example
|
|
623
617
|
* /mnt/oss/datasets
|
|
@@ -625,7 +619,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
625
619
|
mountPath?: string;
|
|
626
620
|
/**
|
|
627
621
|
* @remarks
|
|
628
|
-
* The relative object prefix
|
|
622
|
+
* The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
|
|
629
623
|
*
|
|
630
624
|
* @example
|
|
631
625
|
* datasets
|
|
@@ -633,7 +627,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
633
627
|
path?: string;
|
|
634
628
|
/**
|
|
635
629
|
* @remarks
|
|
636
|
-
* Specifies whether
|
|
630
|
+
* Specifies whether the mount is read-only. Default value: false.
|
|
637
631
|
*/
|
|
638
632
|
readOnly?: boolean;
|
|
639
633
|
static names(): { [key: string]: string } {
|
|
@@ -663,10 +657,60 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
663
657
|
}
|
|
664
658
|
}
|
|
665
659
|
|
|
660
|
+
export class GetManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
|
|
661
|
+
/**
|
|
662
|
+
* @remarks
|
|
663
|
+
* The default value.
|
|
664
|
+
*
|
|
665
|
+
* @example
|
|
666
|
+
* default
|
|
667
|
+
*/
|
|
668
|
+
defaultValue?: string;
|
|
669
|
+
/**
|
|
670
|
+
* @remarks
|
|
671
|
+
* The variable description.
|
|
672
|
+
*
|
|
673
|
+
* @example
|
|
674
|
+
* desc
|
|
675
|
+
*/
|
|
676
|
+
description?: string;
|
|
677
|
+
/**
|
|
678
|
+
* @remarks
|
|
679
|
+
* The variable name.
|
|
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
|
+
|
|
666
710
|
export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
667
711
|
/**
|
|
668
712
|
* @remarks
|
|
669
|
-
* The compute
|
|
713
|
+
* The compute class.
|
|
670
714
|
*
|
|
671
715
|
* This parameter is required.
|
|
672
716
|
*
|
|
@@ -698,12 +742,12 @@ export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
|
698
742
|
export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
699
743
|
/**
|
|
700
744
|
* @remarks
|
|
701
|
-
* Specifies whether to enable auto scaling. This
|
|
745
|
+
* Specifies whether to enable auto scaling. This parameter is required and validated by the backend when HPA is present.
|
|
702
746
|
*/
|
|
703
747
|
enabled?: boolean;
|
|
704
748
|
/**
|
|
705
749
|
* @remarks
|
|
706
|
-
* The maximum number of active sessions per sandbox. This
|
|
750
|
+
* The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is present.
|
|
707
751
|
*
|
|
708
752
|
* @example
|
|
709
753
|
* 5
|
|
@@ -711,7 +755,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
711
755
|
maxConcurrentSessionsPerSandbox?: number;
|
|
712
756
|
/**
|
|
713
757
|
* @remarks
|
|
714
|
-
* The maximum number of sandboxes. This
|
|
758
|
+
* The maximum number of sandboxes. This parameter is required and must not be less than the minimum value when HPA is enabled.
|
|
715
759
|
*
|
|
716
760
|
* @example
|
|
717
761
|
* 3
|
|
@@ -719,7 +763,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
719
763
|
maxSandboxCount?: number;
|
|
720
764
|
/**
|
|
721
765
|
* @remarks
|
|
722
|
-
* The minimum number of sandboxes. This
|
|
766
|
+
* The minimum number of sandboxes. This parameter is required when HPA is enabled.
|
|
723
767
|
*
|
|
724
768
|
* @example
|
|
725
769
|
* 1
|
|
@@ -727,7 +771,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
727
771
|
minSandboxCount?: number;
|
|
728
772
|
/**
|
|
729
773
|
* @remarks
|
|
730
|
-
* The time-to-live in seconds for a session after
|
|
774
|
+
* The time-to-live (TTL) in seconds for a session after it becomes inactive. This parameter is required and validated by the backend when HPA is present.
|
|
731
775
|
*
|
|
732
776
|
* @example
|
|
733
777
|
* 3600
|
|
@@ -765,7 +809,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
765
809
|
export class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
766
810
|
/**
|
|
767
811
|
* @remarks
|
|
768
|
-
* The HTTP header name used for session affinity. This
|
|
812
|
+
* The HTTP header name used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
769
813
|
*
|
|
770
814
|
* @example
|
|
771
815
|
* X-Session-Id
|
|
@@ -861,9 +905,7 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
861
905
|
export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
862
906
|
/**
|
|
863
907
|
* @remarks
|
|
864
|
-
* The version selector
|
|
865
|
-
* - LABEL: selects by label.
|
|
866
|
-
* - VERSION: selects by specific version.
|
|
908
|
+
* The type of the version selector. Valid values: LABEL (by tag) and VERSION (by specific version).
|
|
867
909
|
*
|
|
868
910
|
* @example
|
|
869
911
|
* LABEL
|
|
@@ -871,7 +913,7 @@ export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.
|
|
|
871
913
|
type?: string;
|
|
872
914
|
/**
|
|
873
915
|
* @remarks
|
|
874
|
-
* The selector
|
|
916
|
+
* The value of the selector. If the type is LABEL, this is the tag name, such as latest. If the type is VERSION, this is the specific version number.
|
|
875
917
|
*
|
|
876
918
|
* @example
|
|
877
919
|
* latest
|
|
@@ -903,7 +945,7 @@ export class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.
|
|
|
903
945
|
export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
904
946
|
/**
|
|
905
947
|
* @remarks
|
|
906
|
-
* The
|
|
948
|
+
* The applied runtime version. This field is read-only.
|
|
907
949
|
*
|
|
908
950
|
* @example
|
|
909
951
|
* 1.0.0
|
|
@@ -911,7 +953,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
911
953
|
appliedVersion?: string;
|
|
912
954
|
/**
|
|
913
955
|
* @remarks
|
|
914
|
-
*
|
|
956
|
+
* Specifies whether the skill is from a fixed template. This field is read-only and template items cannot be removed.
|
|
915
957
|
*
|
|
916
958
|
* @example
|
|
917
959
|
* false
|
|
@@ -935,9 +977,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
935
977
|
resolvedVersion?: string;
|
|
936
978
|
/**
|
|
937
979
|
* @remarks
|
|
938
|
-
* The
|
|
939
|
-
* - REFERENCE: references the AI Registry.
|
|
940
|
-
* - STATIC: statically provided with the package.
|
|
980
|
+
* The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (provided statically with the package).
|
|
941
981
|
*
|
|
942
982
|
* @example
|
|
943
983
|
* REFERENCE
|
|
@@ -953,7 +993,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
953
993
|
version?: string;
|
|
954
994
|
/**
|
|
955
995
|
* @remarks
|
|
956
|
-
* The referenced version selector.
|
|
996
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest.
|
|
957
997
|
*/
|
|
958
998
|
versionSelector?: GetManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
959
999
|
static names(): { [key: string]: string } {
|
|
@@ -995,7 +1035,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
995
1035
|
export class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
|
|
996
1036
|
/**
|
|
997
1037
|
* @remarks
|
|
998
|
-
* The skill name
|
|
1038
|
+
* The skill name.
|
|
999
1039
|
*
|
|
1000
1040
|
* @example
|
|
1001
1041
|
* web-search
|
|
@@ -1003,7 +1043,7 @@ export class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model
|
|
|
1003
1043
|
name?: string;
|
|
1004
1044
|
/**
|
|
1005
1045
|
* @remarks
|
|
1006
|
-
* The
|
|
1046
|
+
* The skill version.
|
|
1007
1047
|
*
|
|
1008
1048
|
* @example
|
|
1009
1049
|
* 1.0.0
|
|
@@ -1035,17 +1075,17 @@ export class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model
|
|
|
1035
1075
|
export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
1036
1076
|
/**
|
|
1037
1077
|
* @remarks
|
|
1038
|
-
* The
|
|
1078
|
+
* The sub-agent instruction.
|
|
1039
1079
|
*
|
|
1040
1080
|
* This parameter is required.
|
|
1041
1081
|
*
|
|
1042
1082
|
* @example
|
|
1043
|
-
*
|
|
1083
|
+
* Please review the code
|
|
1044
1084
|
*/
|
|
1045
1085
|
instruction?: string;
|
|
1046
1086
|
/**
|
|
1047
1087
|
* @remarks
|
|
1048
|
-
* The
|
|
1088
|
+
* The sub-agent name.
|
|
1049
1089
|
*
|
|
1050
1090
|
* This parameter is required.
|
|
1051
1091
|
*
|
|
@@ -1055,7 +1095,7 @@ export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
|
1055
1095
|
name?: string;
|
|
1056
1096
|
/**
|
|
1057
1097
|
* @remarks
|
|
1058
|
-
* The
|
|
1098
|
+
* The sub-agent skill list.
|
|
1059
1099
|
*/
|
|
1060
1100
|
skills?: GetManagedAgentResponseBodyDataSubAgentsSkills[];
|
|
1061
1101
|
static names(): { [key: string]: string } {
|
|
@@ -1205,7 +1245,7 @@ export class GetManagedAgentResponseBodyDataTools extends $dara.Model {
|
|
|
1205
1245
|
export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
1206
1246
|
/**
|
|
1207
1247
|
* @remarks
|
|
1208
|
-
* The managed agent
|
|
1248
|
+
* The ID of the managed agent.
|
|
1209
1249
|
*
|
|
1210
1250
|
* @example
|
|
1211
1251
|
* agent-1
|
|
@@ -1213,12 +1253,12 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1213
1253
|
agentId?: string;
|
|
1214
1254
|
/**
|
|
1215
1255
|
* @remarks
|
|
1216
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS
|
|
1256
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS and OSS mounts cannot exceed 10.
|
|
1217
1257
|
*/
|
|
1218
1258
|
agenticFsMounts?: GetManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1219
1259
|
/**
|
|
1220
1260
|
* @remarks
|
|
1221
|
-
* The
|
|
1261
|
+
* The explicitly configured skills.
|
|
1222
1262
|
*/
|
|
1223
1263
|
configuredSkills?: GetManagedAgentResponseBodyDataConfiguredSkills[];
|
|
1224
1264
|
/**
|
|
@@ -1250,22 +1290,22 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1250
1290
|
* The description of the managed agent.
|
|
1251
1291
|
*
|
|
1252
1292
|
* @example
|
|
1253
|
-
*
|
|
1293
|
+
* Agent for code review
|
|
1254
1294
|
*/
|
|
1255
1295
|
description?: string;
|
|
1256
1296
|
/**
|
|
1257
1297
|
* @remarks
|
|
1258
|
-
* The environment configuration.
|
|
1298
|
+
* The environment configuration information.
|
|
1259
1299
|
*/
|
|
1260
1300
|
environment?: GetManagedAgentResponseBodyDataEnvironment;
|
|
1261
1301
|
/**
|
|
1262
1302
|
* @remarks
|
|
1263
|
-
* The
|
|
1303
|
+
* The runtime framework of the agent.
|
|
1264
1304
|
*/
|
|
1265
1305
|
harness?: GetManagedAgentResponseBodyDataHarness;
|
|
1266
1306
|
/**
|
|
1267
1307
|
* @remarks
|
|
1268
|
-
* The agent
|
|
1308
|
+
* The agent instructions used to guide the behavior of the agent.
|
|
1269
1309
|
*
|
|
1270
1310
|
* @example
|
|
1271
1311
|
* You are a code review assistant
|
|
@@ -1289,7 +1329,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1289
1329
|
latestVersionStatus?: string;
|
|
1290
1330
|
/**
|
|
1291
1331
|
* @remarks
|
|
1292
|
-
* The model configuration.
|
|
1332
|
+
* The model configuration information.
|
|
1293
1333
|
*/
|
|
1294
1334
|
model?: GetManagedAgentResponseBodyDataModel;
|
|
1295
1335
|
/**
|
|
@@ -1302,14 +1342,19 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1302
1342
|
name?: string;
|
|
1303
1343
|
/**
|
|
1304
1344
|
* @remarks
|
|
1305
|
-
* The network configuration.
|
|
1345
|
+
* The network configuration information.
|
|
1306
1346
|
*/
|
|
1307
1347
|
network?: GetManagedAgentResponseBodyDataNetwork;
|
|
1308
1348
|
/**
|
|
1309
1349
|
* @remarks
|
|
1310
|
-
* The list of OSS mounts. A maximum of 10
|
|
1350
|
+
* The list of OSS mounts. A maximum of 10 mounts are allowed.
|
|
1311
1351
|
*/
|
|
1312
1352
|
ossMounts?: GetManagedAgentResponseBodyDataOssMounts[];
|
|
1353
|
+
/**
|
|
1354
|
+
* @remarks
|
|
1355
|
+
* The prompt variable declarations.
|
|
1356
|
+
*/
|
|
1357
|
+
promptVariables?: GetManagedAgentResponseBodyDataPromptVariables[];
|
|
1313
1358
|
/**
|
|
1314
1359
|
* @remarks
|
|
1315
1360
|
* The region ID.
|
|
@@ -1320,22 +1365,22 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1320
1365
|
regionId?: string;
|
|
1321
1366
|
/**
|
|
1322
1367
|
* @remarks
|
|
1323
|
-
* The runtime configuration.
|
|
1368
|
+
* The runtime configuration information.
|
|
1324
1369
|
*/
|
|
1325
1370
|
runtime?: GetManagedAgentResponseBodyDataRuntime;
|
|
1326
1371
|
/**
|
|
1327
1372
|
* @remarks
|
|
1328
|
-
* The
|
|
1373
|
+
* The number of managed agent instances grouped by sandbox phase. Current keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed at runtime). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic map and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
|
|
1329
1374
|
*/
|
|
1330
1375
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1331
1376
|
/**
|
|
1332
1377
|
* @remarks
|
|
1333
|
-
* The
|
|
1378
|
+
* The skill configuration list.
|
|
1334
1379
|
*/
|
|
1335
1380
|
skills?: GetManagedAgentResponseBodyDataSkills[];
|
|
1336
1381
|
/**
|
|
1337
1382
|
* @remarks
|
|
1338
|
-
* The
|
|
1383
|
+
* The managed agent status.
|
|
1339
1384
|
*
|
|
1340
1385
|
* @example
|
|
1341
1386
|
* Running
|
|
@@ -1343,22 +1388,22 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1343
1388
|
status?: string;
|
|
1344
1389
|
/**
|
|
1345
1390
|
* @remarks
|
|
1346
|
-
* The
|
|
1391
|
+
* The sub-agent configuration list.
|
|
1347
1392
|
*/
|
|
1348
1393
|
subAgents?: GetManagedAgentResponseBodyDataSubAgents[];
|
|
1349
1394
|
/**
|
|
1350
1395
|
* @remarks
|
|
1351
|
-
* The template configuration.
|
|
1396
|
+
* The template configuration information.
|
|
1352
1397
|
*/
|
|
1353
1398
|
template?: GetManagedAgentResponseBodyDataTemplate;
|
|
1354
1399
|
/**
|
|
1355
1400
|
* @remarks
|
|
1356
|
-
* The
|
|
1401
|
+
* The tool configuration list.
|
|
1357
1402
|
*/
|
|
1358
1403
|
tools?: GetManagedAgentResponseBodyDataTools[];
|
|
1359
1404
|
/**
|
|
1360
1405
|
* @remarks
|
|
1361
|
-
* The time
|
|
1406
|
+
* The update time in RFC 3339 format.
|
|
1362
1407
|
*
|
|
1363
1408
|
* @example
|
|
1364
1409
|
* 2026-01-01T00:00:00Z
|
|
@@ -1390,6 +1435,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1390
1435
|
name: 'name',
|
|
1391
1436
|
network: 'network',
|
|
1392
1437
|
ossMounts: 'ossMounts',
|
|
1438
|
+
promptVariables: 'promptVariables',
|
|
1393
1439
|
regionId: 'regionId',
|
|
1394
1440
|
runtime: 'runtime',
|
|
1395
1441
|
sandboxPhaseCounts: 'sandboxPhaseCounts',
|
|
@@ -1421,6 +1467,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1421
1467
|
name: 'string',
|
|
1422
1468
|
network: GetManagedAgentResponseBodyDataNetwork,
|
|
1423
1469
|
ossMounts: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataOssMounts },
|
|
1470
|
+
promptVariables: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataPromptVariables },
|
|
1424
1471
|
regionId: 'string',
|
|
1425
1472
|
runtime: GetManagedAgentResponseBodyDataRuntime,
|
|
1426
1473
|
sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
@@ -1456,6 +1503,9 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1456
1503
|
if(Array.isArray(this.ossMounts)) {
|
|
1457
1504
|
$dara.Model.validateArray(this.ossMounts);
|
|
1458
1505
|
}
|
|
1506
|
+
if(Array.isArray(this.promptVariables)) {
|
|
1507
|
+
$dara.Model.validateArray(this.promptVariables);
|
|
1508
|
+
}
|
|
1459
1509
|
if(this.runtime && typeof (this.runtime as any).validate === 'function') {
|
|
1460
1510
|
(this.runtime as any).validate();
|
|
1461
1511
|
}
|
|
@@ -1485,7 +1535,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1485
1535
|
export class GetManagedAgentResponseBody extends $dara.Model {
|
|
1486
1536
|
/**
|
|
1487
1537
|
* @remarks
|
|
1488
|
-
* The business status code. The value is SUCCESS when the
|
|
1538
|
+
* The business status code. The value is SUCCESS when the request succeeds.
|
|
1489
1539
|
*
|
|
1490
1540
|
* @example
|
|
1491
1541
|
* SUCCESS
|
|
@@ -1506,7 +1556,7 @@ export class GetManagedAgentResponseBody extends $dara.Model {
|
|
|
1506
1556
|
httpStatusCode?: number;
|
|
1507
1557
|
/**
|
|
1508
1558
|
* @remarks
|
|
1509
|
-
* The result message
|
|
1559
|
+
* The request processing result message.
|
|
1510
1560
|
*
|
|
1511
1561
|
* @example
|
|
1512
1562
|
* success
|
|
@@ -1522,7 +1572,7 @@ export class GetManagedAgentResponseBody extends $dara.Model {
|
|
|
1522
1572
|
requestId?: string;
|
|
1523
1573
|
/**
|
|
1524
1574
|
* @remarks
|
|
1525
|
-
* Indicates whether the request
|
|
1575
|
+
* Indicates whether the request is successful.
|
|
1526
1576
|
*
|
|
1527
1577
|
* @example
|
|
1528
1578
|
* true
|
|
@@ -15,7 +15,7 @@ export class GetWorkspaceAcrRamAuthorizeUrlRequest extends $dara.Model {
|
|
|
15
15
|
acrInstanceId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The target ACR namespace, which corresponds to artifact.container.namespace of the agent. This is not a Kubernetes namespace.
|
|
18
|
+
* The target ACR namespace, which corresponds to artifact.container.namespace of the agent. This is not a Kubernetes namespace. It determines the authorization scope together with the instance and repository.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class GetWorkspaceAcrRamAuthorizeUrlRequest extends $dara.Model {
|
|
|
25
25
|
namespace?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The target repository name, which corresponds to artifact.container.repo of the agent. It does not include tags, namespaces, or path separators. Wildcards are not supported.
|
|
29
29
|
*
|
|
30
30
|
* This parameter is required.
|
|
31
31
|
*
|
|
@@ -15,7 +15,7 @@ export class GetWorkspaceAcrRamAuthorizeUrlResponseBodyData extends $dara.Model
|
|
|
15
15
|
acrInstanceId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The RAM authorization URL
|
|
18
|
+
* The RAM authorization URL for creating or appending target ACR permissions for the shared role.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCustomAgentsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The maximum number of entries to return
|
|
8
|
+
* The maximum number of entries to return per page. Valid values: 1 to 100. If this parameter is omitted or set to 0, the default value 20 is used.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListCustomAgentsRequest extends $dara.Model {
|
|
|
13
13
|
maxResults?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The opaque token
|
|
16
|
+
* The opaque token used to query the next page. Omit this parameter in the first request. For subsequent requests, use the nextToken returned in the previous response as is and keep the same workspace. Do not construct this token.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* djE6YWdlbnRjb3JlLmFnZW50Lmxpc3QuY3VzdG9tOjIw
|