@alicloud/agentcore20260804 2.5.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.
Files changed (235) hide show
  1. package/dist/client.d.ts +762 -70
  2. package/dist/client.js +1001 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddMemoriesRequest.d.ts +10 -10
  5. package/dist/models/AddMemoriesResponseBody.d.ts +4 -4
  6. package/dist/models/AddMemoriesShrinkRequest.d.ts +1 -1
  7. package/dist/models/CreateCustomAgentRequest.d.ts +43 -43
  8. package/dist/models/CreateCustomAgentResponseBody.d.ts +118 -61
  9. package/dist/models/CreateCustomAgentResponseBody.js +33 -1
  10. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  11. package/dist/models/CreateIdentityProviderRequest.d.ts +50 -9
  12. package/dist/models/CreateIdentityProviderRequest.js +32 -1
  13. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  14. package/dist/models/CreateIdentityProviderResponseBody.d.ts +183 -9
  15. package/dist/models/CreateIdentityProviderResponseBody.js +103 -1
  16. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  17. package/dist/models/CreateIdentityProviderShrinkRequest.d.ts +1 -1
  18. package/dist/models/CreateIdentityProviderSyncJobRequest.d.ts +13 -0
  19. package/dist/models/CreateIdentityProviderSyncJobRequest.js +54 -0
  20. package/dist/models/CreateIdentityProviderSyncJobRequest.js.map +1 -0
  21. package/dist/models/CreateIdentityProviderSyncJobResponse.d.ts +19 -0
  22. package/dist/models/CreateIdentityProviderSyncJobResponse.js +69 -0
  23. package/dist/models/CreateIdentityProviderSyncJobResponse.js.map +1 -0
  24. package/dist/models/CreateIdentityProviderSyncJobResponseBody.d.ts +121 -0
  25. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js +100 -0
  26. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js.map +1 -0
  27. package/dist/models/CreateMemoryStoreRequest.d.ts +6 -6
  28. package/dist/models/CreateMemoryStoreResponseBody.d.ts +7 -7
  29. package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +2 -2
  30. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +144 -19
  31. package/dist/models/DeleteIdentityProviderResponseBody.js +74 -1
  32. package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
  33. package/dist/models/DeleteMemoryStoreResponseBody.d.ts +3 -3
  34. package/dist/models/GetAgentCodePackageDownloadUrlRequest.d.ts +13 -0
  35. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js +54 -0
  36. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js.map +1 -0
  37. package/dist/models/GetAgentCodePackageDownloadUrlResponse.d.ts +19 -0
  38. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js +69 -0
  39. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js.map +1 -0
  40. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.d.ts +131 -0
  41. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js +104 -0
  42. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js.map +1 -0
  43. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.d.ts +23 -0
  44. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js +58 -0
  45. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js.map +1 -0
  46. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.d.ts +19 -0
  47. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js +69 -0
  48. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js.map +1 -0
  49. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.d.ts +99 -0
  50. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js +96 -0
  51. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js.map +1 -0
  52. package/dist/models/GetAgentCodePackageUploadUrlRequest.d.ts +62 -0
  53. package/dist/models/GetAgentCodePackageUploadUrlRequest.js +84 -0
  54. package/dist/models/GetAgentCodePackageUploadUrlRequest.js.map +1 -0
  55. package/dist/models/GetAgentCodePackageUploadUrlResponse.d.ts +19 -0
  56. package/dist/models/GetAgentCodePackageUploadUrlResponse.js +69 -0
  57. package/dist/models/GetAgentCodePackageUploadUrlResponse.js.map +1 -0
  58. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.d.ts +114 -0
  59. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js +103 -0
  60. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js.map +1 -0
  61. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.d.ts +20 -0
  62. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js +58 -0
  63. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js.map +1 -0
  64. package/dist/models/GetCustomAgentResponseBody.d.ts +105 -48
  65. package/dist/models/GetCustomAgentResponseBody.js +33 -1
  66. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  67. package/dist/models/GetIdentityProviderResponseBody.d.ts +217 -11
  68. package/dist/models/GetIdentityProviderResponseBody.js +111 -1
  69. package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
  70. package/dist/models/GetIdentityProviderSyncJobRequest.d.ts +13 -0
  71. package/dist/models/GetIdentityProviderSyncJobRequest.js +54 -0
  72. package/dist/models/GetIdentityProviderSyncJobRequest.js.map +1 -0
  73. package/dist/models/GetIdentityProviderSyncJobResponse.d.ts +19 -0
  74. package/dist/models/GetIdentityProviderSyncJobResponse.js +69 -0
  75. package/dist/models/GetIdentityProviderSyncJobResponse.js.map +1 -0
  76. package/dist/models/GetIdentityProviderSyncJobResponseBody.d.ts +128 -0
  77. package/dist/models/GetIdentityProviderSyncJobResponseBody.js +100 -0
  78. package/dist/models/GetIdentityProviderSyncJobResponseBody.js.map +1 -0
  79. package/dist/models/GetIdentityProviderSyncScopeRequest.d.ts +13 -0
  80. package/dist/models/GetIdentityProviderSyncScopeRequest.js +54 -0
  81. package/dist/models/GetIdentityProviderSyncScopeRequest.js.map +1 -0
  82. package/dist/models/GetIdentityProviderSyncScopeResponse.d.ts +19 -0
  83. package/dist/models/GetIdentityProviderSyncScopeResponse.js +69 -0
  84. package/dist/models/GetIdentityProviderSyncScopeResponse.js.map +1 -0
  85. package/dist/models/GetIdentityProviderSyncScopeResponseBody.d.ts +177 -0
  86. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js +151 -0
  87. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js.map +1 -0
  88. package/dist/models/GetMemoryResponseBody.d.ts +4 -4
  89. package/dist/models/GetMemoryStoreResponseBody.d.ts +3 -3
  90. package/dist/models/ListAgentCodeRuntimesRequest.d.ts +29 -0
  91. package/dist/models/ListAgentCodeRuntimesRequest.js +60 -0
  92. package/dist/models/ListAgentCodeRuntimesRequest.js.map +1 -0
  93. package/dist/models/ListAgentCodeRuntimesResponse.d.ts +19 -0
  94. package/dist/models/ListAgentCodeRuntimesResponse.js +69 -0
  95. package/dist/models/ListAgentCodeRuntimesResponse.js.map +1 -0
  96. package/dist/models/ListAgentCodeRuntimesResponseBody.d.ts +115 -0
  97. package/dist/models/ListAgentCodeRuntimesResponseBody.js +100 -0
  98. package/dist/models/ListAgentCodeRuntimesResponseBody.js.map +1 -0
  99. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  100. package/dist/models/ListCustomAgentsResponseBody.d.ts +221 -25
  101. package/dist/models/ListCustomAgentsResponseBody.js +119 -1
  102. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  103. package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +37 -0
  104. package/dist/models/ListIdentityProviderDepartmentsRequest.js +62 -0
  105. package/dist/models/ListIdentityProviderDepartmentsRequest.js.map +1 -0
  106. package/dist/models/ListIdentityProviderDepartmentsResponse.d.ts +19 -0
  107. package/dist/models/ListIdentityProviderDepartmentsResponse.js +69 -0
  108. package/dist/models/ListIdentityProviderDepartmentsResponse.js.map +1 -0
  109. package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +137 -0
  110. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js +104 -0
  111. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js.map +1 -0
  112. package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
  113. package/dist/models/ListIdentityProvidersResponseBody.d.ts +226 -20
  114. package/dist/models/ListIdentityProvidersResponseBody.js +111 -1
  115. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  116. package/dist/models/ListMemoriesResponseBody.d.ts +1 -1
  117. package/dist/models/ListMemorySessionMessagesRequest.d.ts +3 -3
  118. package/dist/models/ListMemorySessionsRequest.d.ts +2 -2
  119. package/dist/models/ListMemorySessionsResponseBody.d.ts +1 -1
  120. package/dist/models/ListMemoryStoresResponseBody.d.ts +2 -2
  121. package/dist/models/SearchMemoriesRequest.d.ts +3 -3
  122. package/dist/models/SearchMemoriesResponseBody.d.ts +3 -3
  123. package/dist/models/UpdateCustomAgentRequest.d.ts +49 -49
  124. package/dist/models/UpdateCustomAgentResponseBody.d.ts +124 -77
  125. package/dist/models/UpdateCustomAgentResponseBody.js +33 -1
  126. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  127. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  128. package/dist/models/UpdateIdentityProviderRequest.d.ts +128 -8
  129. package/dist/models/UpdateIdentityProviderRequest.js +71 -1
  130. package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
  131. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +181 -16
  132. package/dist/models/UpdateIdentityProviderResponseBody.js +103 -1
  133. package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
  134. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  135. package/dist/models/UpdateMemoryRequest.d.ts +3 -3
  136. package/dist/models/UpdateMemoryShrinkRequest.d.ts +1 -1
  137. package/dist/models/UpdateMemoryStoreRequest.d.ts +2 -2
  138. package/dist/models/UpdateMemoryStoreResponseBody.d.ts +1 -1
  139. package/dist/models/ValidateAgentCodePackageFromOssRequest.d.ts +52 -0
  140. package/dist/models/ValidateAgentCodePackageFromOssRequest.js +82 -0
  141. package/dist/models/ValidateAgentCodePackageFromOssRequest.js.map +1 -0
  142. package/dist/models/ValidateAgentCodePackageFromOssResponse.d.ts +19 -0
  143. package/dist/models/ValidateAgentCodePackageFromOssResponse.js +69 -0
  144. package/dist/models/ValidateAgentCodePackageFromOssResponse.js.map +1 -0
  145. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.d.ts +99 -0
  146. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js +96 -0
  147. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js.map +1 -0
  148. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.d.ts +20 -0
  149. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js +58 -0
  150. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js.map +1 -0
  151. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +23 -0
  152. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js +58 -0
  153. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js.map +1 -0
  154. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.d.ts +19 -0
  155. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js +69 -0
  156. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js.map +1 -0
  157. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +73 -0
  158. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js +96 -0
  159. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -0
  160. package/dist/models/model.d.ts +70 -0
  161. package/dist/models/model.js +256 -115
  162. package/dist/models/model.js.map +1 -1
  163. package/package.json +1 -1
  164. package/src/client.ts +1032 -70
  165. package/src/models/AddMemoriesRequest.ts +10 -10
  166. package/src/models/AddMemoriesResponseBody.ts +4 -4
  167. package/src/models/AddMemoriesShrinkRequest.ts +1 -1
  168. package/src/models/CreateCustomAgentRequest.ts +43 -43
  169. package/src/models/CreateCustomAgentResponseBody.ts +141 -61
  170. package/src/models/CreateIdentityProviderRequest.ts +72 -9
  171. package/src/models/CreateIdentityProviderResponseBody.ts +258 -9
  172. package/src/models/CreateIdentityProviderShrinkRequest.ts +1 -1
  173. package/src/models/CreateIdentityProviderSyncJobRequest.ts +24 -0
  174. package/src/models/CreateIdentityProviderSyncJobResponse.ts +40 -0
  175. package/src/models/CreateIdentityProviderSyncJobResponseBody.ts +167 -0
  176. package/src/models/CreateMemoryStoreRequest.ts +6 -6
  177. package/src/models/CreateMemoryStoreResponseBody.ts +7 -7
  178. package/src/models/CreateMemoryStoreShrinkRequest.ts +2 -2
  179. package/src/models/DeleteIdentityProviderResponseBody.ts +199 -19
  180. package/src/models/DeleteMemoryStoreResponseBody.ts +3 -3
  181. package/src/models/GetAgentCodePackageDownloadUrlRequest.ts +24 -0
  182. package/src/models/GetAgentCodePackageDownloadUrlResponse.ts +40 -0
  183. package/src/models/GetAgentCodePackageDownloadUrlResponseBody.ts +181 -0
  184. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.ts +36 -0
  185. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.ts +40 -0
  186. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.ts +141 -0
  187. package/src/models/GetAgentCodePackageUploadUrlRequest.ts +92 -0
  188. package/src/models/GetAgentCodePackageUploadUrlResponse.ts +40 -0
  189. package/src/models/GetAgentCodePackageUploadUrlResponseBody.ts +161 -0
  190. package/src/models/GetAgentCodePackageUploadUrlShrinkRequest.ts +33 -0
  191. package/src/models/GetCustomAgentResponseBody.ts +128 -48
  192. package/src/models/GetIdentityProviderResponseBody.ts +300 -11
  193. package/src/models/GetIdentityProviderSyncJobRequest.ts +24 -0
  194. package/src/models/GetIdentityProviderSyncJobResponse.ts +40 -0
  195. package/src/models/GetIdentityProviderSyncJobResponseBody.ts +174 -0
  196. package/src/models/GetIdentityProviderSyncScopeRequest.ts +24 -0
  197. package/src/models/GetIdentityProviderSyncScopeResponse.ts +40 -0
  198. package/src/models/GetIdentityProviderSyncScopeResponseBody.ts +256 -0
  199. package/src/models/GetMemoryResponseBody.ts +4 -4
  200. package/src/models/GetMemoryStoreResponseBody.ts +3 -3
  201. package/src/models/ListAgentCodeRuntimesRequest.ts +44 -0
  202. package/src/models/ListAgentCodeRuntimesResponse.ts +40 -0
  203. package/src/models/ListAgentCodeRuntimesResponseBody.ts +161 -0
  204. package/src/models/ListCustomAgentsRequest.ts +2 -2
  205. package/src/models/ListCustomAgentsResponseBody.ts +303 -25
  206. package/src/models/ListIdentityProviderDepartmentsRequest.ts +54 -0
  207. package/src/models/ListIdentityProviderDepartmentsResponse.ts +40 -0
  208. package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +187 -0
  209. package/src/models/ListIdentityProvidersRequest.ts +2 -2
  210. package/src/models/ListIdentityProvidersResponseBody.ts +309 -20
  211. package/src/models/ListMemoriesResponseBody.ts +1 -1
  212. package/src/models/ListMemorySessionMessagesRequest.ts +3 -3
  213. package/src/models/ListMemorySessionsRequest.ts +2 -2
  214. package/src/models/ListMemorySessionsResponseBody.ts +1 -1
  215. package/src/models/ListMemoryStoresResponseBody.ts +2 -2
  216. package/src/models/SearchMemoriesRequest.ts +3 -3
  217. package/src/models/SearchMemoriesResponseBody.ts +3 -3
  218. package/src/models/UpdateCustomAgentRequest.ts +49 -49
  219. package/src/models/UpdateCustomAgentResponseBody.ts +147 -77
  220. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  221. package/src/models/UpdateIdentityProviderRequest.ts +180 -8
  222. package/src/models/UpdateIdentityProviderResponseBody.ts +256 -16
  223. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  224. package/src/models/UpdateMemoryRequest.ts +3 -3
  225. package/src/models/UpdateMemoryShrinkRequest.ts +1 -1
  226. package/src/models/UpdateMemoryStoreRequest.ts +2 -2
  227. package/src/models/UpdateMemoryStoreResponseBody.ts +1 -1
  228. package/src/models/ValidateAgentCodePackageFromOssRequest.ts +80 -0
  229. package/src/models/ValidateAgentCodePackageFromOssResponse.ts +40 -0
  230. package/src/models/ValidateAgentCodePackageFromOssResponseBody.ts +141 -0
  231. package/src/models/ValidateAgentCodePackageFromOssShrinkRequest.ts +33 -0
  232. package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +36 -0
  233. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponse.ts +40 -0
  234. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +115 -0
  235. package/src/models/model.ts +70 -0
@@ -0,0 +1,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAgentCodePackageUploadUrlShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request body.
9
+ *
10
+ * This parameter is required.
11
+ */
12
+ bodyShrink?: string;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ bodyShrink: 'body',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ bodyShrink: 'string',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -65,32 +65,32 @@ export class GetCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
65
65
  export class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The startup entry point of the code package. Code package deployment is not supported.
68
+ * The startup command for the code package. This parameter 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 a script within the package.
69
69
  *
70
70
  * This parameter is required.
71
71
  *
72
72
  * @example
73
- * python app.py
73
+ * python main.py
74
74
  */
75
75
  entrypoint?: string;
76
76
  /**
77
77
  * @remarks
78
- * The language runtime identifier of the code package. Code package deployment is not supported.
78
+ * The identifier of the currently saved code runtime environment configuration. The runtime image uses the saved snapshot. Adding a new version to the directory does not automatically change the existing configuration.
79
79
  *
80
80
  * This parameter is required.
81
81
  *
82
82
  * @example
83
- * python
83
+ * python3.12
84
84
  */
85
85
  languageRuntime?: string;
86
86
  /**
87
87
  * @remarks
88
- * The source URI of the code package. Code package deployment is not supported.
88
+ * The fixed oss:// address of the platform code package referenced by the currently saved configuration. This address does not include the signature parameters of the source HTTPS link. You can use this address to reuse an existing code package. To download the content, call GetAgentCodePackageDownloadUrl.
89
89
  *
90
90
  * This parameter is required.
91
91
  *
92
92
  * @example
93
- * oss://my-agent-bucket/packages/agent.zip
93
+ * oss://agentcore-platform-example/code-packages/workspaces/ws-a1b2c3d4e5f6/550e8400-e29b-41d4-a716-446655440000/package.zip
94
94
  */
95
95
  sourceUri?: string;
96
96
  static names(): { [key: string]: string } {
@@ -169,7 +169,7 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
169
169
  tag?: string;
170
170
  /**
171
171
  * @remarks
172
- * The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
172
+ * The image source type. acr indicates Alibaba Cloud Container Registry.
173
173
  *
174
174
  * This parameter is required.
175
175
  *
@@ -211,7 +211,7 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
211
211
  export class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
212
212
  /**
213
213
  * @remarks
214
- * The code package configuration field. Code package deployment is not supported.
214
+ * The code package deployment configuration. This parameter is mutually exclusive with container. The code package must be in 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?: GetCustomAgentResponseBodyDataArtifactCode;
217
217
  /**
@@ -221,7 +221,7 @@ export class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
221
221
  container?: GetCustomAgentResponseBodyDataArtifactContainer;
222
222
  /**
223
223
  * @remarks
224
- * The TCP port listened by the agent service.
224
+ * The TCP port on which the agent service listens.
225
225
  *
226
226
  * This parameter is required.
227
227
  *
@@ -260,6 +260,76 @@ export class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
260
260
  }
261
261
  }
262
262
 
263
+ export class GetCustomAgentResponseBodyDataCodePackageInfo extends $dara.Model {
264
+ /**
265
+ * @remarks
266
+ * The CRC64 value of the code package object.
267
+ *
268
+ * @example
269
+ * 456
270
+ */
271
+ crc64?: string;
272
+ /**
273
+ * @remarks
274
+ * The ETag of the code package object.
275
+ *
276
+ * @example
277
+ * fixed-etag
278
+ */
279
+ etag?: string;
280
+ /**
281
+ * @remarks
282
+ * The original file name of the code package.
283
+ *
284
+ * @example
285
+ * main.zip
286
+ */
287
+ fileName?: string;
288
+ /**
289
+ * @remarks
290
+ * The compressed size of the code package.
291
+ *
292
+ * @example
293
+ * 123
294
+ */
295
+ fileSize?: number;
296
+ /**
297
+ * @remarks
298
+ * The format of the code package.
299
+ *
300
+ * @example
301
+ * zip
302
+ */
303
+ format?: string;
304
+ static names(): { [key: string]: string } {
305
+ return {
306
+ crc64: 'crc64',
307
+ etag: 'etag',
308
+ fileName: 'fileName',
309
+ fileSize: 'fileSize',
310
+ format: 'format',
311
+ };
312
+ }
313
+
314
+ static types(): { [key: string]: any } {
315
+ return {
316
+ crc64: 'string',
317
+ etag: 'string',
318
+ fileName: 'string',
319
+ fileSize: 'number',
320
+ format: 'string',
321
+ };
322
+ }
323
+
324
+ validate() {
325
+ super.validate();
326
+ }
327
+
328
+ constructor(map?: { [key: string]: any }) {
329
+ super(map);
330
+ }
331
+ }
332
+
263
333
  export class GetCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
264
334
  /**
265
335
  * @remarks
@@ -377,7 +447,7 @@ export class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
377
447
  timeoutSeconds?: number;
378
448
  /**
379
449
  * @remarks
380
- * The number of consecutive health check failures required to mark the instance as unhealthy.
450
+ * The number of consecutive health check failures after which the instance is considered unhealthy.
381
451
  *
382
452
  * @example
383
453
  * 3
@@ -417,7 +487,7 @@ export class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
417
487
  export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
418
488
  /**
419
489
  * @remarks
420
- * The reason code for the wait or execution failure of the latest configuration. This code is used to determine the subsequent handling method.
490
+ * The reason code for the wait or execution failure of the latest configuration. This code is used to determine the subsequent processing method.
421
491
  *
422
492
  * This parameter is required.
423
493
  *
@@ -427,7 +497,7 @@ export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Mo
427
497
  code?: string;
428
498
  /**
429
499
  * @remarks
430
- * The description of the reason why the latest configuration is waiting or failed to execute. Refer to code and retryable to determine what to do next.
500
+ * The description of the reason why the latest configuration is waiting or failed to execute. Refer to the code and retryable parameters to determine what to do next.
431
501
  *
432
502
  * This parameter is required.
433
503
  *
@@ -437,7 +507,7 @@ export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Mo
437
507
  message?: string;
438
508
  /**
439
509
  * @remarks
440
- * Specifies whether automatic retries are performed. If the value is true, you can query again later. If the value is false, check and fix the configuration based on the reason, and then resubmit.
510
+ * Indicates whether the system automatically retries the operation. If the value is true, you can query the status later. If the value is false, check and fix the configuration based on the error cause, and then resubmit the request.
441
511
  *
442
512
  * This parameter is required.
443
513
  */
@@ -540,7 +610,7 @@ export class GetCustomAgentResponseBodyDataLogging extends $dara.Model {
540
610
  export class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
541
611
  /**
542
612
  * @remarks
543
- * Specifies whether Internet access is allowed on the agent side. The actual access remains restricted by the workspace.
613
+ * Specifies whether Internet access is allowed on the agent side. The actual access is still limited by the workspace configuration.
544
614
  */
545
615
  enabled?: boolean;
546
616
  static names(): { [key: string]: string } {
@@ -567,7 +637,7 @@ export class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.M
567
637
  export class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
568
638
  /**
569
639
  * @remarks
570
- * Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access remains restricted by the workspace.
640
+ * Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access is still limited by the workspace configuration.
571
641
  */
572
642
  enabled?: boolean;
573
643
  static names(): { [key: string]: string } {
@@ -594,12 +664,12 @@ export class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model
594
664
  export class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
595
665
  /**
596
666
  * @remarks
597
- * The Internet access configuration of the agent. If this parameter is not configured, Internet access is allowed on the agent side but remains restricted by the workspace.
667
+ * The Internet access configuration of the agent. If this parameter is not configured, Internet access is allowed on the agent side but is still limited by the workspace configuration.
598
668
  */
599
669
  accessInternet?: GetCustomAgentResponseBodyDataNetworkAccessInternet;
600
670
  /**
601
671
  * @remarks
602
- * The user VPC access configuration of the agent. If this parameter is not configured, user VPC access is allowed on the agent side but remains restricted by the workspace.
672
+ * The user VPC access configuration of the agent. If this parameter is not configured, user VPC access is allowed on the agent side but is still limited by the workspace configuration.
603
673
  */
604
674
  accessVpc?: GetCustomAgentResponseBodyDataNetworkAccessVpc;
605
675
  static names(): { [key: string]: string } {
@@ -634,7 +704,7 @@ export class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
634
704
  export class GetCustomAgentResponseBodyDataObservability extends $dara.Model {
635
705
  /**
636
706
  * @remarks
637
- * Default value: true. If set to false, the platform Python probe is not loaded at runtime, and you must collect observability data yourself.
707
+ * Specifies whether to enable agent observability.
638
708
  */
639
709
  enabled?: boolean;
640
710
  static names(): { [key: string]: string } {
@@ -760,7 +830,7 @@ export class GetCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
760
830
  export class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
761
831
  /**
762
832
  * @remarks
763
- * The request header configuration for the current protocol. The key is the name and the value is a string.
833
+ * The request header configuration for the current protocol. The key is the header name and the value is a string.
764
834
  */
765
835
  headers?: { [key: string]: string };
766
836
  /**
@@ -770,7 +840,7 @@ export class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
770
840
  paths?: GetCustomAgentResponseBodyDataProtocolPaths[];
771
841
  /**
772
842
  * @remarks
773
- * The invocation protocol type. Valid values: agui: AG-UI protocol; openai-chat-completion: OpenAI Chat Completions compatible protocol; custom: custom protocol.
843
+ * The invocation protocol type. Valid values: agui (AG-UI protocol), openai-chat-completion (OpenAI Chat Completions compatible protocol), and custom (custom protocol).
774
844
  *
775
845
  * This parameter is required.
776
846
  *
@@ -812,7 +882,7 @@ export class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
812
882
  export class GetCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
813
883
  /**
814
884
  * @remarks
815
- * 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.
885
+ * The compute specification. Valid values: INTERACTIVE (1 vCPU and 2 GiB of memory), STANDARD (2 vCPUs and 4 GiB of memory), and HEAVY (4 vCPUs and 8 GiB of memory).
816
886
  *
817
887
  * This parameter is required.
818
888
  *
@@ -851,7 +921,7 @@ export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
851
921
  enabled?: boolean;
852
922
  /**
853
923
  * @remarks
854
- * The configured maximum number of concurrent sessions for a single runtime instance.
924
+ * The configured maximum number of concurrent sessions per runtime instance.
855
925
  *
856
926
  * @example
857
927
  * 100
@@ -875,7 +945,7 @@ export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
875
945
  minSandboxCount?: number;
876
946
  /**
877
947
  * @remarks
878
- * The configured session idle timeout limit, in seconds.
948
+ * The configured session idle timeout limit in seconds.
879
949
  *
880
950
  * @example
881
951
  * 600
@@ -913,7 +983,7 @@ export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
913
983
  export class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
914
984
  /**
915
985
  * @remarks
916
- * The name of the HTTP request header used by the session policy. This parameter is applicable to ISOLATED_HEADER_FIELD.
986
+ * The name of the HTTP request header used by the session policy. This parameter is applicable when the type is ISOLATED_HEADER_FIELD.
917
987
  *
918
988
  * @example
919
989
  * X-Session-Id
@@ -921,7 +991,7 @@ export class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Mo
921
991
  headerName?: string;
922
992
  /**
923
993
  * @remarks
924
- * The session policy type. Valid values: AFFINITY: session affinity; ISOLATED_HEADER_FIELD: uses the request header specified by headerName to associate sessions. ISOLATED_COOKIE is not recommended. The compatible value DISABLED in requests is returned as AFFINITY.
994
+ * The session policy type. Valid values: AFFINITY (session affinity), ISOLATED_HEADER_FIELD (uses the request header specified by headerName to associate sessions), and ISOLATED_COOKIE (not recommended). The compatible value DISABLED in requests is returned as AFFINITY.
925
995
  *
926
996
  * This parameter is required.
927
997
  *
@@ -955,19 +1025,19 @@ export class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Mo
955
1025
  export class GetCustomAgentResponseBodyDataRuntime extends $dara.Model {
956
1026
  /**
957
1027
  * @remarks
958
- * The compute resource configuration of the agent runtime instance.
1028
+ * The compute resource configuration for the agent runtime instance.
959
1029
  *
960
1030
  * This parameter is required.
961
1031
  */
962
1032
  compute?: GetCustomAgentResponseBodyDataRuntimeCompute;
963
1033
  /**
964
1034
  * @remarks
965
- * The elastic policy configuration of the agent.
1035
+ * The elastic policy configuration for the agent.
966
1036
  */
967
1037
  hpa?: GetCustomAgentResponseBodyDataRuntimeHpa;
968
1038
  /**
969
1039
  * @remarks
970
- * The session policy configuration of the agent.
1040
+ * The session policy configuration for the agent.
971
1041
  *
972
1042
  * This parameter is required.
973
1043
  */
@@ -1009,7 +1079,7 @@ export class GetCustomAgentResponseBodyDataRuntime extends $dara.Model {
1009
1079
  export class GetCustomAgentResponseBodyData extends $dara.Model {
1010
1080
  /**
1011
1081
  * @remarks
1012
- * The unique identifier of the custom agent. You can obtain this identifier from the response of CreateCustomAgent or ListCustomAgents.
1082
+ * The unique identifier of the custom agent, which can be obtained from the response of CreateCustomAgent or ListCustomAgents.
1013
1083
  *
1014
1084
  * This parameter is required.
1015
1085
  *
@@ -1024,9 +1094,14 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1024
1094
  agenticFsMounts?: GetCustomAgentResponseBodyDataAgenticFsMounts[];
1025
1095
  /**
1026
1096
  * @remarks
1027
- * The latest submitted deployment artifact configuration, including the service listening port and ACR container image. To determine whether the configuration has taken effect, refer to latestVersionStatus.
1097
+ * The latest submitted deployment artifact configuration, including the service listening port and ACR container image. To determine whether the configuration has taken effect, check the latestVersionStatus parameter.
1028
1098
  */
1029
1099
  artifact?: GetCustomAgentResponseBodyDataArtifact;
1100
+ /**
1101
+ * @remarks
1102
+ * The currently saved code package information.
1103
+ */
1104
+ codePackageInfo?: GetCustomAgentResponseBodyDataCodePackageInfo;
1030
1105
  /**
1031
1106
  * @remarks
1032
1107
  * The creation method of the agent. CUSTOM is returned for custom agents.
@@ -1037,7 +1112,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1037
1112
  createMode?: string;
1038
1113
  /**
1039
1114
  * @remarks
1040
- * The creation time of the agent. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
1115
+ * The time when the agent was created. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
1041
1116
  *
1042
1117
  * @example
1043
1118
  * 2026-10-10T06:00:00Z
@@ -1056,12 +1131,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1056
1131
  * The description of the agent\\"s purpose.
1057
1132
  *
1058
1133
  * @example
1059
- * Custom agent that provides conversational services
1134
+ * Custom agent that provides conversation services
1060
1135
  */
1061
1136
  description?: string;
1062
1137
  /**
1063
1138
  * @remarks
1064
- * The value is null if no effective version exists. Do not use latestSpecVersion as a substitute. This field cannot be used to release the occupation protection of old cached instances.
1139
+ * The effective configuration version.
1065
1140
  *
1066
1141
  * This parameter is required.
1067
1142
  *
@@ -1079,12 +1154,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1079
1154
  environment?: GetCustomAgentResponseBodyDataEnvironment;
1080
1155
  /**
1081
1156
  * @remarks
1082
- * The HTTP health check configuration of the agent. The value is empty if not configured.
1157
+ * The HTTP health check configuration for the agent. This parameter is empty if not configured.
1083
1158
  */
1084
1159
  healthCheck?: GetCustomAgentResponseBodyDataHealthCheck;
1085
1160
  /**
1086
1161
  * @remarks
1087
- * This field is always returned. If useImageCache is true, the value is the non-empty logical ID of the current workspace. If useImageCache is false, the value is null. The occupation of old instances after disabling is independently protected by the backend and is not backfilled as the current configuration association.
1162
+ * The ID of the currently associated image cache.
1088
1163
  *
1089
1164
  * This parameter is required.
1090
1165
  *
@@ -1097,12 +1172,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1097
1172
  imageCacheId?: string;
1098
1173
  /**
1099
1174
  * @remarks
1100
- * The wait or execution error of the latest configuration version. This field is returned only when the version is waiting for a retry or fails to execute.
1175
+ * The wait or execution error of the latest configuration version. This parameter is returned only when the version is waiting for a retry or fails to execute.
1101
1176
  */
1102
1177
  latestExecutionError?: GetCustomAgentResponseBodyDataLatestExecutionError;
1103
1178
  /**
1104
1179
  * @remarks
1105
- * The current latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
1180
+ * The latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
1106
1181
  *
1107
1182
  * This parameter is required.
1108
1183
  *
@@ -1112,7 +1187,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1112
1187
  latestSpecVersion?: number;
1113
1188
  /**
1114
1189
  * @remarks
1115
- * The execution status corresponding to latestSpecVersion. Valid values: pending (waiting for execution), processing (executing), waiting_retry (waiting for a retry), succeeded (execution successful), failed (execution failed), and superseded (replaced by a subsequent version).
1190
+ * The execution status corresponding to the latestSpecVersion. Valid values: pending (waiting for execution), processing (executing), waiting_retry (waiting for retry), succeeded (execution succeeded), failed (execution failed), and superseded (superseded by a later version).
1116
1191
  *
1117
1192
  * @example
1118
1193
  * succeeded
@@ -1138,17 +1213,17 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1138
1213
  name?: string;
1139
1214
  /**
1140
1215
  * @remarks
1141
- * The network access configuration of the agent. The actual access scope is also restricted by the workspace network configuration.
1216
+ * The network access configuration of the agent. The actual access scope is also limited by the workspace network configuration.
1142
1217
  */
1143
1218
  network?: GetCustomAgentResponseBodyDataNetwork;
1144
1219
  /**
1145
1220
  * @remarks
1146
- * The high-code agent observability configuration.
1221
+ * The observability configuration for high-code agents.
1147
1222
  */
1148
1223
  observability?: GetCustomAgentResponseBodyDataObservability;
1149
1224
  /**
1150
1225
  * @remarks
1151
- * The list of recently submitted OSS directory mounts.
1226
+ * The latest submitted list of OSS directory mounts.
1152
1227
  */
1153
1228
  ossMounts?: GetCustomAgentResponseBodyDataOssMounts[];
1154
1229
  /**
@@ -1179,12 +1254,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1179
1254
  runtime?: GetCustomAgentResponseBodyDataRuntime;
1180
1255
  /**
1181
1256
  * @remarks
1182
- * The number of instances by runtime instance phase. Keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed). Only phases that actually occur are returned. Missing keys are treated as 0.
1257
+ * The instance count statistics by runtime instance phase. Keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed). Only phases that actually occur are returned. Missing keys are treated as 0.
1183
1258
  */
1184
1259
  sandboxPhaseCounts?: { [key: string]: number };
1185
1260
  /**
1186
1261
  * @remarks
1187
- * The overall status of the agent. Valid values: Creating: creating; Running: running; Failed: failed; Updating: updating; Deleting: deleting; Deleted: deleted. To query the execution progress of the latest configuration, check latestVersionStatus.
1262
+ * The overall status of the agent. Valid values: Creating: The agent is being created. Running: The agent is running. Failed: The agent failed. Updating: The agent is being updated. Deleting: The agent is being deleted. Deleted: The agent is deleted. To view the execution progress of the latest configuration, query latestVersionStatus.
1188
1263
  *
1189
1264
  * This parameter is required.
1190
1265
  *
@@ -1194,7 +1269,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1194
1269
  status?: string;
1195
1270
  /**
1196
1271
  * @remarks
1197
- * The time when the agent was last updated. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
1272
+ * The time when the agent was last updated. The time follows the ISO 8601 standard. A trailing Z indicates the UTC time zone. Fractional seconds are supported.
1198
1273
  *
1199
1274
  * @example
1200
1275
  * 2026-10-10T06:05:00Z
@@ -1202,7 +1277,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1202
1277
  updatedAt?: string;
1203
1278
  /**
1204
1279
  * @remarks
1205
- * Required. Reflects the accepted final configuration. If this field is missing in historical data, false is returned. Do not infer based on the cache status.
1280
+ * Specifies whether the image cache is enabled.
1206
1281
  *
1207
1282
  * This parameter is required.
1208
1283
  *
@@ -1225,6 +1300,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1225
1300
  agentId: 'agentId',
1226
1301
  agenticFsMounts: 'agenticFsMounts',
1227
1302
  artifact: 'artifact',
1303
+ codePackageInfo: 'codePackageInfo',
1228
1304
  createMode: 'createMode',
1229
1305
  createdAt: 'createdAt',
1230
1306
  deployType: 'deployType',
@@ -1258,6 +1334,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1258
1334
  agentId: 'string',
1259
1335
  agenticFsMounts: { 'type': 'array', 'itemType': GetCustomAgentResponseBodyDataAgenticFsMounts },
1260
1336
  artifact: GetCustomAgentResponseBodyDataArtifact,
1337
+ codePackageInfo: GetCustomAgentResponseBodyDataCodePackageInfo,
1261
1338
  createMode: 'string',
1262
1339
  createdAt: 'string',
1263
1340
  deployType: 'string',
@@ -1293,6 +1370,9 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
1293
1370
  if(this.artifact && typeof (this.artifact as any).validate === 'function') {
1294
1371
  (this.artifact as any).validate();
1295
1372
  }
1373
+ if(this.codePackageInfo && typeof (this.codePackageInfo as any).validate === 'function') {
1374
+ (this.codePackageInfo as any).validate();
1375
+ }
1296
1376
  if(this.environment && typeof (this.environment as any).validate === 'function') {
1297
1377
  (this.environment as any).validate();
1298
1378
  }
@@ -1344,7 +1424,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
1344
1424
  code?: string;
1345
1425
  /**
1346
1426
  * @remarks
1347
- * The latest submitted configuration and status of the custom agent. To determine whether the configuration has taken effect, refer to latestVersionStatus.
1427
+ * The latest submitted configuration and status of the custom agent. To determine whether the configuration has taken effect, check the latestVersionStatus parameter.
1348
1428
  *
1349
1429
  * This parameter is required.
1350
1430
  */
@@ -1361,7 +1441,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
1361
1441
  httpStatusCode?: number;
1362
1442
  /**
1363
1443
  * @remarks
1364
- * The processing result description of the request. A value of success indicates success.
1444
+ * The result message of the request. The value is success if the request is successful.
1365
1445
  *
1366
1446
  * This parameter is required.
1367
1447
  *
@@ -1381,7 +1461,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
1381
1461
  requestId?: string;
1382
1462
  /**
1383
1463
  * @remarks
1384
- * Indicates whether the request was successful. A value of true indicates that the request was successful. A successful creation, update, or deletion does not mean that the background operation is complete.
1464
+ * Specifies whether the request was successful. A value of true indicates success. A successful creation, update, or deletion does not mean that the background operation is complete.
1385
1465
  *
1386
1466
  * This parameter is required.
1387
1467
  */