@alicloud/agentcore20260804 2.1.1 → 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 (107) hide show
  1. package/dist/client.d.ts +88 -22
  2. package/dist/client.js +175 -22
  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/DataResourceValue.d.ts +15 -15
  11. package/dist/models/DataResourceValue.js +4 -4
  12. package/dist/models/DataResourceValue.js.map +1 -1
  13. package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
  14. package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
  15. package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
  16. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +28 -0
  17. package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
  18. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  19. package/dist/models/GetManagedAgentResponseBody.d.ts +176 -30
  20. package/dist/models/GetManagedAgentResponseBody.js +119 -1
  21. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  22. package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
  23. package/dist/models/GetSkillDetailResponseBody.js +4 -0
  24. package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
  25. package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
  26. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
  27. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
  28. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
  29. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
  30. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
  31. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
  32. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
  33. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
  34. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
  35. package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
  36. package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
  37. package/dist/models/ListAgentSpecsResponseBody.js +29 -1
  38. package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
  39. package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
  40. package/dist/models/ListSkillReferencesRequest.js +64 -0
  41. package/dist/models/ListSkillReferencesRequest.js.map +1 -0
  42. package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
  43. package/dist/models/ListSkillReferencesResponse.js +69 -0
  44. package/dist/models/ListSkillReferencesResponse.js.map +1 -0
  45. package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
  46. package/dist/models/ListSkillReferencesResponseBody.js +122 -0
  47. package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
  48. package/dist/models/ListSkillsResponseBody.d.ts +5 -0
  49. package/dist/models/ListSkillsResponseBody.js +2 -0
  50. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  51. package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
  52. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
  53. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
  54. package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
  55. package/dist/models/PublishSkillVersionRequest.js +2 -0
  56. package/dist/models/PublishSkillVersionRequest.js.map +1 -1
  57. package/dist/models/UpdateManagedAgentRequest.d.ts +121 -29
  58. package/dist/models/UpdateManagedAgentRequest.js +59 -1
  59. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  60. package/dist/models/UpdateManagedAgentResponseBody.d.ts +231 -37
  61. package/dist/models/UpdateManagedAgentResponseBody.js +119 -1
  62. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  63. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  64. package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
  65. package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
  66. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
  67. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
  68. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
  69. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
  70. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
  71. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
  72. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
  73. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
  74. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
  75. package/dist/models/model.d.ts +31 -0
  76. package/dist/models/model.js +206 -143
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/client.ts +189 -22
  80. package/src/models/CreateManagedAgentRequest.ts +135 -20
  81. package/src/models/CreateManagedAgentResponseBody.ts +253 -25
  82. package/src/models/DataResourceValue.ts +17 -17
  83. package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
  84. package/src/models/GetAgentSpecLatestResponseBody.ts +47 -0
  85. package/src/models/GetManagedAgentResponseBody.ts +258 -30
  86. package/src/models/GetSkillDetailResponseBody.ts +24 -4
  87. package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
  88. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
  89. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
  90. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
  91. package/src/models/ListAgentSpecsRequest.ts +4 -4
  92. package/src/models/ListAgentSpecsResponseBody.ts +68 -2
  93. package/src/models/ListSkillReferencesRequest.ts +64 -0
  94. package/src/models/ListSkillReferencesResponse.ts +40 -0
  95. package/src/models/ListSkillReferencesResponseBody.ts +194 -0
  96. package/src/models/ListSkillsResponseBody.ts +7 -0
  97. package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
  98. package/src/models/PublishSkillVersionRequest.ts +10 -0
  99. package/src/models/UpdateManagedAgentRequest.ts +161 -29
  100. package/src/models/UpdateManagedAgentResponseBody.ts +313 -37
  101. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  102. package/src/models/UpdateSkillLabelsRequest.ts +1 -1
  103. package/src/models/UploadSkillViaOssRequest.ts +1 -1
  104. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
  105. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
  106. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
  107. package/src/models/model.ts +31 -0
package/dist/client.d.ts CHANGED
@@ -652,7 +652,7 @@ export default class Client extends OpenApi {
652
652
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
653
653
  *
654
654
  * @remarks
655
- * ## Request description
655
+ * ## Operation description
656
656
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
657
657
  *
658
658
  * @param request - DeleteSkillRequest
@@ -667,7 +667,7 @@ export default class Client extends OpenApi {
667
667
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
668
668
  *
669
669
  * @remarks
670
- * ## Request description
670
+ * ## Operation description
671
671
  * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
672
672
  *
673
673
  * @param request - DeleteSkillRequest
@@ -861,11 +861,11 @@ export default class Client extends OpenApi {
861
861
  */
862
862
  enableConnector(workspaceId: string, connectorName: string, request: $_model.EnableConnectorRequest): Promise<$_model.EnableConnectorResponse>;
863
863
  /**
864
- * Skips the regular review process and forcibly publishes the specified Skill version.
864
+ * Skips the regular review process and forcibly publishes a specified Skill version.
865
865
  *
866
866
  * @remarks
867
- * ## Request description
868
- * Skips the regular review process and forcibly publishes the specified Skill version.
867
+ * ## Operation description
868
+ * Skips the regular review process and forcibly publishes a specified Skill version.
869
869
  *
870
870
  * @param tmpReq - ForcePublishSkillVersionRequest
871
871
  * @param headers - map
@@ -876,11 +876,11 @@ export default class Client extends OpenApi {
876
876
  [key: string]: string;
877
877
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ForcePublishSkillVersionResponse>;
878
878
  /**
879
- * Skips the regular review process and forcibly publishes the specified Skill version.
879
+ * Skips the regular review process and forcibly publishes a specified Skill version.
880
880
  *
881
881
  * @remarks
882
- * ## Request description
883
- * Skips the regular review process and forcibly publishes the specified Skill version.
882
+ * ## Operation description
883
+ * Skips the regular review process and forcibly publishes a specified Skill version.
884
884
  *
885
885
  * @param request - ForcePublishSkillVersionRequest
886
886
  * @returns ForcePublishSkillVersionResponse
@@ -1418,6 +1418,30 @@ export default class Client extends OpenApi {
1418
1418
  * @returns GetWorkspaceAcrRamAuthorizeUrlResponse
1419
1419
  */
1420
1420
  getWorkspaceAcrRamAuthorizeUrl(workspaceId: string, request: $_model.GetWorkspaceAcrRamAuthorizeUrlRequest): Promise<$_model.GetWorkspaceAcrRamAuthorizeUrlResponse>;
1421
+ /**
1422
+ * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
1423
+ *
1424
+ * @remarks
1425
+ * 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.
1426
+ *
1427
+ * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
1428
+ * @param headers - map
1429
+ * @param runtime - runtime options for this request RuntimeOptions
1430
+ * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
1431
+ */
1432
+ getWorkspaceAgenticFsMountRamAuthorizeUrlWithOptions(workspaceId: string, request: $_model.GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest, headers: {
1433
+ [key: string]: string;
1434
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse>;
1435
+ /**
1436
+ * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
1437
+ *
1438
+ * @remarks
1439
+ * 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.
1440
+ *
1441
+ * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
1442
+ * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
1443
+ */
1444
+ getWorkspaceAgenticFsMountRamAuthorizeUrl(workspaceId: string, request: $_model.GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest): Promise<$_model.GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse>;
1421
1445
  /**
1422
1446
  * Queries the plug-in status of a specified workspace.
1423
1447
  *
@@ -1515,11 +1539,11 @@ export default class Client extends OpenApi {
1515
1539
  */
1516
1540
  listAgentIMChannels(workspaceId: string, agentId: string, request: $_model.ListAgentIMChannelsRequest): Promise<$_model.ListAgentIMChannelsResponse>;
1517
1541
  /**
1518
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
1542
+ * 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.
1519
1543
  *
1520
1544
  * @remarks
1521
1545
  * ## Operation description
1522
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
1546
+ * 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.
1523
1547
  *
1524
1548
  * @param request - ListAgentSpecsRequest
1525
1549
  * @param headers - map
@@ -1530,11 +1554,11 @@ export default class Client extends OpenApi {
1530
1554
  [key: string]: string;
1531
1555
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentSpecsResponse>;
1532
1556
  /**
1533
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
1557
+ * 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.
1534
1558
  *
1535
1559
  * @remarks
1536
1560
  * ## Operation description
1537
- * Queries AgentSpec resources in a specified workspace by using paging, supporting name search, sorting, and filtering by owner, visibility scope, and business labels.
1561
+ * 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.
1538
1562
  *
1539
1563
  * @param request - ListAgentSpecsRequest
1540
1564
  * @returns ListAgentSpecsResponse
@@ -1922,6 +1946,24 @@ export default class Client extends OpenApi {
1922
1946
  * @returns ListServiceEndpointsResponse
1923
1947
  */
1924
1948
  listServiceEndpoints(workspaceId: string, request: $_model.ListServiceEndpointsRequest): Promise<$_model.ListServiceEndpointsResponse>;
1949
+ /**
1950
+ * Queries the reference relationships of a skill.
1951
+ *
1952
+ * @param request - ListSkillReferencesRequest
1953
+ * @param headers - map
1954
+ * @param runtime - runtime options for this request RuntimeOptions
1955
+ * @returns ListSkillReferencesResponse
1956
+ */
1957
+ listSkillReferencesWithOptions(workspaceId: string, skillName: string, request: $_model.ListSkillReferencesRequest, headers: {
1958
+ [key: string]: string;
1959
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListSkillReferencesResponse>;
1960
+ /**
1961
+ * Queries the reference relationships of a skill.
1962
+ *
1963
+ * @param request - ListSkillReferencesRequest
1964
+ * @returns ListSkillReferencesResponse
1965
+ */
1966
+ listSkillReferences(workspaceId: string, skillName: string, request: $_model.ListSkillReferencesRequest): Promise<$_model.ListSkillReferencesResponse>;
1925
1967
  /**
1926
1968
  * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
1927
1969
  *
@@ -2012,7 +2054,7 @@ export default class Client extends OpenApi {
2012
2054
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
2013
2055
  *
2014
2056
  * @remarks
2015
- * ## Request description
2057
+ * ## Operation description
2016
2058
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
2017
2059
  *
2018
2060
  * @param tmpReq - OfflineSkillRequest
@@ -2027,7 +2069,7 @@ export default class Client extends OpenApi {
2027
2069
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
2028
2070
  *
2029
2071
  * @remarks
2030
- * ## Request description
2072
+ * ## Operation description
2031
2073
  * Takes the online version of a specified Skill offline so that it is no longer used as the online version.
2032
2074
  *
2033
2075
  * @param request - OfflineSkillRequest
@@ -2064,7 +2106,7 @@ export default class Client extends OpenApi {
2064
2106
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
2065
2107
  *
2066
2108
  * @remarks
2067
- * ## Request description
2109
+ * ## Operation description
2068
2110
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
2069
2111
  *
2070
2112
  * @param tmpReq - PrecheckSkillUploadViaOssRequest
@@ -2079,7 +2121,7 @@ export default class Client extends OpenApi {
2079
2121
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
2080
2122
  *
2081
2123
  * @remarks
2082
- * ## Request description
2124
+ * ## Operation description
2083
2125
  * Parses and checks one or more Skill ZIP packages uploaded to OSS, and returns the name, version, and conflict check results.
2084
2126
  *
2085
2127
  * @param request - PrecheckSkillUploadViaOssRequest
@@ -2087,11 +2129,11 @@ export default class Client extends OpenApi {
2087
2129
  */
2088
2130
  precheckSkillUploadViaOss(workspaceId: string, request: $_model.PrecheckSkillUploadViaOssRequest): Promise<$_model.PrecheckSkillUploadViaOssResponse>;
2089
2131
  /**
2090
- * Publishes a specified Skill version to change its state to published.
2132
+ * Publishes a specified Skill version to transition it to the published state.
2091
2133
  *
2092
2134
  * @remarks
2093
2135
  * ## Operation description
2094
- * Publishes a specified Skill version to change its state to published.
2136
+ * Publishes a specified Skill version to transition it to the published state.
2095
2137
  *
2096
2138
  * @param tmpReq - PublishSkillVersionRequest
2097
2139
  * @param headers - map
@@ -2102,11 +2144,11 @@ export default class Client extends OpenApi {
2102
2144
  [key: string]: string;
2103
2145
  }, runtime: $dara.RuntimeOptions): Promise<$_model.PublishSkillVersionResponse>;
2104
2146
  /**
2105
- * Publishes a specified Skill version to change its state to published.
2147
+ * Publishes a specified Skill version to transition it to the published state.
2106
2148
  *
2107
2149
  * @remarks
2108
2150
  * ## Operation description
2109
- * Publishes a specified Skill version to change its state to published.
2151
+ * Publishes a specified Skill version to transition it to the published state.
2110
2152
  *
2111
2153
  * @param request - PublishSkillVersionRequest
2112
2154
  * @returns PublishSkillVersionResponse
@@ -2516,7 +2558,7 @@ export default class Client extends OpenApi {
2516
2558
  * Updates the version labels and their mappings for a specified Skill.
2517
2559
  *
2518
2560
  * @remarks
2519
- * ## Request description
2561
+ * ## Operation description
2520
2562
  * Updates the version labels and their mappings for a specified Skill.
2521
2563
  *
2522
2564
  * @param tmpReq - UpdateSkillLabelsRequest
@@ -2531,7 +2573,7 @@ export default class Client extends OpenApi {
2531
2573
  * Updates the version labels and their mappings for a specified Skill.
2532
2574
  *
2533
2575
  * @remarks
2534
- * ## Request description
2576
+ * ## Operation description
2535
2577
  * Updates the version labels and their mappings for a specified Skill.
2536
2578
  *
2537
2579
  * @param request - UpdateSkillLabelsRequest
@@ -2724,6 +2766,30 @@ export default class Client extends OpenApi {
2724
2766
  * @returns VerifyWorkspaceAcrRamAuthorizationResponse
2725
2767
  */
2726
2768
  verifyWorkspaceAcrRamAuthorization(workspaceId: string, request: $_model.VerifyWorkspaceAcrRamAuthorizationRequest): Promise<$_model.VerifyWorkspaceAcrRamAuthorizationResponse>;
2769
+ /**
2770
+ * Queries the RAM authorization status of AgenticFS mounting for a workspace.
2771
+ *
2772
+ * @remarks
2773
+ * 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.
2774
+ *
2775
+ * @param request - VerifyWorkspaceAgenticFsMountRamAuthorizationRequest
2776
+ * @param headers - map
2777
+ * @param runtime - runtime options for this request RuntimeOptions
2778
+ * @returns VerifyWorkspaceAgenticFsMountRamAuthorizationResponse
2779
+ */
2780
+ verifyWorkspaceAgenticFsMountRamAuthorizationWithOptions(workspaceId: string, request: $_model.VerifyWorkspaceAgenticFsMountRamAuthorizationRequest, headers: {
2781
+ [key: string]: string;
2782
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.VerifyWorkspaceAgenticFsMountRamAuthorizationResponse>;
2783
+ /**
2784
+ * Queries the RAM authorization status of AgenticFS mounting for a workspace.
2785
+ *
2786
+ * @remarks
2787
+ * 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.
2788
+ *
2789
+ * @param request - VerifyWorkspaceAgenticFsMountRamAuthorizationRequest
2790
+ * @returns VerifyWorkspaceAgenticFsMountRamAuthorizationResponse
2791
+ */
2792
+ verifyWorkspaceAgenticFsMountRamAuthorization(workspaceId: string, request: $_model.VerifyWorkspaceAgenticFsMountRamAuthorizationRequest): Promise<$_model.VerifyWorkspaceAgenticFsMountRamAuthorizationResponse>;
2727
2793
  /**
2728
2794
  * 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.
2729
2795
  *
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
@@ -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
@@ -4166,6 +4220,57 @@ class Client extends openapi_core_1.default {
4166
4220
  let headers = {};
4167
4221
  return await this.listServiceEndpointsWithOptions(workspaceId, request, headers, runtime);
4168
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
+ }
4169
4274
  /**
4170
4275
  * Performs a paged query of Skills in a specified workspace, and returns basic Skill information, version status, and paging details.
4171
4276
  *
@@ -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
@@ -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
  *