@alicloud/agentcore20260804 2.4.0 → 2.6.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 +888 -76
- package/dist/client.js +1323 -81
- package/dist/client.js.map +1 -1
- package/dist/models/AddMemoriesRequest.d.ts +10 -10
- package/dist/models/AddMemoriesResponseBody.d.ts +4 -4
- package/dist/models/AddMemoriesShrinkRequest.d.ts +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +74 -44
- package/dist/models/CreateCustomAgentRequest.js +27 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +254 -45
- package/dist/models/CreateCustomAgentResponseBody.js +91 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +50 -9
- package/dist/models/CreateIdentityProviderRequest.js +32 -1
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +183 -9
- package/dist/models/CreateIdentityProviderResponseBody.js +103 -1
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/CreateIdentityProviderSyncJobRequest.d.ts +13 -0
- package/dist/models/CreateIdentityProviderSyncJobRequest.js +54 -0
- package/dist/models/CreateIdentityProviderSyncJobRequest.js.map +1 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.d.ts +19 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.js +69 -0
- package/dist/models/CreateIdentityProviderSyncJobResponse.js.map +1 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.d.ts +121 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.js +100 -0
- package/dist/models/CreateIdentityProviderSyncJobResponseBody.js.map +1 -0
- package/dist/models/CreateImageCacheRequest.d.ts +122 -0
- package/dist/models/CreateImageCacheRequest.js +96 -0
- package/dist/models/CreateImageCacheRequest.js.map +1 -0
- package/dist/models/CreateImageCacheResponse.d.ts +19 -0
- package/dist/models/CreateImageCacheResponse.js +69 -0
- package/dist/models/CreateImageCacheResponse.js.map +1 -0
- package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
- package/dist/models/CreateImageCacheResponseBody.js +140 -0
- package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
- package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
- package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
- package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreRequest.d.ts +6 -6
- package/dist/models/CreateMemoryStoreResponseBody.d.ts +7 -7
- package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +144 -19
- package/dist/models/DeleteIdentityProviderResponseBody.js +74 -1
- package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
- package/dist/models/DeleteImageCacheRequest.js +60 -0
- package/dist/models/DeleteImageCacheRequest.js.map +1 -0
- package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
- package/dist/models/DeleteImageCacheResponse.js +69 -0
- package/dist/models/DeleteImageCacheResponse.js.map +1 -0
- package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
- package/dist/models/DeleteImageCacheResponseBody.js +92 -0
- package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponseBody.d.ts +3 -3
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.d.ts +13 -0
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.js +54 -0
- package/dist/models/GetAgentCodePackageDownloadUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.d.ts +131 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js +104 -0
- package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.d.ts +23 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js +58 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.d.ts +99 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js +96 -0
- package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.d.ts +62 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.js +84 -0
- package/dist/models/GetAgentCodePackageUploadUrlRequest.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.d.ts +19 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.js +69 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponse.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.d.ts +114 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js +103 -0
- package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js.map +1 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.d.ts +20 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js +58 -0
- package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +192 -71
- package/dist/models/GetCustomAgentResponseBody.js +63 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +217 -11
- package/dist/models/GetIdentityProviderResponseBody.js +111 -1
- package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderSyncJobRequest.d.ts +13 -0
- package/dist/models/GetIdentityProviderSyncJobRequest.js +54 -0
- package/dist/models/GetIdentityProviderSyncJobRequest.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.js +69 -0
- package/dist/models/GetIdentityProviderSyncJobResponse.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.d.ts +128 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.js +100 -0
- package/dist/models/GetIdentityProviderSyncJobResponseBody.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.d.ts +13 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.js +54 -0
- package/dist/models/GetIdentityProviderSyncScopeRequest.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.js +69 -0
- package/dist/models/GetIdentityProviderSyncScopeResponse.js.map +1 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.d.ts +177 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.js +151 -0
- package/dist/models/GetIdentityProviderSyncScopeResponseBody.js.map +1 -0
- package/dist/models/GetImageCacheRequest.d.ts +33 -0
- package/dist/models/GetImageCacheRequest.js +60 -0
- package/dist/models/GetImageCacheRequest.js.map +1 -0
- package/dist/models/GetImageCacheResponse.d.ts +19 -0
- package/dist/models/GetImageCacheResponse.js +69 -0
- package/dist/models/GetImageCacheResponse.js.map +1 -0
- package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
- package/dist/models/GetImageCacheResponseBody.js +140 -0
- package/dist/models/GetImageCacheResponseBody.js.map +1 -0
- package/dist/models/GetMemoryResponseBody.d.ts +4 -4
- package/dist/models/GetMemoryStoreResponseBody.d.ts +3 -3
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +23 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
- package/dist/models/ListAgentCodeRuntimesRequest.d.ts +29 -0
- package/dist/models/ListAgentCodeRuntimesRequest.js +60 -0
- package/dist/models/ListAgentCodeRuntimesRequest.js.map +1 -0
- package/dist/models/ListAgentCodeRuntimesResponse.d.ts +19 -0
- package/dist/models/ListAgentCodeRuntimesResponse.js +69 -0
- package/dist/models/ListAgentCodeRuntimesResponse.js.map +1 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.d.ts +115 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.js +100 -0
- package/dist/models/ListAgentCodeRuntimesResponseBody.js.map +1 -0
- package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentsResponseBody.d.ts +221 -25
- package/dist/models/ListCustomAgentsResponseBody.js +119 -1
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +37 -0
- package/dist/models/ListIdentityProviderDepartmentsRequest.js +62 -0
- package/dist/models/ListIdentityProviderDepartmentsRequest.js.map +1 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.d.ts +19 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.js +69 -0
- package/dist/models/ListIdentityProviderDepartmentsResponse.js.map +1 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +137 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.js +104 -0
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.js.map +1 -0
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +226 -20
- package/dist/models/ListIdentityProvidersResponseBody.js +111 -1
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListImageCachesRequest.d.ts +113 -0
- package/dist/models/ListImageCachesRequest.js +80 -0
- package/dist/models/ListImageCachesRequest.js.map +1 -0
- package/dist/models/ListImageCachesResponse.d.ts +19 -0
- package/dist/models/ListImageCachesResponse.js +69 -0
- package/dist/models/ListImageCachesResponse.js.map +1 -0
- package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
- package/dist/models/ListImageCachesResponseBody.js +146 -0
- package/dist/models/ListImageCachesResponseBody.js.map +1 -0
- package/dist/models/ListMemoriesResponseBody.d.ts +1 -1
- package/dist/models/ListMemorySessionMessagesRequest.d.ts +3 -3
- package/dist/models/ListMemorySessionsRequest.d.ts +2 -2
- package/dist/models/ListMemorySessionsResponseBody.d.ts +1 -1
- package/dist/models/ListMemoryStoresResponseBody.d.ts +2 -2
- package/dist/models/RetryImageCacheRequest.d.ts +60 -0
- package/dist/models/RetryImageCacheRequest.js +82 -0
- package/dist/models/RetryImageCacheRequest.js.map +1 -0
- package/dist/models/RetryImageCacheResponse.d.ts +19 -0
- package/dist/models/RetryImageCacheResponse.js +69 -0
- package/dist/models/RetryImageCacheResponse.js.map +1 -0
- package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
- package/dist/models/RetryImageCacheResponseBody.js +140 -0
- package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
- package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
- package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
- package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/SearchMemoriesRequest.d.ts +3 -3
- package/dist/models/SearchMemoriesResponseBody.d.ts +3 -3
- package/dist/models/UpdateCustomAgentRequest.d.ts +87 -54
- package/dist/models/UpdateCustomAgentRequest.js +27 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +243 -61
- package/dist/models/UpdateCustomAgentResponseBody.js +91 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateIdentityProviderRequest.d.ts +128 -8
- package/dist/models/UpdateIdentityProviderRequest.js +71 -1
- package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +181 -16
- package/dist/models/UpdateIdentityProviderResponseBody.js +103 -1
- package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryRequest.d.ts +3 -3
- package/dist/models/UpdateMemoryShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryStoreRequest.d.ts +2 -2
- package/dist/models/UpdateMemoryStoreResponseBody.d.ts +1 -1
- package/dist/models/ValidateAgentCodePackageFromOssRequest.d.ts +52 -0
- package/dist/models/ValidateAgentCodePackageFromOssRequest.js +82 -0
- package/dist/models/ValidateAgentCodePackageFromOssRequest.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.d.ts +19 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.js +69 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponse.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.d.ts +99 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js +96 -0
- package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js.map +1 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.d.ts +20 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js +58 -0
- package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +23 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +73 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js +96 -0
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +33 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +105 -0
- package/dist/models/model.js +341 -129
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1393 -84
- package/src/models/AddMemoriesRequest.ts +10 -10
- package/src/models/AddMemoriesResponseBody.ts +4 -4
- package/src/models/AddMemoriesShrinkRequest.ts +1 -1
- package/src/models/CreateCustomAgentRequest.ts +91 -44
- package/src/models/CreateCustomAgentResponseBody.ts +317 -45
- package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/CreateIdentityProviderRequest.ts +72 -9
- package/src/models/CreateIdentityProviderResponseBody.ts +258 -9
- package/src/models/CreateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/CreateIdentityProviderSyncJobRequest.ts +24 -0
- package/src/models/CreateIdentityProviderSyncJobResponse.ts +40 -0
- package/src/models/CreateIdentityProviderSyncJobResponseBody.ts +167 -0
- package/src/models/CreateImageCacheRequest.ts +164 -0
- package/src/models/CreateImageCacheResponse.ts +40 -0
- package/src/models/CreateImageCacheResponseBody.ts +337 -0
- package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
- package/src/models/CreateMemoryStoreRequest.ts +6 -6
- package/src/models/CreateMemoryStoreResponseBody.ts +7 -7
- package/src/models/CreateMemoryStoreShrinkRequest.ts +2 -2
- package/src/models/DeleteIdentityProviderResponseBody.ts +199 -19
- package/src/models/DeleteImageCacheRequest.ts +48 -0
- package/src/models/DeleteImageCacheResponse.ts +40 -0
- package/src/models/DeleteImageCacheResponseBody.ts +140 -0
- package/src/models/DeleteMemoryStoreResponseBody.ts +3 -3
- package/src/models/GetAgentCodePackageDownloadUrlRequest.ts +24 -0
- package/src/models/GetAgentCodePackageDownloadUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageDownloadUrlResponseBody.ts +181 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.ts +36 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.ts +141 -0
- package/src/models/GetAgentCodePackageUploadUrlRequest.ts +92 -0
- package/src/models/GetAgentCodePackageUploadUrlResponse.ts +40 -0
- package/src/models/GetAgentCodePackageUploadUrlResponseBody.ts +161 -0
- package/src/models/GetAgentCodePackageUploadUrlShrinkRequest.ts +33 -0
- package/src/models/GetCustomAgentResponseBody.ts +236 -71
- package/src/models/GetIdentityProviderResponseBody.ts +300 -11
- package/src/models/GetIdentityProviderSyncJobRequest.ts +24 -0
- package/src/models/GetIdentityProviderSyncJobResponse.ts +40 -0
- package/src/models/GetIdentityProviderSyncJobResponseBody.ts +174 -0
- package/src/models/GetIdentityProviderSyncScopeRequest.ts +24 -0
- package/src/models/GetIdentityProviderSyncScopeResponse.ts +40 -0
- package/src/models/GetIdentityProviderSyncScopeResponseBody.ts +256 -0
- package/src/models/GetImageCacheRequest.ts +48 -0
- package/src/models/GetImageCacheResponse.ts +40 -0
- package/src/models/GetImageCacheResponseBody.ts +341 -0
- package/src/models/GetMemoryResponseBody.ts +4 -4
- package/src/models/GetMemoryStoreResponseBody.ts +3 -3
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +23 -1
- package/src/models/ListAgentCodeRuntimesRequest.ts +44 -0
- package/src/models/ListAgentCodeRuntimesResponse.ts +40 -0
- package/src/models/ListAgentCodeRuntimesResponseBody.ts +161 -0
- package/src/models/ListCustomAgentsRequest.ts +2 -2
- package/src/models/ListCustomAgentsResponseBody.ts +303 -25
- package/src/models/ListIdentityProviderDepartmentsRequest.ts +54 -0
- package/src/models/ListIdentityProviderDepartmentsResponse.ts +40 -0
- package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +187 -0
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +309 -20
- package/src/models/ListImageCachesRequest.ts +148 -0
- package/src/models/ListImageCachesResponse.ts +40 -0
- package/src/models/ListImageCachesResponseBody.ts +373 -0
- package/src/models/ListMemoriesResponseBody.ts +1 -1
- package/src/models/ListMemorySessionMessagesRequest.ts +3 -3
- package/src/models/ListMemorySessionsRequest.ts +2 -2
- package/src/models/ListMemorySessionsResponseBody.ts +1 -1
- package/src/models/ListMemoryStoresResponseBody.ts +2 -2
- package/src/models/RetryImageCacheRequest.ts +90 -0
- package/src/models/RetryImageCacheResponse.ts +40 -0
- package/src/models/RetryImageCacheResponseBody.ts +341 -0
- package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
- package/src/models/SearchMemoriesRequest.ts +3 -3
- package/src/models/SearchMemoriesResponseBody.ts +3 -3
- package/src/models/UpdateCustomAgentRequest.ts +104 -54
- package/src/models/UpdateCustomAgentResponseBody.ts +306 -61
- package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
- package/src/models/UpdateIdentityProviderRequest.ts +180 -8
- package/src/models/UpdateIdentityProviderResponseBody.ts +256 -16
- package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/UpdateMemoryRequest.ts +3 -3
- package/src/models/UpdateMemoryShrinkRequest.ts +1 -1
- package/src/models/UpdateMemoryStoreRequest.ts +2 -2
- package/src/models/UpdateMemoryStoreResponseBody.ts +1 -1
- package/src/models/ValidateAgentCodePackageFromOssRequest.ts +80 -0
- package/src/models/ValidateAgentCodePackageFromOssResponse.ts +40 -0
- package/src/models/ValidateAgentCodePackageFromOssResponseBody.ts +141 -0
- package/src/models/ValidateAgentCodePackageFromOssShrinkRequest.ts +33 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +36 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +115 -0
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +33 -3
- package/src/models/model.ts +105 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RetryImageCacheShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The request body is a fixed empty object {}. WorkspaceId is passed as a query parameter. Do not pass the Pool, role, Digest, or network parameters.
|
|
6
|
+
*/
|
|
7
|
+
bodyShrink?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* This parameter is required and cannot be empty. It is reserved to keep the API compatible. This field does not currently deduplicate requests or recover the original result. If a timeout occurs or the result is not confirmed, query the query cache status first before deciding whether to commit again.
|
|
11
|
+
*
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* 550e8400-e29b-41d4-a716-446655440000
|
|
16
|
+
*/
|
|
17
|
+
clientToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The product entry region, which is determined by the selected region endpoint.
|
|
21
|
+
*
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cn-hangzhou
|
|
26
|
+
*/
|
|
27
|
+
regionId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The current routed workspace. The server verifies the account, region, and resource ownership. You cannot omit this parameter or use it to access other workspaces.
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ws-example
|
|
36
|
+
*/
|
|
37
|
+
workspaceId?: string;
|
|
38
|
+
static names(): {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
static types(): {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
validate(): void;
|
|
45
|
+
constructor(map?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RetryImageCacheShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RetryImageCacheShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
bodyShrink: 'body',
|
|
43
|
+
clientToken: 'clientToken',
|
|
44
|
+
regionId: 'regionId',
|
|
45
|
+
workspaceId: 'workspaceId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
bodyShrink: 'string',
|
|
51
|
+
clientToken: 'string',
|
|
52
|
+
regionId: 'string',
|
|
53
|
+
workspaceId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.RetryImageCacheShrinkRequest = RetryImageCacheShrinkRequest;
|
|
64
|
+
//# sourceMappingURL=RetryImageCacheShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RetryImageCacheShrinkRequest.js","sourceRoot":"","sources":["../../src/models/RetryImageCacheShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAoC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,MAAM;YAClB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,oEA6DC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
5
|
+
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with an agent ID, this field is not returned.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* agent-001
|
|
@@ -10,7 +10,7 @@ export declare class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
|
10
10
|
agentId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
13
|
+
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a session ID, this field is not returned.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* session-001
|
|
@@ -18,7 +18,7 @@ export declare class SearchMemoriesRequestBodyScope extends $dara.Model {
|
|
|
18
18
|
sessionId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
21
|
+
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a user ID, this field is not returned.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* user-001
|
|
@@ -22,7 +22,7 @@ export declare class SearchMemoriesResponseBodyDataMemoriesMemoryContent extends
|
|
|
22
22
|
export declare class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
25
|
+
* The agent ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with an agent ID, this field is not returned.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* agent-001
|
|
@@ -30,7 +30,7 @@ export declare class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $
|
|
|
30
30
|
agentId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
33
|
+
* The session ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a session ID, this field is not returned.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* session-001
|
|
@@ -38,7 +38,7 @@ export declare class SearchMemoriesResponseBodyDataMemoriesMemoryScope extends $
|
|
|
38
38
|
sessionId?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain forward
|
|
41
|
+
* The user ID. The ID must be 1 to 128 bytes in length and encoded in UTF-8. The ID cannot contain a forward slash (/) or an asterisk (*). If the memory is not associated with a user ID, this field is not returned.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* user-001
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item
|
|
5
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item. Mount targets must not be duplicated or form parent-child overrides.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* /mnt/agenticfs/data
|
|
@@ -10,7 +10,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
10
10
|
mountPath?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The existing non-empty relative directory under the access point. This field is required for each mount item
|
|
13
|
+
* The existing non-empty relative directory under the access point. This field is required for each mount item. Root directories, absolute paths, and parent directory traversals are not allowed.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* workspace/data
|
|
@@ -18,7 +18,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
18
18
|
path?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read
|
|
21
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -26,7 +26,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
26
26
|
readOnly?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The domain name of the access point. This field is required for each mount item
|
|
29
|
+
* The domain name of the access point. This field is required for each mount item. Use the DomainName value from the response of the NAS ListAccessPoints operation. Do not include the protocol, port, or path.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -46,32 +46,32 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
46
46
|
export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The startup
|
|
49
|
+
* The startup command for the code package. This field is required in code package mode. The working directory is the extracted code root directory /code, such as python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use scripts within the package.
|
|
50
50
|
*
|
|
51
51
|
* This parameter is required.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
|
-
* python
|
|
54
|
+
* python main.py
|
|
55
55
|
*/
|
|
56
56
|
entrypoint?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The code runtime environment identifier, such as python3.12. When creating or switching environments, use the identifier returned by the ListAgentCodeRuntimes operation. The identifier is validated by the current version catalog and is not a fixed enumeration.
|
|
60
60
|
*
|
|
61
61
|
* This parameter is required.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
|
-
*
|
|
64
|
+
* python3.12
|
|
65
65
|
*/
|
|
66
66
|
languageRuntime?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The source
|
|
69
|
+
* The source address of the code package. This field supports oss:// addresses or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. After a local upload, use the sourceUri returned by the GetAgentCodePackageUploadUrl operation. The address is revalidated and transferred during creation or updates. After the transfer is saved, the platform returns a fixed oss:// address. This fixed address can be reused for regular updates.
|
|
70
70
|
*
|
|
71
71
|
* This parameter is required.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
|
-
* oss://my-agent-bucket/packages/
|
|
74
|
+
* oss://my-agent-bucket/packages/main.zip
|
|
75
75
|
*/
|
|
76
76
|
sourceUri?: string;
|
|
77
77
|
static names(): {
|
|
@@ -88,7 +88,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Mode
|
|
|
88
88
|
export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The optional executable program and startup parameters. If specified, this must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field together.
|
|
91
|
+
* The optional executable program and startup parameters. If specified, this field must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field together.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* python app.py
|
|
@@ -158,7 +158,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
158
158
|
export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The code package deployment configuration. This is
|
|
161
|
+
* The code package deployment configuration. This field is mutually exclusive with the container field. Code packages use the ZIP or TAR.GZ format. Dependencies must be packaged by the user. The platform does not install dependencies or perform online builds.
|
|
162
162
|
*/
|
|
163
163
|
code?: UpdateCustomAgentRequestBodyArtifactCode;
|
|
164
164
|
/**
|
|
@@ -168,7 +168,7 @@ export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
168
168
|
container?: UpdateCustomAgentRequestBodyArtifactContainer;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The TCP port
|
|
171
|
+
* The TCP port listened by the agent service. Valid values: 1 to 65535.
|
|
172
172
|
*
|
|
173
173
|
* This parameter is required.
|
|
174
174
|
*
|
|
@@ -190,7 +190,7 @@ export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
190
190
|
export declare class UpdateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The name of the environment variable. This field cannot be empty and must be unique
|
|
193
|
+
* The name of the environment variable. This field cannot be empty and must be unique in the current environment variable list.
|
|
194
194
|
*
|
|
195
195
|
* This parameter is required.
|
|
196
196
|
*
|
|
@@ -200,7 +200,7 @@ export declare class UpdateCustomAgentRequestBodyEnvironmentVariables extends $d
|
|
|
200
200
|
name?: string;
|
|
201
201
|
/**
|
|
202
202
|
* @remarks
|
|
203
|
-
* The value of the environment variable. This must be a string. Empty strings are allowed.
|
|
203
|
+
* The value of the environment variable. This field must be a string. Empty strings are allowed.
|
|
204
204
|
*
|
|
205
205
|
* This parameter is required.
|
|
206
206
|
*
|
|
@@ -247,7 +247,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
247
247
|
healthyThreshold?: number;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
* The interval between two health checks, in seconds. This must be a positive integer. If omitted, the default value is 10.
|
|
250
|
+
* The interval between two health checks, in seconds. This field must be a positive integer. If this field is omitted, the default value is 10.
|
|
251
251
|
*
|
|
252
252
|
* @example
|
|
253
253
|
* 10
|
|
@@ -255,7 +255,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
255
255
|
intervalSeconds?: number;
|
|
256
256
|
/**
|
|
257
257
|
* @remarks
|
|
258
|
-
* The HTTP health check path. This must start with a forward slash (/). If omitted, the default value is /healthz.
|
|
258
|
+
* The HTTP health check path. This field must start with a forward slash (/). If this field is omitted, the default value is /healthz.
|
|
259
259
|
*
|
|
260
260
|
* @example
|
|
261
261
|
* /healthz
|
|
@@ -271,7 +271,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
271
271
|
port?: number;
|
|
272
272
|
/**
|
|
273
273
|
* @remarks
|
|
274
|
-
* The timeout period for a single health check, in seconds. This must be a positive integer and less than intervalSeconds. If omitted, the default value is 2.
|
|
274
|
+
* The timeout period for a single health check, in seconds. This field must be a positive integer and less than intervalSeconds. If this field is omitted, the default value is 2.
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
277
|
* 2
|
|
@@ -279,7 +279,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
279
279
|
timeoutSeconds?: number;
|
|
280
280
|
/**
|
|
281
281
|
* @remarks
|
|
282
|
-
* The number of consecutive health check failures
|
|
282
|
+
* The number of consecutive health check failures before the agent is considered unhealthy. This field must be a positive integer. If this field is omitted, the default value is 3.
|
|
283
283
|
*
|
|
284
284
|
* @example
|
|
285
285
|
* 3
|
|
@@ -299,7 +299,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
299
299
|
export declare class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
300
300
|
/**
|
|
301
301
|
* @remarks
|
|
302
|
-
* The name of the
|
|
302
|
+
* The name of the SLS logstore that receives agent logs.
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
305
|
* agent-runtime
|
|
@@ -307,7 +307,7 @@ export declare class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model
|
|
|
307
307
|
logstore?: string;
|
|
308
308
|
/**
|
|
309
309
|
* @remarks
|
|
310
|
-
* The name of the
|
|
310
|
+
* The name of the SLS project that receives agent logs.
|
|
311
311
|
*
|
|
312
312
|
* @example
|
|
313
313
|
* my-agent-logs
|
|
@@ -327,7 +327,7 @@ export declare class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model
|
|
|
327
327
|
export declare class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
328
328
|
/**
|
|
329
329
|
* @remarks
|
|
330
|
-
* The
|
|
330
|
+
* The SLS log delivery destination. When updating this object, you must provide both the project and logstore fields, and they cannot be empty.
|
|
331
331
|
*/
|
|
332
332
|
sls?: UpdateCustomAgentRequestBodyLoggingSls;
|
|
333
333
|
static names(): {
|
|
@@ -344,7 +344,7 @@ export declare class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
|
344
344
|
export declare class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
345
345
|
/**
|
|
346
346
|
* @remarks
|
|
347
|
-
* Specifies whether to allow the agent to access the Internet.
|
|
347
|
+
* Specifies whether to allow the agent to access the Internet. When configuring accessInternet, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow Internet access.
|
|
348
348
|
*/
|
|
349
349
|
enabled?: boolean;
|
|
350
350
|
static names(): {
|
|
@@ -361,7 +361,7 @@ export declare class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $
|
|
|
361
361
|
export declare class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
362
362
|
/**
|
|
363
363
|
* @remarks
|
|
364
|
-
* Specifies whether to allow the agent to access the user VPC configured
|
|
364
|
+
* Specifies whether to allow the agent to access the user VPC configured in the workspace. When configuring accessVpc, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow VPC access.
|
|
365
365
|
*/
|
|
366
366
|
enabled?: boolean;
|
|
367
367
|
static names(): {
|
|
@@ -378,12 +378,12 @@ export declare class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.
|
|
|
378
378
|
export declare class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
379
379
|
/**
|
|
380
380
|
* @remarks
|
|
381
|
-
* The Internet access configuration.
|
|
381
|
+
* The Internet access configuration. When this access item is omitted, the agent does not restrict Internet access. However, the workspace must still allow Internet access.
|
|
382
382
|
*/
|
|
383
383
|
accessInternet?: UpdateCustomAgentRequestBodyNetworkAccessInternet;
|
|
384
384
|
/**
|
|
385
385
|
* @remarks
|
|
386
|
-
* The user VPC access configuration.
|
|
386
|
+
* The user VPC access configuration. When this access item is omitted, the agent does not restrict VPC access. However, the workspace must still be configured to allow access to the user VPC.
|
|
387
387
|
*/
|
|
388
388
|
accessVpc?: UpdateCustomAgentRequestBodyNetworkAccessVpc;
|
|
389
389
|
static names(): {
|
|
@@ -397,10 +397,27 @@ export declare class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
|
397
397
|
[key: string]: any;
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
|
+
export declare class UpdateCustomAgentRequestBodyObservability extends $dara.Model {
|
|
401
|
+
/**
|
|
402
|
+
* @remarks
|
|
403
|
+
* Specifies whether to enable agent observability.
|
|
404
|
+
*/
|
|
405
|
+
enabled?: boolean;
|
|
406
|
+
static names(): {
|
|
407
|
+
[key: string]: string;
|
|
408
|
+
};
|
|
409
|
+
static types(): {
|
|
410
|
+
[key: string]: any;
|
|
411
|
+
};
|
|
412
|
+
validate(): void;
|
|
413
|
+
constructor(map?: {
|
|
414
|
+
[key: string]: any;
|
|
415
|
+
});
|
|
416
|
+
}
|
|
400
417
|
export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
401
418
|
/**
|
|
402
419
|
* @remarks
|
|
403
|
-
* The name of the OSS bucket. This
|
|
420
|
+
* The name of the OSS bucket. This parameter is required for each mount item. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens. It cannot start or end with a hyphen.
|
|
404
421
|
*
|
|
405
422
|
* @example
|
|
406
423
|
* my-agent-data
|
|
@@ -408,7 +425,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
408
425
|
bucketName?: string;
|
|
409
426
|
/**
|
|
410
427
|
* @remarks
|
|
411
|
-
* The subdirectory under /mnt/oss/ in the container. This
|
|
428
|
+
* The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overlaps.
|
|
412
429
|
*
|
|
413
430
|
* @example
|
|
414
431
|
* /mnt/oss/train
|
|
@@ -416,7 +433,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
416
433
|
mountPath?: string;
|
|
417
434
|
/**
|
|
418
435
|
* @remarks
|
|
419
|
-
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing
|
|
436
|
+
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported. Do not use parent directory navigation.
|
|
420
437
|
*
|
|
421
438
|
* @example
|
|
422
439
|
* datasets/train
|
|
@@ -424,7 +441,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
424
441
|
path?: string;
|
|
425
442
|
/**
|
|
426
443
|
* @remarks
|
|
427
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read
|
|
444
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
|
|
428
445
|
*/
|
|
429
446
|
readOnly?: boolean;
|
|
430
447
|
static names(): {
|
|
@@ -441,7 +458,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
441
458
|
export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
|
|
442
459
|
/**
|
|
443
460
|
* @remarks
|
|
444
|
-
* The description of the current API path.
|
|
461
|
+
* The usage description of the current API path.
|
|
445
462
|
*
|
|
446
463
|
* @example
|
|
447
464
|
* AG-UI conversation API
|
|
@@ -449,7 +466,7 @@ export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Mod
|
|
|
449
466
|
description?: string;
|
|
450
467
|
/**
|
|
451
468
|
* @remarks
|
|
452
|
-
* The non-empty API path
|
|
469
|
+
* The non-empty API path for the current protocol.
|
|
453
470
|
*
|
|
454
471
|
* This parameter is required.
|
|
455
472
|
*
|
|
@@ -478,7 +495,7 @@ export declare class UpdateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
478
495
|
};
|
|
479
496
|
/**
|
|
480
497
|
* @remarks
|
|
481
|
-
* The list of API paths
|
|
498
|
+
* The list of API paths for the current protocol.
|
|
482
499
|
*/
|
|
483
500
|
paths?: UpdateCustomAgentRequestBodyProtocolPaths[];
|
|
484
501
|
/**
|
|
@@ -533,14 +550,17 @@ export declare class UpdateCustomAgentRequestBodyRuntimeCompute extends $dara.Mo
|
|
|
533
550
|
export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
534
551
|
/**
|
|
535
552
|
* @remarks
|
|
536
|
-
* Specifies whether to enable elastic scaling.
|
|
553
|
+
* Specifies whether to enable elastic scaling. Valid values:
|
|
554
|
+
* - true: Enabled.
|
|
555
|
+
* - false: Disabled.
|
|
556
|
+
* Default value: false. This default value applies when runtime is provided and this field is omitted.
|
|
537
557
|
*
|
|
538
558
|
* This parameter is required.
|
|
539
559
|
*/
|
|
540
560
|
enabled?: boolean;
|
|
541
561
|
/**
|
|
542
562
|
* @remarks
|
|
543
|
-
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100.
|
|
563
|
+
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, omitting this field uses the default value of 100.
|
|
544
564
|
*
|
|
545
565
|
* @example
|
|
546
566
|
* 100
|
|
@@ -548,7 +568,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
548
568
|
maxConcurrentSessionsPerSandbox?: number;
|
|
549
569
|
/**
|
|
550
570
|
* @remarks
|
|
551
|
-
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount.
|
|
571
|
+
* The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, omitting this field uses the default value of 10.
|
|
552
572
|
*
|
|
553
573
|
* @example
|
|
554
574
|
* 10
|
|
@@ -556,7 +576,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
556
576
|
maxSandboxCount?: number;
|
|
557
577
|
/**
|
|
558
578
|
* @remarks
|
|
559
|
-
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount.
|
|
579
|
+
* The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, omitting this field uses the default value of 1.
|
|
560
580
|
*
|
|
561
581
|
* @example
|
|
562
582
|
* 1
|
|
@@ -564,7 +584,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
564
584
|
minSandboxCount?: number;
|
|
565
585
|
/**
|
|
566
586
|
* @remarks
|
|
567
|
-
* The session idle timeout in seconds. Valid values: 60 to 86400.
|
|
587
|
+
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, omitting this field uses the default value of 600.
|
|
568
588
|
*
|
|
569
589
|
* @example
|
|
570
590
|
* 600
|
|
@@ -584,7 +604,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
584
604
|
export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
585
605
|
/**
|
|
586
606
|
* @remarks
|
|
587
|
-
* The name of the HTTP request header used by the session policy. This
|
|
607
|
+
* The name of the HTTP request header used by the session policy. This parameter is required when type is set to ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this parameter for other policies.
|
|
588
608
|
*
|
|
589
609
|
* @example
|
|
590
610
|
* X-Session-Id
|
|
@@ -595,7 +615,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $d
|
|
|
595
615
|
* The session policy type. Valid values:
|
|
596
616
|
* - AFFINITY: Session affinity.
|
|
597
617
|
* - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
|
|
598
|
-
* - ISOLATED_COOKIE: Cookie-based session
|
|
618
|
+
* - ISOLATED_COOKIE: Cookie-based session policy. This value is not recommended.
|
|
599
619
|
* - DISABLED: Compatibility option. The response returns AFFINITY.
|
|
600
620
|
*
|
|
601
621
|
* This parameter is required.
|
|
@@ -625,12 +645,12 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
625
645
|
compute?: UpdateCustomAgentRequestBodyRuntimeCompute;
|
|
626
646
|
/**
|
|
627
647
|
* @remarks
|
|
628
|
-
* The optional elastic policy. When runtime is provided,
|
|
648
|
+
* The optional elastic policy. When runtime is provided, omitting hpa or its fields uses the default values: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
|
|
629
649
|
*/
|
|
630
650
|
hpa?: UpdateCustomAgentRequestBodyRuntimeHpa;
|
|
631
651
|
/**
|
|
632
652
|
* @remarks
|
|
633
|
-
* The session policy configuration
|
|
653
|
+
* The session policy configuration used to set the session association method for requests.
|
|
634
654
|
*
|
|
635
655
|
* This parameter is required.
|
|
636
656
|
*/
|
|
@@ -649,17 +669,17 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
649
669
|
export declare class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
650
670
|
/**
|
|
651
671
|
* @remarks
|
|
652
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS and
|
|
672
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. During creation, omitting this field or passing an empty array [] indicates no additional mounts. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
|
|
653
673
|
*/
|
|
654
674
|
agenticFsMounts?: UpdateCustomAgentRequestBodyAgenticFsMounts[];
|
|
655
675
|
/**
|
|
656
676
|
* @remarks
|
|
657
|
-
* The deployment artifact configuration.
|
|
677
|
+
* The deployment artifact configuration. You must specify the service listening port in the port field and choose either the code or container deployment method. During an update, you must provide the required fields for the selected method.
|
|
658
678
|
*/
|
|
659
679
|
artifact?: UpdateCustomAgentRequestBodyArtifact;
|
|
660
680
|
/**
|
|
661
681
|
* @remarks
|
|
662
|
-
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing whitespaces are removed.
|
|
682
|
+
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing whitespaces are removed. Omitting this field retains the original value. Pass null to clear the description.
|
|
663
683
|
*
|
|
664
684
|
* @example
|
|
665
685
|
* Custom agent that provides conversation services
|
|
@@ -677,12 +697,12 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
677
697
|
healthCheck?: UpdateCustomAgentRequestBodyHealthCheck;
|
|
678
698
|
/**
|
|
679
699
|
* @remarks
|
|
680
|
-
* The log delivery configuration for the agent. You can specify the Simple Log Service project and logstore. After a successful creation or update, verify whether logs are delivered properly.
|
|
700
|
+
* The log delivery configuration for the agent. You can specify the Simple Log Service (SLS) project and logstore. After a successful creation or update, verify whether logs are delivered properly.
|
|
681
701
|
*/
|
|
682
702
|
logging?: UpdateCustomAgentRequestBodyLogging;
|
|
683
703
|
/**
|
|
684
704
|
* @remarks
|
|
685
|
-
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace.
|
|
705
|
+
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace. Omitting this field retains the original value. You cannot pass null or a blank name.
|
|
686
706
|
*
|
|
687
707
|
* @example
|
|
688
708
|
* my-custom-agent
|
|
@@ -690,22 +710,27 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
690
710
|
name?: string;
|
|
691
711
|
/**
|
|
692
712
|
* @remarks
|
|
693
|
-
* The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible
|
|
713
|
+
* The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible range is still restricted by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
|
|
694
714
|
*/
|
|
695
715
|
network?: UpdateCustomAgentRequestBodyNetwork;
|
|
696
716
|
/**
|
|
697
717
|
* @remarks
|
|
698
|
-
* The
|
|
718
|
+
* The high-code agent observability configuration.
|
|
719
|
+
*/
|
|
720
|
+
observability?: UpdateCustomAgentRequestBodyObservability;
|
|
721
|
+
/**
|
|
722
|
+
* @remarks
|
|
723
|
+
* The OSS mount list. A maximum of 10 items in total with agenticFsMounts. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap. The entire list is replaced during an update. Pass an empty array to clear the list.
|
|
699
724
|
*/
|
|
700
725
|
ossMounts?: UpdateCustomAgentRequestBodyOssMounts[];
|
|
701
726
|
/**
|
|
702
727
|
* @remarks
|
|
703
|
-
* The list of invocation protocols supported by the agent. Each item includes the protocol type
|
|
728
|
+
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. The entire list is replaced during an update.
|
|
704
729
|
*/
|
|
705
730
|
protocol?: UpdateCustomAgentRequestBodyProtocol[];
|
|
706
731
|
/**
|
|
707
732
|
* @remarks
|
|
708
|
-
* The ARN of the RAM role used
|
|
733
|
+
* The ARN of the RAM role used when the agent accesses user cloud resources. The role must have permissions to access the cloud resources.
|
|
709
734
|
*
|
|
710
735
|
* @example
|
|
711
736
|
* acs:ram::1234567890123456:role/agentcore-runtime-role
|
|
@@ -713,9 +738,17 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
713
738
|
roleArn?: string;
|
|
714
739
|
/**
|
|
715
740
|
* @remarks
|
|
716
|
-
* The runtime configuration. When this object is provided,
|
|
741
|
+
* The runtime configuration. When this object is provided, compute and sessionPolicy must be present at the same time. To retain the original elastic policy, provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
|
|
717
742
|
*/
|
|
718
743
|
runtime?: UpdateCustomAgentRequestBodyRuntime;
|
|
744
|
+
/**
|
|
745
|
+
* @remarks
|
|
746
|
+
* If this parameter is not passed during an update, the original value is retained. Explicitly set this parameter to true or false. The system does not automatically supplement false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
|
|
747
|
+
*
|
|
748
|
+
* @example
|
|
749
|
+
* true
|
|
750
|
+
*/
|
|
751
|
+
useImageCache?: boolean;
|
|
719
752
|
static names(): {
|
|
720
753
|
[key: string]: string;
|
|
721
754
|
};
|
|
@@ -730,12 +763,12 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
|
|
|
730
763
|
export declare class UpdateCustomAgentRequest extends $dara.Model {
|
|
731
764
|
/**
|
|
732
765
|
* @remarks
|
|
733
|
-
* The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object,
|
|
766
|
+
* The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
|
|
734
767
|
*/
|
|
735
768
|
body?: UpdateCustomAgentRequestBody;
|
|
736
769
|
/**
|
|
737
770
|
* @remarks
|
|
738
|
-
*
|
|
771
|
+
* Idempotence is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
|
|
739
772
|
*
|
|
740
773
|
* @example
|
|
741
774
|
* custom-agent-request-20261010-001
|