@letta-ai/letta-client 0.0.68654 → 0.0.68656

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 (426) hide show
  1. package/api/resources/agents/client/Client.d.ts +4 -7
  2. package/api/resources/agents/client/Client.js +13 -16
  3. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +3 -1
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +3 -1
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/files/client/Client.js +4 -4
  9. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  10. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  11. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  12. package/api/resources/agents/resources/messages/client/Client.js +10 -10
  13. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  14. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  15. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  16. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  17. package/api/resources/batches/client/Client.js +4 -4
  18. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  19. package/api/resources/blocks/client/Client.js +6 -6
  20. package/api/resources/blocks/index.d.ts +1 -1
  21. package/api/resources/blocks/index.js +1 -1
  22. package/api/resources/blocks/resources/agents/client/Client.js +20 -3
  23. package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
  24. package/api/resources/blocks/resources/agents/index.d.ts +1 -0
  25. package/api/resources/blocks/resources/agents/index.js +1 -0
  26. package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  27. package/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
  28. package/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
  29. package/api/resources/blocks/resources/agents/types/index.js +17 -0
  30. package/api/resources/blocks/resources/index.d.ts +1 -0
  31. package/api/resources/blocks/resources/index.js +1 -0
  32. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  33. package/api/resources/folders/client/Client.d.ts +8 -5
  34. package/api/resources/folders/client/Client.js +21 -15
  35. package/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
  36. package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
  37. package/api/resources/folders/client/requests/index.d.ts +1 -1
  38. package/api/resources/folders/index.d.ts +1 -1
  39. package/api/resources/folders/index.js +1 -1
  40. package/api/resources/folders/resources/agents/client/Client.d.ts +3 -1
  41. package/api/resources/folders/resources/agents/client/Client.js +27 -6
  42. package/api/resources/folders/resources/agents/client/index.d.ts +1 -1
  43. package/api/resources/folders/resources/agents/client/index.js +15 -0
  44. package/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  45. package/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
  46. package/api/resources/folders/resources/agents/client/requests/index.js +2 -0
  47. package/api/resources/folders/resources/agents/index.d.ts +1 -0
  48. package/api/resources/folders/resources/agents/index.js +1 -0
  49. package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  50. package/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
  51. package/api/resources/folders/resources/agents/types/index.d.ts +1 -0
  52. package/api/resources/folders/resources/agents/types/index.js +17 -0
  53. package/api/resources/folders/resources/files/client/Client.js +17 -6
  54. package/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
  55. package/api/resources/folders/resources/files/index.d.ts +1 -0
  56. package/api/resources/folders/resources/files/index.js +1 -0
  57. package/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  58. package/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
  59. package/api/resources/folders/resources/files/types/index.d.ts +1 -0
  60. package/api/resources/folders/resources/files/types/index.js +17 -0
  61. package/api/resources/folders/resources/index.d.ts +4 -0
  62. package/api/resources/folders/resources/index.js +4 -0
  63. package/api/resources/folders/resources/passages/client/Client.js +14 -6
  64. package/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
  65. package/api/resources/folders/resources/passages/index.d.ts +1 -0
  66. package/api/resources/folders/resources/passages/index.js +1 -0
  67. package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
  68. package/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
  69. package/api/resources/folders/resources/passages/types/index.d.ts +1 -0
  70. package/api/resources/folders/resources/passages/types/index.js +17 -0
  71. package/api/resources/groups/client/Client.js +6 -6
  72. package/api/resources/groups/resources/messages/client/Client.js +18 -10
  73. package/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
  74. package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  75. package/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
  76. package/api/resources/groups/resources/messages/types/index.d.ts +1 -0
  77. package/api/resources/groups/resources/messages/types/index.js +1 -0
  78. package/api/resources/health/client/Client.js +1 -1
  79. package/api/resources/identities/client/Client.js +7 -7
  80. package/api/resources/identities/index.d.ts +1 -1
  81. package/api/resources/identities/index.js +1 -1
  82. package/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  83. package/api/resources/identities/resources/agents/client/Client.js +58 -11
  84. package/api/resources/identities/resources/agents/client/index.d.ts +1 -1
  85. package/api/resources/identities/resources/agents/client/index.js +15 -0
  86. package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  87. package/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
  88. package/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
  89. package/api/resources/identities/resources/agents/client/requests/index.js +2 -0
  90. package/api/resources/identities/resources/agents/index.d.ts +1 -0
  91. package/api/resources/identities/resources/agents/index.js +1 -0
  92. package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  93. package/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
  94. package/api/resources/identities/resources/agents/types/index.d.ts +1 -0
  95. package/api/resources/identities/resources/agents/types/index.js +17 -0
  96. package/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  97. package/api/resources/identities/resources/blocks/client/Client.js +58 -11
  98. package/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
  99. package/api/resources/identities/resources/blocks/client/index.js +15 -0
  100. package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
  101. package/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
  102. package/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
  103. package/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
  104. package/api/resources/identities/resources/blocks/index.d.ts +1 -0
  105. package/api/resources/identities/resources/blocks/index.js +1 -0
  106. package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  107. package/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  108. package/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
  109. package/api/resources/identities/resources/blocks/types/index.js +17 -0
  110. package/api/resources/identities/resources/index.d.ts +5 -1
  111. package/api/resources/identities/resources/index.js +9 -2
  112. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  113. package/api/resources/jobs/client/Client.js +5 -5
  114. package/api/resources/models/client/Client.js +2 -2
  115. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  116. package/api/resources/projects/client/Client.js +1 -1
  117. package/api/resources/providers/client/Client.js +6 -6
  118. package/api/resources/runs/client/Client.js +5 -5
  119. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  120. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  121. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  122. package/api/resources/sources/client/Client.js +10 -10
  123. package/api/resources/sources/resources/files/client/Client.js +3 -3
  124. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  125. package/api/resources/steps/client/Client.js +2 -2
  126. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  127. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  128. package/api/resources/steps/resources/trace/client/Client.js +1 -1
  129. package/api/resources/tags/client/Client.js +5 -2
  130. package/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
  131. package/api/resources/telemetry/client/Client.js +1 -1
  132. package/api/resources/templates/client/Client.js +9 -9
  133. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  134. package/api/resources/tools/client/Client.js +20 -20
  135. package/api/resources/voice/client/Client.js +1 -1
  136. package/api/types/AgentState.d.ts +3 -1
  137. package/api/types/InternalTemplateAgentCreate.d.ts +3 -1
  138. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +3 -1
  139. package/dist/api/resources/agents/client/Client.d.ts +4 -7
  140. package/dist/api/resources/agents/client/Client.js +13 -16
  141. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +3 -1
  142. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +3 -1
  143. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  144. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  145. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  146. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  147. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  148. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  149. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  150. package/dist/api/resources/agents/resources/messages/client/Client.js +10 -10
  151. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  152. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  153. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  154. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  155. package/dist/api/resources/batches/client/Client.js +4 -4
  156. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  157. package/dist/api/resources/blocks/client/Client.js +6 -6
  158. package/dist/api/resources/blocks/index.d.ts +1 -1
  159. package/dist/api/resources/blocks/index.js +1 -1
  160. package/dist/api/resources/blocks/resources/agents/client/Client.js +20 -3
  161. package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +21 -0
  162. package/dist/api/resources/blocks/resources/agents/index.d.ts +1 -0
  163. package/dist/api/resources/blocks/resources/agents/index.js +1 -0
  164. package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  165. package/dist/api/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +10 -0
  166. package/dist/api/resources/blocks/resources/agents/types/index.d.ts +1 -0
  167. package/dist/api/resources/blocks/resources/agents/types/index.js +17 -0
  168. package/dist/api/resources/blocks/resources/index.d.ts +1 -0
  169. package/dist/api/resources/blocks/resources/index.js +1 -0
  170. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  171. package/dist/api/resources/folders/client/Client.d.ts +8 -5
  172. package/dist/api/resources/folders/client/Client.js +21 -15
  173. package/dist/api/resources/folders/client/requests/FoldersListRequest.d.ts +4 -0
  174. package/dist/api/resources/folders/client/requests/{GetFoldersMetadataRequest.d.ts → RetrieveMetadataRequest.d.ts} +1 -1
  175. package/dist/api/resources/folders/client/requests/RetrieveMetadataRequest.js +5 -0
  176. package/dist/api/resources/folders/client/requests/index.d.ts +1 -1
  177. package/dist/api/resources/folders/index.d.ts +1 -1
  178. package/dist/api/resources/folders/index.js +1 -1
  179. package/dist/api/resources/folders/resources/agents/client/Client.d.ts +3 -1
  180. package/dist/api/resources/folders/resources/agents/client/Client.js +27 -6
  181. package/dist/api/resources/folders/resources/agents/client/index.d.ts +1 -1
  182. package/dist/api/resources/folders/resources/agents/client/index.js +15 -0
  183. package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  184. package/dist/api/resources/folders/resources/agents/client/requests/AgentsListRequest.js +5 -0
  185. package/dist/api/resources/folders/resources/agents/client/requests/index.d.ts +1 -0
  186. package/dist/api/resources/folders/resources/agents/client/requests/index.js +2 -0
  187. package/dist/api/resources/folders/resources/agents/index.d.ts +1 -0
  188. package/dist/api/resources/folders/resources/agents/index.js +1 -0
  189. package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  190. package/dist/api/resources/folders/resources/agents/types/AgentsListRequestOrder.js +10 -0
  191. package/dist/api/resources/folders/resources/agents/types/index.d.ts +1 -0
  192. package/dist/api/resources/folders/resources/agents/types/index.js +17 -0
  193. package/dist/api/resources/folders/resources/files/client/Client.js +17 -6
  194. package/dist/api/resources/folders/resources/files/client/requests/FilesListRequest.d.ts +16 -3
  195. package/dist/api/resources/folders/resources/files/index.d.ts +1 -0
  196. package/dist/api/resources/folders/resources/files/index.js +1 -0
  197. package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +11 -0
  198. package/dist/api/resources/folders/resources/files/types/FilesListRequestOrder.js +10 -0
  199. package/dist/api/resources/folders/resources/files/types/index.d.ts +1 -0
  200. package/dist/api/resources/folders/resources/files/types/index.js +17 -0
  201. package/dist/api/resources/folders/resources/index.d.ts +4 -0
  202. package/dist/api/resources/folders/resources/index.js +4 -0
  203. package/dist/api/resources/folders/resources/passages/client/Client.js +14 -6
  204. package/dist/api/resources/folders/resources/passages/client/requests/PassagesListRequest.d.ts +14 -5
  205. package/dist/api/resources/folders/resources/passages/index.d.ts +1 -0
  206. package/dist/api/resources/folders/resources/passages/index.js +1 -0
  207. package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +11 -0
  208. package/dist/api/resources/folders/resources/passages/types/PassagesListRequestOrder.js +10 -0
  209. package/dist/api/resources/folders/resources/passages/types/index.d.ts +1 -0
  210. package/dist/api/resources/folders/resources/passages/types/index.js +17 -0
  211. package/dist/api/resources/groups/client/Client.js +6 -6
  212. package/dist/api/resources/groups/resources/messages/client/Client.js +18 -10
  213. package/dist/api/resources/groups/resources/messages/client/requests/MessagesListRequest.d.ts +14 -5
  214. package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +11 -0
  215. package/dist/api/resources/groups/resources/messages/types/MessagesListRequestOrder.js +10 -0
  216. package/dist/api/resources/groups/resources/messages/types/index.d.ts +1 -0
  217. package/dist/api/resources/groups/resources/messages/types/index.js +1 -0
  218. package/dist/api/resources/health/client/Client.js +1 -1
  219. package/dist/api/resources/identities/client/Client.js +7 -7
  220. package/dist/api/resources/identities/index.d.ts +1 -1
  221. package/dist/api/resources/identities/index.js +1 -1
  222. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +7 -1
  223. package/dist/api/resources/identities/resources/agents/client/Client.js +58 -11
  224. package/dist/api/resources/identities/resources/agents/client/index.d.ts +1 -1
  225. package/dist/api/resources/identities/resources/agents/client/index.js +15 -0
  226. package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.d.ts +30 -0
  227. package/dist/api/resources/identities/resources/agents/client/requests/AgentsListRequest.js +5 -0
  228. package/dist/api/resources/identities/resources/agents/client/requests/index.d.ts +1 -0
  229. package/dist/api/resources/identities/resources/agents/client/requests/index.js +2 -0
  230. package/dist/api/resources/identities/resources/agents/index.d.ts +1 -0
  231. package/dist/api/resources/identities/resources/agents/index.js +1 -0
  232. package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +11 -0
  233. package/dist/api/resources/identities/resources/agents/types/AgentsListRequestOrder.js +10 -0
  234. package/dist/api/resources/identities/resources/agents/types/index.d.ts +1 -0
  235. package/dist/api/resources/identities/resources/agents/types/index.js +17 -0
  236. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +7 -1
  237. package/dist/api/resources/identities/resources/blocks/client/Client.js +58 -11
  238. package/dist/api/resources/identities/resources/blocks/client/index.d.ts +1 -1
  239. package/dist/api/resources/identities/resources/blocks/client/index.js +15 -0
  240. package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.d.ts +30 -0
  241. package/dist/api/resources/identities/resources/blocks/client/requests/BlocksListRequest.js +5 -0
  242. package/dist/api/resources/identities/resources/blocks/client/requests/index.d.ts +1 -0
  243. package/dist/api/resources/identities/resources/blocks/client/requests/index.js +2 -0
  244. package/dist/api/resources/identities/resources/blocks/index.d.ts +1 -0
  245. package/dist/api/resources/identities/resources/blocks/index.js +1 -0
  246. package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +11 -0
  247. package/dist/api/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +10 -0
  248. package/dist/api/resources/identities/resources/blocks/types/index.d.ts +1 -0
  249. package/dist/api/resources/identities/resources/blocks/types/index.js +17 -0
  250. package/dist/api/resources/identities/resources/index.d.ts +5 -1
  251. package/dist/api/resources/identities/resources/index.js +9 -2
  252. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  253. package/dist/api/resources/jobs/client/Client.js +5 -5
  254. package/dist/api/resources/models/client/Client.js +2 -2
  255. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  256. package/dist/api/resources/projects/client/Client.js +1 -1
  257. package/dist/api/resources/providers/client/Client.js +6 -6
  258. package/dist/api/resources/runs/client/Client.js +5 -5
  259. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  260. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  261. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  262. package/dist/api/resources/sources/client/Client.js +10 -10
  263. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  264. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  265. package/dist/api/resources/steps/client/Client.js +2 -2
  266. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  267. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  268. package/dist/api/resources/steps/resources/trace/client/Client.js +1 -1
  269. package/dist/api/resources/tags/client/Client.js +5 -2
  270. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +5 -1
  271. package/dist/api/resources/telemetry/client/Client.js +1 -1
  272. package/dist/api/resources/templates/client/Client.js +9 -9
  273. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  274. package/dist/api/resources/tools/client/Client.js +20 -20
  275. package/dist/api/resources/voice/client/Client.js +1 -1
  276. package/dist/api/types/AgentState.d.ts +3 -1
  277. package/dist/api/types/InternalTemplateAgentCreate.d.ts +3 -1
  278. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +3 -1
  279. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  280. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  281. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  282. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +3 -0
  283. package/dist/serialization/resources/blocks/index.d.ts +1 -1
  284. package/dist/serialization/resources/blocks/index.js +1 -1
  285. package/dist/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  286. package/dist/serialization/resources/blocks/resources/agents/index.js +1 -0
  287. package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  288. package/dist/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
  289. package/dist/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
  290. package/dist/serialization/resources/blocks/resources/agents/types/index.js +17 -0
  291. package/dist/serialization/resources/blocks/resources/index.d.ts +1 -0
  292. package/dist/serialization/resources/blocks/resources/index.js +4 -0
  293. package/dist/serialization/resources/folders/index.d.ts +1 -1
  294. package/dist/serialization/resources/folders/index.js +1 -1
  295. package/dist/serialization/resources/folders/resources/agents/index.d.ts +1 -0
  296. package/dist/serialization/resources/folders/resources/agents/index.js +1 -0
  297. package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  298. package/dist/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
  299. package/dist/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/folders/resources/agents/types/index.js +17 -0
  301. package/dist/serialization/resources/folders/resources/files/index.d.ts +1 -0
  302. package/dist/serialization/resources/folders/resources/files/index.js +1 -0
  303. package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  304. package/dist/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
  305. package/dist/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
  306. package/dist/serialization/resources/folders/resources/files/types/index.js +17 -0
  307. package/dist/serialization/resources/folders/resources/index.d.ts +3 -0
  308. package/dist/serialization/resources/folders/resources/index.js +6 -0
  309. package/dist/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  310. package/dist/serialization/resources/folders/resources/passages/index.js +1 -0
  311. package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
  312. package/dist/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
  313. package/dist/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
  314. package/dist/serialization/resources/folders/resources/passages/types/index.js +17 -0
  315. package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  316. package/dist/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
  317. package/dist/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
  318. package/dist/serialization/resources/groups/resources/messages/types/index.js +1 -0
  319. package/dist/serialization/resources/identities/index.d.ts +1 -1
  320. package/dist/serialization/resources/identities/index.js +1 -1
  321. package/dist/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
  322. package/dist/serialization/resources/identities/resources/agents/client/index.js +37 -0
  323. package/dist/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
  324. package/dist/serialization/resources/identities/resources/agents/client/list.js +42 -0
  325. package/dist/serialization/resources/identities/resources/agents/index.d.ts +2 -0
  326. package/dist/serialization/resources/identities/resources/agents/index.js +18 -0
  327. package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  328. package/dist/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
  329. package/dist/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
  330. package/dist/serialization/resources/identities/resources/agents/types/index.js +17 -0
  331. package/dist/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
  332. package/dist/serialization/resources/identities/resources/blocks/client/index.js +37 -0
  333. package/dist/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
  334. package/dist/serialization/resources/identities/resources/blocks/client/list.js +42 -0
  335. package/dist/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
  336. package/dist/serialization/resources/identities/resources/blocks/index.js +18 -0
  337. package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  338. package/dist/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  339. package/dist/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
  340. package/dist/serialization/resources/identities/resources/blocks/types/index.js +17 -0
  341. package/dist/serialization/resources/identities/resources/index.d.ts +4 -0
  342. package/dist/serialization/resources/identities/resources/index.js +8 -1
  343. package/dist/serialization/types/AgentState.d.ts +1 -0
  344. package/dist/serialization/types/AgentState.js +1 -0
  345. package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  346. package/dist/serialization/types/InternalTemplateAgentCreate.js +1 -0
  347. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  348. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  349. package/dist/version.d.ts +1 -1
  350. package/dist/version.js +1 -1
  351. package/package.json +1 -1
  352. package/reference.md +67 -14
  353. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  354. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  355. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  356. package/serialization/resources/agents/client/requests/UpdateAgent.js +3 -0
  357. package/serialization/resources/blocks/index.d.ts +1 -1
  358. package/serialization/resources/blocks/index.js +1 -1
  359. package/serialization/resources/blocks/resources/agents/index.d.ts +1 -0
  360. package/serialization/resources/blocks/resources/agents/index.js +1 -0
  361. package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  362. package/serialization/resources/blocks/resources/agents/types/AgentsListRequestOrder.js +41 -0
  363. package/serialization/resources/blocks/resources/agents/types/index.d.ts +1 -0
  364. package/serialization/resources/blocks/resources/agents/types/index.js +17 -0
  365. package/serialization/resources/blocks/resources/index.d.ts +1 -0
  366. package/serialization/resources/blocks/resources/index.js +4 -0
  367. package/serialization/resources/folders/index.d.ts +1 -1
  368. package/serialization/resources/folders/index.js +1 -1
  369. package/serialization/resources/folders/resources/agents/index.d.ts +1 -0
  370. package/serialization/resources/folders/resources/agents/index.js +1 -0
  371. package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  372. package/serialization/resources/folders/resources/agents/types/AgentsListRequestOrder.js +41 -0
  373. package/serialization/resources/folders/resources/agents/types/index.d.ts +1 -0
  374. package/serialization/resources/folders/resources/agents/types/index.js +17 -0
  375. package/serialization/resources/folders/resources/files/index.d.ts +1 -0
  376. package/serialization/resources/folders/resources/files/index.js +1 -0
  377. package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.d.ts +10 -0
  378. package/serialization/resources/folders/resources/files/types/FilesListRequestOrder.js +41 -0
  379. package/serialization/resources/folders/resources/files/types/index.d.ts +1 -0
  380. package/serialization/resources/folders/resources/files/types/index.js +17 -0
  381. package/serialization/resources/folders/resources/index.d.ts +3 -0
  382. package/serialization/resources/folders/resources/index.js +6 -0
  383. package/serialization/resources/folders/resources/passages/index.d.ts +1 -0
  384. package/serialization/resources/folders/resources/passages/index.js +1 -0
  385. package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.d.ts +10 -0
  386. package/serialization/resources/folders/resources/passages/types/PassagesListRequestOrder.js +41 -0
  387. package/serialization/resources/folders/resources/passages/types/index.d.ts +1 -0
  388. package/serialization/resources/folders/resources/passages/types/index.js +17 -0
  389. package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.d.ts +10 -0
  390. package/serialization/resources/groups/resources/messages/types/MessagesListRequestOrder.js +41 -0
  391. package/serialization/resources/groups/resources/messages/types/index.d.ts +1 -0
  392. package/serialization/resources/groups/resources/messages/types/index.js +1 -0
  393. package/serialization/resources/identities/index.d.ts +1 -1
  394. package/serialization/resources/identities/index.js +1 -1
  395. package/serialization/resources/identities/resources/agents/client/index.d.ts +1 -0
  396. package/serialization/resources/identities/resources/agents/client/index.js +37 -0
  397. package/serialization/resources/identities/resources/agents/client/list.d.ts +11 -0
  398. package/serialization/resources/identities/resources/agents/client/list.js +42 -0
  399. package/serialization/resources/identities/resources/agents/index.d.ts +2 -0
  400. package/serialization/resources/identities/resources/agents/index.js +18 -0
  401. package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.d.ts +10 -0
  402. package/serialization/resources/identities/resources/agents/types/AgentsListRequestOrder.js +41 -0
  403. package/serialization/resources/identities/resources/agents/types/index.d.ts +1 -0
  404. package/serialization/resources/identities/resources/agents/types/index.js +17 -0
  405. package/serialization/resources/identities/resources/blocks/client/index.d.ts +1 -0
  406. package/serialization/resources/identities/resources/blocks/client/index.js +37 -0
  407. package/serialization/resources/identities/resources/blocks/client/list.d.ts +11 -0
  408. package/serialization/resources/identities/resources/blocks/client/list.js +42 -0
  409. package/serialization/resources/identities/resources/blocks/index.d.ts +2 -0
  410. package/serialization/resources/identities/resources/blocks/index.js +18 -0
  411. package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.d.ts +10 -0
  412. package/serialization/resources/identities/resources/blocks/types/BlocksListRequestOrder.js +41 -0
  413. package/serialization/resources/identities/resources/blocks/types/index.d.ts +1 -0
  414. package/serialization/resources/identities/resources/blocks/types/index.js +17 -0
  415. package/serialization/resources/identities/resources/index.d.ts +4 -0
  416. package/serialization/resources/identities/resources/index.js +8 -1
  417. package/serialization/types/AgentState.d.ts +1 -0
  418. package/serialization/types/AgentState.js +1 -0
  419. package/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  420. package/serialization/types/InternalTemplateAgentCreate.js +1 -0
  421. package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  422. package/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  423. package/version.d.ts +1 -1
  424. package/version.js +1 -1
  425. /package/api/resources/folders/client/requests/{GetFoldersMetadataRequest.js → RetrieveMetadataRequest.js} +0 -0
  426. /package/{dist/api/resources/folders/client/requests/GetFoldersMetadataRequest.js → api/resources/folders/resources/agents/client/requests/AgentsListRequest.js} +0 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { AgentState } from "../../../../../types/AgentState";
8
+ export declare const Response: core.serialization.Schema<serializers.identities.agents.list.Response.Raw, Letta.AgentState[]>;
9
+ export declare namespace Response {
10
+ type Raw = AgentState.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const AgentState_1 = require("../../../../../types/AgentState");
42
+ exports.Response = core.serialization.list(AgentState_1.AgentState);
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const AgentsListRequestOrder: core.serialization.Schema<serializers.identities.AgentsListRequestOrder.Raw, Letta.identities.AgentsListRequestOrder>;
8
+ export declare namespace AgentsListRequestOrder {
9
+ type Raw = "asc" | "desc";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentsListRequestOrder = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.AgentsListRequestOrder = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1 @@
1
+ export * from "./AgentsListRequestOrder";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AgentsListRequestOrder"), exports);
@@ -0,0 +1 @@
1
+ export * as list from "./list";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.list = void 0;
37
+ exports.list = __importStar(require("./list"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { Block } from "../../../../../types/Block";
8
+ export declare const Response: core.serialization.Schema<serializers.identities.blocks.list.Response.Raw, Letta.Block[]>;
9
+ export declare namespace Response {
10
+ type Raw = Block.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const Block_1 = require("../../../../../types/Block");
42
+ exports.Response = core.serialization.list(Block_1.Block);
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const BlocksListRequestOrder: core.serialization.Schema<serializers.identities.BlocksListRequestOrder.Raw, Letta.identities.BlocksListRequestOrder>;
8
+ export declare namespace BlocksListRequestOrder {
9
+ type Raw = "asc" | "desc";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BlocksListRequestOrder = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.BlocksListRequestOrder = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1 @@
1
+ export * from "./BlocksListRequestOrder";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BlocksListRequestOrder"), exports);
@@ -1 +1,5 @@
1
+ export * as agents from "./agents";
2
+ export * from "./agents/types";
3
+ export * as blocks from "./blocks";
4
+ export * from "./blocks/types";
1
5
  export * as properties from "./properties";
@@ -32,6 +32,13 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.properties = void 0;
39
+ exports.properties = exports.blocks = exports.agents = void 0;
40
+ exports.agents = __importStar(require("./agents"));
41
+ __exportStar(require("./agents/types"), exports);
42
+ exports.blocks = __importStar(require("./blocks"));
43
+ __exportStar(require("./blocks/types"), exports);
37
44
  exports.properties = __importStar(require("./properties"));
@@ -37,6 +37,7 @@ export declare namespace AgentState {
37
37
  sources: Source.Raw[];
38
38
  tags: string[];
39
39
  tool_exec_environment_variables?: AgentEnvironmentVariable.Raw[] | null;
40
+ secrets?: AgentEnvironmentVariable.Raw[] | null;
40
41
  project_id?: string | null;
41
42
  template_id?: string | null;
42
43
  base_template_id?: string | null;
@@ -69,6 +69,7 @@ exports.AgentState = core.serialization.object({
69
69
  sources: core.serialization.list(Source_1.Source),
70
70
  tags: core.serialization.list(core.serialization.string()),
71
71
  toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.list(AgentEnvironmentVariable_1.AgentEnvironmentVariable).optional()),
72
+ secrets: core.serialization.list(AgentEnvironmentVariable_1.AgentEnvironmentVariable).optional(),
72
73
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
73
74
  templateId: core.serialization.property("template_id", core.serialization.string().optional()),
74
75
  baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
@@ -45,6 +45,7 @@ export declare namespace InternalTemplateAgentCreate {
45
45
  template?: boolean | null;
46
46
  project?: string | null;
47
47
  tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
48
+ secrets?: Record<string, string | null | undefined> | null;
48
49
  memory_variables?: Record<string, string | null | undefined> | null;
49
50
  project_id?: string | null;
50
51
  template_id: string;
@@ -77,6 +77,7 @@ exports.InternalTemplateAgentCreate = core.serialization.object({
77
77
  template: core.serialization.boolean().optional(),
78
78
  project: core.serialization.string().optional(),
79
79
  toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
80
+ secrets: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
80
81
  memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
81
82
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
82
83
  templateId: core.serialization.property("template_id", core.serialization.string()),
@@ -47,6 +47,7 @@ export declare namespace LettaSchemasAgentFileAgentSchema {
47
47
  template?: boolean | null;
48
48
  project?: string | null;
49
49
  tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
50
+ secrets?: Record<string, string | null | undefined> | null;
50
51
  memory_variables?: Record<string, string | null | undefined> | null;
51
52
  project_id?: string | null;
52
53
  template_id?: string | null;
@@ -79,6 +79,7 @@ exports.LettaSchemasAgentFileAgentSchema = core.serialization.object({
79
79
  template: core.serialization.boolean().optional(),
80
80
  project: core.serialization.string().optional(),
81
81
  toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
82
+ secrets: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
82
83
  memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
83
84
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
84
85
  templateId: core.serialization.property("template_id", core.serialization.string().optional()),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.68654";
1
+ export declare const SDK_VERSION = "0.0.68656";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.68654";
4
+ exports.SDK_VERSION = "0.0.68656";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.0.68654",
3
+ "version": "0.0.68656",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -2202,7 +2202,9 @@ await client.folders.modify("folder_id", {});
2202
2202
  <dl>
2203
2203
  <dd>
2204
2204
 
2205
- Get a folder by name
2205
+ **Deprecated**: Please use the list endpoint `GET /v1/folders?name=` instead.
2206
+
2207
+ Get a folder by name.
2206
2208
 
2207
2209
  </dd>
2208
2210
  </dl>
@@ -2253,7 +2255,7 @@ await client.folders.retrieveByName("folder_name");
2253
2255
  </dl>
2254
2256
  </details>
2255
2257
 
2256
- <details><summary><code>client.folders.<a href="/src/api/resources/folders/client/Client.ts">getFoldersMetadata</a>({ ...params }) -> Letta.OrganizationSourcesStats</code></summary>
2258
+ <details><summary><code>client.folders.<a href="/src/api/resources/folders/client/Client.ts">retrieveMetadata</a>({ ...params }) -> Letta.OrganizationSourcesStats</code></summary>
2257
2259
  <dl>
2258
2260
  <dd>
2259
2261
 
@@ -2287,7 +2289,7 @@ Returns structured metadata including:
2287
2289
  <dd>
2288
2290
 
2289
2291
  ```typescript
2290
- await client.folders.getFoldersMetadata();
2292
+ await client.folders.retrieveMetadata();
2291
2293
  ```
2292
2294
 
2293
2295
  </dd>
@@ -2303,7 +2305,7 @@ await client.folders.getFoldersMetadata();
2303
2305
  <dl>
2304
2306
  <dd>
2305
2307
 
2306
- **request:** `Letta.GetFoldersMetadataRequest`
2308
+ **request:** `Letta.RetrieveMetadataRequest`
2307
2309
 
2308
2310
  </dd>
2309
2311
  </dl>
@@ -2464,10 +2466,7 @@ await client.folders.create({
2464
2466
  <dl>
2465
2467
  <dd>
2466
2468
 
2467
- List all agents associated with a given user.
2468
-
2469
- This endpoint retrieves a list of all agents and their configurations
2470
- associated with the specified user ID.
2469
+ Get a list of all agents.
2471
2470
 
2472
2471
  </dd>
2473
2472
  </dl>
@@ -2530,7 +2529,7 @@ await client.agents.list();
2530
2529
  <dl>
2531
2530
  <dd>
2532
2531
 
2533
- Create a new agent with the specified configuration.
2532
+ Create an agent.
2534
2533
 
2535
2534
  </dd>
2536
2535
  </dl>
@@ -2593,7 +2592,7 @@ await client.agents.create();
2593
2592
  <dl>
2594
2593
  <dd>
2595
2594
 
2596
- Get the count of all agents associated with a given user.
2595
+ Get the total number of agents.
2597
2596
 
2598
2597
  </dd>
2599
2598
  </dl>
@@ -2929,7 +2928,7 @@ await client.agents.delete("agent_id");
2929
2928
  <dl>
2930
2929
  <dd>
2931
2930
 
2932
- Update an existing agent
2931
+ Update an existing agent.
2933
2932
 
2934
2933
  </dd>
2935
2934
  </dl>
@@ -10201,7 +10200,7 @@ await client.folders.files.delete("folder_id", "file_id");
10201
10200
 
10202
10201
  ## Folders Agents
10203
10202
 
10204
- <details><summary><code>client.folders.agents.<a href="/src/api/resources/folders/resources/agents/client/Client.ts">list</a>(folderId) -> string[]</code></summary>
10203
+ <details><summary><code>client.folders.agents.<a href="/src/api/resources/folders/resources/agents/client/Client.ts">list</a>(folderId, { ...params }) -> string[]</code></summary>
10205
10204
  <dl>
10206
10205
  <dd>
10207
10206
 
@@ -10253,6 +10252,14 @@ await client.folders.agents.list("folder_id");
10253
10252
  <dl>
10254
10253
  <dd>
10255
10254
 
10255
+ **request:** `Letta.folders.AgentsListRequest`
10256
+
10257
+ </dd>
10258
+ </dl>
10259
+
10260
+ <dl>
10261
+ <dd>
10262
+
10256
10263
  **requestOptions:** `Agents.RequestOptions`
10257
10264
 
10258
10265
  </dd>
@@ -10792,10 +10799,25 @@ await client.identities.properties.upsert("identity_id", [
10792
10799
 
10793
10800
  ## Identities Agents
10794
10801
 
10795
- <details><summary><code>client.identities.agents.<a href="/src/api/resources/identities/resources/agents/client/Client.ts">list</a>(identityId) -> void</code></summary>
10802
+ <details><summary><code>client.identities.agents.<a href="/src/api/resources/identities/resources/agents/client/Client.ts">list</a>(identityId, { ...params }) -> Letta.AgentState[]</code></summary>
10803
+ <dl>
10804
+ <dd>
10805
+
10806
+ #### 📝 Description
10807
+
10808
+ <dl>
10809
+ <dd>
10810
+
10796
10811
  <dl>
10797
10812
  <dd>
10798
10813
 
10814
+ Get all agents associated with the specified identity.
10815
+
10816
+ </dd>
10817
+ </dl>
10818
+ </dd>
10819
+ </dl>
10820
+
10799
10821
  #### 🔌 Usage
10800
10822
 
10801
10823
  <dl>
@@ -10829,6 +10851,14 @@ await client.identities.agents.list("identity_id");
10829
10851
  <dl>
10830
10852
  <dd>
10831
10853
 
10854
+ **request:** `Letta.identities.AgentsListRequest`
10855
+
10856
+ </dd>
10857
+ </dl>
10858
+
10859
+ <dl>
10860
+ <dd>
10861
+
10832
10862
  **requestOptions:** `Agents.RequestOptions`
10833
10863
 
10834
10864
  </dd>
@@ -10842,10 +10872,25 @@ await client.identities.agents.list("identity_id");
10842
10872
 
10843
10873
  ## Identities Blocks
10844
10874
 
10845
- <details><summary><code>client.identities.blocks.<a href="/src/api/resources/identities/resources/blocks/client/Client.ts">list</a>(identityId) -> void</code></summary>
10875
+ <details><summary><code>client.identities.blocks.<a href="/src/api/resources/identities/resources/blocks/client/Client.ts">list</a>(identityId, { ...params }) -> Letta.Block[]</code></summary>
10846
10876
  <dl>
10847
10877
  <dd>
10848
10878
 
10879
+ #### 📝 Description
10880
+
10881
+ <dl>
10882
+ <dd>
10883
+
10884
+ <dl>
10885
+ <dd>
10886
+
10887
+ Get all blocks associated with the specified identity.
10888
+
10889
+ </dd>
10890
+ </dl>
10891
+ </dd>
10892
+ </dl>
10893
+
10849
10894
  #### 🔌 Usage
10850
10895
 
10851
10896
  <dl>
@@ -10879,6 +10924,14 @@ await client.identities.blocks.list("identity_id");
10879
10924
  <dl>
10880
10925
  <dd>
10881
10926
 
10927
+ **request:** `Letta.identities.BlocksListRequest`
10928
+
10929
+ </dd>
10930
+ </dl>
10931
+
10932
+ <dl>
10933
+ <dd>
10934
+
10882
10935
  **requestOptions:** `Blocks.RequestOptions`
10883
10936
 
10884
10937
  </dd>
@@ -45,6 +45,7 @@ export declare namespace CreateAgentRequest {
45
45
  template?: boolean | null;
46
46
  project?: string | null;
47
47
  tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
48
+ secrets?: Record<string, string | null | undefined> | null;
48
49
  memory_variables?: Record<string, string | null | undefined> | null;
49
50
  project_id?: string | null;
50
51
  template_id?: string | null;
@@ -77,6 +77,7 @@ exports.CreateAgentRequest = core.serialization.object({
77
77
  template: core.serialization.boolean().optional(),
78
78
  project: core.serialization.string().optional(),
79
79
  toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
80
+ secrets: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
80
81
  memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
81
82
  projectId: core.serialization.property("project_id", core.serialization.string().optional()),
82
83
  templateId: core.serialization.property("template_id", core.serialization.string().optional()),