@letta-ai/letta-client 0.1.130 → 0.1.132

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 (380) hide show
  1. package/api/resources/agents/client/Client.js +14 -11
  2. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
  3. package/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -0
  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/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.d.ts +2 -2
  11. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  12. package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
  13. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  14. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  15. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  16. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  17. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  18. package/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
  19. package/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
  20. package/api/resources/agents/types/index.d.ts +1 -0
  21. package/api/resources/agents/types/index.js +1 -0
  22. package/api/resources/batches/client/Client.js +4 -4
  23. package/api/resources/blocks/client/Client.js +6 -6
  24. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  25. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  26. package/api/resources/embeddingModels/client/Client.js +1 -1
  27. package/api/resources/groups/client/Client.js +6 -6
  28. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  29. package/api/resources/health/client/Client.js +1 -1
  30. package/api/resources/identities/client/Client.js +7 -7
  31. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  32. package/api/resources/index.d.ts +1 -2
  33. package/api/resources/index.js +2 -3
  34. package/api/resources/jobs/client/Client.js +4 -4
  35. package/api/resources/messages/client/Client.js +1 -1
  36. package/api/resources/models/client/Client.js +1 -1
  37. package/api/resources/projects/client/Client.js +1 -1
  38. package/api/resources/providers/client/Client.d.ts +2 -6
  39. package/api/resources/providers/client/Client.js +7 -15
  40. package/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
  41. package/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
  42. package/api/resources/providers/client/requests/index.d.ts +0 -1
  43. package/api/resources/runs/client/Client.js +4 -4
  44. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  45. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  46. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  47. package/api/resources/sources/client/Client.js +7 -7
  48. package/api/resources/sources/resources/files/client/Client.js +3 -3
  49. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  50. package/api/resources/steps/client/Client.js +2 -2
  51. package/api/resources/tags/client/Client.js +1 -1
  52. package/api/resources/telemetry/client/Client.js +1 -1
  53. package/api/resources/templates/client/Client.js +1 -1
  54. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  55. package/api/resources/tools/client/Client.d.ts +13 -0
  56. package/api/resources/tools/client/Client.js +84 -17
  57. package/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
  58. package/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
  59. package/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
  60. package/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  61. package/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
  62. package/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
  63. package/api/resources/tools/types/index.d.ts +2 -0
  64. package/api/resources/tools/types/index.js +2 -0
  65. package/api/resources/voice/client/Client.d.ts +1 -5
  66. package/api/resources/voice/client/Client.js +3 -7
  67. package/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +2 -7
  68. package/api/resources/voice/index.d.ts +0 -1
  69. package/api/resources/voice/index.js +0 -1
  70. package/api/types/AgentState.d.ts +4 -0
  71. package/api/types/BatchJob.d.ts +2 -0
  72. package/api/types/Job.d.ts +2 -0
  73. package/api/types/LettaRequestConfig.d.ts +3 -0
  74. package/api/types/LettaResponse.d.ts +1 -0
  75. package/api/types/LettaStopReason.d.ts +3 -2
  76. package/api/types/McpServerType.d.ts +2 -1
  77. package/api/types/McpServerType.js +1 -0
  78. package/api/types/McpTool.d.ts +2 -0
  79. package/api/types/Provider.d.ts +5 -1
  80. package/api/types/ProviderCheck.d.ts +14 -0
  81. package/api/types/ProviderType.d.ts +2 -2
  82. package/api/types/ProviderType.js +1 -1
  83. package/api/types/Run.d.ts +2 -0
  84. package/api/types/SseServerConfig.d.ts +16 -0
  85. package/{dist/api/types/LettaStopReasonStopReason.d.ts → api/types/StopReasonType.d.ts} +3 -2
  86. package/{dist/api/types/LettaStopReasonStopReason.js → api/types/StopReasonType.js} +3 -2
  87. package/api/types/StreamableHttpServerConfig.d.ts +27 -0
  88. package/api/types/StreamableHttpServerConfig.js +5 -0
  89. package/api/types/ToolAnnotations.d.ts +22 -0
  90. package/api/types/ToolAnnotations.js +5 -0
  91. package/api/types/UpdateSsemcpServer.d.ts +14 -0
  92. package/api/types/UpdateSsemcpServer.js +5 -0
  93. package/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
  94. package/api/types/UpdateStreamableHttpmcpServer.js +5 -0
  95. package/api/types/index.d.ts +7 -2
  96. package/api/types/index.js +7 -2
  97. package/dist/api/resources/agents/client/Client.js +14 -11
  98. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
  99. package/dist/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
  100. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -0
  101. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  102. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  103. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  104. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  105. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  106. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +2 -2
  107. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  108. package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
  109. package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +5 -0
  110. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  111. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  112. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  113. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  114. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  115. package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
  116. package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
  117. package/dist/api/resources/agents/types/index.d.ts +1 -0
  118. package/dist/api/resources/agents/types/index.js +1 -0
  119. package/dist/api/resources/batches/client/Client.js +4 -4
  120. package/dist/api/resources/blocks/client/Client.js +6 -6
  121. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  122. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  123. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  124. package/dist/api/resources/groups/client/Client.js +6 -6
  125. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  126. package/dist/api/resources/health/client/Client.js +1 -1
  127. package/dist/api/resources/identities/client/Client.js +7 -7
  128. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  129. package/dist/api/resources/index.d.ts +1 -2
  130. package/dist/api/resources/index.js +2 -3
  131. package/dist/api/resources/jobs/client/Client.js +4 -4
  132. package/dist/api/resources/messages/client/Client.js +1 -1
  133. package/dist/api/resources/models/client/Client.js +1 -1
  134. package/dist/api/resources/projects/client/Client.js +1 -1
  135. package/dist/api/resources/providers/client/Client.d.ts +2 -6
  136. package/dist/api/resources/providers/client/Client.js +7 -15
  137. package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
  138. package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
  139. package/dist/api/resources/providers/client/requests/index.d.ts +0 -1
  140. package/dist/api/resources/runs/client/Client.js +4 -4
  141. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  142. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  143. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  144. package/dist/api/resources/sources/client/Client.js +7 -7
  145. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  146. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  147. package/dist/api/resources/steps/client/Client.js +2 -2
  148. package/dist/api/resources/tags/client/Client.js +1 -1
  149. package/dist/api/resources/telemetry/client/Client.js +1 -1
  150. package/dist/api/resources/templates/client/Client.js +1 -1
  151. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  152. package/dist/api/resources/tools/client/Client.d.ts +13 -0
  153. package/dist/api/resources/tools/client/Client.js +84 -17
  154. package/dist/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
  155. package/dist/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
  156. package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
  157. package/dist/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  158. package/dist/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
  159. package/dist/api/resources/tools/types/UpdateMcpServerRequest.js +5 -0
  160. package/dist/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
  161. package/dist/api/resources/tools/types/UpdateMcpServerResponse.js +5 -0
  162. package/dist/api/resources/tools/types/index.d.ts +2 -0
  163. package/dist/api/resources/tools/types/index.js +2 -0
  164. package/dist/api/resources/voice/client/Client.d.ts +1 -5
  165. package/dist/api/resources/voice/client/Client.js +3 -7
  166. package/dist/api/resources/voice/client/requests/CreateVoiceChatCompletionsRequest.d.ts +2 -7
  167. package/dist/api/resources/voice/index.d.ts +0 -1
  168. package/dist/api/resources/voice/index.js +0 -1
  169. package/dist/api/types/AgentState.d.ts +4 -0
  170. package/dist/api/types/BatchJob.d.ts +2 -0
  171. package/dist/api/types/Job.d.ts +2 -0
  172. package/dist/api/types/LettaRequestConfig.d.ts +3 -0
  173. package/dist/api/types/LettaResponse.d.ts +1 -0
  174. package/dist/api/types/LettaStopReason.d.ts +3 -2
  175. package/dist/api/types/McpServerType.d.ts +2 -1
  176. package/dist/api/types/McpServerType.js +1 -0
  177. package/dist/api/types/McpTool.d.ts +2 -0
  178. package/dist/api/types/Provider.d.ts +5 -1
  179. package/dist/api/types/ProviderCheck.d.ts +14 -0
  180. package/dist/api/types/ProviderCheck.js +5 -0
  181. package/dist/api/types/ProviderType.d.ts +2 -2
  182. package/dist/api/types/ProviderType.js +1 -1
  183. package/dist/api/types/Run.d.ts +2 -0
  184. package/dist/api/types/SseServerConfig.d.ts +16 -0
  185. package/{api/types/LettaStopReasonStopReason.d.ts → dist/api/types/StopReasonType.d.ts} +3 -2
  186. package/{api/types/LettaStopReasonStopReason.js → dist/api/types/StopReasonType.js} +3 -2
  187. package/dist/api/types/StreamableHttpServerConfig.d.ts +27 -0
  188. package/dist/api/types/StreamableHttpServerConfig.js +5 -0
  189. package/dist/api/types/ToolAnnotations.d.ts +22 -0
  190. package/dist/api/types/ToolAnnotations.js +5 -0
  191. package/dist/api/types/UpdateSsemcpServer.d.ts +14 -0
  192. package/dist/api/types/UpdateSsemcpServer.js +5 -0
  193. package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
  194. package/dist/api/types/UpdateStreamableHttpmcpServer.js +5 -0
  195. package/dist/api/types/index.d.ts +7 -2
  196. package/dist/api/types/index.js +7 -2
  197. package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
  198. package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
  199. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  200. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  201. package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
  202. package/dist/serialization/resources/agents/resources/index.js +1 -0
  203. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  204. package/dist/serialization/resources/agents/resources/messages/client/index.js +4 -0
  205. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
  206. package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -0
  207. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  208. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +5 -0
  209. package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
  210. package/dist/serialization/resources/{voice/types/CreateVoiceChatCompletionsRequestBody.js → agents/types/AgentsSearchRequestSortBy.js} +2 -4
  211. package/dist/serialization/resources/agents/types/index.d.ts +1 -0
  212. package/dist/serialization/resources/agents/types/index.js +1 -0
  213. package/dist/serialization/resources/index.d.ts +1 -2
  214. package/dist/serialization/resources/index.js +2 -3
  215. package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  216. package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  217. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  218. package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  219. package/dist/serialization/resources/tools/types/AddMcpServerRequest.d.ts +2 -1
  220. package/dist/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
  221. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
  222. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
  223. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
  224. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
  225. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
  226. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
  227. package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
  228. package/{serialization/resources/voice/types/CreateVoiceChatCompletionsRequestBody.js → dist/serialization/resources/tools/types/UpdateMcpServerRequest.js} +4 -4
  229. package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
  230. package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
  231. package/dist/serialization/resources/tools/types/index.d.ts +2 -0
  232. package/dist/serialization/resources/tools/types/index.js +2 -0
  233. package/dist/serialization/resources/voice/client/createVoiceChatCompletions.d.ts +9 -0
  234. package/dist/serialization/resources/voice/client/createVoiceChatCompletions.js +41 -0
  235. package/dist/serialization/resources/voice/client/index.d.ts +1 -0
  236. package/dist/serialization/resources/voice/client/index.js +37 -0
  237. package/dist/serialization/resources/voice/index.d.ts +1 -1
  238. package/dist/serialization/resources/voice/index.js +1 -1
  239. package/dist/serialization/types/AgentState.d.ts +2 -0
  240. package/dist/serialization/types/AgentState.js +2 -0
  241. package/dist/serialization/types/BatchJob.d.ts +1 -0
  242. package/dist/serialization/types/BatchJob.js +1 -0
  243. package/dist/serialization/types/Job.d.ts +1 -0
  244. package/dist/serialization/types/Job.js +1 -0
  245. package/dist/serialization/types/LettaRequestConfig.d.ts +2 -0
  246. package/dist/serialization/types/LettaRequestConfig.js +2 -0
  247. package/dist/serialization/types/LettaResponse.d.ts +2 -0
  248. package/dist/serialization/types/LettaResponse.js +2 -0
  249. package/dist/serialization/types/LettaStopReason.d.ts +2 -2
  250. package/dist/serialization/types/LettaStopReason.js +2 -2
  251. package/dist/serialization/types/McpServerType.d.ts +1 -1
  252. package/dist/serialization/types/McpServerType.js +1 -1
  253. package/dist/serialization/types/McpTool.d.ts +2 -0
  254. package/dist/serialization/types/McpTool.js +2 -0
  255. package/dist/serialization/types/Provider.d.ts +2 -0
  256. package/dist/serialization/types/Provider.js +2 -0
  257. package/dist/serialization/types/ProviderCheck.d.ts +16 -0
  258. package/dist/serialization/types/ProviderCheck.js +47 -0
  259. package/dist/serialization/types/ProviderType.d.ts +1 -1
  260. package/dist/serialization/types/ProviderType.js +1 -1
  261. package/dist/serialization/types/Run.d.ts +1 -0
  262. package/dist/serialization/types/Run.js +1 -0
  263. package/dist/serialization/types/SseServerConfig.d.ts +3 -0
  264. package/dist/serialization/types/SseServerConfig.js +3 -0
  265. package/dist/serialization/types/{LettaStopReasonStopReason.d.ts → StopReasonType.d.ts} +3 -3
  266. package/dist/serialization/types/{LettaStopReasonStopReason.js → StopReasonType.js} +2 -2
  267. package/dist/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
  268. package/dist/serialization/types/StreamableHttpServerConfig.js +49 -0
  269. package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
  270. package/dist/serialization/types/ToolAnnotations.js +49 -0
  271. package/dist/serialization/types/UpdateSsemcpServer.d.ts +14 -0
  272. package/dist/serialization/types/UpdateSsemcpServer.js +45 -0
  273. package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
  274. package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
  275. package/dist/serialization/types/index.d.ts +7 -2
  276. package/dist/serialization/types/index.js +7 -2
  277. package/dist/version.d.ts +1 -1
  278. package/dist/version.js +1 -1
  279. package/package.json +1 -1
  280. package/reference.md +75 -21
  281. package/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
  282. package/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
  283. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  284. package/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
  285. package/serialization/resources/agents/resources/index.d.ts +1 -0
  286. package/serialization/resources/agents/resources/index.js +1 -0
  287. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  288. package/serialization/resources/agents/resources/messages/client/index.js +4 -0
  289. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
  290. package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -0
  291. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  292. package/serialization/resources/agents/resources/messages/client/requests/index.js +5 -0
  293. package/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
  294. package/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
  295. package/serialization/resources/agents/types/index.d.ts +1 -0
  296. package/serialization/resources/agents/types/index.js +1 -0
  297. package/serialization/resources/index.d.ts +1 -2
  298. package/serialization/resources/index.js +2 -3
  299. package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
  300. package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
  301. package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
  302. package/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
  303. package/serialization/resources/tools/types/AddMcpServerRequest.d.ts +2 -1
  304. package/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
  305. package/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
  306. package/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
  307. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
  308. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
  309. package/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
  310. package/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
  311. package/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
  312. package/serialization/resources/tools/types/UpdateMcpServerRequest.js +43 -0
  313. package/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
  314. package/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
  315. package/serialization/resources/tools/types/index.d.ts +2 -0
  316. package/serialization/resources/tools/types/index.js +2 -0
  317. package/serialization/resources/voice/client/createVoiceChatCompletions.d.ts +9 -0
  318. package/serialization/resources/voice/client/createVoiceChatCompletions.js +41 -0
  319. package/serialization/resources/voice/client/index.d.ts +1 -0
  320. package/serialization/resources/voice/client/index.js +37 -0
  321. package/serialization/resources/voice/index.d.ts +1 -1
  322. package/serialization/resources/voice/index.js +1 -1
  323. package/serialization/types/AgentState.d.ts +2 -0
  324. package/serialization/types/AgentState.js +2 -0
  325. package/serialization/types/BatchJob.d.ts +1 -0
  326. package/serialization/types/BatchJob.js +1 -0
  327. package/serialization/types/Job.d.ts +1 -0
  328. package/serialization/types/Job.js +1 -0
  329. package/serialization/types/LettaRequestConfig.d.ts +2 -0
  330. package/serialization/types/LettaRequestConfig.js +2 -0
  331. package/serialization/types/LettaResponse.d.ts +2 -0
  332. package/serialization/types/LettaResponse.js +2 -0
  333. package/serialization/types/LettaStopReason.d.ts +2 -2
  334. package/serialization/types/LettaStopReason.js +2 -2
  335. package/serialization/types/McpServerType.d.ts +1 -1
  336. package/serialization/types/McpServerType.js +1 -1
  337. package/serialization/types/McpTool.d.ts +2 -0
  338. package/serialization/types/McpTool.js +2 -0
  339. package/serialization/types/Provider.d.ts +2 -0
  340. package/serialization/types/Provider.js +2 -0
  341. package/serialization/types/ProviderCheck.d.ts +16 -0
  342. package/serialization/types/ProviderCheck.js +47 -0
  343. package/serialization/types/ProviderType.d.ts +1 -1
  344. package/serialization/types/ProviderType.js +1 -1
  345. package/serialization/types/Run.d.ts +1 -0
  346. package/serialization/types/Run.js +1 -0
  347. package/serialization/types/SseServerConfig.d.ts +3 -0
  348. package/serialization/types/SseServerConfig.js +3 -0
  349. package/serialization/types/{LettaStopReasonStopReason.d.ts → StopReasonType.d.ts} +3 -3
  350. package/serialization/types/{LettaStopReasonStopReason.js → StopReasonType.js} +2 -2
  351. package/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
  352. package/serialization/types/StreamableHttpServerConfig.js +49 -0
  353. package/serialization/types/ToolAnnotations.d.ts +17 -0
  354. package/serialization/types/ToolAnnotations.js +49 -0
  355. package/serialization/types/UpdateSsemcpServer.d.ts +14 -0
  356. package/serialization/types/UpdateSsemcpServer.js +45 -0
  357. package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
  358. package/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
  359. package/serialization/types/index.d.ts +7 -2
  360. package/serialization/types/index.js +7 -2
  361. package/version.d.ts +1 -1
  362. package/version.js +1 -1
  363. package/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
  364. package/api/resources/voice/types/CreateVoiceChatCompletionsRequestBody.d.ts +0 -5
  365. package/api/resources/voice/types/index.d.ts +0 -1
  366. package/api/resources/voice/types/index.js +0 -17
  367. package/dist/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
  368. package/dist/api/resources/voice/types/CreateVoiceChatCompletionsRequestBody.d.ts +0 -5
  369. package/dist/api/resources/voice/types/index.d.ts +0 -1
  370. package/dist/api/resources/voice/types/index.js +0 -17
  371. package/dist/serialization/resources/voice/types/CreateVoiceChatCompletionsRequestBody.d.ts +0 -12
  372. package/dist/serialization/resources/voice/types/index.d.ts +0 -1
  373. package/dist/serialization/resources/voice/types/index.js +0 -17
  374. package/serialization/resources/voice/types/CreateVoiceChatCompletionsRequestBody.d.ts +0 -12
  375. package/serialization/resources/voice/types/index.d.ts +0 -1
  376. package/serialization/resources/voice/types/index.js +0 -17
  377. /package/api/resources/{providers/client/requests/ProvidersCheckRequest.js → agents/resources/messages/client/requests/LettaAsyncRequest.js} +0 -0
  378. /package/api/resources/{voice/types/CreateVoiceChatCompletionsRequestBody.js → tools/types/UpdateMcpServerRequest.js} +0 -0
  379. /package/{dist/api/resources/providers/client/requests/ProvidersCheckRequest.js → api/resources/tools/types/UpdateMcpServerResponse.js} +0 -0
  380. /package/{dist/api/resources/voice/types/CreateVoiceChatCompletionsRequestBody.js → api/types/ProviderCheck.js} +0 -0
@@ -4,12 +4,14 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { ToolAnnotations } from "./ToolAnnotations";
7
8
  export declare const McpTool: core.serialization.ObjectSchema<serializers.McpTool.Raw, Letta.McpTool>;
8
9
  export declare namespace McpTool {
9
10
  interface Raw {
10
11
  name: string;
11
12
  description?: string | null;
12
13
  inputSchema: Record<string, unknown>;
14
+ annotations?: ToolAnnotations.Raw | null;
13
15
  [key: string]: any;
14
16
  }
15
17
  }
@@ -38,10 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.McpTool = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const ToolAnnotations_1 = require("./ToolAnnotations");
41
42
  exports.McpTool = core.serialization
42
43
  .object({
43
44
  name: core.serialization.string(),
44
45
  description: core.serialization.string().optional(),
45
46
  inputSchema: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
47
+ annotations: ToolAnnotations_1.ToolAnnotations.optional(),
46
48
  })
47
49
  .passthrough();
@@ -15,6 +15,8 @@ export declare namespace Provider {
15
15
  provider_category: ProviderCategory.Raw;
16
16
  api_key?: string | null;
17
17
  base_url?: string | null;
18
+ access_key?: string | null;
19
+ region?: string | null;
18
20
  updated_at?: string | null;
19
21
  }
20
22
  }
@@ -47,5 +47,7 @@ exports.Provider = core.serialization.object({
47
47
  providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory),
48
48
  apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
49
49
  baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
50
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
51
+ region: core.serialization.string().optional(),
50
52
  updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
51
53
  });
@@ -0,0 +1,16 @@
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 { ProviderType } from "./ProviderType";
8
+ export declare const ProviderCheck: core.serialization.ObjectSchema<serializers.ProviderCheck.Raw, Letta.ProviderCheck>;
9
+ export declare namespace ProviderCheck {
10
+ interface Raw {
11
+ provider_type: ProviderType.Raw;
12
+ api_key: string;
13
+ access_key?: string | null;
14
+ region?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.ProviderCheck = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ProviderType_1 = require("./ProviderType");
42
+ exports.ProviderCheck = core.serialization.object({
43
+ providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
44
+ apiKey: core.serialization.property("api_key", core.serialization.string()),
45
+ accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
46
+ region: core.serialization.string().optional(),
47
+ });
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
8
8
  export declare namespace ProviderType {
9
- type Raw = "anthropic" | "bedrock" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm";
9
+ type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
10
10
  }
@@ -40,7 +40,6 @@ exports.ProviderType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ProviderType = core.serialization.enum_([
42
42
  "anthropic",
43
- "bedrock",
44
43
  "google_ai",
45
44
  "google_vertex",
46
45
  "openai",
@@ -54,4 +53,5 @@ exports.ProviderType = core.serialization.enum_([
54
53
  "together",
55
54
  "azure",
56
55
  "vllm",
56
+ "bedrock",
57
57
  ]);
@@ -21,6 +21,7 @@ export declare namespace Run {
21
21
  callback_url?: string | null;
22
22
  callback_sent_at?: string | null;
23
23
  callback_status_code?: number | null;
24
+ callback_error?: string | null;
24
25
  id?: string | null;
25
26
  request_config?: LettaRequestConfig.Raw | null;
26
27
  }
@@ -53,6 +53,7 @@ exports.Run = core.serialization.object({
53
53
  callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
54
54
  callbackSentAt: core.serialization.property("callback_sent_at", core.serialization.date().optional()),
55
55
  callbackStatusCode: core.serialization.property("callback_status_code", core.serialization.number().optional()),
56
+ callbackError: core.serialization.property("callback_error", core.serialization.string().optional()),
56
57
  id: core.serialization.string().optional(),
57
58
  requestConfig: core.serialization.property("request_config", LettaRequestConfig_1.LettaRequestConfig.optional()),
58
59
  });
@@ -11,5 +11,8 @@ export declare namespace SseServerConfig {
11
11
  server_name: string;
12
12
  type?: McpServerType.Raw | null;
13
13
  server_url: string;
14
+ auth_header?: string | null;
15
+ auth_token?: string | null;
16
+ custom_headers?: Record<string, string | null | undefined> | null;
14
17
  }
15
18
  }
@@ -43,4 +43,7 @@ exports.SseServerConfig = core.serialization.object({
43
43
  serverName: core.serialization.property("server_name", core.serialization.string()),
44
44
  type: McpServerType_1.McpServerType.optional(),
45
45
  serverUrl: core.serialization.property("server_url", core.serialization.string()),
46
+ authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
47
+ authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
48
+ customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
46
49
  });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
- export declare const LettaStopReasonStopReason: core.serialization.Schema<serializers.LettaStopReasonStopReason.Raw, Letta.LettaStopReasonStopReason>;
8
- export declare namespace LettaStopReasonStopReason {
9
- type Raw = "end_turn" | "error" | "invalid_tool_call" | "max_steps" | "no_tool_call";
7
+ export declare const StopReasonType: core.serialization.Schema<serializers.StopReasonType.Raw, Letta.StopReasonType>;
8
+ export declare namespace StopReasonType {
9
+ type Raw = "end_turn" | "error" | "invalid_tool_call" | "max_steps" | "no_tool_call" | "tool_rule";
10
10
  }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LettaStopReasonStopReason = void 0;
39
+ exports.StopReasonType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.LettaStopReasonStopReason = core.serialization.enum_(["end_turn", "error", "invalid_tool_call", "max_steps", "no_tool_call"]);
41
+ exports.StopReasonType = core.serialization.enum_(["end_turn", "error", "invalid_tool_call", "max_steps", "no_tool_call", "tool_rule"]);
@@ -0,0 +1,18 @@
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 { McpServerType } from "./McpServerType";
8
+ export declare const StreamableHttpServerConfig: core.serialization.ObjectSchema<serializers.StreamableHttpServerConfig.Raw, Letta.StreamableHttpServerConfig>;
9
+ export declare namespace StreamableHttpServerConfig {
10
+ interface Raw {
11
+ server_name: string;
12
+ type?: McpServerType.Raw | null;
13
+ server_url: string;
14
+ auth_header?: string | null;
15
+ auth_token?: string | null;
16
+ custom_headers?: Record<string, string | null | undefined> | null;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.StreamableHttpServerConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const McpServerType_1 = require("./McpServerType");
42
+ exports.StreamableHttpServerConfig = core.serialization.object({
43
+ serverName: core.serialization.property("server_name", core.serialization.string()),
44
+ type: McpServerType_1.McpServerType.optional(),
45
+ serverUrl: core.serialization.property("server_url", core.serialization.string()),
46
+ authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
47
+ authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
48
+ customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
49
+ });
@@ -0,0 +1,17 @@
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 ToolAnnotations: core.serialization.ObjectSchema<serializers.ToolAnnotations.Raw, Letta.ToolAnnotations>;
8
+ export declare namespace ToolAnnotations {
9
+ interface Raw {
10
+ title?: string | null;
11
+ readOnlyHint?: boolean | null;
12
+ destructiveHint?: boolean | null;
13
+ idempotentHint?: boolean | null;
14
+ openWorldHint?: boolean | null;
15
+ [key: string]: any;
16
+ }
17
+ }
@@ -0,0 +1,49 @@
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.ToolAnnotations = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ToolAnnotations = core.serialization
42
+ .object({
43
+ title: core.serialization.string().optional(),
44
+ readOnlyHint: core.serialization.boolean().optional(),
45
+ destructiveHint: core.serialization.boolean().optional(),
46
+ idempotentHint: core.serialization.boolean().optional(),
47
+ openWorldHint: core.serialization.boolean().optional(),
48
+ })
49
+ .passthrough();
@@ -0,0 +1,14 @@
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 UpdateSsemcpServer: core.serialization.ObjectSchema<serializers.UpdateSsemcpServer.Raw, Letta.UpdateSsemcpServer>;
8
+ export declare namespace UpdateSsemcpServer {
9
+ interface Raw {
10
+ server_name?: string | null;
11
+ server_url?: string | null;
12
+ token?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.UpdateSsemcpServer = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.UpdateSsemcpServer = core.serialization.object({
42
+ serverName: core.serialization.property("server_name", core.serialization.string().optional()),
43
+ serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
44
+ token: core.serialization.string().optional(),
45
+ });
@@ -0,0 +1,15 @@
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 UpdateStreamableHttpmcpServer: core.serialization.ObjectSchema<serializers.UpdateStreamableHttpmcpServer.Raw, Letta.UpdateStreamableHttpmcpServer>;
8
+ export declare namespace UpdateStreamableHttpmcpServer {
9
+ interface Raw {
10
+ server_name?: string | null;
11
+ server_url?: string | null;
12
+ auth_header?: string | null;
13
+ auth_token?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.UpdateStreamableHttpmcpServer = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.UpdateStreamableHttpmcpServer = core.serialization.object({
42
+ serverName: core.serialization.property("server_name", core.serialization.string().optional()),
43
+ serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
44
+ authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
45
+ authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
46
+ });
@@ -130,6 +130,7 @@ export * from "./LettaImage";
130
130
  export * from "./LettaRequest";
131
131
  export * from "./LettaRequestConfig";
132
132
  export * from "./LettaResponse";
133
+ export * from "./LettaStopReason";
133
134
  export * from "./LettaStreamingRequest";
134
135
  export * from "./LettaUsageStatistics";
135
136
  export * from "./LocalSandboxConfig";
@@ -158,6 +159,7 @@ export * from "./Passage";
158
159
  export * from "./PipRequirement";
159
160
  export * from "./Provider";
160
161
  export * from "./ProviderCategory";
162
+ export * from "./ProviderCheck";
161
163
  export * from "./ProviderTrace";
162
164
  export * from "./ProviderType";
163
165
  export * from "./ReasoningContent";
@@ -185,6 +187,8 @@ export * from "./SleeptimeManagerUpdate";
185
187
  export * from "./Source";
186
188
  export * from "./StdioServerConfig";
187
189
  export * from "./Step";
190
+ export * from "./StopReasonType";
191
+ export * from "./StreamableHttpServerConfig";
188
192
  export * from "./SupervisorManager";
189
193
  export * from "./SupervisorManagerUpdate";
190
194
  export * from "./SystemMessage";
@@ -193,6 +197,7 @@ export * from "./TerminalToolRule";
193
197
  export * from "./TextContent";
194
198
  export * from "./TextResponseFormat";
195
199
  export * from "./Tool";
200
+ export * from "./ToolAnnotations";
196
201
  export * from "./ToolCall";
197
202
  export * from "./ToolCallContent";
198
203
  export * from "./ToolCallDelta";
@@ -211,6 +216,8 @@ export * from "./ToolType";
211
216
  export * from "./UpdateAssistantMessageContent";
212
217
  export * from "./UpdateAssistantMessage";
213
218
  export * from "./UpdateReasoningMessage";
219
+ export * from "./UpdateSsemcpServer";
220
+ export * from "./UpdateStreamableHttpmcpServer";
214
221
  export * from "./UpdateSystemMessage";
215
222
  export * from "./UpdateUserMessageContent";
216
223
  export * from "./UpdateUserMessage";
@@ -238,5 +245,3 @@ export * from "./LettaMessageUnion";
238
245
  export * from "./LettaMessageContentUnion";
239
246
  export * from "./ComponentsSchemasTextContent";
240
247
  export * from "./LettaUserMessageContentUnion";
241
- export * from "./LettaStopReasonStopReason";
242
- export * from "./LettaStopReason";
@@ -146,6 +146,7 @@ __exportStar(require("./LettaImage"), exports);
146
146
  __exportStar(require("./LettaRequest"), exports);
147
147
  __exportStar(require("./LettaRequestConfig"), exports);
148
148
  __exportStar(require("./LettaResponse"), exports);
149
+ __exportStar(require("./LettaStopReason"), exports);
149
150
  __exportStar(require("./LettaStreamingRequest"), exports);
150
151
  __exportStar(require("./LettaUsageStatistics"), exports);
151
152
  __exportStar(require("./LocalSandboxConfig"), exports);
@@ -174,6 +175,7 @@ __exportStar(require("./Passage"), exports);
174
175
  __exportStar(require("./PipRequirement"), exports);
175
176
  __exportStar(require("./Provider"), exports);
176
177
  __exportStar(require("./ProviderCategory"), exports);
178
+ __exportStar(require("./ProviderCheck"), exports);
177
179
  __exportStar(require("./ProviderTrace"), exports);
178
180
  __exportStar(require("./ProviderType"), exports);
179
181
  __exportStar(require("./ReasoningContent"), exports);
@@ -201,6 +203,8 @@ __exportStar(require("./SleeptimeManagerUpdate"), exports);
201
203
  __exportStar(require("./Source"), exports);
202
204
  __exportStar(require("./StdioServerConfig"), exports);
203
205
  __exportStar(require("./Step"), exports);
206
+ __exportStar(require("./StopReasonType"), exports);
207
+ __exportStar(require("./StreamableHttpServerConfig"), exports);
204
208
  __exportStar(require("./SupervisorManager"), exports);
205
209
  __exportStar(require("./SupervisorManagerUpdate"), exports);
206
210
  __exportStar(require("./SystemMessage"), exports);
@@ -209,6 +213,7 @@ __exportStar(require("./TerminalToolRule"), exports);
209
213
  __exportStar(require("./TextContent"), exports);
210
214
  __exportStar(require("./TextResponseFormat"), exports);
211
215
  __exportStar(require("./Tool"), exports);
216
+ __exportStar(require("./ToolAnnotations"), exports);
212
217
  __exportStar(require("./ToolCall"), exports);
213
218
  __exportStar(require("./ToolCallContent"), exports);
214
219
  __exportStar(require("./ToolCallDelta"), exports);
@@ -227,6 +232,8 @@ __exportStar(require("./ToolType"), exports);
227
232
  __exportStar(require("./UpdateAssistantMessageContent"), exports);
228
233
  __exportStar(require("./UpdateAssistantMessage"), exports);
229
234
  __exportStar(require("./UpdateReasoningMessage"), exports);
235
+ __exportStar(require("./UpdateSsemcpServer"), exports);
236
+ __exportStar(require("./UpdateStreamableHttpmcpServer"), exports);
230
237
  __exportStar(require("./UpdateSystemMessage"), exports);
231
238
  __exportStar(require("./UpdateUserMessageContent"), exports);
232
239
  __exportStar(require("./UpdateUserMessage"), exports);
@@ -254,5 +261,3 @@ __exportStar(require("./LettaMessageUnion"), exports);
254
261
  __exportStar(require("./LettaMessageContentUnion"), exports);
255
262
  __exportStar(require("./ComponentsSchemasTextContent"), exports);
256
263
  __exportStar(require("./LettaUserMessageContentUnion"), exports);
257
- __exportStar(require("./LettaStopReasonStopReason"), exports);
258
- __exportStar(require("./LettaStopReason"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.130";
1
+ export declare const SDK_VERSION = "0.1.132";
package/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.1.130";
4
+ exports.SDK_VERSION = "0.1.132";
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * apiKey: "x-api-key",
9
- * providerType: "anthropic"
10
- * }
11
- */
12
- export interface ProvidersCheckRequest {
13
- providerType: Letta.ProviderType;
14
- apiKey: string;
15
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../index";
5
- export type CreateVoiceChatCompletionsRequestBody = Letta.CompletionCreateParamsNonStreaming | Letta.CompletionCreateParamsStreaming;
@@ -1 +0,0 @@
1
- export * from "./CreateVoiceChatCompletionsRequestBody";
@@ -1,17 +0,0 @@
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("./CreateVoiceChatCompletionsRequestBody"), exports);
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * apiKey: "x-api-key",
9
- * providerType: "anthropic"
10
- * }
11
- */
12
- export interface ProvidersCheckRequest {
13
- providerType: Letta.ProviderType;
14
- apiKey: string;
15
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../index";
5
- export type CreateVoiceChatCompletionsRequestBody = Letta.CompletionCreateParamsNonStreaming | Letta.CompletionCreateParamsStreaming;
@@ -1 +0,0 @@
1
- export * from "./CreateVoiceChatCompletionsRequestBody";