@letta-ai/letta-react 0.0.9 → 0.1.1

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 (1568) hide show
  1. package/README.md +3 -132
  2. package/dist/hooks/agentsHooks/index.d.ts +72 -0
  3. package/dist/hooks/agentsHooks/useAgents/createTemplateFromAgent.d.ts +39 -0
  4. package/dist/hooks/agentsHooks/useAgents/getAgentVariables.d.ts +63 -0
  5. package/dist/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.d.ts +63 -0
  6. package/dist/hooks/agentsHooks/useAgents/index.d.ts +12 -0
  7. package/dist/hooks/agentsHooks/useAgents/migrateAgent.d.ts +39 -0
  8. package/dist/hooks/agentsHooks/useAgents/searchDeployedAgents.d.ts +37 -0
  9. package/dist/hooks/agentsHooks/useAgents/versionAgentTemplate.d.ts +41 -0
  10. package/dist/hooks/agentsHooks/useCreateAgent.d.ts +39 -0
  11. package/dist/hooks/agentsHooks/useCreateAgentMessageAsync.d.ts +39 -0
  12. package/dist/hooks/agentsHooks/useCreateAgentMessageStream.d.ts +39 -0
  13. package/dist/hooks/agentsHooks/useCreatePassage.d.ts +39 -0
  14. package/dist/hooks/agentsHooks/useDeleteAgent.d.ts +37 -0
  15. package/dist/hooks/agentsHooks/useDeletePassage.d.ts +39 -0
  16. package/dist/hooks/agentsHooks/useExportAgentSerialized.d.ts +63 -0
  17. package/dist/hooks/agentsHooks/useExportAgentSerializedSuspense.d.ts +63 -0
  18. package/dist/hooks/agentsHooks/useImportAgentSerialized.d.ts +39 -0
  19. package/dist/hooks/agentsHooks/useListAgentSources.d.ts +63 -0
  20. package/dist/hooks/agentsHooks/useListAgentSourcesSuspense.d.ts +63 -0
  21. package/dist/hooks/agentsHooks/useListAgentTools.d.ts +63 -0
  22. package/dist/hooks/agentsHooks/useListAgentToolsSuspense.d.ts +63 -0
  23. package/dist/hooks/agentsHooks/useListAgents.d.ts +51 -0
  24. package/dist/hooks/agentsHooks/useListAgentsSuspense.d.ts +51 -0
  25. package/dist/hooks/agentsHooks/useListCoreMemoryBlocks.d.ts +63 -0
  26. package/dist/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.d.ts +63 -0
  27. package/dist/hooks/agentsHooks/useListMessages.d.ts +63 -0
  28. package/dist/hooks/agentsHooks/useListMessagesSuspense.d.ts +63 -0
  29. package/dist/hooks/agentsHooks/useListPassages.d.ts +63 -0
  30. package/dist/hooks/agentsHooks/useListPassagesSuspense.d.ts +63 -0
  31. package/dist/hooks/agentsHooks/useRetrieveAgent.d.ts +63 -0
  32. package/dist/hooks/agentsHooks/useRetrieveAgentContextWindow.d.ts +63 -0
  33. package/dist/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.d.ts +63 -0
  34. package/dist/hooks/agentsHooks/useRetrieveAgentMemory.d.ts +63 -0
  35. package/dist/hooks/agentsHooks/useRetrieveAgentMemorySuspense.d.ts +63 -0
  36. package/dist/hooks/agentsHooks/useRetrieveAgentSuspense.d.ts +63 -0
  37. package/dist/hooks/agentsHooks/useRetrieveCoreMemoryBlock.d.ts +67 -0
  38. package/dist/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.d.ts +67 -0
  39. package/dist/hooks/agentsHooks/useSendMessage.d.ts +39 -0
  40. package/dist/hooks/blocksHooks/index.d.ts +16 -0
  41. package/dist/hooks/blocksHooks/useCreateBlock.d.ts +35 -0
  42. package/dist/hooks/blocksHooks/useDeleteBlock.d.ts +35 -0
  43. package/dist/hooks/blocksHooks/useListAgentsForBlock.d.ts +63 -0
  44. package/dist/hooks/blocksHooks/useListAgentsForBlockSuspense.d.ts +63 -0
  45. package/dist/hooks/blocksHooks/useListBlocks.d.ts +49 -0
  46. package/dist/hooks/blocksHooks/useListBlocksSuspense.d.ts +49 -0
  47. package/dist/hooks/blocksHooks/useRetrieveBlock.d.ts +61 -0
  48. package/dist/hooks/blocksHooks/useRetrieveBlockSuspense.d.ts +61 -0
  49. package/dist/hooks/clientSideAccessTokensHooks/index.d.ts +4 -0
  50. package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.d.ts +37 -0
  51. package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.d.ts +39 -0
  52. package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.d.ts +4 -0
  53. package/dist/hooks/groupsHooks/index.d.ts +20 -0
  54. package/dist/hooks/groupsHooks/useCreateGroup.d.ts +39 -0
  55. package/dist/hooks/groupsHooks/useDeleteGroup.d.ts +37 -0
  56. package/dist/hooks/groupsHooks/useListGroupMessages.d.ts +63 -0
  57. package/dist/hooks/groupsHooks/useListGroupMessagesSuspense.d.ts +63 -0
  58. package/dist/hooks/groupsHooks/useListGroups.d.ts +51 -0
  59. package/dist/hooks/groupsHooks/useListGroupsSuspense.d.ts +51 -0
  60. package/dist/hooks/groupsHooks/useRetrieveGroup.d.ts +63 -0
  61. package/dist/hooks/groupsHooks/useRetrieveGroupSuspense.d.ts +63 -0
  62. package/dist/hooks/groupsHooks/useSendGroupMessage.d.ts +39 -0
  63. package/dist/hooks/groupsHooks/useSendGroupMessageStreaming.d.ts +39 -0
  64. package/dist/hooks/healthHooks/index.d.ts +4 -0
  65. package/dist/hooks/healthHooks/useHealthCheck.d.ts +49 -0
  66. package/dist/hooks/healthHooks/useHealthCheckSuspense.d.ts +49 -0
  67. package/dist/hooks/identitiesHooks/index.d.ts +16 -0
  68. package/dist/hooks/identitiesHooks/useCreateIdentity.d.ts +37 -0
  69. package/dist/hooks/identitiesHooks/useDeleteIdentity.d.ts +37 -0
  70. package/dist/hooks/identitiesHooks/useListIdentities.d.ts +51 -0
  71. package/dist/hooks/identitiesHooks/useListIdentitiesSuspense.d.ts +51 -0
  72. package/dist/hooks/identitiesHooks/useRetrieveIdentity.d.ts +61 -0
  73. package/dist/hooks/identitiesHooks/useRetrieveIdentitySuspense.d.ts +61 -0
  74. package/dist/hooks/identitiesHooks/useUpsertIdentity.d.ts +37 -0
  75. package/dist/hooks/identitiesHooks/useUpsertIdentityProperties.d.ts +37 -0
  76. package/dist/hooks/index.d.ts +274 -0
  77. package/dist/hooks/jobsHooks/index.d.ts +14 -0
  78. package/dist/hooks/jobsHooks/useDeleteJob.d.ts +37 -0
  79. package/dist/hooks/jobsHooks/useListActiveJobs.d.ts +51 -0
  80. package/dist/hooks/jobsHooks/useListActiveJobsSuspense.d.ts +51 -0
  81. package/dist/hooks/jobsHooks/useListJobs.d.ts +51 -0
  82. package/dist/hooks/jobsHooks/useListJobsSuspense.d.ts +51 -0
  83. package/dist/hooks/jobsHooks/useRetrieveJob.d.ts +63 -0
  84. package/dist/hooks/jobsHooks/useRetrieveJobSuspense.d.ts +63 -0
  85. package/dist/hooks/modelsHooks/index.d.ts +8 -0
  86. package/dist/hooks/modelsHooks/useListEmbeddingModels.d.ts +49 -0
  87. package/dist/hooks/modelsHooks/useListEmbeddingModelsSuspense.d.ts +49 -0
  88. package/dist/hooks/modelsHooks/useListModels.d.ts +49 -0
  89. package/dist/hooks/modelsHooks/useListModelsSuspense.d.ts +49 -0
  90. package/dist/hooks/providersHooks/index.d.ts +8 -0
  91. package/dist/hooks/providersHooks/useCreateProvider.d.ts +37 -0
  92. package/dist/hooks/providersHooks/useDeleteProvider.d.ts +37 -0
  93. package/dist/hooks/providersHooks/useListProviders.d.ts +51 -0
  94. package/dist/hooks/providersHooks/useListProvidersSuspense.d.ts +51 -0
  95. package/dist/hooks/runsHooks/index.d.ts +26 -0
  96. package/dist/hooks/runsHooks/useDeleteRun.d.ts +37 -0
  97. package/dist/hooks/runsHooks/useListActiveRuns.d.ts +51 -0
  98. package/dist/hooks/runsHooks/useListActiveRunsSuspense.d.ts +51 -0
  99. package/dist/hooks/runsHooks/useListRunMessages.d.ts +63 -0
  100. package/dist/hooks/runsHooks/useListRunMessagesSuspense.d.ts +63 -0
  101. package/dist/hooks/runsHooks/useListRunSteps.d.ts +63 -0
  102. package/dist/hooks/runsHooks/useListRunStepsSuspense.d.ts +63 -0
  103. package/dist/hooks/runsHooks/useListRuns.d.ts +51 -0
  104. package/dist/hooks/runsHooks/useListRunsSuspense.d.ts +51 -0
  105. package/dist/hooks/runsHooks/useRetrieveRun.d.ts +63 -0
  106. package/dist/hooks/runsHooks/useRetrieveRunSuspense.d.ts +63 -0
  107. package/dist/hooks/runsHooks/useRetrieveRunUsage.d.ts +63 -0
  108. package/dist/hooks/runsHooks/useRetrieveRunUsageSuspense.d.ts +63 -0
  109. package/dist/hooks/sourcesHooks/index.d.ts +28 -0
  110. package/dist/hooks/sourcesHooks/useCreateSource.d.ts +37 -0
  111. package/dist/hooks/sourcesHooks/useDeleteFileFromSource.d.ts +39 -0
  112. package/dist/hooks/sourcesHooks/useDeleteSource.d.ts +37 -0
  113. package/dist/hooks/sourcesHooks/useGetSourceIdByName.d.ts +63 -0
  114. package/dist/hooks/sourcesHooks/useGetSourceIdByNameSuspense.d.ts +63 -0
  115. package/dist/hooks/sourcesHooks/useListSourceFiles.d.ts +63 -0
  116. package/dist/hooks/sourcesHooks/useListSourceFilesSuspense.d.ts +63 -0
  117. package/dist/hooks/sourcesHooks/useListSourcePassages.d.ts +63 -0
  118. package/dist/hooks/sourcesHooks/useListSourcePassagesSuspense.d.ts +63 -0
  119. package/dist/hooks/sourcesHooks/useListSources.d.ts +51 -0
  120. package/dist/hooks/sourcesHooks/useListSourcesSuspense.d.ts +51 -0
  121. package/dist/hooks/sourcesHooks/useRetrieveSource.d.ts +63 -0
  122. package/dist/hooks/sourcesHooks/useRetrieveSourceSuspense.d.ts +63 -0
  123. package/dist/hooks/sourcesHooks/useUploadFileToSource.d.ts +39 -0
  124. package/dist/hooks/stepsHooks/index.d.ts +8 -0
  125. package/dist/hooks/stepsHooks/useListSteps.d.ts +51 -0
  126. package/dist/hooks/stepsHooks/useListStepsSuspense.d.ts +51 -0
  127. package/dist/hooks/stepsHooks/useRetrieveStep.d.ts +63 -0
  128. package/dist/hooks/stepsHooks/useRetrieveStepSuspense.d.ts +63 -0
  129. package/dist/hooks/tagHooks/index.d.ts +4 -0
  130. package/dist/hooks/tagHooks/useListTags.d.ts +51 -0
  131. package/dist/hooks/tagHooks/useListTagsSuspense.d.ts +51 -0
  132. package/dist/hooks/templatesHooks/index.d.ts +2 -0
  133. package/dist/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.d.ts +41 -0
  134. package/dist/hooks/templatesHooks/useTemplates/index.d.ts +2 -0
  135. package/dist/hooks/toolsHooks/index.d.ts +42 -0
  136. package/dist/hooks/toolsHooks/useAddBaseTools.d.ts +33 -0
  137. package/dist/hooks/toolsHooks/useAddComposioTool.d.ts +37 -0
  138. package/dist/hooks/toolsHooks/useAddMcpServer.d.ts +37 -0
  139. package/dist/hooks/toolsHooks/useAddMcpTool.d.ts +39 -0
  140. package/dist/hooks/toolsHooks/useCreateTool.d.ts +37 -0
  141. package/dist/hooks/toolsHooks/useDeleteMcpServer.d.ts +37 -0
  142. package/dist/hooks/toolsHooks/useDeleteTool.d.ts +37 -0
  143. package/dist/hooks/toolsHooks/useListComposioActionsByApp.d.ts +63 -0
  144. package/dist/hooks/toolsHooks/useListComposioActionsByAppSuspense.d.ts +63 -0
  145. package/dist/hooks/toolsHooks/useListComposioApps.d.ts +51 -0
  146. package/dist/hooks/toolsHooks/useListComposioAppsSuspense.d.ts +51 -0
  147. package/dist/hooks/toolsHooks/useListMcpServers.d.ts +51 -0
  148. package/dist/hooks/toolsHooks/useListMcpServersSuspense.d.ts +51 -0
  149. package/dist/hooks/toolsHooks/useListMcpToolsByServer.d.ts +63 -0
  150. package/dist/hooks/toolsHooks/useListMcpToolsByServerSuspense.d.ts +63 -0
  151. package/dist/hooks/toolsHooks/useListTools.d.ts +51 -0
  152. package/dist/hooks/toolsHooks/useListToolsSuspense.d.ts +51 -0
  153. package/dist/hooks/toolsHooks/useRetrieveTool.d.ts +63 -0
  154. package/dist/hooks/toolsHooks/useRetrieveToolSuspense.d.ts +63 -0
  155. package/dist/hooks/toolsHooks/useRunToolFromSource.d.ts +37 -0
  156. package/dist/hooks/toolsHooks/useUpsertTool.d.ts +37 -0
  157. package/dist/hooks/voiceHooks/index.d.ts +2 -0
  158. package/dist/hooks/voiceHooks/useCreateVoiceChatCompletions.d.ts +39 -0
  159. package/dist/index.d.ts +602 -4
  160. package/dist/index.js +10249 -4
  161. package/dist/index.js.map +7 -0
  162. package/dist/types/ActionModel.d.ts +54 -0
  163. package/dist/types/ActionParametersModel.d.ts +25 -0
  164. package/dist/types/ActionResponseModel.d.ts +25 -0
  165. package/dist/types/AddBaseTools.d.ts +19 -0
  166. package/dist/types/AddComposioTool.d.ts +26 -0
  167. package/dist/types/AddMcpServer.d.ts +22 -0
  168. package/dist/types/AddMcpTool.d.ts +30 -0
  169. package/dist/types/AgentEnvironmentVariable.d.ts +47 -0
  170. package/dist/types/AgentSchema.d.ts +86 -0
  171. package/dist/types/AgentState.d.ts +140 -0
  172. package/dist/types/AgentType.d.ts +14 -0
  173. package/dist/types/AppAuthScheme.d.ts +44 -0
  174. package/dist/types/AppModel.d.ts +56 -0
  175. package/dist/types/AssistantMessage.d.ts +33 -0
  176. package/dist/types/AttachCoreMemoryBlock.d.ts +30 -0
  177. package/dist/types/AttachSourceToAgent.d.ts +30 -0
  178. package/dist/types/AttachTool.d.ts +30 -0
  179. package/dist/types/Audio.d.ts +10 -0
  180. package/dist/types/AuthRequest.d.ts +11 -0
  181. package/dist/types/AuthResponse.d.ts +15 -0
  182. package/dist/types/AuthSchemeField.d.ts +34 -0
  183. package/dist/types/BaseToolRuleSchema.d.ts +14 -0
  184. package/dist/types/Block.d.ts +59 -0
  185. package/dist/types/BlockUpdate.d.ts +42 -0
  186. package/dist/types/BodyImportAgentSerialized.d.ts +10 -0
  187. package/dist/types/BodyUploadFileToSource.d.ts +10 -0
  188. package/dist/types/ChatCompletionAssistantMessageParam.d.ts +27 -0
  189. package/dist/types/ChatCompletionAudioParam.d.ts +33 -0
  190. package/dist/types/ChatCompletionContentPartImageParam.d.ts +15 -0
  191. package/dist/types/ChatCompletionContentPartInputAudioParam.d.ts +15 -0
  192. package/dist/types/ChatCompletionContentPartRefusalParam.d.ts +14 -0
  193. package/dist/types/ChatCompletionContentPartTextParam.d.ts +14 -0
  194. package/dist/types/ChatCompletionDeveloperMessageParam.d.ts +16 -0
  195. package/dist/types/ChatCompletionFunctionCallOptionParam.d.ts +10 -0
  196. package/dist/types/ChatCompletionFunctionMessageParam.d.ts +15 -0
  197. package/dist/types/ChatCompletionMessageToolCall.d.ts +20 -0
  198. package/dist/types/ChatCompletionMessageToolCallParam.d.ts +19 -0
  199. package/dist/types/ChatCompletionNamedToolChoiceParam.d.ts +15 -0
  200. package/dist/types/ChatCompletionPredictionContentParam.d.ts +12 -0
  201. package/dist/types/ChatCompletionStreamOptionsParam.d.ts +10 -0
  202. package/dist/types/ChatCompletionSystemMessageParam.d.ts +16 -0
  203. package/dist/types/ChatCompletionToolMessageParam.d.ts +16 -0
  204. package/dist/types/ChatCompletionToolParam.d.ts +15 -0
  205. package/dist/types/ChatCompletionUserMessageParam.d.ts +19 -0
  206. package/dist/types/ChildToolRule.d.ts +24 -0
  207. package/dist/types/ChildToolRuleSchema.d.ts +18 -0
  208. package/dist/types/CompletionCreateParamsNonStreaming.d.ts +149 -0
  209. package/dist/types/CompletionCreateParamsStreaming.d.ts +152 -0
  210. package/dist/types/ConditionalToolRule.d.ts +36 -0
  211. package/dist/types/ConditionalToolRuleSchema.d.ts +25 -0
  212. package/dist/types/ContextWindowOverview.d.ts +94 -0
  213. package/dist/types/ContinueToolRule.d.ts +19 -0
  214. package/dist/types/CoreMemoryBlockSchema.d.ts +35 -0
  215. package/dist/types/CreateAgent.d.ts +26 -0
  216. package/dist/types/CreateAgentMessageAsync.d.ts +29 -0
  217. package/dist/types/CreateAgentMessageStream.d.ts +28 -0
  218. package/dist/types/CreateAgentRequest.d.ts +185 -0
  219. package/dist/types/CreateArchivalMemory.d.ts +11 -0
  220. package/dist/types/CreateBlock.d.ts +62 -0
  221. package/dist/types/CreateGroup.d.ts +26 -0
  222. package/dist/types/CreateIdentity.d.ts +26 -0
  223. package/dist/types/CreatePassage.d.ts +29 -0
  224. package/dist/types/CreateProvider.d.ts +22 -0
  225. package/dist/types/CreateSource.d.ts +22 -0
  226. package/dist/types/CreateTool.d.ts +22 -0
  227. package/dist/types/CreateVoiceChatCompletions.d.ts +33 -0
  228. package/dist/types/DeleteAgent.d.ts +25 -0
  229. package/dist/types/DeleteBlock.d.ts +26 -0
  230. package/dist/types/DeleteFileFromSource.d.ts +29 -0
  231. package/dist/types/DeleteGroup.d.ts +25 -0
  232. package/dist/types/DeleteIdentity.d.ts +25 -0
  233. package/dist/types/DeleteJob.d.ts +26 -0
  234. package/dist/types/DeleteMcpServer.d.ts +27 -0
  235. package/dist/types/DeletePassage.d.ts +29 -0
  236. package/dist/types/DeleteProvider.d.ts +26 -0
  237. package/dist/types/DeleteRun.d.ts +26 -0
  238. package/dist/types/DeleteSource.d.ts +25 -0
  239. package/dist/types/DeleteTool.d.ts +25 -0
  240. package/dist/types/DetachCoreMemoryBlock.d.ts +30 -0
  241. package/dist/types/DetachSourceFromAgent.d.ts +30 -0
  242. package/dist/types/DetachTool.d.ts +30 -0
  243. package/dist/types/DynamicManager.d.ts +20 -0
  244. package/dist/types/DynamicManagerUpdate.d.ts +14 -0
  245. package/dist/types/E2BSandboxConfig.d.ts +20 -0
  246. package/dist/types/EmbeddingConfig.d.ts +71 -0
  247. package/dist/types/ExportAgentSerialized.d.ts +28 -0
  248. package/dist/types/File.d.ts +15 -0
  249. package/dist/types/FileFile.d.ts +18 -0
  250. package/dist/types/FileMetadata.d.ts +58 -0
  251. package/dist/types/FunctionCall.d.ts +14 -0
  252. package/dist/types/FunctionDefinitionInput.d.ts +21 -0
  253. package/dist/types/FunctionDefinitionOutput.d.ts +16 -0
  254. package/dist/types/FunctionOutput.d.ts +15 -0
  255. package/dist/types/FunctionTool.d.ts +16 -0
  256. package/dist/types/GetSourceIdByName.d.ts +25 -0
  257. package/dist/types/Group.d.ts +34 -0
  258. package/dist/types/GroupCreate.d.ts +26 -0
  259. package/dist/types/GroupUpdate.d.ts +14 -0
  260. package/dist/types/HTTPValidationError.d.ts +11 -0
  261. package/dist/types/Health.d.ts +17 -0
  262. package/dist/types/HealthCheck.d.ts +14 -0
  263. package/dist/types/HiddenReasoningMessage.d.ts +38 -0
  264. package/dist/types/Identity.d.ts +47 -0
  265. package/dist/types/IdentityCreate.d.ts +38 -0
  266. package/dist/types/IdentityProperty.d.ts +25 -0
  267. package/dist/types/IdentityPropertyType.d.ts +15 -0
  268. package/dist/types/IdentityType.d.ts +14 -0
  269. package/dist/types/IdentityUpdate.d.ts +32 -0
  270. package/dist/types/IdentityUpsert.d.ts +38 -0
  271. package/dist/types/ImageURL.d.ts +20 -0
  272. package/dist/types/ImportAgentSerialized.d.ts +47 -0
  273. package/dist/types/InitToolRule.d.ts +19 -0
  274. package/dist/types/InputAudio.d.ts +19 -0
  275. package/dist/types/JSONSchema.d.ts +21 -0
  276. package/dist/types/Job.d.ts +51 -0
  277. package/dist/types/JobStatus.d.ts +18 -0
  278. package/dist/types/JobType.d.ts +10 -0
  279. package/dist/types/LLMConfig.d.ts +89 -0
  280. package/dist/types/LettaAssistantMessageContentUnion.d.ts +12 -0
  281. package/dist/types/LettaMessageContentUnion.d.ts +32 -0
  282. package/dist/types/LettaMessageUnion.d.ts +36 -0
  283. package/dist/types/LettaRequest.d.ts +30 -0
  284. package/dist/types/LettaRequestConfig.d.ts +24 -0
  285. package/dist/types/LettaResponse.d.ts +20 -0
  286. package/dist/types/LettaStreamingRequest.d.ts +36 -0
  287. package/dist/types/LettaUsageStatistics.d.ts +47 -0
  288. package/dist/types/LettaUserMessageContentUnion.d.ts +12 -0
  289. package/dist/types/ListActiveJobs.d.ts +19 -0
  290. package/dist/types/ListActiveRuns.d.ts +26 -0
  291. package/dist/types/ListAgentSources.d.ts +26 -0
  292. package/dist/types/ListAgentTools.d.ts +26 -0
  293. package/dist/types/ListAgents.d.ts +83 -0
  294. package/dist/types/ListAgentsForBlock.d.ts +26 -0
  295. package/dist/types/ListBlocks.d.ts +44 -0
  296. package/dist/types/ListComposioActionsByApp.d.ts +26 -0
  297. package/dist/types/ListComposioApps.d.ts +23 -0
  298. package/dist/types/ListCoreMemoryBlocks.d.ts +26 -0
  299. package/dist/types/ListEmbeddingModels.d.ts +14 -0
  300. package/dist/types/ListGroupMessages.d.ts +61 -0
  301. package/dist/types/ListGroups.d.ts +43 -0
  302. package/dist/types/ListIdentities.d.ts +33 -0
  303. package/dist/types/ListJobs.d.ts +26 -0
  304. package/dist/types/ListMcpServers.d.ts +26 -0
  305. package/dist/types/ListMcpToolsByServer.d.ts +26 -0
  306. package/dist/types/ListMessages.d.ts +65 -0
  307. package/dist/types/ListModels.d.ts +14 -0
  308. package/dist/types/ListPassages.d.ts +50 -0
  309. package/dist/types/ListProviders.d.ts +27 -0
  310. package/dist/types/ListRunMessages.d.ts +53 -0
  311. package/dist/types/ListRunSteps.d.ts +48 -0
  312. package/dist/types/ListRuns.d.ts +26 -0
  313. package/dist/types/ListSourceFiles.d.ts +39 -0
  314. package/dist/types/ListSourcePassages.d.ts +26 -0
  315. package/dist/types/ListSources.d.ts +19 -0
  316. package/dist/types/ListSteps.d.ts +56 -0
  317. package/dist/types/ListTags.d.ts +27 -0
  318. package/dist/types/ListTools.d.ts +28 -0
  319. package/dist/types/LocalSandboxConfig.d.ts +28 -0
  320. package/dist/types/MCPServerType.d.ts +10 -0
  321. package/dist/types/MCPTool.d.ts +21 -0
  322. package/dist/types/ManagerType.d.ts +13 -0
  323. package/dist/types/MaxCountPerStepToolRule.d.ts +24 -0
  324. package/dist/types/MaxCountPerStepToolRuleSchema.d.ts +18 -0
  325. package/dist/types/Memory.d.ts +21 -0
  326. package/dist/types/Message.d.ts +85 -0
  327. package/dist/types/MessageCreate.d.ts +32 -0
  328. package/dist/types/MessageRole.d.ts +13 -0
  329. package/dist/types/MessageSchema.d.ts +35 -0
  330. package/dist/types/ModifyAgent.d.ts +29 -0
  331. package/dist/types/ModifyBlock.d.ts +29 -0
  332. package/dist/types/ModifyCoreMemoryBlock.d.ts +33 -0
  333. package/dist/types/ModifyGroup.d.ts +33 -0
  334. package/dist/types/ModifyGroupMessage.d.ts +42 -0
  335. package/dist/types/ModifyMessage.d.ts +42 -0
  336. package/dist/types/ModifyPassage.d.ts +33 -0
  337. package/dist/types/ModifyProvider.d.ts +22 -0
  338. package/dist/types/ModifySource.d.ts +29 -0
  339. package/dist/types/ModifyTool.d.ts +29 -0
  340. package/dist/types/OmittedReasoningContent.d.ts +21 -0
  341. package/dist/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +14 -0
  342. package/dist/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +10 -0
  343. package/dist/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +20 -0
  344. package/dist/types/Organization.d.ts +28 -0
  345. package/dist/types/OrganizationCreate.d.ts +15 -0
  346. package/dist/types/OrganizationUpdate.d.ts +15 -0
  347. package/dist/types/ParameterProperties.d.ts +11 -0
  348. package/dist/types/ParametersSchema.d.ts +21 -0
  349. package/dist/types/ParentToolRule.d.ts +24 -0
  350. package/dist/types/Passage.d.ts +71 -0
  351. package/dist/types/PassageUpdate.d.ts +65 -0
  352. package/dist/types/PipRequirement.d.ts +16 -0
  353. package/dist/types/Provider.d.ts +23 -0
  354. package/dist/types/ProviderCreate.d.ts +16 -0
  355. package/dist/types/ProviderUpdate.d.ts +16 -0
  356. package/dist/types/ReasoningContent.d.ts +30 -0
  357. package/dist/types/ReasoningMessage.d.ts +43 -0
  358. package/dist/types/RedactedReasoningContent.d.ts +21 -0
  359. package/dist/types/ResetGroupMessages.d.ts +25 -0
  360. package/dist/types/ResetMessages.d.ts +35 -0
  361. package/dist/types/ResponseFormatJSONObject.d.ts +10 -0
  362. package/dist/types/ResponseFormatJSONSchema.d.ts +15 -0
  363. package/dist/types/ResponseFormatText.d.ts +10 -0
  364. package/dist/types/RetrieveAgent.d.ts +26 -0
  365. package/dist/types/RetrieveAgentContextWindow.d.ts +26 -0
  366. package/dist/types/RetrieveAgentMemory.d.ts +26 -0
  367. package/dist/types/RetrieveBlock.d.ts +26 -0
  368. package/dist/types/RetrieveCoreMemoryBlock.d.ts +30 -0
  369. package/dist/types/RetrieveGroup.d.ts +26 -0
  370. package/dist/types/RetrieveIdentity.d.ts +26 -0
  371. package/dist/types/RetrieveJob.d.ts +26 -0
  372. package/dist/types/RetrieveRun.d.ts +26 -0
  373. package/dist/types/RetrieveRunUsage.d.ts +26 -0
  374. package/dist/types/RetrieveSource.d.ts +26 -0
  375. package/dist/types/RetrieveStep.d.ts +26 -0
  376. package/dist/types/RetrieveTool.d.ts +26 -0
  377. package/dist/types/RoundRobinManager.d.ts +12 -0
  378. package/dist/types/RoundRobinManagerUpdate.d.ts +12 -0
  379. package/dist/types/Run.d.ts +56 -0
  380. package/dist/types/RunToolFromSource.d.ts +22 -0
  381. package/dist/types/SSEServerConfig.d.ts +21 -0
  382. package/dist/types/SandboxConfig.d.ts +40 -0
  383. package/dist/types/SandboxConfigCreate.d.ts +12 -0
  384. package/dist/types/SandboxConfigUpdate.d.ts +15 -0
  385. package/dist/types/SandboxEnvironmentVariable.d.ts +47 -0
  386. package/dist/types/SandboxEnvironmentVariableCreate.d.ts +20 -0
  387. package/dist/types/SandboxEnvironmentVariableUpdate.d.ts +18 -0
  388. package/dist/types/SandboxType.d.ts +10 -0
  389. package/dist/types/SendGroupMessage.d.ts +29 -0
  390. package/dist/types/SendGroupMessageStreaming.d.ts +28 -0
  391. package/dist/types/SendMessage.d.ts +29 -0
  392. package/dist/types/SleeptimeManager.d.ts +16 -0
  393. package/dist/types/SleeptimeManagerUpdate.d.ts +13 -0
  394. package/dist/types/Source.d.ts +51 -0
  395. package/dist/types/SourceCreate.d.ts +37 -0
  396. package/dist/types/SourceUpdate.d.ts +28 -0
  397. package/dist/types/StdioServerConfig.d.ts +32 -0
  398. package/dist/types/Step.d.ts +80 -0
  399. package/dist/types/SupervisorManager.d.ts +15 -0
  400. package/dist/types/SupervisorManagerUpdate.d.ts +12 -0
  401. package/dist/types/SystemMessage.d.ts +33 -0
  402. package/dist/types/TagSchema.d.ts +10 -0
  403. package/dist/types/TerminalToolRule.d.ts +19 -0
  404. package/dist/types/TextContent.d.ts +21 -0
  405. package/dist/types/Tool.d.ts +73 -0
  406. package/dist/types/ToolCall.d.ts +18 -0
  407. package/dist/types/ToolCallContent.d.ts +34 -0
  408. package/dist/types/ToolCallDelta.d.ts +9 -0
  409. package/dist/types/ToolCallMessage.d.ts +31 -0
  410. package/dist/types/ToolCreate.d.ts +44 -0
  411. package/dist/types/ToolEnvVarSchema.d.ts +23 -0
  412. package/dist/types/ToolJSONSchema.d.ts +21 -0
  413. package/dist/types/ToolReturn.d.ts +24 -0
  414. package/dist/types/ToolReturnContent.d.ts +27 -0
  415. package/dist/types/ToolReturnMessage.d.ts +47 -0
  416. package/dist/types/ToolRunFromSource.d.ts +45 -0
  417. package/dist/types/ToolSchema.d.ts +48 -0
  418. package/dist/types/ToolType.d.ts +16 -0
  419. package/dist/types/ToolUpdate.d.ts +38 -0
  420. package/dist/types/UpdateAgent.d.ts +103 -0
  421. package/dist/types/UpdateAssistantMessage.d.ts +16 -0
  422. package/dist/types/UpdateIdentity.d.ts +29 -0
  423. package/dist/types/UpdateReasoningMessage.d.ts +15 -0
  424. package/dist/types/UpdateSystemMessage.d.ts +16 -0
  425. package/dist/types/UpdateUserMessage.d.ts +16 -0
  426. package/dist/types/UploadFileToSource.d.ts +29 -0
  427. package/dist/types/UpsertIdentity.d.ts +26 -0
  428. package/dist/types/UpsertIdentityProperties.d.ts +28 -0
  429. package/dist/types/UpsertTool.d.ts +22 -0
  430. package/dist/types/UsageStatistics.d.ts +21 -0
  431. package/dist/types/User.d.ts +34 -0
  432. package/dist/types/UserCreate.d.ts +11 -0
  433. package/dist/types/UserMessage.d.ts +33 -0
  434. package/dist/types/UserUpdate.d.ts +15 -0
  435. package/dist/types/ValidationError.d.ts +18 -0
  436. package/dist/types/WebSearchOptions.d.ts +18 -0
  437. package/dist/types/WebSearchOptionsUserLocation.d.ts +15 -0
  438. package/dist/types/WebSearchOptionsUserLocationApproximate.d.ts +22 -0
  439. package/dist/types/agents/CreateTemplateFromAgent.d.ts +52 -0
  440. package/dist/types/agents/GetAgentVariables.d.ts +40 -0
  441. package/dist/types/agents/MigrateAgent.d.ts +90 -0
  442. package/dist/types/agents/SearchDeployedAgents.d.ts +130 -0
  443. package/dist/types/agents/VersionAgentTemplate.d.ts +69 -0
  444. package/dist/types/agents/index.d.ts +10 -0
  445. package/dist/types/clientSideAccessTokens/CreateClientSideAccessToken.d.ts +120 -0
  446. package/dist/types/clientSideAccessTokens/DeleteClientSideAccessToken.d.ts +35 -0
  447. package/dist/types/clientSideAccessTokens/index.d.ts +3 -0
  448. package/dist/types/index.d.ts +328 -0
  449. package/dist/types/templates/CreateAgentsFromTemplate.d.ts +67 -0
  450. package/dist/types/templates/index.d.ts +1 -0
  451. package/hooks/agentsHooks/index.d.ts +72 -0
  452. package/hooks/agentsHooks/useAgents/createTemplateFromAgent.d.ts +39 -0
  453. package/hooks/agentsHooks/useAgents/getAgentVariables.d.ts +63 -0
  454. package/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.d.ts +63 -0
  455. package/hooks/agentsHooks/useAgents/index.d.ts +12 -0
  456. package/hooks/agentsHooks/useAgents/migrateAgent.d.ts +39 -0
  457. package/hooks/agentsHooks/useAgents/searchDeployedAgents.d.ts +37 -0
  458. package/hooks/agentsHooks/useAgents/versionAgentTemplate.d.ts +41 -0
  459. package/hooks/agentsHooks/useCreateAgent.d.ts +39 -0
  460. package/hooks/agentsHooks/useCreateAgentMessageAsync.d.ts +39 -0
  461. package/hooks/agentsHooks/useCreateAgentMessageStream.d.ts +39 -0
  462. package/hooks/agentsHooks/useCreatePassage.d.ts +39 -0
  463. package/hooks/agentsHooks/useDeleteAgent.d.ts +37 -0
  464. package/hooks/agentsHooks/useDeletePassage.d.ts +39 -0
  465. package/hooks/agentsHooks/useExportAgentSerialized.d.ts +63 -0
  466. package/hooks/agentsHooks/useExportAgentSerializedSuspense.d.ts +63 -0
  467. package/hooks/agentsHooks/useImportAgentSerialized.d.ts +39 -0
  468. package/hooks/agentsHooks/useListAgentSources.d.ts +63 -0
  469. package/hooks/agentsHooks/useListAgentSourcesSuspense.d.ts +63 -0
  470. package/hooks/agentsHooks/useListAgentTools.d.ts +63 -0
  471. package/hooks/agentsHooks/useListAgentToolsSuspense.d.ts +63 -0
  472. package/hooks/agentsHooks/useListAgents.d.ts +51 -0
  473. package/hooks/agentsHooks/useListAgentsSuspense.d.ts +51 -0
  474. package/hooks/agentsHooks/useListCoreMemoryBlocks.d.ts +63 -0
  475. package/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.d.ts +63 -0
  476. package/hooks/agentsHooks/useListMessages.d.ts +63 -0
  477. package/hooks/agentsHooks/useListMessagesSuspense.d.ts +63 -0
  478. package/hooks/agentsHooks/useListPassages.d.ts +63 -0
  479. package/hooks/agentsHooks/useListPassagesSuspense.d.ts +63 -0
  480. package/hooks/agentsHooks/useRetrieveAgent.d.ts +63 -0
  481. package/hooks/agentsHooks/useRetrieveAgentContextWindow.d.ts +63 -0
  482. package/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.d.ts +63 -0
  483. package/hooks/agentsHooks/useRetrieveAgentMemory.d.ts +63 -0
  484. package/hooks/agentsHooks/useRetrieveAgentMemorySuspense.d.ts +63 -0
  485. package/hooks/agentsHooks/useRetrieveAgentSuspense.d.ts +63 -0
  486. package/hooks/agentsHooks/useRetrieveCoreMemoryBlock.d.ts +67 -0
  487. package/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.d.ts +67 -0
  488. package/hooks/agentsHooks/useSendMessage.d.ts +39 -0
  489. package/hooks/blocksHooks/index.d.ts +16 -0
  490. package/hooks/blocksHooks/useCreateBlock.d.ts +35 -0
  491. package/hooks/blocksHooks/useDeleteBlock.d.ts +35 -0
  492. package/hooks/blocksHooks/useListAgentsForBlock.d.ts +63 -0
  493. package/hooks/blocksHooks/useListAgentsForBlockSuspense.d.ts +63 -0
  494. package/hooks/blocksHooks/useListBlocks.d.ts +49 -0
  495. package/hooks/blocksHooks/useListBlocksSuspense.d.ts +49 -0
  496. package/hooks/blocksHooks/useRetrieveBlock.d.ts +61 -0
  497. package/hooks/blocksHooks/useRetrieveBlockSuspense.d.ts +61 -0
  498. package/hooks/clientSideAccessTokensHooks/index.d.ts +4 -0
  499. package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.d.ts +37 -0
  500. package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.d.ts +39 -0
  501. package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.d.ts +4 -0
  502. package/hooks/groupsHooks/index.d.ts +20 -0
  503. package/hooks/groupsHooks/useCreateGroup.d.ts +39 -0
  504. package/hooks/groupsHooks/useDeleteGroup.d.ts +37 -0
  505. package/hooks/groupsHooks/useListGroupMessages.d.ts +63 -0
  506. package/hooks/groupsHooks/useListGroupMessagesSuspense.d.ts +63 -0
  507. package/hooks/groupsHooks/useListGroups.d.ts +51 -0
  508. package/hooks/groupsHooks/useListGroupsSuspense.d.ts +51 -0
  509. package/hooks/groupsHooks/useRetrieveGroup.d.ts +63 -0
  510. package/hooks/groupsHooks/useRetrieveGroupSuspense.d.ts +63 -0
  511. package/hooks/groupsHooks/useSendGroupMessage.d.ts +39 -0
  512. package/hooks/groupsHooks/useSendGroupMessageStreaming.d.ts +39 -0
  513. package/hooks/healthHooks/index.d.ts +4 -0
  514. package/hooks/healthHooks/useHealthCheck.d.ts +49 -0
  515. package/hooks/healthHooks/useHealthCheckSuspense.d.ts +49 -0
  516. package/hooks/identitiesHooks/index.d.ts +16 -0
  517. package/hooks/identitiesHooks/useCreateIdentity.d.ts +37 -0
  518. package/hooks/identitiesHooks/useDeleteIdentity.d.ts +37 -0
  519. package/hooks/identitiesHooks/useListIdentities.d.ts +51 -0
  520. package/hooks/identitiesHooks/useListIdentitiesSuspense.d.ts +51 -0
  521. package/hooks/identitiesHooks/useRetrieveIdentity.d.ts +61 -0
  522. package/hooks/identitiesHooks/useRetrieveIdentitySuspense.d.ts +61 -0
  523. package/hooks/identitiesHooks/useUpsertIdentity.d.ts +37 -0
  524. package/hooks/identitiesHooks/useUpsertIdentityProperties.d.ts +37 -0
  525. package/hooks/index.d.ts +274 -0
  526. package/hooks/jobsHooks/index.d.ts +14 -0
  527. package/hooks/jobsHooks/useDeleteJob.d.ts +37 -0
  528. package/hooks/jobsHooks/useListActiveJobs.d.ts +51 -0
  529. package/hooks/jobsHooks/useListActiveJobsSuspense.d.ts +51 -0
  530. package/hooks/jobsHooks/useListJobs.d.ts +51 -0
  531. package/hooks/jobsHooks/useListJobsSuspense.d.ts +51 -0
  532. package/hooks/jobsHooks/useRetrieveJob.d.ts +63 -0
  533. package/hooks/jobsHooks/useRetrieveJobSuspense.d.ts +63 -0
  534. package/hooks/modelsHooks/index.d.ts +8 -0
  535. package/hooks/modelsHooks/useListEmbeddingModels.d.ts +49 -0
  536. package/hooks/modelsHooks/useListEmbeddingModelsSuspense.d.ts +49 -0
  537. package/hooks/modelsHooks/useListModels.d.ts +49 -0
  538. package/hooks/modelsHooks/useListModelsSuspense.d.ts +49 -0
  539. package/hooks/providersHooks/index.d.ts +8 -0
  540. package/hooks/providersHooks/useCreateProvider.d.ts +37 -0
  541. package/hooks/providersHooks/useDeleteProvider.d.ts +37 -0
  542. package/hooks/providersHooks/useListProviders.d.ts +51 -0
  543. package/hooks/providersHooks/useListProvidersSuspense.d.ts +51 -0
  544. package/hooks/runsHooks/index.d.ts +26 -0
  545. package/hooks/runsHooks/useDeleteRun.d.ts +37 -0
  546. package/hooks/runsHooks/useListActiveRuns.d.ts +51 -0
  547. package/hooks/runsHooks/useListActiveRunsSuspense.d.ts +51 -0
  548. package/hooks/runsHooks/useListRunMessages.d.ts +63 -0
  549. package/hooks/runsHooks/useListRunMessagesSuspense.d.ts +63 -0
  550. package/hooks/runsHooks/useListRunSteps.d.ts +63 -0
  551. package/hooks/runsHooks/useListRunStepsSuspense.d.ts +63 -0
  552. package/hooks/runsHooks/useListRuns.d.ts +51 -0
  553. package/hooks/runsHooks/useListRunsSuspense.d.ts +51 -0
  554. package/hooks/runsHooks/useRetrieveRun.d.ts +63 -0
  555. package/hooks/runsHooks/useRetrieveRunSuspense.d.ts +63 -0
  556. package/hooks/runsHooks/useRetrieveRunUsage.d.ts +63 -0
  557. package/hooks/runsHooks/useRetrieveRunUsageSuspense.d.ts +63 -0
  558. package/hooks/sourcesHooks/index.d.ts +28 -0
  559. package/hooks/sourcesHooks/useCreateSource.d.ts +37 -0
  560. package/hooks/sourcesHooks/useDeleteFileFromSource.d.ts +39 -0
  561. package/hooks/sourcesHooks/useDeleteSource.d.ts +37 -0
  562. package/hooks/sourcesHooks/useGetSourceIdByName.d.ts +63 -0
  563. package/hooks/sourcesHooks/useGetSourceIdByNameSuspense.d.ts +63 -0
  564. package/hooks/sourcesHooks/useListSourceFiles.d.ts +63 -0
  565. package/hooks/sourcesHooks/useListSourceFilesSuspense.d.ts +63 -0
  566. package/hooks/sourcesHooks/useListSourcePassages.d.ts +63 -0
  567. package/hooks/sourcesHooks/useListSourcePassagesSuspense.d.ts +63 -0
  568. package/hooks/sourcesHooks/useListSources.d.ts +51 -0
  569. package/hooks/sourcesHooks/useListSourcesSuspense.d.ts +51 -0
  570. package/hooks/sourcesHooks/useRetrieveSource.d.ts +63 -0
  571. package/hooks/sourcesHooks/useRetrieveSourceSuspense.d.ts +63 -0
  572. package/hooks/sourcesHooks/useUploadFileToSource.d.ts +39 -0
  573. package/hooks/stepsHooks/index.d.ts +8 -0
  574. package/hooks/stepsHooks/useListSteps.d.ts +51 -0
  575. package/hooks/stepsHooks/useListStepsSuspense.d.ts +51 -0
  576. package/hooks/stepsHooks/useRetrieveStep.d.ts +63 -0
  577. package/hooks/stepsHooks/useRetrieveStepSuspense.d.ts +63 -0
  578. package/hooks/tagHooks/index.d.ts +4 -0
  579. package/hooks/tagHooks/useListTags.d.ts +51 -0
  580. package/hooks/tagHooks/useListTagsSuspense.d.ts +51 -0
  581. package/hooks/templatesHooks/index.d.ts +2 -0
  582. package/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.d.ts +41 -0
  583. package/hooks/templatesHooks/useTemplates/index.d.ts +2 -0
  584. package/hooks/toolsHooks/index.d.ts +42 -0
  585. package/hooks/toolsHooks/useAddBaseTools.d.ts +33 -0
  586. package/hooks/toolsHooks/useAddComposioTool.d.ts +37 -0
  587. package/hooks/toolsHooks/useAddMcpServer.d.ts +37 -0
  588. package/hooks/toolsHooks/useAddMcpTool.d.ts +39 -0
  589. package/hooks/toolsHooks/useCreateTool.d.ts +37 -0
  590. package/hooks/toolsHooks/useDeleteMcpServer.d.ts +37 -0
  591. package/hooks/toolsHooks/useDeleteTool.d.ts +37 -0
  592. package/hooks/toolsHooks/useListComposioActionsByApp.d.ts +63 -0
  593. package/hooks/toolsHooks/useListComposioActionsByAppSuspense.d.ts +63 -0
  594. package/hooks/toolsHooks/useListComposioApps.d.ts +51 -0
  595. package/hooks/toolsHooks/useListComposioAppsSuspense.d.ts +51 -0
  596. package/hooks/toolsHooks/useListMcpServers.d.ts +51 -0
  597. package/hooks/toolsHooks/useListMcpServersSuspense.d.ts +51 -0
  598. package/hooks/toolsHooks/useListMcpToolsByServer.d.ts +63 -0
  599. package/hooks/toolsHooks/useListMcpToolsByServerSuspense.d.ts +63 -0
  600. package/hooks/toolsHooks/useListTools.d.ts +51 -0
  601. package/hooks/toolsHooks/useListToolsSuspense.d.ts +51 -0
  602. package/hooks/toolsHooks/useRetrieveTool.d.ts +63 -0
  603. package/hooks/toolsHooks/useRetrieveToolSuspense.d.ts +63 -0
  604. package/hooks/toolsHooks/useRunToolFromSource.d.ts +37 -0
  605. package/hooks/toolsHooks/useUpsertTool.d.ts +37 -0
  606. package/hooks/voiceHooks/index.d.ts +2 -0
  607. package/hooks/voiceHooks/useCreateVoiceChatCompletions.d.ts +39 -0
  608. package/index.d.ts +602 -4
  609. package/index.js +10249 -4
  610. package/index.js.map +7 -0
  611. package/package.json +9 -3
  612. package/src/hooks/agentsHooks/index.ts +240 -0
  613. package/src/hooks/agentsHooks/useAgents/createTemplateFromAgent.ts +101 -0
  614. package/src/hooks/agentsHooks/useAgents/getAgentVariables.ts +131 -0
  615. package/src/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.ts +130 -0
  616. package/src/hooks/agentsHooks/useAgents/index.ts +38 -0
  617. package/src/hooks/agentsHooks/useAgents/migrateAgent.ts +109 -0
  618. package/src/hooks/agentsHooks/useAgents/searchDeployedAgents.ts +92 -0
  619. package/src/hooks/agentsHooks/useAgents/versionAgentTemplate.ts +113 -0
  620. package/src/hooks/agentsHooks/useCreateAgent.ts +92 -0
  621. package/src/hooks/agentsHooks/useCreateAgentMessageAsync.ts +101 -0
  622. package/src/hooks/agentsHooks/useCreateAgentMessageStream.ts +101 -0
  623. package/src/hooks/agentsHooks/useCreatePassage.ts +101 -0
  624. package/src/hooks/agentsHooks/useDeleteAgent.ts +85 -0
  625. package/src/hooks/agentsHooks/useDeletePassage.ts +95 -0
  626. package/src/hooks/agentsHooks/useExportAgentSerialized.ts +141 -0
  627. package/src/hooks/agentsHooks/useExportAgentSerializedSuspense.ts +142 -0
  628. package/src/hooks/agentsHooks/useImportAgentSerialized.ts +118 -0
  629. package/src/hooks/agentsHooks/useListAgentSources.ts +126 -0
  630. package/src/hooks/agentsHooks/useListAgentSourcesSuspense.ts +129 -0
  631. package/src/hooks/agentsHooks/useListAgentTools.ts +126 -0
  632. package/src/hooks/agentsHooks/useListAgentToolsSuspense.ts +128 -0
  633. package/src/hooks/agentsHooks/useListAgents.ts +122 -0
  634. package/src/hooks/agentsHooks/useListAgentsSuspense.ts +123 -0
  635. package/src/hooks/agentsHooks/useListCoreMemoryBlocks.ts +130 -0
  636. package/src/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.ts +130 -0
  637. package/src/hooks/agentsHooks/useListMessages.ts +135 -0
  638. package/src/hooks/agentsHooks/useListMessagesSuspense.ts +136 -0
  639. package/src/hooks/agentsHooks/useListPassages.ts +138 -0
  640. package/src/hooks/agentsHooks/useListPassagesSuspense.ts +139 -0
  641. package/src/hooks/agentsHooks/useRetrieveAgent.ts +123 -0
  642. package/src/hooks/agentsHooks/useRetrieveAgentContextWindow.ts +128 -0
  643. package/src/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.ts +128 -0
  644. package/src/hooks/agentsHooks/useRetrieveAgentMemory.ts +127 -0
  645. package/src/hooks/agentsHooks/useRetrieveAgentMemorySuspense.ts +127 -0
  646. package/src/hooks/agentsHooks/useRetrieveAgentSuspense.ts +125 -0
  647. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlock.ts +137 -0
  648. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.ts +139 -0
  649. package/src/hooks/agentsHooks/useSendMessage.ts +98 -0
  650. package/src/hooks/blocksHooks/index.ts +54 -0
  651. package/src/hooks/blocksHooks/useCreateBlock.ts +87 -0
  652. package/src/hooks/blocksHooks/useDeleteBlock.ts +83 -0
  653. package/src/hooks/blocksHooks/useListAgentsForBlock.ts +127 -0
  654. package/src/hooks/blocksHooks/useListAgentsForBlockSuspense.ts +129 -0
  655. package/src/hooks/blocksHooks/useListBlocks.ts +120 -0
  656. package/src/hooks/blocksHooks/useListBlocksSuspense.ts +121 -0
  657. package/src/hooks/blocksHooks/useRetrieveBlock.ts +121 -0
  658. package/src/hooks/blocksHooks/useRetrieveBlockSuspense.ts +123 -0
  659. package/src/hooks/clientSideAccessTokensHooks/index.ts +12 -0
  660. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.ts +97 -0
  661. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.ts +107 -0
  662. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.ts +12 -0
  663. package/src/hooks/groupsHooks/index.ts +66 -0
  664. package/src/hooks/groupsHooks/useCreateGroup.ts +92 -0
  665. package/src/hooks/groupsHooks/useDeleteGroup.ts +85 -0
  666. package/src/hooks/groupsHooks/useListGroupMessages.ts +135 -0
  667. package/src/hooks/groupsHooks/useListGroupMessagesSuspense.ts +138 -0
  668. package/src/hooks/groupsHooks/useListGroups.ts +122 -0
  669. package/src/hooks/groupsHooks/useListGroupsSuspense.ts +123 -0
  670. package/src/hooks/groupsHooks/useRetrieveGroup.ts +123 -0
  671. package/src/hooks/groupsHooks/useRetrieveGroupSuspense.ts +125 -0
  672. package/src/hooks/groupsHooks/useSendGroupMessage.ts +101 -0
  673. package/src/hooks/groupsHooks/useSendGroupMessageStreaming.ts +101 -0
  674. package/src/hooks/healthHooks/index.ts +14 -0
  675. package/src/hooks/healthHooks/useHealthCheck.ts +104 -0
  676. package/src/hooks/healthHooks/useHealthCheckSuspense.ts +106 -0
  677. package/src/hooks/identitiesHooks/index.ts +52 -0
  678. package/src/hooks/identitiesHooks/useCreateIdentity.ts +100 -0
  679. package/src/hooks/identitiesHooks/useDeleteIdentity.ts +88 -0
  680. package/src/hooks/identitiesHooks/useListIdentities.ts +122 -0
  681. package/src/hooks/identitiesHooks/useListIdentitiesSuspense.ts +125 -0
  682. package/src/hooks/identitiesHooks/useRetrieveIdentity.ts +128 -0
  683. package/src/hooks/identitiesHooks/useRetrieveIdentitySuspense.ts +130 -0
  684. package/src/hooks/identitiesHooks/useUpsertIdentity.ts +100 -0
  685. package/src/hooks/identitiesHooks/useUpsertIdentityProperties.ts +99 -0
  686. package/src/hooks/index.ts +916 -0
  687. package/src/hooks/jobsHooks/index.ts +48 -0
  688. package/src/hooks/jobsHooks/useDeleteJob.ts +85 -0
  689. package/src/hooks/jobsHooks/useListActiveJobs.ts +116 -0
  690. package/src/hooks/jobsHooks/useListActiveJobsSuspense.ts +117 -0
  691. package/src/hooks/jobsHooks/useListJobs.ts +117 -0
  692. package/src/hooks/jobsHooks/useListJobsSuspense.ts +118 -0
  693. package/src/hooks/jobsHooks/useRetrieveJob.ts +122 -0
  694. package/src/hooks/jobsHooks/useRetrieveJobSuspense.ts +125 -0
  695. package/src/hooks/modelsHooks/index.ts +28 -0
  696. package/src/hooks/modelsHooks/useListEmbeddingModels.ts +113 -0
  697. package/src/hooks/modelsHooks/useListEmbeddingModelsSuspense.ts +113 -0
  698. package/src/hooks/modelsHooks/useListModels.ts +104 -0
  699. package/src/hooks/modelsHooks/useListModelsSuspense.ts +106 -0
  700. package/src/hooks/providersHooks/index.ts +26 -0
  701. package/src/hooks/providersHooks/useCreateProvider.ts +93 -0
  702. package/src/hooks/providersHooks/useDeleteProvider.ts +89 -0
  703. package/src/hooks/providersHooks/useListProviders.ts +122 -0
  704. package/src/hooks/providersHooks/useListProvidersSuspense.ts +125 -0
  705. package/src/hooks/runsHooks/index.ts +90 -0
  706. package/src/hooks/runsHooks/useDeleteRun.ts +85 -0
  707. package/src/hooks/runsHooks/useListActiveRuns.ts +122 -0
  708. package/src/hooks/runsHooks/useListActiveRunsSuspense.ts +125 -0
  709. package/src/hooks/runsHooks/useListRunMessages.ts +135 -0
  710. package/src/hooks/runsHooks/useListRunMessagesSuspense.ts +137 -0
  711. package/src/hooks/runsHooks/useListRunSteps.ts +135 -0
  712. package/src/hooks/runsHooks/useListRunStepsSuspense.ts +136 -0
  713. package/src/hooks/runsHooks/useListRuns.ts +117 -0
  714. package/src/hooks/runsHooks/useListRunsSuspense.ts +118 -0
  715. package/src/hooks/runsHooks/useRetrieveRun.ts +122 -0
  716. package/src/hooks/runsHooks/useRetrieveRunSuspense.ts +125 -0
  717. package/src/hooks/runsHooks/useRetrieveRunUsage.ts +123 -0
  718. package/src/hooks/runsHooks/useRetrieveRunUsageSuspense.ts +126 -0
  719. package/src/hooks/sourcesHooks/index.ts +94 -0
  720. package/src/hooks/sourcesHooks/useCreateSource.ts +91 -0
  721. package/src/hooks/sourcesHooks/useDeleteFileFromSource.ts +95 -0
  722. package/src/hooks/sourcesHooks/useDeleteSource.ts +87 -0
  723. package/src/hooks/sourcesHooks/useGetSourceIdByName.ts +130 -0
  724. package/src/hooks/sourcesHooks/useGetSourceIdByNameSuspense.ts +132 -0
  725. package/src/hooks/sourcesHooks/useListSourceFiles.ts +135 -0
  726. package/src/hooks/sourcesHooks/useListSourceFilesSuspense.ts +138 -0
  727. package/src/hooks/sourcesHooks/useListSourcePassages.ts +130 -0
  728. package/src/hooks/sourcesHooks/useListSourcePassagesSuspense.ts +132 -0
  729. package/src/hooks/sourcesHooks/useListSources.ts +109 -0
  730. package/src/hooks/sourcesHooks/useListSourcesSuspense.ts +113 -0
  731. package/src/hooks/sourcesHooks/useRetrieveSource.ts +126 -0
  732. package/src/hooks/sourcesHooks/useRetrieveSourceSuspense.ts +128 -0
  733. package/src/hooks/sourcesHooks/useUploadFileToSource.ts +117 -0
  734. package/src/hooks/stepsHooks/index.ts +28 -0
  735. package/src/hooks/stepsHooks/useListSteps.ts +117 -0
  736. package/src/hooks/stepsHooks/useListStepsSuspense.ts +118 -0
  737. package/src/hooks/stepsHooks/useRetrieveStep.ts +123 -0
  738. package/src/hooks/stepsHooks/useRetrieveStepSuspense.ts +125 -0
  739. package/src/hooks/tagHooks/index.ts +14 -0
  740. package/src/hooks/tagHooks/useListTags.ts +117 -0
  741. package/src/hooks/tagHooks/useListTagsSuspense.ts +118 -0
  742. package/src/hooks/templatesHooks/index.ts +6 -0
  743. package/src/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.ts +109 -0
  744. package/src/hooks/templatesHooks/useTemplates/index.ts +6 -0
  745. package/src/hooks/toolsHooks/index.ts +138 -0
  746. package/src/hooks/toolsHooks/useAddBaseTools.ts +85 -0
  747. package/src/hooks/toolsHooks/useAddComposioTool.ts +90 -0
  748. package/src/hooks/toolsHooks/useAddMcpServer.ts +92 -0
  749. package/src/hooks/toolsHooks/useAddMcpTool.ts +92 -0
  750. package/src/hooks/toolsHooks/useCreateTool.ts +89 -0
  751. package/src/hooks/toolsHooks/useDeleteMcpServer.ts +88 -0
  752. package/src/hooks/toolsHooks/useDeleteTool.ts +85 -0
  753. package/src/hooks/toolsHooks/useListComposioActionsByApp.ts +132 -0
  754. package/src/hooks/toolsHooks/useListComposioActionsByAppSuspense.ts +131 -0
  755. package/src/hooks/toolsHooks/useListComposioApps.ts +122 -0
  756. package/src/hooks/toolsHooks/useListComposioAppsSuspense.ts +124 -0
  757. package/src/hooks/toolsHooks/useListMcpServers.ts +122 -0
  758. package/src/hooks/toolsHooks/useListMcpServersSuspense.ts +123 -0
  759. package/src/hooks/toolsHooks/useListMcpToolsByServer.ts +130 -0
  760. package/src/hooks/toolsHooks/useListMcpToolsByServerSuspense.ts +131 -0
  761. package/src/hooks/toolsHooks/useListTools.ts +117 -0
  762. package/src/hooks/toolsHooks/useListToolsSuspense.ts +118 -0
  763. package/src/hooks/toolsHooks/useRetrieveTool.ts +123 -0
  764. package/src/hooks/toolsHooks/useRetrieveToolSuspense.ts +125 -0
  765. package/src/hooks/toolsHooks/useRunToolFromSource.ts +93 -0
  766. package/src/hooks/toolsHooks/useUpsertTool.ts +89 -0
  767. package/src/hooks/voiceHooks/index.ts +6 -0
  768. package/src/hooks/voiceHooks/useCreateVoiceChatCompletions.ts +104 -0
  769. package/src/index.ts +2084 -4
  770. package/src/schemas/HTTPValidationError.json +26 -0
  771. package/src/schemas/JSONSchema.json +19 -0
  772. package/src/schemas/LLMConfig.json +93 -0
  773. package/src/schemas/MCPServerType.json +6 -0
  774. package/src/schemas/MCPTool.json +20 -0
  775. package/src/schemas/SSEServerConfig.json +25 -0
  776. package/src/schemas/actionModel.json +93 -0
  777. package/src/schemas/actionParametersModel.json +27 -0
  778. package/src/schemas/actionResponseModel.json +27 -0
  779. package/src/schemas/agentEnvironmentVariable.json +62 -0
  780. package/src/schemas/agentSchema.json +562 -0
  781. package/src/schemas/agentState.json +995 -0
  782. package/src/schemas/agentType.json +7 -0
  783. package/src/schemas/appAuthScheme.json +95 -0
  784. package/src/schemas/appModel.json +159 -0
  785. package/src/schemas/assistantMessage.json +67 -0
  786. package/src/schemas/audio.json +7 -0
  787. package/src/schemas/authRequest.json +12 -0
  788. package/src/schemas/authResponse.json +19 -0
  789. package/src/schemas/authSchemeField.json +30 -0
  790. package/src/schemas/baseToolRuleSchema.json +10 -0
  791. package/src/schemas/block.json +67 -0
  792. package/src/schemas/blockUpdate.json +48 -0
  793. package/src/schemas/bodyImportAgentSerialized.json +9 -0
  794. package/src/schemas/bodyUploadFileToSource.json +9 -0
  795. package/src/schemas/chatCompletionAssistantMessageParam.json +103 -0
  796. package/src/schemas/chatCompletionAudioParam.json +35 -0
  797. package/src/schemas/chatCompletionContentPartImageParam.json +23 -0
  798. package/src/schemas/chatCompletionContentPartInputAudioParam.json +23 -0
  799. package/src/schemas/chatCompletionContentPartRefusalParam.json +10 -0
  800. package/src/schemas/chatCompletionContentPartTextParam.json +10 -0
  801. package/src/schemas/chatCompletionDeveloperMessageParam.json +29 -0
  802. package/src/schemas/chatCompletionFunctionCallOptionParam.json +7 -0
  803. package/src/schemas/chatCompletionFunctionMessageParam.json +14 -0
  804. package/src/schemas/chatCompletionMessageToolCall.json +22 -0
  805. package/src/schemas/chatCompletionMessageToolCallParam.json +20 -0
  806. package/src/schemas/chatCompletionNamedToolChoiceParam.json +16 -0
  807. package/src/schemas/chatCompletionPredictionContentParam.json +28 -0
  808. package/src/schemas/chatCompletionStreamOptionsParam.json +8 -0
  809. package/src/schemas/chatCompletionSystemMessageParam.json +29 -0
  810. package/src/schemas/chatCompletionToolMessageParam.json +29 -0
  811. package/src/schemas/chatCompletionToolParam.json +28 -0
  812. package/src/schemas/chatCompletionUserMessageParam.json +106 -0
  813. package/src/schemas/childToolRule.json +27 -0
  814. package/src/schemas/childToolRuleSchema.json +15 -0
  815. package/src/schemas/completionCreateParamsNonStreaming.json +797 -0
  816. package/src/schemas/completionCreateParamsStreaming.json +794 -0
  817. package/src/schemas/conditionalToolRule.json +38 -0
  818. package/src/schemas/conditionalToolRuleSchema.json +29 -0
  819. package/src/schemas/contextWindowOverview.json +491 -0
  820. package/src/schemas/continueToolRule.json +21 -0
  821. package/src/schemas/coreMemoryBlockSchema.json +38 -0
  822. package/src/schemas/createAgentRequest.json +883 -0
  823. package/src/schemas/createArchivalMemory.json +13 -0
  824. package/src/schemas/createBlock.json +49 -0
  825. package/src/schemas/dynamicManager.json +31 -0
  826. package/src/schemas/dynamicManagerUpdate.json +29 -0
  827. package/src/schemas/e2BSandboxConfig.json +26 -0
  828. package/src/schemas/embeddingConfig.json +76 -0
  829. package/src/schemas/file.json +19 -0
  830. package/src/schemas/fileFile.json +10 -0
  831. package/src/schemas/fileMetadata.json +74 -0
  832. package/src/schemas/functionCall.json +10 -0
  833. package/src/schemas/functionDefinitionInput.json +19 -0
  834. package/src/schemas/functionDefinitionOutput.json +25 -0
  835. package/src/schemas/functionOutput.json +11 -0
  836. package/src/schemas/functionTool.json +35 -0
  837. package/src/schemas/group.json +69 -0
  838. package/src/schemas/groupCreate.json +137 -0
  839. package/src/schemas/groupUpdate.json +140 -0
  840. package/src/schemas/health.json +11 -0
  841. package/src/schemas/hiddenReasoningMessage.json +35 -0
  842. package/src/schemas/identity.json +94 -0
  843. package/src/schemas/identityCreate.json +90 -0
  844. package/src/schemas/identityProperty.json +33 -0
  845. package/src/schemas/identityPropertyType.json +7 -0
  846. package/src/schemas/identityType.json +7 -0
  847. package/src/schemas/identityUpdate.json +90 -0
  848. package/src/schemas/identityUpsert.json +90 -0
  849. package/src/schemas/imageURL.json +14 -0
  850. package/src/schemas/initToolRule.json +21 -0
  851. package/src/schemas/inputAudio.json +10 -0
  852. package/src/schemas/job.json +82 -0
  853. package/src/schemas/jobStatus.json +15 -0
  854. package/src/schemas/jobType.json +6 -0
  855. package/src/schemas/lettaAssistantMessageContentUnion.json +31 -0
  856. package/src/schemas/lettaMessageContentUnion.json +184 -0
  857. package/src/schemas/lettaMessageUnion.json +382 -0
  858. package/src/schemas/lettaRequest.json +250 -0
  859. package/src/schemas/lettaRequestConfig.json +25 -0
  860. package/src/schemas/lettaResponse.json +860 -0
  861. package/src/schemas/lettaStreamingRequest.json +256 -0
  862. package/src/schemas/lettaUsageStatistics.json +411 -0
  863. package/src/schemas/lettaUserMessageContentUnion.json +31 -0
  864. package/src/schemas/localSandboxConfig.json +48 -0
  865. package/src/schemas/managerType.json +6 -0
  866. package/src/schemas/maxCountPerStepToolRule.json +26 -0
  867. package/src/schemas/maxCountPerStepToolRuleSchema.json +11 -0
  868. package/src/schemas/memory.json +87 -0
  869. package/src/schemas/message.json +336 -0
  870. package/src/schemas/messageCreate.json +219 -0
  871. package/src/schemas/messageRole.json +6 -0
  872. package/src/schemas/messageSchema.json +65 -0
  873. package/src/schemas/omittedReasoningContent.json +21 -0
  874. package/src/schemas/openaiTypesChatChatCompletionMessageToolCallParamFunction.json +10 -0
  875. package/src/schemas/openaiTypesChatChatCompletionNamedToolChoiceParamFunction.json +7 -0
  876. package/src/schemas/openaiTypesChatCompletionCreateParamsFunction.json +15 -0
  877. package/src/schemas/organization.json +35 -0
  878. package/src/schemas/organizationCreate.json +19 -0
  879. package/src/schemas/organizationUpdate.json +19 -0
  880. package/src/schemas/parameterProperties.json +13 -0
  881. package/src/schemas/parametersSchema.json +35 -0
  882. package/src/schemas/parentToolRule.json +27 -0
  883. package/src/schemas/passage.json +170 -0
  884. package/src/schemas/passageUpdate.json +169 -0
  885. package/src/schemas/pipRequirement.json +19 -0
  886. package/src/schemas/provider.json +32 -0
  887. package/src/schemas/providerCreate.json +19 -0
  888. package/src/schemas/providerUpdate.json +19 -0
  889. package/src/schemas/reasoningContent.json +31 -0
  890. package/src/schemas/reasoningMessage.json +37 -0
  891. package/src/schemas/redactedReasoningContent.json +21 -0
  892. package/src/schemas/responseFormatJSONObject.json +9 -0
  893. package/src/schemas/responseFormatJSONSchema.json +28 -0
  894. package/src/schemas/responseFormatText.json +9 -0
  895. package/src/schemas/roundRobinManager.json +19 -0
  896. package/src/schemas/roundRobinManagerUpdate.json +19 -0
  897. package/src/schemas/run.json +112 -0
  898. package/src/schemas/sandboxConfig.json +54 -0
  899. package/src/schemas/sandboxConfigCreate.json +89 -0
  900. package/src/schemas/sandboxConfigUpdate.json +89 -0
  901. package/src/schemas/sandboxEnvironmentVariable.json +62 -0
  902. package/src/schemas/sandboxEnvironmentVariableCreate.json +24 -0
  903. package/src/schemas/sandboxEnvironmentVariableUpdate.json +23 -0
  904. package/src/schemas/sandboxType.json +6 -0
  905. package/src/schemas/sleeptimeManager.json +25 -0
  906. package/src/schemas/sleeptimeManagerUpdate.json +24 -0
  907. package/src/schemas/source.json +141 -0
  908. package/src/schemas/sourceCreate.json +124 -0
  909. package/src/schemas/sourceUpdate.json +113 -0
  910. package/src/schemas/stdioServerConfig.json +39 -0
  911. package/src/schemas/step.json +440 -0
  912. package/src/schemas/supervisorManager.json +20 -0
  913. package/src/schemas/supervisorManagerUpdate.json +20 -0
  914. package/src/schemas/systemMessage.json +31 -0
  915. package/src/schemas/tagSchema.json +7 -0
  916. package/src/schemas/terminalToolRule.json +21 -0
  917. package/src/schemas/textContent.json +21 -0
  918. package/src/schemas/tool.json +100 -0
  919. package/src/schemas/toolCall.json +11 -0
  920. package/src/schemas/toolCallContent.json +32 -0
  921. package/src/schemas/toolCallDelta.json +19 -0
  922. package/src/schemas/toolCallMessage.json +61 -0
  923. package/src/schemas/toolCreate.json +54 -0
  924. package/src/schemas/toolEnvVarSchema.json +16 -0
  925. package/src/schemas/toolJSONSchema.json +56 -0
  926. package/src/schemas/toolReturn.json +30 -0
  927. package/src/schemas/toolReturnContent.json +30 -0
  928. package/src/schemas/toolReturnMessage.json +54 -0
  929. package/src/schemas/toolRunFromSource.json +52 -0
  930. package/src/schemas/toolSchema.json +99 -0
  931. package/src/schemas/toolType.json +15 -0
  932. package/src/schemas/toolUpdate.json +51 -0
  933. package/src/schemas/updateAgent.json +513 -0
  934. package/src/schemas/updateAssistantMessage.json +55 -0
  935. package/src/schemas/updateReasoningMessage.json +15 -0
  936. package/src/schemas/updateSystemMessage.json +19 -0
  937. package/src/schemas/updateUserMessage.json +55 -0
  938. package/src/schemas/usageStatistics.json +18 -0
  939. package/src/schemas/user.json +44 -0
  940. package/src/schemas/userCreate.json +14 -0
  941. package/src/schemas/userMessage.json +67 -0
  942. package/src/schemas/userUpdate.json +19 -0
  943. package/src/schemas/validationError.json +15 -0
  944. package/src/schemas/webSearchOptions.json +41 -0
  945. package/src/schemas/webSearchOptionsUserLocation.json +20 -0
  946. package/src/schemas/webSearchOptionsUserLocationApproximate.json +11 -0
  947. package/src/types/ActionModel.ts +56 -0
  948. package/src/types/ActionParametersModel.ts +26 -0
  949. package/src/types/ActionResponseModel.ts +26 -0
  950. package/src/types/AddBaseTools.ts +24 -0
  951. package/src/types/AddComposioTool.ts +32 -0
  952. package/src/types/AddMcpServer.ts +28 -0
  953. package/src/types/AddMcpTool.ts +36 -0
  954. package/src/types/AgentEnvironmentVariable.ts +48 -0
  955. package/src/types/AgentSchema.ts +93 -0
  956. package/src/types/AgentState.ts +152 -0
  957. package/src/types/AgentType.ts +17 -0
  958. package/src/types/AppAuthScheme.ts +49 -0
  959. package/src/types/AppModel.ts +60 -0
  960. package/src/types/AssistantMessage.ts +38 -0
  961. package/src/types/AttachCoreMemoryBlock.ts +36 -0
  962. package/src/types/AttachSourceToAgent.ts +36 -0
  963. package/src/types/AttachTool.ts +36 -0
  964. package/src/types/Audio.ts +11 -0
  965. package/src/types/AuthRequest.ts +12 -0
  966. package/src/types/AuthResponse.ts +16 -0
  967. package/src/types/AuthSchemeField.ts +35 -0
  968. package/src/types/BaseToolRuleSchema.ts +15 -0
  969. package/src/types/Block.ts +60 -0
  970. package/src/types/BlockUpdate.ts +43 -0
  971. package/src/types/BodyImportAgentSerialized.ts +11 -0
  972. package/src/types/BodyUploadFileToSource.ts +11 -0
  973. package/src/types/ChatCompletionAssistantMessageParam.ts +35 -0
  974. package/src/types/ChatCompletionAudioParam.ts +40 -0
  975. package/src/types/ChatCompletionContentPartImageParam.ts +17 -0
  976. package/src/types/ChatCompletionContentPartInputAudioParam.ts +17 -0
  977. package/src/types/ChatCompletionContentPartRefusalParam.ts +15 -0
  978. package/src/types/ChatCompletionContentPartTextParam.ts +15 -0
  979. package/src/types/ChatCompletionDeveloperMessageParam.ts +18 -0
  980. package/src/types/ChatCompletionFunctionCallOptionParam.ts +11 -0
  981. package/src/types/ChatCompletionFunctionMessageParam.ts +16 -0
  982. package/src/types/ChatCompletionMessageToolCall.ts +22 -0
  983. package/src/types/ChatCompletionMessageToolCallParam.ts +21 -0
  984. package/src/types/ChatCompletionNamedToolChoiceParam.ts +17 -0
  985. package/src/types/ChatCompletionPredictionContentParam.ts +14 -0
  986. package/src/types/ChatCompletionStreamOptionsParam.ts +11 -0
  987. package/src/types/ChatCompletionSystemMessageParam.ts +18 -0
  988. package/src/types/ChatCompletionToolMessageParam.ts +18 -0
  989. package/src/types/ChatCompletionToolParam.ts +17 -0
  990. package/src/types/ChatCompletionUserMessageParam.ts +28 -0
  991. package/src/types/ChildToolRule.ts +25 -0
  992. package/src/types/ChildToolRuleSchema.ts +19 -0
  993. package/src/types/CompletionCreateParamsNonStreaming.ts +185 -0
  994. package/src/types/CompletionCreateParamsStreaming.ts +188 -0
  995. package/src/types/ConditionalToolRule.ts +37 -0
  996. package/src/types/ConditionalToolRuleSchema.ts +26 -0
  997. package/src/types/ContextWindowOverview.ts +96 -0
  998. package/src/types/ContinueToolRule.ts +20 -0
  999. package/src/types/CoreMemoryBlockSchema.ts +36 -0
  1000. package/src/types/CreateAgent.ts +33 -0
  1001. package/src/types/CreateAgentMessageAsync.ts +37 -0
  1002. package/src/types/CreateAgentMessageStream.ts +36 -0
  1003. package/src/types/CreateAgentRequest.ts +197 -0
  1004. package/src/types/CreateArchivalMemory.ts +12 -0
  1005. package/src/types/CreateBlock.ts +69 -0
  1006. package/src/types/CreateGroup.ts +33 -0
  1007. package/src/types/CreateIdentity.ts +33 -0
  1008. package/src/types/CreatePassage.ts +36 -0
  1009. package/src/types/CreateProvider.ts +28 -0
  1010. package/src/types/CreateSource.ts +28 -0
  1011. package/src/types/CreateTool.ts +28 -0
  1012. package/src/types/CreateVoiceChatCompletions.ts +44 -0
  1013. package/src/types/DeleteAgent.ts +31 -0
  1014. package/src/types/DeleteBlock.ts +32 -0
  1015. package/src/types/DeleteFileFromSource.ts +35 -0
  1016. package/src/types/DeleteGroup.ts +31 -0
  1017. package/src/types/DeleteIdentity.ts +31 -0
  1018. package/src/types/DeleteJob.ts +32 -0
  1019. package/src/types/DeleteMcpServer.ts +33 -0
  1020. package/src/types/DeletePassage.ts +35 -0
  1021. package/src/types/DeleteProvider.ts +32 -0
  1022. package/src/types/DeleteRun.ts +32 -0
  1023. package/src/types/DeleteSource.ts +31 -0
  1024. package/src/types/DeleteTool.ts +31 -0
  1025. package/src/types/DetachCoreMemoryBlock.ts +36 -0
  1026. package/src/types/DetachSourceFromAgent.ts +36 -0
  1027. package/src/types/DetachTool.ts +36 -0
  1028. package/src/types/DynamicManager.ts +21 -0
  1029. package/src/types/DynamicManagerUpdate.ts +15 -0
  1030. package/src/types/E2BSandboxConfig.ts +21 -0
  1031. package/src/types/EmbeddingConfig.ts +75 -0
  1032. package/src/types/ExportAgentSerialized.ts +35 -0
  1033. package/src/types/File.ts +17 -0
  1034. package/src/types/FileFile.ts +19 -0
  1035. package/src/types/FileMetadata.ts +59 -0
  1036. package/src/types/FunctionCall.ts +15 -0
  1037. package/src/types/FunctionDefinitionInput.ts +22 -0
  1038. package/src/types/FunctionDefinitionOutput.ts +17 -0
  1039. package/src/types/FunctionOutput.ts +16 -0
  1040. package/src/types/FunctionTool.ts +18 -0
  1041. package/src/types/GetSourceIdByName.ts +31 -0
  1042. package/src/types/Group.ts +36 -0
  1043. package/src/types/GroupCreate.ts +32 -0
  1044. package/src/types/GroupUpdate.ts +23 -0
  1045. package/src/types/HTTPValidationError.ts +13 -0
  1046. package/src/types/Health.ts +18 -0
  1047. package/src/types/HealthCheck.ts +18 -0
  1048. package/src/types/HiddenReasoningMessage.ts +45 -0
  1049. package/src/types/Identity.ts +49 -0
  1050. package/src/types/IdentityCreate.ts +40 -0
  1051. package/src/types/IdentityProperty.ts +32 -0
  1052. package/src/types/IdentityPropertyType.ts +19 -0
  1053. package/src/types/IdentityType.ts +18 -0
  1054. package/src/types/IdentityUpdate.ts +34 -0
  1055. package/src/types/IdentityUpsert.ts +40 -0
  1056. package/src/types/ImageURL.ts +24 -0
  1057. package/src/types/ImportAgentSerialized.ts +54 -0
  1058. package/src/types/InitToolRule.ts +20 -0
  1059. package/src/types/InputAudio.ts +23 -0
  1060. package/src/types/JSONSchema.ts +22 -0
  1061. package/src/types/Job.ts +53 -0
  1062. package/src/types/JobStatus.ts +21 -0
  1063. package/src/types/JobType.ts +13 -0
  1064. package/src/types/LLMConfig.ts +93 -0
  1065. package/src/types/LettaAssistantMessageContentUnion.ts +17 -0
  1066. package/src/types/LettaMessageContentUnion.ts +43 -0
  1067. package/src/types/LettaMessageUnion.ts +48 -0
  1068. package/src/types/LettaRequest.ts +32 -0
  1069. package/src/types/LettaRequestConfig.ts +25 -0
  1070. package/src/types/LettaResponse.ts +22 -0
  1071. package/src/types/LettaStreamingRequest.ts +38 -0
  1072. package/src/types/LettaUsageStatistics.ts +49 -0
  1073. package/src/types/LettaUserMessageContentUnion.ts +17 -0
  1074. package/src/types/ListActiveJobs.ts +24 -0
  1075. package/src/types/ListActiveRuns.ts +32 -0
  1076. package/src/types/ListAgentSources.ts +32 -0
  1077. package/src/types/ListAgentTools.ts +32 -0
  1078. package/src/types/ListAgents.ts +89 -0
  1079. package/src/types/ListAgentsForBlock.ts +32 -0
  1080. package/src/types/ListBlocks.ts +50 -0
  1081. package/src/types/ListComposioActionsByApp.ts +32 -0
  1082. package/src/types/ListComposioApps.ts +29 -0
  1083. package/src/types/ListCoreMemoryBlocks.ts +32 -0
  1084. package/src/types/ListEmbeddingModels.ts +18 -0
  1085. package/src/types/ListGroupMessages.ts +68 -0
  1086. package/src/types/ListGroups.ts +49 -0
  1087. package/src/types/ListIdentities.ts +39 -0
  1088. package/src/types/ListJobs.ts +32 -0
  1089. package/src/types/ListMcpServers.ts +32 -0
  1090. package/src/types/ListMcpToolsByServer.ts +32 -0
  1091. package/src/types/ListMessages.ts +72 -0
  1092. package/src/types/ListModels.ts +18 -0
  1093. package/src/types/ListPassages.ts +57 -0
  1094. package/src/types/ListProviders.ts +33 -0
  1095. package/src/types/ListRunMessages.ts +60 -0
  1096. package/src/types/ListRunSteps.ts +55 -0
  1097. package/src/types/ListRuns.ts +32 -0
  1098. package/src/types/ListSourceFiles.ts +46 -0
  1099. package/src/types/ListSourcePassages.ts +32 -0
  1100. package/src/types/ListSources.ts +24 -0
  1101. package/src/types/ListSteps.ts +62 -0
  1102. package/src/types/ListTags.ts +33 -0
  1103. package/src/types/ListTools.ts +34 -0
  1104. package/src/types/LocalSandboxConfig.ts +30 -0
  1105. package/src/types/MCPServerType.ts +14 -0
  1106. package/src/types/MCPTool.ts +22 -0
  1107. package/src/types/ManagerType.ts +17 -0
  1108. package/src/types/MaxCountPerStepToolRule.ts +25 -0
  1109. package/src/types/MaxCountPerStepToolRuleSchema.ts +19 -0
  1110. package/src/types/Memory.ts +23 -0
  1111. package/src/types/Message.ts +96 -0
  1112. package/src/types/MessageCreate.ts +37 -0
  1113. package/src/types/MessageRole.ts +17 -0
  1114. package/src/types/MessageSchema.ts +37 -0
  1115. package/src/types/ModifyAgent.ts +36 -0
  1116. package/src/types/ModifyBlock.ts +36 -0
  1117. package/src/types/ModifyCoreMemoryBlock.ts +40 -0
  1118. package/src/types/ModifyGroup.ts +41 -0
  1119. package/src/types/ModifyGroupMessage.ts +60 -0
  1120. package/src/types/ModifyMessage.ts +60 -0
  1121. package/src/types/ModifyPassage.ts +40 -0
  1122. package/src/types/ModifyProvider.ts +28 -0
  1123. package/src/types/ModifySource.ts +36 -0
  1124. package/src/types/ModifyTool.ts +36 -0
  1125. package/src/types/OmittedReasoningContent.ts +25 -0
  1126. package/src/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.ts +15 -0
  1127. package/src/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.ts +11 -0
  1128. package/src/types/OpenaiTypesChatCompletionCreateParamsFunction.ts +21 -0
  1129. package/src/types/Organization.ts +29 -0
  1130. package/src/types/OrganizationCreate.ts +16 -0
  1131. package/src/types/OrganizationUpdate.ts +16 -0
  1132. package/src/types/ParameterProperties.ts +12 -0
  1133. package/src/types/ParametersSchema.ts +23 -0
  1134. package/src/types/ParentToolRule.ts +25 -0
  1135. package/src/types/Passage.ts +73 -0
  1136. package/src/types/PassageUpdate.ts +67 -0
  1137. package/src/types/PipRequirement.ts +17 -0
  1138. package/src/types/Provider.ts +24 -0
  1139. package/src/types/ProviderCreate.ts +17 -0
  1140. package/src/types/ProviderUpdate.ts +17 -0
  1141. package/src/types/ReasoningContent.ts +34 -0
  1142. package/src/types/ReasoningMessage.ts +50 -0
  1143. package/src/types/RedactedReasoningContent.ts +25 -0
  1144. package/src/types/ResetGroupMessages.ts +31 -0
  1145. package/src/types/ResetMessages.ts +42 -0
  1146. package/src/types/ResponseFormatJSONObject.ts +11 -0
  1147. package/src/types/ResponseFormatJSONSchema.ts +17 -0
  1148. package/src/types/ResponseFormatText.ts +11 -0
  1149. package/src/types/RetrieveAgent.ts +32 -0
  1150. package/src/types/RetrieveAgentContextWindow.ts +33 -0
  1151. package/src/types/RetrieveAgentMemory.ts +32 -0
  1152. package/src/types/RetrieveBlock.ts +32 -0
  1153. package/src/types/RetrieveCoreMemoryBlock.ts +36 -0
  1154. package/src/types/RetrieveGroup.ts +32 -0
  1155. package/src/types/RetrieveIdentity.ts +32 -0
  1156. package/src/types/RetrieveJob.ts +32 -0
  1157. package/src/types/RetrieveRun.ts +32 -0
  1158. package/src/types/RetrieveRunUsage.ts +32 -0
  1159. package/src/types/RetrieveSource.ts +32 -0
  1160. package/src/types/RetrieveStep.ts +32 -0
  1161. package/src/types/RetrieveTool.ts +32 -0
  1162. package/src/types/RoundRobinManager.ts +13 -0
  1163. package/src/types/RoundRobinManagerUpdate.ts +13 -0
  1164. package/src/types/Run.ts +58 -0
  1165. package/src/types/RunToolFromSource.ts +28 -0
  1166. package/src/types/SSEServerConfig.ts +23 -0
  1167. package/src/types/SandboxConfig.ts +42 -0
  1168. package/src/types/SandboxConfigCreate.ts +14 -0
  1169. package/src/types/SandboxConfigUpdate.ts +17 -0
  1170. package/src/types/SandboxEnvironmentVariable.ts +48 -0
  1171. package/src/types/SandboxEnvironmentVariableCreate.ts +21 -0
  1172. package/src/types/SandboxEnvironmentVariableUpdate.ts +19 -0
  1173. package/src/types/SandboxType.ts +14 -0
  1174. package/src/types/SendGroupMessage.ts +36 -0
  1175. package/src/types/SendGroupMessageStreaming.ts +36 -0
  1176. package/src/types/SendMessage.ts +36 -0
  1177. package/src/types/SleeptimeManager.ts +17 -0
  1178. package/src/types/SleeptimeManagerUpdate.ts +14 -0
  1179. package/src/types/Source.ts +53 -0
  1180. package/src/types/SourceCreate.ts +39 -0
  1181. package/src/types/SourceUpdate.ts +30 -0
  1182. package/src/types/StdioServerConfig.ts +34 -0
  1183. package/src/types/Step.ts +82 -0
  1184. package/src/types/SupervisorManager.ts +16 -0
  1185. package/src/types/SupervisorManagerUpdate.ts +13 -0
  1186. package/src/types/SystemMessage.ts +37 -0
  1187. package/src/types/TagSchema.ts +11 -0
  1188. package/src/types/TerminalToolRule.ts +20 -0
  1189. package/src/types/TextContent.ts +25 -0
  1190. package/src/types/Tool.ts +75 -0
  1191. package/src/types/ToolCall.ts +19 -0
  1192. package/src/types/ToolCallContent.ts +38 -0
  1193. package/src/types/ToolCallDelta.ts +10 -0
  1194. package/src/types/ToolCallMessage.ts +36 -0
  1195. package/src/types/ToolCreate.ts +45 -0
  1196. package/src/types/ToolEnvVarSchema.ts +24 -0
  1197. package/src/types/ToolJSONSchema.ts +23 -0
  1198. package/src/types/ToolReturn.ts +28 -0
  1199. package/src/types/ToolReturnContent.ts +28 -0
  1200. package/src/types/ToolReturnMessage.ts +54 -0
  1201. package/src/types/ToolRunFromSource.ts +46 -0
  1202. package/src/types/ToolSchema.ts +50 -0
  1203. package/src/types/ToolType.ts +19 -0
  1204. package/src/types/ToolUpdate.ts +39 -0
  1205. package/src/types/UpdateAgent.ts +115 -0
  1206. package/src/types/UpdateAssistantMessage.ts +18 -0
  1207. package/src/types/UpdateIdentity.ts +36 -0
  1208. package/src/types/UpdateReasoningMessage.ts +16 -0
  1209. package/src/types/UpdateSystemMessage.ts +17 -0
  1210. package/src/types/UpdateUserMessage.ts +18 -0
  1211. package/src/types/UploadFileToSource.ts +36 -0
  1212. package/src/types/UpsertIdentity.ts +33 -0
  1213. package/src/types/UpsertIdentityProperties.ts +36 -0
  1214. package/src/types/UpsertTool.ts +28 -0
  1215. package/src/types/UsageStatistics.ts +22 -0
  1216. package/src/types/User.ts +35 -0
  1217. package/src/types/UserCreate.ts +12 -0
  1218. package/src/types/UserMessage.ts +38 -0
  1219. package/src/types/UserUpdate.ts +16 -0
  1220. package/src/types/ValidationError.ts +19 -0
  1221. package/src/types/WebSearchOptions.ts +23 -0
  1222. package/src/types/WebSearchOptionsUserLocation.ts +17 -0
  1223. package/src/types/WebSearchOptionsUserLocationApproximate.ts +23 -0
  1224. package/src/types/agents/CreateTemplateFromAgent.ts +62 -0
  1225. package/src/types/agents/GetAgentVariables.ts +48 -0
  1226. package/src/types/agents/MigrateAgent.ts +113 -0
  1227. package/src/types/agents/SearchDeployedAgents.ts +165 -0
  1228. package/src/types/agents/VersionAgentTemplate.ts +84 -0
  1229. package/src/types/agents/index.ts +79 -0
  1230. package/src/types/clientSideAccessTokens/CreateClientSideAccessToken.ts +140 -0
  1231. package/src/types/clientSideAccessTokens/DeleteClientSideAccessToken.ts +43 -0
  1232. package/src/types/clientSideAccessTokens/index.ts +27 -0
  1233. package/src/types/index.ts +1162 -0
  1234. package/src/types/templates/CreateAgentsFromTemplate.ts +74 -0
  1235. package/src/types/templates/index.ts +7 -0
  1236. package/tsconfig.json +3 -1
  1237. package/types/ActionModel.d.ts +54 -0
  1238. package/types/ActionParametersModel.d.ts +25 -0
  1239. package/types/ActionResponseModel.d.ts +25 -0
  1240. package/types/AddBaseTools.d.ts +19 -0
  1241. package/types/AddComposioTool.d.ts +26 -0
  1242. package/types/AddMcpServer.d.ts +22 -0
  1243. package/types/AddMcpTool.d.ts +30 -0
  1244. package/types/AgentEnvironmentVariable.d.ts +47 -0
  1245. package/types/AgentSchema.d.ts +86 -0
  1246. package/types/AgentState.d.ts +140 -0
  1247. package/types/AgentType.d.ts +14 -0
  1248. package/types/AppAuthScheme.d.ts +44 -0
  1249. package/types/AppModel.d.ts +56 -0
  1250. package/types/AssistantMessage.d.ts +33 -0
  1251. package/types/AttachCoreMemoryBlock.d.ts +30 -0
  1252. package/types/AttachSourceToAgent.d.ts +30 -0
  1253. package/types/AttachTool.d.ts +30 -0
  1254. package/types/Audio.d.ts +10 -0
  1255. package/types/AuthRequest.d.ts +11 -0
  1256. package/types/AuthResponse.d.ts +15 -0
  1257. package/types/AuthSchemeField.d.ts +34 -0
  1258. package/types/BaseToolRuleSchema.d.ts +14 -0
  1259. package/types/Block.d.ts +59 -0
  1260. package/types/BlockUpdate.d.ts +42 -0
  1261. package/types/BodyImportAgentSerialized.d.ts +10 -0
  1262. package/types/BodyUploadFileToSource.d.ts +10 -0
  1263. package/types/ChatCompletionAssistantMessageParam.d.ts +27 -0
  1264. package/types/ChatCompletionAudioParam.d.ts +33 -0
  1265. package/types/ChatCompletionContentPartImageParam.d.ts +15 -0
  1266. package/types/ChatCompletionContentPartInputAudioParam.d.ts +15 -0
  1267. package/types/ChatCompletionContentPartRefusalParam.d.ts +14 -0
  1268. package/types/ChatCompletionContentPartTextParam.d.ts +14 -0
  1269. package/types/ChatCompletionDeveloperMessageParam.d.ts +16 -0
  1270. package/types/ChatCompletionFunctionCallOptionParam.d.ts +10 -0
  1271. package/types/ChatCompletionFunctionMessageParam.d.ts +15 -0
  1272. package/types/ChatCompletionMessageToolCall.d.ts +20 -0
  1273. package/types/ChatCompletionMessageToolCallParam.d.ts +19 -0
  1274. package/types/ChatCompletionNamedToolChoiceParam.d.ts +15 -0
  1275. package/types/ChatCompletionPredictionContentParam.d.ts +12 -0
  1276. package/types/ChatCompletionStreamOptionsParam.d.ts +10 -0
  1277. package/types/ChatCompletionSystemMessageParam.d.ts +16 -0
  1278. package/types/ChatCompletionToolMessageParam.d.ts +16 -0
  1279. package/types/ChatCompletionToolParam.d.ts +15 -0
  1280. package/types/ChatCompletionUserMessageParam.d.ts +19 -0
  1281. package/types/ChildToolRule.d.ts +24 -0
  1282. package/types/ChildToolRuleSchema.d.ts +18 -0
  1283. package/types/CompletionCreateParamsNonStreaming.d.ts +149 -0
  1284. package/types/CompletionCreateParamsStreaming.d.ts +152 -0
  1285. package/types/ConditionalToolRule.d.ts +36 -0
  1286. package/types/ConditionalToolRuleSchema.d.ts +25 -0
  1287. package/types/ContextWindowOverview.d.ts +94 -0
  1288. package/types/ContinueToolRule.d.ts +19 -0
  1289. package/types/CoreMemoryBlockSchema.d.ts +35 -0
  1290. package/types/CreateAgent.d.ts +26 -0
  1291. package/types/CreateAgentMessageAsync.d.ts +29 -0
  1292. package/types/CreateAgentMessageStream.d.ts +28 -0
  1293. package/types/CreateAgentRequest.d.ts +185 -0
  1294. package/types/CreateArchivalMemory.d.ts +11 -0
  1295. package/types/CreateBlock.d.ts +62 -0
  1296. package/types/CreateGroup.d.ts +26 -0
  1297. package/types/CreateIdentity.d.ts +26 -0
  1298. package/types/CreatePassage.d.ts +29 -0
  1299. package/types/CreateProvider.d.ts +22 -0
  1300. package/types/CreateSource.d.ts +22 -0
  1301. package/types/CreateTool.d.ts +22 -0
  1302. package/types/CreateVoiceChatCompletions.d.ts +33 -0
  1303. package/types/DeleteAgent.d.ts +25 -0
  1304. package/types/DeleteBlock.d.ts +26 -0
  1305. package/types/DeleteFileFromSource.d.ts +29 -0
  1306. package/types/DeleteGroup.d.ts +25 -0
  1307. package/types/DeleteIdentity.d.ts +25 -0
  1308. package/types/DeleteJob.d.ts +26 -0
  1309. package/types/DeleteMcpServer.d.ts +27 -0
  1310. package/types/DeletePassage.d.ts +29 -0
  1311. package/types/DeleteProvider.d.ts +26 -0
  1312. package/types/DeleteRun.d.ts +26 -0
  1313. package/types/DeleteSource.d.ts +25 -0
  1314. package/types/DeleteTool.d.ts +25 -0
  1315. package/types/DetachCoreMemoryBlock.d.ts +30 -0
  1316. package/types/DetachSourceFromAgent.d.ts +30 -0
  1317. package/types/DetachTool.d.ts +30 -0
  1318. package/types/DynamicManager.d.ts +20 -0
  1319. package/types/DynamicManagerUpdate.d.ts +14 -0
  1320. package/types/E2BSandboxConfig.d.ts +20 -0
  1321. package/types/EmbeddingConfig.d.ts +71 -0
  1322. package/types/ExportAgentSerialized.d.ts +28 -0
  1323. package/types/File.d.ts +15 -0
  1324. package/types/FileFile.d.ts +18 -0
  1325. package/types/FileMetadata.d.ts +58 -0
  1326. package/types/FunctionCall.d.ts +14 -0
  1327. package/types/FunctionDefinitionInput.d.ts +21 -0
  1328. package/types/FunctionDefinitionOutput.d.ts +16 -0
  1329. package/types/FunctionOutput.d.ts +15 -0
  1330. package/types/FunctionTool.d.ts +16 -0
  1331. package/types/GetSourceIdByName.d.ts +25 -0
  1332. package/types/Group.d.ts +34 -0
  1333. package/types/GroupCreate.d.ts +26 -0
  1334. package/types/GroupUpdate.d.ts +14 -0
  1335. package/types/HTTPValidationError.d.ts +11 -0
  1336. package/types/Health.d.ts +17 -0
  1337. package/types/HealthCheck.d.ts +14 -0
  1338. package/types/HiddenReasoningMessage.d.ts +38 -0
  1339. package/types/Identity.d.ts +47 -0
  1340. package/types/IdentityCreate.d.ts +38 -0
  1341. package/types/IdentityProperty.d.ts +25 -0
  1342. package/types/IdentityPropertyType.d.ts +15 -0
  1343. package/types/IdentityType.d.ts +14 -0
  1344. package/types/IdentityUpdate.d.ts +32 -0
  1345. package/types/IdentityUpsert.d.ts +38 -0
  1346. package/types/ImageURL.d.ts +20 -0
  1347. package/types/ImportAgentSerialized.d.ts +47 -0
  1348. package/types/InitToolRule.d.ts +19 -0
  1349. package/types/InputAudio.d.ts +19 -0
  1350. package/types/JSONSchema.d.ts +21 -0
  1351. package/types/Job.d.ts +51 -0
  1352. package/types/JobStatus.d.ts +18 -0
  1353. package/types/JobType.d.ts +10 -0
  1354. package/types/LLMConfig.d.ts +89 -0
  1355. package/types/LettaAssistantMessageContentUnion.d.ts +12 -0
  1356. package/types/LettaMessageContentUnion.d.ts +32 -0
  1357. package/types/LettaMessageUnion.d.ts +36 -0
  1358. package/types/LettaRequest.d.ts +30 -0
  1359. package/types/LettaRequestConfig.d.ts +24 -0
  1360. package/types/LettaResponse.d.ts +20 -0
  1361. package/types/LettaStreamingRequest.d.ts +36 -0
  1362. package/types/LettaUsageStatistics.d.ts +47 -0
  1363. package/types/LettaUserMessageContentUnion.d.ts +12 -0
  1364. package/types/ListActiveJobs.d.ts +19 -0
  1365. package/types/ListActiveRuns.d.ts +26 -0
  1366. package/types/ListAgentSources.d.ts +26 -0
  1367. package/types/ListAgentTools.d.ts +26 -0
  1368. package/types/ListAgents.d.ts +83 -0
  1369. package/types/ListAgentsForBlock.d.ts +26 -0
  1370. package/types/ListBlocks.d.ts +44 -0
  1371. package/types/ListComposioActionsByApp.d.ts +26 -0
  1372. package/types/ListComposioApps.d.ts +23 -0
  1373. package/types/ListCoreMemoryBlocks.d.ts +26 -0
  1374. package/types/ListEmbeddingModels.d.ts +14 -0
  1375. package/types/ListGroupMessages.d.ts +61 -0
  1376. package/types/ListGroups.d.ts +43 -0
  1377. package/types/ListIdentities.d.ts +33 -0
  1378. package/types/ListJobs.d.ts +26 -0
  1379. package/types/ListMcpServers.d.ts +26 -0
  1380. package/types/ListMcpToolsByServer.d.ts +26 -0
  1381. package/types/ListMessages.d.ts +65 -0
  1382. package/types/ListModels.d.ts +14 -0
  1383. package/types/ListPassages.d.ts +50 -0
  1384. package/types/ListProviders.d.ts +27 -0
  1385. package/types/ListRunMessages.d.ts +53 -0
  1386. package/types/ListRunSteps.d.ts +48 -0
  1387. package/types/ListRuns.d.ts +26 -0
  1388. package/types/ListSourceFiles.d.ts +39 -0
  1389. package/types/ListSourcePassages.d.ts +26 -0
  1390. package/types/ListSources.d.ts +19 -0
  1391. package/types/ListSteps.d.ts +56 -0
  1392. package/types/ListTags.d.ts +27 -0
  1393. package/types/ListTools.d.ts +28 -0
  1394. package/types/LocalSandboxConfig.d.ts +28 -0
  1395. package/types/MCPServerType.d.ts +10 -0
  1396. package/types/MCPTool.d.ts +21 -0
  1397. package/types/ManagerType.d.ts +13 -0
  1398. package/types/MaxCountPerStepToolRule.d.ts +24 -0
  1399. package/types/MaxCountPerStepToolRuleSchema.d.ts +18 -0
  1400. package/types/Memory.d.ts +21 -0
  1401. package/types/Message.d.ts +85 -0
  1402. package/types/MessageCreate.d.ts +32 -0
  1403. package/types/MessageRole.d.ts +13 -0
  1404. package/types/MessageSchema.d.ts +35 -0
  1405. package/types/ModifyAgent.d.ts +29 -0
  1406. package/types/ModifyBlock.d.ts +29 -0
  1407. package/types/ModifyCoreMemoryBlock.d.ts +33 -0
  1408. package/types/ModifyGroup.d.ts +33 -0
  1409. package/types/ModifyGroupMessage.d.ts +42 -0
  1410. package/types/ModifyMessage.d.ts +42 -0
  1411. package/types/ModifyPassage.d.ts +33 -0
  1412. package/types/ModifyProvider.d.ts +22 -0
  1413. package/types/ModifySource.d.ts +29 -0
  1414. package/types/ModifyTool.d.ts +29 -0
  1415. package/types/OmittedReasoningContent.d.ts +21 -0
  1416. package/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +14 -0
  1417. package/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +10 -0
  1418. package/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +20 -0
  1419. package/types/Organization.d.ts +28 -0
  1420. package/types/OrganizationCreate.d.ts +15 -0
  1421. package/types/OrganizationUpdate.d.ts +15 -0
  1422. package/types/ParameterProperties.d.ts +11 -0
  1423. package/types/ParametersSchema.d.ts +21 -0
  1424. package/types/ParentToolRule.d.ts +24 -0
  1425. package/types/Passage.d.ts +71 -0
  1426. package/types/PassageUpdate.d.ts +65 -0
  1427. package/types/PipRequirement.d.ts +16 -0
  1428. package/types/Provider.d.ts +23 -0
  1429. package/types/ProviderCreate.d.ts +16 -0
  1430. package/types/ProviderUpdate.d.ts +16 -0
  1431. package/types/ReasoningContent.d.ts +30 -0
  1432. package/types/ReasoningMessage.d.ts +43 -0
  1433. package/types/RedactedReasoningContent.d.ts +21 -0
  1434. package/types/ResetGroupMessages.d.ts +25 -0
  1435. package/types/ResetMessages.d.ts +35 -0
  1436. package/types/ResponseFormatJSONObject.d.ts +10 -0
  1437. package/types/ResponseFormatJSONSchema.d.ts +15 -0
  1438. package/types/ResponseFormatText.d.ts +10 -0
  1439. package/types/RetrieveAgent.d.ts +26 -0
  1440. package/types/RetrieveAgentContextWindow.d.ts +26 -0
  1441. package/types/RetrieveAgentMemory.d.ts +26 -0
  1442. package/types/RetrieveBlock.d.ts +26 -0
  1443. package/types/RetrieveCoreMemoryBlock.d.ts +30 -0
  1444. package/types/RetrieveGroup.d.ts +26 -0
  1445. package/types/RetrieveIdentity.d.ts +26 -0
  1446. package/types/RetrieveJob.d.ts +26 -0
  1447. package/types/RetrieveRun.d.ts +26 -0
  1448. package/types/RetrieveRunUsage.d.ts +26 -0
  1449. package/types/RetrieveSource.d.ts +26 -0
  1450. package/types/RetrieveStep.d.ts +26 -0
  1451. package/types/RetrieveTool.d.ts +26 -0
  1452. package/types/RoundRobinManager.d.ts +12 -0
  1453. package/types/RoundRobinManagerUpdate.d.ts +12 -0
  1454. package/types/Run.d.ts +56 -0
  1455. package/types/RunToolFromSource.d.ts +22 -0
  1456. package/types/SSEServerConfig.d.ts +21 -0
  1457. package/types/SandboxConfig.d.ts +40 -0
  1458. package/types/SandboxConfigCreate.d.ts +12 -0
  1459. package/types/SandboxConfigUpdate.d.ts +15 -0
  1460. package/types/SandboxEnvironmentVariable.d.ts +47 -0
  1461. package/types/SandboxEnvironmentVariableCreate.d.ts +20 -0
  1462. package/types/SandboxEnvironmentVariableUpdate.d.ts +18 -0
  1463. package/types/SandboxType.d.ts +10 -0
  1464. package/types/SendGroupMessage.d.ts +29 -0
  1465. package/types/SendGroupMessageStreaming.d.ts +28 -0
  1466. package/types/SendMessage.d.ts +29 -0
  1467. package/types/SleeptimeManager.d.ts +16 -0
  1468. package/types/SleeptimeManagerUpdate.d.ts +13 -0
  1469. package/types/Source.d.ts +51 -0
  1470. package/types/SourceCreate.d.ts +37 -0
  1471. package/types/SourceUpdate.d.ts +28 -0
  1472. package/types/StdioServerConfig.d.ts +32 -0
  1473. package/types/Step.d.ts +80 -0
  1474. package/types/SupervisorManager.d.ts +15 -0
  1475. package/types/SupervisorManagerUpdate.d.ts +12 -0
  1476. package/types/SystemMessage.d.ts +33 -0
  1477. package/types/TagSchema.d.ts +10 -0
  1478. package/types/TerminalToolRule.d.ts +19 -0
  1479. package/types/TextContent.d.ts +21 -0
  1480. package/types/Tool.d.ts +73 -0
  1481. package/types/ToolCall.d.ts +18 -0
  1482. package/types/ToolCallContent.d.ts +34 -0
  1483. package/types/ToolCallDelta.d.ts +9 -0
  1484. package/types/ToolCallMessage.d.ts +31 -0
  1485. package/types/ToolCreate.d.ts +44 -0
  1486. package/types/ToolEnvVarSchema.d.ts +23 -0
  1487. package/types/ToolJSONSchema.d.ts +21 -0
  1488. package/types/ToolReturn.d.ts +24 -0
  1489. package/types/ToolReturnContent.d.ts +27 -0
  1490. package/types/ToolReturnMessage.d.ts +47 -0
  1491. package/types/ToolRunFromSource.d.ts +45 -0
  1492. package/types/ToolSchema.d.ts +48 -0
  1493. package/types/ToolType.d.ts +16 -0
  1494. package/types/ToolUpdate.d.ts +38 -0
  1495. package/types/UpdateAgent.d.ts +103 -0
  1496. package/types/UpdateAssistantMessage.d.ts +16 -0
  1497. package/types/UpdateIdentity.d.ts +29 -0
  1498. package/types/UpdateReasoningMessage.d.ts +15 -0
  1499. package/types/UpdateSystemMessage.d.ts +16 -0
  1500. package/types/UpdateUserMessage.d.ts +16 -0
  1501. package/types/UploadFileToSource.d.ts +29 -0
  1502. package/types/UpsertIdentity.d.ts +26 -0
  1503. package/types/UpsertIdentityProperties.d.ts +28 -0
  1504. package/types/UpsertTool.d.ts +22 -0
  1505. package/types/UsageStatistics.d.ts +21 -0
  1506. package/types/User.d.ts +34 -0
  1507. package/types/UserCreate.d.ts +11 -0
  1508. package/types/UserMessage.d.ts +33 -0
  1509. package/types/UserUpdate.d.ts +15 -0
  1510. package/types/ValidationError.d.ts +18 -0
  1511. package/types/WebSearchOptions.d.ts +18 -0
  1512. package/types/WebSearchOptionsUserLocation.d.ts +15 -0
  1513. package/types/WebSearchOptionsUserLocationApproximate.d.ts +22 -0
  1514. package/types/agents/CreateTemplateFromAgent.d.ts +52 -0
  1515. package/types/agents/GetAgentVariables.d.ts +40 -0
  1516. package/types/agents/MigrateAgent.d.ts +90 -0
  1517. package/types/agents/SearchDeployedAgents.d.ts +130 -0
  1518. package/types/agents/VersionAgentTemplate.d.ts +69 -0
  1519. package/types/agents/index.d.ts +10 -0
  1520. package/types/clientSideAccessTokens/CreateClientSideAccessToken.d.ts +120 -0
  1521. package/types/clientSideAccessTokens/DeleteClientSideAccessToken.d.ts +35 -0
  1522. package/types/clientSideAccessTokens/index.d.ts +3 -0
  1523. package/types/index.d.ts +328 -0
  1524. package/types/templates/CreateAgentsFromTemplate.d.ts +67 -0
  1525. package/types/templates/index.d.ts +1 -0
  1526. package/dist/hooks/useAgentMessages/useAgentMessages.d.ts +0 -27
  1527. package/dist/hooks/useAgentMessages/useAgentMessages.js +0 -252
  1528. package/dist/hooks/useAgentPassages/useAgentPassages.d.ts +0 -14
  1529. package/dist/hooks/useAgentPassages/useAgentPassages.js +0 -46
  1530. package/dist/hooks/useAgentState/useAgentState.d.ts +0 -16
  1531. package/dist/hooks/useAgentState/useAgentState.js +0 -63
  1532. package/dist/hooks/useCachedState/useCachedState.d.ts +0 -2
  1533. package/dist/hooks/useCachedState/useCachedState.js +0 -19
  1534. package/dist/hooks/useGlobalLettaConfig/useGlobalLettaConfig.d.ts +0 -17
  1535. package/dist/hooks/useGlobalLettaConfig/useGlobalLettaConfig.js +0 -22
  1536. package/dist/hooks/useLettaClient/useLettaClient.d.ts +0 -2
  1537. package/dist/hooks/useLettaClient/useLettaClient.js +0 -8
  1538. package/dist/types.d.ts +0 -5
  1539. package/dist/types.js +0 -1
  1540. package/examples/view-and-send-messages/package-lock.json +0 -1020
  1541. package/examples/view-and-send-messages/package.json +0 -15
  1542. package/examples/view-and-send-messages/src/App.css +0 -24
  1543. package/examples/view-and-send-messages/src/App.tsx +0 -109
  1544. package/examples/view-and-send-messages/src/client.tsx +0 -34
  1545. package/examples/view-and-send-messages/src/index.html +0 -13
  1546. package/examples/view-and-send-messages/tsconfig.json +0 -21
  1547. package/examples/view-and-send-messages/vite.config.mts +0 -6
  1548. package/hooks/useAgentMessages/useAgentMessages.d.ts +0 -27
  1549. package/hooks/useAgentMessages/useAgentMessages.js +0 -252
  1550. package/hooks/useAgentPassages/useAgentPassages.d.ts +0 -14
  1551. package/hooks/useAgentPassages/useAgentPassages.js +0 -46
  1552. package/hooks/useAgentState/useAgentState.d.ts +0 -16
  1553. package/hooks/useAgentState/useAgentState.js +0 -63
  1554. package/hooks/useCachedState/useCachedState.d.ts +0 -2
  1555. package/hooks/useCachedState/useCachedState.js +0 -19
  1556. package/hooks/useGlobalLettaConfig/useGlobalLettaConfig.d.ts +0 -17
  1557. package/hooks/useGlobalLettaConfig/useGlobalLettaConfig.js +0 -22
  1558. package/hooks/useLettaClient/useLettaClient.d.ts +0 -2
  1559. package/hooks/useLettaClient/useLettaClient.js +0 -8
  1560. package/src/hooks/useAgentMessages/useAgentMessages.ts +0 -394
  1561. package/src/hooks/useAgentPassages/useAgentPassages.ts +0 -52
  1562. package/src/hooks/useAgentState/useAgentState.ts +0 -72
  1563. package/src/hooks/useCachedState/useCachedState.ts +0 -30
  1564. package/src/hooks/useGlobalLettaConfig/useGlobalLettaConfig.tsx +0 -49
  1565. package/src/hooks/useLettaClient/useLettaClient.ts +0 -17
  1566. package/src/types.ts +0 -6
  1567. package/types.d.ts +0 -5
  1568. package/types.js +0 -1
@@ -0,0 +1,31 @@
1
+ {
2
+ "oneOf": [
3
+ {
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "text",
8
+ "title": "Type",
9
+ "description": "The type of the message.",
10
+ "default": "text",
11
+ "enum": ["text"]
12
+ },
13
+ "text": {
14
+ "type": "string",
15
+ "title": "Text",
16
+ "description": "The text content of the message."
17
+ }
18
+ },
19
+ "type": "object",
20
+ "required": ["text", "type", "type", "type"],
21
+ "title": "TextContent",
22
+ "x-readme-ref-name": "TextContent"
23
+ }
24
+ ],
25
+ "discriminator": {
26
+ "propertyName": "type",
27
+ "mapping": { "text": "#/components/schemas/TextContent" }
28
+ },
29
+ "x-readme-ref-name": "LettaUserMessageContentUnion",
30
+ "properties": { "type": { "enum": ["text"] } }
31
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "properties": {
3
+ "sandbox_dir": {
4
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
5
+ "title": "Sandbox Dir",
6
+ "description": "Directory for the sandbox environment."
7
+ },
8
+ "use_venv": {
9
+ "type": "boolean",
10
+ "title": "Use Venv",
11
+ "description": "Whether or not to use the venv, or run directly in the same run loop.",
12
+ "default": false
13
+ },
14
+ "venv_name": {
15
+ "type": "string",
16
+ "title": "Venv Name",
17
+ "description": "The name for the venv in the sandbox directory. We first search for an existing venv with this name, otherwise, we make it from the requirements.txt.",
18
+ "default": "venv"
19
+ },
20
+ "pip_requirements": {
21
+ "items": {
22
+ "properties": {
23
+ "name": {
24
+ "type": "string",
25
+ "minLength": 1,
26
+ "title": "Name",
27
+ "description": "Name of the pip package."
28
+ },
29
+ "version": {
30
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
31
+ "title": "Version",
32
+ "description": "Optional version of the package, following semantic versioning."
33
+ }
34
+ },
35
+ "type": "object",
36
+ "required": ["name"],
37
+ "title": "PipRequirement",
38
+ "x-readme-ref-name": "PipRequirement"
39
+ },
40
+ "type": "array",
41
+ "title": "Pip Requirements",
42
+ "description": "List of pip packages to install with mandatory name and optional version following semantic versioning. This only is considered when use_venv is True."
43
+ }
44
+ },
45
+ "type": "object",
46
+ "title": "LocalSandboxConfig",
47
+ "x-readme-ref-name": "LocalSandboxConfig"
48
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "string",
3
+ "enum": ["round_robin", "supervisor", "dynamic", "sleeptime", "swarm"],
4
+ "title": "ManagerType",
5
+ "x-readme-ref-name": "ManagerType"
6
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "properties": {
3
+ "tool_name": {
4
+ "type": "string",
5
+ "title": "Tool Name",
6
+ "description": "The name of the tool. Must exist in the database for the user's organization."
7
+ },
8
+ "type": {
9
+ "type": "string",
10
+ "const": "max_count_per_step",
11
+ "title": "Type",
12
+ "default": "max_count_per_step"
13
+ },
14
+ "max_count_limit": {
15
+ "type": "integer",
16
+ "title": "Max Count Limit",
17
+ "description": "The max limit for the total number of times this tool can be invoked in a single step."
18
+ }
19
+ },
20
+ "additionalProperties": false,
21
+ "type": "object",
22
+ "required": ["tool_name", "max_count_limit"],
23
+ "title": "MaxCountPerStepToolRule",
24
+ "description": "Represents a tool rule configuration which constrains the total number of times this tool can be invoked in a single step.",
25
+ "x-readme-ref-name": "MaxCountPerStepToolRule"
26
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "properties": {
3
+ "tool_name": { "type": "string", "title": "Tool Name" },
4
+ "type": { "type": "string", "title": "Type" },
5
+ "max_count_limit": { "type": "integer", "title": "Max Count Limit" }
6
+ },
7
+ "type": "object",
8
+ "required": ["tool_name", "type", "max_count_limit"],
9
+ "title": "MaxCountPerStepToolRuleSchema",
10
+ "x-readme-ref-name": "MaxCountPerStepToolRuleSchema"
11
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "properties": {
3
+ "blocks": {
4
+ "items": {
5
+ "properties": {
6
+ "value": {
7
+ "type": "string",
8
+ "title": "Value",
9
+ "description": "Value of the block."
10
+ },
11
+ "limit": {
12
+ "type": "integer",
13
+ "title": "Limit",
14
+ "description": "Character limit of the block.",
15
+ "default": 5000
16
+ },
17
+ "name": {
18
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
19
+ "title": "Name",
20
+ "description": "Name of the block if it is a template."
21
+ },
22
+ "is_template": {
23
+ "type": "boolean",
24
+ "title": "Is Template",
25
+ "description": "Whether the block is a template (e.g. saved human/persona options).",
26
+ "default": false
27
+ },
28
+ "label": {
29
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
30
+ "title": "Label",
31
+ "description": "Label of the block (e.g. 'human', 'persona') in the context window."
32
+ },
33
+ "description": {
34
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
35
+ "title": "Description",
36
+ "description": "Description of the block."
37
+ },
38
+ "metadata": {
39
+ "anyOf": [
40
+ { "additionalProperties": true, "type": "object" },
41
+ { "type": "null" }
42
+ ],
43
+ "title": "Metadata",
44
+ "description": "Metadata of the block.",
45
+ "default": {}
46
+ },
47
+ "id": {
48
+ "type": "string",
49
+ "pattern": "^block-[a-fA-F0-9]{8}",
50
+ "title": "Id",
51
+ "description": "The human-friendly ID of the Block",
52
+ "examples": ["block-123e4567-e89b-12d3-a456-426614174000"]
53
+ },
54
+ "created_by_id": {
55
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
56
+ "title": "Created By Id",
57
+ "description": "The id of the user that made this Block."
58
+ },
59
+ "last_updated_by_id": {
60
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
61
+ "title": "Last Updated By Id",
62
+ "description": "The id of the user that last updated this Block."
63
+ }
64
+ },
65
+ "type": "object",
66
+ "required": ["value"],
67
+ "title": "Block",
68
+ "description": "A Block represents a reserved section of the LLM's context window which is editable. `Block` objects contained in the `Memory` object, which is able to edit the Block values.\n\nParameters:\n label (str): The label of the block (e.g. 'human', 'persona'). This defines a category for the block.\n value (str): The value of the block. This is the string that is represented in the context window.\n limit (int): The character limit of the block.\n is_template (bool): Whether the block is a template (e.g. saved human/persona options). Non-template blocks are not stored in the database and are ephemeral, while templated blocks are stored in the database.\n label (str): The label of the block (e.g. 'human', 'persona'). This defines a category for the block.\n template_name (str): The name of the block template (if it is a template).\n description (str): Description of the block.\n metadata (Dict): Metadata of the block.\n user_id (str): The unique identifier of the user associated with the block.",
69
+ "x-readme-ref-name": "Block"
70
+ },
71
+ "type": "array",
72
+ "title": "Blocks",
73
+ "description": "Memory blocks contained in the agent's in-context memory"
74
+ },
75
+ "prompt_template": {
76
+ "type": "string",
77
+ "title": "Prompt Template",
78
+ "description": "Jinja2 template for compiling memory blocks into a prompt string",
79
+ "default": "{% for block in blocks %}<{{ block.label }} characters=\"{{ block.value|length }}/{{ block.limit }}\">\n{{ block.value }}\n</{{ block.label }}>{% if not loop.last %}\n{% endif %}{% endfor %}"
80
+ }
81
+ },
82
+ "type": "object",
83
+ "required": ["blocks"],
84
+ "title": "Memory",
85
+ "description": "Represents the in-context memory (i.e. Core memory) of the agent. This includes both the `Block` objects (labelled by sections), as well as tools to edit the blocks.",
86
+ "x-readme-ref-name": "Memory"
87
+ }
@@ -0,0 +1,336 @@
1
+ {
2
+ "properties": {
3
+ "created_by_id": {
4
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
5
+ "title": "Created By Id",
6
+ "description": "The id of the user that made this object."
7
+ },
8
+ "last_updated_by_id": {
9
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
10
+ "title": "Last Updated By Id",
11
+ "description": "The id of the user that made this object."
12
+ },
13
+ "created_at": {
14
+ "type": "string",
15
+ "format": "date-time",
16
+ "title": "Created At",
17
+ "description": "The timestamp when the object was created."
18
+ },
19
+ "updated_at": {
20
+ "anyOf": [
21
+ { "type": "string", "format": "date-time" },
22
+ { "type": "null" }
23
+ ],
24
+ "title": "Updated At",
25
+ "description": "The timestamp when the object was last updated."
26
+ },
27
+ "id": {
28
+ "type": "string",
29
+ "pattern": "^message-[a-fA-F0-9]{8}",
30
+ "title": "Id",
31
+ "description": "The human-friendly ID of the Message",
32
+ "examples": ["message-123e4567-e89b-12d3-a456-426614174000"]
33
+ },
34
+ "agent_id": {
35
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
36
+ "title": "Agent Id",
37
+ "description": "The unique identifier of the agent."
38
+ },
39
+ "model": {
40
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
41
+ "title": "Model",
42
+ "description": "The model used to make the function call."
43
+ },
44
+ "role": {
45
+ "description": "The role of the participant.",
46
+ "type": "string",
47
+ "enum": ["assistant", "user", "tool", "function", "system"],
48
+ "title": "MessageRole",
49
+ "x-readme-ref-name": "MessageRole"
50
+ },
51
+ "content": {
52
+ "anyOf": [
53
+ {
54
+ "items": {
55
+ "oneOf": [
56
+ {
57
+ "properties": {
58
+ "type": {
59
+ "type": "string",
60
+ "const": "text",
61
+ "title": "Type",
62
+ "description": "The type of the message.",
63
+ "default": "text",
64
+ "enum": ["text"]
65
+ },
66
+ "text": {
67
+ "type": "string",
68
+ "title": "Text",
69
+ "description": "The text content of the message."
70
+ }
71
+ },
72
+ "type": "object",
73
+ "required": ["text", "type", "type", "type"],
74
+ "title": "TextContent",
75
+ "x-readme-ref-name": "TextContent"
76
+ },
77
+ {
78
+ "properties": {
79
+ "type": {
80
+ "type": "string",
81
+ "const": "tool_call",
82
+ "title": "Type",
83
+ "description": "Indicates this content represents a tool call event.",
84
+ "default": "tool_call",
85
+ "enum": ["tool_call", "tool_return"]
86
+ },
87
+ "id": {
88
+ "type": "string",
89
+ "title": "Id",
90
+ "description": "A unique identifier for this specific tool call instance."
91
+ },
92
+ "name": {
93
+ "type": "string",
94
+ "title": "Name",
95
+ "description": "The name of the tool being called."
96
+ },
97
+ "input": {
98
+ "additionalProperties": true,
99
+ "type": "object",
100
+ "title": "Input",
101
+ "description": "The parameters being passed to the tool, structured as a dictionary of parameter names to values."
102
+ }
103
+ },
104
+ "type": "object",
105
+ "required": ["id", "name", "input", "type", "type"],
106
+ "title": "ToolCallContent",
107
+ "x-readme-ref-name": "ToolCallContent"
108
+ },
109
+ {
110
+ "properties": {
111
+ "type": {
112
+ "type": "string",
113
+ "const": "tool_return",
114
+ "title": "Type",
115
+ "description": "Indicates this content represents a tool return event.",
116
+ "default": "tool_return"
117
+ },
118
+ "tool_call_id": {
119
+ "type": "string",
120
+ "title": "Tool Call Id",
121
+ "description": "References the ID of the ToolCallContent that initiated this tool call."
122
+ },
123
+ "content": {
124
+ "type": "string",
125
+ "title": "Content",
126
+ "description": "The content returned by the tool execution."
127
+ },
128
+ "is_error": {
129
+ "type": "boolean",
130
+ "title": "Is Error",
131
+ "description": "Indicates whether the tool execution resulted in an error."
132
+ }
133
+ },
134
+ "type": "object",
135
+ "required": ["tool_call_id", "content", "is_error"],
136
+ "title": "ToolReturnContent",
137
+ "x-readme-ref-name": "ToolReturnContent"
138
+ },
139
+ {
140
+ "properties": {
141
+ "type": {
142
+ "type": "string",
143
+ "const": "reasoning",
144
+ "title": "Type",
145
+ "description": "Indicates this is a reasoning/intermediate step.",
146
+ "default": "reasoning",
147
+ "enum": ["reasoning"]
148
+ },
149
+ "is_native": {
150
+ "type": "boolean",
151
+ "title": "Is Native",
152
+ "description": "Whether the reasoning content was generated by a reasoner model that processed this step."
153
+ },
154
+ "reasoning": {
155
+ "type": "string",
156
+ "title": "Reasoning",
157
+ "description": "The intermediate reasoning or thought process content."
158
+ },
159
+ "signature": {
160
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
161
+ "title": "Signature",
162
+ "description": "A unique identifier for this reasoning step."
163
+ }
164
+ },
165
+ "type": "object",
166
+ "required": ["is_native", "reasoning", "type"],
167
+ "title": "ReasoningContent",
168
+ "x-readme-ref-name": "ReasoningContent"
169
+ },
170
+ {
171
+ "properties": {
172
+ "type": {
173
+ "type": "string",
174
+ "const": "redacted_reasoning",
175
+ "title": "Type",
176
+ "description": "Indicates this is a redacted thinking step.",
177
+ "default": "redacted_reasoning",
178
+ "enum": ["redacted_reasoning"]
179
+ },
180
+ "data": {
181
+ "type": "string",
182
+ "title": "Data",
183
+ "description": "The redacted or filtered intermediate reasoning content."
184
+ }
185
+ },
186
+ "type": "object",
187
+ "required": ["data", "type"],
188
+ "title": "RedactedReasoningContent",
189
+ "x-readme-ref-name": "RedactedReasoningContent"
190
+ },
191
+ {
192
+ "properties": {
193
+ "type": {
194
+ "type": "string",
195
+ "const": "omitted_reasoning",
196
+ "title": "Type",
197
+ "description": "Indicates this is an omitted reasoning step.",
198
+ "default": "omitted_reasoning",
199
+ "enum": ["omitted_reasoning"]
200
+ },
201
+ "tokens": {
202
+ "type": "integer",
203
+ "title": "Tokens",
204
+ "description": "The reasoning token count for intermediate reasoning content."
205
+ }
206
+ },
207
+ "type": "object",
208
+ "required": ["tokens", "type"],
209
+ "title": "OmittedReasoningContent",
210
+ "x-readme-ref-name": "OmittedReasoningContent"
211
+ }
212
+ ],
213
+ "discriminator": {
214
+ "propertyName": "type",
215
+ "mapping": {
216
+ "omitted_reasoning": "#/components/schemas/OmittedReasoningContent",
217
+ "reasoning": "#/components/schemas/ReasoningContent",
218
+ "redacted_reasoning": "#/components/schemas/RedactedReasoningContent",
219
+ "text": "#/components/schemas/TextContent",
220
+ "tool_call": "#/components/schemas/ToolCallContent",
221
+ "tool_return": "#/components/schemas/ToolReturnContent"
222
+ }
223
+ }
224
+ },
225
+ "type": "array"
226
+ },
227
+ { "type": "null" }
228
+ ],
229
+ "title": "Content",
230
+ "description": "The content of the message."
231
+ },
232
+ "name": {
233
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
234
+ "title": "Name",
235
+ "description": "For role user/assistant: the (optional) name of the participant. For role tool/function: the name of the function called."
236
+ },
237
+ "tool_calls": {
238
+ "anyOf": [
239
+ {
240
+ "items": {
241
+ "properties": {
242
+ "id": { "type": "string", "title": "Id" },
243
+ "function": {
244
+ "properties": {
245
+ "arguments": { "type": "string", "title": "Arguments" },
246
+ "name": { "type": "string", "title": "Name" }
247
+ },
248
+ "additionalProperties": true,
249
+ "type": "object",
250
+ "required": ["arguments", "name"],
251
+ "title": "Function",
252
+ "x-readme-ref-name": "Function-Output"
253
+ },
254
+ "type": { "type": "string", "const": "function", "title": "Type" }
255
+ },
256
+ "additionalProperties": true,
257
+ "type": "object",
258
+ "required": ["id", "function", "type"],
259
+ "title": "ChatCompletionMessageToolCall",
260
+ "x-readme-ref-name": "ChatCompletionMessageToolCall"
261
+ },
262
+ "type": "array"
263
+ },
264
+ { "type": "null" }
265
+ ],
266
+ "title": "Tool Calls",
267
+ "description": "The list of tool calls requested. Only applicable for role assistant."
268
+ },
269
+ "tool_call_id": {
270
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
271
+ "title": "Tool Call Id",
272
+ "description": "The ID of the tool call. Only applicable for role tool."
273
+ },
274
+ "step_id": {
275
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
276
+ "title": "Step Id",
277
+ "description": "The id of the step that this message was created in."
278
+ },
279
+ "otid": {
280
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
281
+ "title": "Otid",
282
+ "description": "The offline threading id associated with this message"
283
+ },
284
+ "tool_returns": {
285
+ "anyOf": [
286
+ {
287
+ "items": {
288
+ "properties": {
289
+ "status": {
290
+ "type": "string",
291
+ "enum": ["success", "error"],
292
+ "title": "Status",
293
+ "description": "The status of the tool call"
294
+ },
295
+ "stdout": {
296
+ "anyOf": [
297
+ { "items": { "type": "string" }, "type": "array" },
298
+ { "type": "null" }
299
+ ],
300
+ "title": "Stdout",
301
+ "description": "Captured stdout (e.g. prints, logs) from the tool invocation"
302
+ },
303
+ "stderr": {
304
+ "anyOf": [
305
+ { "items": { "type": "string" }, "type": "array" },
306
+ { "type": "null" }
307
+ ],
308
+ "title": "Stderr",
309
+ "description": "Captured stderr from the tool invocation"
310
+ }
311
+ },
312
+ "type": "object",
313
+ "required": ["status"],
314
+ "title": "ToolReturn",
315
+ "x-readme-ref-name": "ToolReturn"
316
+ },
317
+ "type": "array"
318
+ },
319
+ { "type": "null" }
320
+ ],
321
+ "title": "Tool Returns",
322
+ "description": "Tool execution return information for prior tool calls"
323
+ },
324
+ "group_id": {
325
+ "anyOf": [{ "type": "string" }, { "type": "null" }],
326
+ "title": "Group Id",
327
+ "description": "The multi-agent group that the message was sent in"
328
+ }
329
+ },
330
+ "additionalProperties": false,
331
+ "type": "object",
332
+ "required": ["role"],
333
+ "title": "Message",
334
+ "description": "Letta's internal representation of a message. Includes methods to convert to/from LLM provider formats.\n\nAttributes:\n id (str): The unique identifier of the message.\n role (MessageRole): The role of the participant.\n text (str): The text of the message.\n user_id (str): The unique identifier of the user.\n agent_id (str): The unique identifier of the agent.\n model (str): The model used to make the function call.\n name (str): The name of the participant.\n created_at (datetime): The time the message was created.\n tool_calls (List[OpenAIToolCall,]): The list of tool calls requested.\n tool_call_id (str): The id of the tool call.",
335
+ "x-readme-ref-name": "Message"
336
+ }