@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
|
@@ -7,7 +7,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
export class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The message
|
|
10
|
+
* The content of the message.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
|
17
17
|
content?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The message
|
|
20
|
+
* The role of the message.
|
|
21
21
|
*
|
|
22
22
|
* This parameter is required.
|
|
23
23
|
*
|
|
@@ -51,7 +51,7 @@ export class AddMemoriesRequestBodyMessages extends $dara.Model {
|
|
|
51
51
|
export class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The agent
|
|
54
|
+
* The ID of the agent. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* agent-001
|
|
@@ -59,7 +59,7 @@ export class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
59
59
|
agentId?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* The session
|
|
62
|
+
* The ID of the session. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* session-001
|
|
@@ -67,7 +67,7 @@ export class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
67
67
|
sessionId?: string;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The user
|
|
70
|
+
* The ID of the user. The length is limited to 1 to 128 UTF-8 bytes. The ID cannot contain a forward slash (/) or an asterisk (*).
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* user-001
|
|
@@ -101,7 +101,7 @@ export class AddMemoriesRequestBodyScope extends $dara.Model {
|
|
|
101
101
|
export class AddMemoriesRequestBody extends $dara.Model {
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The list of messages. You must provide either this parameter or Text, but not both.
|
|
104
|
+
* The list of messages. You must provide either this parameter or Text, but not both. The list must contain 1 to 20 messages, and the total size of the content must not exceed 32,000 UTF-8 bytes.
|
|
105
105
|
*/
|
|
106
106
|
messages?: AddMemoriesRequestBodyMessages[];
|
|
107
107
|
/**
|
|
@@ -111,7 +111,7 @@ export class AddMemoriesRequestBody extends $dara.Model {
|
|
|
111
111
|
metadata?: { [key: string]: string };
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The time reference point for
|
|
114
|
+
* The time reference point for the batch of messages or text. The value must be in RFC 3339 format with a time zone and support fractional seconds.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 2023-05-08T13:56:00+08:00
|
|
@@ -119,7 +119,7 @@ export class AddMemoriesRequestBody extends $dara.Model {
|
|
|
119
119
|
referenceTime?: string;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The write
|
|
122
|
+
* The scope of the write operation. UserId, AgentId, and SessionId are all optional.
|
|
123
123
|
*/
|
|
124
124
|
scope?: AddMemoriesRequestBodyScope;
|
|
125
125
|
/**
|
|
@@ -129,7 +129,7 @@ export class AddMemoriesRequestBody extends $dara.Model {
|
|
|
129
129
|
sync?: boolean;
|
|
130
130
|
/**
|
|
131
131
|
* @remarks
|
|
132
|
-
* The text to be written directly. You must provide either this parameter or Messages, but not both. The text
|
|
132
|
+
* The text to be written directly. You must provide either this parameter or Messages, but not both. The size of the text must not exceed 32,000 UTF-8 bytes.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
135
|
* The user likes hiking
|
|
@@ -178,7 +178,7 @@ export class AddMemoriesRequestBody extends $dara.Model {
|
|
|
178
178
|
export class AddMemoriesRequest extends $dara.Model {
|
|
179
179
|
/**
|
|
180
180
|
* @remarks
|
|
181
|
-
* The
|
|
181
|
+
* The request body for writing to memory.
|
|
182
182
|
*
|
|
183
183
|
* This parameter is required.
|
|
184
184
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddMemoriesResponseBodyDataMemories extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The long-term memory
|
|
8
|
+
* The ID of the long-term memory.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* mem-2f5f9c5a8d0e4c3b
|
|
@@ -40,7 +40,7 @@ export class AddMemoriesResponseBodyData extends $dara.Model {
|
|
|
40
40
|
memories?: AddMemoriesResponseBodyDataMemories[];
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The task
|
|
43
|
+
* The ID of the task returned only when sync is set to false. This parameter is not returned together with memories.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* task-2f5f9c5a8d0e4c3b
|
|
@@ -83,7 +83,7 @@ export class AddMemoriesResponseBody extends $dara.Model {
|
|
|
83
83
|
code?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The write
|
|
86
|
+
* The result of the write operation.
|
|
87
87
|
*/
|
|
88
88
|
data?: AddMemoriesResponseBodyData;
|
|
89
89
|
/**
|
|
@@ -104,7 +104,7 @@ export class AddMemoriesResponseBody extends $dara.Model {
|
|
|
104
104
|
message?: string;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The request
|
|
107
|
+
* The ID of the request.
|
|
108
108
|
*
|
|
109
109
|
* @example
|
|
110
110
|
* 01A00000-0000-0000-0000-000000000001
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or
|
|
8
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overrides.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* /mnt/agenticfs/data
|
|
@@ -13,7 +13,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The existing non-empty relative directory under the access point. This parameter is required for each mount item. Root directories, absolute paths, and parent directory
|
|
16
|
+
* The existing non-empty relative directory under the access point. This parameter is required for each mount item. Root directories, absolute paths, and parent directory traversals are not allowed.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* workspace/data
|
|
@@ -21,7 +21,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
|
|
24
|
+
* 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 parameter is omitted, the default value is false.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -29,7 +29,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
29
29
|
readOnly?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The access point
|
|
32
|
+
* The domain name of the access point. This parameter is required for each mount item. Use the DomainName from the ListAccessPoints response of NAS. Do not include the protocol, port, or path.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -65,32 +65,32 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
|
65
65
|
export class CreateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The startup
|
|
68
|
+
* The startup command for the code package. This parameter is required in code package mode. The working directory is the root directory of the extracted code, which is /code. Example: python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use a script within the package.
|
|
69
69
|
*
|
|
70
70
|
* This parameter is required.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
|
-
* python
|
|
73
|
+
* python main.py
|
|
74
74
|
*/
|
|
75
75
|
entrypoint?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The
|
|
78
|
+
* The code runtime environment identifier, such as python3.12. When you create or switch environments, use the identifier returned by ListAgentCodeRuntimes. The identifier is validated by the current version catalog and is not a fixed enumeration.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
*
|
|
83
|
+
* python3.12
|
|
84
84
|
*/
|
|
85
85
|
languageRuntime?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The source
|
|
88
|
+
* The source address of the code package. OSS addresses (oss://) or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs, are supported. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. For local uploads, use the sourceUri returned by GetAgentCodePackageUploadUrl. The address is revalidated and transferred during creation or updates. After the address is saved, a fixed oss:// address of the platform is returned. You can reuse this fixed address for regular updates.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
|
-
* oss://my-agent-bucket/packages/
|
|
93
|
+
* oss://my-agent-bucket/packages/main.zip
|
|
94
94
|
*/
|
|
95
95
|
sourceUri?: string;
|
|
96
96
|
static names(): { [key: string]: string } {
|
|
@@ -159,7 +159,7 @@ export class CreateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
|
159
159
|
repo?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The image tag used for deployment. This parameter cannot be empty. When
|
|
162
|
+
* The image tag used for deployment. This parameter cannot be empty. When you update the tag, you must also specify artifact.port and other required image fields.
|
|
163
163
|
*
|
|
164
164
|
* This parameter is required.
|
|
165
165
|
*
|
|
@@ -169,7 +169,7 @@ export class CreateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
|
169
169
|
tag?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The image source type.
|
|
172
|
+
* The image source type. Only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
|
|
173
173
|
*
|
|
174
174
|
* This parameter is required.
|
|
175
175
|
*
|
|
@@ -211,17 +211,17 @@ export class CreateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
|
|
|
211
211
|
export class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
* The code package deployment configuration. This is
|
|
214
|
+
* The code package deployment configuration. This parameter is mutually exclusive with container. 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.
|
|
215
215
|
*/
|
|
216
216
|
code?: CreateCustomAgentRequestBodyArtifactCode;
|
|
217
217
|
/**
|
|
218
218
|
* @remarks
|
|
219
|
-
* The ACR container image configuration. You must specify type, instanceId, namespace, repo, and tag. Do not configure code at the same time.
|
|
219
|
+
* The Container Registry (ACR) container image configuration. You must specify type, instanceId, namespace, repo, and tag. Do not configure code at the same time.
|
|
220
220
|
*/
|
|
221
221
|
container?: CreateCustomAgentRequestBodyArtifactContainer;
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
* The TCP port
|
|
224
|
+
* The TCP port listened by the agent service. Valid values: 1 to 65535.
|
|
225
225
|
*
|
|
226
226
|
* This parameter is required.
|
|
227
227
|
*
|
|
@@ -263,7 +263,7 @@ export class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
263
263
|
export class CreateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The name of the environment variable. This parameter cannot be empty and must be unique
|
|
266
|
+
* The name of the environment variable. This parameter cannot be empty and must be unique in the current environment variable list.
|
|
267
267
|
*
|
|
268
268
|
* This parameter is required.
|
|
269
269
|
*
|
|
@@ -337,7 +337,7 @@ export class CreateCustomAgentRequestBodyEnvironment extends $dara.Model {
|
|
|
337
337
|
export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
338
338
|
/**
|
|
339
339
|
* @remarks
|
|
340
|
-
* This parameter does not
|
|
340
|
+
* This parameter does not take effect. Omit this parameter.
|
|
341
341
|
*
|
|
342
342
|
* @example
|
|
343
343
|
* 1
|
|
@@ -345,7 +345,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
345
345
|
healthyThreshold?: number;
|
|
346
346
|
/**
|
|
347
347
|
* @remarks
|
|
348
|
-
* The interval between two health checks, in seconds. It must be a positive integer. If omitted, the default value is 10.
|
|
348
|
+
* The interval between two health checks, in seconds. It must be a positive integer. If this parameter is omitted, the default value is 10.
|
|
349
349
|
*
|
|
350
350
|
* @example
|
|
351
351
|
* 10
|
|
@@ -353,7 +353,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
353
353
|
intervalSeconds?: number;
|
|
354
354
|
/**
|
|
355
355
|
* @remarks
|
|
356
|
-
* The HTTP health check path. It must start with a forward slash (/). If omitted, the default value is /healthz.
|
|
356
|
+
* The HTTP health check path. It must start with a forward slash (/). If this parameter is omitted, the default value is /healthz.
|
|
357
357
|
*
|
|
358
358
|
* @example
|
|
359
359
|
* /healthz
|
|
@@ -361,7 +361,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
361
361
|
path?: string;
|
|
362
362
|
/**
|
|
363
363
|
* @remarks
|
|
364
|
-
* The port accessed for health checks. This parameter is required when
|
|
364
|
+
* The port accessed for health checks. This parameter is required when you configure a health check. Valid values: 1 to 65535.
|
|
365
365
|
*
|
|
366
366
|
* @example
|
|
367
367
|
* 8080
|
|
@@ -369,7 +369,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
369
369
|
port?: number;
|
|
370
370
|
/**
|
|
371
371
|
* @remarks
|
|
372
|
-
* The timeout period for a single health check, in seconds. It must be a positive integer and less than intervalSeconds. If omitted, the default value is 2.
|
|
372
|
+
* The timeout period for a single health check, in seconds. It must be a positive integer and less than intervalSeconds. If this parameter is omitted, the default value is 2.
|
|
373
373
|
*
|
|
374
374
|
* @example
|
|
375
375
|
* 2
|
|
@@ -377,7 +377,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
377
377
|
timeoutSeconds?: number;
|
|
378
378
|
/**
|
|
379
379
|
* @remarks
|
|
380
|
-
* The number of consecutive health check failures
|
|
380
|
+
* The number of consecutive health check failures after which the agent is considered unhealthy. It must be a positive integer. If this parameter is omitted, the default value is 3.
|
|
381
381
|
*
|
|
382
382
|
* @example
|
|
383
383
|
* 3
|
|
@@ -417,7 +417,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
|
417
417
|
export class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
418
418
|
/**
|
|
419
419
|
* @remarks
|
|
420
|
-
* The name of the Simple Log Service Logstore that receives
|
|
420
|
+
* The name of the Simple Log Service Logstore that receives agent logs.
|
|
421
421
|
*
|
|
422
422
|
* @example
|
|
423
423
|
* agent-runtime
|
|
@@ -425,7 +425,7 @@ export class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
|
425
425
|
logstore?: string;
|
|
426
426
|
/**
|
|
427
427
|
* @remarks
|
|
428
|
-
* The name of the Simple Log Service project that receives
|
|
428
|
+
* The name of the Simple Log Service project that receives agent logs.
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
431
|
* my-agent-logs
|
|
@@ -457,7 +457,7 @@ export class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
|
457
457
|
export class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
458
458
|
/**
|
|
459
459
|
* @remarks
|
|
460
|
-
* The Simple Log Service log delivery destination. When
|
|
460
|
+
* The Simple Log Service log delivery destination. When you configure this object, neither project nor logstore can be empty.
|
|
461
461
|
*/
|
|
462
462
|
sls?: CreateCustomAgentRequestBodyLoggingSls;
|
|
463
463
|
static names(): { [key: string]: string } {
|
|
@@ -487,7 +487,7 @@ export class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
|
487
487
|
export class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
488
488
|
/**
|
|
489
489
|
* @remarks
|
|
490
|
-
* Specifies whether to allow the agent to access the Internet. A Boolean value
|
|
490
|
+
* Specifies whether to allow the agent to access the Internet. A Boolean value must be provided when you configure accessInternet. For this configuration to take effect, the workspace must also allow Internet access.
|
|
491
491
|
*/
|
|
492
492
|
enabled?: boolean;
|
|
493
493
|
static names(): { [key: string]: string } {
|
|
@@ -514,7 +514,7 @@ export class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Mod
|
|
|
514
514
|
export class CreateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
515
515
|
/**
|
|
516
516
|
* @remarks
|
|
517
|
-
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value
|
|
517
|
+
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value must be provided when you configure accessVpc. For this configuration to take effect, the workspace must also allow VPC access.
|
|
518
518
|
*/
|
|
519
519
|
enabled?: boolean;
|
|
520
520
|
static names(): { [key: string]: string } {
|
|
@@ -578,6 +578,33 @@ export class CreateCustomAgentRequestBodyNetwork extends $dara.Model {
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
+
export class CreateCustomAgentRequestBodyObservability extends $dara.Model {
|
|
582
|
+
/**
|
|
583
|
+
* @remarks
|
|
584
|
+
* Specifies whether to enable agent observability.
|
|
585
|
+
*/
|
|
586
|
+
enabled?: boolean;
|
|
587
|
+
static names(): { [key: string]: string } {
|
|
588
|
+
return {
|
|
589
|
+
enabled: 'enabled',
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
static types(): { [key: string]: any } {
|
|
594
|
+
return {
|
|
595
|
+
enabled: 'boolean',
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
validate() {
|
|
600
|
+
super.validate();
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
constructor(map?: { [key: string]: any }) {
|
|
604
|
+
super(map);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
581
608
|
export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
582
609
|
/**
|
|
583
610
|
* @remarks
|
|
@@ -589,7 +616,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
589
616
|
bucketName?: string;
|
|
590
617
|
/**
|
|
591
618
|
* @remarks
|
|
592
|
-
* The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or
|
|
619
|
+
* 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.
|
|
593
620
|
*
|
|
594
621
|
* @example
|
|
595
622
|
* /mnt/oss/train
|
|
@@ -597,7 +624,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
597
624
|
mountPath?: string;
|
|
598
625
|
/**
|
|
599
626
|
* @remarks
|
|
600
|
-
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing
|
|
627
|
+
* 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 traversal.
|
|
601
628
|
*
|
|
602
629
|
* @example
|
|
603
630
|
* datasets/train
|
|
@@ -605,7 +632,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
605
632
|
path?: string;
|
|
606
633
|
/**
|
|
607
634
|
* @remarks
|
|
608
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
|
|
635
|
+
* 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 parameter is omitted, the default value is false.
|
|
609
636
|
*/
|
|
610
637
|
readOnly?: boolean;
|
|
611
638
|
static names(): { [key: string]: string } {
|
|
@@ -690,7 +717,7 @@ export class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
690
717
|
paths?: CreateCustomAgentRequestBodyProtocolPaths[];
|
|
691
718
|
/**
|
|
692
719
|
* @remarks
|
|
693
|
-
* The invocation protocol type. Valid values: agui: AG-UI protocol
|
|
720
|
+
* The invocation protocol type. Valid values: agui: AG-UI protocol. openai-chat-completion: OpenAI Chat Completions compatible protocol. custom: Custom protocol.
|
|
694
721
|
*
|
|
695
722
|
* This parameter is required.
|
|
696
723
|
*
|
|
@@ -732,7 +759,7 @@ export class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
732
759
|
export class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
733
760
|
/**
|
|
734
761
|
* @remarks
|
|
735
|
-
* The compute specification. Valid values: INTERACTIVE: 1 vCPU and 2 GiB of memory
|
|
762
|
+
* The compute specification. Valid values: INTERACTIVE: 1 vCPU and 2 GiB of memory. STANDARD: 2 vCPUs and 4 GiB of memory. HEAVY: 4 vCPUs and 8 GiB of memory.
|
|
736
763
|
*
|
|
737
764
|
* This parameter is required.
|
|
738
765
|
*
|
|
@@ -841,7 +868,7 @@ export class CreateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Mode
|
|
|
841
868
|
headerName?: string;
|
|
842
869
|
/**
|
|
843
870
|
* @remarks
|
|
844
|
-
* The session policy type. Valid values: AFFINITY:
|
|
871
|
+
* The session policy type. Valid values: AFFINITY: Session affinity. ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName. ISOLATED_COOKIE: Not recommended for now. DISABLED: A compatibility option. The response returns AFFINITY.
|
|
845
872
|
*
|
|
846
873
|
* This parameter is required.
|
|
847
874
|
*
|
|
@@ -929,19 +956,19 @@ export class CreateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
929
956
|
export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
930
957
|
/**
|
|
931
958
|
* @remarks
|
|
932
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS and
|
|
959
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass [], the list is cleared. You cannot pass null.
|
|
933
960
|
*/
|
|
934
961
|
agenticFsMounts?: CreateCustomAgentRequestBodyAgenticFsMounts[];
|
|
935
962
|
/**
|
|
936
963
|
* @remarks
|
|
937
|
-
* The deployment artifact configuration.
|
|
964
|
+
* The deployment artifact configuration. You must specify the service listening port and choose either code or container as the deployment method.
|
|
938
965
|
*
|
|
939
966
|
* This parameter is required.
|
|
940
967
|
*/
|
|
941
968
|
artifact?: CreateCustomAgentRequestBodyArtifact;
|
|
942
969
|
/**
|
|
943
970
|
* @remarks
|
|
944
|
-
* The description of the agent
|
|
971
|
+
* The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing spaces are removed.
|
|
945
972
|
*
|
|
946
973
|
* @example
|
|
947
974
|
* Custom agent that provides conversation services
|
|
@@ -954,17 +981,17 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
954
981
|
environment?: CreateCustomAgentRequestBodyEnvironment;
|
|
955
982
|
/**
|
|
956
983
|
* @remarks
|
|
957
|
-
* The optional HTTP health check configuration. If this object is provided,
|
|
984
|
+
* The optional HTTP health check configuration. If this object is provided, you must specify port. Unspecified items use default values. If omitted during creation, no health check is configured. If this top-level field is omitted during an update, the original configuration is retained. If null is passed, the health check is removed.
|
|
958
985
|
*/
|
|
959
986
|
healthCheck?: CreateCustomAgentRequestBodyHealthCheck;
|
|
960
987
|
/**
|
|
961
988
|
* @remarks
|
|
962
|
-
* The agent log delivery configuration. You can specify the Simple Log Service project and Logstore. After a successful creation or update, verify
|
|
989
|
+
* The agent log delivery configuration. You can specify the Simple Log Service project and Logstore. After a successful creation or update, verify whether logs are delivered properly.
|
|
963
990
|
*/
|
|
964
991
|
logging?: CreateCustomAgentRequestBodyLogging;
|
|
965
992
|
/**
|
|
966
993
|
* @remarks
|
|
967
|
-
* The name of the custom agent. The length
|
|
994
|
+
* The name of the custom agent. The length is 1 to 128 characters after leading and trailing spaces are removed. The name must be unique within the same workspace.
|
|
968
995
|
*
|
|
969
996
|
* This parameter is required.
|
|
970
997
|
*
|
|
@@ -979,17 +1006,22 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
979
1006
|
network?: CreateCustomAgentRequestBodyNetwork;
|
|
980
1007
|
/**
|
|
981
1008
|
* @remarks
|
|
982
|
-
* The
|
|
1009
|
+
* The high-code agent observability configuration.
|
|
1010
|
+
*/
|
|
1011
|
+
observability?: CreateCustomAgentRequestBodyObservability;
|
|
1012
|
+
/**
|
|
1013
|
+
* @remarks
|
|
1014
|
+
* The list of OSS mounts. The total number of items in this list and agenticFsMounts cannot exceed 10. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap with each other. When you update this list, the entire list is replaced. Pass an empty array [] to clear the list.
|
|
983
1015
|
*/
|
|
984
1016
|
ossMounts?: CreateCustomAgentRequestBodyOssMounts[];
|
|
985
1017
|
/**
|
|
986
1018
|
* @remarks
|
|
987
|
-
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When
|
|
1019
|
+
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When you update this list, the entire list is replaced.
|
|
988
1020
|
*/
|
|
989
1021
|
protocol?: CreateCustomAgentRequestBodyProtocol[];
|
|
990
1022
|
/**
|
|
991
1023
|
* @remarks
|
|
992
|
-
* The ARN of the RAM role used
|
|
1024
|
+
* The ARN of the RAM role used by the agent to access user cloud resources. The role must have permissions to access the cloud resources.
|
|
993
1025
|
*
|
|
994
1026
|
* This parameter is required.
|
|
995
1027
|
*
|
|
@@ -999,11 +1031,19 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
999
1031
|
roleArn?: string;
|
|
1000
1032
|
/**
|
|
1001
1033
|
* @remarks
|
|
1002
|
-
* The runtime configuration, including compute specifications, session policies, and an optional elastic policy. compute and sessionPolicy must be specified
|
|
1034
|
+
* The runtime configuration, including compute specifications, session policies, and an optional elastic policy. Both compute and sessionPolicy must be specified at the same time.
|
|
1003
1035
|
*
|
|
1004
1036
|
* This parameter is required.
|
|
1005
1037
|
*/
|
|
1006
1038
|
runtime?: CreateCustomAgentRequestBodyRuntime;
|
|
1039
|
+
/**
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* Specifies whether to use the image cache. If omitted during creation, the default value is false. You can explicitly set this parameter to true or false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
|
|
1042
|
+
*
|
|
1043
|
+
* @example
|
|
1044
|
+
* true
|
|
1045
|
+
*/
|
|
1046
|
+
useImageCache?: boolean;
|
|
1007
1047
|
static names(): { [key: string]: string } {
|
|
1008
1048
|
return {
|
|
1009
1049
|
agenticFsMounts: 'agenticFsMounts',
|
|
@@ -1014,10 +1054,12 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
1014
1054
|
logging: 'logging',
|
|
1015
1055
|
name: 'name',
|
|
1016
1056
|
network: 'network',
|
|
1057
|
+
observability: 'observability',
|
|
1017
1058
|
ossMounts: 'ossMounts',
|
|
1018
1059
|
protocol: 'protocol',
|
|
1019
1060
|
roleArn: 'roleArn',
|
|
1020
1061
|
runtime: 'runtime',
|
|
1062
|
+
useImageCache: 'useImageCache',
|
|
1021
1063
|
};
|
|
1022
1064
|
}
|
|
1023
1065
|
|
|
@@ -1031,10 +1073,12 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
1031
1073
|
logging: CreateCustomAgentRequestBodyLogging,
|
|
1032
1074
|
name: 'string',
|
|
1033
1075
|
network: CreateCustomAgentRequestBodyNetwork,
|
|
1076
|
+
observability: CreateCustomAgentRequestBodyObservability,
|
|
1034
1077
|
ossMounts: { 'type': 'array', 'itemType': CreateCustomAgentRequestBodyOssMounts },
|
|
1035
1078
|
protocol: { 'type': 'array', 'itemType': CreateCustomAgentRequestBodyProtocol },
|
|
1036
1079
|
roleArn: 'string',
|
|
1037
1080
|
runtime: CreateCustomAgentRequestBodyRuntime,
|
|
1081
|
+
useImageCache: 'boolean',
|
|
1038
1082
|
};
|
|
1039
1083
|
}
|
|
1040
1084
|
|
|
@@ -1057,6 +1101,9 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
1057
1101
|
if(this.network && typeof (this.network as any).validate === 'function') {
|
|
1058
1102
|
(this.network as any).validate();
|
|
1059
1103
|
}
|
|
1104
|
+
if(this.observability && typeof (this.observability as any).validate === 'function') {
|
|
1105
|
+
(this.observability as any).validate();
|
|
1106
|
+
}
|
|
1060
1107
|
if(Array.isArray(this.ossMounts)) {
|
|
1061
1108
|
$dara.Model.validateArray(this.ossMounts);
|
|
1062
1109
|
}
|
|
@@ -1082,7 +1129,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
1082
1129
|
body?: CreateCustomAgentRequestBody;
|
|
1083
1130
|
/**
|
|
1084
1131
|
* @remarks
|
|
1085
|
-
*
|
|
1132
|
+
* Idempotence is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
|
|
1086
1133
|
*
|
|
1087
1134
|
* @example
|
|
1088
1135
|
* custom-agent-request-20261010-001
|