@alicloud/agentcore20260804 2.1.1 → 2.2.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 +88 -22
- package/dist/client.js +175 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +95 -20
- package/dist/models/CreateManagedAgentRequest.js +59 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +171 -25
- package/dist/models/CreateManagedAgentResponseBody.js +119 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/DataResourceValue.d.ts +15 -15
- package/dist/models/DataResourceValue.js +4 -4
- package/dist/models/DataResourceValue.js.map +1 -1
- package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
- package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
- package/dist/models/GetAgentSpecLatestResponseBody.d.ts +28 -0
- package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetManagedAgentResponseBody.d.ts +176 -30
- package/dist/models/GetManagedAgentResponseBody.js +119 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
- package/dist/models/GetSkillDetailResponseBody.js +4 -0
- package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
- package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
- package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
- package/dist/models/ListAgentSpecsResponseBody.js +29 -1
- package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
- package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
- package/dist/models/ListSkillReferencesRequest.js +64 -0
- package/dist/models/ListSkillReferencesRequest.js.map +1 -0
- package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
- package/dist/models/ListSkillReferencesResponse.js +69 -0
- package/dist/models/ListSkillReferencesResponse.js.map +1 -0
- package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
- package/dist/models/ListSkillReferencesResponseBody.js +122 -0
- package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
- package/dist/models/ListSkillsResponseBody.d.ts +5 -0
- package/dist/models/ListSkillsResponseBody.js +2 -0
- package/dist/models/ListSkillsResponseBody.js.map +1 -1
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
- package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
- package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
- package/dist/models/PublishSkillVersionRequest.js +2 -0
- package/dist/models/PublishSkillVersionRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +121 -29
- package/dist/models/UpdateManagedAgentRequest.js +59 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +231 -37
- package/dist/models/UpdateManagedAgentResponseBody.js +119 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
- package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
- package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +206 -143
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +189 -22
- package/src/models/CreateManagedAgentRequest.ts +135 -20
- package/src/models/CreateManagedAgentResponseBody.ts +253 -25
- package/src/models/DataResourceValue.ts +17 -17
- package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
- package/src/models/GetAgentSpecLatestResponseBody.ts +47 -0
- package/src/models/GetManagedAgentResponseBody.ts +258 -30
- package/src/models/GetSkillDetailResponseBody.ts +24 -4
- package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
- package/src/models/ListAgentSpecsRequest.ts +4 -4
- package/src/models/ListAgentSpecsResponseBody.ts +68 -2
- package/src/models/ListSkillReferencesRequest.ts +64 -0
- package/src/models/ListSkillReferencesResponse.ts +40 -0
- package/src/models/ListSkillReferencesResponseBody.ts +194 -0
- package/src/models/ListSkillsResponseBody.ts +7 -0
- package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
- package/src/models/PublishSkillVersionRequest.ts +10 -0
- package/src/models/UpdateManagedAgentRequest.ts +161 -29
- package/src/models/UpdateManagedAgentResponseBody.ts +313 -37
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateSkillLabelsRequest.ts +1 -1
- package/src/models/UploadSkillViaOssRequest.ts +1 -1
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
- package/src/models/model.ts +31 -0
|
@@ -2,6 +2,150 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This field is validated as required by the backend for each mount entry. Mount targets must not be duplicated or have parent-child overlaps.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* /mnt/agenticfs/data
|
|
12
|
+
*/
|
|
13
|
+
mountPath?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* A non-empty relative directory that exists under the AccessPoint. This field is validated as required by the backend for each mount entry. Root directories, absolute paths, and parent directory segments are not allowed.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* workspace/data
|
|
20
|
+
*/
|
|
21
|
+
path?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Specifies whether to mount in read-only mode. Default value: false. This is not a RAM role read-only policy.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* false
|
|
28
|
+
*/
|
|
29
|
+
readOnly?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The AccessPoint domain name. This field is validated as required by the backend for each mount entry. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
36
|
+
*/
|
|
37
|
+
server?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
mountPath: 'mountPath',
|
|
41
|
+
path: 'path',
|
|
42
|
+
readOnly: 'readOnly',
|
|
43
|
+
server: 'server',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
mountPath: 'string',
|
|
50
|
+
path: 'string',
|
|
51
|
+
readOnly: 'boolean',
|
|
52
|
+
server: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* LABEL
|
|
69
|
+
*/
|
|
70
|
+
type?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* latest
|
|
74
|
+
*/
|
|
75
|
+
value?: string;
|
|
76
|
+
static names(): { [key: string]: string } {
|
|
77
|
+
return {
|
|
78
|
+
type: 'type',
|
|
79
|
+
value: 'value',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
type: 'string',
|
|
86
|
+
value: 'string',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
constructor(map?: { [key: string]: any }) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export class CreateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* This parameter is required.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* web-search
|
|
106
|
+
*/
|
|
107
|
+
name?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @example
|
|
110
|
+
* REFERENCE
|
|
111
|
+
*/
|
|
112
|
+
sourceType?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @example
|
|
115
|
+
* 1.0.0
|
|
116
|
+
*/
|
|
117
|
+
version?: string;
|
|
118
|
+
versionSelector?: CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
119
|
+
static names(): { [key: string]: string } {
|
|
120
|
+
return {
|
|
121
|
+
name: 'name',
|
|
122
|
+
sourceType: 'sourceType',
|
|
123
|
+
version: 'version',
|
|
124
|
+
versionSelector: 'versionSelector',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static types(): { [key: string]: any } {
|
|
129
|
+
return {
|
|
130
|
+
name: 'string',
|
|
131
|
+
sourceType: 'string',
|
|
132
|
+
version: 'string',
|
|
133
|
+
versionSelector: CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
validate() {
|
|
138
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
139
|
+
(this.versionSelector as any).validate();
|
|
140
|
+
}
|
|
141
|
+
super.validate();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
constructor(map?: { [key: string]: any }) {
|
|
145
|
+
super(map);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
5
149
|
export class CreateManagedAgentResponseBodyDataEnvironmentCredentialReferences extends $dara.Model {
|
|
6
150
|
/**
|
|
7
151
|
* @remarks
|
|
@@ -161,12 +305,12 @@ export class CreateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
|
|
|
161
305
|
export class CreateManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
162
306
|
/**
|
|
163
307
|
* @remarks
|
|
164
|
-
* The harness configuration.
|
|
308
|
+
* The runtime harness configuration.
|
|
165
309
|
*/
|
|
166
310
|
configuration?: CreateManagedAgentResponseBodyDataHarnessConfiguration;
|
|
167
311
|
/**
|
|
168
312
|
* @remarks
|
|
169
|
-
* The harness type.
|
|
313
|
+
* The runtime harness type.
|
|
170
314
|
*
|
|
171
315
|
* @example
|
|
172
316
|
* qodercli
|
|
@@ -225,7 +369,7 @@ export class CreateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
225
369
|
overLimit?: boolean;
|
|
226
370
|
/**
|
|
227
371
|
* @remarks
|
|
228
|
-
* The quota statistical period.
|
|
372
|
+
* The quota statistical period. A value of day indicates daily and a value of month indicates monthly.
|
|
229
373
|
*
|
|
230
374
|
* @example
|
|
231
375
|
* day
|
|
@@ -307,7 +451,7 @@ export class CreateManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
307
451
|
modelName?: string;
|
|
308
452
|
/**
|
|
309
453
|
* @remarks
|
|
310
|
-
* The model token quota configuration and
|
|
454
|
+
* The model token quota configuration and quota usage status for the current period. This field is empty if no quota is configured.
|
|
311
455
|
*/
|
|
312
456
|
quota?: CreateManagedAgentResponseBodyDataModelQuota;
|
|
313
457
|
static names(): { [key: string]: string } {
|
|
@@ -441,7 +585,7 @@ export class CreateManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
441
585
|
export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
442
586
|
/**
|
|
443
587
|
* @remarks
|
|
444
|
-
* The OSS bucket name. This
|
|
588
|
+
* The OSS bucket name. This field is validated as required by the backend for each mount entry.
|
|
445
589
|
*
|
|
446
590
|
* @example
|
|
447
591
|
* bucket-001
|
|
@@ -449,7 +593,7 @@ export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
449
593
|
bucketName?: string;
|
|
450
594
|
/**
|
|
451
595
|
* @remarks
|
|
452
|
-
* The absolute mount path in the container. This
|
|
596
|
+
* The absolute mount path in the container. This field is validated as required by the backend for each mount entry.
|
|
453
597
|
*
|
|
454
598
|
* @example
|
|
455
599
|
* /mnt/oss/datasets
|
|
@@ -457,7 +601,7 @@ export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
457
601
|
mountPath?: string;
|
|
458
602
|
/**
|
|
459
603
|
* @remarks
|
|
460
|
-
* The relative object prefix
|
|
604
|
+
* The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
|
|
461
605
|
*
|
|
462
606
|
* @example
|
|
463
607
|
* datasets
|
|
@@ -498,7 +642,7 @@ export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
498
642
|
export class CreateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
499
643
|
/**
|
|
500
644
|
* @remarks
|
|
501
|
-
* The compute
|
|
645
|
+
* The compute class.
|
|
502
646
|
*
|
|
503
647
|
* This parameter is required.
|
|
504
648
|
*
|
|
@@ -530,12 +674,12 @@ export class CreateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
|
|
|
530
674
|
export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
531
675
|
/**
|
|
532
676
|
* @remarks
|
|
533
|
-
* Specifies whether to enable auto
|
|
677
|
+
* Specifies whether to enable auto-scaling. This field is validated as required by the backend when hpa is present.
|
|
534
678
|
*/
|
|
535
679
|
enabled?: boolean;
|
|
536
680
|
/**
|
|
537
681
|
* @remarks
|
|
538
|
-
* The maximum number of active sessions per sandbox. This
|
|
682
|
+
* The maximum number of active sessions per sandbox. This field is validated as required by the backend when hpa is present.
|
|
539
683
|
*
|
|
540
684
|
* @example
|
|
541
685
|
* 5
|
|
@@ -543,7 +687,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
543
687
|
maxConcurrentSessionsPerSandbox?: number;
|
|
544
688
|
/**
|
|
545
689
|
* @remarks
|
|
546
|
-
* The maximum number of sandboxes.
|
|
690
|
+
* The maximum number of sandboxes. Required when HPA is enabled. The value must be greater than or equal to the minimum value.
|
|
547
691
|
*
|
|
548
692
|
* @example
|
|
549
693
|
* 3
|
|
@@ -551,7 +695,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
551
695
|
maxSandboxCount?: number;
|
|
552
696
|
/**
|
|
553
697
|
* @remarks
|
|
554
|
-
* The minimum number of sandboxes.
|
|
698
|
+
* The minimum number of sandboxes. Required when HPA is enabled.
|
|
555
699
|
*
|
|
556
700
|
* @example
|
|
557
701
|
* 1
|
|
@@ -559,7 +703,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
559
703
|
minSandboxCount?: number;
|
|
560
704
|
/**
|
|
561
705
|
* @remarks
|
|
562
|
-
* The time
|
|
706
|
+
* The time-to-live (TTL) for a session after inactivity, in seconds. This field is validated as required by the backend when hpa is present.
|
|
563
707
|
*
|
|
564
708
|
* @example
|
|
565
709
|
* 3600
|
|
@@ -646,7 +790,7 @@ export class CreateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
646
790
|
compute?: CreateManagedAgentResponseBodyDataRuntimeCompute;
|
|
647
791
|
/**
|
|
648
792
|
* @remarks
|
|
649
|
-
* The sandbox auto
|
|
793
|
+
* The sandbox auto-scaling and session configuration.
|
|
650
794
|
*/
|
|
651
795
|
hpa?: CreateManagedAgentResponseBodyDataRuntimeHpa;
|
|
652
796
|
/**
|
|
@@ -690,17 +834,69 @@ export class CreateManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
690
834
|
}
|
|
691
835
|
}
|
|
692
836
|
|
|
837
|
+
export class CreateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
838
|
+
/**
|
|
839
|
+
* @example
|
|
840
|
+
* LABEL
|
|
841
|
+
*/
|
|
842
|
+
type?: string;
|
|
843
|
+
/**
|
|
844
|
+
* @example
|
|
845
|
+
* latest
|
|
846
|
+
*/
|
|
847
|
+
value?: string;
|
|
848
|
+
static names(): { [key: string]: string } {
|
|
849
|
+
return {
|
|
850
|
+
type: 'type',
|
|
851
|
+
value: 'value',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
static types(): { [key: string]: any } {
|
|
856
|
+
return {
|
|
857
|
+
type: 'string',
|
|
858
|
+
value: 'string',
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
validate() {
|
|
863
|
+
super.validate();
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
constructor(map?: { [key: string]: any }) {
|
|
867
|
+
super(map);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
693
871
|
export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
872
|
+
/**
|
|
873
|
+
* @example
|
|
874
|
+
* 1.0.0
|
|
875
|
+
*/
|
|
876
|
+
appliedVersion?: string;
|
|
877
|
+
/**
|
|
878
|
+
* @example
|
|
879
|
+
* false
|
|
880
|
+
*/
|
|
881
|
+
fromTemplate?: boolean;
|
|
694
882
|
/**
|
|
695
883
|
* @remarks
|
|
696
884
|
* The skill name.
|
|
697
885
|
*
|
|
698
|
-
* This parameter is required.
|
|
699
|
-
*
|
|
700
886
|
* @example
|
|
701
887
|
* code-analysis
|
|
702
888
|
*/
|
|
703
889
|
name?: string;
|
|
890
|
+
/**
|
|
891
|
+
* @example
|
|
892
|
+
* 1.0.0
|
|
893
|
+
*/
|
|
894
|
+
resolvedVersion?: string;
|
|
895
|
+
/**
|
|
896
|
+
* @example
|
|
897
|
+
* REFERENCE
|
|
898
|
+
*/
|
|
899
|
+
sourceType?: string;
|
|
704
900
|
/**
|
|
705
901
|
* @remarks
|
|
706
902
|
* The skill version.
|
|
@@ -709,21 +905,35 @@ export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
709
905
|
* 1.0.0
|
|
710
906
|
*/
|
|
711
907
|
version?: string;
|
|
908
|
+
versionSelector?: CreateManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
712
909
|
static names(): { [key: string]: string } {
|
|
713
910
|
return {
|
|
911
|
+
appliedVersion: 'appliedVersion',
|
|
912
|
+
fromTemplate: 'fromTemplate',
|
|
714
913
|
name: 'name',
|
|
914
|
+
resolvedVersion: 'resolvedVersion',
|
|
915
|
+
sourceType: 'sourceType',
|
|
715
916
|
version: 'version',
|
|
917
|
+
versionSelector: 'versionSelector',
|
|
716
918
|
};
|
|
717
919
|
}
|
|
718
920
|
|
|
719
921
|
static types(): { [key: string]: any } {
|
|
720
922
|
return {
|
|
923
|
+
appliedVersion: 'string',
|
|
924
|
+
fromTemplate: 'boolean',
|
|
721
925
|
name: 'string',
|
|
926
|
+
resolvedVersion: 'string',
|
|
927
|
+
sourceType: 'string',
|
|
722
928
|
version: 'string',
|
|
929
|
+
versionSelector: CreateManagedAgentResponseBodyDataSkillsVersionSelector,
|
|
723
930
|
};
|
|
724
931
|
}
|
|
725
932
|
|
|
726
933
|
validate() {
|
|
934
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
935
|
+
(this.versionSelector as any).validate();
|
|
936
|
+
}
|
|
727
937
|
super.validate();
|
|
728
938
|
}
|
|
729
939
|
|
|
@@ -791,8 +1001,6 @@ export class CreateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
|
|
|
791
1001
|
* @remarks
|
|
792
1002
|
* The version of the template in the AI registry.
|
|
793
1003
|
*
|
|
794
|
-
* This parameter is required.
|
|
795
|
-
*
|
|
796
1004
|
* @example
|
|
797
1005
|
* 1.0.0
|
|
798
1006
|
*/
|
|
@@ -903,6 +1111,16 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
903
1111
|
* agent-1
|
|
904
1112
|
*/
|
|
905
1113
|
agentId?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* The AgenticFS additional mount list. The total number of items combined with ossMounts cannot exceed 10.
|
|
1117
|
+
*/
|
|
1118
|
+
agenticFsMounts?: CreateManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1119
|
+
/**
|
|
1120
|
+
* @remarks
|
|
1121
|
+
* 仅包含用户追加或覆盖的 Skill,不包含模板继承项。资源模型读取此字段以保留更新语义;创建和更新仍使用请求中的 skills。
|
|
1122
|
+
*/
|
|
1123
|
+
configuredSkills?: CreateManagedAgentResponseBodyDataConfiguredSkills[];
|
|
906
1124
|
/**
|
|
907
1125
|
* @remarks
|
|
908
1126
|
* The creation mode.
|
|
@@ -942,7 +1160,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
942
1160
|
environment?: CreateManagedAgentResponseBodyDataEnvironment;
|
|
943
1161
|
/**
|
|
944
1162
|
* @remarks
|
|
945
|
-
* The agent harness.
|
|
1163
|
+
* The agent runtime harness.
|
|
946
1164
|
*/
|
|
947
1165
|
harness?: CreateManagedAgentResponseBodyDataHarness;
|
|
948
1166
|
/**
|
|
@@ -989,7 +1207,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
989
1207
|
network?: CreateManagedAgentResponseBodyDataNetwork;
|
|
990
1208
|
/**
|
|
991
1209
|
* @remarks
|
|
992
|
-
* The OSS mount list. A maximum of 10 entries are
|
|
1210
|
+
* The OSS mount list. A maximum of 10 entries are allowed.
|
|
993
1211
|
*/
|
|
994
1212
|
ossMounts?: CreateManagedAgentResponseBodyDataOssMounts[];
|
|
995
1213
|
/**
|
|
@@ -1007,7 +1225,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1007
1225
|
runtime?: CreateManagedAgentResponseBodyDataRuntime;
|
|
1008
1226
|
/**
|
|
1009
1227
|
* @remarks
|
|
1010
|
-
* The
|
|
1228
|
+
* The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), FAILED (runtime failure). Only phases that actually occur are returned. 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.
|
|
1011
1229
|
*/
|
|
1012
1230
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1013
1231
|
/**
|
|
@@ -1040,7 +1258,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1040
1258
|
tools?: CreateManagedAgentResponseBodyDataTools[];
|
|
1041
1259
|
/**
|
|
1042
1260
|
* @remarks
|
|
1043
|
-
* The time
|
|
1261
|
+
* The update time in RFC 3339 format.
|
|
1044
1262
|
*
|
|
1045
1263
|
* @example
|
|
1046
1264
|
* 2026-01-01T00:00:00Z
|
|
@@ -1057,6 +1275,8 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1057
1275
|
static names(): { [key: string]: string } {
|
|
1058
1276
|
return {
|
|
1059
1277
|
agentId: 'agentId',
|
|
1278
|
+
agenticFsMounts: 'agenticFsMounts',
|
|
1279
|
+
configuredSkills: 'configuredSkills',
|
|
1060
1280
|
createMode: 'createMode',
|
|
1061
1281
|
createdAt: 'createdAt',
|
|
1062
1282
|
deployType: 'deployType',
|
|
@@ -1086,6 +1306,8 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1086
1306
|
static types(): { [key: string]: any } {
|
|
1087
1307
|
return {
|
|
1088
1308
|
agentId: 'string',
|
|
1309
|
+
agenticFsMounts: { 'type': 'array', 'itemType': CreateManagedAgentResponseBodyDataAgenticFsMounts },
|
|
1310
|
+
configuredSkills: { 'type': 'array', 'itemType': CreateManagedAgentResponseBodyDataConfiguredSkills },
|
|
1089
1311
|
createMode: 'string',
|
|
1090
1312
|
createdAt: 'string',
|
|
1091
1313
|
deployType: 'string',
|
|
@@ -1113,6 +1335,12 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1113
1335
|
}
|
|
1114
1336
|
|
|
1115
1337
|
validate() {
|
|
1338
|
+
if(Array.isArray(this.agenticFsMounts)) {
|
|
1339
|
+
$dara.Model.validateArray(this.agenticFsMounts);
|
|
1340
|
+
}
|
|
1341
|
+
if(Array.isArray(this.configuredSkills)) {
|
|
1342
|
+
$dara.Model.validateArray(this.configuredSkills);
|
|
1343
|
+
}
|
|
1116
1344
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1117
1345
|
(this.environment as any).validate();
|
|
1118
1346
|
}
|
|
@@ -1157,7 +1385,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1157
1385
|
export class CreateManagedAgentResponseBody extends $dara.Model {
|
|
1158
1386
|
/**
|
|
1159
1387
|
* @remarks
|
|
1160
|
-
* The business status code. The value
|
|
1388
|
+
* The business status code. The value is SUCCESS when the operation succeeds.
|
|
1161
1389
|
*
|
|
1162
1390
|
* @example
|
|
1163
1391
|
* SUCCESS
|
|
@@ -1165,7 +1393,7 @@ export class CreateManagedAgentResponseBody extends $dara.Model {
|
|
|
1165
1393
|
code?: string;
|
|
1166
1394
|
/**
|
|
1167
1395
|
* @remarks
|
|
1168
|
-
* The information about the
|
|
1396
|
+
* The information about the managed agent after creation.
|
|
1169
1397
|
*/
|
|
1170
1398
|
data?: CreateManagedAgentResponseBodyData;
|
|
1171
1399
|
/**
|
|
@@ -1178,7 +1406,7 @@ export class CreateManagedAgentResponseBody extends $dara.Model {
|
|
|
1178
1406
|
httpStatusCode?: number;
|
|
1179
1407
|
/**
|
|
1180
1408
|
* @remarks
|
|
1181
|
-
* The result
|
|
1409
|
+
* The message that indicates the result of the request.
|
|
1182
1410
|
*
|
|
1183
1411
|
* @example
|
|
1184
1412
|
* success
|
|
@@ -5,48 +5,48 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DataResourceValue extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The content.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Sample content
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
content?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* file
|
|
16
|
+
* The metadata.
|
|
20
17
|
*/
|
|
21
|
-
|
|
18
|
+
metadata?: { [key: string]: any };
|
|
22
19
|
/**
|
|
23
20
|
* @remarks
|
|
24
|
-
* The
|
|
21
|
+
* The name.
|
|
25
22
|
*
|
|
26
23
|
* @example
|
|
27
|
-
*
|
|
24
|
+
* agentspec-example
|
|
28
25
|
*/
|
|
29
|
-
|
|
26
|
+
name?: string;
|
|
30
27
|
/**
|
|
31
28
|
* @remarks
|
|
32
|
-
* The
|
|
29
|
+
* The type.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* file
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
type?: string;
|
|
35
35
|
static names(): { [key: string]: string } {
|
|
36
36
|
return {
|
|
37
|
-
name: 'name',
|
|
38
|
-
type: 'type',
|
|
39
37
|
content: 'content',
|
|
40
38
|
metadata: 'metadata',
|
|
39
|
+
name: 'name',
|
|
40
|
+
type: 'type',
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
static types(): { [key: string]: any } {
|
|
45
45
|
return {
|
|
46
|
-
name: 'string',
|
|
47
|
-
type: 'string',
|
|
48
46
|
content: 'string',
|
|
49
47
|
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
48
|
+
name: 'string',
|
|
49
|
+
type: 'string',
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ForcePublishSkillVersionRequestBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The commit message recorded on the release version produced by this publish operation. Takes effect in HEAD draft mode. If left empty, the draft message is used. Ignored in version Draft mode.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* First release version
|
|
12
|
+
*/
|
|
13
|
+
commitMsg?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* Specifies whether to update the latest label.
|
|
@@ -13,12 +21,14 @@ export class ForcePublishSkillVersionRequestBody extends $dara.Model {
|
|
|
13
21
|
updateLatestLabel?: boolean;
|
|
14
22
|
static names(): { [key: string]: string } {
|
|
15
23
|
return {
|
|
24
|
+
commitMsg: 'commitMsg',
|
|
16
25
|
updateLatestLabel: 'updateLatestLabel',
|
|
17
26
|
};
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
static types(): { [key: string]: any } {
|
|
21
30
|
return {
|
|
31
|
+
commitMsg: 'string',
|
|
22
32
|
updateLatestLabel: 'boolean',
|
|
23
33
|
};
|
|
24
34
|
}
|
|
@@ -33,6 +33,40 @@ export class GetAgentSpecLatestResponseBodyDataMcpServers extends $dara.Model {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
export class GetAgentSpecLatestResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* LABEL
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* latest
|
|
45
|
+
*/
|
|
46
|
+
value?: string;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
type: 'type',
|
|
50
|
+
value: 'value',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
type: 'string',
|
|
57
|
+
value: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validate() {
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
36
70
|
export class GetAgentSpecLatestResponseBodyDataSkills extends $dara.Model {
|
|
37
71
|
/**
|
|
38
72
|
* @remarks
|
|
@@ -42,19 +76,32 @@ export class GetAgentSpecLatestResponseBodyDataSkills extends $dara.Model {
|
|
|
42
76
|
* agentspec-example
|
|
43
77
|
*/
|
|
44
78
|
name?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* REFERENCE
|
|
82
|
+
*/
|
|
83
|
+
sourceType?: string;
|
|
84
|
+
versionSelector?: GetAgentSpecLatestResponseBodyDataSkillsVersionSelector;
|
|
45
85
|
static names(): { [key: string]: string } {
|
|
46
86
|
return {
|
|
47
87
|
name: 'name',
|
|
88
|
+
sourceType: 'sourceType',
|
|
89
|
+
versionSelector: 'versionSelector',
|
|
48
90
|
};
|
|
49
91
|
}
|
|
50
92
|
|
|
51
93
|
static types(): { [key: string]: any } {
|
|
52
94
|
return {
|
|
53
95
|
name: 'string',
|
|
96
|
+
sourceType: 'string',
|
|
97
|
+
versionSelector: GetAgentSpecLatestResponseBodyDataSkillsVersionSelector,
|
|
54
98
|
};
|
|
55
99
|
}
|
|
56
100
|
|
|
57
101
|
validate() {
|
|
102
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
103
|
+
(this.versionSelector as any).validate();
|
|
104
|
+
}
|
|
58
105
|
super.validate();
|
|
59
106
|
}
|
|
60
107
|
|