@alicloud/agentcore20260804 2.1.0 → 2.1.1

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.
Files changed (54) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +11 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateMcpRequest.d.ts +6 -6
  5. package/dist/models/CreateMcpResponseBody.d.ts +7 -7
  6. package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
  7. package/dist/models/DataI18nValue.d.ts +37 -0
  8. package/dist/models/DataI18nValue.js +62 -0
  9. package/dist/models/DataI18nValue.js.map +1 -0
  10. package/dist/models/GetMcpMarketItemResponseBody.d.ts +13 -5
  11. package/dist/models/GetMcpMarketItemResponseBody.js +6 -0
  12. package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -1
  13. package/dist/models/GetMcpResponseBody.d.ts +20 -20
  14. package/dist/models/InstallMcpMarketItemRequest.d.ts +41 -31
  15. package/dist/models/InstallMcpMarketItemRequest.js +5 -0
  16. package/dist/models/InstallMcpMarketItemRequest.js.map +1 -1
  17. package/dist/models/InstallMcpMarketItemResponseBody.d.ts +43 -38
  18. package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -1
  19. package/dist/models/ItemsI18nValue.d.ts +37 -0
  20. package/dist/models/ItemsI18nValue.js +62 -0
  21. package/dist/models/ItemsI18nValue.js.map +1 -0
  22. package/dist/models/ListMcpMarketItemsResponseBody.d.ts +16 -8
  23. package/dist/models/ListMcpMarketItemsResponseBody.js +6 -0
  24. package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -1
  25. package/dist/models/ListMcpsRequest.d.ts +9 -1
  26. package/dist/models/ListMcpsRequest.js +2 -0
  27. package/dist/models/ListMcpsRequest.js.map +1 -1
  28. package/dist/models/ListMcpsResponseBody.d.ts +7 -7
  29. package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +31 -29
  30. package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -1
  31. package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +33 -31
  32. package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -1
  33. package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +1 -1
  34. package/dist/models/model.d.ts +2 -0
  35. package/dist/models/model.js +13 -9
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +12 -8
  39. package/src/models/CreateMcpRequest.ts +6 -6
  40. package/src/models/CreateMcpResponseBody.ts +7 -7
  41. package/src/models/CreateMcpShrinkRequest.ts +1 -1
  42. package/src/models/DataI18nValue.ts +54 -0
  43. package/src/models/GetMcpMarketItemResponseBody.ts +16 -5
  44. package/src/models/GetMcpResponseBody.ts +20 -20
  45. package/src/models/InstallMcpMarketItemRequest.ts +46 -31
  46. package/src/models/InstallMcpMarketItemResponseBody.ts +43 -38
  47. package/src/models/ItemsI18nValue.ts +54 -0
  48. package/src/models/ListMcpMarketItemsResponseBody.ts +19 -8
  49. package/src/models/ListMcpsRequest.ts +11 -1
  50. package/src/models/ListMcpsResponseBody.ts +7 -7
  51. package/src/models/UpdateMcpTemplateConfigRequest.ts +31 -29
  52. package/src/models/UpdateMcpTemplateConfigResponseBody.ts +33 -31
  53. package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +1 -1
  54. package/src/models/model.ts +2 -0
package/dist/client.d.ts CHANGED
@@ -1123,11 +1123,11 @@ export default class Client extends OpenApi {
1123
1123
  */
1124
1124
  getManagedAgent(workspaceId: string, agentId: string, request: $_model.GetManagedAgentRequest): Promise<$_model.GetManagedAgentResponse>;
1125
1125
  /**
1126
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
1126
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
1127
1127
  *
1128
1128
  * @remarks
1129
1129
  * ## Operation description
1130
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
1130
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
1131
1131
  *
1132
1132
  * @param request - GetMcpRequest
1133
1133
  * @param headers - map
@@ -1138,11 +1138,11 @@ export default class Client extends OpenApi {
1138
1138
  [key: string]: string;
1139
1139
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetMcpResponse>;
1140
1140
  /**
1141
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
1141
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
1142
1142
  *
1143
1143
  * @remarks
1144
1144
  * ## Operation description
1145
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
1145
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
1146
1146
  *
1147
1147
  * @param request - GetMcpRequest
1148
1148
  * @returns GetMcpResponse
@@ -1446,7 +1446,7 @@ export default class Client extends OpenApi {
1446
1446
  * Installs an MCP marketplace template.
1447
1447
  *
1448
1448
  * @remarks
1449
- * Validates input based on the specified template version and creates an MCP in the workspace.
1449
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
1450
1450
  *
1451
1451
  * @param tmpReq - InstallMcpMarketItemRequest
1452
1452
  * @param headers - map
@@ -1460,7 +1460,7 @@ export default class Client extends OpenApi {
1460
1460
  * Installs an MCP marketplace template.
1461
1461
  *
1462
1462
  * @remarks
1463
- * Validates input based on the specified template version and creates an MCP in the workspace.
1463
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
1464
1464
  *
1465
1465
  * @param request - InstallMcpMarketItemRequest
1466
1466
  * @returns InstallMcpMarketItemResponse
@@ -2420,7 +2420,7 @@ export default class Client extends OpenApi {
2420
2420
  * Updates MCP parameters by template.
2421
2421
  *
2422
2422
  * @remarks
2423
- * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
2423
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created, without upgrading the template version.
2424
2424
  *
2425
2425
  * @param tmpReq - UpdateMcpTemplateConfigRequest
2426
2426
  * @param headers - map
@@ -2434,7 +2434,7 @@ export default class Client extends OpenApi {
2434
2434
  * Updates MCP parameters by template.
2435
2435
  *
2436
2436
  * @remarks
2437
- * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
2437
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created, without upgrading the template version.
2438
2438
  *
2439
2439
  * @param request - UpdateMcpTemplateConfigRequest
2440
2440
  * @returns UpdateMcpTemplateConfigResponse
package/dist/client.js CHANGED
@@ -2407,11 +2407,11 @@ class Client extends openapi_core_1.default {
2407
2407
  return await this.getManagedAgentWithOptions(workspaceId, agentId, request, headers, runtime);
2408
2408
  }
2409
2409
  /**
2410
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2410
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
2411
2411
  *
2412
2412
  * @remarks
2413
2413
  * ## Operation description
2414
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2414
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
2415
2415
  *
2416
2416
  * @param request - GetMcpRequest
2417
2417
  * @param headers - map
@@ -2437,11 +2437,11 @@ class Client extends openapi_core_1.default {
2437
2437
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpResponse({}));
2438
2438
  }
2439
2439
  /**
2440
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2440
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
2441
2441
  *
2442
2442
  * @remarks
2443
2443
  * ## Operation description
2444
- * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2444
+ * Queries the details of a specified MCP server, including the address, type, status, authentication configuration, and protocol.
2445
2445
  *
2446
2446
  * @param request - GetMcpRequest
2447
2447
  * @returns GetMcpResponse
@@ -3012,7 +3012,7 @@ class Client extends openapi_core_1.default {
3012
3012
  * Installs an MCP marketplace template.
3013
3013
  *
3014
3014
  * @remarks
3015
- * Validates input based on the specified template version and creates an MCP in the workspace.
3015
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
3016
3016
  *
3017
3017
  * @param tmpReq - InstallMcpMarketItemRequest
3018
3018
  * @param headers - map
@@ -3059,7 +3059,7 @@ class Client extends openapi_core_1.default {
3059
3059
  * Installs an MCP marketplace template.
3060
3060
  *
3061
3061
  * @remarks
3062
- * Validates input based on the specified template version and creates an MCP in the workspace.
3062
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
3063
3063
  *
3064
3064
  * @param request - InstallMcpMarketItemRequest
3065
3065
  * @returns InstallMcpMarketItemResponse
@@ -3745,6 +3745,9 @@ class Client extends openapi_core_1.default {
3745
3745
  async listMcpsWithOptions(workspaceId, request, headers, runtime) {
3746
3746
  request.validate();
3747
3747
  let query = {};
3748
+ if (!$dara.isNull(request.customTag)) {
3749
+ query["customTag"] = request.customTag;
3750
+ }
3748
3751
  if (!$dara.isNull(request.maxResults)) {
3749
3752
  query["maxResults"] = request.maxResults;
3750
3753
  }
@@ -5325,7 +5328,7 @@ class Client extends openapi_core_1.default {
5325
5328
  * Updates MCP parameters by template.
5326
5329
  *
5327
5330
  * @remarks
5328
- * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
5331
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created, without upgrading the template version.
5329
5332
  *
5330
5333
  * @param tmpReq - UpdateMcpTemplateConfigRequest
5331
5334
  * @param headers - map
@@ -5372,7 +5375,7 @@ class Client extends openapi_core_1.default {
5372
5375
  * Updates MCP parameters by template.
5373
5376
  *
5374
5377
  * @remarks
5375
- * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
5378
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created, without upgrading the template version.
5376
5379
  *
5377
5380
  * @param request - UpdateMcpTemplateConfigRequest
5378
5381
  * @returns UpdateMcpTemplateConfigResponse