@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,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgentSpecsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The AgentSpec name used as a search keyword.
|
|
8
|
+
* The AgentSpec name used as a search keyword. This parameter is used together with the search parameter.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* my-worker
|
|
@@ -21,7 +21,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
|
|
|
21
21
|
bizTag?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The field by which to sort results. Set
|
|
24
|
+
* The field by which to sort the results. Set the value to download_count to sort by download count. By default, results are sorted by update time.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* download_count
|
|
@@ -29,7 +29,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
|
|
|
29
29
|
orderBy?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The owner used to filter results.
|
|
32
|
+
* The owner used to filter the results.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* user1
|
|
@@ -53,7 +53,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
|
|
|
53
53
|
pageSize?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The visibility scope used to filter results. Valid values:
|
|
56
|
+
* The visibility scope used to filter the results. Valid values:
|
|
57
57
|
*
|
|
58
58
|
* - PUBLIC
|
|
59
59
|
* - PRIVATE
|
|
@@ -32,6 +32,49 @@ export class ListAgentSpecsResponseBodyDataPageItemsMcpServers extends $dara.Mod
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
export class ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector extends $dara.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The version selector type. Valid values:
|
|
39
|
+
*
|
|
40
|
+
* - LABEL: selects by label.
|
|
41
|
+
* - VERSION: selects by specific version.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* LABEL
|
|
45
|
+
*/
|
|
46
|
+
type?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The selector value. If the type is LABEL, this value is a label name such as latest. If the type is VERSION, this value is a specific version number.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* latest
|
|
53
|
+
*/
|
|
54
|
+
value?: string;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
type: 'type',
|
|
58
|
+
value: 'value',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
type: 'string',
|
|
65
|
+
value: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
validate() {
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
35
78
|
export class ListAgentSpecsResponseBodyDataPageItemsSkills extends $dara.Model {
|
|
36
79
|
/**
|
|
37
80
|
* @remarks
|
|
@@ -41,19 +84,42 @@ export class ListAgentSpecsResponseBodyDataPageItemsSkills extends $dara.Model {
|
|
|
41
84
|
* agentspec-example
|
|
42
85
|
*/
|
|
43
86
|
name?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The Skill source type. Valid values:
|
|
90
|
+
*
|
|
91
|
+
* - REFERENCE: references the AI Registry.
|
|
92
|
+
* - STATIC: statically bundled with the package.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* REFERENCE
|
|
96
|
+
*/
|
|
97
|
+
sourceType?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The referenced version selector. If omitted, the default value is LABEL/latest.
|
|
101
|
+
*/
|
|
102
|
+
versionSelector?: ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector;
|
|
44
103
|
static names(): { [key: string]: string } {
|
|
45
104
|
return {
|
|
46
105
|
name: 'name',
|
|
106
|
+
sourceType: 'sourceType',
|
|
107
|
+
versionSelector: 'versionSelector',
|
|
47
108
|
};
|
|
48
109
|
}
|
|
49
110
|
|
|
50
111
|
static types(): { [key: string]: any } {
|
|
51
112
|
return {
|
|
52
113
|
name: 'string',
|
|
114
|
+
sourceType: 'string',
|
|
115
|
+
versionSelector: ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector,
|
|
53
116
|
};
|
|
54
117
|
}
|
|
55
118
|
|
|
56
119
|
validate() {
|
|
120
|
+
if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
|
|
121
|
+
(this.versionSelector as any).validate();
|
|
122
|
+
}
|
|
57
123
|
super.validate();
|
|
58
124
|
}
|
|
59
125
|
|
|
@@ -89,7 +155,7 @@ export class ListAgentSpecsResponseBodyDataPageItems extends $dara.Model {
|
|
|
89
155
|
downloadCount?: number;
|
|
90
156
|
/**
|
|
91
157
|
* @remarks
|
|
92
|
-
* The version currently being edited.
|
|
158
|
+
* The version that is currently being edited.
|
|
93
159
|
*
|
|
94
160
|
* @example
|
|
95
161
|
* 1.0.0
|
|
@@ -136,7 +202,7 @@ export class ListAgentSpecsResponseBodyDataPageItems extends $dara.Model {
|
|
|
136
202
|
onlineCnt?: number;
|
|
137
203
|
/**
|
|
138
204
|
* @remarks
|
|
139
|
-
* The version currently under review.
|
|
205
|
+
* The version that is currently under review.
|
|
140
206
|
*
|
|
141
207
|
* @example
|
|
142
208
|
* 1.0.0
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ItemsI18nValue } from "./ItemsI18nValue";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The MCP marketplace template
|
|
9
|
+
* The category of the MCP marketplace template.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* knowledge
|
|
@@ -13,7 +14,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
13
14
|
category?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
* The MCP service
|
|
17
|
+
* The description of the MCP service.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* An MCP service for querying knowledge bases
|
|
@@ -24,6 +25,11 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
24
25
|
* The display metadata of the template.
|
|
25
26
|
*/
|
|
26
27
|
displayMetadata?: { [key: string]: any };
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The multilingual display content organized by BCP-47 language tags. Falls back to default fields if the specified language is not matched.
|
|
31
|
+
*/
|
|
32
|
+
i18n?: { [key: string]: ItemsI18nValue };
|
|
27
33
|
/**
|
|
28
34
|
* @remarks
|
|
29
35
|
* The icon URL of the MCP marketplace template.
|
|
@@ -42,7 +48,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
42
48
|
installCount?: number;
|
|
43
49
|
/**
|
|
44
50
|
* @remarks
|
|
45
|
-
* The MCP marketplace template
|
|
51
|
+
* The ID of the MCP marketplace template.
|
|
46
52
|
*
|
|
47
53
|
* @example
|
|
48
54
|
* market-1
|
|
@@ -58,7 +64,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
58
64
|
mcpType?: string;
|
|
59
65
|
/**
|
|
60
66
|
* @remarks
|
|
61
|
-
* The MCP marketplace template
|
|
67
|
+
* The name of the MCP marketplace template.
|
|
62
68
|
*
|
|
63
69
|
* @example
|
|
64
70
|
* Knowledge
|
|
@@ -82,7 +88,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
82
88
|
protocol?: string;
|
|
83
89
|
/**
|
|
84
90
|
* @remarks
|
|
85
|
-
* The usage instructions
|
|
91
|
+
* The usage instructions of the MCP marketplace template.
|
|
86
92
|
*
|
|
87
93
|
* @example
|
|
88
94
|
* # Knowledge\\nKnowledge base query service
|
|
@@ -90,7 +96,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
90
96
|
readme?: string;
|
|
91
97
|
/**
|
|
92
98
|
* @remarks
|
|
93
|
-
* The
|
|
99
|
+
* The schema version of the template.
|
|
94
100
|
*
|
|
95
101
|
* @example
|
|
96
102
|
* 1.0
|
|
@@ -106,7 +112,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
106
112
|
templateInputSchema?: string;
|
|
107
113
|
/**
|
|
108
114
|
* @remarks
|
|
109
|
-
* The MCP marketplace template
|
|
115
|
+
* The version of the MCP marketplace template.
|
|
110
116
|
*
|
|
111
117
|
* @example
|
|
112
118
|
* 1.0.0
|
|
@@ -117,6 +123,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
117
123
|
category: 'category',
|
|
118
124
|
description: 'description',
|
|
119
125
|
displayMetadata: 'displayMetadata',
|
|
126
|
+
i18n: 'i18n',
|
|
120
127
|
iconUrl: 'iconUrl',
|
|
121
128
|
installCount: 'installCount',
|
|
122
129
|
marketItemId: 'marketItemId',
|
|
@@ -136,6 +143,7 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
136
143
|
category: 'string',
|
|
137
144
|
description: 'string',
|
|
138
145
|
displayMetadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
146
|
+
i18n: { 'type': 'map', 'keyType': 'string', 'valueType': ItemsI18nValue },
|
|
139
147
|
iconUrl: 'string',
|
|
140
148
|
installCount: 'number',
|
|
141
149
|
marketItemId: 'string',
|
|
@@ -154,6 +162,9 @@ export class ListMcpMarketItemsResponseBodyItems extends $dara.Model {
|
|
|
154
162
|
if(this.displayMetadata) {
|
|
155
163
|
$dara.Model.validateMap(this.displayMetadata);
|
|
156
164
|
}
|
|
165
|
+
if(this.i18n) {
|
|
166
|
+
$dara.Model.validateMap(this.i18n);
|
|
167
|
+
}
|
|
157
168
|
super.validate();
|
|
158
169
|
}
|
|
159
170
|
|
|
@@ -223,7 +234,7 @@ export class ListMcpMarketItemsResponseBody extends $dara.Model {
|
|
|
223
234
|
success?: boolean;
|
|
224
235
|
/**
|
|
225
236
|
* @remarks
|
|
226
|
-
* The total number of records that match the
|
|
237
|
+
* The total number of records that match the specified conditions.
|
|
227
238
|
*
|
|
228
239
|
* @example
|
|
229
240
|
* 12
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListMcpsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Filters results by custom tag. The tag must be an exact match.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* KnowledgeBase
|
|
12
|
+
*/
|
|
13
|
+
customTag?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The maximum number of entries per page.
|
|
@@ -49,11 +57,12 @@ export class ListMcpsRequest extends $dara.Model {
|
|
|
49
57
|
searchType?: string;
|
|
50
58
|
/**
|
|
51
59
|
* @remarks
|
|
52
|
-
* Specifies whether the service is still bound by the official template usage
|
|
60
|
+
* Specifies whether the service is still bound by the official template usage.
|
|
53
61
|
*/
|
|
54
62
|
usageActive?: boolean;
|
|
55
63
|
static names(): { [key: string]: string } {
|
|
56
64
|
return {
|
|
65
|
+
customTag: 'customTag',
|
|
57
66
|
maxResults: 'maxResults',
|
|
58
67
|
name: 'name',
|
|
59
68
|
nextToken: 'nextToken',
|
|
@@ -65,6 +74,7 @@ export class ListMcpsRequest extends $dara.Model {
|
|
|
65
74
|
|
|
66
75
|
static types(): { [key: string]: any } {
|
|
67
76
|
return {
|
|
77
|
+
customTag: 'string',
|
|
68
78
|
maxResults: 'number',
|
|
69
79
|
name: 'string',
|
|
70
80
|
nextToken: 'string',
|
|
@@ -212,7 +212,7 @@ export class ListMcpsResponseBodyItemsAuth extends $dara.Model {
|
|
|
212
212
|
export class ListMcpsResponseBodyItemsDeploymentConfigAccessControl extends $dara.Model {
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
*
|
|
215
|
+
* The AgentCore Credential referenced when mode is set to CREDENTIAL.
|
|
216
216
|
*
|
|
217
217
|
* @example
|
|
218
218
|
* credential-id
|
|
@@ -225,7 +225,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigAccessControl extends $dar
|
|
|
225
225
|
enabled?: boolean;
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* ANONYMOUS indicates anonymous access. CREDENTIAL indicates using
|
|
228
|
+
* ANONYMOUS indicates anonymous access. CREDENTIAL indicates using AgentCore access credentials.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* CREDENTIAL
|
|
@@ -321,7 +321,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigCodeConfiguration extends
|
|
|
321
321
|
codePackageToken?: string;
|
|
322
322
|
/**
|
|
323
323
|
* @remarks
|
|
324
|
-
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and remaining arguments.
|
|
324
|
+
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass in supergateway, --stdio, the full subcommand, and the remaining arguments.
|
|
325
325
|
*/
|
|
326
326
|
command?: string[];
|
|
327
327
|
/**
|
|
@@ -464,7 +464,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigHookConfigurationHooks ext
|
|
|
464
464
|
* The hook description.
|
|
465
465
|
*
|
|
466
466
|
* @example
|
|
467
|
-
* Record MCP tool
|
|
467
|
+
* Record MCP tool calling invokes
|
|
468
468
|
*/
|
|
469
469
|
description?: string;
|
|
470
470
|
/**
|
|
@@ -580,7 +580,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigLogConfiguration extends $
|
|
|
580
580
|
enableRequestMetrics?: boolean;
|
|
581
581
|
/**
|
|
582
582
|
* @remarks
|
|
583
|
-
* The log
|
|
583
|
+
* The log segmentation begin rule for Function Compute (FC).
|
|
584
584
|
*
|
|
585
585
|
* @example
|
|
586
586
|
* DefaultRegex
|
|
@@ -596,7 +596,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigLogConfiguration extends $
|
|
|
596
596
|
logstore?: string;
|
|
597
597
|
/**
|
|
598
598
|
* @remarks
|
|
599
|
-
* The
|
|
599
|
+
* The Log Service project name.
|
|
600
600
|
*
|
|
601
601
|
* @example
|
|
602
602
|
* agentcore-mcp-logs
|
|
@@ -634,7 +634,7 @@ export class ListMcpsResponseBodyItemsDeploymentConfigLogConfiguration extends $
|
|
|
634
634
|
export class ListMcpsResponseBodyItemsDeploymentConfigMcpConfiguration extends $dara.Model {
|
|
635
635
|
/**
|
|
636
636
|
* @remarks
|
|
637
|
-
* The MCP endpoint path
|
|
637
|
+
* The MCP endpoint path, such as /mcp or /sse.
|
|
638
638
|
*
|
|
639
639
|
* @example
|
|
640
640
|
* /mcp
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListSkillReferencesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The page number, starting from 1. Default value: 1.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
pageNo?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of entries per page. If this parameter is not specified, the server-side default value is used.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 20
|
|
20
|
+
*/
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Filters results by reference selector type. Valid values: LABEL and VERSION.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* LABEL
|
|
28
|
+
*/
|
|
29
|
+
selectorType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Filters results by reference selector value, such as latest, a named label, HEAD, or a specific version.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* HEAD
|
|
36
|
+
*/
|
|
37
|
+
selectorValue?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
pageNo: 'pageNo',
|
|
41
|
+
pageSize: 'pageSize',
|
|
42
|
+
selectorType: 'selectorType',
|
|
43
|
+
selectorValue: 'selectorValue',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
pageNo: 'number',
|
|
50
|
+
pageSize: 'number',
|
|
51
|
+
selectorType: 'string',
|
|
52
|
+
selectorValue: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListSkillReferencesResponseBody } from "./ListSkillReferencesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListSkillReferencesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListSkillReferencesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListSkillReferencesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListSkillReferencesResponseBodyDataPageItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the referencing entity (the identifier of the Agent or AgentSpec).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* agent-1234567890abcdef
|
|
12
|
+
*/
|
|
13
|
+
ownerId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the referencing entity. Valid values: AGENT and AGENTSPEC.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* AGENT
|
|
20
|
+
*/
|
|
21
|
+
ownerType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The version of the referencing entity.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1.0.0
|
|
28
|
+
*/
|
|
29
|
+
ownerVersion?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The reference selector type. Valid values: LABEL and VERSION.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* LABEL
|
|
36
|
+
*/
|
|
37
|
+
selectorType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The reference selector value, such as latest, a named label, HEAD, or a specific version.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* HEAD
|
|
44
|
+
*/
|
|
45
|
+
selectorValue?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The name of the referenced skill.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* web-search
|
|
52
|
+
*/
|
|
53
|
+
skillName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The workspace ID to which the reference belongs.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ws-1234567890abcdef
|
|
60
|
+
*/
|
|
61
|
+
workspaceId?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
ownerId: 'ownerId',
|
|
65
|
+
ownerType: 'ownerType',
|
|
66
|
+
ownerVersion: 'ownerVersion',
|
|
67
|
+
selectorType: 'selectorType',
|
|
68
|
+
selectorValue: 'selectorValue',
|
|
69
|
+
skillName: 'skillName',
|
|
70
|
+
workspaceId: 'workspaceId',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
ownerId: 'string',
|
|
77
|
+
ownerType: 'string',
|
|
78
|
+
ownerVersion: 'string',
|
|
79
|
+
selectorType: 'string',
|
|
80
|
+
selectorValue: 'string',
|
|
81
|
+
skillName: 'string',
|
|
82
|
+
workspaceId: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class ListSkillReferencesResponseBodyData extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The list of skill reference relationships on the current page.
|
|
99
|
+
*/
|
|
100
|
+
pageItems?: ListSkillReferencesResponseBodyDataPageItems[];
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The current page number, starting from 1.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* 1
|
|
107
|
+
*/
|
|
108
|
+
pageNumber?: number;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The total number of available pages.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 5
|
|
115
|
+
*/
|
|
116
|
+
pagesAvailable?: number;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The total number of reference relationships that match the filter conditions.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* 100
|
|
123
|
+
*/
|
|
124
|
+
totalCount?: number;
|
|
125
|
+
static names(): { [key: string]: string } {
|
|
126
|
+
return {
|
|
127
|
+
pageItems: 'pageItems',
|
|
128
|
+
pageNumber: 'pageNumber',
|
|
129
|
+
pagesAvailable: 'pagesAvailable',
|
|
130
|
+
totalCount: 'totalCount',
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
static types(): { [key: string]: any } {
|
|
135
|
+
return {
|
|
136
|
+
pageItems: { 'type': 'array', 'itemType': ListSkillReferencesResponseBodyDataPageItems },
|
|
137
|
+
pageNumber: 'number',
|
|
138
|
+
pagesAvailable: 'number',
|
|
139
|
+
totalCount: 'number',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
validate() {
|
|
144
|
+
if(Array.isArray(this.pageItems)) {
|
|
145
|
+
$dara.Model.validateArray(this.pageItems);
|
|
146
|
+
}
|
|
147
|
+
super.validate();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class ListSkillReferencesResponseBody extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The skill reference relationship data returned by the paged query. The data is returned with paging.
|
|
159
|
+
*/
|
|
160
|
+
data?: ListSkillReferencesResponseBodyData;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The request ID, which is used for troubleshooting.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* 5C6D9E10-1234-5678-9ABC-DEF012345678
|
|
167
|
+
*/
|
|
168
|
+
requestId?: string;
|
|
169
|
+
static names(): { [key: string]: string } {
|
|
170
|
+
return {
|
|
171
|
+
data: 'data',
|
|
172
|
+
requestId: 'requestId',
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
static types(): { [key: string]: any } {
|
|
177
|
+
return {
|
|
178
|
+
data: ListSkillReferencesResponseBodyData,
|
|
179
|
+
requestId: 'string',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
validate() {
|
|
184
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
185
|
+
(this.data as any).validate();
|
|
186
|
+
}
|
|
187
|
+
super.validate();
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
constructor(map?: { [key: string]: any }) {
|
|
191
|
+
super(map);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
@@ -27,6 +27,11 @@ export class ListSkillsResponseBodyDataPageItems extends $dara.Model {
|
|
|
27
27
|
* 10
|
|
28
28
|
*/
|
|
29
29
|
downloadCount?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* HEAD
|
|
33
|
+
*/
|
|
34
|
+
draftMode?: string;
|
|
30
35
|
/**
|
|
31
36
|
* @remarks
|
|
32
37
|
* The version that is being edited.
|
|
@@ -119,6 +124,7 @@ export class ListSkillsResponseBodyDataPageItems extends $dara.Model {
|
|
|
119
124
|
bizTags: 'bizTags',
|
|
120
125
|
description: 'description',
|
|
121
126
|
downloadCount: 'downloadCount',
|
|
127
|
+
draftMode: 'draftMode',
|
|
122
128
|
editingVersion: 'editingVersion',
|
|
123
129
|
enable: 'enable',
|
|
124
130
|
from: 'from',
|
|
@@ -139,6 +145,7 @@ export class ListSkillsResponseBodyDataPageItems extends $dara.Model {
|
|
|
139
145
|
bizTags: 'string',
|
|
140
146
|
description: 'string',
|
|
141
147
|
downloadCount: 'number',
|
|
148
|
+
draftMode: 'string',
|
|
142
149
|
editingVersion: 'string',
|
|
143
150
|
enable: 'boolean',
|
|
144
151
|
from: 'string',
|