@alicloud/agentcore20260804 2.3.2 → 2.5.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 (546) hide show
  1. package/dist/client.d.ts +684 -228
  2. package/dist/client.js +1332 -303
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddMemoriesRequest.d.ts +140 -0
  5. package/dist/models/AddMemoriesRequest.js +145 -0
  6. package/dist/models/AddMemoriesRequest.js.map +1 -0
  7. package/dist/models/AddMemoriesResponse.d.ts +19 -0
  8. package/dist/models/AddMemoriesResponse.js +69 -0
  9. package/dist/models/AddMemoriesResponse.js.map +1 -0
  10. package/dist/models/AddMemoriesResponseBody.d.ts +100 -0
  11. package/dist/models/AddMemoriesResponseBody.js +114 -0
  12. package/dist/models/AddMemoriesResponseBody.js.map +1 -0
  13. package/dist/models/AddMemoriesShrinkRequest.d.ts +20 -0
  14. package/dist/models/AddMemoriesShrinkRequest.js +58 -0
  15. package/dist/models/AddMemoriesShrinkRequest.js.map +1 -0
  16. package/dist/models/BatchDeleteModelsRequest.d.ts +1 -3
  17. package/dist/models/BatchDeleteModelsRequest.js +0 -2
  18. package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
  19. package/dist/models/BatchDeleteModelsResponseBody.d.ts +3 -3
  20. package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +1 -1
  21. package/dist/models/BatchUploadSkillsViaOssRequest.d.ts +1 -1
  22. package/dist/models/BatchUploadSkillsViaOssResponseBody.d.ts +1 -1
  23. package/dist/models/ConvertMcpToFreeEditRequest.d.ts +1 -1
  24. package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +51 -51
  25. package/dist/models/CreateAgentImchannelRequest.d.ts +5 -8
  26. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  27. package/dist/models/CreateAgentImchannelResponseBody.d.ts +10 -13
  28. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  29. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  30. package/dist/models/CreateAgentSpecRequest.d.ts +1 -1
  31. package/dist/models/CreateAgentSpecVersionRequest.d.ts +1 -1
  32. package/dist/models/CreateCredentialRequest.d.ts +8 -8
  33. package/dist/models/CreateCredentialResponseBody.d.ts +13 -13
  34. package/dist/models/CreateCustomAgentRequest.d.ts +66 -49
  35. package/dist/models/CreateCustomAgentRequest.js +27 -1
  36. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  37. package/dist/models/CreateCustomAgentResponseBody.d.ts +190 -57
  38. package/dist/models/CreateCustomAgentResponseBody.js +59 -1
  39. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  40. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
  41. package/dist/models/CreateExternalAgentBootstrapTokenRequest.d.ts +1 -3
  42. package/dist/models/CreateExternalAgentBootstrapTokenRequest.js.map +1 -1
  43. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +9 -11
  44. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.js.map +1 -1
  45. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -9
  46. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  47. package/dist/models/CreateIdentityProviderResponseBody.d.ts +9 -11
  48. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  49. package/dist/models/CreateImageCacheRequest.d.ts +122 -0
  50. package/dist/models/CreateImageCacheRequest.js +96 -0
  51. package/dist/models/CreateImageCacheRequest.js.map +1 -0
  52. package/dist/models/CreateImageCacheResponse.d.ts +19 -0
  53. package/dist/models/CreateImageCacheResponse.js +69 -0
  54. package/dist/models/CreateImageCacheResponse.js.map +1 -0
  55. package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
  56. package/dist/models/CreateImageCacheResponseBody.js +140 -0
  57. package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
  58. package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
  59. package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
  60. package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
  61. package/dist/models/CreateMemoryStoreRequest.d.ts +66 -0
  62. package/dist/models/CreateMemoryStoreRequest.js +86 -0
  63. package/dist/models/CreateMemoryStoreRequest.js.map +1 -0
  64. package/dist/models/CreateMemoryStoreResponse.d.ts +19 -0
  65. package/dist/models/CreateMemoryStoreResponse.js +69 -0
  66. package/dist/models/CreateMemoryStoreResponse.js.map +1 -0
  67. package/dist/models/CreateMemoryStoreResponseBody.d.ts +131 -0
  68. package/dist/models/CreateMemoryStoreResponseBody.js +104 -0
  69. package/dist/models/CreateMemoryStoreResponseBody.js.map +1 -0
  70. package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +28 -0
  71. package/dist/models/CreateMemoryStoreShrinkRequest.js +60 -0
  72. package/dist/models/CreateMemoryStoreShrinkRequest.js.map +1 -0
  73. package/dist/models/CreateModelConnectionRequest.d.ts +4 -4
  74. package/dist/models/CreateModelConnectionResponseBody.d.ts +13 -13
  75. package/dist/models/CreateModelConnectionShrinkRequest.d.ts +1 -1
  76. package/dist/models/CreateModelRequest.d.ts +6 -6
  77. package/dist/models/CreateModelResponseBody.d.ts +11 -11
  78. package/dist/models/CreateModelShrinkRequest.d.ts +1 -1
  79. package/dist/models/CreateTeamRequest.d.ts +4 -4
  80. package/dist/models/CreateTeamResponseBody.d.ts +7 -7
  81. package/dist/models/CreateUserRequest.d.ts +6 -6
  82. package/dist/models/CreateUserResponseBody.d.ts +11 -11
  83. package/dist/models/CreateWorkspaceRequest.d.ts +22 -10
  84. package/dist/models/CreateWorkspaceRequest.js +4 -0
  85. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  86. package/dist/models/CreateWorkspaceResponseBody.d.ts +29 -13
  87. package/dist/models/CreateWorkspaceResponseBody.js +4 -0
  88. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  89. package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
  90. package/dist/models/DeleteAgentSpecResponseBody.d.ts +1 -1
  91. package/dist/models/DeleteCredentialResponseBody.d.ts +2 -2
  92. package/dist/models/DeleteCustomAgentResponseBody.d.ts +11 -4
  93. package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -1
  94. package/dist/models/DeleteExternalAgentResponseBody.d.ts +6 -12
  95. package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
  96. package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
  97. package/dist/models/DeleteImageCacheRequest.js +60 -0
  98. package/dist/models/DeleteImageCacheRequest.js.map +1 -0
  99. package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
  100. package/dist/models/DeleteImageCacheResponse.js +69 -0
  101. package/dist/models/DeleteImageCacheResponse.js.map +1 -0
  102. package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
  103. package/dist/models/DeleteImageCacheResponseBody.js +92 -0
  104. package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
  105. package/dist/models/DeleteManagedAgentResponseBody.d.ts +6 -6
  106. package/dist/models/DeleteMcpResponseBody.d.ts +3 -3
  107. package/dist/models/DeleteMemoryRequest.d.ts +13 -0
  108. package/dist/models/DeleteMemoryRequest.js +54 -0
  109. package/dist/models/DeleteMemoryRequest.js.map +1 -0
  110. package/dist/models/DeleteMemoryResponse.d.ts +19 -0
  111. package/dist/models/DeleteMemoryResponse.js +69 -0
  112. package/dist/models/DeleteMemoryResponse.js.map +1 -0
  113. package/dist/models/DeleteMemoryResponseBody.d.ts +50 -0
  114. package/dist/models/DeleteMemoryResponseBody.js +66 -0
  115. package/dist/models/DeleteMemoryResponseBody.js.map +1 -0
  116. package/dist/models/DeleteMemoryStoreRequest.d.ts +13 -0
  117. package/dist/models/DeleteMemoryStoreRequest.js +54 -0
  118. package/dist/models/DeleteMemoryStoreRequest.js.map +1 -0
  119. package/dist/models/DeleteMemoryStoreResponse.d.ts +19 -0
  120. package/dist/models/DeleteMemoryStoreResponse.js +69 -0
  121. package/dist/models/DeleteMemoryStoreResponse.js.map +1 -0
  122. package/dist/models/DeleteMemoryStoreResponseBody.d.ts +131 -0
  123. package/dist/models/DeleteMemoryStoreResponseBody.js +104 -0
  124. package/dist/models/DeleteMemoryStoreResponseBody.js.map +1 -0
  125. package/dist/models/DeleteWorkspaceResponseBody.d.ts +1 -1
  126. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  127. package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -20
  128. package/dist/models/GetAgentImchannelResponseBody.js.map +1 -1
  129. package/dist/models/GetAgentSpecImportFileUrlRequest.d.ts +1 -1
  130. package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +3 -3
  131. package/dist/models/GetAgentSpecResponseBody.d.ts +9 -9
  132. package/dist/models/GetAgentSpecVersionResponseBody.d.ts +3 -3
  133. package/dist/models/GetCredentialResponseBody.d.ts +11 -11
  134. package/dist/models/GetCustomAgentResponseBody.d.ts +341 -9
  135. package/dist/models/GetCustomAgentResponseBody.js +31 -1
  136. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  137. package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +8 -10
  138. package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.js.map +1 -1
  139. package/dist/models/GetIdentityProviderResponseBody.d.ts +20 -20
  140. package/dist/models/GetImageCacheRequest.d.ts +33 -0
  141. package/dist/models/GetImageCacheRequest.js +60 -0
  142. package/dist/models/GetImageCacheRequest.js.map +1 -0
  143. package/dist/models/GetImageCacheResponse.d.ts +19 -0
  144. package/dist/models/GetImageCacheResponse.js +69 -0
  145. package/dist/models/GetImageCacheResponse.js.map +1 -0
  146. package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
  147. package/dist/models/GetImageCacheResponseBody.js +140 -0
  148. package/dist/models/GetImageCacheResponseBody.js.map +1 -0
  149. package/dist/models/GetMemoryRequest.d.ts +13 -0
  150. package/dist/models/GetMemoryRequest.js +54 -0
  151. package/dist/models/GetMemoryRequest.js.map +1 -0
  152. package/dist/models/GetMemoryResponse.d.ts +19 -0
  153. package/dist/models/GetMemoryResponse.js +69 -0
  154. package/dist/models/GetMemoryResponse.js.map +1 -0
  155. package/dist/models/GetMemoryResponseBody.d.ts +164 -0
  156. package/dist/models/GetMemoryResponseBody.js +151 -0
  157. package/dist/models/GetMemoryResponseBody.js.map +1 -0
  158. package/dist/models/GetMemoryStoreRequest.d.ts +13 -0
  159. package/dist/models/GetMemoryStoreRequest.js +54 -0
  160. package/dist/models/GetMemoryStoreRequest.js.map +1 -0
  161. package/dist/models/GetMemoryStoreResponse.d.ts +19 -0
  162. package/dist/models/GetMemoryStoreResponse.js +69 -0
  163. package/dist/models/GetMemoryStoreResponse.js.map +1 -0
  164. package/dist/models/GetMemoryStoreResponseBody.d.ts +131 -0
  165. package/dist/models/GetMemoryStoreResponseBody.js +104 -0
  166. package/dist/models/GetMemoryStoreResponseBody.js.map +1 -0
  167. package/dist/models/GetMemoryTaskRequest.d.ts +13 -0
  168. package/dist/models/GetMemoryTaskRequest.js +54 -0
  169. package/dist/models/GetMemoryTaskRequest.js.map +1 -0
  170. package/dist/models/GetMemoryTaskResponse.d.ts +19 -0
  171. package/dist/models/GetMemoryTaskResponse.js +69 -0
  172. package/dist/models/GetMemoryTaskResponse.js.map +1 -0
  173. package/dist/models/GetMemoryTaskResponseBody.d.ts +145 -0
  174. package/dist/models/GetMemoryTaskResponseBody.js +142 -0
  175. package/dist/models/GetMemoryTaskResponseBody.js.map +1 -0
  176. package/dist/models/GetModelConnectionResponseBody.d.ts +13 -13
  177. package/dist/models/GetModelResponseBody.d.ts +10 -10
  178. package/dist/models/GetServiceEndpointApiKeyResponseBody.d.ts +13 -14
  179. package/dist/models/GetServiceEndpointApiKeyResponseBody.js.map +1 -1
  180. package/dist/models/GetSkillImportFileUrlRequest.d.ts +1 -1
  181. package/dist/models/GetSkillImportFileUrlResponseBody.d.ts +4 -4
  182. package/dist/models/GetUserResponseBody.d.ts +10 -16
  183. package/dist/models/GetUserResponseBody.js.map +1 -1
  184. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +3 -3
  185. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +27 -5
  186. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
  187. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +3 -3
  188. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +2 -2
  189. package/dist/models/GetWorkspaceResponseBody.d.ts +22 -6
  190. package/dist/models/GetWorkspaceResponseBody.js +4 -0
  191. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  192. package/dist/models/InstallWorkspacePluginRequest.d.ts +5 -5
  193. package/dist/models/InstallWorkspacePluginResponseBody.d.ts +2 -2
  194. package/dist/models/ListAgentTeamsRequest.d.ts +1 -1
  195. package/dist/models/ListAgentTeamsResponseBody.d.ts +6 -6
  196. package/dist/models/ListAgentTeamsShrinkRequest.d.ts +1 -1
  197. package/dist/models/ListCredentialsRequest.d.ts +2 -2
  198. package/dist/models/ListCredentialsResponseBody.d.ts +15 -15
  199. package/dist/models/ListCustomAgentsRequest.d.ts +1 -1
  200. package/dist/models/ListCustomAgentsResponseBody.d.ts +22 -12
  201. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  202. package/dist/models/ListExternalAgentsRequest.d.ts +1 -1
  203. package/dist/models/ListExternalAgentsResponseBody.d.ts +10 -16
  204. package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
  205. package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
  206. package/dist/models/ListIdentityProvidersResponseBody.d.ts +24 -15
  207. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  208. package/dist/models/ListImageCachesRequest.d.ts +113 -0
  209. package/dist/models/ListImageCachesRequest.js +80 -0
  210. package/dist/models/ListImageCachesRequest.js.map +1 -0
  211. package/dist/models/ListImageCachesResponse.d.ts +19 -0
  212. package/dist/models/ListImageCachesResponse.js +69 -0
  213. package/dist/models/ListImageCachesResponse.js.map +1 -0
  214. package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
  215. package/dist/models/ListImageCachesResponseBody.js +146 -0
  216. package/dist/models/ListImageCachesResponseBody.js.map +1 -0
  217. package/dist/models/ListMemoriesRequest.d.ts +53 -0
  218. package/dist/models/ListMemoriesRequest.js +66 -0
  219. package/dist/models/ListMemoriesRequest.js.map +1 -0
  220. package/dist/models/ListMemoriesResponse.d.ts +19 -0
  221. package/dist/models/ListMemoriesResponse.js +69 -0
  222. package/dist/models/ListMemoriesResponse.js.map +1 -0
  223. package/dist/models/ListMemoriesResponseBody.d.ts +180 -0
  224. package/dist/models/ListMemoriesResponseBody.js +155 -0
  225. package/dist/models/ListMemoriesResponseBody.js.map +1 -0
  226. package/dist/models/ListMemorySessionMessagesRequest.d.ts +55 -0
  227. package/dist/models/ListMemorySessionMessagesRequest.js +66 -0
  228. package/dist/models/ListMemorySessionMessagesRequest.js.map +1 -0
  229. package/dist/models/ListMemorySessionMessagesResponse.d.ts +19 -0
  230. package/dist/models/ListMemorySessionMessagesResponse.js +69 -0
  231. package/dist/models/ListMemorySessionMessagesResponse.js.map +1 -0
  232. package/dist/models/ListMemorySessionMessagesResponseBody.d.ts +99 -0
  233. package/dist/models/ListMemorySessionMessagesResponseBody.js +96 -0
  234. package/dist/models/ListMemorySessionMessagesResponseBody.js.map +1 -0
  235. package/dist/models/ListMemorySessionsRequest.d.ts +45 -0
  236. package/dist/models/ListMemorySessionsRequest.js +64 -0
  237. package/dist/models/ListMemorySessionsRequest.js.map +1 -0
  238. package/dist/models/ListMemorySessionsResponse.d.ts +19 -0
  239. package/dist/models/ListMemorySessionsResponse.js +69 -0
  240. package/dist/models/ListMemorySessionsResponse.js.map +1 -0
  241. package/dist/models/ListMemorySessionsResponseBody.d.ts +107 -0
  242. package/dist/models/ListMemorySessionsResponseBody.js +98 -0
  243. package/dist/models/ListMemorySessionsResponseBody.js.map +1 -0
  244. package/dist/models/ListMemoryStoresRequest.d.ts +29 -0
  245. package/dist/models/ListMemoryStoresRequest.js +60 -0
  246. package/dist/models/ListMemoryStoresRequest.js.map +1 -0
  247. package/dist/models/ListMemoryStoresResponse.d.ts +19 -0
  248. package/dist/models/ListMemoryStoresResponse.js +69 -0
  249. package/dist/models/ListMemoryStoresResponse.js.map +1 -0
  250. package/dist/models/ListMemoryStoresResponseBody.d.ts +158 -0
  251. package/dist/models/ListMemoryStoresResponseBody.js +110 -0
  252. package/dist/models/ListMemoryStoresResponseBody.js.map +1 -0
  253. package/dist/models/ListPredefinedModelProvidersResponseBody.d.ts +64 -0
  254. package/dist/models/ListPredefinedModelProvidersResponseBody.js.map +1 -1
  255. package/dist/models/ListPredefinedModelsResponseBody.d.ts +9 -9
  256. package/dist/models/ListServiceEndpointsRequest.d.ts +8 -8
  257. package/dist/models/ListServiceEndpointsResponseBody.d.ts +19 -19
  258. package/dist/models/ListSkillReferencesRequest.d.ts +4 -4
  259. package/dist/models/ListSkillReferencesResponseBody.d.ts +6 -6
  260. package/dist/models/ListTeamsRequest.d.ts +3 -3
  261. package/dist/models/ListTeamsResponseBody.d.ts +12 -24
  262. package/dist/models/ListTeamsResponseBody.js.map +1 -1
  263. package/dist/models/ListWorkspacesRequest.d.ts +1 -1
  264. package/dist/models/ListWorkspacesResponseBody.d.ts +26 -14
  265. package/dist/models/ListWorkspacesResponseBody.js +4 -0
  266. package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
  267. package/dist/models/ResetUserPasswordRequest.d.ts +3 -3
  268. package/dist/models/ResetUserPasswordResponseBody.d.ts +3 -3
  269. package/dist/models/RetryImageCacheRequest.d.ts +60 -0
  270. package/dist/models/RetryImageCacheRequest.js +82 -0
  271. package/dist/models/RetryImageCacheRequest.js.map +1 -0
  272. package/dist/models/RetryImageCacheResponse.d.ts +19 -0
  273. package/dist/models/RetryImageCacheResponse.js +69 -0
  274. package/dist/models/RetryImageCacheResponse.js.map +1 -0
  275. package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
  276. package/dist/models/RetryImageCacheResponseBody.js +140 -0
  277. package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
  278. package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
  279. package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
  280. package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
  281. package/dist/models/SearchMemoriesRequest.d.ts +119 -0
  282. package/dist/models/SearchMemoriesRequest.js +121 -0
  283. package/dist/models/SearchMemoriesRequest.js.map +1 -0
  284. package/dist/models/SearchMemoriesResponse.d.ts +19 -0
  285. package/dist/models/SearchMemoriesResponse.js +69 -0
  286. package/dist/models/SearchMemoriesResponse.js.map +1 -0
  287. package/dist/models/SearchMemoriesResponseBody.d.ts +214 -0
  288. package/dist/models/SearchMemoriesResponseBody.js +199 -0
  289. package/dist/models/SearchMemoriesResponseBody.js.map +1 -0
  290. package/dist/models/SearchMemoriesShrinkRequest.d.ts +20 -0
  291. package/dist/models/SearchMemoriesShrinkRequest.js +58 -0
  292. package/dist/models/SearchMemoriesShrinkRequest.js.map +1 -0
  293. package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +2 -2
  294. package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +6 -6
  295. package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
  296. package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
  297. package/dist/models/UpdateAgentImchannelResponseBody.d.ts +9 -18
  298. package/dist/models/UpdateAgentImchannelResponseBody.js.map +1 -1
  299. package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
  300. package/dist/models/UpdateCredentialRequest.d.ts +6 -6
  301. package/dist/models/UpdateCredentialResponseBody.d.ts +10 -10
  302. package/dist/models/UpdateCustomAgentRequest.d.ts +62 -32
  303. package/dist/models/UpdateCustomAgentRequest.js +27 -1
  304. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  305. package/dist/models/UpdateCustomAgentResponseBody.d.ts +191 -43
  306. package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
  307. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  308. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
  309. package/dist/models/UpdateMemoryRequest.d.ts +47 -0
  310. package/dist/models/UpdateMemoryRequest.js +85 -0
  311. package/dist/models/UpdateMemoryRequest.js.map +1 -0
  312. package/dist/models/UpdateMemoryResponse.d.ts +19 -0
  313. package/dist/models/UpdateMemoryResponse.js +69 -0
  314. package/dist/models/UpdateMemoryResponse.js.map +1 -0
  315. package/dist/models/UpdateMemoryResponseBody.d.ts +164 -0
  316. package/dist/models/UpdateMemoryResponseBody.js +151 -0
  317. package/dist/models/UpdateMemoryResponseBody.js.map +1 -0
  318. package/dist/models/UpdateMemoryShrinkRequest.d.ts +20 -0
  319. package/dist/models/UpdateMemoryShrinkRequest.js +58 -0
  320. package/dist/models/UpdateMemoryShrinkRequest.js.map +1 -0
  321. package/dist/models/UpdateMemoryStoreRequest.d.ts +56 -0
  322. package/dist/models/UpdateMemoryStoreRequest.js +84 -0
  323. package/dist/models/UpdateMemoryStoreRequest.js.map +1 -0
  324. package/dist/models/UpdateMemoryStoreResponse.d.ts +19 -0
  325. package/dist/models/UpdateMemoryStoreResponse.js +69 -0
  326. package/dist/models/UpdateMemoryStoreResponse.js.map +1 -0
  327. package/dist/models/UpdateMemoryStoreResponseBody.d.ts +131 -0
  328. package/dist/models/UpdateMemoryStoreResponseBody.js +104 -0
  329. package/dist/models/UpdateMemoryStoreResponseBody.js.map +1 -0
  330. package/dist/models/UpdateMemoryStoreShrinkRequest.d.ts +28 -0
  331. package/dist/models/UpdateMemoryStoreShrinkRequest.js +60 -0
  332. package/dist/models/UpdateMemoryStoreShrinkRequest.js.map +1 -0
  333. package/dist/models/UpdateModelConnectionRequest.d.ts +4 -4
  334. package/dist/models/UpdateModelConnectionResponseBody.d.ts +12 -12
  335. package/dist/models/UpdateModelConnectionShrinkRequest.d.ts +1 -1
  336. package/dist/models/UpdateModelRequest.d.ts +31 -14
  337. package/dist/models/UpdateModelRequest.js.map +1 -1
  338. package/dist/models/UpdateModelResponseBody.d.ts +12 -12
  339. package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
  340. package/dist/models/UpdateSkillBizTagsRequest.d.ts +1 -1
  341. package/dist/models/UpdateSkillScopeRequest.d.ts +1 -1
  342. package/dist/models/UpdateTeamRequest.d.ts +7 -13
  343. package/dist/models/UpdateTeamRequest.js.map +1 -1
  344. package/dist/models/UpdateTeamResponseBody.d.ts +11 -25
  345. package/dist/models/UpdateTeamResponseBody.js.map +1 -1
  346. package/dist/models/UpdateTeamShrinkRequest.d.ts +1 -1
  347. package/dist/models/UpdateUserRequest.d.ts +3 -3
  348. package/dist/models/UpdateUserResponseBody.d.ts +8 -8
  349. package/dist/models/UpdateWorkspaceRequest.d.ts +21 -7
  350. package/dist/models/UpdateWorkspaceRequest.js +4 -0
  351. package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
  352. package/dist/models/UpdateWorkspaceResponseBody.d.ts +26 -10
  353. package/dist/models/UpdateWorkspaceResponseBody.js +4 -0
  354. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  355. package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +1 -1
  356. package/dist/models/UploadAgentSpecViaOssRequest.d.ts +3 -3
  357. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +3 -3
  358. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +37 -7
  359. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
  360. package/dist/models/model.d.ts +116 -0
  361. package/dist/models/model.js +320 -85
  362. package/dist/models/model.js.map +1 -1
  363. package/package.json +1 -1
  364. package/src/client.ts +1456 -335
  365. package/src/models/AddMemoriesRequest.ts +209 -0
  366. package/src/models/AddMemoriesResponse.ts +40 -0
  367. package/src/models/AddMemoriesResponseBody.ts +151 -0
  368. package/src/models/AddMemoriesShrinkRequest.ts +33 -0
  369. package/src/models/BatchDeleteModelsRequest.ts +1 -3
  370. package/src/models/BatchDeleteModelsResponseBody.ts +3 -3
  371. package/src/models/BatchDeleteModelsShrinkRequest.ts +1 -1
  372. package/src/models/BatchUploadSkillsViaOssRequest.ts +1 -1
  373. package/src/models/BatchUploadSkillsViaOssResponseBody.ts +1 -1
  374. package/src/models/ConvertMcpToFreeEditRequest.ts +1 -1
  375. package/src/models/ConvertMcpToFreeEditResponseBody.ts +51 -51
  376. package/src/models/CreateAgentImchannelRequest.ts +5 -8
  377. package/src/models/CreateAgentImchannelResponseBody.ts +10 -13
  378. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  379. package/src/models/CreateAgentSpecRequest.ts +1 -1
  380. package/src/models/CreateAgentSpecVersionRequest.ts +1 -1
  381. package/src/models/CreateCredentialRequest.ts +8 -8
  382. package/src/models/CreateCredentialResponseBody.ts +13 -13
  383. package/src/models/CreateCustomAgentRequest.ts +83 -49
  384. package/src/models/CreateCustomAgentResponseBody.ts +230 -57
  385. package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
  386. package/src/models/CreateExternalAgentBootstrapTokenRequest.ts +1 -3
  387. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +9 -11
  388. package/src/models/CreateIdentityProviderRequest.ts +7 -9
  389. package/src/models/CreateIdentityProviderResponseBody.ts +9 -11
  390. package/src/models/CreateImageCacheRequest.ts +164 -0
  391. package/src/models/CreateImageCacheResponse.ts +40 -0
  392. package/src/models/CreateImageCacheResponseBody.ts +337 -0
  393. package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
  394. package/src/models/CreateMemoryStoreRequest.ts +98 -0
  395. package/src/models/CreateMemoryStoreResponse.ts +40 -0
  396. package/src/models/CreateMemoryStoreResponseBody.ts +181 -0
  397. package/src/models/CreateMemoryStoreShrinkRequest.ts +43 -0
  398. package/src/models/CreateModelConnectionRequest.ts +4 -4
  399. package/src/models/CreateModelConnectionResponseBody.ts +13 -13
  400. package/src/models/CreateModelConnectionShrinkRequest.ts +1 -1
  401. package/src/models/CreateModelRequest.ts +6 -6
  402. package/src/models/CreateModelResponseBody.ts +11 -11
  403. package/src/models/CreateModelShrinkRequest.ts +1 -1
  404. package/src/models/CreateTeamRequest.ts +4 -4
  405. package/src/models/CreateTeamResponseBody.ts +7 -7
  406. package/src/models/CreateUserRequest.ts +6 -6
  407. package/src/models/CreateUserResponseBody.ts +11 -11
  408. package/src/models/CreateWorkspaceRequest.ts +26 -10
  409. package/src/models/CreateWorkspaceResponseBody.ts +33 -13
  410. package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
  411. package/src/models/DeleteAgentSpecResponseBody.ts +1 -1
  412. package/src/models/DeleteCredentialResponseBody.ts +2 -2
  413. package/src/models/DeleteCustomAgentResponseBody.ts +11 -4
  414. package/src/models/DeleteExternalAgentResponseBody.ts +6 -12
  415. package/src/models/DeleteImageCacheRequest.ts +48 -0
  416. package/src/models/DeleteImageCacheResponse.ts +40 -0
  417. package/src/models/DeleteImageCacheResponseBody.ts +140 -0
  418. package/src/models/DeleteManagedAgentResponseBody.ts +6 -6
  419. package/src/models/DeleteMcpResponseBody.ts +3 -3
  420. package/src/models/DeleteMemoryRequest.ts +24 -0
  421. package/src/models/DeleteMemoryResponse.ts +40 -0
  422. package/src/models/DeleteMemoryResponseBody.ts +71 -0
  423. package/src/models/DeleteMemoryStoreRequest.ts +24 -0
  424. package/src/models/DeleteMemoryStoreResponse.ts +40 -0
  425. package/src/models/DeleteMemoryStoreResponseBody.ts +181 -0
  426. package/src/models/DeleteWorkspaceResponseBody.ts +1 -1
  427. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  428. package/src/models/GetAgentImchannelResponseBody.ts +11 -20
  429. package/src/models/GetAgentSpecImportFileUrlRequest.ts +1 -1
  430. package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +3 -3
  431. package/src/models/GetAgentSpecResponseBody.ts +9 -9
  432. package/src/models/GetAgentSpecVersionResponseBody.ts +3 -3
  433. package/src/models/GetCredentialResponseBody.ts +11 -11
  434. package/src/models/GetCustomAgentResponseBody.ts +362 -9
  435. package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +8 -10
  436. package/src/models/GetIdentityProviderResponseBody.ts +20 -20
  437. package/src/models/GetImageCacheRequest.ts +48 -0
  438. package/src/models/GetImageCacheResponse.ts +40 -0
  439. package/src/models/GetImageCacheResponseBody.ts +341 -0
  440. package/src/models/GetMemoryRequest.ts +24 -0
  441. package/src/models/GetMemoryResponse.ts +40 -0
  442. package/src/models/GetMemoryResponseBody.ts +241 -0
  443. package/src/models/GetMemoryStoreRequest.ts +24 -0
  444. package/src/models/GetMemoryStoreResponse.ts +40 -0
  445. package/src/models/GetMemoryStoreResponseBody.ts +181 -0
  446. package/src/models/GetMemoryTaskRequest.ts +24 -0
  447. package/src/models/GetMemoryTaskResponse.ts +40 -0
  448. package/src/models/GetMemoryTaskResponseBody.ts +215 -0
  449. package/src/models/GetModelConnectionResponseBody.ts +13 -13
  450. package/src/models/GetModelResponseBody.ts +10 -10
  451. package/src/models/GetServiceEndpointApiKeyResponseBody.ts +13 -14
  452. package/src/models/GetSkillImportFileUrlRequest.ts +1 -1
  453. package/src/models/GetSkillImportFileUrlResponseBody.ts +4 -4
  454. package/src/models/GetUserResponseBody.ts +10 -16
  455. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +3 -3
  456. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +27 -5
  457. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +3 -3
  458. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +2 -2
  459. package/src/models/GetWorkspaceResponseBody.ts +26 -6
  460. package/src/models/InstallWorkspacePluginRequest.ts +5 -5
  461. package/src/models/InstallWorkspacePluginResponseBody.ts +2 -2
  462. package/src/models/ListAgentTeamsRequest.ts +1 -1
  463. package/src/models/ListAgentTeamsResponseBody.ts +6 -6
  464. package/src/models/ListAgentTeamsShrinkRequest.ts +1 -1
  465. package/src/models/ListCredentialsRequest.ts +2 -2
  466. package/src/models/ListCredentialsResponseBody.ts +15 -15
  467. package/src/models/ListCustomAgentsRequest.ts +1 -1
  468. package/src/models/ListCustomAgentsResponseBody.ts +22 -12
  469. package/src/models/ListExternalAgentsRequest.ts +1 -1
  470. package/src/models/ListExternalAgentsResponseBody.ts +10 -16
  471. package/src/models/ListIdentityProvidersRequest.ts +2 -2
  472. package/src/models/ListIdentityProvidersResponseBody.ts +24 -15
  473. package/src/models/ListImageCachesRequest.ts +148 -0
  474. package/src/models/ListImageCachesResponse.ts +40 -0
  475. package/src/models/ListImageCachesResponseBody.ts +373 -0
  476. package/src/models/ListMemoriesRequest.ts +74 -0
  477. package/src/models/ListMemoriesResponse.ts +40 -0
  478. package/src/models/ListMemoriesResponseBody.ts +261 -0
  479. package/src/models/ListMemorySessionMessagesRequest.ts +76 -0
  480. package/src/models/ListMemorySessionMessagesResponse.ts +40 -0
  481. package/src/models/ListMemorySessionMessagesResponseBody.ts +141 -0
  482. package/src/models/ListMemorySessionsRequest.ts +64 -0
  483. package/src/models/ListMemorySessionsResponse.ts +40 -0
  484. package/src/models/ListMemorySessionsResponseBody.ts +151 -0
  485. package/src/models/ListMemoryStoresRequest.ts +44 -0
  486. package/src/models/ListMemoryStoresResponse.ts +40 -0
  487. package/src/models/ListMemoryStoresResponseBody.ts +214 -0
  488. package/src/models/ListPredefinedModelProvidersResponseBody.ts +64 -0
  489. package/src/models/ListPredefinedModelsResponseBody.ts +9 -9
  490. package/src/models/ListServiceEndpointsRequest.ts +8 -8
  491. package/src/models/ListServiceEndpointsResponseBody.ts +19 -19
  492. package/src/models/ListSkillReferencesRequest.ts +4 -4
  493. package/src/models/ListSkillReferencesResponseBody.ts +6 -6
  494. package/src/models/ListTeamsRequest.ts +3 -3
  495. package/src/models/ListTeamsResponseBody.ts +12 -24
  496. package/src/models/ListWorkspacesRequest.ts +1 -1
  497. package/src/models/ListWorkspacesResponseBody.ts +30 -14
  498. package/src/models/ResetUserPasswordRequest.ts +3 -3
  499. package/src/models/ResetUserPasswordResponseBody.ts +3 -3
  500. package/src/models/RetryImageCacheRequest.ts +90 -0
  501. package/src/models/RetryImageCacheResponse.ts +40 -0
  502. package/src/models/RetryImageCacheResponseBody.ts +341 -0
  503. package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
  504. package/src/models/SearchMemoriesRequest.ts +175 -0
  505. package/src/models/SearchMemoriesResponse.ts +40 -0
  506. package/src/models/SearchMemoriesResponseBody.ts +321 -0
  507. package/src/models/SearchMemoriesShrinkRequest.ts +33 -0
  508. package/src/models/UpdateAgentImchannelCredentialRequest.ts +2 -2
  509. package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +6 -6
  510. package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
  511. package/src/models/UpdateAgentImchannelRequest.ts +4 -4
  512. package/src/models/UpdateAgentImchannelResponseBody.ts +9 -18
  513. package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
  514. package/src/models/UpdateCredentialRequest.ts +6 -6
  515. package/src/models/UpdateCredentialResponseBody.ts +10 -10
  516. package/src/models/UpdateCustomAgentRequest.ts +79 -32
  517. package/src/models/UpdateCustomAgentResponseBody.ts +231 -43
  518. package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
  519. package/src/models/UpdateMemoryRequest.ts +76 -0
  520. package/src/models/UpdateMemoryResponse.ts +40 -0
  521. package/src/models/UpdateMemoryResponseBody.ts +241 -0
  522. package/src/models/UpdateMemoryShrinkRequest.ts +33 -0
  523. package/src/models/UpdateMemoryStoreRequest.ts +86 -0
  524. package/src/models/UpdateMemoryStoreResponse.ts +40 -0
  525. package/src/models/UpdateMemoryStoreResponseBody.ts +181 -0
  526. package/src/models/UpdateMemoryStoreShrinkRequest.ts +43 -0
  527. package/src/models/UpdateModelConnectionRequest.ts +4 -4
  528. package/src/models/UpdateModelConnectionResponseBody.ts +12 -12
  529. package/src/models/UpdateModelConnectionShrinkRequest.ts +1 -1
  530. package/src/models/UpdateModelRequest.ts +31 -14
  531. package/src/models/UpdateModelResponseBody.ts +12 -12
  532. package/src/models/UpdateModelShrinkRequest.ts +2 -2
  533. package/src/models/UpdateSkillBizTagsRequest.ts +1 -1
  534. package/src/models/UpdateSkillScopeRequest.ts +1 -1
  535. package/src/models/UpdateTeamRequest.ts +7 -13
  536. package/src/models/UpdateTeamResponseBody.ts +11 -25
  537. package/src/models/UpdateTeamShrinkRequest.ts +1 -1
  538. package/src/models/UpdateUserRequest.ts +3 -3
  539. package/src/models/UpdateUserResponseBody.ts +8 -8
  540. package/src/models/UpdateWorkspaceRequest.ts +25 -7
  541. package/src/models/UpdateWorkspaceResponseBody.ts +30 -10
  542. package/src/models/UpdateWorkspaceShrinkRequest.ts +1 -1
  543. package/src/models/UploadAgentSpecViaOssRequest.ts +3 -3
  544. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +3 -3
  545. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +37 -7
  546. package/src/models/model.ts +116 -0
package/src/client.ts CHANGED
@@ -30,7 +30,64 @@ export default class Client extends OpenApi {
30
30
  }
31
31
 
32
32
  /**
33
- * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
33
+ * Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
34
+ *
35
+ * @remarks
36
+ * Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
37
+ *
38
+ * @param tmpReq - AddMemoriesRequest
39
+ * @param headers - map
40
+ * @param runtime - runtime options for this request RuntimeOptions
41
+ * @returns AddMemoriesResponse
42
+ */
43
+ async addMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.AddMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.AddMemoriesResponse> {
44
+ tmpReq.validate();
45
+ let request = new $_model.AddMemoriesShrinkRequest({ });
46
+ OpenApiUtil.convert(tmpReq, request);
47
+ if (!$dara.isNull(tmpReq.body)) {
48
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
49
+ }
50
+
51
+ let body : {[key: string ]: any} = { };
52
+ if (!$dara.isNull(request.bodyShrink)) {
53
+ body["body"] = request.bodyShrink;
54
+ }
55
+
56
+ let req = new $OpenApiUtil.OpenApiRequest({
57
+ headers: headers,
58
+ body: OpenApiUtil.parseToMap(body),
59
+ });
60
+ let params = new $OpenApiUtil.Params({
61
+ action: "AddMemories",
62
+ version: "2026-08-04",
63
+ protocol: "HTTPS",
64
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
65
+ method: "POST",
66
+ authType: "AK",
67
+ style: "ROA",
68
+ reqBodyType: "formData",
69
+ bodyType: "json",
70
+ });
71
+ return $dara.cast<$_model.AddMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.AddMemoriesResponse({}));
72
+ }
73
+
74
+ /**
75
+ * Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
76
+ *
77
+ * @remarks
78
+ * Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
79
+ *
80
+ * @param request - AddMemoriesRequest
81
+ * @returns AddMemoriesResponse
82
+ */
83
+ async addMemories(workspaceId: string, memoryStoreName: string, request: $_model.AddMemoriesRequest): Promise<$_model.AddMemoriesResponse> {
84
+ let runtime = new $dara.RuntimeOptions({ });
85
+ let headers : {[key: string ]: string} = { };
86
+ return await this.addMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
87
+ }
88
+
89
+ /**
90
+ * Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
34
91
  *
35
92
  * @param tmpReq - BatchDeleteModelsRequest
36
93
  * @param headers - map
@@ -75,7 +132,7 @@ export default class Client extends OpenApi {
75
132
  }
76
133
 
77
134
  /**
78
- * Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
135
+ * Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
79
136
  *
80
137
  * @param request - BatchDeleteModelsRequest
81
138
  * @returns BatchDeleteModelsResponse
@@ -87,11 +144,11 @@ export default class Client extends OpenApi {
87
144
  }
88
145
 
89
146
  /**
90
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
147
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
91
148
  *
92
149
  * @remarks
93
- * ## Operation description
94
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
150
+ * ## Request description
151
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
95
152
  *
96
153
  * @param tmpReq - BatchUploadSkillsViaOssRequest
97
154
  * @param headers - map
@@ -130,11 +187,11 @@ export default class Client extends OpenApi {
130
187
  }
131
188
 
132
189
  /**
133
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
190
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
134
191
  *
135
192
  * @remarks
136
- * ## Operation description
137
- * Uploads Skill ZIP packages in bulk through OSS and returns the processing result of each Skill.
193
+ * ## Request description
194
+ * Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
138
195
  *
139
196
  * @param request - BatchUploadSkillsViaOssRequest
140
197
  * @returns BatchUploadSkillsViaOssResponse
@@ -146,10 +203,10 @@ export default class Client extends OpenApi {
146
203
  }
147
204
 
148
205
  /**
149
- * Converts an MCP to free editing.
206
+ * Converts an MCP to free-edit mode.
150
207
  *
151
208
  * @remarks
152
- * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
209
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
153
210
  *
154
211
  * @param request - ConvertMcpToFreeEditRequest
155
212
  * @param headers - map
@@ -182,10 +239,10 @@ export default class Client extends OpenApi {
182
239
  }
183
240
 
184
241
  /**
185
- * Converts an MCP to free editing.
242
+ * Converts an MCP to free-edit mode.
186
243
  *
187
244
  * @remarks
188
- * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
245
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
189
246
  *
190
247
  * @param request - ConvertMcpToFreeEditRequest
191
248
  * @returns ConvertMcpToFreeEditResponse
@@ -197,10 +254,10 @@ export default class Client extends OpenApi {
197
254
  }
198
255
 
199
256
  /**
200
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
257
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
201
258
  *
202
259
  * @remarks
203
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
260
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
204
261
  *
205
262
  * @param tmpReq - CreateAgentIMChannelRequest
206
263
  * @param headers - map
@@ -245,10 +302,10 @@ export default class Client extends OpenApi {
245
302
  }
246
303
 
247
304
  /**
248
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
305
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
249
306
  *
250
307
  * @remarks
251
- * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
308
+ * Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
252
309
  *
253
310
  * @param request - CreateAgentIMChannelRequest
254
311
  * @returns CreateAgentIMChannelResponse
@@ -260,11 +317,11 @@ export default class Client extends OpenApi {
260
317
  }
261
318
 
262
319
  /**
263
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
320
+ * Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
264
321
  *
265
322
  * @remarks
266
- * ## Operation description
267
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
323
+ * ## Request description
324
+ * Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
268
325
  *
269
326
  * @param tmpReq - CreateAgentSpecRequest
270
327
  * @param headers - map
@@ -303,11 +360,11 @@ export default class Client extends OpenApi {
303
360
  }
304
361
 
305
362
  /**
306
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
363
+ * Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
307
364
  *
308
365
  * @remarks
309
- * ## Operation description
310
- * Creates an AgentSpec in the specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
366
+ * ## Request description
367
+ * Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
311
368
  *
312
369
  * @param request - CreateAgentSpecRequest
313
370
  * @returns CreateAgentSpecResponse
@@ -319,11 +376,11 @@ export default class Client extends OpenApi {
319
376
  }
320
377
 
321
378
  /**
322
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
379
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
323
380
  *
324
381
  * @remarks
325
382
  * ## Request description
326
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
383
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
327
384
  *
328
385
  * @param tmpReq - CreateAgentSpecVersionRequest
329
386
  * @param headers - map
@@ -362,11 +419,11 @@ export default class Client extends OpenApi {
362
419
  }
363
420
 
364
421
  /**
365
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
422
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
366
423
  *
367
424
  * @remarks
368
425
  * ## Request description
369
- * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist, and there must be no draft currently being edited.
426
+ * Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
370
427
  *
371
428
  * @param request - CreateAgentSpecVersionRequest
372
429
  * @returns CreateAgentSpecVersionResponse
@@ -378,7 +435,7 @@ export default class Client extends OpenApi {
378
435
  }
379
436
 
380
437
  /**
381
- * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
438
+ * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
382
439
  *
383
440
  * @remarks
384
441
  * Creates a credential in a workspace for authentication of services such as Connector.
@@ -426,7 +483,7 @@ export default class Client extends OpenApi {
426
483
  }
427
484
 
428
485
  /**
429
- * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
486
+ * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
430
487
  *
431
488
  * @remarks
432
489
  * Creates a credential in a workspace for authentication of services such as Connector.
@@ -441,13 +498,13 @@ export default class Client extends OpenApi {
441
498
  }
442
499
 
443
500
  /**
444
- * Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
501
+ * Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
445
502
  *
446
503
  * @remarks
447
- * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
504
+ * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
448
505
  * Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
449
- * The creation process is asynchronous. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
450
- * The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
506
+ * The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
507
+ * The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
451
508
  *
452
509
  * @param tmpReq - CreateCustomAgentRequest
453
510
  * @param headers - map
@@ -492,13 +549,13 @@ export default class Client extends OpenApi {
492
549
  }
493
550
 
494
551
  /**
495
- * Creates a custom agent in a specified workspace and submits the container image deployment configuration. The creation process is asynchronous. You can call the GetCustomAgent operation to query the deployment result.
552
+ * Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
496
553
  *
497
554
  * @remarks
498
- * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and the runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
555
+ * Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
499
556
  * Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
500
- * The creation process is asynchronous. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure the access endpoint.
501
- * The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
557
+ * The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
558
+ * The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
502
559
  *
503
560
  * @param request - CreateCustomAgentRequest
504
561
  * @returns CreateCustomAgentResponse
@@ -573,10 +630,10 @@ export default class Client extends OpenApi {
573
630
  }
574
631
 
575
632
  /**
576
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
633
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
577
634
  *
578
635
  * @remarks
579
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
636
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
580
637
  *
581
638
  * @param request - CreateExternalAgentBootstrapTokenRequest
582
639
  * @param headers - map
@@ -609,10 +666,10 @@ export default class Client extends OpenApi {
609
666
  }
610
667
 
611
668
  /**
612
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
669
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
613
670
  *
614
671
  * @remarks
615
- * Creates a bootstrap token and CMS configuration required for connecting a specified external agent.
672
+ * Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
616
673
  *
617
674
  * @param request - CreateExternalAgentBootstrapTokenRequest
618
675
  * @returns CreateExternalAgentBootstrapTokenResponse
@@ -624,7 +681,7 @@ export default class Client extends OpenApi {
624
681
  }
625
682
 
626
683
  /**
627
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
684
+ * Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
628
685
  *
629
686
  * @param tmpReq - CreateIdentityProviderRequest
630
687
  * @param headers - map
@@ -663,7 +720,7 @@ export default class Client extends OpenApi {
663
720
  }
664
721
 
665
722
  /**
666
- * Binds an external identity provider to a specified workspace for single sign-on and organization member synchronization. Each workspace can be bound to at most one external identity provider. The binding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
723
+ * Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
667
724
  *
668
725
  * @param request - CreateIdentityProviderRequest
669
726
  * @returns CreateIdentityProviderResponse
@@ -674,6 +731,77 @@ export default class Client extends OpenApi {
674
731
  return await this.createIdentityProviderWithOptions(workspaceId, request, headers, runtime);
675
732
  }
676
733
 
734
+ /**
735
+ * Creates an image cache.
736
+ *
737
+ * @remarks
738
+ * Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
739
+ *
740
+ * @param tmpReq - CreateImageCacheRequest
741
+ * @param headers - map
742
+ * @param runtime - runtime options for this request RuntimeOptions
743
+ * @returns CreateImageCacheResponse
744
+ */
745
+ async createImageCacheWithOptions(tmpReq: $_model.CreateImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateImageCacheResponse> {
746
+ tmpReq.validate();
747
+ let request = new $_model.CreateImageCacheShrinkRequest({ });
748
+ OpenApiUtil.convert(tmpReq, request);
749
+ if (!$dara.isNull(tmpReq.body)) {
750
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
751
+ }
752
+
753
+ let query : {[key: string ]: any} = { };
754
+ if (!$dara.isNull(request.clientToken)) {
755
+ query["clientToken"] = request.clientToken;
756
+ }
757
+
758
+ if (!$dara.isNull(request.regionId)) {
759
+ query["regionId"] = request.regionId;
760
+ }
761
+
762
+ if (!$dara.isNull(request.workspaceId)) {
763
+ query["workspaceId"] = request.workspaceId;
764
+ }
765
+
766
+ let body : {[key: string ]: any} = { };
767
+ if (!$dara.isNull(request.bodyShrink)) {
768
+ body["body"] = request.bodyShrink;
769
+ }
770
+
771
+ let req = new $OpenApiUtil.OpenApiRequest({
772
+ headers: headers,
773
+ query: OpenApiUtil.query(query),
774
+ body: OpenApiUtil.parseToMap(body),
775
+ });
776
+ let params = new $OpenApiUtil.Params({
777
+ action: "CreateImageCache",
778
+ version: "2026-08-04",
779
+ protocol: "HTTPS",
780
+ pathname: `/image-caches`,
781
+ method: "POST",
782
+ authType: "AK",
783
+ style: "ROA",
784
+ reqBodyType: "formData",
785
+ bodyType: "json",
786
+ });
787
+ return $dara.cast<$_model.CreateImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.CreateImageCacheResponse({}));
788
+ }
789
+
790
+ /**
791
+ * Creates an image cache.
792
+ *
793
+ * @remarks
794
+ * Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
795
+ *
796
+ * @param request - CreateImageCacheRequest
797
+ * @returns CreateImageCacheResponse
798
+ */
799
+ async createImageCache(request: $_model.CreateImageCacheRequest): Promise<$_model.CreateImageCacheResponse> {
800
+ let runtime = new $dara.RuntimeOptions({ });
801
+ let headers : {[key: string ]: string} = { };
802
+ return await this.createImageCacheWithOptions(request, headers, runtime);
803
+ }
804
+
677
805
  /**
678
806
  * Creates a managed agent in a specified workspace.
679
807
  *
@@ -797,7 +925,70 @@ export default class Client extends OpenApi {
797
925
  }
798
926
 
799
927
  /**
800
- * Creates a model configuration under a specified model connection in a workspace.
928
+ * Creates a long-term memory store in a specified workspace.
929
+ *
930
+ * @remarks
931
+ * Creates a long-term memory store in a specified workspace.
932
+ *
933
+ * @param tmpReq - CreateMemoryStoreRequest
934
+ * @param headers - map
935
+ * @param runtime - runtime options for this request RuntimeOptions
936
+ * @returns CreateMemoryStoreResponse
937
+ */
938
+ async createMemoryStoreWithOptions(workspaceId: string, tmpReq: $_model.CreateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMemoryStoreResponse> {
939
+ tmpReq.validate();
940
+ let request = new $_model.CreateMemoryStoreShrinkRequest({ });
941
+ OpenApiUtil.convert(tmpReq, request);
942
+ if (!$dara.isNull(tmpReq.body)) {
943
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
944
+ }
945
+
946
+ let query : {[key: string ]: any} = { };
947
+ if (!$dara.isNull(request.clientToken)) {
948
+ query["clientToken"] = request.clientToken;
949
+ }
950
+
951
+ let body : {[key: string ]: any} = { };
952
+ if (!$dara.isNull(request.bodyShrink)) {
953
+ body["body"] = request.bodyShrink;
954
+ }
955
+
956
+ let req = new $OpenApiUtil.OpenApiRequest({
957
+ headers: headers,
958
+ query: OpenApiUtil.query(query),
959
+ body: OpenApiUtil.parseToMap(body),
960
+ });
961
+ let params = new $OpenApiUtil.Params({
962
+ action: "CreateMemoryStore",
963
+ version: "2026-08-04",
964
+ protocol: "HTTPS",
965
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
966
+ method: "POST",
967
+ authType: "AK",
968
+ style: "ROA",
969
+ reqBodyType: "formData",
970
+ bodyType: "json",
971
+ });
972
+ return $dara.cast<$_model.CreateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.CreateMemoryStoreResponse({}));
973
+ }
974
+
975
+ /**
976
+ * Creates a long-term memory store in a specified workspace.
977
+ *
978
+ * @remarks
979
+ * Creates a long-term memory store in a specified workspace.
980
+ *
981
+ * @param request - CreateMemoryStoreRequest
982
+ * @returns CreateMemoryStoreResponse
983
+ */
984
+ async createMemoryStore(workspaceId: string, request: $_model.CreateMemoryStoreRequest): Promise<$_model.CreateMemoryStoreResponse> {
985
+ let runtime = new $dara.RuntimeOptions({ });
986
+ let headers : {[key: string ]: string} = { };
987
+ return await this.createMemoryStoreWithOptions(workspaceId, request, headers, runtime);
988
+ }
989
+
990
+ /**
991
+ * Creates a model configuration for model creation under a model connection in a specified workspace.
801
992
  *
802
993
  * @param tmpReq - CreateModelRequest
803
994
  * @param headers - map
@@ -842,7 +1033,7 @@ export default class Client extends OpenApi {
842
1033
  }
843
1034
 
844
1035
  /**
845
- * Creates a model configuration under a specified model connection in a workspace.
1036
+ * Creates a model configuration for model creation under a model connection in a specified workspace.
846
1037
  *
847
1038
  * @param request - CreateModelRequest
848
1039
  * @returns CreateModelResponse
@@ -854,7 +1045,7 @@ export default class Client extends OpenApi {
854
1045
  }
855
1046
 
856
1047
  /**
857
- * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
1048
+ * Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
858
1049
  *
859
1050
  * @param tmpReq - CreateModelConnectionRequest
860
1051
  * @param headers - map
@@ -899,7 +1090,7 @@ export default class Client extends OpenApi {
899
1090
  }
900
1091
 
901
1092
  /**
902
- * Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
1093
+ * Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
903
1094
  *
904
1095
  * @param request - CreateModelConnectionRequest
905
1096
  * @returns CreateModelConnectionResponse
@@ -970,7 +1161,7 @@ export default class Client extends OpenApi {
970
1161
  }
971
1162
 
972
1163
  /**
973
- * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
1164
+ * Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
974
1165
  *
975
1166
  * @param tmpReq - CreateTeamRequest
976
1167
  * @param headers - map
@@ -1015,7 +1206,7 @@ export default class Client extends OpenApi {
1015
1206
  }
1016
1207
 
1017
1208
  /**
1018
- * Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
1209
+ * Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
1019
1210
  *
1020
1211
  * @param request - CreateTeamRequest
1021
1212
  * @returns CreateTeamResponse
@@ -1027,7 +1218,7 @@ export default class Client extends OpenApi {
1027
1218
  }
1028
1219
 
1029
1220
  /**
1030
- * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1221
+ * Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1031
1222
  *
1032
1223
  * @param tmpReq - CreateUserRequest
1033
1224
  * @param headers - map
@@ -1072,7 +1263,7 @@ export default class Client extends OpenApi {
1072
1263
  }
1073
1264
 
1074
1265
  /**
1075
- * Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1266
+ * Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
1076
1267
  *
1077
1268
  * @param request - CreateUserRequest
1078
1269
  * @returns CreateUserResponse
@@ -1087,7 +1278,7 @@ export default class Client extends OpenApi {
1087
1278
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1088
1279
  *
1089
1280
  * @remarks
1090
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1281
+ * ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
1091
1282
  *
1092
1283
  * @param tmpReq - CreateWorkspaceRequest
1093
1284
  * @param headers - map
@@ -1135,7 +1326,7 @@ export default class Client extends OpenApi {
1135
1326
  * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
1136
1327
  *
1137
1328
  * @remarks
1138
- * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. Use `Enabled` in the network configuration to specify whether to enable VPC networking. If VPC networking is enabled, you must provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
1329
+ * ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
1139
1330
  *
1140
1331
  * @param request - CreateWorkspaceRequest
1141
1332
  * @returns CreateWorkspaceResponse
@@ -1249,11 +1440,11 @@ export default class Client extends OpenApi {
1249
1440
  }
1250
1441
 
1251
1442
  /**
1252
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1443
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1253
1444
  *
1254
1445
  * @remarks
1255
- * ## Request description
1256
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1446
+ * ## Operation description
1447
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1257
1448
  *
1258
1449
  * @param request - DeleteAgentSpecRequest
1259
1450
  * @param headers - map
@@ -1280,11 +1471,11 @@ export default class Client extends OpenApi {
1280
1471
  }
1281
1472
 
1282
1473
  /**
1283
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1474
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1284
1475
  *
1285
1476
  * @remarks
1286
- * ## Request description
1287
- * Deletes a specified AgentSpec along with all its versions and metadata. This operation is irreversible.
1477
+ * ## Operation description
1478
+ * Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
1288
1479
  *
1289
1480
  * @param request - DeleteAgentSpecRequest
1290
1481
  * @returns DeleteAgentSpecResponse
@@ -1343,10 +1534,10 @@ export default class Client extends OpenApi {
1343
1534
  }
1344
1535
 
1345
1536
  /**
1346
- * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1537
+ * Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
1347
1538
  *
1348
1539
  * @remarks
1349
- * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1540
+ * Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
1350
1541
  *
1351
1542
  * @param request - DeleteCredentialRequest
1352
1543
  * @param headers - map
@@ -1379,10 +1570,10 @@ export default class Client extends OpenApi {
1379
1570
  }
1380
1571
 
1381
1572
  /**
1382
- * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1573
+ * Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
1383
1574
  *
1384
1575
  * @remarks
1385
- * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1576
+ * Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
1386
1577
  *
1387
1578
  * @param request - DeleteCredentialRequest
1388
1579
  * @returns DeleteCredentialResponse
@@ -1394,11 +1585,11 @@ export default class Client extends OpenApi {
1394
1585
  }
1395
1586
 
1396
1587
  /**
1397
- * Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
1588
+ * Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
1398
1589
  *
1399
1590
  * @remarks
1400
- * Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
1401
- * Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already being deleted, a subsequent request returns the current summary.
1591
+ * Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
1592
+ * Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
1402
1593
  * You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
1403
1594
  *
1404
1595
  * @param request - DeleteCustomAgentRequest
@@ -1426,11 +1617,11 @@ export default class Client extends OpenApi {
1426
1617
  }
1427
1618
 
1428
1619
  /**
1429
- * Deletes a custom agent in a specified workspace. A successful request indicates that the deletion is accepted, and the runtime resources are subsequently cleaned up in the background.
1620
+ * Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
1430
1621
  *
1431
1622
  * @remarks
1432
- * Before you call this operation, make sure that the workspace is writable. If the agent is still associated with a team, you must dissociate the team first.
1433
- * Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already being deleted, a subsequent request returns the current summary.
1623
+ * Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
1624
+ * Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
1434
1625
  * You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
1435
1626
  *
1436
1627
  * @param request - DeleteCustomAgentRequest
@@ -1532,6 +1723,61 @@ export default class Client extends OpenApi {
1532
1723
  return await this.deleteIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
1533
1724
  }
1534
1725
 
1726
+ /**
1727
+ * Deletes an image cache.
1728
+ *
1729
+ * @remarks
1730
+ * Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
1731
+ *
1732
+ * @param request - DeleteImageCacheRequest
1733
+ * @param headers - map
1734
+ * @param runtime - runtime options for this request RuntimeOptions
1735
+ * @returns DeleteImageCacheResponse
1736
+ */
1737
+ async deleteImageCacheWithOptions(imageId: string, request: $_model.DeleteImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageCacheResponse> {
1738
+ request.validate();
1739
+ let query : {[key: string ]: any} = { };
1740
+ if (!$dara.isNull(request.regionId)) {
1741
+ query["regionId"] = request.regionId;
1742
+ }
1743
+
1744
+ if (!$dara.isNull(request.workspaceId)) {
1745
+ query["workspaceId"] = request.workspaceId;
1746
+ }
1747
+
1748
+ let req = new $OpenApiUtil.OpenApiRequest({
1749
+ headers: headers,
1750
+ query: OpenApiUtil.query(query),
1751
+ });
1752
+ let params = new $OpenApiUtil.Params({
1753
+ action: "DeleteImageCache",
1754
+ version: "2026-08-04",
1755
+ protocol: "HTTPS",
1756
+ pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
1757
+ method: "DELETE",
1758
+ authType: "AK",
1759
+ style: "ROA",
1760
+ reqBodyType: "json",
1761
+ bodyType: "json",
1762
+ });
1763
+ return $dara.cast<$_model.DeleteImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.DeleteImageCacheResponse({}));
1764
+ }
1765
+
1766
+ /**
1767
+ * Deletes an image cache.
1768
+ *
1769
+ * @remarks
1770
+ * Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
1771
+ *
1772
+ * @param request - DeleteImageCacheRequest
1773
+ * @returns DeleteImageCacheResponse
1774
+ */
1775
+ async deleteImageCache(imageId: string, request: $_model.DeleteImageCacheRequest): Promise<$_model.DeleteImageCacheResponse> {
1776
+ let runtime = new $dara.RuntimeOptions({ });
1777
+ let headers : {[key: string ]: string} = { };
1778
+ return await this.deleteImageCacheWithOptions(imageId, request, headers, runtime);
1779
+ }
1780
+
1535
1781
  /**
1536
1782
  * Deletes a specified managed agent.
1537
1783
  *
@@ -1572,11 +1818,11 @@ export default class Client extends OpenApi {
1572
1818
  }
1573
1819
 
1574
1820
  /**
1575
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1821
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1576
1822
  *
1577
1823
  * @remarks
1578
- * ## Operation description
1579
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1824
+ * ## Request description
1825
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1580
1826
  *
1581
1827
  * @param request - DeleteMcpRequest
1582
1828
  * @param headers - map
@@ -1603,11 +1849,11 @@ export default class Client extends OpenApi {
1603
1849
  }
1604
1850
 
1605
1851
  /**
1606
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1852
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1607
1853
  *
1608
1854
  * @remarks
1609
- * ## Operation description
1610
- * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1855
+ * ## Request description
1856
+ * Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
1611
1857
  *
1612
1858
  * @param request - DeleteMcpRequest
1613
1859
  * @returns DeleteMcpResponse
@@ -1619,108 +1865,198 @@ export default class Client extends OpenApi {
1619
1865
  }
1620
1866
 
1621
1867
  /**
1622
- * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1868
+ * Deletes a long-term memory based on the memory ID.
1623
1869
  *
1624
- * @param request - DeleteModelRequest
1870
+ * @remarks
1871
+ * Deletes a long-term memory based on the memory ID.
1872
+ *
1873
+ * @param request - DeleteMemoryRequest
1625
1874
  * @param headers - map
1626
1875
  * @param runtime - runtime options for this request RuntimeOptions
1627
- * @returns DeleteModelResponse
1876
+ * @returns DeleteMemoryResponse
1628
1877
  */
1629
- async deleteModelWithOptions(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelResponse> {
1878
+ async deleteMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryResponse> {
1630
1879
  request.validate();
1631
- let query : {[key: string ]: any} = { };
1632
- if (!$dara.isNull(request.clientToken)) {
1633
- query["clientToken"] = request.clientToken;
1634
- }
1635
-
1636
1880
  let req = new $OpenApiUtil.OpenApiRequest({
1637
1881
  headers: headers,
1638
- query: OpenApiUtil.query(query),
1639
1882
  });
1640
1883
  let params = new $OpenApiUtil.Params({
1641
- action: "DeleteModel",
1884
+ action: "DeleteMemory",
1642
1885
  version: "2026-08-04",
1643
1886
  protocol: "HTTPS",
1644
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
1887
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
1645
1888
  method: "DELETE",
1646
1889
  authType: "AK",
1647
1890
  style: "ROA",
1648
1891
  reqBodyType: "json",
1649
1892
  bodyType: "json",
1650
1893
  });
1651
- return $dara.cast<$_model.DeleteModelResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
1894
+ return $dara.cast<$_model.DeleteMemoryResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryResponse({}));
1652
1895
  }
1653
1896
 
1654
1897
  /**
1655
- * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1898
+ * Deletes a long-term memory based on the memory ID.
1656
1899
  *
1657
- * @param request - DeleteModelRequest
1658
- * @returns DeleteModelResponse
1900
+ * @remarks
1901
+ * Deletes a long-term memory based on the memory ID.
1902
+ *
1903
+ * @param request - DeleteMemoryRequest
1904
+ * @returns DeleteMemoryResponse
1659
1905
  */
1660
- async deleteModel(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest): Promise<$_model.DeleteModelResponse> {
1906
+ async deleteMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest): Promise<$_model.DeleteMemoryResponse> {
1661
1907
  let runtime = new $dara.RuntimeOptions({ });
1662
1908
  let headers : {[key: string ]: string} = { };
1663
- return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
1909
+ return await this.deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
1664
1910
  }
1665
1911
 
1666
1912
  /**
1667
- * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
1913
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1668
1914
  *
1669
- * @param request - DeleteModelConnectionRequest
1915
+ * @remarks
1916
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1917
+ *
1918
+ * @param request - DeleteMemoryStoreRequest
1670
1919
  * @param headers - map
1671
1920
  * @param runtime - runtime options for this request RuntimeOptions
1672
- * @returns DeleteModelConnectionResponse
1921
+ * @returns DeleteMemoryStoreResponse
1673
1922
  */
1674
- async deleteModelConnectionWithOptions(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelConnectionResponse> {
1923
+ async deleteMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryStoreResponse> {
1675
1924
  request.validate();
1676
- let query : {[key: string ]: any} = { };
1677
- if (!$dara.isNull(request.clientToken)) {
1678
- query["clientToken"] = request.clientToken;
1679
- }
1680
-
1681
1925
  let req = new $OpenApiUtil.OpenApiRequest({
1682
1926
  headers: headers,
1683
- query: OpenApiUtil.query(query),
1684
1927
  });
1685
1928
  let params = new $OpenApiUtil.Params({
1686
- action: "DeleteModelConnection",
1929
+ action: "DeleteMemoryStore",
1687
1930
  version: "2026-08-04",
1688
1931
  protocol: "HTTPS",
1689
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
1932
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
1690
1933
  method: "DELETE",
1691
1934
  authType: "AK",
1692
1935
  style: "ROA",
1693
1936
  reqBodyType: "json",
1694
1937
  bodyType: "json",
1695
1938
  });
1696
- return $dara.cast<$_model.DeleteModelConnectionResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
1939
+ return $dara.cast<$_model.DeleteMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryStoreResponse({}));
1697
1940
  }
1698
1941
 
1699
1942
  /**
1700
- * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
1943
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1701
1944
  *
1702
- * @param request - DeleteModelConnectionRequest
1703
- * @returns DeleteModelConnectionResponse
1945
+ * @remarks
1946
+ * Asynchronously deletes a MemoryStore and all its long-term memory.
1947
+ *
1948
+ * @param request - DeleteMemoryStoreRequest
1949
+ * @returns DeleteMemoryStoreResponse
1704
1950
  */
1705
- async deleteModelConnection(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest): Promise<$_model.DeleteModelConnectionResponse> {
1951
+ async deleteMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest): Promise<$_model.DeleteMemoryStoreResponse> {
1706
1952
  let runtime = new $dara.RuntimeOptions({ });
1707
1953
  let headers : {[key: string ]: string} = { };
1708
- return await this.deleteModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
1954
+ return await this.deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
1709
1955
  }
1710
1956
 
1711
1957
  /**
1712
- * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1713
- *
1714
- * @remarks
1715
- * ## Operation description
1716
- * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
1958
+ * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1717
1959
  *
1718
- * @param request - DeleteSkillRequest
1960
+ * @param request - DeleteModelRequest
1719
1961
  * @param headers - map
1720
1962
  * @param runtime - runtime options for this request RuntimeOptions
1721
- * @returns DeleteSkillResponse
1963
+ * @returns DeleteModelResponse
1722
1964
  */
1723
- async deleteSkillWithOptions(workspaceId: string, skillName: string, request: $_model.DeleteSkillRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSkillResponse> {
1965
+ async deleteModelWithOptions(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelResponse> {
1966
+ request.validate();
1967
+ let query : {[key: string ]: any} = { };
1968
+ if (!$dara.isNull(request.clientToken)) {
1969
+ query["clientToken"] = request.clientToken;
1970
+ }
1971
+
1972
+ let req = new $OpenApiUtil.OpenApiRequest({
1973
+ headers: headers,
1974
+ query: OpenApiUtil.query(query),
1975
+ });
1976
+ let params = new $OpenApiUtil.Params({
1977
+ action: "DeleteModel",
1978
+ version: "2026-08-04",
1979
+ protocol: "HTTPS",
1980
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
1981
+ method: "DELETE",
1982
+ authType: "AK",
1983
+ style: "ROA",
1984
+ reqBodyType: "json",
1985
+ bodyType: "json",
1986
+ });
1987
+ return $dara.cast<$_model.DeleteModelResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
1988
+ }
1989
+
1990
+ /**
1991
+ * Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
1992
+ *
1993
+ * @param request - DeleteModelRequest
1994
+ * @returns DeleteModelResponse
1995
+ */
1996
+ async deleteModel(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest): Promise<$_model.DeleteModelResponse> {
1997
+ let runtime = new $dara.RuntimeOptions({ });
1998
+ let headers : {[key: string ]: string} = { };
1999
+ return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
2000
+ }
2001
+
2002
+ /**
2003
+ * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
2004
+ *
2005
+ * @param request - DeleteModelConnectionRequest
2006
+ * @param headers - map
2007
+ * @param runtime - runtime options for this request RuntimeOptions
2008
+ * @returns DeleteModelConnectionResponse
2009
+ */
2010
+ async deleteModelConnectionWithOptions(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelConnectionResponse> {
2011
+ request.validate();
2012
+ let query : {[key: string ]: any} = { };
2013
+ if (!$dara.isNull(request.clientToken)) {
2014
+ query["clientToken"] = request.clientToken;
2015
+ }
2016
+
2017
+ let req = new $OpenApiUtil.OpenApiRequest({
2018
+ headers: headers,
2019
+ query: OpenApiUtil.query(query),
2020
+ });
2021
+ let params = new $OpenApiUtil.Params({
2022
+ action: "DeleteModelConnection",
2023
+ version: "2026-08-04",
2024
+ protocol: "HTTPS",
2025
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
2026
+ method: "DELETE",
2027
+ authType: "AK",
2028
+ style: "ROA",
2029
+ reqBodyType: "json",
2030
+ bodyType: "json",
2031
+ });
2032
+ return $dara.cast<$_model.DeleteModelConnectionResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
2033
+ }
2034
+
2035
+ /**
2036
+ * Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
2037
+ *
2038
+ * @param request - DeleteModelConnectionRequest
2039
+ * @returns DeleteModelConnectionResponse
2040
+ */
2041
+ async deleteModelConnection(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest): Promise<$_model.DeleteModelConnectionResponse> {
2042
+ let runtime = new $dara.RuntimeOptions({ });
2043
+ let headers : {[key: string ]: string} = { };
2044
+ return await this.deleteModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
2045
+ }
2046
+
2047
+ /**
2048
+ * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
2049
+ *
2050
+ * @remarks
2051
+ * ## Operation description
2052
+ * Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
2053
+ *
2054
+ * @param request - DeleteSkillRequest
2055
+ * @param headers - map
2056
+ * @param runtime - runtime options for this request RuntimeOptions
2057
+ * @returns DeleteSkillResponse
2058
+ */
2059
+ async deleteSkillWithOptions(workspaceId: string, skillName: string, request: $_model.DeleteSkillRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSkillResponse> {
1724
2060
  request.validate();
1725
2061
  let req = new $OpenApiUtil.OpenApiRequest({
1726
2062
  headers: headers,
@@ -1893,10 +2229,10 @@ export default class Client extends OpenApi {
1893
2229
  }
1894
2230
 
1895
2231
  /**
1896
- * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
2232
+ * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
1897
2233
  *
1898
2234
  * @remarks
1899
- * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
2235
+ * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
1900
2236
  *
1901
2237
  * @param request - DeleteWorkspaceRequest
1902
2238
  * @param headers - map
@@ -1923,10 +2259,10 @@ export default class Client extends OpenApi {
1923
2259
  }
1924
2260
 
1925
2261
  /**
1926
- * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
2262
+ * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
1927
2263
  *
1928
2264
  * @remarks
1929
- * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
2265
+ * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
1930
2266
  *
1931
2267
  * @param request - DeleteWorkspaceRequest
1932
2268
  * @returns DeleteWorkspaceResponse
@@ -1983,11 +2319,11 @@ export default class Client extends OpenApi {
1983
2319
  }
1984
2320
 
1985
2321
  /**
1986
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2322
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
1987
2323
  *
1988
2324
  * @remarks
1989
- * ## Operation description
1990
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2325
+ * ## Request description
2326
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
1991
2327
  *
1992
2328
  * @param request - DownloadAgentSpecViaOssRequest
1993
2329
  * @param headers - map
@@ -2020,11 +2356,11 @@ export default class Client extends OpenApi {
2020
2356
  }
2021
2357
 
2022
2358
  /**
2023
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2359
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
2024
2360
  *
2025
2361
  * @remarks
2026
- * ## Operation description
2027
- * Retrieves a pre-signed OSS download URL for a specified AgentSpec, which is used to download the AgentSpec ZIP package.
2362
+ * ## Request description
2363
+ * Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
2028
2364
  *
2029
2365
  * @param request - DownloadAgentSpecViaOssRequest
2030
2366
  * @returns DownloadAgentSpecViaOssResponse
@@ -2247,7 +2583,7 @@ export default class Client extends OpenApi {
2247
2583
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2248
2584
  *
2249
2585
  * @remarks
2250
- * ## Operation description
2586
+ * ## Request description
2251
2587
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2252
2588
  *
2253
2589
  * @param request - GetAgentSpecRequest
@@ -2278,7 +2614,7 @@ export default class Client extends OpenApi {
2278
2614
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2279
2615
  *
2280
2616
  * @remarks
2281
- * ## Operation description
2617
+ * ## Request description
2282
2618
  * Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
2283
2619
  *
2284
2620
  * @param request - GetAgentSpecRequest
@@ -2291,11 +2627,11 @@ export default class Client extends OpenApi {
2291
2627
  }
2292
2628
 
2293
2629
  /**
2294
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2630
+ * Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
2295
2631
  *
2296
2632
  * @remarks
2297
- * ## Operation description
2298
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2633
+ * ## Request description
2634
+ * Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
2299
2635
  *
2300
2636
  * @param request - GetAgentSpecImportFileUrlRequest
2301
2637
  * @param headers - map
@@ -2328,11 +2664,11 @@ export default class Client extends OpenApi {
2328
2664
  }
2329
2665
 
2330
2666
  /**
2331
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2667
+ * Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
2332
2668
  *
2333
2669
  * @remarks
2334
- * ## Operation description
2335
- * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2670
+ * ## Request description
2671
+ * Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
2336
2672
  *
2337
2673
  * @param request - GetAgentSpecImportFileUrlRequest
2338
2674
  * @returns GetAgentSpecImportFileUrlResponse
@@ -2391,11 +2727,11 @@ export default class Client extends OpenApi {
2391
2727
  }
2392
2728
 
2393
2729
  /**
2394
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2730
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2395
2731
  *
2396
2732
  * @remarks
2397
- * ## Operation description
2398
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2733
+ * ## Request description
2734
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2399
2735
  *
2400
2736
  * @param request - GetAgentSpecVersionRequest
2401
2737
  * @param headers - map
@@ -2422,11 +2758,11 @@ export default class Client extends OpenApi {
2422
2758
  }
2423
2759
 
2424
2760
  /**
2425
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2761
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2426
2762
  *
2427
2763
  * @remarks
2428
- * ## Operation description
2429
- * Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
2764
+ * ## Request description
2765
+ * Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
2430
2766
  *
2431
2767
  * @param request - GetAgentSpecVersionRequest
2432
2768
  * @returns GetAgentSpecVersionResponse
@@ -2438,7 +2774,7 @@ export default class Client extends OpenApi {
2438
2774
  }
2439
2775
 
2440
2776
  /**
2441
- * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2777
+ * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
2442
2778
  *
2443
2779
  * @remarks
2444
2780
  * Queries the details of a single credential. Sensitive fields are not returned.
@@ -2468,7 +2804,7 @@ export default class Client extends OpenApi {
2468
2804
  }
2469
2805
 
2470
2806
  /**
2471
- * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2807
+ * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
2472
2808
  *
2473
2809
  * @remarks
2474
2810
  * Queries the details of a single credential. Sensitive fields are not returned.
@@ -2483,12 +2819,12 @@ export default class Client extends OpenApi {
2483
2819
  }
2484
2820
 
2485
2821
  /**
2486
- * 查询自定义智能体
2822
+ * Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
2487
2823
  *
2488
2824
  * @remarks
2489
- * 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
2490
- * 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
2491
- * 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
2825
+ * After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
2826
+ * The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
2827
+ * If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
2492
2828
  *
2493
2829
  * @param request - GetCustomAgentRequest
2494
2830
  * @param headers - map
@@ -2515,12 +2851,12 @@ export default class Client extends OpenApi {
2515
2851
  }
2516
2852
 
2517
2853
  /**
2518
- * 查询自定义智能体
2854
+ * Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
2519
2855
  *
2520
2856
  * @remarks
2521
- * 创建或更新后,可轮询本接口查询最新配置版本的执行结果。latestVersionStatus 与 latestSpecVersion 对应;latestExecutionError 表示该版本的等待或失败原因,retryable 为 true 时可稍后再次查询。
2522
- * 返回的配置为最新提交的配置,可能尚未生效。请结合 latestVersionStatus、智能体整体状态 status 和运行实例统计 sandboxPhaseCounts 确认部署及运行情况。
2523
- * 查询不存在、已完成删除或不属于指定工作空间的自定义智能体时,返回资源不存在错误。
2857
+ * After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
2858
+ * The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
2859
+ * If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
2524
2860
  *
2525
2861
  * @param request - GetCustomAgentRequest
2526
2862
  * @returns GetCustomAgentResponse
@@ -2577,10 +2913,10 @@ export default class Client extends OpenApi {
2577
2913
  }
2578
2914
 
2579
2915
  /**
2580
- * Queries the available network types for a specified external agent.
2916
+ * Queries the available access network types for a specified external agent.
2581
2917
  *
2582
2918
  * @remarks
2583
- * Queries the available network types for a specified external agent.
2919
+ * Queries the available access network types for a specified external agent.
2584
2920
  *
2585
2921
  * @param request - GetExternalAgentBootstrapOptionsRequest
2586
2922
  * @param headers - map
@@ -2607,10 +2943,10 @@ export default class Client extends OpenApi {
2607
2943
  }
2608
2944
 
2609
2945
  /**
2610
- * Queries the available network types for a specified external agent.
2946
+ * Queries the available access network types for a specified external agent.
2611
2947
  *
2612
2948
  * @remarks
2613
- * Queries the available network types for a specified external agent.
2949
+ * Queries the available access network types for a specified external agent.
2614
2950
  *
2615
2951
  * @param request - GetExternalAgentBootstrapOptionsRequest
2616
2952
  * @returns GetExternalAgentBootstrapOptionsResponse
@@ -2622,7 +2958,7 @@ export default class Client extends OpenApi {
2622
2958
  }
2623
2959
 
2624
2960
  /**
2625
- * Queries the binding details of an external identity provider for a specified workspace, including the binding status, application configuration, and callback URLs that need to be configured on the identity provider side. Application secret configurations are not returned.
2961
+ * Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
2626
2962
  *
2627
2963
  * @param request - GetIdentityProviderRequest
2628
2964
  * @param headers - map
@@ -2649,7 +2985,7 @@ export default class Client extends OpenApi {
2649
2985
  }
2650
2986
 
2651
2987
  /**
2652
- * Queries the binding details of an external identity provider for a specified workspace, including the binding status, application configuration, and callback URLs that need to be configured on the identity provider side. Application secret configurations are not returned.
2988
+ * Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
2653
2989
  *
2654
2990
  * @param request - GetIdentityProviderRequest
2655
2991
  * @returns GetIdentityProviderResponse
@@ -2660,6 +2996,61 @@ export default class Client extends OpenApi {
2660
2996
  return await this.getIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
2661
2997
  }
2662
2998
 
2999
+ /**
3000
+ * Queries the details of an image cache.
3001
+ *
3002
+ * @remarks
3003
+ * Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
3004
+ *
3005
+ * @param request - GetImageCacheRequest
3006
+ * @param headers - map
3007
+ * @param runtime - runtime options for this request RuntimeOptions
3008
+ * @returns GetImageCacheResponse
3009
+ */
3010
+ async getImageCacheWithOptions(imageId: string, request: $_model.GetImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetImageCacheResponse> {
3011
+ request.validate();
3012
+ let query : {[key: string ]: any} = { };
3013
+ if (!$dara.isNull(request.regionId)) {
3014
+ query["regionId"] = request.regionId;
3015
+ }
3016
+
3017
+ if (!$dara.isNull(request.workspaceId)) {
3018
+ query["workspaceId"] = request.workspaceId;
3019
+ }
3020
+
3021
+ let req = new $OpenApiUtil.OpenApiRequest({
3022
+ headers: headers,
3023
+ query: OpenApiUtil.query(query),
3024
+ });
3025
+ let params = new $OpenApiUtil.Params({
3026
+ action: "GetImageCache",
3027
+ version: "2026-08-04",
3028
+ protocol: "HTTPS",
3029
+ pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
3030
+ method: "GET",
3031
+ authType: "AK",
3032
+ style: "ROA",
3033
+ reqBodyType: "json",
3034
+ bodyType: "json",
3035
+ });
3036
+ return $dara.cast<$_model.GetImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.GetImageCacheResponse({}));
3037
+ }
3038
+
3039
+ /**
3040
+ * Queries the details of an image cache.
3041
+ *
3042
+ * @remarks
3043
+ * Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
3044
+ *
3045
+ * @param request - GetImageCacheRequest
3046
+ * @returns GetImageCacheResponse
3047
+ */
3048
+ async getImageCache(imageId: string, request: $_model.GetImageCacheRequest): Promise<$_model.GetImageCacheResponse> {
3049
+ let runtime = new $dara.RuntimeOptions({ });
3050
+ let headers : {[key: string ]: string} = { };
3051
+ return await this.getImageCacheWithOptions(imageId, request, headers, runtime);
3052
+ }
3053
+
2663
3054
  /**
2664
3055
  * Queries the details of a specified managed agent.
2665
3056
  *
@@ -2791,6 +3182,141 @@ export default class Client extends OpenApi {
2791
3182
  return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
2792
3183
  }
2793
3184
 
3185
+ /**
3186
+ * Queries a long-term memory by memory ID.
3187
+ *
3188
+ * @remarks
3189
+ * Queries a long-term memory by memory ID.
3190
+ *
3191
+ * @param request - GetMemoryRequest
3192
+ * @param headers - map
3193
+ * @param runtime - runtime options for this request RuntimeOptions
3194
+ * @returns GetMemoryResponse
3195
+ */
3196
+ async getMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryResponse> {
3197
+ request.validate();
3198
+ let req = new $OpenApiUtil.OpenApiRequest({
3199
+ headers: headers,
3200
+ });
3201
+ let params = new $OpenApiUtil.Params({
3202
+ action: "GetMemory",
3203
+ version: "2026-08-04",
3204
+ protocol: "HTTPS",
3205
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
3206
+ method: "GET",
3207
+ authType: "AK",
3208
+ style: "ROA",
3209
+ reqBodyType: "json",
3210
+ bodyType: "json",
3211
+ });
3212
+ return $dara.cast<$_model.GetMemoryResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryResponse({}));
3213
+ }
3214
+
3215
+ /**
3216
+ * Queries a long-term memory by memory ID.
3217
+ *
3218
+ * @remarks
3219
+ * Queries a long-term memory by memory ID.
3220
+ *
3221
+ * @param request - GetMemoryRequest
3222
+ * @returns GetMemoryResponse
3223
+ */
3224
+ async getMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest): Promise<$_model.GetMemoryResponse> {
3225
+ let runtime = new $dara.RuntimeOptions({ });
3226
+ let headers : {[key: string ]: string} = { };
3227
+ return await this.getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
3228
+ }
3229
+
3230
+ /**
3231
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3232
+ *
3233
+ * @remarks
3234
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3235
+ *
3236
+ * @param request - GetMemoryStoreRequest
3237
+ * @param headers - map
3238
+ * @param runtime - runtime options for this request RuntimeOptions
3239
+ * @returns GetMemoryStoreResponse
3240
+ */
3241
+ async getMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryStoreResponse> {
3242
+ request.validate();
3243
+ let req = new $OpenApiUtil.OpenApiRequest({
3244
+ headers: headers,
3245
+ });
3246
+ let params = new $OpenApiUtil.Params({
3247
+ action: "GetMemoryStore",
3248
+ version: "2026-08-04",
3249
+ protocol: "HTTPS",
3250
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
3251
+ method: "GET",
3252
+ authType: "AK",
3253
+ style: "ROA",
3254
+ reqBodyType: "json",
3255
+ bodyType: "json",
3256
+ });
3257
+ return $dara.cast<$_model.GetMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
3258
+ }
3259
+
3260
+ /**
3261
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3262
+ *
3263
+ * @remarks
3264
+ * Queries the public information and current status of a MemoryStore in a specified workspace.
3265
+ *
3266
+ * @param request - GetMemoryStoreRequest
3267
+ * @returns GetMemoryStoreResponse
3268
+ */
3269
+ async getMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest): Promise<$_model.GetMemoryStoreResponse> {
3270
+ let runtime = new $dara.RuntimeOptions({ });
3271
+ let headers : {[key: string ]: string} = { };
3272
+ return await this.getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
3273
+ }
3274
+
3275
+ /**
3276
+ * Queries the task ID returned by the asynchronous AddMemories operation.
3277
+ *
3278
+ * @remarks
3279
+ * Queries the task ID returned by the asynchronous AddMemories operation.
3280
+ *
3281
+ * @param request - GetMemoryTaskRequest
3282
+ * @param headers - map
3283
+ * @param runtime - runtime options for this request RuntimeOptions
3284
+ * @returns GetMemoryTaskResponse
3285
+ */
3286
+ async getMemoryTaskWithOptions(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryTaskResponse> {
3287
+ request.validate();
3288
+ let req = new $OpenApiUtil.OpenApiRequest({
3289
+ headers: headers,
3290
+ });
3291
+ let params = new $OpenApiUtil.Params({
3292
+ action: "GetMemoryTask",
3293
+ version: "2026-08-04",
3294
+ protocol: "HTTPS",
3295
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memory-tasks/${$dara.URL.percentEncode(taskId)}`,
3296
+ method: "GET",
3297
+ authType: "AK",
3298
+ style: "ROA",
3299
+ reqBodyType: "json",
3300
+ bodyType: "json",
3301
+ });
3302
+ return $dara.cast<$_model.GetMemoryTaskResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryTaskResponse({}));
3303
+ }
3304
+
3305
+ /**
3306
+ * Queries the task ID returned by the asynchronous AddMemories operation.
3307
+ *
3308
+ * @remarks
3309
+ * Queries the task ID returned by the asynchronous AddMemories operation.
3310
+ *
3311
+ * @param request - GetMemoryTaskRequest
3312
+ * @returns GetMemoryTaskResponse
3313
+ */
3314
+ async getMemoryTask(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest): Promise<$_model.GetMemoryTaskResponse> {
3315
+ let runtime = new $dara.RuntimeOptions({ });
3316
+ let headers : {[key: string ]: string} = { };
3317
+ return await this.getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime);
3318
+ }
3319
+
2794
3320
  /**
2795
3321
  * Queries the detailed configuration and region of a model in a specified workspace.
2796
3322
  *
@@ -2915,10 +3441,10 @@ export default class Client extends OpenApi {
2915
3441
  }
2916
3442
 
2917
3443
  /**
2918
- * Queries the currently active API Key and its invocation method for a specified service endpoint within a workspace.
3444
+ * Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
2919
3445
  *
2920
3446
  * @remarks
2921
- * Queries the currently active API Key for a specified service endpoint. The call succeeds only when the service endpoint has API_KEY authentication enabled and the gateway consumer and credentials are ready. The service reads the API Key from the gateway in real time. AgentCore does not persist the plaintext. Keep the returned API Key secure and avoid logging it or exposing it in public configurations.
3447
+ * Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
2922
3448
  *
2923
3449
  * @param request - GetServiceEndpointApiKeyRequest
2924
3450
  * @param headers - map
@@ -2945,10 +3471,10 @@ export default class Client extends OpenApi {
2945
3471
  }
2946
3472
 
2947
3473
  /**
2948
- * Queries the currently active API Key and its invocation method for a specified service endpoint within a workspace.
3474
+ * Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
2949
3475
  *
2950
3476
  * @remarks
2951
- * Queries the currently active API Key for a specified service endpoint. The call succeeds only when the service endpoint has API_KEY authentication enabled and the gateway consumer and credentials are ready. The service reads the API Key from the gateway in real time. AgentCore does not persist the plaintext. Keep the returned API Key secure and avoid logging it or exposing it in public configurations.
3477
+ * Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
2952
3478
  *
2953
3479
  * @param request - GetServiceEndpointApiKeyRequest
2954
3480
  * @returns GetServiceEndpointApiKeyResponse
@@ -3007,11 +3533,11 @@ export default class Client extends OpenApi {
3007
3533
  }
3008
3534
 
3009
3535
  /**
3010
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3536
+ * Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
3011
3537
  *
3012
3538
  * @remarks
3013
3539
  * ## Request description
3014
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3540
+ * Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
3015
3541
  *
3016
3542
  * @param request - GetSkillImportFileUrlRequest
3017
3543
  * @param headers - map
@@ -3044,11 +3570,11 @@ export default class Client extends OpenApi {
3044
3570
  }
3045
3571
 
3046
3572
  /**
3047
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3573
+ * Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
3048
3574
  *
3049
3575
  * @remarks
3050
3576
  * ## Request description
3051
- * Retrieves the OSS pre-signed upload URL and object name required for importing a Skill ZIP package. After the upload is complete, call the Skill OSS upload operation to complete the import.
3577
+ * Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
3052
3578
  *
3053
3579
  * @param request - GetSkillImportFileUrlRequest
3054
3580
  * @returns GetSkillImportFileUrlResponse
@@ -3146,7 +3672,7 @@ export default class Client extends OpenApi {
3146
3672
  }
3147
3673
 
3148
3674
  /**
3149
- * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
3675
+ * Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
3150
3676
  *
3151
3677
  * @param request - GetUserRequest
3152
3678
  * @param headers - map
@@ -3173,7 +3699,7 @@ export default class Client extends OpenApi {
3173
3699
  }
3174
3700
 
3175
3701
  /**
3176
- * Queries the details of a specified user in a specified workspace. Returns an error if the user does not exist.
3702
+ * Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
3177
3703
  *
3178
3704
  * @param request - GetUserRequest
3179
3705
  * @returns GetUserResponse
@@ -3185,10 +3711,10 @@ export default class Client extends OpenApi {
3185
3711
  }
3186
3712
 
3187
3713
  /**
3188
- * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3714
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
3189
3715
  *
3190
3716
  * @remarks
3191
- * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3717
+ * ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
3192
3718
  *
3193
3719
  * @param request - GetWorkspaceRequest
3194
3720
  * @param headers - map
@@ -3215,10 +3741,10 @@ export default class Client extends OpenApi {
3215
3741
  }
3216
3742
 
3217
3743
  /**
3218
- * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3744
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
3219
3745
  *
3220
3746
  * @remarks
3221
- * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3747
+ * ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
3222
3748
  *
3223
3749
  * @param request - GetWorkspaceRequest
3224
3750
  * @returns GetWorkspaceResponse
@@ -3230,10 +3756,10 @@ export default class Client extends OpenApi {
3230
3756
  }
3231
3757
 
3232
3758
  /**
3233
- * Queries the ACR RAM authorization URL for a workspace.
3759
+ * Queries the ACR RAM authorization URL of a workspace.
3234
3760
  *
3235
3761
  * @remarks
3236
- * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3762
+ * ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
3237
3763
  *
3238
3764
  * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3239
3765
  * @param headers - map
@@ -3274,10 +3800,10 @@ export default class Client extends OpenApi {
3274
3800
  }
3275
3801
 
3276
3802
  /**
3277
- * Queries the ACR RAM authorization URL for a workspace.
3803
+ * Queries the ACR RAM authorization URL of a workspace.
3278
3804
  *
3279
3805
  * @remarks
3280
- * ACR and user OSS mounts share the same workspace role. If no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. If a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. The response contains the backend-resolved role and the authorization URL for the target repository. This operation does not create ACR or Agent execution versions or deliver runtime configurations. After authorization is complete, you can call Verify, and then create or update an Agent without calling a separate Ensure operation.
3806
+ * ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
3281
3807
  *
3282
3808
  * @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
3283
3809
  * @returns GetWorkspaceAcrRamAuthorizeUrlResponse
@@ -3292,7 +3818,7 @@ export default class Client extends OpenApi {
3292
3818
  * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
3293
3819
  *
3294
3820
  * @remarks
3295
- * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
3821
+ * Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
3296
3822
  *
3297
3823
  * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
3298
3824
  * @param headers - map
@@ -3336,7 +3862,7 @@ export default class Client extends OpenApi {
3336
3862
  * Queries the RAM authorization URL for mounting AgenticFS in a workspace.
3337
3863
  *
3338
3864
  * @remarks
3339
- * The workspace determines the account, region, and shared role. The resource ARN is constructed based on the specified fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check resource status. The response contains only the authorization URL for the target NAS policy. After completing RAM authorization, call the verification operation.
3865
+ * Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
3340
3866
  *
3341
3867
  * @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
3342
3868
  * @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
@@ -3460,10 +3986,10 @@ export default class Client extends OpenApi {
3460
3986
  }
3461
3987
 
3462
3988
  /**
3463
- * Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
3989
+ * Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
3464
3990
  *
3465
3991
  * @remarks
3466
- * ## Operation description\\nInstalls a plugin for a specified AgentCore workspace. Currently supports the `collaboration` plugin. Plugin configuration is passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify VPC and public network access policies. The installation process is executed asynchronously. When you repeatedly call this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status with idempotent semantics if the configuration is the same. If the configuration is different, the operation returns an operation conflict error.\\n.
3992
+ * ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
3467
3993
  *
3468
3994
  * @param tmpReq - InstallWorkspacePluginRequest
3469
3995
  * @param headers - map
@@ -3508,10 +4034,10 @@ export default class Client extends OpenApi {
3508
4034
  }
3509
4035
 
3510
4036
  /**
3511
- * Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
4037
+ * Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
3512
4038
  *
3513
4039
  * @remarks
3514
- * ## Operation description\\nInstalls a plugin for a specified AgentCore workspace. Currently supports the `collaboration` plugin. Plugin configuration is passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify VPC and public network access policies. The installation process is executed asynchronously. When you repeatedly call this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status with idempotent semantics if the configuration is the same. If the configuration is different, the operation returns an operation conflict error.\\n.
4040
+ * ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
3515
4041
  *
3516
4042
  * @param request - InstallWorkspacePluginRequest
3517
4043
  * @returns InstallWorkspacePluginResponse
@@ -3671,7 +4197,7 @@ export default class Client extends OpenApi {
3671
4197
  }
3672
4198
 
3673
4199
  /**
3674
- * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
4200
+ * Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
3675
4201
  *
3676
4202
  * @param tmpReq - ListAgentTeamsRequest
3677
4203
  * @param headers - map
@@ -3710,7 +4236,7 @@ export default class Client extends OpenApi {
3710
4236
  }
3711
4237
 
3712
4238
  /**
3713
- * Queries the list of teams to which specified agents belong. Specify the agent IDs by using agentIds. The response includes the membership information between each agent and its teams, such as the team ID, team name, and the role that the agent assumes in the team.
4239
+ * Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
3714
4240
  *
3715
4241
  * @param request - ListAgentTeamsRequest
3716
4242
  * @returns ListAgentTeamsResponse
@@ -3836,10 +4362,10 @@ export default class Client extends OpenApi {
3836
4362
  }
3837
4363
 
3838
4364
  /**
3839
- * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
4365
+ * Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3840
4366
  *
3841
4367
  * @remarks
3842
- * Queries credentials in a workspace with paging. Supports filtering by type and name.
4368
+ * Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
3843
4369
  *
3844
4370
  * @param request - ListCredentialsRequest
3845
4371
  * @param headers - map
@@ -3888,10 +4414,10 @@ export default class Client extends OpenApi {
3888
4414
  }
3889
4415
 
3890
4416
  /**
3891
- * Queries credentials in a specified workspace with paging. Use credentialType to filter by type, nameLike to perform a fuzzy match on credential names, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
4417
+ * Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3892
4418
  *
3893
4419
  * @remarks
3894
- * Queries credentials in a workspace with paging. Supports filtering by type and name.
4420
+ * Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
3895
4421
  *
3896
4422
  * @param request - ListCredentialsRequest
3897
4423
  * @returns ListCredentialsResponse
@@ -3903,11 +4429,11 @@ export default class Client extends OpenApi {
3903
4429
  }
3904
4430
 
3905
4431
  /**
3906
- * Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
4432
+ * Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
3907
4433
  *
3908
4434
  * @remarks
3909
4435
  * The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
3910
- * Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it yourself. An empty token in the response indicates that there are no more pages.
4436
+ * Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
3911
4437
  * This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
3912
4438
  *
3913
4439
  * @param request - ListCustomAgentsRequest
@@ -3945,11 +4471,11 @@ export default class Client extends OpenApi {
3945
4471
  }
3946
4472
 
3947
4473
  /**
3948
- * Performs a paged query to retrieve the summary of custom agents in a specified workspace. For paging, the complete configuration, and the execute results of the latest version, call GetCustomAgent.
4474
+ * Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
3949
4475
  *
3950
4476
  * @remarks
3951
4477
  * The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
3952
- * Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it yourself. An empty token in the response indicates that there are no more pages.
4478
+ * Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
3953
4479
  * This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
3954
4480
  *
3955
4481
  * @param request - ListCustomAgentsRequest
@@ -4017,7 +4543,7 @@ export default class Client extends OpenApi {
4017
4543
  }
4018
4544
 
4019
4545
  /**
4020
- * Queries the external identity provider bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
4546
+ * Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
4021
4547
  *
4022
4548
  * @param request - ListIdentityProvidersRequest
4023
4549
  * @param headers - map
@@ -4054,7 +4580,7 @@ export default class Client extends OpenApi {
4054
4580
  }
4055
4581
 
4056
4582
  /**
4057
- * Queries the external identity provider bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
4583
+ * Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
4058
4584
  *
4059
4585
  * @param request - ListIdentityProvidersRequest
4060
4586
  * @returns ListIdentityProvidersResponse
@@ -4066,31 +4592,126 @@ export default class Client extends OpenApi {
4066
4592
  }
4067
4593
 
4068
4594
  /**
4069
- * Queries the list of managed agents in a specified workspace.
4595
+ * Queries image caches.
4070
4596
  *
4071
4597
  * @remarks
4072
- * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
4598
+ * Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
4073
4599
  *
4074
- * @param request - ListManagedAgentsRequest
4600
+ * @param request - ListImageCachesRequest
4075
4601
  * @param headers - map
4076
4602
  * @param runtime - runtime options for this request RuntimeOptions
4077
- * @returns ListManagedAgentsResponse
4603
+ * @returns ListImageCachesResponse
4078
4604
  */
4079
- async listManagedAgentsWithOptions(workspaceId: string, request: $_model.ListManagedAgentsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListManagedAgentsResponse> {
4605
+ async listImageCachesWithOptions(request: $_model.ListImageCachesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListImageCachesResponse> {
4080
4606
  request.validate();
4081
4607
  let query : {[key: string ]: any} = { };
4608
+ if (!$dara.isNull(request.acrInstanceId)) {
4609
+ query["acrInstanceId"] = request.acrInstanceId;
4610
+ }
4611
+
4612
+ if (!$dara.isNull(request.digest)) {
4613
+ query["digest"] = request.digest;
4614
+ }
4615
+
4616
+ if (!$dara.isNull(request.imageRefContains)) {
4617
+ query["imageRefContains"] = request.imageRefContains;
4618
+ }
4619
+
4082
4620
  if (!$dara.isNull(request.maxResults)) {
4083
4621
  query["maxResults"] = request.maxResults;
4084
4622
  }
4085
4623
 
4624
+ if (!$dara.isNull(request.namespace)) {
4625
+ query["namespace"] = request.namespace;
4626
+ }
4627
+
4086
4628
  if (!$dara.isNull(request.nextToken)) {
4087
4629
  query["nextToken"] = request.nextToken;
4088
4630
  }
4089
4631
 
4090
- let req = new $OpenApiUtil.OpenApiRequest({
4091
- headers: headers,
4092
- query: OpenApiUtil.query(query),
4093
- });
4632
+ if (!$dara.isNull(request.regionId)) {
4633
+ query["regionId"] = request.regionId;
4634
+ }
4635
+
4636
+ if (!$dara.isNull(request.registry)) {
4637
+ query["registry"] = request.registry;
4638
+ }
4639
+
4640
+ if (!$dara.isNull(request.repository)) {
4641
+ query["repository"] = request.repository;
4642
+ }
4643
+
4644
+ if (!$dara.isNull(request.status)) {
4645
+ query["status"] = request.status;
4646
+ }
4647
+
4648
+ if (!$dara.isNull(request.tag)) {
4649
+ query["tag"] = request.tag;
4650
+ }
4651
+
4652
+ if (!$dara.isNull(request.workspaceId)) {
4653
+ query["workspaceId"] = request.workspaceId;
4654
+ }
4655
+
4656
+ let req = new $OpenApiUtil.OpenApiRequest({
4657
+ headers: headers,
4658
+ query: OpenApiUtil.query(query),
4659
+ });
4660
+ let params = new $OpenApiUtil.Params({
4661
+ action: "ListImageCaches",
4662
+ version: "2026-08-04",
4663
+ protocol: "HTTPS",
4664
+ pathname: `/image-caches`,
4665
+ method: "GET",
4666
+ authType: "AK",
4667
+ style: "ROA",
4668
+ reqBodyType: "json",
4669
+ bodyType: "json",
4670
+ });
4671
+ return $dara.cast<$_model.ListImageCachesResponse>(await this.callApi(params, req, runtime), new $_model.ListImageCachesResponse({}));
4672
+ }
4673
+
4674
+ /**
4675
+ * Queries image caches.
4676
+ *
4677
+ * @remarks
4678
+ * Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
4679
+ *
4680
+ * @param request - ListImageCachesRequest
4681
+ * @returns ListImageCachesResponse
4682
+ */
4683
+ async listImageCaches(request: $_model.ListImageCachesRequest): Promise<$_model.ListImageCachesResponse> {
4684
+ let runtime = new $dara.RuntimeOptions({ });
4685
+ let headers : {[key: string ]: string} = { };
4686
+ return await this.listImageCachesWithOptions(request, headers, runtime);
4687
+ }
4688
+
4689
+ /**
4690
+ * Queries the list of managed agents in a specified workspace.
4691
+ *
4692
+ * @remarks
4693
+ * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
4694
+ *
4695
+ * @param request - ListManagedAgentsRequest
4696
+ * @param headers - map
4697
+ * @param runtime - runtime options for this request RuntimeOptions
4698
+ * @returns ListManagedAgentsResponse
4699
+ */
4700
+ async listManagedAgentsWithOptions(workspaceId: string, request: $_model.ListManagedAgentsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListManagedAgentsResponse> {
4701
+ request.validate();
4702
+ let query : {[key: string ]: any} = { };
4703
+ if (!$dara.isNull(request.maxResults)) {
4704
+ query["maxResults"] = request.maxResults;
4705
+ }
4706
+
4707
+ if (!$dara.isNull(request.nextToken)) {
4708
+ query["nextToken"] = request.nextToken;
4709
+ }
4710
+
4711
+ let req = new $OpenApiUtil.OpenApiRequest({
4712
+ headers: headers,
4713
+ query: OpenApiUtil.query(query),
4714
+ });
4094
4715
  let params = new $OpenApiUtil.Params({
4095
4716
  action: "ListManagedAgents",
4096
4717
  version: "2026-08-04",
@@ -4181,27 +4802,298 @@ export default class Client extends OpenApi {
4181
4802
  * @param request - ListMcpMarketItemsRequest
4182
4803
  * @returns ListMcpMarketItemsResponse
4183
4804
  */
4184
- async listMcpMarketItems(workspaceId: string, request: $_model.ListMcpMarketItemsRequest): Promise<$_model.ListMcpMarketItemsResponse> {
4805
+ async listMcpMarketItems(workspaceId: string, request: $_model.ListMcpMarketItemsRequest): Promise<$_model.ListMcpMarketItemsResponse> {
4806
+ let runtime = new $dara.RuntimeOptions({ });
4807
+ let headers : {[key: string ]: string} = { };
4808
+ return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
4809
+ }
4810
+
4811
+ /**
4812
+ * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
4813
+ *
4814
+ * @remarks
4815
+ * ## Operation description
4816
+ * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
4817
+ *
4818
+ * @param request - ListMcpToolsRequest
4819
+ * @param headers - map
4820
+ * @param runtime - runtime options for this request RuntimeOptions
4821
+ * @returns ListMcpToolsResponse
4822
+ */
4823
+ async listMcpToolsWithOptions(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpToolsResponse> {
4824
+ request.validate();
4825
+ let query : {[key: string ]: any} = { };
4826
+ if (!$dara.isNull(request.maxResults)) {
4827
+ query["maxResults"] = request.maxResults;
4828
+ }
4829
+
4830
+ if (!$dara.isNull(request.nextToken)) {
4831
+ query["nextToken"] = request.nextToken;
4832
+ }
4833
+
4834
+ let req = new $OpenApiUtil.OpenApiRequest({
4835
+ headers: headers,
4836
+ query: OpenApiUtil.query(query),
4837
+ });
4838
+ let params = new $OpenApiUtil.Params({
4839
+ action: "ListMcpTools",
4840
+ version: "2026-08-04",
4841
+ protocol: "HTTPS",
4842
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/tools`,
4843
+ method: "GET",
4844
+ authType: "AK",
4845
+ style: "ROA",
4846
+ reqBodyType: "json",
4847
+ bodyType: "json",
4848
+ });
4849
+ return $dara.cast<$_model.ListMcpToolsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpToolsResponse({}));
4850
+ }
4851
+
4852
+ /**
4853
+ * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
4854
+ *
4855
+ * @remarks
4856
+ * ## Operation description
4857
+ * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
4858
+ *
4859
+ * @param request - ListMcpToolsRequest
4860
+ * @returns ListMcpToolsResponse
4861
+ */
4862
+ async listMcpTools(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest): Promise<$_model.ListMcpToolsResponse> {
4863
+ let runtime = new $dara.RuntimeOptions({ });
4864
+ let headers : {[key: string ]: string} = { };
4865
+ return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
4866
+ }
4867
+
4868
+ /**
4869
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
4870
+ *
4871
+ * @remarks
4872
+ * ## Operation description
4873
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
4874
+ *
4875
+ * @param request - ListMcpsRequest
4876
+ * @param headers - map
4877
+ * @param runtime - runtime options for this request RuntimeOptions
4878
+ * @returns ListMcpsResponse
4879
+ */
4880
+ async listMcpsWithOptions(workspaceId: string, request: $_model.ListMcpsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpsResponse> {
4881
+ request.validate();
4882
+ let query : {[key: string ]: any} = { };
4883
+ if (!$dara.isNull(request.customTag)) {
4884
+ query["customTag"] = request.customTag;
4885
+ }
4886
+
4887
+ if (!$dara.isNull(request.maxResults)) {
4888
+ query["maxResults"] = request.maxResults;
4889
+ }
4890
+
4891
+ if (!$dara.isNull(request.name)) {
4892
+ query["name"] = request.name;
4893
+ }
4894
+
4895
+ if (!$dara.isNull(request.nextToken)) {
4896
+ query["nextToken"] = request.nextToken;
4897
+ }
4898
+
4899
+ if (!$dara.isNull(request.officialTag)) {
4900
+ query["officialTag"] = request.officialTag;
4901
+ }
4902
+
4903
+ if (!$dara.isNull(request.searchType)) {
4904
+ query["searchType"] = request.searchType;
4905
+ }
4906
+
4907
+ if (!$dara.isNull(request.usageActive)) {
4908
+ query["usageActive"] = request.usageActive;
4909
+ }
4910
+
4911
+ let req = new $OpenApiUtil.OpenApiRequest({
4912
+ headers: headers,
4913
+ query: OpenApiUtil.query(query),
4914
+ });
4915
+ let params = new $OpenApiUtil.Params({
4916
+ action: "ListMcps",
4917
+ version: "2026-08-04",
4918
+ protocol: "HTTPS",
4919
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers`,
4920
+ method: "GET",
4921
+ authType: "AK",
4922
+ style: "ROA",
4923
+ reqBodyType: "json",
4924
+ bodyType: "json",
4925
+ });
4926
+ return $dara.cast<$_model.ListMcpsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
4927
+ }
4928
+
4929
+ /**
4930
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
4931
+ *
4932
+ * @remarks
4933
+ * ## Operation description
4934
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
4935
+ *
4936
+ * @param request - ListMcpsRequest
4937
+ * @returns ListMcpsResponse
4938
+ */
4939
+ async listMcps(workspaceId: string, request: $_model.ListMcpsRequest): Promise<$_model.ListMcpsResponse> {
4940
+ let runtime = new $dara.RuntimeOptions({ });
4941
+ let headers : {[key: string ]: string} = { };
4942
+ return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
4943
+ }
4944
+
4945
+ /**
4946
+ * Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
4947
+ *
4948
+ * @remarks
4949
+ * Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
4950
+ *
4951
+ * @param request - ListMemoriesRequest
4952
+ * @param headers - map
4953
+ * @param runtime - runtime options for this request RuntimeOptions
4954
+ * @returns ListMemoriesResponse
4955
+ */
4956
+ async listMemoriesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoriesResponse> {
4957
+ request.validate();
4958
+ let query : {[key: string ]: any} = { };
4959
+ if (!$dara.isNull(request.agentId)) {
4960
+ query["agentId"] = request.agentId;
4961
+ }
4962
+
4963
+ if (!$dara.isNull(request.maxResults)) {
4964
+ query["maxResults"] = request.maxResults;
4965
+ }
4966
+
4967
+ if (!$dara.isNull(request.nextToken)) {
4968
+ query["nextToken"] = request.nextToken;
4969
+ }
4970
+
4971
+ if (!$dara.isNull(request.sessionId)) {
4972
+ query["sessionId"] = request.sessionId;
4973
+ }
4974
+
4975
+ if (!$dara.isNull(request.userId)) {
4976
+ query["userId"] = request.userId;
4977
+ }
4978
+
4979
+ let req = new $OpenApiUtil.OpenApiRequest({
4980
+ headers: headers,
4981
+ query: OpenApiUtil.query(query),
4982
+ });
4983
+ let params = new $OpenApiUtil.Params({
4984
+ action: "ListMemories",
4985
+ version: "2026-08-04",
4986
+ protocol: "HTTPS",
4987
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
4988
+ method: "GET",
4989
+ authType: "AK",
4990
+ style: "ROA",
4991
+ reqBodyType: "json",
4992
+ bodyType: "json",
4993
+ });
4994
+ return $dara.cast<$_model.ListMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoriesResponse({}));
4995
+ }
4996
+
4997
+ /**
4998
+ * Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
4999
+ *
5000
+ * @remarks
5001
+ * Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
5002
+ *
5003
+ * @param request - ListMemoriesRequest
5004
+ * @returns ListMemoriesResponse
5005
+ */
5006
+ async listMemories(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest): Promise<$_model.ListMemoriesResponse> {
5007
+ let runtime = new $dara.RuntimeOptions({ });
5008
+ let headers : {[key: string ]: string} = { };
5009
+ return await this.listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
5010
+ }
5011
+
5012
+ /**
5013
+ * Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
5014
+ *
5015
+ * @remarks
5016
+ * Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
5017
+ *
5018
+ * @param request - ListMemorySessionMessagesRequest
5019
+ * @param headers - map
5020
+ * @param runtime - runtime options for this request RuntimeOptions
5021
+ * @returns ListMemorySessionMessagesResponse
5022
+ */
5023
+ async listMemorySessionMessagesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionMessagesResponse> {
5024
+ request.validate();
5025
+ let query : {[key: string ]: any} = { };
5026
+ if (!$dara.isNull(request.agentId)) {
5027
+ query["agentId"] = request.agentId;
5028
+ }
5029
+
5030
+ if (!$dara.isNull(request.maxResults)) {
5031
+ query["maxResults"] = request.maxResults;
5032
+ }
5033
+
5034
+ if (!$dara.isNull(request.nextToken)) {
5035
+ query["nextToken"] = request.nextToken;
5036
+ }
5037
+
5038
+ if (!$dara.isNull(request.sessionId)) {
5039
+ query["sessionId"] = request.sessionId;
5040
+ }
5041
+
5042
+ if (!$dara.isNull(request.userId)) {
5043
+ query["userId"] = request.userId;
5044
+ }
5045
+
5046
+ let req = new $OpenApiUtil.OpenApiRequest({
5047
+ headers: headers,
5048
+ query: OpenApiUtil.query(query),
5049
+ });
5050
+ let params = new $OpenApiUtil.Params({
5051
+ action: "ListMemorySessionMessages",
5052
+ version: "2026-08-04",
5053
+ protocol: "HTTPS",
5054
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/messages`,
5055
+ method: "GET",
5056
+ authType: "AK",
5057
+ style: "ROA",
5058
+ reqBodyType: "json",
5059
+ bodyType: "json",
5060
+ });
5061
+ return $dara.cast<$_model.ListMemorySessionMessagesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionMessagesResponse({}));
5062
+ }
5063
+
5064
+ /**
5065
+ * Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
5066
+ *
5067
+ * @remarks
5068
+ * Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
5069
+ *
5070
+ * @param request - ListMemorySessionMessagesRequest
5071
+ * @returns ListMemorySessionMessagesResponse
5072
+ */
5073
+ async listMemorySessionMessages(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest): Promise<$_model.ListMemorySessionMessagesResponse> {
4185
5074
  let runtime = new $dara.RuntimeOptions({ });
4186
5075
  let headers : {[key: string ]: string} = { };
4187
- return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
5076
+ return await this.listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
4188
5077
  }
4189
5078
 
4190
5079
  /**
4191
- * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
5080
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4192
5081
  *
4193
5082
  * @remarks
4194
- * ## Operation description
4195
- * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
5083
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4196
5084
  *
4197
- * @param request - ListMcpToolsRequest
5085
+ * @param request - ListMemorySessionsRequest
4198
5086
  * @param headers - map
4199
5087
  * @param runtime - runtime options for this request RuntimeOptions
4200
- * @returns ListMcpToolsResponse
5088
+ * @returns ListMemorySessionsResponse
4201
5089
  */
4202
- async listMcpToolsWithOptions(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpToolsResponse> {
5090
+ async listMemorySessionsWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionsResponse> {
4203
5091
  request.validate();
4204
5092
  let query : {[key: string ]: any} = { };
5093
+ if (!$dara.isNull(request.agentId)) {
5094
+ query["agentId"] = request.agentId;
5095
+ }
5096
+
4205
5097
  if (!$dara.isNull(request.maxResults)) {
4206
5098
  query["maxResults"] = request.maxResults;
4207
5099
  }
@@ -4210,115 +5102,96 @@ export default class Client extends OpenApi {
4210
5102
  query["nextToken"] = request.nextToken;
4211
5103
  }
4212
5104
 
5105
+ if (!$dara.isNull(request.userId)) {
5106
+ query["userId"] = request.userId;
5107
+ }
5108
+
4213
5109
  let req = new $OpenApiUtil.OpenApiRequest({
4214
5110
  headers: headers,
4215
5111
  query: OpenApiUtil.query(query),
4216
5112
  });
4217
5113
  let params = new $OpenApiUtil.Params({
4218
- action: "ListMcpTools",
5114
+ action: "ListMemorySessions",
4219
5115
  version: "2026-08-04",
4220
5116
  protocol: "HTTPS",
4221
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/tools`,
5117
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/sessions`,
4222
5118
  method: "GET",
4223
5119
  authType: "AK",
4224
5120
  style: "ROA",
4225
5121
  reqBodyType: "json",
4226
5122
  bodyType: "json",
4227
5123
  });
4228
- return $dara.cast<$_model.ListMcpToolsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpToolsResponse({}));
5124
+ return $dara.cast<$_model.ListMemorySessionsResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionsResponse({}));
4229
5125
  }
4230
5126
 
4231
5127
  /**
4232
- * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
5128
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4233
5129
  *
4234
5130
  * @remarks
4235
- * ## Operation description
4236
- * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
5131
+ * Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
4237
5132
  *
4238
- * @param request - ListMcpToolsRequest
4239
- * @returns ListMcpToolsResponse
5133
+ * @param request - ListMemorySessionsRequest
5134
+ * @returns ListMemorySessionsResponse
4240
5135
  */
4241
- async listMcpTools(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest): Promise<$_model.ListMcpToolsResponse> {
5136
+ async listMemorySessions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest): Promise<$_model.ListMemorySessionsResponse> {
4242
5137
  let runtime = new $dara.RuntimeOptions({ });
4243
5138
  let headers : {[key: string ]: string} = { };
4244
- return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
5139
+ return await this.listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
4245
5140
  }
4246
5141
 
4247
5142
  /**
4248
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
5143
+ * Queries MemoryStores in a specified workspace by using paging.
4249
5144
  *
4250
5145
  * @remarks
4251
- * ## Operation description
4252
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
5146
+ * Queries MemoryStores in a specified workspace by using paging.
4253
5147
  *
4254
- * @param request - ListMcpsRequest
5148
+ * @param request - ListMemoryStoresRequest
4255
5149
  * @param headers - map
4256
5150
  * @param runtime - runtime options for this request RuntimeOptions
4257
- * @returns ListMcpsResponse
5151
+ * @returns ListMemoryStoresResponse
4258
5152
  */
4259
- async listMcpsWithOptions(workspaceId: string, request: $_model.ListMcpsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpsResponse> {
5153
+ async listMemoryStoresWithOptions(workspaceId: string, request: $_model.ListMemoryStoresRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoryStoresResponse> {
4260
5154
  request.validate();
4261
5155
  let query : {[key: string ]: any} = { };
4262
- if (!$dara.isNull(request.customTag)) {
4263
- query["customTag"] = request.customTag;
4264
- }
4265
-
4266
5156
  if (!$dara.isNull(request.maxResults)) {
4267
5157
  query["maxResults"] = request.maxResults;
4268
5158
  }
4269
5159
 
4270
- if (!$dara.isNull(request.name)) {
4271
- query["name"] = request.name;
4272
- }
4273
-
4274
5160
  if (!$dara.isNull(request.nextToken)) {
4275
5161
  query["nextToken"] = request.nextToken;
4276
5162
  }
4277
5163
 
4278
- if (!$dara.isNull(request.officialTag)) {
4279
- query["officialTag"] = request.officialTag;
4280
- }
4281
-
4282
- if (!$dara.isNull(request.searchType)) {
4283
- query["searchType"] = request.searchType;
4284
- }
4285
-
4286
- if (!$dara.isNull(request.usageActive)) {
4287
- query["usageActive"] = request.usageActive;
4288
- }
4289
-
4290
5164
  let req = new $OpenApiUtil.OpenApiRequest({
4291
5165
  headers: headers,
4292
5166
  query: OpenApiUtil.query(query),
4293
5167
  });
4294
5168
  let params = new $OpenApiUtil.Params({
4295
- action: "ListMcps",
5169
+ action: "ListMemoryStores",
4296
5170
  version: "2026-08-04",
4297
5171
  protocol: "HTTPS",
4298
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers`,
5172
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
4299
5173
  method: "GET",
4300
5174
  authType: "AK",
4301
5175
  style: "ROA",
4302
5176
  reqBodyType: "json",
4303
5177
  bodyType: "json",
4304
5178
  });
4305
- return $dara.cast<$_model.ListMcpsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
5179
+ return $dara.cast<$_model.ListMemoryStoresResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoryStoresResponse({}));
4306
5180
  }
4307
5181
 
4308
5182
  /**
4309
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
5183
+ * Queries MemoryStores in a specified workspace by using paging.
4310
5184
  *
4311
5185
  * @remarks
4312
- * ## Operation description
4313
- * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
5186
+ * Queries MemoryStores in a specified workspace by using paging.
4314
5187
  *
4315
- * @param request - ListMcpsRequest
4316
- * @returns ListMcpsResponse
5188
+ * @param request - ListMemoryStoresRequest
5189
+ * @returns ListMemoryStoresResponse
4317
5190
  */
4318
- async listMcps(workspaceId: string, request: $_model.ListMcpsRequest): Promise<$_model.ListMcpsResponse> {
5191
+ async listMemoryStores(workspaceId: string, request: $_model.ListMemoryStoresRequest): Promise<$_model.ListMemoryStoresResponse> {
4319
5192
  let runtime = new $dara.RuntimeOptions({ });
4320
5193
  let headers : {[key: string ]: string} = { };
4321
- return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
5194
+ return await this.listMemoryStoresWithOptions(workspaceId, request, headers, runtime);
4322
5195
  }
4323
5196
 
4324
5197
  /**
@@ -4454,7 +5327,7 @@ export default class Client extends OpenApi {
4454
5327
  }
4455
5328
 
4456
5329
  /**
4457
- * 查询预定义模型供应商目录
5330
+ * Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
4458
5331
  *
4459
5332
  * @param request - ListPredefinedModelProvidersRequest
4460
5333
  * @param headers - map
@@ -4481,7 +5354,7 @@ export default class Client extends OpenApi {
4481
5354
  }
4482
5355
 
4483
5356
  /**
4484
- * 查询预定义模型供应商目录
5357
+ * Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
4485
5358
  *
4486
5359
  * @param request - ListPredefinedModelProvidersRequest
4487
5360
  * @returns ListPredefinedModelProvidersResponse
@@ -4493,7 +5366,7 @@ export default class Client extends OpenApi {
4493
5366
  }
4494
5367
 
4495
5368
  /**
4496
- * Queries the models and their capability information for a specified provider in the AgentCore built-in model catalog.
5369
+ * Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
4497
5370
  *
4498
5371
  * @param request - ListPredefinedModelsRequest
4499
5372
  * @param headers - map
@@ -4520,7 +5393,7 @@ export default class Client extends OpenApi {
4520
5393
  }
4521
5394
 
4522
5395
  /**
4523
- * Queries the models and their capability information for a specified provider in the AgentCore built-in model catalog.
5396
+ * Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
4524
5397
  *
4525
5398
  * @param request - ListPredefinedModelsRequest
4526
5399
  * @returns ListPredefinedModelsResponse
@@ -4650,10 +5523,10 @@ export default class Client extends OpenApi {
4650
5523
  }
4651
5524
 
4652
5525
  /**
4653
- * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
5526
+ * Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
4654
5527
  *
4655
5528
  * @remarks
4656
- * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page and nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
5529
+ * ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4657
5530
  *
4658
5531
  * @param request - ListServiceEndpointsRequest
4659
5532
  * @param headers - map
@@ -4714,10 +5587,10 @@ export default class Client extends OpenApi {
4714
5587
  }
4715
5588
 
4716
5589
  /**
4717
- * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
5590
+ * Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
4718
5591
  *
4719
5592
  * @remarks
4720
- * ## Operation description\\nQueries service endpoints in a specified workspace by using paging. Filter results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page and nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
5593
+ * ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
4721
5594
  *
4722
5595
  * @param request - ListServiceEndpointsRequest
4723
5596
  * @returns ListServiceEndpointsResponse
@@ -4729,7 +5602,7 @@ export default class Client extends OpenApi {
4729
5602
  }
4730
5603
 
4731
5604
  /**
4732
- * Queries the reference relationships of a skill.
5605
+ * Queries skill reference relationships.
4733
5606
  *
4734
5607
  * @param request - ListSkillReferencesRequest
4735
5608
  * @param headers - map
@@ -4774,7 +5647,7 @@ export default class Client extends OpenApi {
4774
5647
  }
4775
5648
 
4776
5649
  /**
4777
- * Queries the reference relationships of a skill.
5650
+ * Queries skill reference relationships.
4778
5651
  *
4779
5652
  * @param request - ListSkillReferencesRequest
4780
5653
  * @returns ListSkillReferencesResponse
@@ -4871,7 +5744,7 @@ export default class Client extends OpenApi {
4871
5744
  }
4872
5745
 
4873
5746
  /**
4874
- * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
5747
+ * Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
4875
5748
  *
4876
5749
  * @param request - ListTeamsRequest
4877
5750
  * @param headers - map
@@ -4912,7 +5785,7 @@ export default class Client extends OpenApi {
4912
5785
  }
4913
5786
 
4914
5787
  /**
4915
- * Performs a paged query of teams in a specified workspace. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
5788
+ * Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. The member information in the list includes only the member identifier, name, and team role.
4916
5789
  *
4917
5790
  * @param request - ListTeamsRequest
4918
5791
  * @returns ListTeamsResponse
@@ -4985,10 +5858,10 @@ export default class Client extends OpenApi {
4985
5858
  }
4986
5859
 
4987
5860
  /**
4988
- * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
5861
+ * Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
4989
5862
  *
4990
5863
  * @remarks
4991
- * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
5864
+ * ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
4992
5865
  *
4993
5866
  * @param request - ListWorkspacesRequest
4994
5867
  * @param headers - map
@@ -5029,10 +5902,10 @@ export default class Client extends OpenApi {
5029
5902
  }
5030
5903
 
5031
5904
  /**
5032
- * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
5905
+ * Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
5033
5906
  *
5034
5907
  * @remarks
5035
- * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
5908
+ * ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
5036
5909
  *
5037
5910
  * @param request - ListWorkspacesRequest
5038
5911
  * @returns ListWorkspacesResponse
@@ -5339,7 +6212,7 @@ export default class Client extends OpenApi {
5339
6212
  }
5340
6213
 
5341
6214
  /**
5342
- * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
6215
+ * Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
5343
6216
  *
5344
6217
  * @param tmpReq - ResetUserPasswordRequest
5345
6218
  * @param headers - map
@@ -5378,7 +6251,7 @@ export default class Client extends OpenApi {
5378
6251
  }
5379
6252
 
5380
6253
  /**
5381
- * Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
6254
+ * Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
5382
6255
  *
5383
6256
  * @param request - ResetUserPasswordRequest
5384
6257
  * @returns ResetUserPasswordResponse
@@ -5390,11 +6263,139 @@ export default class Client extends OpenApi {
5390
6263
  }
5391
6264
 
5392
6265
  /**
5393
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6266
+ * Retries the image cache.
5394
6267
  *
5395
6268
  * @remarks
5396
- * ## Operation description
5397
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6269
+ * Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
6270
+ *
6271
+ * @param tmpReq - RetryImageCacheRequest
6272
+ * @param headers - map
6273
+ * @param runtime - runtime options for this request RuntimeOptions
6274
+ * @returns RetryImageCacheResponse
6275
+ */
6276
+ async retryImageCacheWithOptions(imageId: string, tmpReq: $_model.RetryImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.RetryImageCacheResponse> {
6277
+ tmpReq.validate();
6278
+ let request = new $_model.RetryImageCacheShrinkRequest({ });
6279
+ OpenApiUtil.convert(tmpReq, request);
6280
+ if (!$dara.isNull(tmpReq.body)) {
6281
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6282
+ }
6283
+
6284
+ let query : {[key: string ]: any} = { };
6285
+ if (!$dara.isNull(request.clientToken)) {
6286
+ query["clientToken"] = request.clientToken;
6287
+ }
6288
+
6289
+ if (!$dara.isNull(request.regionId)) {
6290
+ query["regionId"] = request.regionId;
6291
+ }
6292
+
6293
+ if (!$dara.isNull(request.workspaceId)) {
6294
+ query["workspaceId"] = request.workspaceId;
6295
+ }
6296
+
6297
+ let body : {[key: string ]: any} = { };
6298
+ if (!$dara.isNull(request.bodyShrink)) {
6299
+ body["body"] = request.bodyShrink;
6300
+ }
6301
+
6302
+ let req = new $OpenApiUtil.OpenApiRequest({
6303
+ headers: headers,
6304
+ query: OpenApiUtil.query(query),
6305
+ body: OpenApiUtil.parseToMap(body),
6306
+ });
6307
+ let params = new $OpenApiUtil.Params({
6308
+ action: "RetryImageCache",
6309
+ version: "2026-08-04",
6310
+ protocol: "HTTPS",
6311
+ pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}/retry`,
6312
+ method: "POST",
6313
+ authType: "AK",
6314
+ style: "ROA",
6315
+ reqBodyType: "formData",
6316
+ bodyType: "json",
6317
+ });
6318
+ return $dara.cast<$_model.RetryImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.RetryImageCacheResponse({}));
6319
+ }
6320
+
6321
+ /**
6322
+ * Retries the image cache.
6323
+ *
6324
+ * @remarks
6325
+ * Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
6326
+ *
6327
+ * @param request - RetryImageCacheRequest
6328
+ * @returns RetryImageCacheResponse
6329
+ */
6330
+ async retryImageCache(imageId: string, request: $_model.RetryImageCacheRequest): Promise<$_model.RetryImageCacheResponse> {
6331
+ let runtime = new $dara.RuntimeOptions({ });
6332
+ let headers : {[key: string ]: string} = { };
6333
+ return await this.retryImageCacheWithOptions(imageId, request, headers, runtime);
6334
+ }
6335
+
6336
+ /**
6337
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6338
+ *
6339
+ * @remarks
6340
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6341
+ *
6342
+ * @param tmpReq - SearchMemoriesRequest
6343
+ * @param headers - map
6344
+ * @param runtime - runtime options for this request RuntimeOptions
6345
+ * @returns SearchMemoriesResponse
6346
+ */
6347
+ async searchMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.SearchMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMemoriesResponse> {
6348
+ tmpReq.validate();
6349
+ let request = new $_model.SearchMemoriesShrinkRequest({ });
6350
+ OpenApiUtil.convert(tmpReq, request);
6351
+ if (!$dara.isNull(tmpReq.body)) {
6352
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6353
+ }
6354
+
6355
+ let body : {[key: string ]: any} = { };
6356
+ if (!$dara.isNull(request.bodyShrink)) {
6357
+ body["body"] = request.bodyShrink;
6358
+ }
6359
+
6360
+ let req = new $OpenApiUtil.OpenApiRequest({
6361
+ headers: headers,
6362
+ body: OpenApiUtil.parseToMap(body),
6363
+ });
6364
+ let params = new $OpenApiUtil.Params({
6365
+ action: "SearchMemories",
6366
+ version: "2026-08-04",
6367
+ protocol: "HTTPS",
6368
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/search`,
6369
+ method: "POST",
6370
+ authType: "AK",
6371
+ style: "ROA",
6372
+ reqBodyType: "formData",
6373
+ bodyType: "json",
6374
+ });
6375
+ return $dara.cast<$_model.SearchMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
6376
+ }
6377
+
6378
+ /**
6379
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6380
+ *
6381
+ * @remarks
6382
+ * Retrieves long-term memory from a MemoryStore based on semantics queries.
6383
+ *
6384
+ * @param request - SearchMemoriesRequest
6385
+ * @returns SearchMemoriesResponse
6386
+ */
6387
+ async searchMemories(workspaceId: string, memoryStoreName: string, request: $_model.SearchMemoriesRequest): Promise<$_model.SearchMemoriesResponse> {
6388
+ let runtime = new $dara.RuntimeOptions({ });
6389
+ let headers : {[key: string ]: string} = { };
6390
+ return await this.searchMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
6391
+ }
6392
+
6393
+ /**
6394
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
6395
+ *
6396
+ * @remarks
6397
+ * ## Request description
6398
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5398
6399
  *
5399
6400
  * @param tmpReq - SubmitAgentSpecVersionRequest
5400
6401
  * @param headers - map
@@ -5433,11 +6434,11 @@ export default class Client extends OpenApi {
5433
6434
  }
5434
6435
 
5435
6436
  /**
5436
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6437
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5437
6438
  *
5438
6439
  * @remarks
5439
- * ## Operation description
5440
- * Submits a specified AgentSpec draft version for review. If no release pipeline is configured, the version is published directly to online status.
6440
+ * ## Request description
6441
+ * Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
5441
6442
  *
5442
6443
  * @param request - SubmitAgentSpecVersionRequest
5443
6444
  * @returns SubmitAgentSpecVersionResponse
@@ -5508,10 +6509,10 @@ export default class Client extends OpenApi {
5508
6509
  }
5509
6510
 
5510
6511
  /**
5511
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6512
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5512
6513
  *
5513
6514
  * @remarks
5514
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6515
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5515
6516
  *
5516
6517
  * @param tmpReq - UpdateAgentIMChannelRequest
5517
6518
  * @param headers - map
@@ -5556,10 +6557,10 @@ export default class Client extends OpenApi {
5556
6557
  }
5557
6558
 
5558
6559
  /**
5559
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6560
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5560
6561
  *
5561
6562
  * @remarks
5562
- * Updates the ServiceEndpoint binding, enabled/disabled status, or channel behavior configuration of an IM channel. At least one updatable field must be provided.
6563
+ * Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
5563
6564
  *
5564
6565
  * @param request - UpdateAgentIMChannelRequest
5565
6566
  * @returns UpdateAgentIMChannelResponse
@@ -5571,10 +6572,10 @@ export default class Client extends OpenApi {
5571
6572
  }
5572
6573
 
5573
6574
  /**
5574
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6575
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5575
6576
  *
5576
6577
  * @remarks
5577
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6578
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5578
6579
  *
5579
6580
  * @param tmpReq - UpdateAgentIMChannelCredentialRequest
5580
6581
  * @param headers - map
@@ -5619,10 +6620,10 @@ export default class Client extends OpenApi {
5619
6620
  }
5620
6621
 
5621
6622
  /**
5622
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6623
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5623
6624
  *
5624
6625
  * @remarks
5625
- * Performs a full update of the channel credential for a specified IM channel of an agent. Secrets are not returned in the response.
6626
+ * Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
5626
6627
  *
5627
6628
  * @param request - UpdateAgentIMChannelCredentialRequest
5628
6629
  * @returns UpdateAgentIMChannelCredentialResponse
@@ -5750,10 +6751,10 @@ export default class Client extends OpenApi {
5750
6751
  }
5751
6752
 
5752
6753
  /**
5753
- * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
6754
+ * Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
5754
6755
  *
5755
6756
  * @remarks
5756
- * Updates the metadata or resource scope of a specified credential.
6757
+ * Updates the metadata or application scope of a specified credential.
5757
6758
  *
5758
6759
  * @param tmpReq - UpdateCredentialRequest
5759
6760
  * @param headers - map
@@ -5798,10 +6799,10 @@ export default class Client extends OpenApi {
5798
6799
  }
5799
6800
 
5800
6801
  /**
5801
- * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
6802
+ * Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
5802
6803
  *
5803
6804
  * @remarks
5804
- * Updates the metadata or resource scope of a specified credential.
6805
+ * Updates the metadata or application scope of a specified credential.
5805
6806
  *
5806
6807
  * @param request - UpdateCredentialRequest
5807
6808
  * @returns UpdateCredentialResponse
@@ -5816,10 +6817,10 @@ export default class Client extends OpenApi {
5816
6817
  * Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
5817
6818
  *
5818
6819
  * @remarks
5819
- * Provide at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced in their entirety. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
5820
- * When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
5821
- * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
5822
- * The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
6820
+ * Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
6821
+ * When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
6822
+ * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
6823
+ * The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
5823
6824
  * The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
5824
6825
  *
5825
6826
  * @param tmpReq - UpdateCustomAgentRequest
@@ -5868,10 +6869,10 @@ export default class Client extends OpenApi {
5868
6869
  * Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
5869
6870
  *
5870
6871
  * @remarks
5871
- * Provide at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced in their entirety. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
5872
- * When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only Alibaba Cloud Container Registry (ACR) container image deployment is supported. Omit the artifact.code field.
5873
- * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them together. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
5874
- * The update is an asynchronous process. A successful response indicates that the request is accepted. Call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
6872
+ * Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
6873
+ * When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
6874
+ * When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
6875
+ * The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
5875
6876
  * The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
5876
6877
  *
5877
6878
  * @param request - UpdateCustomAgentRequest
@@ -6187,12 +7188,132 @@ export default class Client extends OpenApi {
6187
7188
  }
6188
7189
 
6189
7190
  /**
6190
- * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
7191
+ * Updates the long-term memory text or metadata based on the memory ID.
7192
+ *
7193
+ * @remarks
7194
+ * Updates the long-term memory text or metadata based on the memory ID.
7195
+ *
7196
+ * @param tmpReq - UpdateMemoryRequest
7197
+ * @param headers - map
7198
+ * @param runtime - runtime options for this request RuntimeOptions
7199
+ * @returns UpdateMemoryResponse
7200
+ */
7201
+ async updateMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, tmpReq: $_model.UpdateMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryResponse> {
7202
+ tmpReq.validate();
7203
+ let request = new $_model.UpdateMemoryShrinkRequest({ });
7204
+ OpenApiUtil.convert(tmpReq, request);
7205
+ if (!$dara.isNull(tmpReq.body)) {
7206
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
7207
+ }
7208
+
7209
+ let body : {[key: string ]: any} = { };
7210
+ if (!$dara.isNull(request.bodyShrink)) {
7211
+ body["body"] = request.bodyShrink;
7212
+ }
7213
+
7214
+ let req = new $OpenApiUtil.OpenApiRequest({
7215
+ headers: headers,
7216
+ body: OpenApiUtil.parseToMap(body),
7217
+ });
7218
+ let params = new $OpenApiUtil.Params({
7219
+ action: "UpdateMemory",
7220
+ version: "2026-08-04",
7221
+ protocol: "HTTPS",
7222
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
7223
+ method: "PUT",
7224
+ authType: "AK",
7225
+ style: "ROA",
7226
+ reqBodyType: "formData",
7227
+ bodyType: "json",
7228
+ });
7229
+ return $dara.cast<$_model.UpdateMemoryResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryResponse({}));
7230
+ }
7231
+
7232
+ /**
7233
+ * Updates the long-term memory text or metadata based on the memory ID.
7234
+ *
7235
+ * @remarks
7236
+ * Updates the long-term memory text or metadata based on the memory ID.
7237
+ *
7238
+ * @param request - UpdateMemoryRequest
7239
+ * @returns UpdateMemoryResponse
7240
+ */
7241
+ async updateMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.UpdateMemoryRequest): Promise<$_model.UpdateMemoryResponse> {
7242
+ let runtime = new $dara.RuntimeOptions({ });
7243
+ let headers : {[key: string ]: string} = { };
7244
+ return await this.updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
7245
+ }
7246
+
7247
+ /**
7248
+ * Updates a memory store.
7249
+ *
7250
+ * @remarks
7251
+ * Updates a memory store.
7252
+ *
7253
+ * @param tmpReq - UpdateMemoryStoreRequest
7254
+ * @param headers - map
7255
+ * @param runtime - runtime options for this request RuntimeOptions
7256
+ * @returns UpdateMemoryStoreResponse
7257
+ */
7258
+ async updateMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.UpdateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryStoreResponse> {
7259
+ tmpReq.validate();
7260
+ let request = new $_model.UpdateMemoryStoreShrinkRequest({ });
7261
+ OpenApiUtil.convert(tmpReq, request);
7262
+ if (!$dara.isNull(tmpReq.body)) {
7263
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
7264
+ }
7265
+
7266
+ let query : {[key: string ]: any} = { };
7267
+ if (!$dara.isNull(request.clientToken)) {
7268
+ query["clientToken"] = request.clientToken;
7269
+ }
7270
+
7271
+ let body : {[key: string ]: any} = { };
7272
+ if (!$dara.isNull(request.bodyShrink)) {
7273
+ body["body"] = request.bodyShrink;
7274
+ }
7275
+
7276
+ let req = new $OpenApiUtil.OpenApiRequest({
7277
+ headers: headers,
7278
+ query: OpenApiUtil.query(query),
7279
+ body: OpenApiUtil.parseToMap(body),
7280
+ });
7281
+ let params = new $OpenApiUtil.Params({
7282
+ action: "UpdateMemoryStore",
7283
+ version: "2026-08-04",
7284
+ protocol: "HTTPS",
7285
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
7286
+ method: "PUT",
7287
+ authType: "AK",
7288
+ style: "ROA",
7289
+ reqBodyType: "formData",
7290
+ bodyType: "json",
7291
+ });
7292
+ return $dara.cast<$_model.UpdateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryStoreResponse({}));
7293
+ }
7294
+
7295
+ /**
7296
+ * Updates a memory store.
7297
+ *
7298
+ * @remarks
7299
+ * Updates a memory store.
7300
+ *
7301
+ * @param request - UpdateMemoryStoreRequest
7302
+ * @returns UpdateMemoryStoreResponse
7303
+ */
7304
+ async updateMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.UpdateMemoryStoreRequest): Promise<$_model.UpdateMemoryStoreResponse> {
7305
+ let runtime = new $dara.RuntimeOptions({ });
7306
+ let headers : {[key: string ]: string} = { };
7307
+ return await this.updateMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
7308
+ }
7309
+
7310
+ /**
7311
+ * Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
6191
7312
  *
6192
7313
  * @remarks
6193
- * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
6194
- * Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
6195
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
7314
+ * This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
7315
+ * Modifying only the description does not refresh the model configurations of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
7316
+ * A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
6196
7317
  *
6197
7318
  * @param tmpReq - UpdateModelRequest
6198
7319
  * @param headers - map
@@ -6237,12 +7358,12 @@ export default class Client extends OpenApi {
6237
7358
  }
6238
7359
 
6239
7360
  /**
6240
- * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
7361
+ * Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
6241
7362
  *
6242
7363
  * @remarks
6243
- * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
6244
- * Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
6245
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
7364
+ * This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
7365
+ * Modifying only the description does not refresh the model configurations of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
7366
+ * A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
6246
7367
  *
6247
7368
  * @param request - UpdateModelRequest
6248
7369
  * @returns UpdateModelResponse
@@ -6254,7 +7375,7 @@ export default class Client extends OpenApi {
6254
7375
  }
6255
7376
 
6256
7377
  /**
6257
- * Updates the mutable configuration of a specified model connection and resubmits the publish task. The protocol cannot be modified after the model connection is created.
7378
+ * Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
6258
7379
  *
6259
7380
  * @param tmpReq - UpdateModelConnectionRequest
6260
7381
  * @param headers - map
@@ -6299,7 +7420,7 @@ export default class Client extends OpenApi {
6299
7420
  }
6300
7421
 
6301
7422
  /**
6302
- * Updates the mutable configuration of a specified model connection and resubmits the publish task. The protocol cannot be modified after the model connection is created.
7423
+ * Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
6303
7424
  *
6304
7425
  * @param request - UpdateModelConnectionRequest
6305
7426
  * @returns UpdateModelConnectionResponse
@@ -6311,11 +7432,11 @@ export default class Client extends OpenApi {
6311
7432
  }
6312
7433
 
6313
7434
  /**
6314
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7435
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6315
7436
  *
6316
7437
  * @remarks
6317
- * ## Operation description
6318
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7438
+ * ## Request description
7439
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6319
7440
  *
6320
7441
  * @param tmpReq - UpdateSkillBizTagsRequest
6321
7442
  * @param headers - map
@@ -6354,11 +7475,11 @@ export default class Client extends OpenApi {
6354
7475
  }
6355
7476
 
6356
7477
  /**
6357
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7478
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6358
7479
  *
6359
7480
  * @remarks
6360
- * ## Operation description
6361
- * Updates the business tags of a specified Skill. Other attributes that are not included in the request remain unchanged.
7481
+ * ## Request description
7482
+ * Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
6362
7483
  *
6363
7484
  * @param request - UpdateSkillBizTagsRequest
6364
7485
  * @returns UpdateSkillBizTagsResponse
@@ -6488,7 +7609,7 @@ export default class Client extends OpenApi {
6488
7609
  }
6489
7610
 
6490
7611
  /**
6491
- * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
7612
+ * Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
6492
7613
  *
6493
7614
  * @param tmpReq - UpdateTeamRequest
6494
7615
  * @param headers - map
@@ -6533,7 +7654,7 @@ export default class Client extends OpenApi {
6533
7654
  }
6534
7655
 
6535
7656
  /**
6536
- * Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
7657
+ * Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
6537
7658
  *
6538
7659
  * @param request - UpdateTeamRequest
6539
7660
  * @returns UpdateTeamResponse
@@ -6545,7 +7666,7 @@ export default class Client extends OpenApi {
6545
7666
  }
6546
7667
 
6547
7668
  /**
6548
- * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
7669
+ * Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
6549
7670
  *
6550
7671
  * @param tmpReq - UpdateUserRequest
6551
7672
  * @param headers - map
@@ -6590,7 +7711,7 @@ export default class Client extends OpenApi {
6590
7711
  }
6591
7712
 
6592
7713
  /**
6593
- * Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
7714
+ * Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
6594
7715
  *
6595
7716
  * @param request - UpdateUserRequest
6596
7717
  * @returns UpdateUserResponse
@@ -6602,10 +7723,10 @@ export default class Client extends OpenApi {
6602
7723
  }
6603
7724
 
6604
7725
  /**
6605
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
7726
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
6606
7727
  *
6607
7728
  * @remarks
6608
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
7729
+ * ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
6609
7730
  *
6610
7731
  * @param tmpReq - UpdateWorkspaceRequest
6611
7732
  * @param headers - map
@@ -6650,10 +7771,10 @@ export default class Client extends OpenApi {
6650
7771
  }
6651
7772
 
6652
7773
  /**
6653
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
7774
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
6654
7775
  *
6655
7776
  * @remarks
6656
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. The `Status`, `TenantId`, and `RegionId` fields are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide a `VpcId` and at least one entry in `VSwitchIds`.\\n.
7777
+ * ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
6657
7778
  *
6658
7779
  * @param request - UpdateWorkspaceRequest
6659
7780
  * @returns UpdateWorkspaceResponse
@@ -6665,11 +7786,11 @@ export default class Client extends OpenApi {
6665
7786
  }
6666
7787
 
6667
7788
  /**
6668
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7789
+ * Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
6669
7790
  *
6670
7791
  * @remarks
6671
- * ## Operation description
6672
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7792
+ * ## Request description
7793
+ * Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
6673
7794
  *
6674
7795
  * @param tmpReq - UploadAgentSpecViaOssRequest
6675
7796
  * @param headers - map
@@ -6708,11 +7829,11 @@ export default class Client extends OpenApi {
6708
7829
  }
6709
7830
 
6710
7831
  /**
6711
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7832
+ * Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
6712
7833
  *
6713
7834
  * @remarks
6714
- * ## Operation description
6715
- * Retrieves an uploaded AgentSpec ZIP package from OSS, parses it, and imports the AgentSpec into the current workspace.
7835
+ * ## Request description
7836
+ * Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
6716
7837
  *
6717
7838
  * @param request - UploadAgentSpecViaOssRequest
6718
7839
  * @returns UploadAgentSpecViaOssResponse
@@ -6840,10 +7961,10 @@ export default class Client extends OpenApi {
6840
7961
  }
6841
7962
 
6842
7963
  /**
6843
- * Verifies the ACR RAM authorization of a workspace.
7964
+ * Verifies the ACR RAM authorization for a workspace.
6844
7965
  *
6845
7966
  * @remarks
6846
- * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been delivered. Creating or updating an Agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through Agent details.
7967
+ * ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
6847
7968
  *
6848
7969
  * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6849
7970
  * @param headers - map
@@ -6884,10 +8005,10 @@ export default class Client extends OpenApi {
6884
8005
  }
6885
8006
 
6886
8007
  /**
6887
- * Verifies the ACR RAM authorization of a workspace.
8008
+ * Verifies the ACR RAM authorization for a workspace.
6888
8009
  *
6889
8010
  * @remarks
6890
- * ACR and user OSS mounts share the same workspace role. When no existing role is found, the system uses AliyunAgentCoreWorkspace-{workspaceId}. When a valid legacy OSS mount role exists, the system reuses it and only appends permissions without overwriting existing OSS policies. Previously pinned shared roles continue to be reused and are not rebuilt or renamed because of new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisite status. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached. It does not parse policy content or simulate final permissions. ELIGIBLE does not indicate that RuntimeManager capacity or template admission is complete, nor does it require that ACR configurations have been delivered. Creating or updating an Agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through Agent details.
8011
+ * ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
6891
8012
  *
6892
8013
  * @param request - VerifyWorkspaceAcrRamAuthorizationRequest
6893
8014
  * @returns VerifyWorkspaceAcrRamAuthorizationResponse