@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.
Files changed (152) hide show
  1. package/dist/client.d.ts +96 -30
  2. package/dist/client.js +186 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateManagedAgentRequest.d.ts +95 -20
  5. package/dist/models/CreateManagedAgentRequest.js +59 -1
  6. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  7. package/dist/models/CreateManagedAgentResponseBody.d.ts +171 -25
  8. package/dist/models/CreateManagedAgentResponseBody.js +119 -1
  9. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateMcpRequest.d.ts +6 -6
  11. package/dist/models/CreateMcpResponseBody.d.ts +7 -7
  12. package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
  13. package/dist/models/DataI18nValue.d.ts +37 -0
  14. package/dist/models/DataI18nValue.js +62 -0
  15. package/dist/models/DataI18nValue.js.map +1 -0
  16. package/dist/models/DataResourceValue.d.ts +15 -15
  17. package/dist/models/DataResourceValue.js +4 -4
  18. package/dist/models/DataResourceValue.js.map +1 -1
  19. package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
  20. package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
  21. package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
  22. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +28 -0
  23. package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
  24. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  25. package/dist/models/GetManagedAgentResponseBody.d.ts +176 -30
  26. package/dist/models/GetManagedAgentResponseBody.js +119 -1
  27. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  28. package/dist/models/GetMcpMarketItemResponseBody.d.ts +13 -5
  29. package/dist/models/GetMcpMarketItemResponseBody.js +6 -0
  30. package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -1
  31. package/dist/models/GetMcpResponseBody.d.ts +20 -20
  32. package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
  33. package/dist/models/GetSkillDetailResponseBody.js +4 -0
  34. package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
  35. package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
  36. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
  37. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
  38. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
  39. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
  40. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
  41. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
  42. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
  43. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
  44. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
  45. package/dist/models/InstallMcpMarketItemRequest.d.ts +41 -31
  46. package/dist/models/InstallMcpMarketItemRequest.js +5 -0
  47. package/dist/models/InstallMcpMarketItemRequest.js.map +1 -1
  48. package/dist/models/InstallMcpMarketItemResponseBody.d.ts +43 -38
  49. package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -1
  50. package/dist/models/ItemsI18nValue.d.ts +37 -0
  51. package/dist/models/ItemsI18nValue.js +62 -0
  52. package/dist/models/ItemsI18nValue.js.map +1 -0
  53. package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
  54. package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
  55. package/dist/models/ListAgentSpecsResponseBody.js +29 -1
  56. package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
  57. package/dist/models/ListMcpMarketItemsResponseBody.d.ts +16 -8
  58. package/dist/models/ListMcpMarketItemsResponseBody.js +6 -0
  59. package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -1
  60. package/dist/models/ListMcpsRequest.d.ts +9 -1
  61. package/dist/models/ListMcpsRequest.js +2 -0
  62. package/dist/models/ListMcpsRequest.js.map +1 -1
  63. package/dist/models/ListMcpsResponseBody.d.ts +7 -7
  64. package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
  65. package/dist/models/ListSkillReferencesRequest.js +64 -0
  66. package/dist/models/ListSkillReferencesRequest.js.map +1 -0
  67. package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
  68. package/dist/models/ListSkillReferencesResponse.js +69 -0
  69. package/dist/models/ListSkillReferencesResponse.js.map +1 -0
  70. package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
  71. package/dist/models/ListSkillReferencesResponseBody.js +122 -0
  72. package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
  73. package/dist/models/ListSkillsResponseBody.d.ts +5 -0
  74. package/dist/models/ListSkillsResponseBody.js +2 -0
  75. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  76. package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
  77. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
  78. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
  79. package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
  80. package/dist/models/PublishSkillVersionRequest.js +2 -0
  81. package/dist/models/PublishSkillVersionRequest.js.map +1 -1
  82. package/dist/models/UpdateManagedAgentRequest.d.ts +121 -29
  83. package/dist/models/UpdateManagedAgentRequest.js +59 -1
  84. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  85. package/dist/models/UpdateManagedAgentResponseBody.d.ts +231 -37
  86. package/dist/models/UpdateManagedAgentResponseBody.js +119 -1
  87. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  88. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  89. package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +31 -29
  90. package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -1
  91. package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +33 -31
  92. package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -1
  93. package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +1 -1
  94. package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
  95. package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
  96. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
  97. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
  98. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
  99. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
  100. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
  101. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
  102. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
  103. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
  104. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
  105. package/dist/models/model.d.ts +33 -0
  106. package/dist/models/model.js +210 -143
  107. package/dist/models/model.js.map +1 -1
  108. package/package.json +1 -1
  109. package/src/client.ts +201 -30
  110. package/src/models/CreateManagedAgentRequest.ts +135 -20
  111. package/src/models/CreateManagedAgentResponseBody.ts +253 -25
  112. package/src/models/CreateMcpRequest.ts +6 -6
  113. package/src/models/CreateMcpResponseBody.ts +7 -7
  114. package/src/models/CreateMcpShrinkRequest.ts +1 -1
  115. package/src/models/DataI18nValue.ts +54 -0
  116. package/src/models/DataResourceValue.ts +17 -17
  117. package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
  118. package/src/models/GetAgentSpecLatestResponseBody.ts +47 -0
  119. package/src/models/GetManagedAgentResponseBody.ts +258 -30
  120. package/src/models/GetMcpMarketItemResponseBody.ts +16 -5
  121. package/src/models/GetMcpResponseBody.ts +20 -20
  122. package/src/models/GetSkillDetailResponseBody.ts +24 -4
  123. package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
  124. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
  125. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
  126. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
  127. package/src/models/InstallMcpMarketItemRequest.ts +46 -31
  128. package/src/models/InstallMcpMarketItemResponseBody.ts +43 -38
  129. package/src/models/ItemsI18nValue.ts +54 -0
  130. package/src/models/ListAgentSpecsRequest.ts +4 -4
  131. package/src/models/ListAgentSpecsResponseBody.ts +68 -2
  132. package/src/models/ListMcpMarketItemsResponseBody.ts +19 -8
  133. package/src/models/ListMcpsRequest.ts +11 -1
  134. package/src/models/ListMcpsResponseBody.ts +7 -7
  135. package/src/models/ListSkillReferencesRequest.ts +64 -0
  136. package/src/models/ListSkillReferencesResponse.ts +40 -0
  137. package/src/models/ListSkillReferencesResponseBody.ts +194 -0
  138. package/src/models/ListSkillsResponseBody.ts +7 -0
  139. package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
  140. package/src/models/PublishSkillVersionRequest.ts +10 -0
  141. package/src/models/UpdateManagedAgentRequest.ts +161 -29
  142. package/src/models/UpdateManagedAgentResponseBody.ts +313 -37
  143. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  144. package/src/models/UpdateMcpTemplateConfigRequest.ts +31 -29
  145. package/src/models/UpdateMcpTemplateConfigResponseBody.ts +33 -31
  146. package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +1 -1
  147. package/src/models/UpdateSkillLabelsRequest.ts +1 -1
  148. package/src/models/UploadSkillViaOssRequest.ts +1 -1
  149. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
  150. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
  151. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
  152. package/src/models/model.ts +33 -0
package/dist/client.js CHANGED
@@ -1516,7 +1516,7 @@ class Client extends openapi_core_1.default {
1516
1516
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1517
1517
  *
1518
1518
  * @remarks
1519
- * ## Request description
1519
+ * ## Operation description
1520
1520
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1521
1521
  *
1522
1522
  * @param request - DeleteSkillRequest
@@ -1546,7 +1546,7 @@ class Client extends openapi_core_1.default {
1546
1546
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1547
1547
  *
1548
1548
  * @remarks
1549
- * ## Request description
1549
+ * ## Operation description
1550
1550
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1551
1551
  *
1552
1552
  * @param request - DeleteSkillRequest
@@ -1921,11 +1921,11 @@ class Client extends openapi_core_1.default {
1921
1921
  return await this.enableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
1922
1922
  }
1923
1923
  /**
1924
- * Skips the regular review process and forcibly publishes the specified Skill version.
1924
+ * Skips the regular review process and forcibly publishes a specified Skill version.
1925
1925
  *
1926
1926
  * @remarks
1927
- * ## Request description
1928
- * Skips the regular review process and forcibly publishes the specified Skill version.
1927
+ * ## Operation description
1928
+ * Skips the regular review process and forcibly publishes a specified Skill version.
1929
1929
  *
1930
1930
  * @param tmpReq - ForcePublishSkillVersionRequest
1931
1931
  * @param headers - map
@@ -1961,11 +1961,11 @@ class Client extends openapi_core_1.default {
1961
1961
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ForcePublishSkillVersionResponse({}));
1962
1962
  }
1963
1963
  /**
1964
- * Skips the regular review process and forcibly publishes the specified Skill version.
1964
+ * Skips the regular review process and forcibly publishes a specified Skill version.
1965
1965
  *
1966
1966
  * @remarks
1967
- * ## Request description
1968
- * Skips the regular review process and forcibly publishes the specified Skill version.
1967
+ * ## Operation description
1968
+ * Skips the regular review process and forcibly publishes a specified Skill version.
1969
1969
  *
1970
1970
  * @param request - ForcePublishSkillVersionRequest
1971
1971
  * @returns ForcePublishSkillVersionResponse
@@ -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
@@ -2965,6 +2965,60 @@ class Client extends openapi_core_1.default {
2965
2965
  let headers = {};
2966
2966
  return await this.getWorkspaceAcrRamAuthorizeUrlWithOptions(workspaceId, request, headers, runtime);
2967
2967
  }
2968
+ /**
2969
+ * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
2970
+ *
2971
+ * @remarks
2972
+ * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
2973
+ *
2974
+ * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
2975
+ * @param headers - map
2976
+ * @param runtime - runtime options for this request RuntimeOptions
2977
+ * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
2978
+ */
2979
+ async getWorkspaceAgenticFsMountRamAuthorizeUrlWithOptions(workspaceId, request, headers, runtime) {
2980
+ request.validate();
2981
+ let query = {};
2982
+ if (!$dara.isNull(request.accessPointId)) {
2983
+ query["accessPointId"] = request.accessPointId;
2984
+ }
2985
+ if (!$dara.isNull(request.fileSystemId)) {
2986
+ query["fileSystemId"] = request.fileSystemId;
2987
+ }
2988
+ if (!$dara.isNull(request.server)) {
2989
+ query["server"] = request.server;
2990
+ }
2991
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2992
+ headers: headers,
2993
+ query: openapi_core_2.OpenApiUtil.query(query),
2994
+ });
2995
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2996
+ action: "GetWorkspaceAgenticFsMountRamAuthorizeUrl",
2997
+ version: "2026-08-04",
2998
+ protocol: "HTTPS",
2999
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/agentic-fs/authorize`,
3000
+ method: "GET",
3001
+ authType: "AK",
3002
+ style: "ROA",
3003
+ reqBodyType: "json",
3004
+ bodyType: "json",
3005
+ });
3006
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse({}));
3007
+ }
3008
+ /**
3009
+ * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
3010
+ *
3011
+ * @remarks
3012
+ * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
3013
+ *
3014
+ * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
3015
+ * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
3016
+ */
3017
+ async getWorkspaceAgenticFsMountRamAuthorizeUrl(workspaceId, request) {
3018
+ let runtime = new $dara.RuntimeOptions({});
3019
+ let headers = {};
3020
+ return await this.getWorkspaceAgenticFsMountRamAuthorizeUrlWithOptions(workspaceId, request, headers, runtime);
3021
+ }
2968
3022
  /**
2969
3023
  * Queries the plug-in status of a specified workspace.
2970
3024
  *
@@ -3012,7 +3066,7 @@ class Client extends openapi_core_1.default {
3012
3066
  * Installs an MCP marketplace template.
3013
3067
  *
3014
3068
  * @remarks
3015
- * Validates input based on the specified template version and creates an MCP in the workspace.
3069
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
3016
3070
  *
3017
3071
  * @param tmpReq - InstallMcpMarketItemRequest
3018
3072
  * @param headers - map
@@ -3059,7 +3113,7 @@ class Client extends openapi_core_1.default {
3059
3113
  * Installs an MCP marketplace template.
3060
3114
  *
3061
3115
  * @remarks
3062
- * Validates input based on the specified template version and creates an MCP in the workspace.
3116
+ * Validates the input based on the specified template version and creates an MCP in the workspace.
3063
3117
  *
3064
3118
  * @param request - InstallMcpMarketItemRequest
3065
3119
  * @returns InstallMcpMarketItemResponse
@@ -3185,11 +3239,11 @@ class Client extends openapi_core_1.default {
3185
3239
  return await this.listAgentIMChannelsWithOptions(workspaceId, agentId, request, headers, runtime);
3186
3240
  }
3187
3241
  /**
3188
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
3242
+ * Queries AgentSpec resources in a specified workspace by using paging, and supports name-based search, sorting, and filtering by owner, visibility scope, and business labels.
3189
3243
  *
3190
3244
  * @remarks
3191
3245
  * ## Operation description
3192
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
3246
+ * Queries AgentSpec resources in a specified workspace by using paging, and supports name-based search, sorting, and filtering by owner, visibility scope, and business labels.
3193
3247
  *
3194
3248
  * @param request - ListAgentSpecsRequest
3195
3249
  * @param headers - map
@@ -3244,11 +3298,11 @@ class Client extends openapi_core_1.default {
3244
3298
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentSpecsResponse({}));
3245
3299
  }
3246
3300
  /**
3247
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
3301
+ * Queries AgentSpec resources in a specified workspace by using paging, and supports name-based search, sorting, and filtering by owner, visibility scope, and business labels.
3248
3302
  *
3249
3303
  * @remarks
3250
3304
  * ## Operation description
3251
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
3305
+ * Queries AgentSpec resources in a specified workspace by using paging, and supports name-based search, sorting, and filtering by owner, visibility scope, and business labels.
3252
3306
  *
3253
3307
  * @param request - ListAgentSpecsRequest
3254
3308
  * @returns ListAgentSpecsResponse
@@ -3745,6 +3799,9 @@ class Client extends openapi_core_1.default {
3745
3799
  async listMcpsWithOptions(workspaceId, request, headers, runtime) {
3746
3800
  request.validate();
3747
3801
  let query = {};
3802
+ if (!$dara.isNull(request.customTag)) {
3803
+ query["customTag"] = request.customTag;
3804
+ }
3748
3805
  if (!$dara.isNull(request.maxResults)) {
3749
3806
  query["maxResults"] = request.maxResults;
3750
3807
  }
@@ -4163,6 +4220,57 @@ class Client extends openapi_core_1.default {
4163
4220
  let headers = {};
4164
4221
  return await this.listServiceEndpointsWithOptions(workspaceId, request, headers, runtime);
4165
4222
  }
4223
+ /**
4224
+ * Queries the reference relationships of a skill.
4225
+ *
4226
+ * @param request - ListSkillReferencesRequest
4227
+ * @param headers - map
4228
+ * @param runtime - runtime options for this request RuntimeOptions
4229
+ * @returns ListSkillReferencesResponse
4230
+ */
4231
+ async listSkillReferencesWithOptions(workspaceId, skillName, request, headers, runtime) {
4232
+ request.validate();
4233
+ let query = {};
4234
+ if (!$dara.isNull(request.pageNo)) {
4235
+ query["pageNo"] = request.pageNo;
4236
+ }
4237
+ if (!$dara.isNull(request.pageSize)) {
4238
+ query["pageSize"] = request.pageSize;
4239
+ }
4240
+ if (!$dara.isNull(request.selectorType)) {
4241
+ query["selectorType"] = request.selectorType;
4242
+ }
4243
+ if (!$dara.isNull(request.selectorValue)) {
4244
+ query["selectorValue"] = request.selectorValue;
4245
+ }
4246
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4247
+ headers: headers,
4248
+ query: openapi_core_2.OpenApiUtil.query(query),
4249
+ });
4250
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4251
+ action: "ListSkillReferences",
4252
+ version: "2026-08-04",
4253
+ protocol: "HTTPS",
4254
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/skills/${$dara.URL.percentEncode(skillName)}/references`,
4255
+ method: "GET",
4256
+ authType: "AK",
4257
+ style: "ROA",
4258
+ reqBodyType: "json",
4259
+ bodyType: "json",
4260
+ });
4261
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillReferencesResponse({}));
4262
+ }
4263
+ /**
4264
+ * Queries the reference relationships of a skill.
4265
+ *
4266
+ * @param request - ListSkillReferencesRequest
4267
+ * @returns ListSkillReferencesResponse
4268
+ */
4269
+ async listSkillReferences(workspaceId, skillName, request) {
4270
+ let runtime = new $dara.RuntimeOptions({});
4271
+ let headers = {};
4272
+ return await this.listSkillReferencesWithOptions(workspaceId, skillName, request, headers, runtime);
4273
+ }
4166
4274
  /**
4167
4275
  * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
4168
4276
  *
@@ -4394,7 +4502,7 @@ class Client extends openapi_core_1.default {
4394
4502
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4395
4503
  *
4396
4504
  * @remarks
4397
- * ## Request description
4505
+ * ## Operation description
4398
4506
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4399
4507
  *
4400
4508
  * @param tmpReq - OfflineSkillRequest
@@ -4434,7 +4542,7 @@ class Client extends openapi_core_1.default {
4434
4542
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4435
4543
  *
4436
4544
  * @remarks
4437
- * ## Request description
4545
+ * ## Operation description
4438
4546
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4439
4547
  *
4440
4548
  * @param request - OfflineSkillRequest
@@ -4504,7 +4612,7 @@ class Client extends openapi_core_1.default {
4504
4612
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4505
4613
  *
4506
4614
  * @remarks
4507
- * ## Request description
4615
+ * ## Operation description
4508
4616
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4509
4617
  *
4510
4618
  * @param tmpReq - PrecheckSkillUploadViaOssRequest
@@ -4544,7 +4652,7 @@ class Client extends openapi_core_1.default {
4544
4652
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4545
4653
  *
4546
4654
  * @remarks
4547
- * ## Request description
4655
+ * ## Operation description
4548
4656
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4549
4657
  *
4550
4658
  * @param request - PrecheckSkillUploadViaOssRequest
@@ -4556,11 +4664,11 @@ class Client extends openapi_core_1.default {
4556
4664
  return await this.precheckSkillUploadViaOssWithOptions(workspaceId, request, headers, runtime);
4557
4665
  }
4558
4666
  /**
4559
- * Publishes a specified Skill version to change its state to published.
4667
+ * Publishes a specified Skill version to transition it to the published state.
4560
4668
  *
4561
4669
  * @remarks
4562
4670
  * ## Operation description
4563
- * Publishes a specified Skill version to change its state to published.
4671
+ * Publishes a specified Skill version to transition it to the published state.
4564
4672
  *
4565
4673
  * @param tmpReq - PublishSkillVersionRequest
4566
4674
  * @param headers - map
@@ -4596,11 +4704,11 @@ class Client extends openapi_core_1.default {
4596
4704
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishSkillVersionResponse({}));
4597
4705
  }
4598
4706
  /**
4599
- * Publishes a specified Skill version to change its state to published.
4707
+ * Publishes a specified Skill version to transition it to the published state.
4600
4708
  *
4601
4709
  * @remarks
4602
4710
  * ## Operation description
4603
- * Publishes a specified Skill version to change its state to published.
4711
+ * Publishes a specified Skill version to transition it to the published state.
4604
4712
  *
4605
4713
  * @param request - PublishSkillVersionRequest
4606
4714
  * @returns PublishSkillVersionResponse
@@ -5325,7 +5433,7 @@ class Client extends openapi_core_1.default {
5325
5433
  * Updates MCP parameters by template.
5326
5434
  *
5327
5435
  * @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.
5436
+ * 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
5437
  *
5330
5438
  * @param tmpReq - UpdateMcpTemplateConfigRequest
5331
5439
  * @param headers - map
@@ -5372,7 +5480,7 @@ class Client extends openapi_core_1.default {
5372
5480
  * Updates MCP parameters by template.
5373
5481
  *
5374
5482
  * @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.
5483
+ * 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
5484
  *
5377
5485
  * @param request - UpdateMcpTemplateConfigRequest
5378
5486
  * @returns UpdateMcpTemplateConfigResponse
@@ -5555,7 +5663,7 @@ class Client extends openapi_core_1.default {
5555
5663
  * Updates the version labels and their mappings for a specified Skill.
5556
5664
  *
5557
5665
  * @remarks
5558
- * ## Request description
5666
+ * ## Operation description
5559
5667
  * Updates the version labels and their mappings for a specified Skill.
5560
5668
  *
5561
5669
  * @param tmpReq - UpdateSkillLabelsRequest
@@ -5595,7 +5703,7 @@ class Client extends openapi_core_1.default {
5595
5703
  * Updates the version labels and their mappings for a specified Skill.
5596
5704
  *
5597
5705
  * @remarks
5598
- * ## Request description
5706
+ * ## Operation description
5599
5707
  * Updates the version labels and their mappings for a specified Skill.
5600
5708
  *
5601
5709
  * @param request - UpdateSkillLabelsRequest
@@ -6040,6 +6148,54 @@ class Client extends openapi_core_1.default {
6040
6148
  let headers = {};
6041
6149
  return await this.verifyWorkspaceAcrRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
6042
6150
  }
6151
+ /**
6152
+ * Queries the RAM authorization status of AgenticFS mounting for a workspace.
6153
+ *
6154
+ * @remarks
6155
+ * Determines the shared role and target access point based on the workspace and server, checks whether the role has a mounted policy with the expected name and a type of Custom, and returns AUTHORIZED or UNAUTHORIZED. Consistent with OSS/ACR, this operation does not verify the policy body, role trust, or actual mount read/write permissions. If the upstream query fails, an error is returned.
6156
+ *
6157
+ * @param request - VerifyWorkspaceAgenticFsMountRamAuthorizationRequest
6158
+ * @param headers - map
6159
+ * @param runtime - runtime options for this request RuntimeOptions
6160
+ * @returns VerifyWorkspaceAgenticFsMountRamAuthorizationResponse
6161
+ */
6162
+ async verifyWorkspaceAgenticFsMountRamAuthorizationWithOptions(workspaceId, request, headers, runtime) {
6163
+ request.validate();
6164
+ let query = {};
6165
+ if (!$dara.isNull(request.server)) {
6166
+ query["server"] = request.server;
6167
+ }
6168
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6169
+ headers: headers,
6170
+ query: openapi_core_2.OpenApiUtil.query(query),
6171
+ });
6172
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6173
+ action: "VerifyWorkspaceAgenticFsMountRamAuthorization",
6174
+ version: "2026-08-04",
6175
+ protocol: "HTTPS",
6176
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/agentic-fs/authorize/verify`,
6177
+ method: "GET",
6178
+ authType: "AK",
6179
+ style: "ROA",
6180
+ reqBodyType: "json",
6181
+ bodyType: "json",
6182
+ });
6183
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceAgenticFsMountRamAuthorizationResponse({}));
6184
+ }
6185
+ /**
6186
+ * Queries the RAM authorization status of AgenticFS mounting for a workspace.
6187
+ *
6188
+ * @remarks
6189
+ * Determines the shared role and target access point based on the workspace and server, checks whether the role has a mounted policy with the expected name and a type of Custom, and returns AUTHORIZED or UNAUTHORIZED. Consistent with OSS/ACR, this operation does not verify the policy body, role trust, or actual mount read/write permissions. If the upstream query fails, an error is returned.
6190
+ *
6191
+ * @param request - VerifyWorkspaceAgenticFsMountRamAuthorizationRequest
6192
+ * @returns VerifyWorkspaceAgenticFsMountRamAuthorizationResponse
6193
+ */
6194
+ async verifyWorkspaceAgenticFsMountRamAuthorization(workspaceId, request) {
6195
+ let runtime = new $dara.RuntimeOptions({});
6196
+ let headers = {};
6197
+ return await this.verifyWorkspaceAgenticFsMountRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
6198
+ }
6043
6199
  /**
6044
6200
  * Verifies the RAM authorization for a workspace to access an OSS bucket and returns the current authorization status. When bucketName is specified, verifies the authorization for an agent-mounted bucket. When bucketName is not specified, verifies and updates the authorization status of the workspace\\"s private OSS storage.
6045
6201
  *