@alicloud/agentcore20260804 2.1.0 → 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 +96 -30
- package/dist/client.js +186 -30
- 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/CreateMcpRequest.d.ts +6 -6
- package/dist/models/CreateMcpResponseBody.d.ts +7 -7
- package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/DataI18nValue.d.ts +37 -0
- package/dist/models/DataI18nValue.js +62 -0
- package/dist/models/DataI18nValue.js.map +1 -0
- 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/GetMcpMarketItemResponseBody.d.ts +13 -5
- package/dist/models/GetMcpMarketItemResponseBody.js +6 -0
- package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -1
- package/dist/models/GetMcpResponseBody.d.ts +20 -20
- 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/InstallMcpMarketItemRequest.d.ts +41 -31
- package/dist/models/InstallMcpMarketItemRequest.js +5 -0
- package/dist/models/InstallMcpMarketItemRequest.js.map +1 -1
- package/dist/models/InstallMcpMarketItemResponseBody.d.ts +43 -38
- package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -1
- package/dist/models/ItemsI18nValue.d.ts +37 -0
- package/dist/models/ItemsI18nValue.js +62 -0
- package/dist/models/ItemsI18nValue.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/ListMcpMarketItemsResponseBody.d.ts +16 -8
- package/dist/models/ListMcpMarketItemsResponseBody.js +6 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -1
- package/dist/models/ListMcpsRequest.d.ts +9 -1
- package/dist/models/ListMcpsRequest.js +2 -0
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +7 -7
- 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/UpdateMcpTemplateConfigRequest.d.ts +31 -29
- package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -1
- package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +33 -31
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -1
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.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 +33 -0
- package/dist/models/model.js +210 -143
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +201 -30
- package/src/models/CreateManagedAgentRequest.ts +135 -20
- package/src/models/CreateManagedAgentResponseBody.ts +253 -25
- package/src/models/CreateMcpRequest.ts +6 -6
- package/src/models/CreateMcpResponseBody.ts +7 -7
- package/src/models/CreateMcpShrinkRequest.ts +1 -1
- package/src/models/DataI18nValue.ts +54 -0
- 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/GetMcpMarketItemResponseBody.ts +16 -5
- package/src/models/GetMcpResponseBody.ts +20 -20
- 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/InstallMcpMarketItemRequest.ts +46 -31
- package/src/models/InstallMcpMarketItemResponseBody.ts +43 -38
- package/src/models/ItemsI18nValue.ts +54 -0
- package/src/models/ListAgentSpecsRequest.ts +4 -4
- package/src/models/ListAgentSpecsResponseBody.ts +68 -2
- package/src/models/ListMcpMarketItemsResponseBody.ts +19 -8
- package/src/models/ListMcpsRequest.ts +11 -1
- package/src/models/ListMcpsResponseBody.ts +7 -7
- 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/UpdateMcpTemplateConfigRequest.ts +31 -29
- package/src/models/UpdateMcpTemplateConfigResponseBody.ts +33 -31
- package/src/models/UpdateMcpTemplateConfigShrinkRequest.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 +33 -0
|
@@ -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
|
|
|
@@ -2,6 +2,150 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. Each mount item is validated as required by the backend. 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
|
+
* The non-empty relative directory that exists under the AccessPoint. Each mount item is validated as required by the backend. Root directory, absolute paths, or parent directory segments are not allowed.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* workspace/data
|
|
20
|
+
*/
|
|
21
|
+
path?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Specifies whether to mount as read-only. Defaults to false if omitted. 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. Each mount item is validated as required by the backend. The value does not include protocol, port, or path. Obtain the value from the DomainName field in 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 GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector 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 GetManagedAgentResponseBodyDataConfiguredSkills 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?: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
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: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector,
|
|
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 GetManagedAgentResponseBodyDataEnvironmentCredentialReferences extends $dara.Model {
|
|
6
150
|
/**
|
|
7
151
|
* @remarks
|
|
@@ -161,12 +305,12 @@ export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
|
|
|
161
305
|
export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
162
306
|
/**
|
|
163
307
|
* @remarks
|
|
164
|
-
* The runtime
|
|
308
|
+
* The runtime framework configuration.
|
|
165
309
|
*/
|
|
166
310
|
configuration?: GetManagedAgentResponseBodyDataHarnessConfiguration;
|
|
167
311
|
/**
|
|
168
312
|
* @remarks
|
|
169
|
-
* The runtime
|
|
313
|
+
* The runtime framework type.
|
|
170
314
|
*
|
|
171
315
|
* @example
|
|
172
316
|
* qodercli
|
|
@@ -201,7 +345,7 @@ export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
|
|
|
201
345
|
export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
202
346
|
/**
|
|
203
347
|
* @remarks
|
|
204
|
-
* Indicates whether the quota is enabled.
|
|
348
|
+
* Indicates whether the quota is enabled. This field is not returned if no quota is configured.
|
|
205
349
|
*
|
|
206
350
|
* @example
|
|
207
351
|
* true
|
|
@@ -209,7 +353,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
209
353
|
enabled?: boolean;
|
|
210
354
|
/**
|
|
211
355
|
* @remarks
|
|
212
|
-
* The quota limit type. Currently only token is supported.
|
|
356
|
+
* The quota limit type. Currently, only token is supported.
|
|
213
357
|
*
|
|
214
358
|
* @example
|
|
215
359
|
* token
|
|
@@ -217,7 +361,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
217
361
|
limitType?: string;
|
|
218
362
|
/**
|
|
219
363
|
* @remarks
|
|
220
|
-
* Indicates whether the quota has been exceeded in the current period.
|
|
364
|
+
* Indicates whether the quota has been exceeded in the current period. This field is read-only and returned by the backend.
|
|
221
365
|
*
|
|
222
366
|
* @example
|
|
223
367
|
* false
|
|
@@ -233,7 +377,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
233
377
|
periodType?: string;
|
|
234
378
|
/**
|
|
235
379
|
* @remarks
|
|
236
|
-
* The gateway quota rule status.
|
|
380
|
+
* The gateway quota rule status. This field is read-only and returned by the backend.
|
|
237
381
|
*
|
|
238
382
|
* @example
|
|
239
383
|
* ACTIVE
|
|
@@ -249,7 +393,7 @@ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
|
|
|
249
393
|
usageLimit?: number;
|
|
250
394
|
/**
|
|
251
395
|
* @remarks
|
|
252
|
-
* The number of tokens consumed in the current period.
|
|
396
|
+
* The number of tokens consumed in the current period. This field is read-only and returned by the backend.
|
|
253
397
|
*
|
|
254
398
|
* @example
|
|
255
399
|
* 12345
|
|
@@ -307,7 +451,7 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
|
|
|
307
451
|
modelName?: string;
|
|
308
452
|
/**
|
|
309
453
|
* @remarks
|
|
310
|
-
* The model token quota configuration and usage status for the current period.
|
|
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?: GetManagedAgentResponseBodyDataModelQuota;
|
|
313
457
|
static names(): { [key: string]: string } {
|
|
@@ -441,7 +585,7 @@ export class GetManagedAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
441
585
|
export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
442
586
|
/**
|
|
443
587
|
* @remarks
|
|
444
|
-
* The OSS bucket name.
|
|
588
|
+
* The OSS bucket name. Each mount item is validated as required by the backend.
|
|
445
589
|
*
|
|
446
590
|
* @example
|
|
447
591
|
* bucket-001
|
|
@@ -449,7 +593,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
449
593
|
bucketName?: string;
|
|
450
594
|
/**
|
|
451
595
|
* @remarks
|
|
452
|
-
* The absolute mount path in the container.
|
|
596
|
+
* The absolute mount path in the container. Each mount item is validated as required by the backend.
|
|
453
597
|
*
|
|
454
598
|
* @example
|
|
455
599
|
* /mnt/oss/datasets
|
|
@@ -457,7 +601,7 @@ export class GetManagedAgentResponseBodyDataOssMounts 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
|
|
@@ -465,7 +609,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
465
609
|
path?: string;
|
|
466
610
|
/**
|
|
467
611
|
* @remarks
|
|
468
|
-
* Specifies whether to mount as read-only.
|
|
612
|
+
* Specifies whether to mount as read-only. Defaults to false if not specified.
|
|
469
613
|
*/
|
|
470
614
|
readOnly?: boolean;
|
|
471
615
|
static names(): { [key: string]: string } {
|
|
@@ -530,12 +674,12 @@ export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
|
530
674
|
export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
531
675
|
/**
|
|
532
676
|
* @remarks
|
|
533
|
-
* Specifies whether auto
|
|
677
|
+
* Specifies whether to enable auto scaling. This field is required when hpa is present, as validated by the backend.
|
|
534
678
|
*/
|
|
535
679
|
enabled?: boolean;
|
|
536
680
|
/**
|
|
537
681
|
* @remarks
|
|
538
|
-
* The maximum number of active sessions per sandbox.
|
|
682
|
+
* The maximum number of active sessions per sandbox. This parameter is required by backend validation when hpa is specified.
|
|
539
683
|
*
|
|
540
684
|
* @example
|
|
541
685
|
* 5
|
|
@@ -543,7 +687,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
543
687
|
maxConcurrentSessionsPerSandbox?: number;
|
|
544
688
|
/**
|
|
545
689
|
* @remarks
|
|
546
|
-
* The maximum number of sandboxes.
|
|
690
|
+
* The maximum number of sandboxes. This parameter is required when HPA is enabled and must be no less than the minimum value.
|
|
547
691
|
*
|
|
548
692
|
* @example
|
|
549
693
|
* 3
|
|
@@ -551,7 +695,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
551
695
|
maxSandboxCount?: number;
|
|
552
696
|
/**
|
|
553
697
|
* @remarks
|
|
554
|
-
* The minimum number of sandboxes.
|
|
698
|
+
* The minimum number of sandboxes. This parameter is required when HPA is enabled.
|
|
555
699
|
*
|
|
556
700
|
* @example
|
|
557
701
|
* 1
|
|
@@ -559,7 +703,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
559
703
|
minSandboxCount?: number;
|
|
560
704
|
/**
|
|
561
705
|
* @remarks
|
|
562
|
-
* The
|
|
706
|
+
* The time-to-live (TTL) of a session after inactivity, in seconds. This parameter is required by backend validation when hpa is specified.
|
|
563
707
|
*
|
|
564
708
|
* @example
|
|
565
709
|
* 3600
|
|
@@ -597,7 +741,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
597
741
|
export class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
598
742
|
/**
|
|
599
743
|
* @remarks
|
|
600
|
-
* The HTTP header
|
|
744
|
+
* The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
|
|
601
745
|
*
|
|
602
746
|
* @example
|
|
603
747
|
* X-Session-Id
|
|
@@ -646,7 +790,7 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
646
790
|
compute?: GetManagedAgentResponseBodyDataRuntimeCompute;
|
|
647
791
|
/**
|
|
648
792
|
* @remarks
|
|
649
|
-
* The sandbox auto
|
|
793
|
+
* The sandbox auto scaling and session configuration.
|
|
650
794
|
*/
|
|
651
795
|
hpa?: GetManagedAgentResponseBodyDataRuntimeHpa;
|
|
652
796
|
/**
|
|
@@ -690,17 +834,69 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
690
834
|
}
|
|
691
835
|
}
|
|
692
836
|
|
|
837
|
+
export class GetManagedAgentResponseBodyDataSkillsVersionSelector 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 GetManagedAgentResponseBodyDataSkills 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 GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
709
905
|
* 1.0.0
|
|
710
906
|
*/
|
|
711
907
|
version?: string;
|
|
908
|
+
versionSelector?: GetManagedAgentResponseBodyDataSkillsVersionSelector;
|
|
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: GetManagedAgentResponseBodyDataSkillsVersionSelector,
|
|
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
|
|
|
@@ -735,12 +945,12 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
|
|
|
735
945
|
export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
|
|
736
946
|
/**
|
|
737
947
|
* @remarks
|
|
738
|
-
* The
|
|
948
|
+
* The sub-agent instruction.
|
|
739
949
|
*
|
|
740
950
|
* This parameter is required.
|
|
741
951
|
*
|
|
742
952
|
* @example
|
|
743
|
-
*
|
|
953
|
+
* Please review the code
|
|
744
954
|
*/
|
|
745
955
|
instruction?: string;
|
|
746
956
|
/**
|
|
@@ -791,8 +1001,6 @@ export class GetManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Mod
|
|
|
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 GetManagedAgentResponseBodyData 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?: GetManagedAgentResponseBodyDataAgenticFsMounts[];
|
|
1119
|
+
/**
|
|
1120
|
+
* @remarks
|
|
1121
|
+
* 仅包含用户追加或覆盖的 Skill,不包含模板继承项。资源模型读取此字段以保留更新语义;创建和更新仍使用请求中的 skills。
|
|
1122
|
+
*/
|
|
1123
|
+
configuredSkills?: GetManagedAgentResponseBodyDataConfiguredSkills[];
|
|
906
1124
|
/**
|
|
907
1125
|
* @remarks
|
|
908
1126
|
* The creation mode.
|
|
@@ -942,7 +1160,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
942
1160
|
environment?: GetManagedAgentResponseBodyDataEnvironment;
|
|
943
1161
|
/**
|
|
944
1162
|
* @remarks
|
|
945
|
-
* The agent runtime
|
|
1163
|
+
* The agent runtime framework.
|
|
946
1164
|
*/
|
|
947
1165
|
harness?: GetManagedAgentResponseBodyDataHarness;
|
|
948
1166
|
/**
|
|
@@ -989,7 +1207,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
989
1207
|
network?: GetManagedAgentResponseBodyDataNetwork;
|
|
990
1208
|
/**
|
|
991
1209
|
* @remarks
|
|
992
|
-
* The OSS mount list. A maximum of 10
|
|
1210
|
+
* The OSS mount list. A maximum of 10 items are supported.
|
|
993
1211
|
*/
|
|
994
1212
|
ossMounts?: GetManagedAgentResponseBodyDataOssMounts[];
|
|
995
1213
|
/**
|
|
@@ -1007,7 +1225,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1007
1225
|
runtime?: GetManagedAgentResponseBodyDataRuntime;
|
|
1008
1226
|
/**
|
|
1009
1227
|
* @remarks
|
|
1010
|
-
* The instance
|
|
1228
|
+
* The instance count 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 map and new keys may be added in the future. You 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 GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1040
1258
|
tools?: GetManagedAgentResponseBodyDataTools[];
|
|
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 GetManagedAgentResponseBodyData 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 GetManagedAgentResponseBodyData extends $dara.Model {
|
|
|
1086
1306
|
static types(): { [key: string]: any } {
|
|
1087
1307
|
return {
|
|
1088
1308
|
agentId: 'string',
|
|
1309
|
+
agenticFsMounts: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataAgenticFsMounts },
|
|
1310
|
+
configuredSkills: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataConfiguredSkills },
|
|
1089
1311
|
createMode: 'string',
|
|
1090
1312
|
createdAt: 'string',
|
|
1091
1313
|
deployType: 'string',
|
|
@@ -1113,6 +1335,12 @@ export class GetManagedAgentResponseBodyData 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
|
}
|
|
@@ -1170,7 +1398,7 @@ export class GetManagedAgentResponseBody extends $dara.Model {
|
|
|
1170
1398
|
data?: GetManagedAgentResponseBodyData;
|
|
1171
1399
|
/**
|
|
1172
1400
|
* @remarks
|
|
1173
|
-
* The HTTP status code.
|
|
1401
|
+
* The HTTP status code. The value 200 indicates success.
|
|
1174
1402
|
*
|
|
1175
1403
|
* @example
|
|
1176
1404
|
* 200
|