@alicloud/agentcore20260804 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +162 -16
- package/dist/client.js +295 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
- package/dist/models/CreateCustomAgentRequest.js +591 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
- package/dist/models/CreateCustomAgentResponseBody.js +652 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/CreateManagedAgentRequest.d.ts +72 -22
- package/dist/models/CreateManagedAgentRequest.js +27 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +109 -28
- package/dist/models/CreateManagedAgentResponseBody.js +27 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
- package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
- package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
- package/dist/models/DeleteCustomAgentRequest.js +54 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
- package/dist/models/GetAgentSpecLatestResponseBody.d.ts +19 -2
- package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
- package/dist/models/GetCustomAgentRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentRequest.js +54 -0
- package/dist/models/GetCustomAgentRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentResponse.js +69 -0
- package/dist/models/GetCustomAgentResponse.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
- package/dist/models/GetCustomAgentResponseBody.js +652 -0
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetManagedAgentResponseBody.d.ts +115 -32
- package/dist/models/GetManagedAgentResponseBody.js +27 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
- package/dist/models/ListCustomAgentsRequest.js +60 -0
- package/dist/models/ListCustomAgentsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentsResponse.js +69 -0
- package/dist/models/ListCustomAgentsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
- package/dist/models/ListCustomAgentsResponseBody.js +171 -0
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
- package/dist/models/ListSkillsRequest.d.ts +2 -2
- package/dist/models/ListSkillsResponseBody.d.ts +10 -3
- package/dist/models/ListSkillsResponseBody.js.map +1 -1
- package/dist/models/ListUsersRequest.d.ts +4 -4
- package/dist/models/ListUsersResponseBody.d.ts +15 -15
- package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
- package/dist/models/UpdateCustomAgentRequest.js +591 -0
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
- package/dist/models/UpdateCustomAgentResponse.js +69 -0
- package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
- package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/UpdateManagedAgentRequest.d.ts +61 -30
- package/dist/models/UpdateManagedAgentRequest.js +27 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +61 -28
- package/dist/models/UpdateManagedAgentResponseBody.js +27 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +129 -0
- package/dist/models/model.js +316 -56
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +313 -16
- package/src/models/CreateCustomAgentRequest.ts +1129 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/CreateManagedAgentRequest.ts +89 -22
- package/src/models/CreateManagedAgentResponseBody.ts +126 -28
- package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/CreateSkillDraftRequest.ts +1 -1
- package/src/models/CreateSkillDraftResponseBody.ts +1 -1
- package/src/models/DeleteCustomAgentRequest.ts +24 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
- package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
- package/src/models/GetAgentSpecLatestResponseBody.ts +19 -2
- package/src/models/GetCustomAgentRequest.ts +24 -0
- package/src/models/GetCustomAgentResponse.ts +40 -0
- package/src/models/GetCustomAgentResponseBody.ts +1069 -0
- package/src/models/GetManagedAgentResponseBody.ts +132 -32
- package/src/models/ListCustomAgentsRequest.ts +44 -0
- package/src/models/ListCustomAgentsResponse.ts +40 -0
- package/src/models/ListCustomAgentsResponseBody.ts +345 -0
- package/src/models/ListSkillsRequest.ts +2 -2
- package/src/models/ListSkillsResponseBody.ts +10 -3
- package/src/models/ListUsersRequest.ts +4 -4
- package/src/models/ListUsersResponseBody.ts +15 -15
- package/src/models/UpdateCustomAgentRequest.ts +1121 -0
- package/src/models/UpdateCustomAgentResponse.ts +40 -0
- package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
- package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateManagedAgentRequest.ts +78 -30
- package/src/models/UpdateManagedAgentResponseBody.ts +78 -28
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/model.ts +129 -0
package/dist/client.d.ts
CHANGED
|
@@ -176,6 +176,36 @@ export default class Client extends OpenApi {
|
|
|
176
176
|
* @returns CreateCredentialResponse
|
|
177
177
|
*/
|
|
178
178
|
createCredential(workspaceId: string, request: $_model.CreateCredentialRequest): Promise<$_model.CreateCredentialResponse>;
|
|
179
|
+
/**
|
|
180
|
+
* Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
|
|
181
|
+
*
|
|
182
|
+
* @remarks
|
|
183
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
184
|
+
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
185
|
+
* The creation process is asynchronous. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
|
|
186
|
+
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
187
|
+
*
|
|
188
|
+
* @param tmpReq - CreateCustomAgentRequest
|
|
189
|
+
* @param headers - map
|
|
190
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
191
|
+
* @returns CreateCustomAgentResponse
|
|
192
|
+
*/
|
|
193
|
+
createCustomAgentWithOptions(workspaceId: string, tmpReq: $_model.CreateCustomAgentRequest, headers: {
|
|
194
|
+
[key: string]: string;
|
|
195
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomAgentResponse>;
|
|
196
|
+
/**
|
|
197
|
+
* Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
|
|
198
|
+
*
|
|
199
|
+
* @remarks
|
|
200
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
201
|
+
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
202
|
+
* The creation process is asynchronous. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
|
|
203
|
+
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
204
|
+
*
|
|
205
|
+
* @param request - CreateCustomAgentRequest
|
|
206
|
+
* @returns CreateCustomAgentResponse
|
|
207
|
+
*/
|
|
208
|
+
createCustomAgent(workspaceId: string, request: $_model.CreateCustomAgentRequest): Promise<$_model.CreateCustomAgentResponse>;
|
|
179
209
|
/**
|
|
180
210
|
* Creates an external agent in a specified workspace.
|
|
181
211
|
*
|
|
@@ -526,6 +556,34 @@ export default class Client extends OpenApi {
|
|
|
526
556
|
* @returns DeleteCredentialResponse
|
|
527
557
|
*/
|
|
528
558
|
deleteCredential(workspaceId: string, credentialId: string, request: $_model.DeleteCredentialRequest): Promise<$_model.DeleteCredentialResponse>;
|
|
559
|
+
/**
|
|
560
|
+
* Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
|
|
561
|
+
*
|
|
562
|
+
* @remarks
|
|
563
|
+
* Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
|
|
564
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already being deleted, a subsequent request returns the current summary.
|
|
565
|
+
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
566
|
+
*
|
|
567
|
+
* @param request - DeleteCustomAgentRequest
|
|
568
|
+
* @param headers - map
|
|
569
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
570
|
+
* @returns DeleteCustomAgentResponse
|
|
571
|
+
*/
|
|
572
|
+
deleteCustomAgentWithOptions(workspaceId: string, agentId: string, request: $_model.DeleteCustomAgentRequest, headers: {
|
|
573
|
+
[key: string]: string;
|
|
574
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomAgentResponse>;
|
|
575
|
+
/**
|
|
576
|
+
* Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
|
|
577
|
+
*
|
|
578
|
+
* @remarks
|
|
579
|
+
* Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
|
|
580
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already being deleted, a subsequent request returns the current summary.
|
|
581
|
+
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
582
|
+
*
|
|
583
|
+
* @param request - DeleteCustomAgentRequest
|
|
584
|
+
* @returns DeleteCustomAgentResponse
|
|
585
|
+
*/
|
|
586
|
+
deleteCustomAgent(workspaceId: string, agentId: string, request: $_model.DeleteCustomAgentRequest): Promise<$_model.DeleteCustomAgentResponse>;
|
|
529
587
|
/**
|
|
530
588
|
* Deletes a specified external agent.
|
|
531
589
|
*
|
|
@@ -678,7 +736,7 @@ export default class Client extends OpenApi {
|
|
|
678
736
|
* Deletes the draft version currently being edited for a specified Skill.
|
|
679
737
|
*
|
|
680
738
|
* @remarks
|
|
681
|
-
* ##
|
|
739
|
+
* ## Operation description
|
|
682
740
|
* Deletes the draft version currently being edited for a specified Skill.
|
|
683
741
|
*
|
|
684
742
|
* @param request - DeleteSkillDraftRequest
|
|
@@ -693,7 +751,7 @@ export default class Client extends OpenApi {
|
|
|
693
751
|
* Deletes the draft version currently being edited for a specified Skill.
|
|
694
752
|
*
|
|
695
753
|
* @remarks
|
|
696
|
-
* ##
|
|
754
|
+
* ## Operation description
|
|
697
755
|
* Deletes the draft version currently being edited for a specified Skill.
|
|
698
756
|
*
|
|
699
757
|
* @param request - DeleteSkillDraftRequest
|
|
@@ -814,7 +872,7 @@ export default class Client extends OpenApi {
|
|
|
814
872
|
* Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
|
|
815
873
|
*
|
|
816
874
|
* @remarks
|
|
817
|
-
* ##
|
|
875
|
+
* ## Operation description
|
|
818
876
|
* Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
|
|
819
877
|
*
|
|
820
878
|
* @param request - DownloadSkillVersionViaOssRequest
|
|
@@ -829,7 +887,7 @@ export default class Client extends OpenApi {
|
|
|
829
887
|
* Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
|
|
830
888
|
*
|
|
831
889
|
* @remarks
|
|
832
|
-
* ##
|
|
890
|
+
* ## Operation description
|
|
833
891
|
* Retrieves a pre-signed OSS download URL for a specified Skill version, which is used to download the corresponding Skill ZIP package.
|
|
834
892
|
*
|
|
835
893
|
* @param request - DownloadSkillVersionViaOssRequest
|
|
@@ -1038,6 +1096,34 @@ export default class Client extends OpenApi {
|
|
|
1038
1096
|
* @returns GetCredentialResponse
|
|
1039
1097
|
*/
|
|
1040
1098
|
getCredential(workspaceId: string, credentialId: string, request: $_model.GetCredentialRequest): Promise<$_model.GetCredentialResponse>;
|
|
1099
|
+
/**
|
|
1100
|
+
* 查询自定义智能体
|
|
1101
|
+
*
|
|
1102
|
+
* @remarks
|
|
1103
|
+
* 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
|
|
1104
|
+
* 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
|
|
1105
|
+
* 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
|
|
1106
|
+
*
|
|
1107
|
+
* @param request - GetCustomAgentRequest
|
|
1108
|
+
* @param headers - map
|
|
1109
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1110
|
+
* @returns GetCustomAgentResponse
|
|
1111
|
+
*/
|
|
1112
|
+
getCustomAgentWithOptions(workspaceId: string, agentId: string, request: $_model.GetCustomAgentRequest, headers: {
|
|
1113
|
+
[key: string]: string;
|
|
1114
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomAgentResponse>;
|
|
1115
|
+
/**
|
|
1116
|
+
* 查询自定义智能体
|
|
1117
|
+
*
|
|
1118
|
+
* @remarks
|
|
1119
|
+
* 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
|
|
1120
|
+
* 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
|
|
1121
|
+
* 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
|
|
1122
|
+
*
|
|
1123
|
+
* @param request - GetCustomAgentRequest
|
|
1124
|
+
* @returns GetCustomAgentResponse
|
|
1125
|
+
*/
|
|
1126
|
+
getCustomAgent(workspaceId: string, agentId: string, request: $_model.GetCustomAgentRequest): Promise<$_model.GetCustomAgentResponse>;
|
|
1041
1127
|
/**
|
|
1042
1128
|
* Queries the details of a specified external agent.
|
|
1043
1129
|
*
|
|
@@ -1654,6 +1740,34 @@ export default class Client extends OpenApi {
|
|
|
1654
1740
|
* @returns ListCredentialsResponse
|
|
1655
1741
|
*/
|
|
1656
1742
|
listCredentials(workspaceId: string, request: $_model.ListCredentialsRequest): Promise<$_model.ListCredentialsResponse>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
|
|
1745
|
+
*
|
|
1746
|
+
* @remarks
|
|
1747
|
+
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
1748
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it yourself. An empty token in the response indicates that there are no more pages.
|
|
1749
|
+
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
1750
|
+
*
|
|
1751
|
+
* @param request - ListCustomAgentsRequest
|
|
1752
|
+
* @param headers - map
|
|
1753
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1754
|
+
* @returns ListCustomAgentsResponse
|
|
1755
|
+
*/
|
|
1756
|
+
listCustomAgentsWithOptions(workspaceId: string, request: $_model.ListCustomAgentsRequest, headers: {
|
|
1757
|
+
[key: string]: string;
|
|
1758
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomAgentsResponse>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
|
|
1761
|
+
*
|
|
1762
|
+
* @remarks
|
|
1763
|
+
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
1764
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it yourself. An empty token in the response indicates that there are no more pages.
|
|
1765
|
+
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
1766
|
+
*
|
|
1767
|
+
* @param request - ListCustomAgentsRequest
|
|
1768
|
+
* @returns ListCustomAgentsResponse
|
|
1769
|
+
*/
|
|
1770
|
+
listCustomAgents(workspaceId: string, request: $_model.ListCustomAgentsRequest): Promise<$_model.ListCustomAgentsResponse>;
|
|
1657
1771
|
/**
|
|
1658
1772
|
* Queries the list of external agents in a specified workspace.
|
|
1659
1773
|
*
|
|
@@ -1965,11 +2079,11 @@ export default class Client extends OpenApi {
|
|
|
1965
2079
|
*/
|
|
1966
2080
|
listSkillReferences(workspaceId: string, skillName: string, request: $_model.ListSkillReferencesRequest): Promise<$_model.ListSkillReferencesResponse>;
|
|
1967
2081
|
/**
|
|
1968
|
-
* Performs a paged query of Skills in a specified workspace
|
|
2082
|
+
* Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
|
|
1969
2083
|
*
|
|
1970
2084
|
* @remarks
|
|
1971
2085
|
* ## Operation description
|
|
1972
|
-
* Performs a paged query of Skills in a specified workspace
|
|
2086
|
+
* Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
|
|
1973
2087
|
*
|
|
1974
2088
|
* @param request - ListSkillsRequest
|
|
1975
2089
|
* @param headers - map
|
|
@@ -1980,11 +2094,11 @@ export default class Client extends OpenApi {
|
|
|
1980
2094
|
[key: string]: string;
|
|
1981
2095
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSkillsResponse>;
|
|
1982
2096
|
/**
|
|
1983
|
-
* Performs a paged query of Skills in a specified workspace
|
|
2097
|
+
* Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
|
|
1984
2098
|
*
|
|
1985
2099
|
* @remarks
|
|
1986
2100
|
* ## Operation description
|
|
1987
|
-
* Performs a paged query of Skills in a specified workspace
|
|
2101
|
+
* Performs a paged query of Skills in a specified workspace and returns basic Skill information, version status, and paging information.
|
|
1988
2102
|
*
|
|
1989
2103
|
* @param request - ListSkillsRequest
|
|
1990
2104
|
* @returns ListSkillsResponse
|
|
@@ -2009,7 +2123,7 @@ export default class Client extends OpenApi {
|
|
|
2009
2123
|
*/
|
|
2010
2124
|
listTeams(workspaceId: string, request: $_model.ListTeamsRequest): Promise<$_model.ListTeamsResponse>;
|
|
2011
2125
|
/**
|
|
2012
|
-
*
|
|
2126
|
+
* Performs a paged query of users in a specified workspace. You can filter users by fuzzy match on the username by using nameLike, specify the maximum number of records per page for paging by using maxResults, and obtain the next page by using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
2013
2127
|
*
|
|
2014
2128
|
* @param request - ListUsersRequest
|
|
2015
2129
|
* @param headers - map
|
|
@@ -2020,7 +2134,7 @@ export default class Client extends OpenApi {
|
|
|
2020
2134
|
[key: string]: string;
|
|
2021
2135
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersResponse>;
|
|
2022
2136
|
/**
|
|
2023
|
-
*
|
|
2137
|
+
* Performs a paged query of users in a specified workspace. You can filter users by fuzzy match on the username by using nameLike, specify the maximum number of records per page for paging by using maxResults, and obtain the next page by using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
2024
2138
|
*
|
|
2025
2139
|
* @param request - ListUsersRequest
|
|
2026
2140
|
* @returns ListUsersResponse
|
|
@@ -2155,11 +2269,11 @@ export default class Client extends OpenApi {
|
|
|
2155
2269
|
*/
|
|
2156
2270
|
publishSkillVersion(workspaceId: string, skillName: string, skillVersion: string, request: $_model.PublishSkillVersionRequest): Promise<$_model.PublishSkillVersionResponse>;
|
|
2157
2271
|
/**
|
|
2158
|
-
* Converts a specified Skill version back
|
|
2272
|
+
* Converts a specified Skill version back to an editable draft so that you can continue to modify it.
|
|
2159
2273
|
*
|
|
2160
2274
|
* @remarks
|
|
2161
|
-
* ##
|
|
2162
|
-
* Converts a specified Skill version back
|
|
2275
|
+
* ## Request description
|
|
2276
|
+
* Converts a specified Skill version back to an editable draft so that you can continue to modify it.
|
|
2163
2277
|
*
|
|
2164
2278
|
* @param tmpReq - RedraftSkillVersionRequest
|
|
2165
2279
|
* @param headers - map
|
|
@@ -2170,11 +2284,11 @@ export default class Client extends OpenApi {
|
|
|
2170
2284
|
[key: string]: string;
|
|
2171
2285
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RedraftSkillVersionResponse>;
|
|
2172
2286
|
/**
|
|
2173
|
-
* Converts a specified Skill version back
|
|
2287
|
+
* Converts a specified Skill version back to an editable draft so that you can continue to modify it.
|
|
2174
2288
|
*
|
|
2175
2289
|
* @remarks
|
|
2176
|
-
* ##
|
|
2177
|
-
* Converts a specified Skill version back
|
|
2290
|
+
* ## Request description
|
|
2291
|
+
* Converts a specified Skill version back to an editable draft so that you can continue to modify it.
|
|
2178
2292
|
*
|
|
2179
2293
|
* @param request - RedraftSkillVersionRequest
|
|
2180
2294
|
* @returns RedraftSkillVersionResponse
|
|
@@ -2372,6 +2486,38 @@ export default class Client extends OpenApi {
|
|
|
2372
2486
|
* @returns UpdateCredentialResponse
|
|
2373
2487
|
*/
|
|
2374
2488
|
updateCredential(workspaceId: string, credentialId: string, request: $_model.UpdateCredentialRequest): Promise<$_model.UpdateCredentialResponse>;
|
|
2489
|
+
/**
|
|
2490
|
+
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
2491
|
+
*
|
|
2492
|
+
* @remarks
|
|
2493
|
+
* Provide at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced in their entirety. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
2494
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
|
|
2495
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
2496
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
2497
|
+
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
2498
|
+
*
|
|
2499
|
+
* @param tmpReq - UpdateCustomAgentRequest
|
|
2500
|
+
* @param headers - map
|
|
2501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2502
|
+
* @returns UpdateCustomAgentResponse
|
|
2503
|
+
*/
|
|
2504
|
+
updateCustomAgentWithOptions(workspaceId: string, agentId: string, tmpReq: $_model.UpdateCustomAgentRequest, headers: {
|
|
2505
|
+
[key: string]: string;
|
|
2506
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCustomAgentResponse>;
|
|
2507
|
+
/**
|
|
2508
|
+
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
2509
|
+
*
|
|
2510
|
+
* @remarks
|
|
2511
|
+
* Provide at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced in their entirety. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
2512
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
|
|
2513
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
2514
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
2515
|
+
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
2516
|
+
*
|
|
2517
|
+
* @param request - UpdateCustomAgentRequest
|
|
2518
|
+
* @returns UpdateCustomAgentResponse
|
|
2519
|
+
*/
|
|
2520
|
+
updateCustomAgent(workspaceId: string, agentId: string, request: $_model.UpdateCustomAgentRequest): Promise<$_model.UpdateCustomAgentResponse>;
|
|
2375
2521
|
/**
|
|
2376
2522
|
* Updates the configuration of a specified external agent.
|
|
2377
2523
|
*
|