@alicloud/agentcore20260804 2.1.1 → 2.2.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 (117) hide show
  1. package/dist/client.d.ts +102 -36
  2. package/dist/client.js +189 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateManagedAgentRequest.d.ts +150 -25
  5. package/dist/models/CreateManagedAgentRequest.js +85 -1
  6. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  7. package/dist/models/CreateManagedAgentResponseBody.d.ts +259 -32
  8. package/dist/models/CreateManagedAgentResponseBody.js +145 -1
  9. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  11. package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
  12. package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
  13. package/dist/models/DataResourceValue.d.ts +15 -15
  14. package/dist/models/DataResourceValue.js +4 -4
  15. package/dist/models/DataResourceValue.js.map +1 -1
  16. package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
  17. package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
  18. package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
  19. package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
  20. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +47 -2
  21. package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
  22. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  23. package/dist/models/GetManagedAgentResponseBody.d.ts +260 -31
  24. package/dist/models/GetManagedAgentResponseBody.js +145 -1
  25. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  26. package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
  27. package/dist/models/GetSkillDetailResponseBody.js +4 -0
  28. package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
  29. package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
  30. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
  31. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
  32. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
  33. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
  34. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
  35. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
  36. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
  37. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
  38. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
  39. package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
  40. package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
  41. package/dist/models/ListAgentSpecsResponseBody.js +29 -1
  42. package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
  43. package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
  44. package/dist/models/ListSkillReferencesRequest.js +64 -0
  45. package/dist/models/ListSkillReferencesRequest.js.map +1 -0
  46. package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
  47. package/dist/models/ListSkillReferencesResponse.js +69 -0
  48. package/dist/models/ListSkillReferencesResponse.js.map +1 -0
  49. package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
  50. package/dist/models/ListSkillReferencesResponseBody.js +122 -0
  51. package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
  52. package/dist/models/ListSkillsRequest.d.ts +2 -2
  53. package/dist/models/ListSkillsResponseBody.d.ts +15 -3
  54. package/dist/models/ListSkillsResponseBody.js +2 -0
  55. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  56. package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
  57. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
  58. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
  59. package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
  60. package/dist/models/PublishSkillVersionRequest.js +2 -0
  61. package/dist/models/PublishSkillVersionRequest.js.map +1 -1
  62. package/dist/models/UpdateManagedAgentRequest.d.ts +154 -31
  63. package/dist/models/UpdateManagedAgentRequest.js +85 -1
  64. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  65. package/dist/models/UpdateManagedAgentResponseBody.d.ts +263 -36
  66. package/dist/models/UpdateManagedAgentResponseBody.js +145 -1
  67. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  68. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  69. package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
  70. package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
  71. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
  72. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
  73. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
  74. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
  75. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
  76. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
  77. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
  78. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
  79. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
  80. package/dist/models/model.d.ts +36 -0
  81. package/dist/models/model.js +216 -143
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +203 -36
  85. package/src/models/CreateManagedAgentRequest.ts +207 -25
  86. package/src/models/CreateManagedAgentResponseBody.ts +358 -32
  87. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  88. package/src/models/CreateSkillDraftRequest.ts +1 -1
  89. package/src/models/CreateSkillDraftResponseBody.ts +1 -1
  90. package/src/models/DataResourceValue.ts +17 -17
  91. package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
  92. package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
  93. package/src/models/GetAgentSpecLatestResponseBody.ts +66 -2
  94. package/src/models/GetManagedAgentResponseBody.ts +359 -31
  95. package/src/models/GetSkillDetailResponseBody.ts +24 -4
  96. package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
  97. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
  98. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
  99. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
  100. package/src/models/ListAgentSpecsRequest.ts +4 -4
  101. package/src/models/ListAgentSpecsResponseBody.ts +68 -2
  102. package/src/models/ListSkillReferencesRequest.ts +64 -0
  103. package/src/models/ListSkillReferencesResponse.ts +40 -0
  104. package/src/models/ListSkillReferencesResponseBody.ts +194 -0
  105. package/src/models/ListSkillsRequest.ts +2 -2
  106. package/src/models/ListSkillsResponseBody.ts +17 -3
  107. package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
  108. package/src/models/PublishSkillVersionRequest.ts +10 -0
  109. package/src/models/UpdateManagedAgentRequest.ts +211 -31
  110. package/src/models/UpdateManagedAgentResponseBody.ts +362 -36
  111. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  112. package/src/models/UpdateSkillLabelsRequest.ts +1 -1
  113. package/src/models/UploadSkillViaOssRequest.ts +1 -1
  114. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
  115. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
  116. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
  117. package/src/models/model.ts +36 -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
@@ -1561,7 +1561,7 @@ class Client extends openapi_core_1.default {
1561
1561
  * Deletes the draft version currently being edited for a specified Skill.
1562
1562
  *
1563
1563
  * @remarks
1564
- * ## Request description
1564
+ * ## Operation description
1565
1565
  * Deletes the draft version currently being edited for a specified Skill.
1566
1566
  *
1567
1567
  * @param request - DeleteSkillDraftRequest
@@ -1591,7 +1591,7 @@ class Client extends openapi_core_1.default {
1591
1591
  * Deletes the draft version currently being edited for a specified Skill.
1592
1592
  *
1593
1593
  * @remarks
1594
- * ## Request description
1594
+ * ## Operation description
1595
1595
  * Deletes the draft version currently being edited for a specified Skill.
1596
1596
  *
1597
1597
  * @param request - DeleteSkillDraftRequest
@@ -1826,7 +1826,7 @@ class Client extends openapi_core_1.default {
1826
1826
  * Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
1827
1827
  *
1828
1828
  * @remarks
1829
- * ## Request description
1829
+ * ## Operation description
1830
1830
  * Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
1831
1831
  *
1832
1832
  * @param request - DownloadSkillVersionViaOssRequest
@@ -1856,7 +1856,7 @@ class Client extends openapi_core_1.default {
1856
1856
  * Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
1857
1857
  *
1858
1858
  * @remarks
1859
- * ## Request description
1859
+ * ## Operation description
1860
1860
  * Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
1861
1861
  *
1862
1862
  * @param request - DownloadSkillVersionViaOssRequest
@@ -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
@@ -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
  *
@@ -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
@@ -4167,11 +4221,62 @@ class Client extends openapi_core_1.default {
4167
4221
  return await this.listServiceEndpointsWithOptions(workspaceId, request, headers, runtime);
4168
4222
  }
4169
4223
  /**
4170
- * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
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
+ }
4274
+ /**
4275
+ * Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
4171
4276
  *
4172
4277
  * @remarks
4173
4278
  * ## Operation description
4174
- * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
4279
+ * Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
4175
4280
  *
4176
4281
  * @param request - ListSkillsRequest
4177
4282
  * @param headers - map
@@ -4226,11 +4331,11 @@ class Client extends openapi_core_1.default {
4226
4331
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSkillsResponse({}));
4227
4332
  }
4228
4333
  /**
4229
- * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
4334
+ * Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
4230
4335
  *
4231
4336
  * @remarks
4232
4337
  * ## Operation description
4233
- * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
4338
+ * Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
4234
4339
  *
4235
4340
  * @param request - ListSkillsRequest
4236
4341
  * @returns ListSkillsResponse
@@ -4397,7 +4502,7 @@ class Client extends openapi_core_1.default {
4397
4502
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4398
4503
  *
4399
4504
  * @remarks
4400
- * ## Request description
4505
+ * ## Operation description
4401
4506
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4402
4507
  *
4403
4508
  * @param tmpReq - OfflineSkillRequest
@@ -4437,7 +4542,7 @@ class Client extends openapi_core_1.default {
4437
4542
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4438
4543
  *
4439
4544
  * @remarks
4440
- * ## Request description
4545
+ * ## Operation description
4441
4546
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
4442
4547
  *
4443
4548
  * @param request - OfflineSkillRequest
@@ -4507,7 +4612,7 @@ class Client extends openapi_core_1.default {
4507
4612
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4508
4613
  *
4509
4614
  * @remarks
4510
- * ## Request description
4615
+ * ## Operation description
4511
4616
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4512
4617
  *
4513
4618
  * @param tmpReq - PrecheckSkillUploadViaOssRequest
@@ -4547,7 +4652,7 @@ class Client extends openapi_core_1.default {
4547
4652
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4548
4653
  *
4549
4654
  * @remarks
4550
- * ## Request description
4655
+ * ## Operation description
4551
4656
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
4552
4657
  *
4553
4658
  * @param request - PrecheckSkillUploadViaOssRequest
@@ -4559,11 +4664,11 @@ class Client extends openapi_core_1.default {
4559
4664
  return await this.precheckSkillUploadViaOssWithOptions(workspaceId, request, headers, runtime);
4560
4665
  }
4561
4666
  /**
4562
- * Publishes a specified Skill version to change its state to published.
4667
+ * Publishes a specified Skill version to transition it to the published state.
4563
4668
  *
4564
4669
  * @remarks
4565
4670
  * ## Operation description
4566
- * Publishes a specified Skill version to change its state to published.
4671
+ * Publishes a specified Skill version to transition it to the published state.
4567
4672
  *
4568
4673
  * @param tmpReq - PublishSkillVersionRequest
4569
4674
  * @param headers - map
@@ -4599,11 +4704,11 @@ class Client extends openapi_core_1.default {
4599
4704
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishSkillVersionResponse({}));
4600
4705
  }
4601
4706
  /**
4602
- * Publishes a specified Skill version to change its state to published.
4707
+ * Publishes a specified Skill version to transition it to the published state.
4603
4708
  *
4604
4709
  * @remarks
4605
4710
  * ## Operation description
4606
- * Publishes a specified Skill version to change its state to published.
4711
+ * Publishes a specified Skill version to transition it to the published state.
4607
4712
  *
4608
4713
  * @param request - PublishSkillVersionRequest
4609
4714
  * @returns PublishSkillVersionResponse
@@ -4614,11 +4719,11 @@ class Client extends openapi_core_1.default {
4614
4719
  return await this.publishSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
4615
4720
  }
4616
4721
  /**
4617
- * Converts a specified Skill version back into an editable draft for further modifications.
4722
+ * Converts a specified Skill version back to an editable draft so that you can continue to modify it.
4618
4723
  *
4619
4724
  * @remarks
4620
- * ## Operation description
4621
- * Converts a specified Skill version back into an editable draft for further modifications.
4725
+ * ## Request description
4726
+ * Converts a specified Skill version back to an editable draft so that you can continue to modify it.
4622
4727
  *
4623
4728
  * @param tmpReq - RedraftSkillVersionRequest
4624
4729
  * @param headers - map
@@ -4654,11 +4759,11 @@ class Client extends openapi_core_1.default {
4654
4759
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RedraftSkillVersionResponse({}));
4655
4760
  }
4656
4761
  /**
4657
- * Converts a specified Skill version back into an editable draft for further modifications.
4762
+ * Converts a specified Skill version back to an editable draft so that you can continue to modify it.
4658
4763
  *
4659
4764
  * @remarks
4660
- * ## Operation description
4661
- * Converts a specified Skill version back into an editable draft for further modifications.
4765
+ * ## Request description
4766
+ * Converts a specified Skill version back to an editable draft so that you can continue to modify it.
4662
4767
  *
4663
4768
  * @param request - RedraftSkillVersionRequest
4664
4769
  * @returns RedraftSkillVersionResponse
@@ -5558,7 +5663,7 @@ class Client extends openapi_core_1.default {
5558
5663
  * Updates the version labels and their mappings for a specified Skill.
5559
5664
  *
5560
5665
  * @remarks
5561
- * ## Request description
5666
+ * ## Operation description
5562
5667
  * Updates the version labels and their mappings for a specified Skill.
5563
5668
  *
5564
5669
  * @param tmpReq - UpdateSkillLabelsRequest
@@ -5598,7 +5703,7 @@ class Client extends openapi_core_1.default {
5598
5703
  * Updates the version labels and their mappings for a specified Skill.
5599
5704
  *
5600
5705
  * @remarks
5601
- * ## Request description
5706
+ * ## Operation description
5602
5707
  * Updates the version labels and their mappings for a specified Skill.
5603
5708
  *
5604
5709
  * @param request - UpdateSkillLabelsRequest
@@ -6043,6 +6148,54 @@ class Client extends openapi_core_1.default {
6043
6148
  let headers = {};
6044
6149
  return await this.verifyWorkspaceAcrRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
6045
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
+ }
6046
6199
  /**
6047
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.
6048
6201
  *