@letta-ai/letta-react 0.0.8 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1568) hide show
  1. package/README.md +3 -115
  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 +10625 -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 +10625 -4
  610. package/index.js.map +7 -0
  611. package/package.json +7 -3
  612. package/src/hooks/agentsHooks/index.ts +141 -0
  613. package/src/hooks/agentsHooks/useAgents/createTemplateFromAgent.ts +75 -0
  614. package/src/hooks/agentsHooks/useAgents/getAgentVariables.ts +93 -0
  615. package/src/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.ts +93 -0
  616. package/src/hooks/agentsHooks/useAgents/index.ts +22 -0
  617. package/src/hooks/agentsHooks/useAgents/migrateAgent.ts +77 -0
  618. package/src/hooks/agentsHooks/useAgents/searchDeployedAgents.ts +70 -0
  619. package/src/hooks/agentsHooks/useAgents/versionAgentTemplate.ts +86 -0
  620. package/src/hooks/agentsHooks/useCreateAgent.ts +72 -0
  621. package/src/hooks/agentsHooks/useCreateAgentMessageAsync.ts +76 -0
  622. package/src/hooks/agentsHooks/useCreateAgentMessageStream.ts +75 -0
  623. package/src/hooks/agentsHooks/useCreatePassage.ts +71 -0
  624. package/src/hooks/agentsHooks/useDeleteAgent.ts +66 -0
  625. package/src/hooks/agentsHooks/useDeletePassage.ts +70 -0
  626. package/src/hooks/agentsHooks/useExportAgentSerialized.ts +98 -0
  627. package/src/hooks/agentsHooks/useExportAgentSerializedSuspense.ts +98 -0
  628. package/src/hooks/agentsHooks/useImportAgentSerialized.ts +87 -0
  629. package/src/hooks/agentsHooks/useListAgentSources.ts +86 -0
  630. package/src/hooks/agentsHooks/useListAgentSourcesSuspense.ts +89 -0
  631. package/src/hooks/agentsHooks/useListAgentTools.ts +83 -0
  632. package/src/hooks/agentsHooks/useListAgentToolsSuspense.ts +86 -0
  633. package/src/hooks/agentsHooks/useListAgents.ts +77 -0
  634. package/src/hooks/agentsHooks/useListAgentsSuspense.ts +77 -0
  635. package/src/hooks/agentsHooks/useListCoreMemoryBlocks.ts +89 -0
  636. package/src/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.ts +89 -0
  637. package/src/hooks/agentsHooks/useListMessages.ts +93 -0
  638. package/src/hooks/agentsHooks/useListMessagesSuspense.ts +93 -0
  639. package/src/hooks/agentsHooks/useListPassages.ts +93 -0
  640. package/src/hooks/agentsHooks/useListPassagesSuspense.ts +93 -0
  641. package/src/hooks/agentsHooks/useRetrieveAgent.ts +83 -0
  642. package/src/hooks/agentsHooks/useRetrieveAgentContextWindow.ts +99 -0
  643. package/src/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.ts +93 -0
  644. package/src/hooks/agentsHooks/useRetrieveAgentMemory.ts +89 -0
  645. package/src/hooks/agentsHooks/useRetrieveAgentMemorySuspense.ts +89 -0
  646. package/src/hooks/agentsHooks/useRetrieveAgentSuspense.ts +86 -0
  647. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlock.ts +98 -0
  648. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.ts +98 -0
  649. package/src/hooks/agentsHooks/useSendMessage.ts +71 -0
  650. package/src/hooks/blocksHooks/index.ts +26 -0
  651. package/src/hooks/blocksHooks/useCreateBlock.ts +63 -0
  652. package/src/hooks/blocksHooks/useDeleteBlock.ts +64 -0
  653. package/src/hooks/blocksHooks/useListAgentsForBlock.ts +86 -0
  654. package/src/hooks/blocksHooks/useListAgentsForBlockSuspense.ts +89 -0
  655. package/src/hooks/blocksHooks/useListBlocks.ts +75 -0
  656. package/src/hooks/blocksHooks/useListBlocksSuspense.ts +75 -0
  657. package/src/hooks/blocksHooks/useRetrieveBlock.ts +81 -0
  658. package/src/hooks/blocksHooks/useRetrieveBlockSuspense.ts +84 -0
  659. package/src/hooks/clientSideAccessTokensHooks/index.ts +12 -0
  660. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.ts +73 -0
  661. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.ts +75 -0
  662. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.ts +12 -0
  663. package/src/hooks/groupsHooks/index.ts +30 -0
  664. package/src/hooks/groupsHooks/useCreateGroup.ts +72 -0
  665. package/src/hooks/groupsHooks/useDeleteGroup.ts +66 -0
  666. package/src/hooks/groupsHooks/useListGroupMessages.ts +98 -0
  667. package/src/hooks/groupsHooks/useListGroupMessagesSuspense.ts +98 -0
  668. package/src/hooks/groupsHooks/useListGroups.ts +77 -0
  669. package/src/hooks/groupsHooks/useListGroupsSuspense.ts +77 -0
  670. package/src/hooks/groupsHooks/useRetrieveGroup.ts +83 -0
  671. package/src/hooks/groupsHooks/useRetrieveGroupSuspense.ts +86 -0
  672. package/src/hooks/groupsHooks/useSendGroupMessage.ts +76 -0
  673. package/src/hooks/groupsHooks/useSendGroupMessageStreaming.ts +75 -0
  674. package/src/hooks/healthHooks/index.ts +4 -0
  675. package/src/hooks/healthHooks/useHealthCheck.ts +69 -0
  676. package/src/hooks/healthHooks/useHealthCheckSuspense.ts +67 -0
  677. package/src/hooks/identitiesHooks/index.ts +26 -0
  678. package/src/hooks/identitiesHooks/useCreateIdentity.ts +75 -0
  679. package/src/hooks/identitiesHooks/useDeleteIdentity.ts +66 -0
  680. package/src/hooks/identitiesHooks/useListIdentities.ts +82 -0
  681. package/src/hooks/identitiesHooks/useListIdentitiesSuspense.ts +82 -0
  682. package/src/hooks/identitiesHooks/useRetrieveIdentity.ts +87 -0
  683. package/src/hooks/identitiesHooks/useRetrieveIdentitySuspense.ts +87 -0
  684. package/src/hooks/identitiesHooks/useUpsertIdentity.ts +75 -0
  685. package/src/hooks/identitiesHooks/useUpsertIdentityProperties.ts +73 -0
  686. package/src/hooks/index.ts +533 -0
  687. package/src/hooks/jobsHooks/index.ts +19 -0
  688. package/src/hooks/jobsHooks/useDeleteJob.ts +61 -0
  689. package/src/hooks/jobsHooks/useListActiveJobs.ts +80 -0
  690. package/src/hooks/jobsHooks/useListActiveJobsSuspense.ts +80 -0
  691. package/src/hooks/jobsHooks/useListJobs.ts +72 -0
  692. package/src/hooks/jobsHooks/useListJobsSuspense.ts +72 -0
  693. package/src/hooks/jobsHooks/useRetrieveJob.ts +79 -0
  694. package/src/hooks/jobsHooks/useRetrieveJobSuspense.ts +79 -0
  695. package/src/hooks/modelsHooks/index.ts +13 -0
  696. package/src/hooks/modelsHooks/useListEmbeddingModels.ts +78 -0
  697. package/src/hooks/modelsHooks/useListEmbeddingModelsSuspense.ts +78 -0
  698. package/src/hooks/modelsHooks/useListModels.ts +69 -0
  699. package/src/hooks/modelsHooks/useListModelsSuspense.ts +67 -0
  700. package/src/hooks/providersHooks/index.ts +13 -0
  701. package/src/hooks/providersHooks/useCreateProvider.ts +65 -0
  702. package/src/hooks/providersHooks/useDeleteProvider.ts +62 -0
  703. package/src/hooks/providersHooks/useListProviders.ts +82 -0
  704. package/src/hooks/providersHooks/useListProvidersSuspense.ts +82 -0
  705. package/src/hooks/runsHooks/index.ts +41 -0
  706. package/src/hooks/runsHooks/useDeleteRun.ts +61 -0
  707. package/src/hooks/runsHooks/useListActiveRuns.ts +82 -0
  708. package/src/hooks/runsHooks/useListActiveRunsSuspense.ts +82 -0
  709. package/src/hooks/runsHooks/useListRunMessages.ts +93 -0
  710. package/src/hooks/runsHooks/useListRunMessagesSuspense.ts +93 -0
  711. package/src/hooks/runsHooks/useListRunSteps.ts +93 -0
  712. package/src/hooks/runsHooks/useListRunStepsSuspense.ts +93 -0
  713. package/src/hooks/runsHooks/useListRuns.ts +72 -0
  714. package/src/hooks/runsHooks/useListRunsSuspense.ts +72 -0
  715. package/src/hooks/runsHooks/useRetrieveRun.ts +79 -0
  716. package/src/hooks/runsHooks/useRetrieveRunSuspense.ts +79 -0
  717. package/src/hooks/runsHooks/useRetrieveRunUsage.ts +83 -0
  718. package/src/hooks/runsHooks/useRetrieveRunUsageSuspense.ts +86 -0
  719. package/src/hooks/sourcesHooks/index.ts +48 -0
  720. package/src/hooks/sourcesHooks/useCreateSource.ts +65 -0
  721. package/src/hooks/sourcesHooks/useDeleteFileFromSource.ts +70 -0
  722. package/src/hooks/sourcesHooks/useDeleteSource.ts +66 -0
  723. package/src/hooks/sourcesHooks/useGetSourceIdByName.ts +89 -0
  724. package/src/hooks/sourcesHooks/useGetSourceIdByNameSuspense.ts +89 -0
  725. package/src/hooks/sourcesHooks/useListSourceFiles.ts +93 -0
  726. package/src/hooks/sourcesHooks/useListSourceFilesSuspense.ts +93 -0
  727. package/src/hooks/sourcesHooks/useListSourcePassages.ts +89 -0
  728. package/src/hooks/sourcesHooks/useListSourcePassagesSuspense.ts +89 -0
  729. package/src/hooks/sourcesHooks/useListSources.ts +73 -0
  730. package/src/hooks/sourcesHooks/useListSourcesSuspense.ts +73 -0
  731. package/src/hooks/sourcesHooks/useRetrieveSource.ts +83 -0
  732. package/src/hooks/sourcesHooks/useRetrieveSourceSuspense.ts +89 -0
  733. package/src/hooks/sourcesHooks/useUploadFileToSource.ts +86 -0
  734. package/src/hooks/stepsHooks/index.ts +8 -0
  735. package/src/hooks/stepsHooks/useListSteps.ts +72 -0
  736. package/src/hooks/stepsHooks/useListStepsSuspense.ts +72 -0
  737. package/src/hooks/stepsHooks/useRetrieveStep.ts +82 -0
  738. package/src/hooks/stepsHooks/useRetrieveStepSuspense.ts +83 -0
  739. package/src/hooks/tagHooks/index.ts +4 -0
  740. package/src/hooks/tagHooks/useListTags.ts +72 -0
  741. package/src/hooks/tagHooks/useListTagsSuspense.ts +72 -0
  742. package/src/hooks/templatesHooks/index.ts +6 -0
  743. package/src/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.ts +84 -0
  744. package/src/hooks/templatesHooks/useTemplates/index.ts +6 -0
  745. package/src/hooks/toolsHooks/index.ts +67 -0
  746. package/src/hooks/toolsHooks/useAddBaseTools.ts +56 -0
  747. package/src/hooks/toolsHooks/useAddComposioTool.ts +69 -0
  748. package/src/hooks/toolsHooks/useAddMcpServer.ts +65 -0
  749. package/src/hooks/toolsHooks/useAddMcpTool.ts +70 -0
  750. package/src/hooks/toolsHooks/useCreateTool.ts +62 -0
  751. package/src/hooks/toolsHooks/useDeleteMcpServer.ts +69 -0
  752. package/src/hooks/toolsHooks/useDeleteTool.ts +61 -0
  753. package/src/hooks/toolsHooks/useListComposioActionsByApp.ts +99 -0
  754. package/src/hooks/toolsHooks/useListComposioActionsByAppSuspense.ts +93 -0
  755. package/src/hooks/toolsHooks/useListComposioApps.ts +82 -0
  756. package/src/hooks/toolsHooks/useListComposioAppsSuspense.ts +82 -0
  757. package/src/hooks/toolsHooks/useListMcpServers.ts +82 -0
  758. package/src/hooks/toolsHooks/useListMcpServersSuspense.ts +82 -0
  759. package/src/hooks/toolsHooks/useListMcpToolsByServer.ts +89 -0
  760. package/src/hooks/toolsHooks/useListMcpToolsByServerSuspense.ts +89 -0
  761. package/src/hooks/toolsHooks/useListTools.ts +72 -0
  762. package/src/hooks/toolsHooks/useListToolsSuspense.ts +72 -0
  763. package/src/hooks/toolsHooks/useRetrieveTool.ts +82 -0
  764. package/src/hooks/toolsHooks/useRetrieveToolSuspense.ts +83 -0
  765. package/src/hooks/toolsHooks/useRunToolFromSource.ts +70 -0
  766. package/src/hooks/toolsHooks/useUpsertTool.ts +62 -0
  767. package/src/hooks/voiceHooks/index.ts +2 -0
  768. package/src/hooks/voiceHooks/useCreateVoiceChatCompletions.ts +83 -0
  769. package/src/index.ts +1454 -4
  770. package/src/schemas/HTTPValidationError.json +1 -0
  771. package/src/schemas/JSONSchema.json +1 -0
  772. package/src/schemas/LLMConfig.json +1 -0
  773. package/src/schemas/MCPServerType.json +1 -0
  774. package/src/schemas/MCPTool.json +1 -0
  775. package/src/schemas/SSEServerConfig.json +1 -0
  776. package/src/schemas/actionModel.json +1 -0
  777. package/src/schemas/actionParametersModel.json +1 -0
  778. package/src/schemas/actionResponseModel.json +1 -0
  779. package/src/schemas/agentEnvironmentVariable.json +1 -0
  780. package/src/schemas/agentSchema.json +1 -0
  781. package/src/schemas/agentState.json +1 -0
  782. package/src/schemas/agentType.json +1 -0
  783. package/src/schemas/appAuthScheme.json +1 -0
  784. package/src/schemas/appModel.json +1 -0
  785. package/src/schemas/assistantMessage.json +1 -0
  786. package/src/schemas/audio.json +1 -0
  787. package/src/schemas/authRequest.json +1 -0
  788. package/src/schemas/authResponse.json +1 -0
  789. package/src/schemas/authSchemeField.json +1 -0
  790. package/src/schemas/baseToolRuleSchema.json +1 -0
  791. package/src/schemas/block.json +1 -0
  792. package/src/schemas/blockUpdate.json +1 -0
  793. package/src/schemas/bodyImportAgentSerialized.json +1 -0
  794. package/src/schemas/bodyUploadFileToSource.json +1 -0
  795. package/src/schemas/chatCompletionAssistantMessageParam.json +1 -0
  796. package/src/schemas/chatCompletionAudioParam.json +1 -0
  797. package/src/schemas/chatCompletionContentPartImageParam.json +1 -0
  798. package/src/schemas/chatCompletionContentPartInputAudioParam.json +1 -0
  799. package/src/schemas/chatCompletionContentPartRefusalParam.json +1 -0
  800. package/src/schemas/chatCompletionContentPartTextParam.json +1 -0
  801. package/src/schemas/chatCompletionDeveloperMessageParam.json +1 -0
  802. package/src/schemas/chatCompletionFunctionCallOptionParam.json +1 -0
  803. package/src/schemas/chatCompletionFunctionMessageParam.json +1 -0
  804. package/src/schemas/chatCompletionMessageToolCall.json +1 -0
  805. package/src/schemas/chatCompletionMessageToolCallParam.json +1 -0
  806. package/src/schemas/chatCompletionNamedToolChoiceParam.json +1 -0
  807. package/src/schemas/chatCompletionPredictionContentParam.json +1 -0
  808. package/src/schemas/chatCompletionStreamOptionsParam.json +1 -0
  809. package/src/schemas/chatCompletionSystemMessageParam.json +1 -0
  810. package/src/schemas/chatCompletionToolMessageParam.json +1 -0
  811. package/src/schemas/chatCompletionToolParam.json +1 -0
  812. package/src/schemas/chatCompletionUserMessageParam.json +1 -0
  813. package/src/schemas/childToolRule.json +1 -0
  814. package/src/schemas/childToolRuleSchema.json +1 -0
  815. package/src/schemas/completionCreateParamsNonStreaming.json +1 -0
  816. package/src/schemas/completionCreateParamsStreaming.json +1 -0
  817. package/src/schemas/conditionalToolRule.json +1 -0
  818. package/src/schemas/conditionalToolRuleSchema.json +1 -0
  819. package/src/schemas/contextWindowOverview.json +1 -0
  820. package/src/schemas/continueToolRule.json +1 -0
  821. package/src/schemas/coreMemoryBlockSchema.json +1 -0
  822. package/src/schemas/createAgentRequest.json +1 -0
  823. package/src/schemas/createArchivalMemory.json +1 -0
  824. package/src/schemas/createBlock.json +1 -0
  825. package/src/schemas/dynamicManager.json +1 -0
  826. package/src/schemas/dynamicManagerUpdate.json +1 -0
  827. package/src/schemas/e2BSandboxConfig.json +1 -0
  828. package/src/schemas/embeddingConfig.json +1 -0
  829. package/src/schemas/file.json +1 -0
  830. package/src/schemas/fileFile.json +1 -0
  831. package/src/schemas/fileMetadata.json +1 -0
  832. package/src/schemas/functionCall.json +1 -0
  833. package/src/schemas/functionDefinitionInput.json +1 -0
  834. package/src/schemas/functionDefinitionOutput.json +1 -0
  835. package/src/schemas/functionOutput.json +1 -0
  836. package/src/schemas/functionTool.json +1 -0
  837. package/src/schemas/group.json +1 -0
  838. package/src/schemas/groupCreate.json +1 -0
  839. package/src/schemas/groupUpdate.json +1 -0
  840. package/src/schemas/health.json +1 -0
  841. package/src/schemas/hiddenReasoningMessage.json +1 -0
  842. package/src/schemas/identity.json +1 -0
  843. package/src/schemas/identityCreate.json +1 -0
  844. package/src/schemas/identityProperty.json +1 -0
  845. package/src/schemas/identityPropertyType.json +1 -0
  846. package/src/schemas/identityType.json +1 -0
  847. package/src/schemas/identityUpdate.json +1 -0
  848. package/src/schemas/identityUpsert.json +1 -0
  849. package/src/schemas/imageURL.json +1 -0
  850. package/src/schemas/initToolRule.json +1 -0
  851. package/src/schemas/inputAudio.json +1 -0
  852. package/src/schemas/job.json +1 -0
  853. package/src/schemas/jobStatus.json +1 -0
  854. package/src/schemas/jobType.json +1 -0
  855. package/src/schemas/lettaAssistantMessageContentUnion.json +1 -0
  856. package/src/schemas/lettaMessageContentUnion.json +1 -0
  857. package/src/schemas/lettaMessageUnion.json +1 -0
  858. package/src/schemas/lettaRequest.json +1 -0
  859. package/src/schemas/lettaRequestConfig.json +1 -0
  860. package/src/schemas/lettaResponse.json +1 -0
  861. package/src/schemas/lettaStreamingRequest.json +1 -0
  862. package/src/schemas/lettaUsageStatistics.json +1 -0
  863. package/src/schemas/lettaUserMessageContentUnion.json +1 -0
  864. package/src/schemas/localSandboxConfig.json +1 -0
  865. package/src/schemas/managerType.json +1 -0
  866. package/src/schemas/maxCountPerStepToolRule.json +1 -0
  867. package/src/schemas/maxCountPerStepToolRuleSchema.json +1 -0
  868. package/src/schemas/memory.json +1 -0
  869. package/src/schemas/message.json +1 -0
  870. package/src/schemas/messageCreate.json +1 -0
  871. package/src/schemas/messageRole.json +1 -0
  872. package/src/schemas/messageSchema.json +1 -0
  873. package/src/schemas/omittedReasoningContent.json +1 -0
  874. package/src/schemas/openaiTypesChatChatCompletionMessageToolCallParamFunction.json +1 -0
  875. package/src/schemas/openaiTypesChatChatCompletionNamedToolChoiceParamFunction.json +1 -0
  876. package/src/schemas/openaiTypesChatCompletionCreateParamsFunction.json +1 -0
  877. package/src/schemas/organization.json +1 -0
  878. package/src/schemas/organizationCreate.json +1 -0
  879. package/src/schemas/organizationUpdate.json +1 -0
  880. package/src/schemas/parameterProperties.json +1 -0
  881. package/src/schemas/parametersSchema.json +1 -0
  882. package/src/schemas/parentToolRule.json +1 -0
  883. package/src/schemas/passage.json +1 -0
  884. package/src/schemas/passageUpdate.json +1 -0
  885. package/src/schemas/pipRequirement.json +1 -0
  886. package/src/schemas/provider.json +1 -0
  887. package/src/schemas/providerCreate.json +1 -0
  888. package/src/schemas/providerUpdate.json +1 -0
  889. package/src/schemas/reasoningContent.json +1 -0
  890. package/src/schemas/reasoningMessage.json +1 -0
  891. package/src/schemas/redactedReasoningContent.json +1 -0
  892. package/src/schemas/responseFormatJSONObject.json +1 -0
  893. package/src/schemas/responseFormatJSONSchema.json +1 -0
  894. package/src/schemas/responseFormatText.json +1 -0
  895. package/src/schemas/roundRobinManager.json +1 -0
  896. package/src/schemas/roundRobinManagerUpdate.json +1 -0
  897. package/src/schemas/run.json +1 -0
  898. package/src/schemas/sandboxConfig.json +1 -0
  899. package/src/schemas/sandboxConfigCreate.json +1 -0
  900. package/src/schemas/sandboxConfigUpdate.json +1 -0
  901. package/src/schemas/sandboxEnvironmentVariable.json +1 -0
  902. package/src/schemas/sandboxEnvironmentVariableCreate.json +1 -0
  903. package/src/schemas/sandboxEnvironmentVariableUpdate.json +1 -0
  904. package/src/schemas/sandboxType.json +1 -0
  905. package/src/schemas/sleeptimeManager.json +1 -0
  906. package/src/schemas/sleeptimeManagerUpdate.json +1 -0
  907. package/src/schemas/source.json +1 -0
  908. package/src/schemas/sourceCreate.json +1 -0
  909. package/src/schemas/sourceUpdate.json +1 -0
  910. package/src/schemas/stdioServerConfig.json +1 -0
  911. package/src/schemas/step.json +1 -0
  912. package/src/schemas/supervisorManager.json +1 -0
  913. package/src/schemas/supervisorManagerUpdate.json +1 -0
  914. package/src/schemas/systemMessage.json +1 -0
  915. package/src/schemas/tagSchema.json +1 -0
  916. package/src/schemas/terminalToolRule.json +1 -0
  917. package/src/schemas/textContent.json +1 -0
  918. package/src/schemas/tool.json +1 -0
  919. package/src/schemas/toolCall.json +1 -0
  920. package/src/schemas/toolCallContent.json +1 -0
  921. package/src/schemas/toolCallDelta.json +1 -0
  922. package/src/schemas/toolCallMessage.json +1 -0
  923. package/src/schemas/toolCreate.json +1 -0
  924. package/src/schemas/toolEnvVarSchema.json +1 -0
  925. package/src/schemas/toolJSONSchema.json +1 -0
  926. package/src/schemas/toolReturn.json +1 -0
  927. package/src/schemas/toolReturnContent.json +1 -0
  928. package/src/schemas/toolReturnMessage.json +1 -0
  929. package/src/schemas/toolRunFromSource.json +1 -0
  930. package/src/schemas/toolSchema.json +1 -0
  931. package/src/schemas/toolType.json +1 -0
  932. package/src/schemas/toolUpdate.json +1 -0
  933. package/src/schemas/updateAgent.json +1 -0
  934. package/src/schemas/updateAssistantMessage.json +1 -0
  935. package/src/schemas/updateReasoningMessage.json +1 -0
  936. package/src/schemas/updateSystemMessage.json +1 -0
  937. package/src/schemas/updateUserMessage.json +1 -0
  938. package/src/schemas/usageStatistics.json +1 -0
  939. package/src/schemas/user.json +1 -0
  940. package/src/schemas/userCreate.json +1 -0
  941. package/src/schemas/userMessage.json +1 -0
  942. package/src/schemas/userUpdate.json +1 -0
  943. package/src/schemas/validationError.json +1 -0
  944. package/src/schemas/webSearchOptions.json +1 -0
  945. package/src/schemas/webSearchOptionsUserLocation.json +1 -0
  946. package/src/schemas/webSearchOptionsUserLocationApproximate.json +1 -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 +88 -0
  956. package/src/types/AgentState.ts +142 -0
  957. package/src/types/AgentType.ts +17 -0
  958. package/src/types/AppAuthScheme.ts +48 -0
  959. package/src/types/AppModel.ts +60 -0
  960. package/src/types/AssistantMessage.ts +37 -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 +29 -0
  974. package/src/types/ChatCompletionAudioParam.ts +38 -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 +21 -0
  991. package/src/types/ChildToolRule.ts +25 -0
  992. package/src/types/ChildToolRuleSchema.ts +19 -0
  993. package/src/types/CompletionCreateParamsNonStreaming.ts +176 -0
  994. package/src/types/CompletionCreateParamsStreaming.ts +178 -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 +36 -0
  1002. package/src/types/CreateAgentMessageStream.ts +35 -0
  1003. package/src/types/CreateAgentRequest.ts +187 -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 +41 -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 +74 -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 +28 -0
  1044. package/src/types/GroupUpdate.ts +16 -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 +43 -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 +18 -0
  1053. package/src/types/IdentityType.ts +17 -0
  1054. package/src/types/IdentityUpdate.ts +34 -0
  1055. package/src/types/IdentityUpsert.ts +40 -0
  1056. package/src/types/ImageURL.ts +23 -0
  1057. package/src/types/ImportAgentSerialized.ts +54 -0
  1058. package/src/types/InitToolRule.ts +20 -0
  1059. package/src/types/InputAudio.ts +22 -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 +92 -0
  1065. package/src/types/LettaAssistantMessageContentUnion.ts +17 -0
  1066. package/src/types/LettaMessageContentUnion.ts +42 -0
  1067. package/src/types/LettaMessageUnion.ts +47 -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 +16 -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 +13 -0
  1106. package/src/types/MCPTool.ts +22 -0
  1107. package/src/types/ManagerType.ts +16 -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 +87 -0
  1112. package/src/types/MessageCreate.ts +36 -0
  1113. package/src/types/MessageRole.ts +16 -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 +56 -0
  1120. package/src/types/ModifyMessage.ts +49 -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 +24 -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 +33 -0
  1142. package/src/types/ReasoningMessage.ts +48 -0
  1143. package/src/types/RedactedReasoningContent.ts +24 -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 +32 -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 +13 -0
  1174. package/src/types/SendGroupMessage.ts +36 -0
  1175. package/src/types/SendGroupMessageStreaming.ts +35 -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 +36 -0
  1187. package/src/types/TagSchema.ts +11 -0
  1188. package/src/types/TerminalToolRule.ts +20 -0
  1189. package/src/types/TextContent.ts +24 -0
  1190. package/src/types/Tool.ts +75 -0
  1191. package/src/types/ToolCall.ts +19 -0
  1192. package/src/types/ToolCallContent.ts +37 -0
  1193. package/src/types/ToolCallDelta.ts +10 -0
  1194. package/src/types/ToolCallMessage.ts +35 -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 +27 -0
  1199. package/src/types/ToolReturnContent.ts +28 -0
  1200. package/src/types/ToolReturnMessage.ts +52 -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 +105 -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 +35 -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 +37 -0
  1219. package/src/types/UserUpdate.ts +16 -0
  1220. package/src/types/ValidationError.ts +19 -0
  1221. package/src/types/WebSearchOptions.ts +22 -0
  1222. package/src/types/WebSearchOptionsUserLocation.ts +17 -0
  1223. package/src/types/WebSearchOptionsUserLocationApproximate.ts +23 -0
  1224. package/src/types/agents/CreateTemplateFromAgent.ts +61 -0
  1225. package/src/types/agents/GetAgentVariables.ts +47 -0
  1226. package/src/types/agents/MigrateAgent.ts +108 -0
  1227. package/src/types/agents/SearchDeployedAgents.ts +157 -0
  1228. package/src/types/agents/VersionAgentTemplate.ts +81 -0
  1229. package/src/types/agents/index.ts +76 -0
  1230. package/src/types/clientSideAccessTokens/CreateClientSideAccessToken.ts +135 -0
  1231. package/src/types/clientSideAccessTokens/DeleteClientSideAccessToken.ts +41 -0
  1232. package/src/types/clientSideAccessTokens/index.ts +21 -0
  1233. package/src/types/index.ts +837 -0
  1234. package/src/types/templates/CreateAgentsFromTemplate.ts +73 -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 -13
  1529. package/dist/hooks/useAgentPassages/useAgentPassages.js +0 -45
  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 -13
  1551. package/hooks/useAgentPassages/useAgentPassages.js +0 -45
  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 -51
  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,39 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { CreatePassageMutationRequest, CreatePassageMutationResponse, CreatePassagePathParams, CreatePassage422 } from '../../types/CreatePassage.ts';
7
+ import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
9
+ export declare const createPassageMutationKey: () => readonly [{
10
+ readonly url: "/v1/agents/{agent_id}/archival-memory";
11
+ }];
12
+ export type CreatePassageMutationKey = ReturnType<typeof createPassageMutationKey>;
13
+ /**
14
+ * @description Insert a memory into an agent's archival memory store.
15
+ * @summary Create Passage
16
+ * {@link /v1/agents/:agent_id/archival-memory}
17
+ */
18
+ export declare function createPassage(agent_id: CreatePassagePathParams['agent_id'], data: CreatePassageMutationRequest, config?: Partial<RequestConfig<CreatePassageMutationRequest>> & {
19
+ client?: typeof client;
20
+ }): Promise<ResponseConfig<import("../../types/CreatePassage.ts").CreatePassage200>>;
21
+ /**
22
+ * @description Insert a memory into an agent's archival memory store.
23
+ * @summary Create Passage
24
+ * {@link /v1/agents/:agent_id/archival-memory}
25
+ */
26
+ export declare function useCreatePassage<TContext>(options?: {
27
+ mutation?: UseMutationOptions<ResponseConfig<CreatePassageMutationResponse>, ResponseErrorConfig<CreatePassage422>, {
28
+ agent_id: CreatePassagePathParams['agent_id'];
29
+ data: CreatePassageMutationRequest;
30
+ }, TContext> & {
31
+ client?: QueryClient;
32
+ };
33
+ client?: Partial<RequestConfig<CreatePassageMutationRequest>> & {
34
+ client?: typeof client;
35
+ };
36
+ }): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../types/CreatePassage.ts").CreatePassage200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
37
+ agent_id: CreatePassagePathParams["agent_id"];
38
+ data: CreatePassageMutationRequest;
39
+ }, TContext>;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { DeleteAgentMutationResponse, DeleteAgentPathParams, DeleteAgent422 } from '../../types/DeleteAgent.ts';
7
+ import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
9
+ export declare const deleteAgentMutationKey: () => readonly [{
10
+ readonly url: "/v1/agents/{agent_id}";
11
+ }];
12
+ export type DeleteAgentMutationKey = ReturnType<typeof deleteAgentMutationKey>;
13
+ /**
14
+ * @description Delete an agent.
15
+ * @summary Delete Agent
16
+ * {@link /v1/agents/:agent_id}
17
+ */
18
+ export declare function deleteAgent(agent_id: DeleteAgentPathParams['agent_id'], config?: Partial<RequestConfig> & {
19
+ client?: typeof client;
20
+ }): Promise<ResponseConfig<any>>;
21
+ /**
22
+ * @description Delete an agent.
23
+ * @summary Delete Agent
24
+ * {@link /v1/agents/:agent_id}
25
+ */
26
+ export declare function useDeleteAgent<TContext>(options?: {
27
+ mutation?: UseMutationOptions<ResponseConfig<DeleteAgentMutationResponse>, ResponseErrorConfig<DeleteAgent422>, {
28
+ agent_id: DeleteAgentPathParams['agent_id'];
29
+ }, TContext> & {
30
+ client?: QueryClient;
31
+ };
32
+ client?: Partial<RequestConfig> & {
33
+ client?: typeof client;
34
+ };
35
+ }): import("@tanstack/react-query").UseMutationResult<ResponseConfig<any>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
36
+ agent_id: DeleteAgentPathParams["agent_id"];
37
+ }, TContext>;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { DeletePassageMutationResponse, DeletePassagePathParams, DeletePassage422 } from '../../types/DeletePassage.ts';
7
+ import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
9
+ export declare const deletePassageMutationKey: () => readonly [{
10
+ readonly url: "/v1/agents/{agent_id}/archival-memory/{memory_id}";
11
+ }];
12
+ export type DeletePassageMutationKey = ReturnType<typeof deletePassageMutationKey>;
13
+ /**
14
+ * @description Delete a memory from an agent's archival memory store.
15
+ * @summary Delete Passage
16
+ * {@link /v1/agents/:agent_id/archival-memory/:memory_id}
17
+ */
18
+ export declare function deletePassage(agent_id: DeletePassagePathParams['agent_id'], memory_id: DeletePassagePathParams['memory_id'], config?: Partial<RequestConfig> & {
19
+ client?: typeof client;
20
+ }): Promise<ResponseConfig<any>>;
21
+ /**
22
+ * @description Delete a memory from an agent's archival memory store.
23
+ * @summary Delete Passage
24
+ * {@link /v1/agents/:agent_id/archival-memory/:memory_id}
25
+ */
26
+ export declare function useDeletePassage<TContext>(options?: {
27
+ mutation?: UseMutationOptions<ResponseConfig<DeletePassageMutationResponse>, ResponseErrorConfig<DeletePassage422>, {
28
+ agent_id: DeletePassagePathParams['agent_id'];
29
+ memory_id: DeletePassagePathParams['memory_id'];
30
+ }, TContext> & {
31
+ client?: QueryClient;
32
+ };
33
+ client?: Partial<RequestConfig> & {
34
+ client?: typeof client;
35
+ };
36
+ }): import("@tanstack/react-query").UseMutationResult<ResponseConfig<any>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
37
+ agent_id: DeletePassagePathParams["agent_id"];
38
+ memory_id: DeletePassagePathParams["memory_id"];
39
+ }, TContext>;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ExportAgentSerializedQueryRequest, ExportAgentSerializedQueryResponse, ExportAgentSerializedPathParams, ExportAgentSerialized422 } from '../../types/ExportAgentSerialized.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query';
9
+ export declare const exportAgentSerializedQueryKey: (agent_id: ExportAgentSerializedPathParams["agent_id"], data?: ExportAgentSerializedQueryRequest) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/export";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }, ...import("../../index.ts").AgentSchema[]];
15
+ export type ExportAgentSerializedQueryKey = ReturnType<typeof exportAgentSerializedQueryKey>;
16
+ /**
17
+ * @description Export the serialized JSON representation of an agent, formatted with indentation.
18
+ * @summary Export Agent Serialized
19
+ * {@link /v1/agents/:agent_id/export}
20
+ */
21
+ export declare function exportAgentSerialized(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, config?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<any>>;
24
+ export declare function exportAgentSerializedQueryOptions(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, config?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<any>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<any>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/export";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }, ...import("../../index.ts").AgentSchema[]]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<any>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/export";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }, ...import("../../index.ts").AgentSchema[]], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/export";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }, ...import("../../index.ts").AgentSchema[]] & {
45
+ [dataTagSymbol]: ResponseConfig<any>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Export the serialized JSON representation of an agent, formatted with indentation.
51
+ * @summary Export Agent Serialized
52
+ * {@link /v1/agents/:agent_id/export}
53
+ */
54
+ export declare function useExportAgentSerialized<TData = ResponseConfig<ExportAgentSerializedQueryResponse>, TQueryData = ResponseConfig<ExportAgentSerializedQueryResponse>, TQueryKey extends QueryKey = ExportAgentSerializedQueryKey>(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, options?: {
55
+ query?: Partial<QueryObserverOptions<ResponseConfig<ExportAgentSerializedQueryResponse>, ResponseErrorConfig<ExportAgentSerialized422>, TData, TQueryData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ExportAgentSerializedQueryRequest, ExportAgentSerializedQueryResponse, ExportAgentSerializedPathParams, ExportAgentSerialized422 } from '../../types/ExportAgentSerialized.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query';
9
+ export declare const exportAgentSerializedSuspenseQueryKey: (agent_id: ExportAgentSerializedPathParams["agent_id"], data?: ExportAgentSerializedQueryRequest) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/export";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }, ...import("../../index.ts").AgentSchema[]];
15
+ export type ExportAgentSerializedSuspenseQueryKey = ReturnType<typeof exportAgentSerializedSuspenseQueryKey>;
16
+ /**
17
+ * @description Export the serialized JSON representation of an agent, formatted with indentation.
18
+ * @summary Export Agent Serialized
19
+ * {@link /v1/agents/:agent_id/export}
20
+ */
21
+ export declare function exportAgentSerializedSuspense(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, config?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<any>>;
24
+ export declare function exportAgentSerializedSuspenseQueryOptions(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, config?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<any>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<any>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/export";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }, ...import("../../index.ts").AgentSchema[]]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<any>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/export";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }, ...import("../../index.ts").AgentSchema[]], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/export";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }, ...import("../../index.ts").AgentSchema[]] & {
45
+ [dataTagSymbol]: ResponseConfig<any>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Export the serialized JSON representation of an agent, formatted with indentation.
51
+ * @summary Export Agent Serialized
52
+ * {@link /v1/agents/:agent_id/export}
53
+ */
54
+ export declare function useExportAgentSerializedSuspense<TData = ResponseConfig<ExportAgentSerializedQueryResponse>, TQueryData = ResponseConfig<ExportAgentSerializedQueryResponse>, TQueryKey extends QueryKey = ExportAgentSerializedSuspenseQueryKey>(agent_id: ExportAgentSerializedPathParams['agent_id'], data?: ExportAgentSerializedQueryRequest, options?: {
55
+ query?: Partial<UseSuspenseQueryOptions<ResponseConfig<ExportAgentSerializedQueryResponse>, ResponseErrorConfig<ExportAgentSerialized422>, TData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig<ExportAgentSerializedQueryRequest>> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseSuspenseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ImportAgentSerializedMutationRequest, ImportAgentSerializedMutationResponse, ImportAgentSerializedQueryParams, ImportAgentSerialized422 } from '../../types/ImportAgentSerialized.ts';
7
+ import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
9
+ export declare const importAgentSerializedMutationKey: () => readonly [{
10
+ readonly url: "/v1/agents/import";
11
+ }];
12
+ export type ImportAgentSerializedMutationKey = ReturnType<typeof importAgentSerializedMutationKey>;
13
+ /**
14
+ * @description Import a serialized agent file and recreate the agent in the system.
15
+ * @summary Import Agent Serialized
16
+ * {@link /v1/agents/import}
17
+ */
18
+ export declare function importAgentSerialized(data: ImportAgentSerializedMutationRequest, params?: ImportAgentSerializedQueryParams, config?: Partial<RequestConfig<ImportAgentSerializedMutationRequest>> & {
19
+ client?: typeof client;
20
+ }): Promise<ResponseConfig<import("../../index.ts").AgentState>>;
21
+ /**
22
+ * @description Import a serialized agent file and recreate the agent in the system.
23
+ * @summary Import Agent Serialized
24
+ * {@link /v1/agents/import}
25
+ */
26
+ export declare function useImportAgentSerialized<TContext>(options?: {
27
+ mutation?: UseMutationOptions<ResponseConfig<ImportAgentSerializedMutationResponse>, ResponseErrorConfig<ImportAgentSerialized422>, {
28
+ data: ImportAgentSerializedMutationRequest;
29
+ params?: ImportAgentSerializedQueryParams;
30
+ }, TContext> & {
31
+ client?: QueryClient;
32
+ };
33
+ client?: Partial<RequestConfig<ImportAgentSerializedMutationRequest>> & {
34
+ client?: typeof client;
35
+ };
36
+ }): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../index.ts").AgentState>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
37
+ data: ImportAgentSerializedMutationRequest;
38
+ params?: ImportAgentSerializedQueryParams;
39
+ }, TContext>;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ListAgentSourcesQueryResponse, ListAgentSourcesPathParams, ListAgentSources422 } from '../../types/ListAgentSources.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query';
9
+ export declare const listAgentSourcesQueryKey: (agent_id: ListAgentSourcesPathParams["agent_id"]) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/sources";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }];
15
+ export type ListAgentSourcesQueryKey = ReturnType<typeof listAgentSourcesQueryKey>;
16
+ /**
17
+ * @description Get the sources associated with an agent.
18
+ * @summary List Agent Sources
19
+ * {@link /v1/agents/:agent_id/sources}
20
+ */
21
+ export declare function listAgentSources(agent_id: ListAgentSourcesPathParams['agent_id'], config?: Partial<RequestConfig> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>>;
24
+ export declare function listAgentSourcesQueryOptions(agent_id: ListAgentSourcesPathParams['agent_id'], config?: Partial<RequestConfig> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/sources";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/sources";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/sources";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }] & {
45
+ [dataTagSymbol]: ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Get the sources associated with an agent.
51
+ * @summary List Agent Sources
52
+ * {@link /v1/agents/:agent_id/sources}
53
+ */
54
+ export declare function useListAgentSources<TData = ResponseConfig<ListAgentSourcesQueryResponse>, TQueryData = ResponseConfig<ListAgentSourcesQueryResponse>, TQueryKey extends QueryKey = ListAgentSourcesQueryKey>(agent_id: ListAgentSourcesPathParams['agent_id'], options?: {
55
+ query?: Partial<QueryObserverOptions<ResponseConfig<ListAgentSourcesQueryResponse>, ResponseErrorConfig<ListAgentSources422>, TData, TQueryData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ListAgentSourcesQueryResponse, ListAgentSourcesPathParams, ListAgentSources422 } from '../../types/ListAgentSources.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query';
9
+ export declare const listAgentSourcesSuspenseQueryKey: (agent_id: ListAgentSourcesPathParams["agent_id"]) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/sources";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }];
15
+ export type ListAgentSourcesSuspenseQueryKey = ReturnType<typeof listAgentSourcesSuspenseQueryKey>;
16
+ /**
17
+ * @description Get the sources associated with an agent.
18
+ * @summary List Agent Sources
19
+ * {@link /v1/agents/:agent_id/sources}
20
+ */
21
+ export declare function listAgentSourcesSuspense(agent_id: ListAgentSourcesPathParams['agent_id'], config?: Partial<RequestConfig> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>>;
24
+ export declare function listAgentSourcesSuspenseQueryOptions(agent_id: ListAgentSourcesPathParams['agent_id'], config?: Partial<RequestConfig> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/sources";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/sources";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/sources";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }] & {
45
+ [dataTagSymbol]: ResponseConfig<import("../../types/ListAgentSources.ts").ListAgentSources200>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Get the sources associated with an agent.
51
+ * @summary List Agent Sources
52
+ * {@link /v1/agents/:agent_id/sources}
53
+ */
54
+ export declare function useListAgentSourcesSuspense<TData = ResponseConfig<ListAgentSourcesQueryResponse>, TQueryData = ResponseConfig<ListAgentSourcesQueryResponse>, TQueryKey extends QueryKey = ListAgentSourcesSuspenseQueryKey>(agent_id: ListAgentSourcesPathParams['agent_id'], options?: {
55
+ query?: Partial<UseSuspenseQueryOptions<ResponseConfig<ListAgentSourcesQueryResponse>, ResponseErrorConfig<ListAgentSources422>, TData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseSuspenseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ListAgentToolsQueryResponse, ListAgentToolsPathParams, ListAgentTools422 } from '../../types/ListAgentTools.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query';
9
+ export declare const listAgentToolsQueryKey: (agent_id: ListAgentToolsPathParams["agent_id"]) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/tools";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }];
15
+ export type ListAgentToolsQueryKey = ReturnType<typeof listAgentToolsQueryKey>;
16
+ /**
17
+ * @description Get tools from an existing agent
18
+ * @summary List Agent Tools
19
+ * {@link /v1/agents/:agent_id/tools}
20
+ */
21
+ export declare function listAgentTools(agent_id: ListAgentToolsPathParams['agent_id'], config?: Partial<RequestConfig> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>>;
24
+ export declare function listAgentToolsQueryOptions(agent_id: ListAgentToolsPathParams['agent_id'], config?: Partial<RequestConfig> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/tools";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/tools";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/tools";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }] & {
45
+ [dataTagSymbol]: ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Get tools from an existing agent
51
+ * @summary List Agent Tools
52
+ * {@link /v1/agents/:agent_id/tools}
53
+ */
54
+ export declare function useListAgentTools<TData = ResponseConfig<ListAgentToolsQueryResponse>, TQueryData = ResponseConfig<ListAgentToolsQueryResponse>, TQueryKey extends QueryKey = ListAgentToolsQueryKey>(agent_id: ListAgentToolsPathParams['agent_id'], options?: {
55
+ query?: Partial<QueryObserverOptions<ResponseConfig<ListAgentToolsQueryResponse>, ResponseErrorConfig<ListAgentTools422>, TData, TQueryData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ListAgentToolsQueryResponse, ListAgentToolsPathParams, ListAgentTools422 } from '../../types/ListAgentTools.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query';
9
+ export declare const listAgentToolsSuspenseQueryKey: (agent_id: ListAgentToolsPathParams["agent_id"]) => readonly [{
10
+ readonly url: "/v1/agents/:agent_id/tools";
11
+ readonly params: {
12
+ readonly agent_id: string;
13
+ };
14
+ }];
15
+ export type ListAgentToolsSuspenseQueryKey = ReturnType<typeof listAgentToolsSuspenseQueryKey>;
16
+ /**
17
+ * @description Get tools from an existing agent
18
+ * @summary List Agent Tools
19
+ * {@link /v1/agents/:agent_id/tools}
20
+ */
21
+ export declare function listAgentToolsSuspense(agent_id: ListAgentToolsPathParams['agent_id'], config?: Partial<RequestConfig> & {
22
+ client?: typeof client;
23
+ }): Promise<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>>;
24
+ export declare function listAgentToolsSuspenseQueryOptions(agent_id: ListAgentToolsPathParams['agent_id'], config?: Partial<RequestConfig> & {
25
+ client?: typeof client;
26
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, readonly [{
27
+ readonly url: "/v1/agents/:agent_id/tools";
28
+ readonly params: {
29
+ readonly agent_id: string;
30
+ };
31
+ }]>, "queryFn"> & {
32
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>, readonly [{
33
+ readonly url: "/v1/agents/:agent_id/tools";
34
+ readonly params: {
35
+ readonly agent_id: string;
36
+ };
37
+ }], never> | undefined;
38
+ } & {
39
+ queryKey: readonly [{
40
+ readonly url: "/v1/agents/:agent_id/tools";
41
+ readonly params: {
42
+ readonly agent_id: string;
43
+ };
44
+ }] & {
45
+ [dataTagSymbol]: ResponseConfig<import("../../types/ListAgentTools.ts").ListAgentTools200>;
46
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
47
+ };
48
+ };
49
+ /**
50
+ * @description Get tools from an existing agent
51
+ * @summary List Agent Tools
52
+ * {@link /v1/agents/:agent_id/tools}
53
+ */
54
+ export declare function useListAgentToolsSuspense<TData = ResponseConfig<ListAgentToolsQueryResponse>, TQueryData = ResponseConfig<ListAgentToolsQueryResponse>, TQueryKey extends QueryKey = ListAgentToolsSuspenseQueryKey>(agent_id: ListAgentToolsPathParams['agent_id'], options?: {
55
+ query?: Partial<UseSuspenseQueryOptions<ResponseConfig<ListAgentToolsQueryResponse>, ResponseErrorConfig<ListAgentTools422>, TData, TQueryKey>> & {
56
+ client?: QueryClient;
57
+ };
58
+ client?: Partial<RequestConfig> & {
59
+ client?: typeof client;
60
+ };
61
+ }): UseSuspenseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
62
+ queryKey: TQueryKey;
63
+ };
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
5
+ import client from '@kubb/plugin-client/clients/axios';
6
+ import type { ListAgentsQueryResponse, ListAgentsQueryParams, ListAgents422 } from '../../types/ListAgents.ts';
7
+ import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
8
+ import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query';
9
+ export declare const listAgentsQueryKey: (params?: ListAgentsQueryParams) => readonly [{
10
+ readonly url: "/v1/agents/";
11
+ }, ...ListAgentsQueryParams[]];
12
+ export type ListAgentsQueryKey = ReturnType<typeof listAgentsQueryKey>;
13
+ /**
14
+ * @description List all agents associated with a given user.This endpoint retrieves a list of all agents and their configurationsassociated with the specified user ID.
15
+ * @summary List Agents
16
+ * {@link /v1/agents/}
17
+ */
18
+ export declare function listAgents(params?: ListAgentsQueryParams, config?: Partial<RequestConfig> & {
19
+ client?: typeof client;
20
+ }): Promise<ResponseConfig<import("../../types/ListAgents.ts").ListAgents200>>;
21
+ export declare function listAgentsQueryOptions(params?: ListAgentsQueryParams, config?: Partial<RequestConfig> & {
22
+ client?: typeof client;
23
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../types/ListAgents.ts").ListAgents200>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, ResponseConfig<import("../../types/ListAgents.ts").ListAgents200>, readonly [{
24
+ readonly url: "/v1/agents/";
25
+ }, ...ListAgentsQueryParams[]]>, "queryFn"> & {
26
+ queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../types/ListAgents.ts").ListAgents200>, readonly [{
27
+ readonly url: "/v1/agents/";
28
+ }, ...ListAgentsQueryParams[]], never> | undefined;
29
+ } & {
30
+ queryKey: readonly [{
31
+ readonly url: "/v1/agents/";
32
+ }, ...ListAgentsQueryParams[]] & {
33
+ [dataTagSymbol]: ResponseConfig<import("../../types/ListAgents.ts").ListAgents200>;
34
+ [dataTagErrorSymbol]: ResponseErrorConfig<import("../../index.ts").HTTPValidationError>;
35
+ };
36
+ };
37
+ /**
38
+ * @description List all agents associated with a given user.This endpoint retrieves a list of all agents and their configurationsassociated with the specified user ID.
39
+ * @summary List Agents
40
+ * {@link /v1/agents/}
41
+ */
42
+ export declare function useListAgents<TData = ResponseConfig<ListAgentsQueryResponse>, TQueryData = ResponseConfig<ListAgentsQueryResponse>, TQueryKey extends QueryKey = ListAgentsQueryKey>(params?: ListAgentsQueryParams, options?: {
43
+ query?: Partial<QueryObserverOptions<ResponseConfig<ListAgentsQueryResponse>, ResponseErrorConfig<ListAgents422>, TData, TQueryData, TQueryKey>> & {
44
+ client?: QueryClient;
45
+ };
46
+ client?: Partial<RequestConfig> & {
47
+ client?: typeof client;
48
+ };
49
+ }): UseQueryResult<TData, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>> & {
50
+ queryKey: TQueryKey;
51
+ };