@letta-ai/letta-react 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (669) hide show
  1. package/dist/hooks/agentsHooks/index.d.ts +22 -22
  2. package/dist/hooks/agentsHooks/useAgents/index.d.ts +4 -4
  3. package/dist/hooks/blocksHooks/index.d.ts +6 -6
  4. package/dist/hooks/groupsHooks/index.d.ts +8 -8
  5. package/dist/hooks/healthHooks/index.d.ts +2 -2
  6. package/dist/hooks/identitiesHooks/index.d.ts +6 -6
  7. package/dist/hooks/index.d.ts +84 -84
  8. package/dist/hooks/jobsHooks/index.d.ts +6 -6
  9. package/dist/hooks/modelsHooks/index.d.ts +3 -3
  10. package/dist/hooks/providersHooks/index.d.ts +3 -3
  11. package/dist/hooks/runsHooks/index.d.ts +10 -10
  12. package/dist/hooks/sourcesHooks/index.d.ts +10 -10
  13. package/dist/hooks/stepsHooks/index.d.ts +4 -4
  14. package/dist/hooks/tagHooks/index.d.ts +2 -2
  15. package/dist/hooks/toolsHooks/index.d.ts +16 -16
  16. package/dist/hooks/voiceHooks/index.d.ts +1 -1
  17. package/dist/index.d.ts +137 -137
  18. package/dist/index.js +1242 -1618
  19. package/dist/index.js.map +4 -4
  20. package/dist/types/agents/index.d.ts +1 -1
  21. package/dist/types/clientSideAccessTokens/index.d.ts +1 -1
  22. package/dist/types/index.d.ts +67 -67
  23. package/hooks/agentsHooks/index.d.ts +22 -22
  24. package/hooks/agentsHooks/useAgents/index.d.ts +4 -4
  25. package/hooks/blocksHooks/index.d.ts +6 -6
  26. package/hooks/groupsHooks/index.d.ts +8 -8
  27. package/hooks/healthHooks/index.d.ts +2 -2
  28. package/hooks/identitiesHooks/index.d.ts +6 -6
  29. package/hooks/index.d.ts +84 -84
  30. package/hooks/jobsHooks/index.d.ts +6 -6
  31. package/hooks/modelsHooks/index.d.ts +3 -3
  32. package/hooks/providersHooks/index.d.ts +3 -3
  33. package/hooks/runsHooks/index.d.ts +10 -10
  34. package/hooks/sourcesHooks/index.d.ts +10 -10
  35. package/hooks/stepsHooks/index.d.ts +4 -4
  36. package/hooks/tagHooks/index.d.ts +2 -2
  37. package/hooks/toolsHooks/index.d.ts +16 -16
  38. package/hooks/voiceHooks/index.d.ts +1 -1
  39. package/index.d.ts +137 -137
  40. package/index.js +1242 -1618
  41. package/index.js.map +4 -4
  42. package/package.json +9 -7
  43. package/src/hooks/agentsHooks/index.ts +171 -72
  44. package/src/hooks/agentsHooks/useAgents/createTemplateFromAgent.ts +48 -22
  45. package/src/hooks/agentsHooks/useAgents/getAgentVariables.ts +69 -31
  46. package/src/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.ts +68 -31
  47. package/src/hooks/agentsHooks/useAgents/index.ts +28 -12
  48. package/src/hooks/agentsHooks/useAgents/migrateAgent.ts +57 -25
  49. package/src/hooks/agentsHooks/useAgents/searchDeployedAgents.ts +43 -21
  50. package/src/hooks/agentsHooks/useAgents/versionAgentTemplate.ts +56 -29
  51. package/src/hooks/agentsHooks/useCreateAgent.ts +41 -21
  52. package/src/hooks/agentsHooks/useCreateAgentMessageAsync.ts +48 -23
  53. package/src/hooks/agentsHooks/useCreateAgentMessageStream.ts +48 -22
  54. package/src/hooks/agentsHooks/useCreatePassage.ts +53 -23
  55. package/src/hooks/agentsHooks/useDeleteAgent.ts +40 -21
  56. package/src/hooks/agentsHooks/useDeletePassage.ts +48 -23
  57. package/src/hooks/agentsHooks/useExportAgentSerialized.ts +74 -31
  58. package/src/hooks/agentsHooks/useExportAgentSerializedSuspense.ts +75 -31
  59. package/src/hooks/agentsHooks/useImportAgentSerialized.ts +60 -29
  60. package/src/hooks/agentsHooks/useListAgentSources.ts +71 -31
  61. package/src/hooks/agentsHooks/useListAgentSourcesSuspense.ts +72 -32
  62. package/src/hooks/agentsHooks/useListAgentTools.ts +75 -32
  63. package/src/hooks/agentsHooks/useListAgentToolsSuspense.ts +74 -32
  64. package/src/hooks/agentsHooks/useListAgents.ts +77 -32
  65. package/src/hooks/agentsHooks/useListAgentsSuspense.ts +78 -32
  66. package/src/hooks/agentsHooks/useListCoreMemoryBlocks.ts +72 -31
  67. package/src/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.ts +72 -31
  68. package/src/hooks/agentsHooks/useListMessages.ts +74 -32
  69. package/src/hooks/agentsHooks/useListMessagesSuspense.ts +75 -32
  70. package/src/hooks/agentsHooks/useListPassages.ts +77 -32
  71. package/src/hooks/agentsHooks/useListPassagesSuspense.ts +78 -32
  72. package/src/hooks/agentsHooks/useRetrieveAgent.ts +72 -32
  73. package/src/hooks/agentsHooks/useRetrieveAgentContextWindow.ts +59 -30
  74. package/src/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.ts +66 -31
  75. package/src/hooks/agentsHooks/useRetrieveAgentMemory.ts +69 -31
  76. package/src/hooks/agentsHooks/useRetrieveAgentMemorySuspense.ts +69 -31
  77. package/src/hooks/agentsHooks/useRetrieveAgentSuspense.ts +71 -32
  78. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlock.ts +70 -31
  79. package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.ts +72 -31
  80. package/src/hooks/agentsHooks/useSendMessage.ts +50 -23
  81. package/src/hooks/blocksHooks/index.ts +44 -16
  82. package/src/hooks/blocksHooks/useCreateBlock.ts +46 -22
  83. package/src/hooks/blocksHooks/useDeleteBlock.ts +40 -21
  84. package/src/hooks/blocksHooks/useListAgentsForBlock.ts +72 -31
  85. package/src/hooks/blocksHooks/useListAgentsForBlockSuspense.ts +72 -32
  86. package/src/hooks/blocksHooks/useListBlocks.ts +77 -32
  87. package/src/hooks/blocksHooks/useListBlocksSuspense.ts +78 -32
  88. package/src/hooks/blocksHooks/useRetrieveBlock.ts +72 -32
  89. package/src/hooks/blocksHooks/useRetrieveBlockSuspense.ts +71 -32
  90. package/src/hooks/clientSideAccessTokensHooks/index.ts +4 -4
  91. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.ts +45 -21
  92. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.ts +54 -22
  93. package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.ts +4 -4
  94. package/src/hooks/groupsHooks/index.ts +56 -20
  95. package/src/hooks/groupsHooks/useCreateGroup.ts +41 -21
  96. package/src/hooks/groupsHooks/useDeleteGroup.ts +40 -21
  97. package/src/hooks/groupsHooks/useListGroupMessages.ts +68 -31
  98. package/src/hooks/groupsHooks/useListGroupMessagesSuspense.ts +72 -32
  99. package/src/hooks/groupsHooks/useListGroups.ts +77 -32
  100. package/src/hooks/groupsHooks/useListGroupsSuspense.ts +78 -32
  101. package/src/hooks/groupsHooks/useRetrieveGroup.ts +72 -32
  102. package/src/hooks/groupsHooks/useRetrieveGroupSuspense.ts +71 -32
  103. package/src/hooks/groupsHooks/useSendGroupMessage.ts +48 -23
  104. package/src/hooks/groupsHooks/useSendGroupMessageStreaming.ts +48 -22
  105. package/src/hooks/healthHooks/index.ts +14 -4
  106. package/src/hooks/healthHooks/useHealthCheck.ts +65 -30
  107. package/src/hooks/healthHooks/useHealthCheckSuspense.ts +68 -29
  108. package/src/hooks/identitiesHooks/index.ts +42 -16
  109. package/src/hooks/identitiesHooks/useCreateIdentity.ts +48 -23
  110. package/src/hooks/identitiesHooks/useDeleteIdentity.ts +43 -21
  111. package/src/hooks/identitiesHooks/useListIdentities.ts +71 -31
  112. package/src/hooks/identitiesHooks/useListIdentitiesSuspense.ts +74 -31
  113. package/src/hooks/identitiesHooks/useRetrieveIdentity.ts +72 -31
  114. package/src/hooks/identitiesHooks/useRetrieveIdentitySuspense.ts +75 -32
  115. package/src/hooks/identitiesHooks/useUpsertIdentity.ts +48 -23
  116. package/src/hooks/identitiesHooks/useUpsertIdentityProperties.ts +48 -22
  117. package/src/hooks/index.ts +657 -274
  118. package/src/hooks/jobsHooks/index.ts +43 -14
  119. package/src/hooks/jobsHooks/useDeleteJob.ts +46 -22
  120. package/src/hooks/jobsHooks/useListActiveJobs.ts +67 -31
  121. package/src/hooks/jobsHooks/useListActiveJobsSuspense.ts +68 -31
  122. package/src/hooks/jobsHooks/useListJobs.ts +76 -31
  123. package/src/hooks/jobsHooks/useListJobsSuspense.ts +77 -31
  124. package/src/hooks/jobsHooks/useRetrieveJob.ts +80 -37
  125. package/src/hooks/jobsHooks/useRetrieveJobSuspense.ts +83 -37
  126. package/src/hooks/modelsHooks/index.ts +23 -8
  127. package/src/hooks/modelsHooks/useListEmbeddingModels.ts +66 -31
  128. package/src/hooks/modelsHooks/useListEmbeddingModelsSuspense.ts +66 -31
  129. package/src/hooks/modelsHooks/useListModels.ts +65 -30
  130. package/src/hooks/modelsHooks/useListModelsSuspense.ts +68 -29
  131. package/src/hooks/providersHooks/index.ts +21 -8
  132. package/src/hooks/providersHooks/useCreateProvider.ts +50 -22
  133. package/src/hooks/providersHooks/useDeleteProvider.ts +49 -22
  134. package/src/hooks/providersHooks/useListProviders.ts +71 -31
  135. package/src/hooks/providersHooks/useListProvidersSuspense.ts +74 -31
  136. package/src/hooks/runsHooks/index.ts +75 -26
  137. package/src/hooks/runsHooks/useDeleteRun.ts +46 -22
  138. package/src/hooks/runsHooks/useListActiveRuns.ts +71 -31
  139. package/src/hooks/runsHooks/useListActiveRunsSuspense.ts +74 -31
  140. package/src/hooks/runsHooks/useListRunMessages.ts +73 -31
  141. package/src/hooks/runsHooks/useListRunMessagesSuspense.ts +76 -32
  142. package/src/hooks/runsHooks/useListRunSteps.ts +74 -32
  143. package/src/hooks/runsHooks/useListRunStepsSuspense.ts +75 -32
  144. package/src/hooks/runsHooks/useListRuns.ts +76 -31
  145. package/src/hooks/runsHooks/useListRunsSuspense.ts +77 -31
  146. package/src/hooks/runsHooks/useRetrieveRun.ts +80 -37
  147. package/src/hooks/runsHooks/useRetrieveRunSuspense.ts +83 -37
  148. package/src/hooks/runsHooks/useRetrieveRunUsage.ts +71 -31
  149. package/src/hooks/runsHooks/useRetrieveRunUsageSuspense.ts +72 -32
  150. package/src/hooks/sourcesHooks/index.ts +74 -28
  151. package/src/hooks/sourcesHooks/useCreateSource.ts +48 -22
  152. package/src/hooks/sourcesHooks/useDeleteFileFromSource.ts +48 -23
  153. package/src/hooks/sourcesHooks/useDeleteSource.ts +42 -21
  154. package/src/hooks/sourcesHooks/useGetSourceIdByName.ts +72 -31
  155. package/src/hooks/sourcesHooks/useGetSourceIdByNameSuspense.ts +75 -32
  156. package/src/hooks/sourcesHooks/useListSourceFiles.ts +73 -31
  157. package/src/hooks/sourcesHooks/useListSourceFilesSuspense.ts +77 -32
  158. package/src/hooks/sourcesHooks/useListSourcePassages.ts +72 -31
  159. package/src/hooks/sourcesHooks/useListSourcePassagesSuspense.ts +75 -32
  160. package/src/hooks/sourcesHooks/useListSources.ts +70 -34
  161. package/src/hooks/sourcesHooks/useListSourcesSuspense.ts +75 -35
  162. package/src/hooks/sourcesHooks/useRetrieveSource.ts +75 -32
  163. package/src/hooks/sourcesHooks/useRetrieveSourceSuspense.ts +71 -32
  164. package/src/hooks/sourcesHooks/useUploadFileToSource.ts +60 -29
  165. package/src/hooks/stepsHooks/index.ts +28 -8
  166. package/src/hooks/stepsHooks/useListSteps.ts +76 -31
  167. package/src/hooks/stepsHooks/useListStepsSuspense.ts +77 -31
  168. package/src/hooks/stepsHooks/useRetrieveStep.ts +72 -31
  169. package/src/hooks/stepsHooks/useRetrieveStepSuspense.ts +74 -32
  170. package/src/hooks/tagHooks/index.ts +14 -4
  171. package/src/hooks/tagHooks/useListTags.ts +76 -31
  172. package/src/hooks/tagHooks/useListTagsSuspense.ts +77 -31
  173. package/src/hooks/templatesHooks/index.ts +2 -2
  174. package/src/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.ts +52 -27
  175. package/src/hooks/templatesHooks/useTemplates/index.ts +2 -2
  176. package/src/hooks/toolsHooks/index.ts +113 -42
  177. package/src/hooks/toolsHooks/useAddBaseTools.ts +51 -22
  178. package/src/hooks/toolsHooks/useAddComposioTool.ts +43 -22
  179. package/src/hooks/toolsHooks/useAddMcpServer.ts +49 -22
  180. package/src/hooks/toolsHooks/useAddMcpTool.ts +45 -23
  181. package/src/hooks/toolsHooks/useCreateTool.ts +49 -22
  182. package/src/hooks/toolsHooks/useDeleteMcpServer.ts +40 -21
  183. package/src/hooks/toolsHooks/useDeleteTool.ts +46 -22
  184. package/src/hooks/toolsHooks/useListComposioActionsByApp.ts +63 -30
  185. package/src/hooks/toolsHooks/useListComposioActionsByAppSuspense.ts +69 -31
  186. package/src/hooks/toolsHooks/useListComposioApps.ts +70 -30
  187. package/src/hooks/toolsHooks/useListComposioAppsSuspense.ts +73 -31
  188. package/src/hooks/toolsHooks/useListMcpServers.ts +71 -31
  189. package/src/hooks/toolsHooks/useListMcpServersSuspense.ts +72 -31
  190. package/src/hooks/toolsHooks/useListMcpToolsByServer.ts +72 -31
  191. package/src/hooks/toolsHooks/useListMcpToolsByServerSuspense.ts +73 -31
  192. package/src/hooks/toolsHooks/useListTools.ts +76 -31
  193. package/src/hooks/toolsHooks/useListToolsSuspense.ts +77 -31
  194. package/src/hooks/toolsHooks/useRetrieveTool.ts +72 -31
  195. package/src/hooks/toolsHooks/useRetrieveToolSuspense.ts +74 -32
  196. package/src/hooks/toolsHooks/useRunToolFromSource.ts +44 -21
  197. package/src/hooks/toolsHooks/useUpsertTool.ts +49 -22
  198. package/src/hooks/voiceHooks/index.ts +6 -2
  199. package/src/hooks/voiceHooks/useCreateVoiceChatCompletions.ts +47 -26
  200. package/src/index.ts +1232 -602
  201. package/src/schemas/HTTPValidationError.json +26 -1
  202. package/src/schemas/JSONSchema.json +19 -1
  203. package/src/schemas/LLMConfig.json +93 -1
  204. package/src/schemas/MCPServerType.json +6 -1
  205. package/src/schemas/MCPTool.json +20 -1
  206. package/src/schemas/SSEServerConfig.json +25 -1
  207. package/src/schemas/actionModel.json +93 -1
  208. package/src/schemas/actionParametersModel.json +27 -1
  209. package/src/schemas/actionResponseModel.json +27 -1
  210. package/src/schemas/agentEnvironmentVariable.json +62 -1
  211. package/src/schemas/agentSchema.json +562 -1
  212. package/src/schemas/agentState.json +995 -1
  213. package/src/schemas/agentType.json +7 -1
  214. package/src/schemas/appAuthScheme.json +95 -1
  215. package/src/schemas/appModel.json +159 -1
  216. package/src/schemas/assistantMessage.json +67 -1
  217. package/src/schemas/audio.json +7 -1
  218. package/src/schemas/authRequest.json +12 -1
  219. package/src/schemas/authResponse.json +19 -1
  220. package/src/schemas/authSchemeField.json +30 -1
  221. package/src/schemas/baseToolRuleSchema.json +10 -1
  222. package/src/schemas/block.json +67 -1
  223. package/src/schemas/blockUpdate.json +48 -1
  224. package/src/schemas/bodyImportAgentSerialized.json +9 -1
  225. package/src/schemas/bodyUploadFileToSource.json +9 -1
  226. package/src/schemas/chatCompletionAssistantMessageParam.json +103 -1
  227. package/src/schemas/chatCompletionAudioParam.json +35 -1
  228. package/src/schemas/chatCompletionContentPartImageParam.json +23 -1
  229. package/src/schemas/chatCompletionContentPartInputAudioParam.json +23 -1
  230. package/src/schemas/chatCompletionContentPartRefusalParam.json +10 -1
  231. package/src/schemas/chatCompletionContentPartTextParam.json +10 -1
  232. package/src/schemas/chatCompletionDeveloperMessageParam.json +29 -1
  233. package/src/schemas/chatCompletionFunctionCallOptionParam.json +7 -1
  234. package/src/schemas/chatCompletionFunctionMessageParam.json +14 -1
  235. package/src/schemas/chatCompletionMessageToolCall.json +22 -1
  236. package/src/schemas/chatCompletionMessageToolCallParam.json +20 -1
  237. package/src/schemas/chatCompletionNamedToolChoiceParam.json +16 -1
  238. package/src/schemas/chatCompletionPredictionContentParam.json +28 -1
  239. package/src/schemas/chatCompletionStreamOptionsParam.json +8 -1
  240. package/src/schemas/chatCompletionSystemMessageParam.json +29 -1
  241. package/src/schemas/chatCompletionToolMessageParam.json +29 -1
  242. package/src/schemas/chatCompletionToolParam.json +28 -1
  243. package/src/schemas/chatCompletionUserMessageParam.json +106 -1
  244. package/src/schemas/childToolRule.json +27 -1
  245. package/src/schemas/childToolRuleSchema.json +15 -1
  246. package/src/schemas/completionCreateParamsNonStreaming.json +797 -1
  247. package/src/schemas/completionCreateParamsStreaming.json +794 -1
  248. package/src/schemas/conditionalToolRule.json +38 -1
  249. package/src/schemas/conditionalToolRuleSchema.json +29 -1
  250. package/src/schemas/contextWindowOverview.json +491 -1
  251. package/src/schemas/continueToolRule.json +21 -1
  252. package/src/schemas/coreMemoryBlockSchema.json +38 -1
  253. package/src/schemas/createAgentRequest.json +883 -1
  254. package/src/schemas/createArchivalMemory.json +13 -1
  255. package/src/schemas/createBlock.json +49 -1
  256. package/src/schemas/dynamicManager.json +31 -1
  257. package/src/schemas/dynamicManagerUpdate.json +29 -1
  258. package/src/schemas/e2BSandboxConfig.json +26 -1
  259. package/src/schemas/embeddingConfig.json +76 -1
  260. package/src/schemas/file.json +19 -1
  261. package/src/schemas/fileFile.json +10 -1
  262. package/src/schemas/fileMetadata.json +74 -1
  263. package/src/schemas/functionCall.json +10 -1
  264. package/src/schemas/functionDefinitionInput.json +19 -1
  265. package/src/schemas/functionDefinitionOutput.json +25 -1
  266. package/src/schemas/functionOutput.json +11 -1
  267. package/src/schemas/functionTool.json +35 -1
  268. package/src/schemas/group.json +69 -1
  269. package/src/schemas/groupCreate.json +137 -1
  270. package/src/schemas/groupUpdate.json +140 -1
  271. package/src/schemas/health.json +11 -1
  272. package/src/schemas/hiddenReasoningMessage.json +35 -1
  273. package/src/schemas/identity.json +94 -1
  274. package/src/schemas/identityCreate.json +90 -1
  275. package/src/schemas/identityProperty.json +33 -1
  276. package/src/schemas/identityPropertyType.json +7 -1
  277. package/src/schemas/identityType.json +7 -1
  278. package/src/schemas/identityUpdate.json +90 -1
  279. package/src/schemas/identityUpsert.json +90 -1
  280. package/src/schemas/imageURL.json +14 -1
  281. package/src/schemas/initToolRule.json +21 -1
  282. package/src/schemas/inputAudio.json +10 -1
  283. package/src/schemas/job.json +82 -1
  284. package/src/schemas/jobStatus.json +15 -1
  285. package/src/schemas/jobType.json +6 -1
  286. package/src/schemas/lettaAssistantMessageContentUnion.json +31 -1
  287. package/src/schemas/lettaMessageContentUnion.json +184 -1
  288. package/src/schemas/lettaMessageUnion.json +382 -1
  289. package/src/schemas/lettaRequest.json +250 -1
  290. package/src/schemas/lettaRequestConfig.json +25 -1
  291. package/src/schemas/lettaResponse.json +860 -1
  292. package/src/schemas/lettaStreamingRequest.json +256 -1
  293. package/src/schemas/lettaUsageStatistics.json +411 -1
  294. package/src/schemas/lettaUserMessageContentUnion.json +31 -1
  295. package/src/schemas/localSandboxConfig.json +48 -1
  296. package/src/schemas/managerType.json +6 -1
  297. package/src/schemas/maxCountPerStepToolRule.json +26 -1
  298. package/src/schemas/maxCountPerStepToolRuleSchema.json +11 -1
  299. package/src/schemas/memory.json +87 -1
  300. package/src/schemas/message.json +336 -1
  301. package/src/schemas/messageCreate.json +219 -1
  302. package/src/schemas/messageRole.json +6 -1
  303. package/src/schemas/messageSchema.json +65 -1
  304. package/src/schemas/omittedReasoningContent.json +21 -1
  305. package/src/schemas/openaiTypesChatChatCompletionMessageToolCallParamFunction.json +10 -1
  306. package/src/schemas/openaiTypesChatChatCompletionNamedToolChoiceParamFunction.json +7 -1
  307. package/src/schemas/openaiTypesChatCompletionCreateParamsFunction.json +15 -1
  308. package/src/schemas/organization.json +35 -1
  309. package/src/schemas/organizationCreate.json +19 -1
  310. package/src/schemas/organizationUpdate.json +19 -1
  311. package/src/schemas/parameterProperties.json +13 -1
  312. package/src/schemas/parametersSchema.json +35 -1
  313. package/src/schemas/parentToolRule.json +27 -1
  314. package/src/schemas/passage.json +170 -1
  315. package/src/schemas/passageUpdate.json +169 -1
  316. package/src/schemas/pipRequirement.json +19 -1
  317. package/src/schemas/provider.json +32 -1
  318. package/src/schemas/providerCreate.json +19 -1
  319. package/src/schemas/providerUpdate.json +19 -1
  320. package/src/schemas/reasoningContent.json +31 -1
  321. package/src/schemas/reasoningMessage.json +37 -1
  322. package/src/schemas/redactedReasoningContent.json +21 -1
  323. package/src/schemas/responseFormatJSONObject.json +9 -1
  324. package/src/schemas/responseFormatJSONSchema.json +28 -1
  325. package/src/schemas/responseFormatText.json +9 -1
  326. package/src/schemas/roundRobinManager.json +19 -1
  327. package/src/schemas/roundRobinManagerUpdate.json +19 -1
  328. package/src/schemas/run.json +112 -1
  329. package/src/schemas/sandboxConfig.json +54 -1
  330. package/src/schemas/sandboxConfigCreate.json +89 -1
  331. package/src/schemas/sandboxConfigUpdate.json +89 -1
  332. package/src/schemas/sandboxEnvironmentVariable.json +62 -1
  333. package/src/schemas/sandboxEnvironmentVariableCreate.json +24 -1
  334. package/src/schemas/sandboxEnvironmentVariableUpdate.json +23 -1
  335. package/src/schemas/sandboxType.json +6 -1
  336. package/src/schemas/sleeptimeManager.json +25 -1
  337. package/src/schemas/sleeptimeManagerUpdate.json +24 -1
  338. package/src/schemas/source.json +141 -1
  339. package/src/schemas/sourceCreate.json +124 -1
  340. package/src/schemas/sourceUpdate.json +113 -1
  341. package/src/schemas/stdioServerConfig.json +39 -1
  342. package/src/schemas/step.json +440 -1
  343. package/src/schemas/supervisorManager.json +20 -1
  344. package/src/schemas/supervisorManagerUpdate.json +20 -1
  345. package/src/schemas/systemMessage.json +31 -1
  346. package/src/schemas/tagSchema.json +7 -1
  347. package/src/schemas/terminalToolRule.json +21 -1
  348. package/src/schemas/textContent.json +21 -1
  349. package/src/schemas/tool.json +100 -1
  350. package/src/schemas/toolCall.json +11 -1
  351. package/src/schemas/toolCallContent.json +32 -1
  352. package/src/schemas/toolCallDelta.json +19 -1
  353. package/src/schemas/toolCallMessage.json +61 -1
  354. package/src/schemas/toolCreate.json +54 -1
  355. package/src/schemas/toolEnvVarSchema.json +16 -1
  356. package/src/schemas/toolJSONSchema.json +56 -1
  357. package/src/schemas/toolReturn.json +30 -1
  358. package/src/schemas/toolReturnContent.json +30 -1
  359. package/src/schemas/toolReturnMessage.json +54 -1
  360. package/src/schemas/toolRunFromSource.json +52 -1
  361. package/src/schemas/toolSchema.json +99 -1
  362. package/src/schemas/toolType.json +15 -1
  363. package/src/schemas/toolUpdate.json +51 -1
  364. package/src/schemas/updateAgent.json +513 -1
  365. package/src/schemas/updateAssistantMessage.json +55 -1
  366. package/src/schemas/updateReasoningMessage.json +15 -1
  367. package/src/schemas/updateSystemMessage.json +19 -1
  368. package/src/schemas/updateUserMessage.json +55 -1
  369. package/src/schemas/usageStatistics.json +18 -1
  370. package/src/schemas/user.json +44 -1
  371. package/src/schemas/userCreate.json +14 -1
  372. package/src/schemas/userMessage.json +67 -1
  373. package/src/schemas/userUpdate.json +19 -1
  374. package/src/schemas/validationError.json +15 -1
  375. package/src/schemas/webSearchOptions.json +41 -1
  376. package/src/schemas/webSearchOptionsUserLocation.json +20 -1
  377. package/src/schemas/webSearchOptionsUserLocationApproximate.json +11 -1
  378. package/src/types/ActionModel.ts +15 -15
  379. package/src/types/ActionParametersModel.ts +7 -7
  380. package/src/types/ActionResponseModel.ts +7 -7
  381. package/src/types/AddBaseTools.ts +8 -8
  382. package/src/types/AddComposioTool.ts +11 -11
  383. package/src/types/AddMcpServer.ts +11 -11
  384. package/src/types/AddMcpTool.ts +12 -12
  385. package/src/types/AgentEnvironmentVariable.ts +10 -10
  386. package/src/types/AgentSchema.ts +37 -32
  387. package/src/types/AgentState.ts +53 -43
  388. package/src/types/AgentType.ts +3 -3
  389. package/src/types/AppAuthScheme.ts +16 -15
  390. package/src/types/AppModel.ts +20 -20
  391. package/src/types/AssistantMessage.ts +11 -10
  392. package/src/types/AttachCoreMemoryBlock.ts +12 -12
  393. package/src/types/AttachSourceToAgent.ts +12 -12
  394. package/src/types/AttachTool.ts +12 -12
  395. package/src/types/Audio.ts +2 -2
  396. package/src/types/AuthRequest.ts +2 -2
  397. package/src/types/AuthResponse.ts +3 -3
  398. package/src/types/AuthSchemeField.ts +9 -9
  399. package/src/types/BaseToolRuleSchema.ts +3 -3
  400. package/src/types/Block.ts +12 -12
  401. package/src/types/BlockUpdate.ts +9 -9
  402. package/src/types/BodyImportAgentSerialized.ts +2 -2
  403. package/src/types/BodyUploadFileToSource.ts +2 -2
  404. package/src/types/ChatCompletionAssistantMessageParam.ts +19 -13
  405. package/src/types/ChatCompletionAudioParam.ts +9 -7
  406. package/src/types/ChatCompletionContentPartImageParam.ts +4 -4
  407. package/src/types/ChatCompletionContentPartInputAudioParam.ts +4 -4
  408. package/src/types/ChatCompletionContentPartRefusalParam.ts +3 -3
  409. package/src/types/ChatCompletionContentPartTextParam.ts +3 -3
  410. package/src/types/ChatCompletionDeveloperMessageParam.ts +5 -5
  411. package/src/types/ChatCompletionFunctionCallOptionParam.ts +2 -2
  412. package/src/types/ChatCompletionFunctionMessageParam.ts +4 -4
  413. package/src/types/ChatCompletionMessageToolCall.ts +6 -6
  414. package/src/types/ChatCompletionMessageToolCallParam.ts +5 -5
  415. package/src/types/ChatCompletionNamedToolChoiceParam.ts +4 -4
  416. package/src/types/ChatCompletionPredictionContentParam.ts +4 -4
  417. package/src/types/ChatCompletionStreamOptionsParam.ts +2 -2
  418. package/src/types/ChatCompletionSystemMessageParam.ts +5 -5
  419. package/src/types/ChatCompletionToolMessageParam.ts +5 -5
  420. package/src/types/ChatCompletionToolParam.ts +4 -4
  421. package/src/types/ChatCompletionUserMessageParam.ts +15 -8
  422. package/src/types/ChildToolRule.ts +4 -4
  423. package/src/types/ChildToolRuleSchema.ts +4 -4
  424. package/src/types/CompletionCreateParamsNonStreaming.ts +74 -65
  425. package/src/types/CompletionCreateParamsStreaming.ts +75 -65
  426. package/src/types/ConditionalToolRule.ts +7 -7
  427. package/src/types/ConditionalToolRuleSchema.ts +7 -7
  428. package/src/types/ContextWindowOverview.ts +20 -20
  429. package/src/types/ContinueToolRule.ts +3 -3
  430. package/src/types/CoreMemoryBlockSchema.ts +11 -11
  431. package/src/types/CreateAgent.ts +14 -14
  432. package/src/types/CreateAgentMessageAsync.ts +15 -14
  433. package/src/types/CreateAgentMessageStream.ts +14 -13
  434. package/src/types/CreateAgentRequest.ts +62 -52
  435. package/src/types/CreateArchivalMemory.ts +2 -2
  436. package/src/types/CreateBlock.ts +19 -19
  437. package/src/types/CreateGroup.ts +14 -14
  438. package/src/types/CreateIdentity.ts +14 -14
  439. package/src/types/CreatePassage.ts +14 -14
  440. package/src/types/CreateProvider.ts +11 -11
  441. package/src/types/CreateSource.ts +11 -11
  442. package/src/types/CreateTool.ts +11 -11
  443. package/src/types/CreateVoiceChatCompletions.ts +20 -17
  444. package/src/types/DeleteAgent.ts +10 -10
  445. package/src/types/DeleteBlock.ts +11 -11
  446. package/src/types/DeleteFileFromSource.ts +11 -11
  447. package/src/types/DeleteGroup.ts +10 -10
  448. package/src/types/DeleteIdentity.ts +10 -10
  449. package/src/types/DeleteJob.ts +11 -11
  450. package/src/types/DeleteMcpServer.ts +12 -12
  451. package/src/types/DeletePassage.ts +11 -11
  452. package/src/types/DeleteProvider.ts +10 -10
  453. package/src/types/DeleteRun.ts +11 -11
  454. package/src/types/DeleteSource.ts +10 -10
  455. package/src/types/DeleteTool.ts +10 -10
  456. package/src/types/DetachCoreMemoryBlock.ts +12 -12
  457. package/src/types/DetachSourceFromAgent.ts +12 -12
  458. package/src/types/DetachTool.ts +12 -12
  459. package/src/types/DynamicManager.ts +5 -5
  460. package/src/types/DynamicManagerUpdate.ts +5 -5
  461. package/src/types/E2BSandboxConfig.ts +4 -4
  462. package/src/types/EmbeddingConfig.ts +13 -12
  463. package/src/types/ExportAgentSerialized.ts +13 -13
  464. package/src/types/File.ts +4 -4
  465. package/src/types/FileFile.ts +4 -4
  466. package/src/types/FileMetadata.ts +12 -12
  467. package/src/types/FunctionCall.ts +3 -3
  468. package/src/types/FunctionDefinitionInput.ts +6 -6
  469. package/src/types/FunctionDefinitionOutput.ts +7 -7
  470. package/src/types/FunctionOutput.ts +4 -4
  471. package/src/types/FunctionTool.ts +5 -5
  472. package/src/types/GetSourceIdByName.ts +10 -10
  473. package/src/types/Group.ts +13 -13
  474. package/src/types/GroupCreate.ts +13 -9
  475. package/src/types/GroupUpdate.ts +16 -9
  476. package/src/types/HTTPValidationError.ts +3 -3
  477. package/src/types/Health.ts +3 -3
  478. package/src/types/HealthCheck.ts +6 -6
  479. package/src/types/HiddenReasoningMessage.ts +14 -12
  480. package/src/types/Identity.ts +11 -11
  481. package/src/types/IdentityCreate.ts +10 -10
  482. package/src/types/IdentityProperty.ts +6 -6
  483. package/src/types/IdentityPropertyType.ts +4 -3
  484. package/src/types/IdentityType.ts +4 -3
  485. package/src/types/IdentityUpdate.ts +9 -9
  486. package/src/types/IdentityUpsert.ts +10 -10
  487. package/src/types/ImageURL.ts +6 -5
  488. package/src/types/ImportAgentSerialized.ts +17 -17
  489. package/src/types/InitToolRule.ts +3 -3
  490. package/src/types/InputAudio.ts +6 -5
  491. package/src/types/JSONSchema.ts +6 -6
  492. package/src/types/Job.ts +13 -13
  493. package/src/types/JobStatus.ts +3 -3
  494. package/src/types/JobType.ts +3 -3
  495. package/src/types/LLMConfig.ts +15 -14
  496. package/src/types/LettaAssistantMessageContentUnion.ts +5 -5
  497. package/src/types/LettaMessageContentUnion.ts +16 -15
  498. package/src/types/LettaMessageUnion.ts +18 -17
  499. package/src/types/LettaRequest.ts +6 -6
  500. package/src/types/LettaRequestConfig.ts +4 -4
  501. package/src/types/LettaResponse.ts +5 -5
  502. package/src/types/LettaStreamingRequest.ts +7 -7
  503. package/src/types/LettaUsageStatistics.ts +9 -9
  504. package/src/types/LettaUserMessageContentUnion.ts +6 -5
  505. package/src/types/ListActiveJobs.ts +8 -8
  506. package/src/types/ListActiveRuns.ts +11 -11
  507. package/src/types/ListAgentSources.ts +11 -11
  508. package/src/types/ListAgentTools.ts +11 -11
  509. package/src/types/ListAgents.ts +24 -24
  510. package/src/types/ListAgentsForBlock.ts +11 -11
  511. package/src/types/ListBlocks.ts +15 -15
  512. package/src/types/ListComposioActionsByApp.ts +11 -11
  513. package/src/types/ListComposioApps.ts +11 -11
  514. package/src/types/ListCoreMemoryBlocks.ts +11 -11
  515. package/src/types/ListEmbeddingModels.ts +6 -6
  516. package/src/types/ListGroupMessages.ts +19 -19
  517. package/src/types/ListGroups.ts +16 -16
  518. package/src/types/ListIdentities.ts +18 -18
  519. package/src/types/ListJobs.ts +11 -11
  520. package/src/types/ListMcpServers.ts +13 -13
  521. package/src/types/ListMcpToolsByServer.ts +11 -11
  522. package/src/types/ListMessages.ts +20 -20
  523. package/src/types/ListModels.ts +6 -6
  524. package/src/types/ListPassages.ts +18 -18
  525. package/src/types/ListProviders.ts +12 -12
  526. package/src/types/ListRunMessages.ts +19 -19
  527. package/src/types/ListRunSteps.ts +17 -17
  528. package/src/types/ListRuns.ts +11 -11
  529. package/src/types/ListSourceFiles.ts +15 -15
  530. package/src/types/ListSourcePassages.ts +11 -11
  531. package/src/types/ListSources.ts +8 -8
  532. package/src/types/ListSteps.ts +18 -18
  533. package/src/types/ListTags.ts +12 -12
  534. package/src/types/ListTools.ts +13 -13
  535. package/src/types/LocalSandboxConfig.ts +6 -6
  536. package/src/types/MCPServerType.ts +4 -3
  537. package/src/types/MCPTool.ts +6 -6
  538. package/src/types/ManagerType.ts +4 -3
  539. package/src/types/MaxCountPerStepToolRule.ts +4 -4
  540. package/src/types/MaxCountPerStepToolRuleSchema.ts +4 -4
  541. package/src/types/Memory.ts +4 -4
  542. package/src/types/Message.ts +35 -26
  543. package/src/types/MessageCreate.ts +9 -8
  544. package/src/types/MessageRole.ts +4 -3
  545. package/src/types/MessageSchema.ts +12 -12
  546. package/src/types/ModifyAgent.ts +14 -14
  547. package/src/types/ModifyBlock.ts +14 -14
  548. package/src/types/ModifyCoreMemoryBlock.ts +15 -15
  549. package/src/types/ModifyGroup.ts +17 -17
  550. package/src/types/ModifyGroupMessage.ts +28 -24
  551. package/src/types/ModifyMessage.ts +35 -24
  552. package/src/types/ModifyPassage.ts +15 -15
  553. package/src/types/ModifyProvider.ts +11 -11
  554. package/src/types/ModifySource.ts +14 -14
  555. package/src/types/ModifyTool.ts +14 -14
  556. package/src/types/OmittedReasoningContent.ts +6 -5
  557. package/src/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.ts +3 -3
  558. package/src/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.ts +2 -2
  559. package/src/types/OpenaiTypesChatCompletionCreateParamsFunction.ts +5 -5
  560. package/src/types/Organization.ts +5 -5
  561. package/src/types/OrganizationCreate.ts +3 -3
  562. package/src/types/OrganizationUpdate.ts +3 -3
  563. package/src/types/ParameterProperties.ts +3 -3
  564. package/src/types/ParametersSchema.ts +6 -6
  565. package/src/types/ParentToolRule.ts +4 -4
  566. package/src/types/Passage.ts +16 -16
  567. package/src/types/PassageUpdate.ts +16 -16
  568. package/src/types/PipRequirement.ts +3 -3
  569. package/src/types/Provider.ts +5 -5
  570. package/src/types/ProviderCreate.ts +3 -3
  571. package/src/types/ProviderUpdate.ts +3 -3
  572. package/src/types/ReasoningContent.ts +8 -7
  573. package/src/types/ReasoningMessage.ts +15 -13
  574. package/src/types/RedactedReasoningContent.ts +6 -5
  575. package/src/types/ResetGroupMessages.ts +10 -10
  576. package/src/types/ResetMessages.ts +14 -14
  577. package/src/types/ResponseFormatJSONObject.ts +2 -2
  578. package/src/types/ResponseFormatJSONSchema.ts +4 -4
  579. package/src/types/ResponseFormatText.ts +2 -2
  580. package/src/types/RetrieveAgent.ts +11 -11
  581. package/src/types/RetrieveAgentContextWindow.ts +12 -11
  582. package/src/types/RetrieveAgentMemory.ts +11 -11
  583. package/src/types/RetrieveBlock.ts +11 -11
  584. package/src/types/RetrieveCoreMemoryBlock.ts +12 -12
  585. package/src/types/RetrieveGroup.ts +11 -11
  586. package/src/types/RetrieveIdentity.ts +11 -11
  587. package/src/types/RetrieveJob.ts +11 -11
  588. package/src/types/RetrieveRun.ts +11 -11
  589. package/src/types/RetrieveRunUsage.ts +11 -11
  590. package/src/types/RetrieveSource.ts +11 -11
  591. package/src/types/RetrieveStep.ts +11 -11
  592. package/src/types/RetrieveTool.ts +11 -11
  593. package/src/types/RoundRobinManager.ts +3 -3
  594. package/src/types/RoundRobinManagerUpdate.ts +3 -3
  595. package/src/types/Run.ts +15 -15
  596. package/src/types/RunToolFromSource.ts +11 -11
  597. package/src/types/SSEServerConfig.ts +5 -5
  598. package/src/types/SandboxConfig.ts +10 -10
  599. package/src/types/SandboxConfigCreate.ts +4 -4
  600. package/src/types/SandboxConfigUpdate.ts +4 -4
  601. package/src/types/SandboxEnvironmentVariable.ts +10 -10
  602. package/src/types/SandboxEnvironmentVariableCreate.ts +4 -4
  603. package/src/types/SandboxEnvironmentVariableUpdate.ts +4 -4
  604. package/src/types/SandboxType.ts +4 -3
  605. package/src/types/SendGroupMessage.ts +14 -14
  606. package/src/types/SendGroupMessageStreaming.ts +14 -13
  607. package/src/types/SendMessage.ts +14 -14
  608. package/src/types/SleeptimeManager.ts +4 -4
  609. package/src/types/SleeptimeManagerUpdate.ts +4 -4
  610. package/src/types/Source.ts +12 -12
  611. package/src/types/SourceCreate.ts +9 -9
  612. package/src/types/SourceUpdate.ts +7 -7
  613. package/src/types/StdioServerConfig.ts +8 -8
  614. package/src/types/Step.ts +20 -20
  615. package/src/types/SupervisorManager.ts +3 -3
  616. package/src/types/SupervisorManagerUpdate.ts +3 -3
  617. package/src/types/SystemMessage.ts +10 -9
  618. package/src/types/TagSchema.ts +2 -2
  619. package/src/types/TerminalToolRule.ts +3 -3
  620. package/src/types/TextContent.ts +6 -5
  621. package/src/types/Tool.ts +18 -18
  622. package/src/types/ToolCall.ts +4 -4
  623. package/src/types/ToolCallContent.ts +9 -8
  624. package/src/types/ToolCallDelta.ts +4 -4
  625. package/src/types/ToolCallMessage.ts +12 -11
  626. package/src/types/ToolCreate.ts +10 -10
  627. package/src/types/ToolEnvVarSchema.ts +6 -6
  628. package/src/types/ToolJSONSchema.ts +7 -7
  629. package/src/types/ToolReturn.ts +7 -6
  630. package/src/types/ToolReturnContent.ts +5 -5
  631. package/src/types/ToolReturnMessage.ts +17 -15
  632. package/src/types/ToolRunFromSource.ts +12 -12
  633. package/src/types/ToolSchema.ts +15 -15
  634. package/src/types/ToolType.ts +3 -3
  635. package/src/types/ToolUpdate.ts +10 -10
  636. package/src/types/UpdateAgent.ts +43 -33
  637. package/src/types/UpdateAssistantMessage.ts +4 -4
  638. package/src/types/UpdateIdentity.ts +14 -14
  639. package/src/types/UpdateReasoningMessage.ts +3 -3
  640. package/src/types/UpdateSystemMessage.ts +3 -3
  641. package/src/types/UpdateUserMessage.ts +4 -4
  642. package/src/types/UploadFileToSource.ts +14 -14
  643. package/src/types/UpsertIdentity.ts +14 -14
  644. package/src/types/UpsertIdentityProperties.ts +14 -13
  645. package/src/types/UpsertTool.ts +11 -11
  646. package/src/types/UsageStatistics.ts +4 -4
  647. package/src/types/User.ts +6 -6
  648. package/src/types/UserCreate.ts +2 -2
  649. package/src/types/UserMessage.ts +11 -10
  650. package/src/types/UserUpdate.ts +3 -3
  651. package/src/types/ValidationError.ts +4 -4
  652. package/src/types/WebSearchOptions.ts +7 -6
  653. package/src/types/WebSearchOptionsUserLocation.ts +4 -4
  654. package/src/types/WebSearchOptionsUserLocationApproximate.ts +5 -5
  655. package/src/types/agents/CreateTemplateFromAgent.ts +18 -17
  656. package/src/types/agents/GetAgentVariables.ts +15 -14
  657. package/src/types/agents/MigrateAgent.ts +35 -30
  658. package/src/types/agents/SearchDeployedAgents.ts +50 -42
  659. package/src/types/agents/VersionAgentTemplate.ts +26 -23
  660. package/src/types/agents/index.ts +13 -10
  661. package/src/types/clientSideAccessTokens/CreateClientSideAccessToken.ts +39 -34
  662. package/src/types/clientSideAccessTokens/DeleteClientSideAccessToken.ts +14 -12
  663. package/src/types/clientSideAccessTokens/index.ts +9 -3
  664. package/src/types/index.ts +653 -328
  665. package/src/types/templates/CreateAgentsFromTemplate.ts +21 -20
  666. package/src/types/templates/index.ts +1 -1
  667. package/types/agents/index.d.ts +1 -1
  668. package/types/clientSideAccessTokens/index.d.ts +1 -1
  669. package/types/index.d.ts +67 -67
package/dist/index.js CHANGED
@@ -1,1258 +1,8 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
- };
10
2
  var __export = (target, all3) => {
11
3
  for (var name in all3)
12
4
  __defProp(target, name, { get: all3[name], enumerable: true });
13
5
  };
14
- var __copyProps = (to, from, except, desc) => {
15
- if (from && typeof from === "object" || typeof from === "function") {
16
- for (let key of __getOwnPropNames(from))
17
- if (!__hasOwnProp.call(to, key) && key !== except)
18
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
- // If the importer is in node compatibility mode or this is not an ESM
24
- // file that has been converted to a CommonJS file using a Babel-
25
- // compatible transform (i.e. "__esModule" has not been set), then set
26
- // "default" to the CommonJS "module.exports" for node compatibility.
27
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
- mod
29
- ));
30
-
31
- // node_modules/react/cjs/react.development.js
32
- var require_react_development = __commonJS({
33
- "node_modules/react/cjs/react.development.js"(exports, module) {
34
- "use strict";
35
- (function() {
36
- function defineDeprecationWarning(methodName, info) {
37
- Object.defineProperty(Component.prototype, methodName, {
38
- get: function() {
39
- console.warn(
40
- "%s(...) is deprecated in plain JavaScript React classes. %s",
41
- info[0],
42
- info[1]
43
- );
44
- }
45
- });
46
- }
47
- function getIteratorFn(maybeIterable) {
48
- if (null === maybeIterable || "object" !== typeof maybeIterable)
49
- return null;
50
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
51
- return "function" === typeof maybeIterable ? maybeIterable : null;
52
- }
53
- function warnNoop(publicInstance, callerName) {
54
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
55
- var warningKey = publicInstance + "." + callerName;
56
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
57
- "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
58
- callerName,
59
- publicInstance
60
- ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
61
- }
62
- function Component(props, context, updater) {
63
- this.props = props;
64
- this.context = context;
65
- this.refs = emptyObject;
66
- this.updater = updater || ReactNoopUpdateQueue;
67
- }
68
- function ComponentDummy() {
69
- }
70
- function PureComponent(props, context, updater) {
71
- this.props = props;
72
- this.context = context;
73
- this.refs = emptyObject;
74
- this.updater = updater || ReactNoopUpdateQueue;
75
- }
76
- function testStringCoercion(value) {
77
- return "" + value;
78
- }
79
- function checkKeyStringCoercion(value) {
80
- try {
81
- testStringCoercion(value);
82
- var JSCompiler_inline_result = false;
83
- } catch (e) {
84
- JSCompiler_inline_result = true;
85
- }
86
- if (JSCompiler_inline_result) {
87
- JSCompiler_inline_result = console;
88
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
89
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
90
- JSCompiler_temp_const.call(
91
- JSCompiler_inline_result,
92
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
93
- JSCompiler_inline_result$jscomp$0
94
- );
95
- return testStringCoercion(value);
96
- }
97
- }
98
- function getComponentNameFromType(type) {
99
- if (null == type) return null;
100
- if ("function" === typeof type)
101
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
102
- if ("string" === typeof type) return type;
103
- switch (type) {
104
- case REACT_FRAGMENT_TYPE:
105
- return "Fragment";
106
- case REACT_PROFILER_TYPE:
107
- return "Profiler";
108
- case REACT_STRICT_MODE_TYPE:
109
- return "StrictMode";
110
- case REACT_SUSPENSE_TYPE:
111
- return "Suspense";
112
- case REACT_SUSPENSE_LIST_TYPE:
113
- return "SuspenseList";
114
- case REACT_ACTIVITY_TYPE:
115
- return "Activity";
116
- }
117
- if ("object" === typeof type)
118
- switch ("number" === typeof type.tag && console.error(
119
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
120
- ), type.$$typeof) {
121
- case REACT_PORTAL_TYPE:
122
- return "Portal";
123
- case REACT_CONTEXT_TYPE:
124
- return (type.displayName || "Context") + ".Provider";
125
- case REACT_CONSUMER_TYPE:
126
- return (type._context.displayName || "Context") + ".Consumer";
127
- case REACT_FORWARD_REF_TYPE:
128
- var innerType = type.render;
129
- type = type.displayName;
130
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
131
- return type;
132
- case REACT_MEMO_TYPE:
133
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
134
- case REACT_LAZY_TYPE:
135
- innerType = type._payload;
136
- type = type._init;
137
- try {
138
- return getComponentNameFromType(type(innerType));
139
- } catch (x) {
140
- }
141
- }
142
- return null;
143
- }
144
- function getTaskName(type) {
145
- if (type === REACT_FRAGMENT_TYPE) return "<>";
146
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
147
- return "<...>";
148
- try {
149
- var name = getComponentNameFromType(type);
150
- return name ? "<" + name + ">" : "<...>";
151
- } catch (x) {
152
- return "<...>";
153
- }
154
- }
155
- function getOwner() {
156
- var dispatcher = ReactSharedInternals.A;
157
- return null === dispatcher ? null : dispatcher.getOwner();
158
- }
159
- function UnknownOwner() {
160
- return Error("react-stack-top-frame");
161
- }
162
- function hasValidKey(config) {
163
- if (hasOwnProperty2.call(config, "key")) {
164
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
165
- if (getter && getter.isReactWarning) return false;
166
- }
167
- return void 0 !== config.key;
168
- }
169
- function defineKeyPropWarningGetter(props, displayName) {
170
- function warnAboutAccessingKey() {
171
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
172
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
173
- displayName
174
- ));
175
- }
176
- warnAboutAccessingKey.isReactWarning = true;
177
- Object.defineProperty(props, "key", {
178
- get: warnAboutAccessingKey,
179
- configurable: true
180
- });
181
- }
182
- function elementRefGetterWithDeprecationWarning() {
183
- var componentName = getComponentNameFromType(this.type);
184
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
185
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
186
- ));
187
- componentName = this.props.ref;
188
- return void 0 !== componentName ? componentName : null;
189
- }
190
- function ReactElement(type, key, self2, source, owner, props, debugStack, debugTask) {
191
- self2 = props.ref;
192
- type = {
193
- $$typeof: REACT_ELEMENT_TYPE,
194
- type,
195
- key,
196
- props,
197
- _owner: owner
198
- };
199
- null !== (void 0 !== self2 ? self2 : null) ? Object.defineProperty(type, "ref", {
200
- enumerable: false,
201
- get: elementRefGetterWithDeprecationWarning
202
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
203
- type._store = {};
204
- Object.defineProperty(type._store, "validated", {
205
- configurable: false,
206
- enumerable: false,
207
- writable: true,
208
- value: 0
209
- });
210
- Object.defineProperty(type, "_debugInfo", {
211
- configurable: false,
212
- enumerable: false,
213
- writable: true,
214
- value: null
215
- });
216
- Object.defineProperty(type, "_debugStack", {
217
- configurable: false,
218
- enumerable: false,
219
- writable: true,
220
- value: debugStack
221
- });
222
- Object.defineProperty(type, "_debugTask", {
223
- configurable: false,
224
- enumerable: false,
225
- writable: true,
226
- value: debugTask
227
- });
228
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
229
- return type;
230
- }
231
- function cloneAndReplaceKey(oldElement, newKey) {
232
- newKey = ReactElement(
233
- oldElement.type,
234
- newKey,
235
- void 0,
236
- void 0,
237
- oldElement._owner,
238
- oldElement.props,
239
- oldElement._debugStack,
240
- oldElement._debugTask
241
- );
242
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
243
- return newKey;
244
- }
245
- function isValidElement(object) {
246
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
247
- }
248
- function escape(key) {
249
- var escaperLookup = { "=": "=0", ":": "=2" };
250
- return "$" + key.replace(/[=:]/g, function(match) {
251
- return escaperLookup[match];
252
- });
253
- }
254
- function getElementKey(element, index) {
255
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
256
- }
257
- function noop$1() {
258
- }
259
- function resolveThenable(thenable) {
260
- switch (thenable.status) {
261
- case "fulfilled":
262
- return thenable.value;
263
- case "rejected":
264
- throw thenable.reason;
265
- default:
266
- switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
267
- function(fulfilledValue) {
268
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
269
- },
270
- function(error) {
271
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
272
- }
273
- )), thenable.status) {
274
- case "fulfilled":
275
- return thenable.value;
276
- case "rejected":
277
- throw thenable.reason;
278
- }
279
- }
280
- throw thenable;
281
- }
282
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
283
- var type = typeof children;
284
- if ("undefined" === type || "boolean" === type) children = null;
285
- var invokeCallback = false;
286
- if (null === children) invokeCallback = true;
287
- else
288
- switch (type) {
289
- case "bigint":
290
- case "string":
291
- case "number":
292
- invokeCallback = true;
293
- break;
294
- case "object":
295
- switch (children.$$typeof) {
296
- case REACT_ELEMENT_TYPE:
297
- case REACT_PORTAL_TYPE:
298
- invokeCallback = true;
299
- break;
300
- case REACT_LAZY_TYPE:
301
- return invokeCallback = children._init, mapIntoArray(
302
- invokeCallback(children._payload),
303
- array,
304
- escapedPrefix,
305
- nameSoFar,
306
- callback
307
- );
308
- }
309
- }
310
- if (invokeCallback) {
311
- invokeCallback = children;
312
- callback = callback(invokeCallback);
313
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
314
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
315
- return c;
316
- })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
317
- callback,
318
- escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
319
- userProvidedKeyEscapeRegex,
320
- "$&/"
321
- ) + "/") + childKey
322
- ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
323
- return 1;
324
- }
325
- invokeCallback = 0;
326
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
327
- if (isArrayImpl(children))
328
- for (var i = 0; i < children.length; i++)
329
- nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
330
- nameSoFar,
331
- array,
332
- escapedPrefix,
333
- type,
334
- callback
335
- );
336
- else if (i = getIteratorFn(children), "function" === typeof i)
337
- for (i === children.entries && (didWarnAboutMaps || console.warn(
338
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
339
- ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
340
- nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
341
- nameSoFar,
342
- array,
343
- escapedPrefix,
344
- type,
345
- callback
346
- );
347
- else if ("object" === type) {
348
- if ("function" === typeof children.then)
349
- return mapIntoArray(
350
- resolveThenable(children),
351
- array,
352
- escapedPrefix,
353
- nameSoFar,
354
- callback
355
- );
356
- array = String(children);
357
- throw Error(
358
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
359
- );
360
- }
361
- return invokeCallback;
362
- }
363
- function mapChildren(children, func, context) {
364
- if (null == children) return children;
365
- var result = [], count = 0;
366
- mapIntoArray(children, result, "", "", function(child) {
367
- return func.call(context, child, count++);
368
- });
369
- return result;
370
- }
371
- function lazyInitializer(payload) {
372
- if (-1 === payload._status) {
373
- var ctor = payload._result;
374
- ctor = ctor();
375
- ctor.then(
376
- function(moduleObject) {
377
- if (0 === payload._status || -1 === payload._status)
378
- payload._status = 1, payload._result = moduleObject;
379
- },
380
- function(error) {
381
- if (0 === payload._status || -1 === payload._status)
382
- payload._status = 2, payload._result = error;
383
- }
384
- );
385
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
386
- }
387
- if (1 === payload._status)
388
- return ctor = payload._result, void 0 === ctor && console.error(
389
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
390
- ctor
391
- ), "default" in ctor || console.error(
392
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
393
- ctor
394
- ), ctor.default;
395
- throw payload._result;
396
- }
397
- function resolveDispatcher() {
398
- var dispatcher = ReactSharedInternals.H;
399
- null === dispatcher && console.error(
400
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
401
- );
402
- return dispatcher;
403
- }
404
- function noop4() {
405
- }
406
- function enqueueTask(task) {
407
- if (null === enqueueTaskImpl)
408
- try {
409
- var requireString = ("require" + Math.random()).slice(0, 7);
410
- enqueueTaskImpl = (module && module[requireString]).call(
411
- module,
412
- "timers"
413
- ).setImmediate;
414
- } catch (_err) {
415
- enqueueTaskImpl = function(callback) {
416
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
417
- "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
418
- ));
419
- var channel = new MessageChannel();
420
- channel.port1.onmessage = callback;
421
- channel.port2.postMessage(void 0);
422
- };
423
- }
424
- return enqueueTaskImpl(task);
425
- }
426
- function aggregateErrors(errors) {
427
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
428
- }
429
- function popActScope(prevActQueue, prevActScopeDepth) {
430
- prevActScopeDepth !== actScopeDepth - 1 && console.error(
431
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
432
- );
433
- actScopeDepth = prevActScopeDepth;
434
- }
435
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
436
- var queue = ReactSharedInternals.actQueue;
437
- if (null !== queue)
438
- if (0 !== queue.length)
439
- try {
440
- flushActQueue(queue);
441
- enqueueTask(function() {
442
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
443
- });
444
- return;
445
- } catch (error) {
446
- ReactSharedInternals.thrownErrors.push(error);
447
- }
448
- else ReactSharedInternals.actQueue = null;
449
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
450
- }
451
- function flushActQueue(queue) {
452
- if (!isFlushing) {
453
- isFlushing = true;
454
- var i = 0;
455
- try {
456
- for (; i < queue.length; i++) {
457
- var callback = queue[i];
458
- do {
459
- ReactSharedInternals.didUsePromise = false;
460
- var continuation = callback(false);
461
- if (null !== continuation) {
462
- if (ReactSharedInternals.didUsePromise) {
463
- queue[i] = callback;
464
- queue.splice(0, i);
465
- return;
466
- }
467
- callback = continuation;
468
- } else break;
469
- } while (1);
470
- }
471
- queue.length = 0;
472
- } catch (error) {
473
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
474
- } finally {
475
- isFlushing = false;
476
- }
477
- }
478
- }
479
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
480
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
481
- Symbol.for("react.provider");
482
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
483
- isMounted: function() {
484
- return false;
485
- },
486
- enqueueForceUpdate: function(publicInstance) {
487
- warnNoop(publicInstance, "forceUpdate");
488
- },
489
- enqueueReplaceState: function(publicInstance) {
490
- warnNoop(publicInstance, "replaceState");
491
- },
492
- enqueueSetState: function(publicInstance) {
493
- warnNoop(publicInstance, "setState");
494
- }
495
- }, assign = Object.assign, emptyObject = {};
496
- Object.freeze(emptyObject);
497
- Component.prototype.isReactComponent = {};
498
- Component.prototype.setState = function(partialState, callback) {
499
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
500
- throw Error(
501
- "takes an object of state variables to update or a function which returns an object of state variables."
502
- );
503
- this.updater.enqueueSetState(this, partialState, callback, "setState");
504
- };
505
- Component.prototype.forceUpdate = function(callback) {
506
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
507
- };
508
- var deprecatedAPIs = {
509
- isMounted: [
510
- "isMounted",
511
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
512
- ],
513
- replaceState: [
514
- "replaceState",
515
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
516
- ]
517
- }, fnName;
518
- for (fnName in deprecatedAPIs)
519
- deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
520
- ComponentDummy.prototype = Component.prototype;
521
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
522
- deprecatedAPIs.constructor = PureComponent;
523
- assign(deprecatedAPIs, Component.prototype);
524
- deprecatedAPIs.isPureReactComponent = true;
525
- var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
526
- H: null,
527
- A: null,
528
- T: null,
529
- S: null,
530
- V: null,
531
- actQueue: null,
532
- isBatchingLegacy: false,
533
- didScheduleLegacyUpdate: false,
534
- didUsePromise: false,
535
- thrownErrors: [],
536
- getCurrentStack: null,
537
- recentlyCreatedOwnerStacks: 0
538
- }, hasOwnProperty2 = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
539
- return null;
540
- };
541
- deprecatedAPIs = {
542
- "react-stack-bottom-frame": function(callStackForError) {
543
- return callStackForError();
544
- }
545
- };
546
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
547
- var didWarnAboutElementRef = {};
548
- var unknownOwnerDebugStack = deprecatedAPIs["react-stack-bottom-frame"].bind(deprecatedAPIs, UnknownOwner)();
549
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
550
- var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
551
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
552
- var event = new window.ErrorEvent("error", {
553
- bubbles: true,
554
- cancelable: true,
555
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
556
- error
557
- });
558
- if (!window.dispatchEvent(event)) return;
559
- } else if ("object" === typeof process && "function" === typeof process.emit) {
560
- process.emit("uncaughtException", error);
561
- return;
562
- }
563
- console.error(error);
564
- }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
565
- queueMicrotask(function() {
566
- return queueMicrotask(callback);
567
- });
568
- } : enqueueTask;
569
- deprecatedAPIs = Object.freeze({
570
- __proto__: null,
571
- c: function(size) {
572
- return resolveDispatcher().useMemoCache(size);
573
- }
574
- });
575
- exports.Children = {
576
- map: mapChildren,
577
- forEach: function(children, forEachFunc, forEachContext) {
578
- mapChildren(
579
- children,
580
- function() {
581
- forEachFunc.apply(this, arguments);
582
- },
583
- forEachContext
584
- );
585
- },
586
- count: function(children) {
587
- var n = 0;
588
- mapChildren(children, function() {
589
- n++;
590
- });
591
- return n;
592
- },
593
- toArray: function(children) {
594
- return mapChildren(children, function(child) {
595
- return child;
596
- }) || [];
597
- },
598
- only: function(children) {
599
- if (!isValidElement(children))
600
- throw Error(
601
- "React.Children.only expected to receive a single React element child."
602
- );
603
- return children;
604
- }
605
- };
606
- exports.Component = Component;
607
- exports.Fragment = REACT_FRAGMENT_TYPE;
608
- exports.Profiler = REACT_PROFILER_TYPE;
609
- exports.PureComponent = PureComponent;
610
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
611
- exports.Suspense = REACT_SUSPENSE_TYPE;
612
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
613
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
614
- exports.act = function(callback) {
615
- var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
616
- actScopeDepth++;
617
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
618
- try {
619
- var result = callback();
620
- } catch (error) {
621
- ReactSharedInternals.thrownErrors.push(error);
622
- }
623
- if (0 < ReactSharedInternals.thrownErrors.length)
624
- throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
625
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
626
- var thenable = result;
627
- queueSeveralMicrotasks(function() {
628
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
629
- "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
630
- ));
631
- });
632
- return {
633
- then: function(resolve, reject) {
634
- didAwaitActCall = true;
635
- thenable.then(
636
- function(returnValue) {
637
- popActScope(prevActQueue, prevActScopeDepth);
638
- if (0 === prevActScopeDepth) {
639
- try {
640
- flushActQueue(queue), enqueueTask(function() {
641
- return recursivelyFlushAsyncActWork(
642
- returnValue,
643
- resolve,
644
- reject
645
- );
646
- });
647
- } catch (error$0) {
648
- ReactSharedInternals.thrownErrors.push(error$0);
649
- }
650
- if (0 < ReactSharedInternals.thrownErrors.length) {
651
- var _thrownError = aggregateErrors(
652
- ReactSharedInternals.thrownErrors
653
- );
654
- ReactSharedInternals.thrownErrors.length = 0;
655
- reject(_thrownError);
656
- }
657
- } else resolve(returnValue);
658
- },
659
- function(error) {
660
- popActScope(prevActQueue, prevActScopeDepth);
661
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
662
- ReactSharedInternals.thrownErrors
663
- ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
664
- }
665
- );
666
- }
667
- };
668
- }
669
- var returnValue$jscomp$0 = result;
670
- popActScope(prevActQueue, prevActScopeDepth);
671
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
672
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
673
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
674
- ));
675
- }), ReactSharedInternals.actQueue = null);
676
- if (0 < ReactSharedInternals.thrownErrors.length)
677
- throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
678
- return {
679
- then: function(resolve, reject) {
680
- didAwaitActCall = true;
681
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
682
- return recursivelyFlushAsyncActWork(
683
- returnValue$jscomp$0,
684
- resolve,
685
- reject
686
- );
687
- })) : resolve(returnValue$jscomp$0);
688
- }
689
- };
690
- };
691
- exports.cache = function(fn) {
692
- return function() {
693
- return fn.apply(null, arguments);
694
- };
695
- };
696
- exports.captureOwnerStack = function() {
697
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
698
- return null === getCurrentStack ? null : getCurrentStack();
699
- };
700
- exports.cloneElement = function(element, config, children) {
701
- if (null === element || void 0 === element)
702
- throw Error(
703
- "The argument must be a React element, but you passed " + element + "."
704
- );
705
- var props = assign({}, element.props), key = element.key, owner = element._owner;
706
- if (null != config) {
707
- var JSCompiler_inline_result;
708
- a: {
709
- if (hasOwnProperty2.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
710
- config,
711
- "ref"
712
- ).get) && JSCompiler_inline_result.isReactWarning) {
713
- JSCompiler_inline_result = false;
714
- break a;
715
- }
716
- JSCompiler_inline_result = void 0 !== config.ref;
717
- }
718
- JSCompiler_inline_result && (owner = getOwner());
719
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
720
- for (propName in config)
721
- !hasOwnProperty2.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
722
- }
723
- var propName = arguments.length - 2;
724
- if (1 === propName) props.children = children;
725
- else if (1 < propName) {
726
- JSCompiler_inline_result = Array(propName);
727
- for (var i = 0; i < propName; i++)
728
- JSCompiler_inline_result[i] = arguments[i + 2];
729
- props.children = JSCompiler_inline_result;
730
- }
731
- props = ReactElement(
732
- element.type,
733
- key,
734
- void 0,
735
- void 0,
736
- owner,
737
- props,
738
- element._debugStack,
739
- element._debugTask
740
- );
741
- for (key = 2; key < arguments.length; key++)
742
- owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
743
- return props;
744
- };
745
- exports.createContext = function(defaultValue) {
746
- defaultValue = {
747
- $$typeof: REACT_CONTEXT_TYPE,
748
- _currentValue: defaultValue,
749
- _currentValue2: defaultValue,
750
- _threadCount: 0,
751
- Provider: null,
752
- Consumer: null
753
- };
754
- defaultValue.Provider = defaultValue;
755
- defaultValue.Consumer = {
756
- $$typeof: REACT_CONSUMER_TYPE,
757
- _context: defaultValue
758
- };
759
- defaultValue._currentRenderer = null;
760
- defaultValue._currentRenderer2 = null;
761
- return defaultValue;
762
- };
763
- exports.createElement = function(type, config, children) {
764
- for (var i = 2; i < arguments.length; i++) {
765
- var node = arguments[i];
766
- isValidElement(node) && node._store && (node._store.validated = 1);
767
- }
768
- i = {};
769
- node = null;
770
- if (null != config)
771
- for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
772
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
773
- )), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = "" + config.key), config)
774
- hasOwnProperty2.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
775
- var childrenLength = arguments.length - 2;
776
- if (1 === childrenLength) i.children = children;
777
- else if (1 < childrenLength) {
778
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
779
- childArray[_i] = arguments[_i + 2];
780
- Object.freeze && Object.freeze(childArray);
781
- i.children = childArray;
782
- }
783
- if (type && type.defaultProps)
784
- for (propName in childrenLength = type.defaultProps, childrenLength)
785
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
786
- node && defineKeyPropWarningGetter(
787
- i,
788
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
789
- );
790
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
791
- return ReactElement(
792
- type,
793
- node,
794
- void 0,
795
- void 0,
796
- getOwner(),
797
- i,
798
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
799
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
800
- );
801
- };
802
- exports.createRef = function() {
803
- var refObject = { current: null };
804
- Object.seal(refObject);
805
- return refObject;
806
- };
807
- exports.forwardRef = function(render) {
808
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
809
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
810
- ) : "function" !== typeof render ? console.error(
811
- "forwardRef requires a render function but was given %s.",
812
- null === render ? "null" : typeof render
813
- ) : 0 !== render.length && 2 !== render.length && console.error(
814
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
815
- 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
816
- );
817
- null != render && null != render.defaultProps && console.error(
818
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
819
- );
820
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
821
- Object.defineProperty(elementType, "displayName", {
822
- enumerable: false,
823
- configurable: true,
824
- get: function() {
825
- return ownName;
826
- },
827
- set: function(name) {
828
- ownName = name;
829
- render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
830
- }
831
- });
832
- return elementType;
833
- };
834
- exports.isValidElement = isValidElement;
835
- exports.lazy = function(ctor) {
836
- return {
837
- $$typeof: REACT_LAZY_TYPE,
838
- _payload: { _status: -1, _result: ctor },
839
- _init: lazyInitializer
840
- };
841
- };
842
- exports.memo = function(type, compare) {
843
- null == type && console.error(
844
- "memo: The first argument must be a component. Instead received: %s",
845
- null === type ? "null" : typeof type
846
- );
847
- compare = {
848
- $$typeof: REACT_MEMO_TYPE,
849
- type,
850
- compare: void 0 === compare ? null : compare
851
- };
852
- var ownName;
853
- Object.defineProperty(compare, "displayName", {
854
- enumerable: false,
855
- configurable: true,
856
- get: function() {
857
- return ownName;
858
- },
859
- set: function(name) {
860
- ownName = name;
861
- type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
862
- }
863
- });
864
- return compare;
865
- };
866
- exports.startTransition = function(scope) {
867
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
868
- ReactSharedInternals.T = currentTransition;
869
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
870
- try {
871
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
872
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
873
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop4, reportGlobalError);
874
- } catch (error) {
875
- reportGlobalError(error);
876
- } finally {
877
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
878
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
879
- )), ReactSharedInternals.T = prevTransition;
880
- }
881
- };
882
- exports.unstable_useCacheRefresh = function() {
883
- return resolveDispatcher().useCacheRefresh();
884
- };
885
- exports.use = function(usable) {
886
- return resolveDispatcher().use(usable);
887
- };
888
- exports.useActionState = function(action, initialState, permalink) {
889
- return resolveDispatcher().useActionState(
890
- action,
891
- initialState,
892
- permalink
893
- );
894
- };
895
- exports.useCallback = function(callback, deps) {
896
- return resolveDispatcher().useCallback(callback, deps);
897
- };
898
- exports.useContext = function(Context) {
899
- var dispatcher = resolveDispatcher();
900
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
901
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
902
- );
903
- return dispatcher.useContext(Context);
904
- };
905
- exports.useDebugValue = function(value, formatterFn) {
906
- return resolveDispatcher().useDebugValue(value, formatterFn);
907
- };
908
- exports.useDeferredValue = function(value, initialValue) {
909
- return resolveDispatcher().useDeferredValue(value, initialValue);
910
- };
911
- exports.useEffect = function(create, createDeps, update) {
912
- null == create && console.warn(
913
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
914
- );
915
- var dispatcher = resolveDispatcher();
916
- if ("function" === typeof update)
917
- throw Error(
918
- "useEffect CRUD overload is not enabled in this build of React."
919
- );
920
- return dispatcher.useEffect(create, createDeps);
921
- };
922
- exports.useId = function() {
923
- return resolveDispatcher().useId();
924
- };
925
- exports.useImperativeHandle = function(ref, create, deps) {
926
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
927
- };
928
- exports.useInsertionEffect = function(create, deps) {
929
- null == create && console.warn(
930
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
931
- );
932
- return resolveDispatcher().useInsertionEffect(create, deps);
933
- };
934
- exports.useLayoutEffect = function(create, deps) {
935
- null == create && console.warn(
936
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
937
- );
938
- return resolveDispatcher().useLayoutEffect(create, deps);
939
- };
940
- exports.useMemo = function(create, deps) {
941
- return resolveDispatcher().useMemo(create, deps);
942
- };
943
- exports.useOptimistic = function(passthrough, reducer) {
944
- return resolveDispatcher().useOptimistic(passthrough, reducer);
945
- };
946
- exports.useReducer = function(reducer, initialArg, init) {
947
- return resolveDispatcher().useReducer(reducer, initialArg, init);
948
- };
949
- exports.useRef = function(initialValue) {
950
- return resolveDispatcher().useRef(initialValue);
951
- };
952
- exports.useState = function(initialState) {
953
- return resolveDispatcher().useState(initialState);
954
- };
955
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
956
- return resolveDispatcher().useSyncExternalStore(
957
- subscribe,
958
- getSnapshot,
959
- getServerSnapshot
960
- );
961
- };
962
- exports.useTransition = function() {
963
- return resolveDispatcher().useTransition();
964
- };
965
- exports.version = "19.1.0";
966
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
967
- })();
968
- }
969
- });
970
-
971
- // node_modules/react/index.js
972
- var require_react = __commonJS({
973
- "node_modules/react/index.js"(exports, module) {
974
- "use strict";
975
- if (false) {
976
- module.exports = null;
977
- } else {
978
- module.exports = require_react_development();
979
- }
980
- }
981
- });
982
-
983
- // node_modules/react/cjs/react-jsx-runtime.development.js
984
- var require_react_jsx_runtime_development = __commonJS({
985
- "node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
986
- "use strict";
987
- (function() {
988
- function getComponentNameFromType(type) {
989
- if (null == type) return null;
990
- if ("function" === typeof type)
991
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
992
- if ("string" === typeof type) return type;
993
- switch (type) {
994
- case REACT_FRAGMENT_TYPE:
995
- return "Fragment";
996
- case REACT_PROFILER_TYPE:
997
- return "Profiler";
998
- case REACT_STRICT_MODE_TYPE:
999
- return "StrictMode";
1000
- case REACT_SUSPENSE_TYPE:
1001
- return "Suspense";
1002
- case REACT_SUSPENSE_LIST_TYPE:
1003
- return "SuspenseList";
1004
- case REACT_ACTIVITY_TYPE:
1005
- return "Activity";
1006
- }
1007
- if ("object" === typeof type)
1008
- switch ("number" === typeof type.tag && console.error(
1009
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1010
- ), type.$$typeof) {
1011
- case REACT_PORTAL_TYPE:
1012
- return "Portal";
1013
- case REACT_CONTEXT_TYPE:
1014
- return (type.displayName || "Context") + ".Provider";
1015
- case REACT_CONSUMER_TYPE:
1016
- return (type._context.displayName || "Context") + ".Consumer";
1017
- case REACT_FORWARD_REF_TYPE:
1018
- var innerType = type.render;
1019
- type = type.displayName;
1020
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1021
- return type;
1022
- case REACT_MEMO_TYPE:
1023
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1024
- case REACT_LAZY_TYPE:
1025
- innerType = type._payload;
1026
- type = type._init;
1027
- try {
1028
- return getComponentNameFromType(type(innerType));
1029
- } catch (x) {
1030
- }
1031
- }
1032
- return null;
1033
- }
1034
- function testStringCoercion(value) {
1035
- return "" + value;
1036
- }
1037
- function checkKeyStringCoercion(value) {
1038
- try {
1039
- testStringCoercion(value);
1040
- var JSCompiler_inline_result = false;
1041
- } catch (e) {
1042
- JSCompiler_inline_result = true;
1043
- }
1044
- if (JSCompiler_inline_result) {
1045
- JSCompiler_inline_result = console;
1046
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
1047
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1048
- JSCompiler_temp_const.call(
1049
- JSCompiler_inline_result,
1050
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1051
- JSCompiler_inline_result$jscomp$0
1052
- );
1053
- return testStringCoercion(value);
1054
- }
1055
- }
1056
- function getTaskName(type) {
1057
- if (type === REACT_FRAGMENT_TYPE) return "<>";
1058
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
1059
- return "<...>";
1060
- try {
1061
- var name = getComponentNameFromType(type);
1062
- return name ? "<" + name + ">" : "<...>";
1063
- } catch (x) {
1064
- return "<...>";
1065
- }
1066
- }
1067
- function getOwner() {
1068
- var dispatcher = ReactSharedInternals.A;
1069
- return null === dispatcher ? null : dispatcher.getOwner();
1070
- }
1071
- function UnknownOwner() {
1072
- return Error("react-stack-top-frame");
1073
- }
1074
- function hasValidKey(config) {
1075
- if (hasOwnProperty2.call(config, "key")) {
1076
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1077
- if (getter && getter.isReactWarning) return false;
1078
- }
1079
- return void 0 !== config.key;
1080
- }
1081
- function defineKeyPropWarningGetter(props, displayName) {
1082
- function warnAboutAccessingKey() {
1083
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
1084
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
1085
- displayName
1086
- ));
1087
- }
1088
- warnAboutAccessingKey.isReactWarning = true;
1089
- Object.defineProperty(props, "key", {
1090
- get: warnAboutAccessingKey,
1091
- configurable: true
1092
- });
1093
- }
1094
- function elementRefGetterWithDeprecationWarning() {
1095
- var componentName = getComponentNameFromType(this.type);
1096
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
1097
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1098
- ));
1099
- componentName = this.props.ref;
1100
- return void 0 !== componentName ? componentName : null;
1101
- }
1102
- function ReactElement(type, key, self2, source, owner, props, debugStack, debugTask) {
1103
- self2 = props.ref;
1104
- type = {
1105
- $$typeof: REACT_ELEMENT_TYPE,
1106
- type,
1107
- key,
1108
- props,
1109
- _owner: owner
1110
- };
1111
- null !== (void 0 !== self2 ? self2 : null) ? Object.defineProperty(type, "ref", {
1112
- enumerable: false,
1113
- get: elementRefGetterWithDeprecationWarning
1114
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1115
- type._store = {};
1116
- Object.defineProperty(type._store, "validated", {
1117
- configurable: false,
1118
- enumerable: false,
1119
- writable: true,
1120
- value: 0
1121
- });
1122
- Object.defineProperty(type, "_debugInfo", {
1123
- configurable: false,
1124
- enumerable: false,
1125
- writable: true,
1126
- value: null
1127
- });
1128
- Object.defineProperty(type, "_debugStack", {
1129
- configurable: false,
1130
- enumerable: false,
1131
- writable: true,
1132
- value: debugStack
1133
- });
1134
- Object.defineProperty(type, "_debugTask", {
1135
- configurable: false,
1136
- enumerable: false,
1137
- writable: true,
1138
- value: debugTask
1139
- });
1140
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1141
- return type;
1142
- }
1143
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self2, debugStack, debugTask) {
1144
- var children = config.children;
1145
- if (void 0 !== children)
1146
- if (isStaticChildren)
1147
- if (isArrayImpl(children)) {
1148
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
1149
- validateChildKeys(children[isStaticChildren]);
1150
- Object.freeze && Object.freeze(children);
1151
- } else
1152
- console.error(
1153
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1154
- );
1155
- else validateChildKeys(children);
1156
- if (hasOwnProperty2.call(config, "key")) {
1157
- children = getComponentNameFromType(type);
1158
- var keys = Object.keys(config).filter(function(k) {
1159
- return "key" !== k;
1160
- });
1161
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1162
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
1163
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
1164
- isStaticChildren,
1165
- children,
1166
- keys,
1167
- children
1168
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
1169
- }
1170
- children = null;
1171
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1172
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1173
- if ("key" in config) {
1174
- maybeKey = {};
1175
- for (var propName in config)
1176
- "key" !== propName && (maybeKey[propName] = config[propName]);
1177
- } else maybeKey = config;
1178
- children && defineKeyPropWarningGetter(
1179
- maybeKey,
1180
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1181
- );
1182
- return ReactElement(
1183
- type,
1184
- children,
1185
- self2,
1186
- source,
1187
- getOwner(),
1188
- maybeKey,
1189
- debugStack,
1190
- debugTask
1191
- );
1192
- }
1193
- function validateChildKeys(node) {
1194
- "object" === typeof node && null !== node && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
1195
- }
1196
- var React7 = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1197
- Symbol.for("react.provider");
1198
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty2 = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
1199
- return null;
1200
- };
1201
- React7 = {
1202
- "react-stack-bottom-frame": function(callStackForError) {
1203
- return callStackForError();
1204
- }
1205
- };
1206
- var specialPropKeyWarningShown;
1207
- var didWarnAboutElementRef = {};
1208
- var unknownOwnerDebugStack = React7["react-stack-bottom-frame"].bind(
1209
- React7,
1210
- UnknownOwner
1211
- )();
1212
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1213
- var didWarnAboutKeySpread = {};
1214
- exports.Fragment = REACT_FRAGMENT_TYPE;
1215
- exports.jsx = function(type, config, maybeKey, source, self2) {
1216
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1217
- return jsxDEVImpl(
1218
- type,
1219
- config,
1220
- maybeKey,
1221
- false,
1222
- source,
1223
- self2,
1224
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1225
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1226
- );
1227
- };
1228
- exports.jsxs = function(type, config, maybeKey, source, self2) {
1229
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1230
- return jsxDEVImpl(
1231
- type,
1232
- config,
1233
- maybeKey,
1234
- true,
1235
- source,
1236
- self2,
1237
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1238
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1239
- );
1240
- };
1241
- })();
1242
- }
1243
- });
1244
-
1245
- // node_modules/react/jsx-runtime.js
1246
- var require_jsx_runtime = __commonJS({
1247
- "node_modules/react/jsx-runtime.js"(exports, module) {
1248
- "use strict";
1249
- if (false) {
1250
- module.exports = null;
1251
- } else {
1252
- module.exports = require_react_jsx_runtime_development();
1253
- }
1254
- }
1255
- });
1256
6
 
1257
7
  // node_modules/axios/lib/helpers/bind.js
1258
8
  function bind(fn, thisArg) {
@@ -4708,8 +3458,8 @@ var MutationObserver = class extends Subscribable {
4708
3458
  };
4709
3459
 
4710
3460
  // node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
4711
- var React = __toESM(require_react(), 1);
4712
- var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
3461
+ import * as React from "react";
3462
+ import { jsx } from "react/jsx-runtime";
4713
3463
  var QueryClientContext = React.createContext(
4714
3464
  void 0
4715
3465
  );
@@ -4725,14 +3475,14 @@ var useQueryClient = (queryClient) => {
4725
3475
  };
4726
3476
 
4727
3477
  // node_modules/@tanstack/react-query/build/modern/isRestoring.js
4728
- var React2 = __toESM(require_react(), 1);
3478
+ import * as React2 from "react";
4729
3479
  var IsRestoringContext = React2.createContext(false);
4730
3480
  var useIsRestoring = () => React2.useContext(IsRestoringContext);
4731
3481
  var IsRestoringProvider = IsRestoringContext.Provider;
4732
3482
 
4733
3483
  // node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
4734
- var React3 = __toESM(require_react(), 1);
4735
- var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
3484
+ import * as React3 from "react";
3485
+ import { jsx as jsx2 } from "react/jsx-runtime";
4736
3486
  function createValue() {
4737
3487
  let isReset = false;
4738
3488
  return {
@@ -4751,7 +3501,7 @@ var QueryErrorResetBoundaryContext = React3.createContext(createValue());
4751
3501
  var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
4752
3502
 
4753
3503
  // node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
4754
- var React4 = __toESM(require_react(), 1);
3504
+ import * as React4 from "react";
4755
3505
 
4756
3506
  // node_modules/@tanstack/react-query/build/modern/utils.js
4757
3507
  function shouldThrowError(throwError, params) {
@@ -4804,7 +3554,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
4804
3554
  });
4805
3555
 
4806
3556
  // node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
4807
- var React5 = __toESM(require_react(), 1);
3557
+ import * as React5 from "react";
4808
3558
  function useBaseQuery(options, Observer, queryClient) {
4809
3559
  if (true) {
4810
3560
  if (typeof options !== "object" || Array.isArray(options)) {
@@ -4918,7 +3668,7 @@ function queryOptions(options) {
4918
3668
  }
4919
3669
 
4920
3670
  // node_modules/@tanstack/react-query/build/modern/useMutation.js
4921
- var React6 = __toESM(require_react(), 1);
3671
+ import * as React6 from "react";
4922
3672
  function useMutation(options, queryClient) {
4923
3673
  const client2 = useQueryClient(queryClient);
4924
3674
  const [observer] = React6.useState(
@@ -4954,11 +3704,19 @@ function useMutation(options, queryClient) {
4954
3704
  var agentsCreateTemplateFromAgentMutationKey = () => [{ url: "/v1/agents/{agent_id}/template" }];
4955
3705
  async function agentsCreateTemplateFromAgent(agent_id, data, config = {}) {
4956
3706
  const { client: request = axios_default2, ...requestConfig } = config;
4957
- const res = await request({ method: "POST", url: `/v1/agents/${agent_id}/template`, data, ...requestConfig });
3707
+ const res = await request({
3708
+ method: "POST",
3709
+ url: `/v1/agents/${agent_id}/template`,
3710
+ data,
3711
+ ...requestConfig
3712
+ });
4958
3713
  return res;
4959
3714
  }
4960
3715
  function useAgentsCreateTemplateFromAgent(options = {}) {
4961
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3716
+ const {
3717
+ mutation: { client: queryClient, ...mutationOptions } = {},
3718
+ client: config = {}
3719
+ } = options ?? {};
4962
3720
  const mutationKey = mutationOptions?.mutationKey ?? agentsCreateTemplateFromAgentMutationKey();
4963
3721
  return useMutation(
4964
3722
  {
@@ -4973,7 +3731,12 @@ function useAgentsCreateTemplateFromAgent(options = {}) {
4973
3731
  }
4974
3732
 
4975
3733
  // src/hooks/agentsHooks/useAgents/getAgentVariables.ts
4976
- var agentsGetAgentVariablesQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory/variables", params: { agent_id } }];
3734
+ var agentsGetAgentVariablesQueryKey = (agent_id) => [
3735
+ {
3736
+ url: "/v1/agents/:agent_id/core-memory/variables",
3737
+ params: { agent_id }
3738
+ }
3739
+ ];
4977
3740
  async function agentsGetAgentVariables(agent_id, config = {}) {
4978
3741
  const { client: request = axios_default2, ...requestConfig } = config;
4979
3742
  const res = await request({
@@ -4995,11 +3758,17 @@ function agentsGetAgentVariablesQueryOptions(agent_id, config = {}) {
4995
3758
  });
4996
3759
  }
4997
3760
  function useAgentsGetAgentVariables(agent_id, options = {}) {
4998
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
3761
+ const {
3762
+ query: { client: queryClient, ...queryOptions2 } = {},
3763
+ client: config = {}
3764
+ } = options ?? {};
4999
3765
  const queryKey = queryOptions2?.queryKey ?? agentsGetAgentVariablesQueryKey(agent_id);
5000
3766
  const query = useQuery(
5001
3767
  {
5002
- ...agentsGetAgentVariablesQueryOptions(agent_id, config),
3768
+ ...agentsGetAgentVariablesQueryOptions(
3769
+ agent_id,
3770
+ config
3771
+ ),
5003
3772
  queryKey,
5004
3773
  ...queryOptions2
5005
3774
  },
@@ -5010,7 +3779,12 @@ function useAgentsGetAgentVariables(agent_id, options = {}) {
5010
3779
  }
5011
3780
 
5012
3781
  // src/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.ts
5013
- var agentsGetAgentVariablesSuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory/variables", params: { agent_id } }];
3782
+ var agentsGetAgentVariablesSuspenseQueryKey = (agent_id) => [
3783
+ {
3784
+ url: "/v1/agents/:agent_id/core-memory/variables",
3785
+ params: { agent_id }
3786
+ }
3787
+ ];
5014
3788
  async function agentsGetAgentVariablesSuspense(agent_id, config = {}) {
5015
3789
  const { client: request = axios_default2, ...requestConfig } = config;
5016
3790
  const res = await request({
@@ -5032,11 +3806,17 @@ function agentsGetAgentVariablesSuspenseQueryOptions(agent_id, config = {}) {
5032
3806
  });
5033
3807
  }
5034
3808
  function useAgentsGetAgentVariablesSuspense(agent_id, options = {}) {
5035
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
3809
+ const {
3810
+ query: { client: queryClient, ...queryOptions2 } = {},
3811
+ client: config = {}
3812
+ } = options ?? {};
5036
3813
  const queryKey = queryOptions2?.queryKey ?? agentsGetAgentVariablesSuspenseQueryKey(agent_id);
5037
3814
  const query = useSuspenseQuery(
5038
3815
  {
5039
- ...agentsGetAgentVariablesSuspenseQueryOptions(agent_id, config),
3816
+ ...agentsGetAgentVariablesSuspenseQueryOptions(
3817
+ agent_id,
3818
+ config
3819
+ ),
5040
3820
  queryKey,
5041
3821
  ...queryOptions2
5042
3822
  },
@@ -5050,11 +3830,19 @@ function useAgentsGetAgentVariablesSuspense(agent_id, options = {}) {
5050
3830
  var agentsMigrateAgentMutationKey = () => [{ url: "/v1/agents/{agent_id}/migrate" }];
5051
3831
  async function agentsMigrateAgent(agent_id, data, config = {}) {
5052
3832
  const { client: request = axios_default2, ...requestConfig } = config;
5053
- const res = await request({ method: "POST", url: `/v1/agents/${agent_id}/migrate`, data, ...requestConfig });
3833
+ const res = await request({
3834
+ method: "POST",
3835
+ url: `/v1/agents/${agent_id}/migrate`,
3836
+ data,
3837
+ ...requestConfig
3838
+ });
5054
3839
  return res;
5055
3840
  }
5056
3841
  function useAgentsMigrateAgent(options = {}) {
5057
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3842
+ const {
3843
+ mutation: { client: queryClient, ...mutationOptions } = {},
3844
+ client: config = {}
3845
+ } = options ?? {};
5058
3846
  const mutationKey = mutationOptions?.mutationKey ?? agentsMigrateAgentMutationKey();
5059
3847
  return useMutation(
5060
3848
  {
@@ -5081,7 +3869,10 @@ async function agentsSearchDeployedAgents(data, config = {}) {
5081
3869
  return res;
5082
3870
  }
5083
3871
  function useAgentsSearchDeployedAgents(options = {}) {
5084
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3872
+ const {
3873
+ mutation: { client: queryClient, ...mutationOptions } = {},
3874
+ client: config = {}
3875
+ } = options ?? {};
5085
3876
  const mutationKey = mutationOptions?.mutationKey ?? agentsSearchDeployedAgentsMutationKey();
5086
3877
  return useMutation(
5087
3878
  {
@@ -5099,11 +3890,20 @@ function useAgentsSearchDeployedAgents(options = {}) {
5099
3890
  var agentsVersionAgentTemplateMutationKey = () => [{ url: "/v1/agents/{agent_id}/version-template" }];
5100
3891
  async function agentsVersionAgentTemplate(agent_id, data, params, config = {}) {
5101
3892
  const { client: request = axios_default2, ...requestConfig } = config;
5102
- const res = await request({ method: "POST", url: `/v1/agents/${agent_id}/version-template`, params, data, ...requestConfig });
3893
+ const res = await request({
3894
+ method: "POST",
3895
+ url: `/v1/agents/${agent_id}/version-template`,
3896
+ params,
3897
+ data,
3898
+ ...requestConfig
3899
+ });
5103
3900
  return res;
5104
3901
  }
5105
3902
  function useAgentsVersionAgentTemplate(options = {}) {
5106
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3903
+ const {
3904
+ mutation: { client: queryClient, ...mutationOptions } = {},
3905
+ client: config = {}
3906
+ } = options ?? {};
5107
3907
  const mutationKey = mutationOptions?.mutationKey ?? agentsVersionAgentTemplateMutationKey();
5108
3908
  return useMutation(
5109
3909
  {
@@ -5131,7 +3931,10 @@ async function createAgent(data, headers, config = {}) {
5131
3931
  return res;
5132
3932
  }
5133
3933
  function useCreateAgent(options = {}) {
5134
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3934
+ const {
3935
+ mutation: { client: queryClient, ...mutationOptions } = {},
3936
+ client: config = {}
3937
+ } = options ?? {};
5135
3938
  const mutationKey = mutationOptions?.mutationKey ?? createAgentMutationKey();
5136
3939
  return useMutation(
5137
3940
  {
@@ -5158,7 +3961,10 @@ async function createAgentMessageAsync(agent_id, data, config = {}) {
5158
3961
  return res;
5159
3962
  }
5160
3963
  function useCreateAgentMessageAsync(options = {}) {
5161
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3964
+ const {
3965
+ mutation: { client: queryClient, ...mutationOptions } = {},
3966
+ client: config = {}
3967
+ } = options ?? {};
5162
3968
  const mutationKey = mutationOptions?.mutationKey ?? createAgentMessageAsyncMutationKey();
5163
3969
  return useMutation(
5164
3970
  {
@@ -5176,11 +3982,19 @@ function useCreateAgentMessageAsync(options = {}) {
5176
3982
  var createAgentMessageStreamMutationKey = () => [{ url: "/v1/agents/{agent_id}/messages/stream" }];
5177
3983
  async function createAgentMessageStream(agent_id, data, config = {}) {
5178
3984
  const { client: request = axios_default2, ...requestConfig } = config;
5179
- const res = await request({ method: "POST", url: `/v1/agents/${agent_id}/messages/stream`, data, ...requestConfig });
3985
+ const res = await request({
3986
+ method: "POST",
3987
+ url: `/v1/agents/${agent_id}/messages/stream`,
3988
+ data,
3989
+ ...requestConfig
3990
+ });
5180
3991
  return res;
5181
3992
  }
5182
3993
  function useCreateAgentMessageStream(options = {}) {
5183
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
3994
+ const {
3995
+ mutation: { client: queryClient, ...mutationOptions } = {},
3996
+ client: config = {}
3997
+ } = options ?? {};
5184
3998
  const mutationKey = mutationOptions?.mutationKey ?? createAgentMessageStreamMutationKey();
5185
3999
  return useMutation(
5186
4000
  {
@@ -5207,7 +4021,10 @@ async function createPassage(agent_id, data, config = {}) {
5207
4021
  return res;
5208
4022
  }
5209
4023
  function useCreatePassage(options = {}) {
5210
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
4024
+ const {
4025
+ mutation: { client: queryClient, ...mutationOptions } = {},
4026
+ client: config = {}
4027
+ } = options ?? {};
5211
4028
  const mutationKey = mutationOptions?.mutationKey ?? createPassageMutationKey();
5212
4029
  return useMutation(
5213
4030
  {
@@ -5233,7 +4050,10 @@ async function deleteAgent(agent_id, config = {}) {
5233
4050
  return res;
5234
4051
  }
5235
4052
  function useDeleteAgent(options = {}) {
5236
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
4053
+ const {
4054
+ mutation: { client: queryClient, ...mutationOptions } = {},
4055
+ client: config = {}
4056
+ } = options ?? {};
5237
4057
  const mutationKey = mutationOptions?.mutationKey ?? deleteAgentMutationKey();
5238
4058
  return useMutation(
5239
4059
  {
@@ -5259,7 +4079,10 @@ async function deletePassage(agent_id, memory_id, config = {}) {
5259
4079
  return res;
5260
4080
  }
5261
4081
  function useDeletePassage(options = {}) {
5262
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
4082
+ const {
4083
+ mutation: { client: queryClient, ...mutationOptions } = {},
4084
+ client: config = {}
4085
+ } = options ?? {};
5263
4086
  const mutationKey = mutationOptions?.mutationKey ?? deletePassageMutationKey();
5264
4087
  return useMutation(
5265
4088
  {
@@ -5274,7 +4097,10 @@ function useDeletePassage(options = {}) {
5274
4097
  }
5275
4098
 
5276
4099
  // src/hooks/agentsHooks/useExportAgentSerialized.ts
5277
- var exportAgentSerializedQueryKey = (agent_id, data) => [{ url: "/v1/agents/:agent_id/export", params: { agent_id } }, ...data ? [data] : []];
4100
+ var exportAgentSerializedQueryKey = (agent_id, data) => [
4101
+ { url: "/v1/agents/:agent_id/export", params: { agent_id } },
4102
+ ...data ? [data] : []
4103
+ ];
5278
4104
  async function exportAgentSerialized(agent_id, data, config = {}) {
5279
4105
  const { client: request = axios_default2, ...requestConfig } = config;
5280
4106
  const res = await request({
@@ -5297,11 +4123,18 @@ function exportAgentSerializedQueryOptions(agent_id, data, config = {}) {
5297
4123
  });
5298
4124
  }
5299
4125
  function useExportAgentSerialized(agent_id, data, options = {}) {
5300
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4126
+ const {
4127
+ query: { client: queryClient, ...queryOptions2 } = {},
4128
+ client: config = {}
4129
+ } = options ?? {};
5301
4130
  const queryKey = queryOptions2?.queryKey ?? exportAgentSerializedQueryKey(agent_id, data);
5302
4131
  const query = useQuery(
5303
4132
  {
5304
- ...exportAgentSerializedQueryOptions(agent_id, data, config),
4133
+ ...exportAgentSerializedQueryOptions(
4134
+ agent_id,
4135
+ data,
4136
+ config
4137
+ ),
5305
4138
  queryKey,
5306
4139
  ...queryOptions2
5307
4140
  },
@@ -5312,7 +4145,10 @@ function useExportAgentSerialized(agent_id, data, options = {}) {
5312
4145
  }
5313
4146
 
5314
4147
  // src/hooks/agentsHooks/useExportAgentSerializedSuspense.ts
5315
- var exportAgentSerializedSuspenseQueryKey = (agent_id, data) => [{ url: "/v1/agents/:agent_id/export", params: { agent_id } }, ...data ? [data] : []];
4148
+ var exportAgentSerializedSuspenseQueryKey = (agent_id, data) => [
4149
+ { url: "/v1/agents/:agent_id/export", params: { agent_id } },
4150
+ ...data ? [data] : []
4151
+ ];
5316
4152
  async function exportAgentSerializedSuspense(agent_id, data, config = {}) {
5317
4153
  const { client: request = axios_default2, ...requestConfig } = config;
5318
4154
  const res = await request({
@@ -5335,11 +4171,18 @@ function exportAgentSerializedSuspenseQueryOptions(agent_id, data, config = {})
5335
4171
  });
5336
4172
  }
5337
4173
  function useExportAgentSerializedSuspense(agent_id, data, options = {}) {
5338
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4174
+ const {
4175
+ query: { client: queryClient, ...queryOptions2 } = {},
4176
+ client: config = {}
4177
+ } = options ?? {};
5339
4178
  const queryKey = queryOptions2?.queryKey ?? exportAgentSerializedSuspenseQueryKey(agent_id, data);
5340
4179
  const query = useSuspenseQuery(
5341
4180
  {
5342
- ...exportAgentSerializedSuspenseQueryOptions(agent_id, data, config),
4181
+ ...exportAgentSerializedSuspenseQueryOptions(
4182
+ agent_id,
4183
+ data,
4184
+ config
4185
+ ),
5343
4186
  queryKey,
5344
4187
  ...queryOptions2
5345
4188
  },
@@ -5368,12 +4211,18 @@ async function importAgentSerialized(data, params, config = {}) {
5368
4211
  params,
5369
4212
  data: formData,
5370
4213
  ...requestConfig,
5371
- headers: { "Content-Type": "multipart/form-data", ...requestConfig.headers }
4214
+ headers: {
4215
+ "Content-Type": "multipart/form-data",
4216
+ ...requestConfig.headers
4217
+ }
5372
4218
  });
5373
4219
  return res;
5374
4220
  }
5375
4221
  function useImportAgentSerialized(options = {}) {
5376
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
4222
+ const {
4223
+ mutation: { client: queryClient, ...mutationOptions } = {},
4224
+ client: config = {}
4225
+ } = options ?? {};
5377
4226
  const mutationKey = mutationOptions?.mutationKey ?? importAgentSerializedMutationKey();
5378
4227
  return useMutation(
5379
4228
  {
@@ -5410,11 +4259,17 @@ function listAgentsQueryOptions(params, config = {}) {
5410
4259
  });
5411
4260
  }
5412
4261
  function useListAgents(params, options = {}) {
5413
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4262
+ const {
4263
+ query: { client: queryClient, ...queryOptions2 } = {},
4264
+ client: config = {}
4265
+ } = options ?? {};
5414
4266
  const queryKey = queryOptions2?.queryKey ?? listAgentsQueryKey(params);
5415
4267
  const query = useQuery(
5416
4268
  {
5417
- ...listAgentsQueryOptions(params, config),
4269
+ ...listAgentsQueryOptions(
4270
+ params,
4271
+ config
4272
+ ),
5418
4273
  queryKey,
5419
4274
  ...queryOptions2
5420
4275
  },
@@ -5425,7 +4280,9 @@ function useListAgents(params, options = {}) {
5425
4280
  }
5426
4281
 
5427
4282
  // src/hooks/agentsHooks/useListAgentSources.ts
5428
- var listAgentSourcesQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/sources", params: { agent_id } }];
4283
+ var listAgentSourcesQueryKey = (agent_id) => [
4284
+ { url: "/v1/agents/:agent_id/sources", params: { agent_id } }
4285
+ ];
5429
4286
  async function listAgentSources(agent_id, config = {}) {
5430
4287
  const { client: request = axios_default2, ...requestConfig } = config;
5431
4288
  const res = await request({
@@ -5447,11 +4304,17 @@ function listAgentSourcesQueryOptions(agent_id, config = {}) {
5447
4304
  });
5448
4305
  }
5449
4306
  function useListAgentSources(agent_id, options = {}) {
5450
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4307
+ const {
4308
+ query: { client: queryClient, ...queryOptions2 } = {},
4309
+ client: config = {}
4310
+ } = options ?? {};
5451
4311
  const queryKey = queryOptions2?.queryKey ?? listAgentSourcesQueryKey(agent_id);
5452
4312
  const query = useQuery(
5453
4313
  {
5454
- ...listAgentSourcesQueryOptions(agent_id, config),
4314
+ ...listAgentSourcesQueryOptions(
4315
+ agent_id,
4316
+ config
4317
+ ),
5455
4318
  queryKey,
5456
4319
  ...queryOptions2
5457
4320
  },
@@ -5462,7 +4325,9 @@ function useListAgentSources(agent_id, options = {}) {
5462
4325
  }
5463
4326
 
5464
4327
  // src/hooks/agentsHooks/useListAgentSourcesSuspense.ts
5465
- var listAgentSourcesSuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/sources", params: { agent_id } }];
4328
+ var listAgentSourcesSuspenseQueryKey = (agent_id) => [
4329
+ { url: "/v1/agents/:agent_id/sources", params: { agent_id } }
4330
+ ];
5466
4331
  async function listAgentSourcesSuspense(agent_id, config = {}) {
5467
4332
  const { client: request = axios_default2, ...requestConfig } = config;
5468
4333
  const res = await request({
@@ -5484,11 +4349,17 @@ function listAgentSourcesSuspenseQueryOptions(agent_id, config = {}) {
5484
4349
  });
5485
4350
  }
5486
4351
  function useListAgentSourcesSuspense(agent_id, options = {}) {
5487
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4352
+ const {
4353
+ query: { client: queryClient, ...queryOptions2 } = {},
4354
+ client: config = {}
4355
+ } = options ?? {};
5488
4356
  const queryKey = queryOptions2?.queryKey ?? listAgentSourcesSuspenseQueryKey(agent_id);
5489
4357
  const query = useSuspenseQuery(
5490
4358
  {
5491
- ...listAgentSourcesSuspenseQueryOptions(agent_id, config),
4359
+ ...listAgentSourcesSuspenseQueryOptions(
4360
+ agent_id,
4361
+ config
4362
+ ),
5492
4363
  queryKey,
5493
4364
  ...queryOptions2
5494
4365
  },
@@ -5521,11 +4392,17 @@ function listAgentsSuspenseQueryOptions(params, config = {}) {
5521
4392
  });
5522
4393
  }
5523
4394
  function useListAgentsSuspense(params, options = {}) {
5524
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4395
+ const {
4396
+ query: { client: queryClient, ...queryOptions2 } = {},
4397
+ client: config = {}
4398
+ } = options ?? {};
5525
4399
  const queryKey = queryOptions2?.queryKey ?? listAgentsSuspenseQueryKey(params);
5526
4400
  const query = useSuspenseQuery(
5527
4401
  {
5528
- ...listAgentsSuspenseQueryOptions(params, config),
4402
+ ...listAgentsSuspenseQueryOptions(
4403
+ params,
4404
+ config
4405
+ ),
5529
4406
  queryKey,
5530
4407
  ...queryOptions2
5531
4408
  },
@@ -5536,7 +4413,9 @@ function useListAgentsSuspense(params, options = {}) {
5536
4413
  }
5537
4414
 
5538
4415
  // src/hooks/agentsHooks/useListAgentTools.ts
5539
- var listAgentToolsQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/tools", params: { agent_id } }];
4416
+ var listAgentToolsQueryKey = (agent_id) => [
4417
+ { url: "/v1/agents/:agent_id/tools", params: { agent_id } }
4418
+ ];
5540
4419
  async function listAgentTools(agent_id, config = {}) {
5541
4420
  const { client: request = axios_default2, ...requestConfig } = config;
5542
4421
  const res = await request({
@@ -5558,11 +4437,17 @@ function listAgentToolsQueryOptions(agent_id, config = {}) {
5558
4437
  });
5559
4438
  }
5560
4439
  function useListAgentTools(agent_id, options = {}) {
5561
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4440
+ const {
4441
+ query: { client: queryClient, ...queryOptions2 } = {},
4442
+ client: config = {}
4443
+ } = options ?? {};
5562
4444
  const queryKey = queryOptions2?.queryKey ?? listAgentToolsQueryKey(agent_id);
5563
4445
  const query = useQuery(
5564
4446
  {
5565
- ...listAgentToolsQueryOptions(agent_id, config),
4447
+ ...listAgentToolsQueryOptions(
4448
+ agent_id,
4449
+ config
4450
+ ),
5566
4451
  queryKey,
5567
4452
  ...queryOptions2
5568
4453
  },
@@ -5573,7 +4458,9 @@ function useListAgentTools(agent_id, options = {}) {
5573
4458
  }
5574
4459
 
5575
4460
  // src/hooks/agentsHooks/useListAgentToolsSuspense.ts
5576
- var listAgentToolsSuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/tools", params: { agent_id } }];
4461
+ var listAgentToolsSuspenseQueryKey = (agent_id) => [
4462
+ { url: "/v1/agents/:agent_id/tools", params: { agent_id } }
4463
+ ];
5577
4464
  async function listAgentToolsSuspense(agent_id, config = {}) {
5578
4465
  const { client: request = axios_default2, ...requestConfig } = config;
5579
4466
  const res = await request({
@@ -5595,11 +4482,17 @@ function listAgentToolsSuspenseQueryOptions(agent_id, config = {}) {
5595
4482
  });
5596
4483
  }
5597
4484
  function useListAgentToolsSuspense(agent_id, options = {}) {
5598
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4485
+ const {
4486
+ query: { client: queryClient, ...queryOptions2 } = {},
4487
+ client: config = {}
4488
+ } = options ?? {};
5599
4489
  const queryKey = queryOptions2?.queryKey ?? listAgentToolsSuspenseQueryKey(agent_id);
5600
4490
  const query = useSuspenseQuery(
5601
4491
  {
5602
- ...listAgentToolsSuspenseQueryOptions(agent_id, config),
4492
+ ...listAgentToolsSuspenseQueryOptions(
4493
+ agent_id,
4494
+ config
4495
+ ),
5603
4496
  queryKey,
5604
4497
  ...queryOptions2
5605
4498
  },
@@ -5610,7 +4503,12 @@ function useListAgentToolsSuspense(agent_id, options = {}) {
5610
4503
  }
5611
4504
 
5612
4505
  // src/hooks/agentsHooks/useListCoreMemoryBlocks.ts
5613
- var listCoreMemoryBlocksQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory/blocks", params: { agent_id } }];
4506
+ var listCoreMemoryBlocksQueryKey = (agent_id) => [
4507
+ {
4508
+ url: "/v1/agents/:agent_id/core-memory/blocks",
4509
+ params: { agent_id }
4510
+ }
4511
+ ];
5614
4512
  async function listCoreMemoryBlocks(agent_id, config = {}) {
5615
4513
  const { client: request = axios_default2, ...requestConfig } = config;
5616
4514
  const res = await request({
@@ -5632,11 +4530,17 @@ function listCoreMemoryBlocksQueryOptions(agent_id, config = {}) {
5632
4530
  });
5633
4531
  }
5634
4532
  function useListCoreMemoryBlocks(agent_id, options = {}) {
5635
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4533
+ const {
4534
+ query: { client: queryClient, ...queryOptions2 } = {},
4535
+ client: config = {}
4536
+ } = options ?? {};
5636
4537
  const queryKey = queryOptions2?.queryKey ?? listCoreMemoryBlocksQueryKey(agent_id);
5637
4538
  const query = useQuery(
5638
4539
  {
5639
- ...listCoreMemoryBlocksQueryOptions(agent_id, config),
4540
+ ...listCoreMemoryBlocksQueryOptions(
4541
+ agent_id,
4542
+ config
4543
+ ),
5640
4544
  queryKey,
5641
4545
  ...queryOptions2
5642
4546
  },
@@ -5647,7 +4551,12 @@ function useListCoreMemoryBlocks(agent_id, options = {}) {
5647
4551
  }
5648
4552
 
5649
4553
  // src/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.ts
5650
- var listCoreMemoryBlocksSuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory/blocks", params: { agent_id } }];
4554
+ var listCoreMemoryBlocksSuspenseQueryKey = (agent_id) => [
4555
+ {
4556
+ url: "/v1/agents/:agent_id/core-memory/blocks",
4557
+ params: { agent_id }
4558
+ }
4559
+ ];
5651
4560
  async function listCoreMemoryBlocksSuspense(agent_id, config = {}) {
5652
4561
  const { client: request = axios_default2, ...requestConfig } = config;
5653
4562
  const res = await request({
@@ -5669,11 +4578,17 @@ function listCoreMemoryBlocksSuspenseQueryOptions(agent_id, config = {}) {
5669
4578
  });
5670
4579
  }
5671
4580
  function useListCoreMemoryBlocksSuspense(agent_id, options = {}) {
5672
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4581
+ const {
4582
+ query: { client: queryClient, ...queryOptions2 } = {},
4583
+ client: config = {}
4584
+ } = options ?? {};
5673
4585
  const queryKey = queryOptions2?.queryKey ?? listCoreMemoryBlocksSuspenseQueryKey(agent_id);
5674
4586
  const query = useSuspenseQuery(
5675
4587
  {
5676
- ...listCoreMemoryBlocksSuspenseQueryOptions(agent_id, config),
4588
+ ...listCoreMemoryBlocksSuspenseQueryOptions(
4589
+ agent_id,
4590
+ config
4591
+ ),
5677
4592
  queryKey,
5678
4593
  ...queryOptions2
5679
4594
  },
@@ -5684,7 +4599,10 @@ function useListCoreMemoryBlocksSuspense(agent_id, options = {}) {
5684
4599
  }
5685
4600
 
5686
4601
  // src/hooks/agentsHooks/useListMessages.ts
5687
- var listMessagesQueryKey = (agent_id, params) => [{ url: "/v1/agents/:agent_id/messages", params: { agent_id } }, ...params ? [params] : []];
4602
+ var listMessagesQueryKey = (agent_id, params) => [
4603
+ { url: "/v1/agents/:agent_id/messages", params: { agent_id } },
4604
+ ...params ? [params] : []
4605
+ ];
5688
4606
  async function listMessages(agent_id, params, config = {}) {
5689
4607
  const { client: request = axios_default2, ...requestConfig } = config;
5690
4608
  const res = await request({
@@ -5707,11 +4625,18 @@ function listMessagesQueryOptions(agent_id, params, config = {}) {
5707
4625
  });
5708
4626
  }
5709
4627
  function useListMessages(agent_id, params, options = {}) {
5710
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4628
+ const {
4629
+ query: { client: queryClient, ...queryOptions2 } = {},
4630
+ client: config = {}
4631
+ } = options ?? {};
5711
4632
  const queryKey = queryOptions2?.queryKey ?? listMessagesQueryKey(agent_id, params);
5712
4633
  const query = useQuery(
5713
4634
  {
5714
- ...listMessagesQueryOptions(agent_id, params, config),
4635
+ ...listMessagesQueryOptions(
4636
+ agent_id,
4637
+ params,
4638
+ config
4639
+ ),
5715
4640
  queryKey,
5716
4641
  ...queryOptions2
5717
4642
  },
@@ -5722,7 +4647,10 @@ function useListMessages(agent_id, params, options = {}) {
5722
4647
  }
5723
4648
 
5724
4649
  // src/hooks/agentsHooks/useListMessagesSuspense.ts
5725
- var listMessagesSuspenseQueryKey = (agent_id, params) => [{ url: "/v1/agents/:agent_id/messages", params: { agent_id } }, ...params ? [params] : []];
4650
+ var listMessagesSuspenseQueryKey = (agent_id, params) => [
4651
+ { url: "/v1/agents/:agent_id/messages", params: { agent_id } },
4652
+ ...params ? [params] : []
4653
+ ];
5726
4654
  async function listMessagesSuspense(agent_id, params, config = {}) {
5727
4655
  const { client: request = axios_default2, ...requestConfig } = config;
5728
4656
  const res = await request({
@@ -5745,11 +4673,18 @@ function listMessagesSuspenseQueryOptions(agent_id, params, config = {}) {
5745
4673
  });
5746
4674
  }
5747
4675
  function useListMessagesSuspense(agent_id, params, options = {}) {
5748
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4676
+ const {
4677
+ query: { client: queryClient, ...queryOptions2 } = {},
4678
+ client: config = {}
4679
+ } = options ?? {};
5749
4680
  const queryKey = queryOptions2?.queryKey ?? listMessagesSuspenseQueryKey(agent_id, params);
5750
4681
  const query = useSuspenseQuery(
5751
4682
  {
5752
- ...listMessagesSuspenseQueryOptions(agent_id, params, config),
4683
+ ...listMessagesSuspenseQueryOptions(
4684
+ agent_id,
4685
+ params,
4686
+ config
4687
+ ),
5753
4688
  queryKey,
5754
4689
  ...queryOptions2
5755
4690
  },
@@ -5760,7 +4695,13 @@ function useListMessagesSuspense(agent_id, params, options = {}) {
5760
4695
  }
5761
4696
 
5762
4697
  // src/hooks/agentsHooks/useListPassages.ts
5763
- var listPassagesQueryKey = (agent_id, params) => [{ url: "/v1/agents/:agent_id/archival-memory", params: { agent_id } }, ...params ? [params] : []];
4698
+ var listPassagesQueryKey = (agent_id, params) => [
4699
+ {
4700
+ url: "/v1/agents/:agent_id/archival-memory",
4701
+ params: { agent_id }
4702
+ },
4703
+ ...params ? [params] : []
4704
+ ];
5764
4705
  async function listPassages(agent_id, params, config = {}) {
5765
4706
  const { client: request = axios_default2, ...requestConfig } = config;
5766
4707
  const res = await request({
@@ -5783,11 +4724,18 @@ function listPassagesQueryOptions(agent_id, params, config = {}) {
5783
4724
  });
5784
4725
  }
5785
4726
  function useListPassages(agent_id, params, options = {}) {
5786
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4727
+ const {
4728
+ query: { client: queryClient, ...queryOptions2 } = {},
4729
+ client: config = {}
4730
+ } = options ?? {};
5787
4731
  const queryKey = queryOptions2?.queryKey ?? listPassagesQueryKey(agent_id, params);
5788
4732
  const query = useQuery(
5789
4733
  {
5790
- ...listPassagesQueryOptions(agent_id, params, config),
4734
+ ...listPassagesQueryOptions(
4735
+ agent_id,
4736
+ params,
4737
+ config
4738
+ ),
5791
4739
  queryKey,
5792
4740
  ...queryOptions2
5793
4741
  },
@@ -5798,7 +4746,13 @@ function useListPassages(agent_id, params, options = {}) {
5798
4746
  }
5799
4747
 
5800
4748
  // src/hooks/agentsHooks/useListPassagesSuspense.ts
5801
- var listPassagesSuspenseQueryKey = (agent_id, params) => [{ url: "/v1/agents/:agent_id/archival-memory", params: { agent_id } }, ...params ? [params] : []];
4749
+ var listPassagesSuspenseQueryKey = (agent_id, params) => [
4750
+ {
4751
+ url: "/v1/agents/:agent_id/archival-memory",
4752
+ params: { agent_id }
4753
+ },
4754
+ ...params ? [params] : []
4755
+ ];
5802
4756
  async function listPassagesSuspense(agent_id, params, config = {}) {
5803
4757
  const { client: request = axios_default2, ...requestConfig } = config;
5804
4758
  const res = await request({
@@ -5821,11 +4775,18 @@ function listPassagesSuspenseQueryOptions(agent_id, params, config = {}) {
5821
4775
  });
5822
4776
  }
5823
4777
  function useListPassagesSuspense(agent_id, params, options = {}) {
5824
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4778
+ const {
4779
+ query: { client: queryClient, ...queryOptions2 } = {},
4780
+ client: config = {}
4781
+ } = options ?? {};
5825
4782
  const queryKey = queryOptions2?.queryKey ?? listPassagesSuspenseQueryKey(agent_id, params);
5826
4783
  const query = useSuspenseQuery(
5827
4784
  {
5828
- ...listPassagesSuspenseQueryOptions(agent_id, params, config),
4785
+ ...listPassagesSuspenseQueryOptions(
4786
+ agent_id,
4787
+ params,
4788
+ config
4789
+ ),
5829
4790
  queryKey,
5830
4791
  ...queryOptions2
5831
4792
  },
@@ -5858,11 +4819,17 @@ function retrieveAgentQueryOptions(agent_id, config = {}) {
5858
4819
  });
5859
4820
  }
5860
4821
  function useRetrieveAgent(agent_id, options = {}) {
5861
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4822
+ const {
4823
+ query: { client: queryClient, ...queryOptions2 } = {},
4824
+ client: config = {}
4825
+ } = options ?? {};
5862
4826
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentQueryKey(agent_id);
5863
4827
  const query = useQuery(
5864
4828
  {
5865
- ...retrieveAgentQueryOptions(agent_id, config),
4829
+ ...retrieveAgentQueryOptions(
4830
+ agent_id,
4831
+ config
4832
+ ),
5866
4833
  queryKey,
5867
4834
  ...queryOptions2
5868
4835
  },
@@ -5873,7 +4840,9 @@ function useRetrieveAgent(agent_id, options = {}) {
5873
4840
  }
5874
4841
 
5875
4842
  // src/hooks/agentsHooks/useRetrieveAgentContextWindow.ts
5876
- var retrieveAgentContextWindowQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/context", params: { agent_id } }];
4843
+ var retrieveAgentContextWindowQueryKey = (agent_id) => [
4844
+ { url: "/v1/agents/:agent_id/context", params: { agent_id } }
4845
+ ];
5877
4846
  async function retrieveAgentContextWindow(agent_id, config = {}) {
5878
4847
  const { client: request = axios_default2, ...requestConfig } = config;
5879
4848
  const res = await request({
@@ -5895,11 +4864,17 @@ function retrieveAgentContextWindowQueryOptions(agent_id, config = {}) {
5895
4864
  });
5896
4865
  }
5897
4866
  function useRetrieveAgentContextWindow(agent_id, options = {}) {
5898
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4867
+ const {
4868
+ query: { client: queryClient, ...queryOptions2 } = {},
4869
+ client: config = {}
4870
+ } = options ?? {};
5899
4871
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentContextWindowQueryKey(agent_id);
5900
4872
  const query = useQuery(
5901
4873
  {
5902
- ...retrieveAgentContextWindowQueryOptions(agent_id, config),
4874
+ ...retrieveAgentContextWindowQueryOptions(
4875
+ agent_id,
4876
+ config
4877
+ ),
5903
4878
  queryKey,
5904
4879
  ...queryOptions2
5905
4880
  },
@@ -5910,7 +4885,9 @@ function useRetrieveAgentContextWindow(agent_id, options = {}) {
5910
4885
  }
5911
4886
 
5912
4887
  // src/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.ts
5913
- var retrieveAgentContextWindowSuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/context", params: { agent_id } }];
4888
+ var retrieveAgentContextWindowSuspenseQueryKey = (agent_id) => [
4889
+ { url: "/v1/agents/:agent_id/context", params: { agent_id } }
4890
+ ];
5914
4891
  async function retrieveAgentContextWindowSuspense(agent_id, config = {}) {
5915
4892
  const { client: request = axios_default2, ...requestConfig } = config;
5916
4893
  const res = await request({
@@ -5932,11 +4909,17 @@ function retrieveAgentContextWindowSuspenseQueryOptions(agent_id, config = {}) {
5932
4909
  });
5933
4910
  }
5934
4911
  function useRetrieveAgentContextWindowSuspense(agent_id, options = {}) {
5935
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4912
+ const {
4913
+ query: { client: queryClient, ...queryOptions2 } = {},
4914
+ client: config = {}
4915
+ } = options ?? {};
5936
4916
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentContextWindowSuspenseQueryKey(agent_id);
5937
4917
  const query = useSuspenseQuery(
5938
4918
  {
5939
- ...retrieveAgentContextWindowSuspenseQueryOptions(agent_id, config),
4919
+ ...retrieveAgentContextWindowSuspenseQueryOptions(
4920
+ agent_id,
4921
+ config
4922
+ ),
5940
4923
  queryKey,
5941
4924
  ...queryOptions2
5942
4925
  },
@@ -5947,7 +4930,9 @@ function useRetrieveAgentContextWindowSuspense(agent_id, options = {}) {
5947
4930
  }
5948
4931
 
5949
4932
  // src/hooks/agentsHooks/useRetrieveAgentMemory.ts
5950
- var retrieveAgentMemoryQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory", params: { agent_id } }];
4933
+ var retrieveAgentMemoryQueryKey = (agent_id) => [
4934
+ { url: "/v1/agents/:agent_id/core-memory", params: { agent_id } }
4935
+ ];
5951
4936
  async function retrieveAgentMemory(agent_id, config = {}) {
5952
4937
  const { client: request = axios_default2, ...requestConfig } = config;
5953
4938
  const res = await request({
@@ -5969,11 +4954,17 @@ function retrieveAgentMemoryQueryOptions(agent_id, config = {}) {
5969
4954
  });
5970
4955
  }
5971
4956
  function useRetrieveAgentMemory(agent_id, options = {}) {
5972
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
4957
+ const {
4958
+ query: { client: queryClient, ...queryOptions2 } = {},
4959
+ client: config = {}
4960
+ } = options ?? {};
5973
4961
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentMemoryQueryKey(agent_id);
5974
4962
  const query = useQuery(
5975
4963
  {
5976
- ...retrieveAgentMemoryQueryOptions(agent_id, config),
4964
+ ...retrieveAgentMemoryQueryOptions(
4965
+ agent_id,
4966
+ config
4967
+ ),
5977
4968
  queryKey,
5978
4969
  ...queryOptions2
5979
4970
  },
@@ -5984,7 +4975,9 @@ function useRetrieveAgentMemory(agent_id, options = {}) {
5984
4975
  }
5985
4976
 
5986
4977
  // src/hooks/agentsHooks/useRetrieveAgentMemorySuspense.ts
5987
- var retrieveAgentMemorySuspenseQueryKey = (agent_id) => [{ url: "/v1/agents/:agent_id/core-memory", params: { agent_id } }];
4978
+ var retrieveAgentMemorySuspenseQueryKey = (agent_id) => [
4979
+ { url: "/v1/agents/:agent_id/core-memory", params: { agent_id } }
4980
+ ];
5988
4981
  async function retrieveAgentMemorySuspense(agent_id, config = {}) {
5989
4982
  const { client: request = axios_default2, ...requestConfig } = config;
5990
4983
  const res = await request({
@@ -6006,11 +4999,17 @@ function retrieveAgentMemorySuspenseQueryOptions(agent_id, config = {}) {
6006
4999
  });
6007
5000
  }
6008
5001
  function useRetrieveAgentMemorySuspense(agent_id, options = {}) {
6009
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5002
+ const {
5003
+ query: { client: queryClient, ...queryOptions2 } = {},
5004
+ client: config = {}
5005
+ } = options ?? {};
6010
5006
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentMemorySuspenseQueryKey(agent_id);
6011
5007
  const query = useSuspenseQuery(
6012
5008
  {
6013
- ...retrieveAgentMemorySuspenseQueryOptions(agent_id, config),
5009
+ ...retrieveAgentMemorySuspenseQueryOptions(
5010
+ agent_id,
5011
+ config
5012
+ ),
6014
5013
  queryKey,
6015
5014
  ...queryOptions2
6016
5015
  },
@@ -6043,11 +5042,17 @@ function retrieveAgentSuspenseQueryOptions(agent_id, config = {}) {
6043
5042
  });
6044
5043
  }
6045
5044
  function useRetrieveAgentSuspense(agent_id, options = {}) {
6046
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5045
+ const {
5046
+ query: { client: queryClient, ...queryOptions2 } = {},
5047
+ client: config = {}
5048
+ } = options ?? {};
6047
5049
  const queryKey = queryOptions2?.queryKey ?? retrieveAgentSuspenseQueryKey(agent_id);
6048
5050
  const query = useSuspenseQuery(
6049
5051
  {
6050
- ...retrieveAgentSuspenseQueryOptions(agent_id, config),
5052
+ ...retrieveAgentSuspenseQueryOptions(
5053
+ agent_id,
5054
+ config
5055
+ ),
6051
5056
  queryKey,
6052
5057
  ...queryOptions2
6053
5058
  },
@@ -6058,7 +5063,12 @@ function useRetrieveAgentSuspense(agent_id, options = {}) {
6058
5063
  }
6059
5064
 
6060
5065
  // src/hooks/agentsHooks/useRetrieveCoreMemoryBlock.ts
6061
- var retrieveCoreMemoryBlockQueryKey = (agent_id, block_label) => [{ url: "/v1/agents/:agent_id/core-memory/blocks/:block_label", params: { agent_id, block_label } }];
5066
+ var retrieveCoreMemoryBlockQueryKey = (agent_id, block_label) => [
5067
+ {
5068
+ url: "/v1/agents/:agent_id/core-memory/blocks/:block_label",
5069
+ params: { agent_id, block_label }
5070
+ }
5071
+ ];
6062
5072
  async function retrieveCoreMemoryBlock(agent_id, block_label, config = {}) {
6063
5073
  const { client: request = axios_default2, ...requestConfig } = config;
6064
5074
  const res = await request({
@@ -6080,11 +5090,18 @@ function retrieveCoreMemoryBlockQueryOptions(agent_id, block_label, config = {})
6080
5090
  });
6081
5091
  }
6082
5092
  function useRetrieveCoreMemoryBlock(agent_id, block_label, options = {}) {
6083
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5093
+ const {
5094
+ query: { client: queryClient, ...queryOptions2 } = {},
5095
+ client: config = {}
5096
+ } = options ?? {};
6084
5097
  const queryKey = queryOptions2?.queryKey ?? retrieveCoreMemoryBlockQueryKey(agent_id, block_label);
6085
5098
  const query = useQuery(
6086
5099
  {
6087
- ...retrieveCoreMemoryBlockQueryOptions(agent_id, block_label, config),
5100
+ ...retrieveCoreMemoryBlockQueryOptions(
5101
+ agent_id,
5102
+ block_label,
5103
+ config
5104
+ ),
6088
5105
  queryKey,
6089
5106
  ...queryOptions2
6090
5107
  },
@@ -6095,7 +5112,12 @@ function useRetrieveCoreMemoryBlock(agent_id, block_label, options = {}) {
6095
5112
  }
6096
5113
 
6097
5114
  // src/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.ts
6098
- var retrieveCoreMemoryBlockSuspenseQueryKey = (agent_id, block_label) => [{ url: "/v1/agents/:agent_id/core-memory/blocks/:block_label", params: { agent_id, block_label } }];
5115
+ var retrieveCoreMemoryBlockSuspenseQueryKey = (agent_id, block_label) => [
5116
+ {
5117
+ url: "/v1/agents/:agent_id/core-memory/blocks/:block_label",
5118
+ params: { agent_id, block_label }
5119
+ }
5120
+ ];
6099
5121
  async function retrieveCoreMemoryBlockSuspense(agent_id, block_label, config = {}) {
6100
5122
  const { client: request = axios_default2, ...requestConfig } = config;
6101
5123
  const res = await request({
@@ -6106,7 +5128,10 @@ async function retrieveCoreMemoryBlockSuspense(agent_id, block_label, config = {
6106
5128
  return res;
6107
5129
  }
6108
5130
  function retrieveCoreMemoryBlockSuspenseQueryOptions(agent_id, block_label, config = {}) {
6109
- const queryKey = retrieveCoreMemoryBlockSuspenseQueryKey(agent_id, block_label);
5131
+ const queryKey = retrieveCoreMemoryBlockSuspenseQueryKey(
5132
+ agent_id,
5133
+ block_label
5134
+ );
6110
5135
  return queryOptions({
6111
5136
  enabled: !!(agent_id && block_label),
6112
5137
  queryKey,
@@ -6117,11 +5142,18 @@ function retrieveCoreMemoryBlockSuspenseQueryOptions(agent_id, block_label, conf
6117
5142
  });
6118
5143
  }
6119
5144
  function useRetrieveCoreMemoryBlockSuspense(agent_id, block_label, options = {}) {
6120
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5145
+ const {
5146
+ query: { client: queryClient, ...queryOptions2 } = {},
5147
+ client: config = {}
5148
+ } = options ?? {};
6121
5149
  const queryKey = queryOptions2?.queryKey ?? retrieveCoreMemoryBlockSuspenseQueryKey(agent_id, block_label);
6122
5150
  const query = useSuspenseQuery(
6123
5151
  {
6124
- ...retrieveCoreMemoryBlockSuspenseQueryOptions(agent_id, block_label, config),
5152
+ ...retrieveCoreMemoryBlockSuspenseQueryOptions(
5153
+ agent_id,
5154
+ block_label,
5155
+ config
5156
+ ),
6125
5157
  queryKey,
6126
5158
  ...queryOptions2
6127
5159
  },
@@ -6144,7 +5176,10 @@ async function sendMessage(agent_id, data, config = {}) {
6144
5176
  return res;
6145
5177
  }
6146
5178
  function useSendMessage(options = {}) {
6147
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5179
+ const {
5180
+ mutation: { client: queryClient, ...mutationOptions } = {},
5181
+ client: config = {}
5182
+ } = options ?? {};
6148
5183
  const mutationKey = mutationOptions?.mutationKey ?? sendMessageMutationKey();
6149
5184
  return useMutation(
6150
5185
  {
@@ -6171,7 +5206,10 @@ async function createBlock(data, config = {}) {
6171
5206
  return res;
6172
5207
  }
6173
5208
  function useCreateBlock(options = {}) {
6174
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5209
+ const {
5210
+ mutation: { client: queryClient, ...mutationOptions } = {},
5211
+ client: config = {}
5212
+ } = options ?? {};
6175
5213
  const mutationKey = mutationOptions?.mutationKey ?? createBlockMutationKey();
6176
5214
  return useMutation(
6177
5215
  {
@@ -6197,7 +5235,10 @@ async function deleteBlock(block_id, config = {}) {
6197
5235
  return res;
6198
5236
  }
6199
5237
  function useDeleteBlock(options = {}) {
6200
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5238
+ const {
5239
+ mutation: { client: queryClient, ...mutationOptions } = {},
5240
+ client: config = {}
5241
+ } = options ?? {};
6201
5242
  const mutationKey = mutationOptions?.mutationKey ?? deleteBlockMutationKey();
6202
5243
  return useMutation(
6203
5244
  {
@@ -6212,7 +5253,9 @@ function useDeleteBlock(options = {}) {
6212
5253
  }
6213
5254
 
6214
5255
  // src/hooks/blocksHooks/useListAgentsForBlock.ts
6215
- var listAgentsForBlockQueryKey = (block_id) => [{ url: "/v1/blocks/:block_id/agents", params: { block_id } }];
5256
+ var listAgentsForBlockQueryKey = (block_id) => [
5257
+ { url: "/v1/blocks/:block_id/agents", params: { block_id } }
5258
+ ];
6216
5259
  async function listAgentsForBlock(block_id, config = {}) {
6217
5260
  const { client: request = axios_default2, ...requestConfig } = config;
6218
5261
  const res = await request({
@@ -6234,11 +5277,17 @@ function listAgentsForBlockQueryOptions(block_id, config = {}) {
6234
5277
  });
6235
5278
  }
6236
5279
  function useListAgentsForBlock(block_id, options = {}) {
6237
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5280
+ const {
5281
+ query: { client: queryClient, ...queryOptions2 } = {},
5282
+ client: config = {}
5283
+ } = options ?? {};
6238
5284
  const queryKey = queryOptions2?.queryKey ?? listAgentsForBlockQueryKey(block_id);
6239
5285
  const query = useQuery(
6240
5286
  {
6241
- ...listAgentsForBlockQueryOptions(block_id, config),
5287
+ ...listAgentsForBlockQueryOptions(
5288
+ block_id,
5289
+ config
5290
+ ),
6242
5291
  queryKey,
6243
5292
  ...queryOptions2
6244
5293
  },
@@ -6249,7 +5298,9 @@ function useListAgentsForBlock(block_id, options = {}) {
6249
5298
  }
6250
5299
 
6251
5300
  // src/hooks/blocksHooks/useListAgentsForBlockSuspense.ts
6252
- var listAgentsForBlockSuspenseQueryKey = (block_id) => [{ url: "/v1/blocks/:block_id/agents", params: { block_id } }];
5301
+ var listAgentsForBlockSuspenseQueryKey = (block_id) => [
5302
+ { url: "/v1/blocks/:block_id/agents", params: { block_id } }
5303
+ ];
6253
5304
  async function listAgentsForBlockSuspense(block_id, config = {}) {
6254
5305
  const { client: request = axios_default2, ...requestConfig } = config;
6255
5306
  const res = await request({
@@ -6271,11 +5322,17 @@ function listAgentsForBlockSuspenseQueryOptions(block_id, config = {}) {
6271
5322
  });
6272
5323
  }
6273
5324
  function useListAgentsForBlockSuspense(block_id, options = {}) {
6274
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5325
+ const {
5326
+ query: { client: queryClient, ...queryOptions2 } = {},
5327
+ client: config = {}
5328
+ } = options ?? {};
6275
5329
  const queryKey = queryOptions2?.queryKey ?? listAgentsForBlockSuspenseQueryKey(block_id);
6276
5330
  const query = useSuspenseQuery(
6277
5331
  {
6278
- ...listAgentsForBlockSuspenseQueryOptions(block_id, config),
5332
+ ...listAgentsForBlockSuspenseQueryOptions(
5333
+ block_id,
5334
+ config
5335
+ ),
6279
5336
  queryKey,
6280
5337
  ...queryOptions2
6281
5338
  },
@@ -6308,11 +5365,17 @@ function listBlocksQueryOptions(params, config = {}) {
6308
5365
  });
6309
5366
  }
6310
5367
  function useListBlocks(params, options = {}) {
6311
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5368
+ const {
5369
+ query: { client: queryClient, ...queryOptions2 } = {},
5370
+ client: config = {}
5371
+ } = options ?? {};
6312
5372
  const queryKey = queryOptions2?.queryKey ?? listBlocksQueryKey(params);
6313
5373
  const query = useQuery(
6314
5374
  {
6315
- ...listBlocksQueryOptions(params, config),
5375
+ ...listBlocksQueryOptions(
5376
+ params,
5377
+ config
5378
+ ),
6316
5379
  queryKey,
6317
5380
  ...queryOptions2
6318
5381
  },
@@ -6345,11 +5408,17 @@ function listBlocksSuspenseQueryOptions(params, config = {}) {
6345
5408
  });
6346
5409
  }
6347
5410
  function useListBlocksSuspense(params, options = {}) {
6348
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5411
+ const {
5412
+ query: { client: queryClient, ...queryOptions2 } = {},
5413
+ client: config = {}
5414
+ } = options ?? {};
6349
5415
  const queryKey = queryOptions2?.queryKey ?? listBlocksSuspenseQueryKey(params);
6350
5416
  const query = useSuspenseQuery(
6351
5417
  {
6352
- ...listBlocksSuspenseQueryOptions(params, config),
5418
+ ...listBlocksSuspenseQueryOptions(
5419
+ params,
5420
+ config
5421
+ ),
6353
5422
  queryKey,
6354
5423
  ...queryOptions2
6355
5424
  },
@@ -6382,11 +5451,17 @@ function retrieveBlockQueryOptions(block_id, config = {}) {
6382
5451
  });
6383
5452
  }
6384
5453
  function useRetrieveBlock(block_id, options = {}) {
6385
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5454
+ const {
5455
+ query: { client: queryClient, ...queryOptions2 } = {},
5456
+ client: config = {}
5457
+ } = options ?? {};
6386
5458
  const queryKey = queryOptions2?.queryKey ?? retrieveBlockQueryKey(block_id);
6387
5459
  const query = useQuery(
6388
5460
  {
6389
- ...retrieveBlockQueryOptions(block_id, config),
5461
+ ...retrieveBlockQueryOptions(
5462
+ block_id,
5463
+ config
5464
+ ),
6390
5465
  queryKey,
6391
5466
  ...queryOptions2
6392
5467
  },
@@ -6419,11 +5494,17 @@ function retrieveBlockSuspenseQueryOptions(block_id, config = {}) {
6419
5494
  });
6420
5495
  }
6421
5496
  function useRetrieveBlockSuspense(block_id, options = {}) {
6422
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5497
+ const {
5498
+ query: { client: queryClient, ...queryOptions2 } = {},
5499
+ client: config = {}
5500
+ } = options ?? {};
6423
5501
  const queryKey = queryOptions2?.queryKey ?? retrieveBlockSuspenseQueryKey(block_id);
6424
5502
  const query = useSuspenseQuery(
6425
5503
  {
6426
- ...retrieveBlockSuspenseQueryOptions(block_id, config),
5504
+ ...retrieveBlockSuspenseQueryOptions(
5505
+ block_id,
5506
+ config
5507
+ ),
6427
5508
  queryKey,
6428
5509
  ...queryOptions2
6429
5510
  },
@@ -6437,11 +5518,19 @@ function useRetrieveBlockSuspense(block_id, options = {}) {
6437
5518
  var clientSideAccessTokensCreateClientSideAccessTokenMutationKey = () => [{ url: "/v1/client-side-access-tokens" }];
6438
5519
  async function clientSideAccessTokensCreateClientSideAccessToken(data, config = {}) {
6439
5520
  const { client: request = axios_default2, ...requestConfig } = config;
6440
- const res = await request({ method: "POST", url: `/v1/client-side-access-tokens`, data, ...requestConfig });
5521
+ const res = await request({
5522
+ method: "POST",
5523
+ url: `/v1/client-side-access-tokens`,
5524
+ data,
5525
+ ...requestConfig
5526
+ });
6441
5527
  return res;
6442
5528
  }
6443
5529
  function useClientSideAccessTokensCreateClientSideAccessToken(options = {}) {
6444
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5530
+ const {
5531
+ mutation: { client: queryClient, ...mutationOptions } = {},
5532
+ client: config = {}
5533
+ } = options ?? {};
6445
5534
  const mutationKey = mutationOptions?.mutationKey ?? clientSideAccessTokensCreateClientSideAccessTokenMutationKey();
6446
5535
  return useMutation(
6447
5536
  {
@@ -6459,16 +5548,28 @@ function useClientSideAccessTokensCreateClientSideAccessToken(options = {}) {
6459
5548
  var clientSideAccessTokensDeleteClientSideAccessTokenMutationKey = () => [{ url: "/v1/client-side-access-tokens/{token}" }];
6460
5549
  async function clientSideAccessTokensDeleteClientSideAccessToken(token, data, config = {}) {
6461
5550
  const { client: request = axios_default2, ...requestConfig } = config;
6462
- const res = await request({ method: "DELETE", url: `/v1/client-side-access-tokens/${token}`, data, ...requestConfig });
5551
+ const res = await request({
5552
+ method: "DELETE",
5553
+ url: `/v1/client-side-access-tokens/${token}`,
5554
+ data,
5555
+ ...requestConfig
5556
+ });
6463
5557
  return res;
6464
5558
  }
6465
5559
  function useClientSideAccessTokensDeleteClientSideAccessToken(options = {}) {
6466
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5560
+ const {
5561
+ mutation: { client: queryClient, ...mutationOptions } = {},
5562
+ client: config = {}
5563
+ } = options ?? {};
6467
5564
  const mutationKey = mutationOptions?.mutationKey ?? clientSideAccessTokensDeleteClientSideAccessTokenMutationKey();
6468
5565
  return useMutation(
6469
5566
  {
6470
5567
  mutationFn: async ({ token, data }) => {
6471
- return clientSideAccessTokensDeleteClientSideAccessToken(token, data, config);
5568
+ return clientSideAccessTokensDeleteClientSideAccessToken(
5569
+ token,
5570
+ data,
5571
+ config
5572
+ );
6472
5573
  },
6473
5574
  mutationKey,
6474
5575
  ...mutationOptions
@@ -6491,7 +5592,10 @@ async function createGroup(data, headers, config = {}) {
6491
5592
  return res;
6492
5593
  }
6493
5594
  function useCreateGroup(options = {}) {
6494
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5595
+ const {
5596
+ mutation: { client: queryClient, ...mutationOptions } = {},
5597
+ client: config = {}
5598
+ } = options ?? {};
6495
5599
  const mutationKey = mutationOptions?.mutationKey ?? createGroupMutationKey();
6496
5600
  return useMutation(
6497
5601
  {
@@ -6517,7 +5621,10 @@ async function deleteGroup(group_id, config = {}) {
6517
5621
  return res;
6518
5622
  }
6519
5623
  function useDeleteGroup(options = {}) {
6520
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5624
+ const {
5625
+ mutation: { client: queryClient, ...mutationOptions } = {},
5626
+ client: config = {}
5627
+ } = options ?? {};
6521
5628
  const mutationKey = mutationOptions?.mutationKey ?? deleteGroupMutationKey();
6522
5629
  return useMutation(
6523
5630
  {
@@ -6532,7 +5639,10 @@ function useDeleteGroup(options = {}) {
6532
5639
  }
6533
5640
 
6534
5641
  // src/hooks/groupsHooks/useListGroupMessages.ts
6535
- var listGroupMessagesQueryKey = (group_id, params) => [{ url: "/v1/groups/:group_id/messages", params: { group_id } }, ...params ? [params] : []];
5642
+ var listGroupMessagesQueryKey = (group_id, params) => [
5643
+ { url: "/v1/groups/:group_id/messages", params: { group_id } },
5644
+ ...params ? [params] : []
5645
+ ];
6536
5646
  async function listGroupMessages(group_id, params, config = {}) {
6537
5647
  const { client: request = axios_default2, ...requestConfig } = config;
6538
5648
  const res = await request({
@@ -6555,11 +5665,18 @@ function listGroupMessagesQueryOptions(group_id, params, config = {}) {
6555
5665
  });
6556
5666
  }
6557
5667
  function useListGroupMessages(group_id, params, options = {}) {
6558
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5668
+ const {
5669
+ query: { client: queryClient, ...queryOptions2 } = {},
5670
+ client: config = {}
5671
+ } = options ?? {};
6559
5672
  const queryKey = queryOptions2?.queryKey ?? listGroupMessagesQueryKey(group_id, params);
6560
5673
  const query = useQuery(
6561
5674
  {
6562
- ...listGroupMessagesQueryOptions(group_id, params, config),
5675
+ ...listGroupMessagesQueryOptions(
5676
+ group_id,
5677
+ params,
5678
+ config
5679
+ ),
6563
5680
  queryKey,
6564
5681
  ...queryOptions2
6565
5682
  },
@@ -6570,7 +5687,10 @@ function useListGroupMessages(group_id, params, options = {}) {
6570
5687
  }
6571
5688
 
6572
5689
  // src/hooks/groupsHooks/useListGroupMessagesSuspense.ts
6573
- var listGroupMessagesSuspenseQueryKey = (group_id, params) => [{ url: "/v1/groups/:group_id/messages", params: { group_id } }, ...params ? [params] : []];
5690
+ var listGroupMessagesSuspenseQueryKey = (group_id, params) => [
5691
+ { url: "/v1/groups/:group_id/messages", params: { group_id } },
5692
+ ...params ? [params] : []
5693
+ ];
6574
5694
  async function listGroupMessagesSuspense(group_id, params, config = {}) {
6575
5695
  const { client: request = axios_default2, ...requestConfig } = config;
6576
5696
  const res = await request({
@@ -6593,11 +5713,18 @@ function listGroupMessagesSuspenseQueryOptions(group_id, params, config = {}) {
6593
5713
  });
6594
5714
  }
6595
5715
  function useListGroupMessagesSuspense(group_id, params, options = {}) {
6596
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5716
+ const {
5717
+ query: { client: queryClient, ...queryOptions2 } = {},
5718
+ client: config = {}
5719
+ } = options ?? {};
6597
5720
  const queryKey = queryOptions2?.queryKey ?? listGroupMessagesSuspenseQueryKey(group_id, params);
6598
5721
  const query = useSuspenseQuery(
6599
5722
  {
6600
- ...listGroupMessagesSuspenseQueryOptions(group_id, params, config),
5723
+ ...listGroupMessagesSuspenseQueryOptions(
5724
+ group_id,
5725
+ params,
5726
+ config
5727
+ ),
6601
5728
  queryKey,
6602
5729
  ...queryOptions2
6603
5730
  },
@@ -6630,11 +5757,17 @@ function listGroupsQueryOptions(params, config = {}) {
6630
5757
  });
6631
5758
  }
6632
5759
  function useListGroups(params, options = {}) {
6633
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5760
+ const {
5761
+ query: { client: queryClient, ...queryOptions2 } = {},
5762
+ client: config = {}
5763
+ } = options ?? {};
6634
5764
  const queryKey = queryOptions2?.queryKey ?? listGroupsQueryKey(params);
6635
5765
  const query = useQuery(
6636
5766
  {
6637
- ...listGroupsQueryOptions(params, config),
5767
+ ...listGroupsQueryOptions(
5768
+ params,
5769
+ config
5770
+ ),
6638
5771
  queryKey,
6639
5772
  ...queryOptions2
6640
5773
  },
@@ -6667,11 +5800,17 @@ function listGroupsSuspenseQueryOptions(params, config = {}) {
6667
5800
  });
6668
5801
  }
6669
5802
  function useListGroupsSuspense(params, options = {}) {
6670
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5803
+ const {
5804
+ query: { client: queryClient, ...queryOptions2 } = {},
5805
+ client: config = {}
5806
+ } = options ?? {};
6671
5807
  const queryKey = queryOptions2?.queryKey ?? listGroupsSuspenseQueryKey(params);
6672
5808
  const query = useSuspenseQuery(
6673
5809
  {
6674
- ...listGroupsSuspenseQueryOptions(params, config),
5810
+ ...listGroupsSuspenseQueryOptions(
5811
+ params,
5812
+ config
5813
+ ),
6675
5814
  queryKey,
6676
5815
  ...queryOptions2
6677
5816
  },
@@ -6704,11 +5843,17 @@ function retrieveGroupQueryOptions(group_id, config = {}) {
6704
5843
  });
6705
5844
  }
6706
5845
  function useRetrieveGroup(group_id, options = {}) {
6707
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5846
+ const {
5847
+ query: { client: queryClient, ...queryOptions2 } = {},
5848
+ client: config = {}
5849
+ } = options ?? {};
6708
5850
  const queryKey = queryOptions2?.queryKey ?? retrieveGroupQueryKey(group_id);
6709
5851
  const query = useQuery(
6710
5852
  {
6711
- ...retrieveGroupQueryOptions(group_id, config),
5853
+ ...retrieveGroupQueryOptions(
5854
+ group_id,
5855
+ config
5856
+ ),
6712
5857
  queryKey,
6713
5858
  ...queryOptions2
6714
5859
  },
@@ -6741,11 +5886,17 @@ function retrieveGroupSuspenseQueryOptions(group_id, config = {}) {
6741
5886
  });
6742
5887
  }
6743
5888
  function useRetrieveGroupSuspense(group_id, options = {}) {
6744
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5889
+ const {
5890
+ query: { client: queryClient, ...queryOptions2 } = {},
5891
+ client: config = {}
5892
+ } = options ?? {};
6745
5893
  const queryKey = queryOptions2?.queryKey ?? retrieveGroupSuspenseQueryKey(group_id);
6746
5894
  const query = useSuspenseQuery(
6747
5895
  {
6748
- ...retrieveGroupSuspenseQueryOptions(group_id, config),
5896
+ ...retrieveGroupSuspenseQueryOptions(
5897
+ group_id,
5898
+ config
5899
+ ),
6749
5900
  queryKey,
6750
5901
  ...queryOptions2
6751
5902
  },
@@ -6768,7 +5919,10 @@ async function sendGroupMessage(group_id, data, config = {}) {
6768
5919
  return res;
6769
5920
  }
6770
5921
  function useSendGroupMessage(options = {}) {
6771
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5922
+ const {
5923
+ mutation: { client: queryClient, ...mutationOptions } = {},
5924
+ client: config = {}
5925
+ } = options ?? {};
6772
5926
  const mutationKey = mutationOptions?.mutationKey ?? sendGroupMessageMutationKey();
6773
5927
  return useMutation(
6774
5928
  {
@@ -6786,11 +5940,19 @@ function useSendGroupMessage(options = {}) {
6786
5940
  var sendGroupMessageStreamingMutationKey = () => [{ url: "/v1/groups/{group_id}/messages/stream" }];
6787
5941
  async function sendGroupMessageStreaming(group_id, data, config = {}) {
6788
5942
  const { client: request = axios_default2, ...requestConfig } = config;
6789
- const res = await request({ method: "POST", url: `/v1/groups/${group_id}/messages/stream`, data, ...requestConfig });
5943
+ const res = await request({
5944
+ method: "POST",
5945
+ url: `/v1/groups/${group_id}/messages/stream`,
5946
+ data,
5947
+ ...requestConfig
5948
+ });
6790
5949
  return res;
6791
5950
  }
6792
5951
  function useSendGroupMessageStreaming(options = {}) {
6793
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
5952
+ const {
5953
+ mutation: { client: queryClient, ...mutationOptions } = {},
5954
+ client: config = {}
5955
+ } = options ?? {};
6794
5956
  const mutationKey = mutationOptions?.mutationKey ?? sendGroupMessageStreamingMutationKey();
6795
5957
  return useMutation(
6796
5958
  {
@@ -6822,7 +5984,10 @@ function healthCheckQueryOptions(config = {}) {
6822
5984
  });
6823
5985
  }
6824
5986
  function useHealthCheck(options = {}) {
6825
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
5987
+ const {
5988
+ query: { client: queryClient, ...queryOptions2 } = {},
5989
+ client: config = {}
5990
+ } = options ?? {};
6826
5991
  const queryKey = queryOptions2?.queryKey ?? healthCheckQueryKey();
6827
5992
  const query = useQuery(
6828
5993
  {
@@ -6854,11 +6019,16 @@ function healthCheckSuspenseQueryOptions(config = {}) {
6854
6019
  });
6855
6020
  }
6856
6021
  function useHealthCheckSuspense(options = {}) {
6857
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6022
+ const {
6023
+ query: { client: queryClient, ...queryOptions2 } = {},
6024
+ client: config = {}
6025
+ } = options ?? {};
6858
6026
  const queryKey = queryOptions2?.queryKey ?? healthCheckSuspenseQueryKey();
6859
6027
  const query = useSuspenseQuery(
6860
6028
  {
6861
- ...healthCheckSuspenseQueryOptions(config),
6029
+ ...healthCheckSuspenseQueryOptions(
6030
+ config
6031
+ ),
6862
6032
  queryKey,
6863
6033
  ...queryOptions2
6864
6034
  },
@@ -6882,7 +6052,10 @@ async function createIdentity(data, headers, config = {}) {
6882
6052
  return res;
6883
6053
  }
6884
6054
  function useCreateIdentity(options = {}) {
6885
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6055
+ const {
6056
+ mutation: { client: queryClient, ...mutationOptions } = {},
6057
+ client: config = {}
6058
+ } = options ?? {};
6886
6059
  const mutationKey = mutationOptions?.mutationKey ?? createIdentityMutationKey();
6887
6060
  return useMutation(
6888
6061
  {
@@ -6908,7 +6081,10 @@ async function deleteIdentity(identity_id, config = {}) {
6908
6081
  return res;
6909
6082
  }
6910
6083
  function useDeleteIdentity(options = {}) {
6911
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6084
+ const {
6085
+ mutation: { client: queryClient, ...mutationOptions } = {},
6086
+ client: config = {}
6087
+ } = options ?? {};
6912
6088
  const mutationKey = mutationOptions?.mutationKey ?? deleteIdentityMutationKey();
6913
6089
  return useMutation(
6914
6090
  {
@@ -6945,11 +6121,17 @@ function listIdentitiesQueryOptions(params, config = {}) {
6945
6121
  });
6946
6122
  }
6947
6123
  function useListIdentities(params, options = {}) {
6948
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6124
+ const {
6125
+ query: { client: queryClient, ...queryOptions2 } = {},
6126
+ client: config = {}
6127
+ } = options ?? {};
6949
6128
  const queryKey = queryOptions2?.queryKey ?? listIdentitiesQueryKey(params);
6950
6129
  const query = useQuery(
6951
6130
  {
6952
- ...listIdentitiesQueryOptions(params, config),
6131
+ ...listIdentitiesQueryOptions(
6132
+ params,
6133
+ config
6134
+ ),
6953
6135
  queryKey,
6954
6136
  ...queryOptions2
6955
6137
  },
@@ -6982,11 +6164,17 @@ function listIdentitiesSuspenseQueryOptions(params, config = {}) {
6982
6164
  });
6983
6165
  }
6984
6166
  function useListIdentitiesSuspense(params, options = {}) {
6985
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6167
+ const {
6168
+ query: { client: queryClient, ...queryOptions2 } = {},
6169
+ client: config = {}
6170
+ } = options ?? {};
6986
6171
  const queryKey = queryOptions2?.queryKey ?? listIdentitiesSuspenseQueryKey(params);
6987
6172
  const query = useSuspenseQuery(
6988
6173
  {
6989
- ...listIdentitiesSuspenseQueryOptions(params, config),
6174
+ ...listIdentitiesSuspenseQueryOptions(
6175
+ params,
6176
+ config
6177
+ ),
6990
6178
  queryKey,
6991
6179
  ...queryOptions2
6992
6180
  },
@@ -6997,7 +6185,12 @@ function useListIdentitiesSuspense(params, options = {}) {
6997
6185
  }
6998
6186
 
6999
6187
  // src/hooks/identitiesHooks/useRetrieveIdentity.ts
7000
- var retrieveIdentityQueryKey = (identity_id) => [{ url: "/v1/identities/:identity_id", params: { identity_id } }];
6188
+ var retrieveIdentityQueryKey = (identity_id) => [
6189
+ {
6190
+ url: "/v1/identities/:identity_id",
6191
+ params: { identity_id }
6192
+ }
6193
+ ];
7001
6194
  async function retrieveIdentity(identity_id, config = {}) {
7002
6195
  const { client: request = axios_default2, ...requestConfig } = config;
7003
6196
  const res = await request({
@@ -7019,11 +6212,17 @@ function retrieveIdentityQueryOptions(identity_id, config = {}) {
7019
6212
  });
7020
6213
  }
7021
6214
  function useRetrieveIdentity(identity_id, options = {}) {
7022
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6215
+ const {
6216
+ query: { client: queryClient, ...queryOptions2 } = {},
6217
+ client: config = {}
6218
+ } = options ?? {};
7023
6219
  const queryKey = queryOptions2?.queryKey ?? retrieveIdentityQueryKey(identity_id);
7024
6220
  const query = useQuery(
7025
6221
  {
7026
- ...retrieveIdentityQueryOptions(identity_id, config),
6222
+ ...retrieveIdentityQueryOptions(
6223
+ identity_id,
6224
+ config
6225
+ ),
7027
6226
  queryKey,
7028
6227
  ...queryOptions2
7029
6228
  },
@@ -7034,7 +6233,12 @@ function useRetrieveIdentity(identity_id, options = {}) {
7034
6233
  }
7035
6234
 
7036
6235
  // src/hooks/identitiesHooks/useRetrieveIdentitySuspense.ts
7037
- var retrieveIdentitySuspenseQueryKey = (identity_id) => [{ url: "/v1/identities/:identity_id", params: { identity_id } }];
6236
+ var retrieveIdentitySuspenseQueryKey = (identity_id) => [
6237
+ {
6238
+ url: "/v1/identities/:identity_id",
6239
+ params: { identity_id }
6240
+ }
6241
+ ];
7038
6242
  async function retrieveIdentitySuspense(identity_id, config = {}) {
7039
6243
  const { client: request = axios_default2, ...requestConfig } = config;
7040
6244
  const res = await request({
@@ -7056,11 +6260,17 @@ function retrieveIdentitySuspenseQueryOptions(identity_id, config = {}) {
7056
6260
  });
7057
6261
  }
7058
6262
  function useRetrieveIdentitySuspense(identity_id, options = {}) {
7059
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6263
+ const {
6264
+ query: { client: queryClient, ...queryOptions2 } = {},
6265
+ client: config = {}
6266
+ } = options ?? {};
7060
6267
  const queryKey = queryOptions2?.queryKey ?? retrieveIdentitySuspenseQueryKey(identity_id);
7061
6268
  const query = useSuspenseQuery(
7062
6269
  {
7063
- ...retrieveIdentitySuspenseQueryOptions(identity_id, config),
6270
+ ...retrieveIdentitySuspenseQueryOptions(
6271
+ identity_id,
6272
+ config
6273
+ ),
7064
6274
  queryKey,
7065
6275
  ...queryOptions2
7066
6276
  },
@@ -7084,7 +6294,10 @@ async function upsertIdentity(data, headers, config = {}) {
7084
6294
  return res;
7085
6295
  }
7086
6296
  function useUpsertIdentity(options = {}) {
7087
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6297
+ const {
6298
+ mutation: { client: queryClient, ...mutationOptions } = {},
6299
+ client: config = {}
6300
+ } = options ?? {};
7088
6301
  const mutationKey = mutationOptions?.mutationKey ?? upsertIdentityMutationKey();
7089
6302
  return useMutation(
7090
6303
  {
@@ -7102,11 +6315,19 @@ function useUpsertIdentity(options = {}) {
7102
6315
  var upsertIdentityPropertiesMutationKey = () => [{ url: "/v1/identities/{identity_id}/properties" }];
7103
6316
  async function upsertIdentityProperties(identity_id, data, config = {}) {
7104
6317
  const { client: request = axios_default2, ...requestConfig } = config;
7105
- const res = await request({ method: "PUT", url: `/v1/identities/${identity_id}/properties`, data, ...requestConfig });
6318
+ const res = await request({
6319
+ method: "PUT",
6320
+ url: `/v1/identities/${identity_id}/properties`,
6321
+ data,
6322
+ ...requestConfig
6323
+ });
7106
6324
  return res;
7107
6325
  }
7108
6326
  function useUpsertIdentityProperties(options = {}) {
7109
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6327
+ const {
6328
+ mutation: { client: queryClient, ...mutationOptions } = {},
6329
+ client: config = {}
6330
+ } = options ?? {};
7110
6331
  const mutationKey = mutationOptions?.mutationKey ?? upsertIdentityPropertiesMutationKey();
7111
6332
  return useMutation(
7112
6333
  {
@@ -7132,7 +6353,10 @@ async function deleteJob(job_id, config = {}) {
7132
6353
  return res;
7133
6354
  }
7134
6355
  function useDeleteJob(options = {}) {
7135
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6356
+ const {
6357
+ mutation: { client: queryClient, ...mutationOptions } = {},
6358
+ client: config = {}
6359
+ } = options ?? {};
7136
6360
  const mutationKey = mutationOptions?.mutationKey ?? deleteJobMutationKey();
7137
6361
  return useMutation(
7138
6362
  {
@@ -7168,11 +6392,16 @@ function listActiveJobsQueryOptions(config = {}) {
7168
6392
  });
7169
6393
  }
7170
6394
  function useListActiveJobs(options = {}) {
7171
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6395
+ const {
6396
+ query: { client: queryClient, ...queryOptions2 } = {},
6397
+ client: config = {}
6398
+ } = options ?? {};
7172
6399
  const queryKey = queryOptions2?.queryKey ?? listActiveJobsQueryKey();
7173
6400
  const query = useQuery(
7174
6401
  {
7175
- ...listActiveJobsQueryOptions(config),
6402
+ ...listActiveJobsQueryOptions(
6403
+ config
6404
+ ),
7176
6405
  queryKey,
7177
6406
  ...queryOptions2
7178
6407
  },
@@ -7204,11 +6433,16 @@ function listActiveJobsSuspenseQueryOptions(config = {}) {
7204
6433
  });
7205
6434
  }
7206
6435
  function useListActiveJobsSuspense(options = {}) {
7207
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6436
+ const {
6437
+ query: { client: queryClient, ...queryOptions2 } = {},
6438
+ client: config = {}
6439
+ } = options ?? {};
7208
6440
  const queryKey = queryOptions2?.queryKey ?? listActiveJobsSuspenseQueryKey();
7209
6441
  const query = useSuspenseQuery(
7210
6442
  {
7211
- ...listActiveJobsSuspenseQueryOptions(config),
6443
+ ...listActiveJobsSuspenseQueryOptions(
6444
+ config
6445
+ ),
7212
6446
  queryKey,
7213
6447
  ...queryOptions2
7214
6448
  },
@@ -7236,11 +6470,17 @@ function listJobsQueryOptions(params, config = {}) {
7236
6470
  });
7237
6471
  }
7238
6472
  function useListJobs(params, options = {}) {
7239
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6473
+ const {
6474
+ query: { client: queryClient, ...queryOptions2 } = {},
6475
+ client: config = {}
6476
+ } = options ?? {};
7240
6477
  const queryKey = queryOptions2?.queryKey ?? listJobsQueryKey(params);
7241
6478
  const query = useQuery(
7242
6479
  {
7243
- ...listJobsQueryOptions(params, config),
6480
+ ...listJobsQueryOptions(
6481
+ params,
6482
+ config
6483
+ ),
7244
6484
  queryKey,
7245
6485
  ...queryOptions2
7246
6486
  },
@@ -7268,11 +6508,17 @@ function listJobsSuspenseQueryOptions(params, config = {}) {
7268
6508
  });
7269
6509
  }
7270
6510
  function useListJobsSuspense(params, options = {}) {
7271
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6511
+ const {
6512
+ query: { client: queryClient, ...queryOptions2 } = {},
6513
+ client: config = {}
6514
+ } = options ?? {};
7272
6515
  const queryKey = queryOptions2?.queryKey ?? listJobsSuspenseQueryKey(params);
7273
6516
  const query = useSuspenseQuery(
7274
6517
  {
7275
- ...listJobsSuspenseQueryOptions(params, config),
6518
+ ...listJobsSuspenseQueryOptions(
6519
+ params,
6520
+ config
6521
+ ),
7276
6522
  queryKey,
7277
6523
  ...queryOptions2
7278
6524
  },
@@ -7295,23 +6541,27 @@ async function retrieveJob(job_id, config = {}) {
7295
6541
  }
7296
6542
  function retrieveJobQueryOptions(job_id, config = {}) {
7297
6543
  const queryKey = retrieveJobQueryKey(job_id);
7298
- return queryOptions(
7299
- {
7300
- enabled: !!job_id,
7301
- queryKey,
7302
- queryFn: async ({ signal }) => {
7303
- config.signal = signal;
7304
- return retrieveJob(job_id, config);
7305
- }
6544
+ return queryOptions({
6545
+ enabled: !!job_id,
6546
+ queryKey,
6547
+ queryFn: async ({ signal }) => {
6548
+ config.signal = signal;
6549
+ return retrieveJob(job_id, config);
7306
6550
  }
7307
- );
6551
+ });
7308
6552
  }
7309
6553
  function useRetrieveJob(job_id, options = {}) {
7310
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6554
+ const {
6555
+ query: { client: queryClient, ...queryOptions2 } = {},
6556
+ client: config = {}
6557
+ } = options ?? {};
7311
6558
  const queryKey = queryOptions2?.queryKey ?? retrieveJobQueryKey(job_id);
7312
6559
  const query = useQuery(
7313
6560
  {
7314
- ...retrieveJobQueryOptions(job_id, config),
6561
+ ...retrieveJobQueryOptions(
6562
+ job_id,
6563
+ config
6564
+ ),
7315
6565
  queryKey,
7316
6566
  ...queryOptions2
7317
6567
  },
@@ -7334,23 +6584,27 @@ async function retrieveJobSuspense(job_id, config = {}) {
7334
6584
  }
7335
6585
  function retrieveJobSuspenseQueryOptions(job_id, config = {}) {
7336
6586
  const queryKey = retrieveJobSuspenseQueryKey(job_id);
7337
- return queryOptions(
7338
- {
7339
- enabled: !!job_id,
7340
- queryKey,
7341
- queryFn: async ({ signal }) => {
7342
- config.signal = signal;
7343
- return retrieveJobSuspense(job_id, config);
7344
- }
6587
+ return queryOptions({
6588
+ enabled: !!job_id,
6589
+ queryKey,
6590
+ queryFn: async ({ signal }) => {
6591
+ config.signal = signal;
6592
+ return retrieveJobSuspense(job_id, config);
7345
6593
  }
7346
- );
6594
+ });
7347
6595
  }
7348
6596
  function useRetrieveJobSuspense(job_id, options = {}) {
7349
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6597
+ const {
6598
+ query: { client: queryClient, ...queryOptions2 } = {},
6599
+ client: config = {}
6600
+ } = options ?? {};
7350
6601
  const queryKey = queryOptions2?.queryKey ?? retrieveJobSuspenseQueryKey(job_id);
7351
6602
  const query = useSuspenseQuery(
7352
6603
  {
7353
- ...retrieveJobSuspenseQueryOptions(job_id, config),
6604
+ ...retrieveJobSuspenseQueryOptions(
6605
+ job_id,
6606
+ config
6607
+ ),
7354
6608
  queryKey,
7355
6609
  ...queryOptions2
7356
6610
  },
@@ -7382,11 +6636,16 @@ function listEmbeddingModelsQueryOptions(config = {}) {
7382
6636
  });
7383
6637
  }
7384
6638
  function useListEmbeddingModels(options = {}) {
7385
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6639
+ const {
6640
+ query: { client: queryClient, ...queryOptions2 } = {},
6641
+ client: config = {}
6642
+ } = options ?? {};
7386
6643
  const queryKey = queryOptions2?.queryKey ?? listEmbeddingModelsQueryKey();
7387
6644
  const query = useQuery(
7388
6645
  {
7389
- ...listEmbeddingModelsQueryOptions(config),
6646
+ ...listEmbeddingModelsQueryOptions(
6647
+ config
6648
+ ),
7390
6649
  queryKey,
7391
6650
  ...queryOptions2
7392
6651
  },
@@ -7418,11 +6677,16 @@ function listEmbeddingModelsSuspenseQueryOptions(config = {}) {
7418
6677
  });
7419
6678
  }
7420
6679
  function useListEmbeddingModelsSuspense(options = {}) {
7421
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6680
+ const {
6681
+ query: { client: queryClient, ...queryOptions2 } = {},
6682
+ client: config = {}
6683
+ } = options ?? {};
7422
6684
  const queryKey = queryOptions2?.queryKey ?? listEmbeddingModelsSuspenseQueryKey();
7423
6685
  const query = useSuspenseQuery(
7424
6686
  {
7425
- ...listEmbeddingModelsSuspenseQueryOptions(config),
6687
+ ...listEmbeddingModelsSuspenseQueryOptions(
6688
+ config
6689
+ ),
7426
6690
  queryKey,
7427
6691
  ...queryOptions2
7428
6692
  },
@@ -7450,7 +6714,10 @@ function listModelsQueryOptions(config = {}) {
7450
6714
  });
7451
6715
  }
7452
6716
  function useListModels(options = {}) {
7453
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6717
+ const {
6718
+ query: { client: queryClient, ...queryOptions2 } = {},
6719
+ client: config = {}
6720
+ } = options ?? {};
7454
6721
  const queryKey = queryOptions2?.queryKey ?? listModelsQueryKey();
7455
6722
  const query = useQuery(
7456
6723
  {
@@ -7482,11 +6749,16 @@ function listModelsSuspenseQueryOptions(config = {}) {
7482
6749
  });
7483
6750
  }
7484
6751
  function useListModelsSuspense(options = {}) {
7485
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6752
+ const {
6753
+ query: { client: queryClient, ...queryOptions2 } = {},
6754
+ client: config = {}
6755
+ } = options ?? {};
7486
6756
  const queryKey = queryOptions2?.queryKey ?? listModelsSuspenseQueryKey();
7487
6757
  const query = useSuspenseQuery(
7488
6758
  {
7489
- ...listModelsSuspenseQueryOptions(config),
6759
+ ...listModelsSuspenseQueryOptions(
6760
+ config
6761
+ ),
7490
6762
  queryKey,
7491
6763
  ...queryOptions2
7492
6764
  },
@@ -7509,7 +6781,10 @@ async function createProvider(data, config = {}) {
7509
6781
  return res;
7510
6782
  }
7511
6783
  function useCreateProvider(options = {}) {
7512
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6784
+ const {
6785
+ mutation: { client: queryClient, ...mutationOptions } = {},
6786
+ client: config = {}
6787
+ } = options ?? {};
7513
6788
  const mutationKey = mutationOptions?.mutationKey ?? createProviderMutationKey();
7514
6789
  return useMutation(
7515
6790
  {
@@ -7536,7 +6811,10 @@ async function deleteProvider(params, config = {}) {
7536
6811
  return res;
7537
6812
  }
7538
6813
  function useDeleteProvider(options = {}) {
7539
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6814
+ const {
6815
+ mutation: { client: queryClient, ...mutationOptions } = {},
6816
+ client: config = {}
6817
+ } = options ?? {};
7540
6818
  const mutationKey = mutationOptions?.mutationKey ?? deleteProviderMutationKey();
7541
6819
  return useMutation(
7542
6820
  {
@@ -7573,11 +6851,17 @@ function listProvidersQueryOptions(params, config = {}) {
7573
6851
  });
7574
6852
  }
7575
6853
  function useListProviders(params, options = {}) {
7576
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6854
+ const {
6855
+ query: { client: queryClient, ...queryOptions2 } = {},
6856
+ client: config = {}
6857
+ } = options ?? {};
7577
6858
  const queryKey = queryOptions2?.queryKey ?? listProvidersQueryKey(params);
7578
6859
  const query = useQuery(
7579
6860
  {
7580
- ...listProvidersQueryOptions(params, config),
6861
+ ...listProvidersQueryOptions(
6862
+ params,
6863
+ config
6864
+ ),
7581
6865
  queryKey,
7582
6866
  ...queryOptions2
7583
6867
  },
@@ -7610,11 +6894,17 @@ function listProvidersSuspenseQueryOptions(params, config = {}) {
7610
6894
  });
7611
6895
  }
7612
6896
  function useListProvidersSuspense(params, options = {}) {
7613
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6897
+ const {
6898
+ query: { client: queryClient, ...queryOptions2 } = {},
6899
+ client: config = {}
6900
+ } = options ?? {};
7614
6901
  const queryKey = queryOptions2?.queryKey ?? listProvidersSuspenseQueryKey(params);
7615
6902
  const query = useSuspenseQuery(
7616
6903
  {
7617
- ...listProvidersSuspenseQueryOptions(params, config),
6904
+ ...listProvidersSuspenseQueryOptions(
6905
+ params,
6906
+ config
6907
+ ),
7618
6908
  queryKey,
7619
6909
  ...queryOptions2
7620
6910
  },
@@ -7636,7 +6926,10 @@ async function deleteRun(run_id, config = {}) {
7636
6926
  return res;
7637
6927
  }
7638
6928
  function useDeleteRun(options = {}) {
7639
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
6929
+ const {
6930
+ mutation: { client: queryClient, ...mutationOptions } = {},
6931
+ client: config = {}
6932
+ } = options ?? {};
7640
6933
  const mutationKey = mutationOptions?.mutationKey ?? deleteRunMutationKey();
7641
6934
  return useMutation(
7642
6935
  {
@@ -7673,11 +6966,17 @@ function listActiveRunsQueryOptions(params, config = {}) {
7673
6966
  });
7674
6967
  }
7675
6968
  function useListActiveRuns(params, options = {}) {
7676
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
6969
+ const {
6970
+ query: { client: queryClient, ...queryOptions2 } = {},
6971
+ client: config = {}
6972
+ } = options ?? {};
7677
6973
  const queryKey = queryOptions2?.queryKey ?? listActiveRunsQueryKey(params);
7678
6974
  const query = useQuery(
7679
6975
  {
7680
- ...listActiveRunsQueryOptions(params, config),
6976
+ ...listActiveRunsQueryOptions(
6977
+ params,
6978
+ config
6979
+ ),
7681
6980
  queryKey,
7682
6981
  ...queryOptions2
7683
6982
  },
@@ -7710,11 +7009,17 @@ function listActiveRunsSuspenseQueryOptions(params, config = {}) {
7710
7009
  });
7711
7010
  }
7712
7011
  function useListActiveRunsSuspense(params, options = {}) {
7713
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7012
+ const {
7013
+ query: { client: queryClient, ...queryOptions2 } = {},
7014
+ client: config = {}
7015
+ } = options ?? {};
7714
7016
  const queryKey = queryOptions2?.queryKey ?? listActiveRunsSuspenseQueryKey(params);
7715
7017
  const query = useSuspenseQuery(
7716
7018
  {
7717
- ...listActiveRunsSuspenseQueryOptions(params, config),
7019
+ ...listActiveRunsSuspenseQueryOptions(
7020
+ params,
7021
+ config
7022
+ ),
7718
7023
  queryKey,
7719
7024
  ...queryOptions2
7720
7025
  },
@@ -7725,7 +7030,10 @@ function useListActiveRunsSuspense(params, options = {}) {
7725
7030
  }
7726
7031
 
7727
7032
  // src/hooks/runsHooks/useListRunMessages.ts
7728
- var listRunMessagesQueryKey = (run_id, params) => [{ url: "/v1/runs/:run_id/messages", params: { run_id } }, ...params ? [params] : []];
7033
+ var listRunMessagesQueryKey = (run_id, params) => [
7034
+ { url: "/v1/runs/:run_id/messages", params: { run_id } },
7035
+ ...params ? [params] : []
7036
+ ];
7729
7037
  async function listRunMessages(run_id, params, config = {}) {
7730
7038
  const { client: request = axios_default2, ...requestConfig } = config;
7731
7039
  const res = await request({
@@ -7748,11 +7056,18 @@ function listRunMessagesQueryOptions(run_id, params, config = {}) {
7748
7056
  });
7749
7057
  }
7750
7058
  function useListRunMessages(run_id, params, options = {}) {
7751
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7059
+ const {
7060
+ query: { client: queryClient, ...queryOptions2 } = {},
7061
+ client: config = {}
7062
+ } = options ?? {};
7752
7063
  const queryKey = queryOptions2?.queryKey ?? listRunMessagesQueryKey(run_id, params);
7753
7064
  const query = useQuery(
7754
7065
  {
7755
- ...listRunMessagesQueryOptions(run_id, params, config),
7066
+ ...listRunMessagesQueryOptions(
7067
+ run_id,
7068
+ params,
7069
+ config
7070
+ ),
7756
7071
  queryKey,
7757
7072
  ...queryOptions2
7758
7073
  },
@@ -7763,7 +7078,10 @@ function useListRunMessages(run_id, params, options = {}) {
7763
7078
  }
7764
7079
 
7765
7080
  // src/hooks/runsHooks/useListRunMessagesSuspense.ts
7766
- var listRunMessagesSuspenseQueryKey = (run_id, params) => [{ url: "/v1/runs/:run_id/messages", params: { run_id } }, ...params ? [params] : []];
7081
+ var listRunMessagesSuspenseQueryKey = (run_id, params) => [
7082
+ { url: "/v1/runs/:run_id/messages", params: { run_id } },
7083
+ ...params ? [params] : []
7084
+ ];
7767
7085
  async function listRunMessagesSuspense(run_id, params, config = {}) {
7768
7086
  const { client: request = axios_default2, ...requestConfig } = config;
7769
7087
  const res = await request({
@@ -7786,11 +7104,18 @@ function listRunMessagesSuspenseQueryOptions(run_id, params, config = {}) {
7786
7104
  });
7787
7105
  }
7788
7106
  function useListRunMessagesSuspense(run_id, params, options = {}) {
7789
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7107
+ const {
7108
+ query: { client: queryClient, ...queryOptions2 } = {},
7109
+ client: config = {}
7110
+ } = options ?? {};
7790
7111
  const queryKey = queryOptions2?.queryKey ?? listRunMessagesSuspenseQueryKey(run_id, params);
7791
7112
  const query = useSuspenseQuery(
7792
7113
  {
7793
- ...listRunMessagesSuspenseQueryOptions(run_id, params, config),
7114
+ ...listRunMessagesSuspenseQueryOptions(
7115
+ run_id,
7116
+ params,
7117
+ config
7118
+ ),
7794
7119
  queryKey,
7795
7120
  ...queryOptions2
7796
7121
  },
@@ -7818,11 +7143,17 @@ function listRunsQueryOptions(params, config = {}) {
7818
7143
  });
7819
7144
  }
7820
7145
  function useListRuns(params, options = {}) {
7821
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7146
+ const {
7147
+ query: { client: queryClient, ...queryOptions2 } = {},
7148
+ client: config = {}
7149
+ } = options ?? {};
7822
7150
  const queryKey = queryOptions2?.queryKey ?? listRunsQueryKey(params);
7823
7151
  const query = useQuery(
7824
7152
  {
7825
- ...listRunsQueryOptions(params, config),
7153
+ ...listRunsQueryOptions(
7154
+ params,
7155
+ config
7156
+ ),
7826
7157
  queryKey,
7827
7158
  ...queryOptions2
7828
7159
  },
@@ -7850,11 +7181,17 @@ function listRunsSuspenseQueryOptions(params, config = {}) {
7850
7181
  });
7851
7182
  }
7852
7183
  function useListRunsSuspense(params, options = {}) {
7853
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7184
+ const {
7185
+ query: { client: queryClient, ...queryOptions2 } = {},
7186
+ client: config = {}
7187
+ } = options ?? {};
7854
7188
  const queryKey = queryOptions2?.queryKey ?? listRunsSuspenseQueryKey(params);
7855
7189
  const query = useSuspenseQuery(
7856
7190
  {
7857
- ...listRunsSuspenseQueryOptions(params, config),
7191
+ ...listRunsSuspenseQueryOptions(
7192
+ params,
7193
+ config
7194
+ ),
7858
7195
  queryKey,
7859
7196
  ...queryOptions2
7860
7197
  },
@@ -7865,7 +7202,10 @@ function useListRunsSuspense(params, options = {}) {
7865
7202
  }
7866
7203
 
7867
7204
  // src/hooks/runsHooks/useListRunSteps.ts
7868
- var listRunStepsQueryKey = (run_id, params) => [{ url: "/v1/runs/:run_id/steps", params: { run_id } }, ...params ? [params] : []];
7205
+ var listRunStepsQueryKey = (run_id, params) => [
7206
+ { url: "/v1/runs/:run_id/steps", params: { run_id } },
7207
+ ...params ? [params] : []
7208
+ ];
7869
7209
  async function listRunSteps(run_id, params, config = {}) {
7870
7210
  const { client: request = axios_default2, ...requestConfig } = config;
7871
7211
  const res = await request({
@@ -7888,11 +7228,18 @@ function listRunStepsQueryOptions(run_id, params, config = {}) {
7888
7228
  });
7889
7229
  }
7890
7230
  function useListRunSteps(run_id, params, options = {}) {
7891
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7231
+ const {
7232
+ query: { client: queryClient, ...queryOptions2 } = {},
7233
+ client: config = {}
7234
+ } = options ?? {};
7892
7235
  const queryKey = queryOptions2?.queryKey ?? listRunStepsQueryKey(run_id, params);
7893
7236
  const query = useQuery(
7894
7237
  {
7895
- ...listRunStepsQueryOptions(run_id, params, config),
7238
+ ...listRunStepsQueryOptions(
7239
+ run_id,
7240
+ params,
7241
+ config
7242
+ ),
7896
7243
  queryKey,
7897
7244
  ...queryOptions2
7898
7245
  },
@@ -7903,7 +7250,10 @@ function useListRunSteps(run_id, params, options = {}) {
7903
7250
  }
7904
7251
 
7905
7252
  // src/hooks/runsHooks/useListRunStepsSuspense.ts
7906
- var listRunStepsSuspenseQueryKey = (run_id, params) => [{ url: "/v1/runs/:run_id/steps", params: { run_id } }, ...params ? [params] : []];
7253
+ var listRunStepsSuspenseQueryKey = (run_id, params) => [
7254
+ { url: "/v1/runs/:run_id/steps", params: { run_id } },
7255
+ ...params ? [params] : []
7256
+ ];
7907
7257
  async function listRunStepsSuspense(run_id, params, config = {}) {
7908
7258
  const { client: request = axios_default2, ...requestConfig } = config;
7909
7259
  const res = await request({
@@ -7926,11 +7276,18 @@ function listRunStepsSuspenseQueryOptions(run_id, params, config = {}) {
7926
7276
  });
7927
7277
  }
7928
7278
  function useListRunStepsSuspense(run_id, params, options = {}) {
7929
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7279
+ const {
7280
+ query: { client: queryClient, ...queryOptions2 } = {},
7281
+ client: config = {}
7282
+ } = options ?? {};
7930
7283
  const queryKey = queryOptions2?.queryKey ?? listRunStepsSuspenseQueryKey(run_id, params);
7931
7284
  const query = useSuspenseQuery(
7932
7285
  {
7933
- ...listRunStepsSuspenseQueryOptions(run_id, params, config),
7286
+ ...listRunStepsSuspenseQueryOptions(
7287
+ run_id,
7288
+ params,
7289
+ config
7290
+ ),
7934
7291
  queryKey,
7935
7292
  ...queryOptions2
7936
7293
  },
@@ -7953,23 +7310,27 @@ async function retrieveRun(run_id, config = {}) {
7953
7310
  }
7954
7311
  function retrieveRunQueryOptions(run_id, config = {}) {
7955
7312
  const queryKey = retrieveRunQueryKey(run_id);
7956
- return queryOptions(
7957
- {
7958
- enabled: !!run_id,
7959
- queryKey,
7960
- queryFn: async ({ signal }) => {
7961
- config.signal = signal;
7962
- return retrieveRun(run_id, config);
7963
- }
7313
+ return queryOptions({
7314
+ enabled: !!run_id,
7315
+ queryKey,
7316
+ queryFn: async ({ signal }) => {
7317
+ config.signal = signal;
7318
+ return retrieveRun(run_id, config);
7964
7319
  }
7965
- );
7320
+ });
7966
7321
  }
7967
7322
  function useRetrieveRun(run_id, options = {}) {
7968
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7323
+ const {
7324
+ query: { client: queryClient, ...queryOptions2 } = {},
7325
+ client: config = {}
7326
+ } = options ?? {};
7969
7327
  const queryKey = queryOptions2?.queryKey ?? retrieveRunQueryKey(run_id);
7970
7328
  const query = useQuery(
7971
7329
  {
7972
- ...retrieveRunQueryOptions(run_id, config),
7330
+ ...retrieveRunQueryOptions(
7331
+ run_id,
7332
+ config
7333
+ ),
7973
7334
  queryKey,
7974
7335
  ...queryOptions2
7975
7336
  },
@@ -7992,23 +7353,27 @@ async function retrieveRunSuspense(run_id, config = {}) {
7992
7353
  }
7993
7354
  function retrieveRunSuspenseQueryOptions(run_id, config = {}) {
7994
7355
  const queryKey = retrieveRunSuspenseQueryKey(run_id);
7995
- return queryOptions(
7996
- {
7997
- enabled: !!run_id,
7998
- queryKey,
7999
- queryFn: async ({ signal }) => {
8000
- config.signal = signal;
8001
- return retrieveRunSuspense(run_id, config);
8002
- }
7356
+ return queryOptions({
7357
+ enabled: !!run_id,
7358
+ queryKey,
7359
+ queryFn: async ({ signal }) => {
7360
+ config.signal = signal;
7361
+ return retrieveRunSuspense(run_id, config);
8003
7362
  }
8004
- );
7363
+ });
8005
7364
  }
8006
7365
  function useRetrieveRunSuspense(run_id, options = {}) {
8007
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7366
+ const {
7367
+ query: { client: queryClient, ...queryOptions2 } = {},
7368
+ client: config = {}
7369
+ } = options ?? {};
8008
7370
  const queryKey = queryOptions2?.queryKey ?? retrieveRunSuspenseQueryKey(run_id);
8009
7371
  const query = useSuspenseQuery(
8010
7372
  {
8011
- ...retrieveRunSuspenseQueryOptions(run_id, config),
7373
+ ...retrieveRunSuspenseQueryOptions(
7374
+ run_id,
7375
+ config
7376
+ ),
8012
7377
  queryKey,
8013
7378
  ...queryOptions2
8014
7379
  },
@@ -8041,11 +7406,17 @@ function retrieveRunUsageQueryOptions(run_id, config = {}) {
8041
7406
  });
8042
7407
  }
8043
7408
  function useRetrieveRunUsage(run_id, options = {}) {
8044
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7409
+ const {
7410
+ query: { client: queryClient, ...queryOptions2 } = {},
7411
+ client: config = {}
7412
+ } = options ?? {};
8045
7413
  const queryKey = queryOptions2?.queryKey ?? retrieveRunUsageQueryKey(run_id);
8046
7414
  const query = useQuery(
8047
7415
  {
8048
- ...retrieveRunUsageQueryOptions(run_id, config),
7416
+ ...retrieveRunUsageQueryOptions(
7417
+ run_id,
7418
+ config
7419
+ ),
8049
7420
  queryKey,
8050
7421
  ...queryOptions2
8051
7422
  },
@@ -8078,11 +7449,17 @@ function retrieveRunUsageSuspenseQueryOptions(run_id, config = {}) {
8078
7449
  });
8079
7450
  }
8080
7451
  function useRetrieveRunUsageSuspense(run_id, options = {}) {
8081
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7452
+ const {
7453
+ query: { client: queryClient, ...queryOptions2 } = {},
7454
+ client: config = {}
7455
+ } = options ?? {};
8082
7456
  const queryKey = queryOptions2?.queryKey ?? retrieveRunUsageSuspenseQueryKey(run_id);
8083
7457
  const query = useSuspenseQuery(
8084
7458
  {
8085
- ...retrieveRunUsageSuspenseQueryOptions(run_id, config),
7459
+ ...retrieveRunUsageSuspenseQueryOptions(
7460
+ run_id,
7461
+ config
7462
+ ),
8086
7463
  queryKey,
8087
7464
  ...queryOptions2
8088
7465
  },
@@ -8105,7 +7482,10 @@ async function createSource(data, config = {}) {
8105
7482
  return res;
8106
7483
  }
8107
7484
  function useCreateSource(options = {}) {
8108
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
7485
+ const {
7486
+ mutation: { client: queryClient, ...mutationOptions } = {},
7487
+ client: config = {}
7488
+ } = options ?? {};
8109
7489
  const mutationKey = mutationOptions?.mutationKey ?? createSourceMutationKey();
8110
7490
  return useMutation(
8111
7491
  {
@@ -8131,7 +7511,10 @@ async function deleteFileFromSource(source_id, file_id, config = {}) {
8131
7511
  return res;
8132
7512
  }
8133
7513
  function useDeleteFileFromSource(options = {}) {
8134
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
7514
+ const {
7515
+ mutation: { client: queryClient, ...mutationOptions } = {},
7516
+ client: config = {}
7517
+ } = options ?? {};
8135
7518
  const mutationKey = mutationOptions?.mutationKey ?? deleteFileFromSourceMutationKey();
8136
7519
  return useMutation(
8137
7520
  {
@@ -8157,7 +7540,10 @@ async function deleteSource(source_id, config = {}) {
8157
7540
  return res;
8158
7541
  }
8159
7542
  function useDeleteSource(options = {}) {
8160
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
7543
+ const {
7544
+ mutation: { client: queryClient, ...mutationOptions } = {},
7545
+ client: config = {}
7546
+ } = options ?? {};
8161
7547
  const mutationKey = mutationOptions?.mutationKey ?? deleteSourceMutationKey();
8162
7548
  return useMutation(
8163
7549
  {
@@ -8172,7 +7558,12 @@ function useDeleteSource(options = {}) {
8172
7558
  }
8173
7559
 
8174
7560
  // src/hooks/sourcesHooks/useGetSourceIdByName.ts
8175
- var getSourceIdByNameQueryKey = (source_name) => [{ url: "/v1/sources/name/:source_name", params: { source_name } }];
7561
+ var getSourceIdByNameQueryKey = (source_name) => [
7562
+ {
7563
+ url: "/v1/sources/name/:source_name",
7564
+ params: { source_name }
7565
+ }
7566
+ ];
8176
7567
  async function getSourceIdByName(source_name, config = {}) {
8177
7568
  const { client: request = axios_default2, ...requestConfig } = config;
8178
7569
  const res = await request({
@@ -8194,11 +7585,17 @@ function getSourceIdByNameQueryOptions(source_name, config = {}) {
8194
7585
  });
8195
7586
  }
8196
7587
  function useGetSourceIdByName(source_name, options = {}) {
8197
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7588
+ const {
7589
+ query: { client: queryClient, ...queryOptions2 } = {},
7590
+ client: config = {}
7591
+ } = options ?? {};
8198
7592
  const queryKey = queryOptions2?.queryKey ?? getSourceIdByNameQueryKey(source_name);
8199
7593
  const query = useQuery(
8200
7594
  {
8201
- ...getSourceIdByNameQueryOptions(source_name, config),
7595
+ ...getSourceIdByNameQueryOptions(
7596
+ source_name,
7597
+ config
7598
+ ),
8202
7599
  queryKey,
8203
7600
  ...queryOptions2
8204
7601
  },
@@ -8209,7 +7606,12 @@ function useGetSourceIdByName(source_name, options = {}) {
8209
7606
  }
8210
7607
 
8211
7608
  // src/hooks/sourcesHooks/useGetSourceIdByNameSuspense.ts
8212
- var getSourceIdByNameSuspenseQueryKey = (source_name) => [{ url: "/v1/sources/name/:source_name", params: { source_name } }];
7609
+ var getSourceIdByNameSuspenseQueryKey = (source_name) => [
7610
+ {
7611
+ url: "/v1/sources/name/:source_name",
7612
+ params: { source_name }
7613
+ }
7614
+ ];
8213
7615
  async function getSourceIdByNameSuspense(source_name, config = {}) {
8214
7616
  const { client: request = axios_default2, ...requestConfig } = config;
8215
7617
  const res = await request({
@@ -8231,11 +7633,17 @@ function getSourceIdByNameSuspenseQueryOptions(source_name, config = {}) {
8231
7633
  });
8232
7634
  }
8233
7635
  function useGetSourceIdByNameSuspense(source_name, options = {}) {
8234
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7636
+ const {
7637
+ query: { client: queryClient, ...queryOptions2 } = {},
7638
+ client: config = {}
7639
+ } = options ?? {};
8235
7640
  const queryKey = queryOptions2?.queryKey ?? getSourceIdByNameSuspenseQueryKey(source_name);
8236
7641
  const query = useSuspenseQuery(
8237
7642
  {
8238
- ...getSourceIdByNameSuspenseQueryOptions(source_name, config),
7643
+ ...getSourceIdByNameSuspenseQueryOptions(
7644
+ source_name,
7645
+ config
7646
+ ),
8239
7647
  queryKey,
8240
7648
  ...queryOptions2
8241
7649
  },
@@ -8246,7 +7654,10 @@ function useGetSourceIdByNameSuspense(source_name, options = {}) {
8246
7654
  }
8247
7655
 
8248
7656
  // src/hooks/sourcesHooks/useListSourceFiles.ts
8249
- var listSourceFilesQueryKey = (source_id, params) => [{ url: "/v1/sources/:source_id/files", params: { source_id } }, ...params ? [params] : []];
7657
+ var listSourceFilesQueryKey = (source_id, params) => [
7658
+ { url: "/v1/sources/:source_id/files", params: { source_id } },
7659
+ ...params ? [params] : []
7660
+ ];
8250
7661
  async function listSourceFiles(source_id, params, config = {}) {
8251
7662
  const { client: request = axios_default2, ...requestConfig } = config;
8252
7663
  const res = await request({
@@ -8269,11 +7680,18 @@ function listSourceFilesQueryOptions(source_id, params, config = {}) {
8269
7680
  });
8270
7681
  }
8271
7682
  function useListSourceFiles(source_id, params, options = {}) {
8272
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7683
+ const {
7684
+ query: { client: queryClient, ...queryOptions2 } = {},
7685
+ client: config = {}
7686
+ } = options ?? {};
8273
7687
  const queryKey = queryOptions2?.queryKey ?? listSourceFilesQueryKey(source_id, params);
8274
7688
  const query = useQuery(
8275
7689
  {
8276
- ...listSourceFilesQueryOptions(source_id, params, config),
7690
+ ...listSourceFilesQueryOptions(
7691
+ source_id,
7692
+ params,
7693
+ config
7694
+ ),
8277
7695
  queryKey,
8278
7696
  ...queryOptions2
8279
7697
  },
@@ -8284,7 +7702,10 @@ function useListSourceFiles(source_id, params, options = {}) {
8284
7702
  }
8285
7703
 
8286
7704
  // src/hooks/sourcesHooks/useListSourceFilesSuspense.ts
8287
- var listSourceFilesSuspenseQueryKey = (source_id, params) => [{ url: "/v1/sources/:source_id/files", params: { source_id } }, ...params ? [params] : []];
7705
+ var listSourceFilesSuspenseQueryKey = (source_id, params) => [
7706
+ { url: "/v1/sources/:source_id/files", params: { source_id } },
7707
+ ...params ? [params] : []
7708
+ ];
8288
7709
  async function listSourceFilesSuspense(source_id, params, config = {}) {
8289
7710
  const { client: request = axios_default2, ...requestConfig } = config;
8290
7711
  const res = await request({
@@ -8307,11 +7728,18 @@ function listSourceFilesSuspenseQueryOptions(source_id, params, config = {}) {
8307
7728
  });
8308
7729
  }
8309
7730
  function useListSourceFilesSuspense(source_id, params, options = {}) {
8310
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7731
+ const {
7732
+ query: { client: queryClient, ...queryOptions2 } = {},
7733
+ client: config = {}
7734
+ } = options ?? {};
8311
7735
  const queryKey = queryOptions2?.queryKey ?? listSourceFilesSuspenseQueryKey(source_id, params);
8312
7736
  const query = useSuspenseQuery(
8313
7737
  {
8314
- ...listSourceFilesSuspenseQueryOptions(source_id, params, config),
7738
+ ...listSourceFilesSuspenseQueryOptions(
7739
+ source_id,
7740
+ params,
7741
+ config
7742
+ ),
8315
7743
  queryKey,
8316
7744
  ...queryOptions2
8317
7745
  },
@@ -8322,7 +7750,12 @@ function useListSourceFilesSuspense(source_id, params, options = {}) {
8322
7750
  }
8323
7751
 
8324
7752
  // src/hooks/sourcesHooks/useListSourcePassages.ts
8325
- var listSourcePassagesQueryKey = (source_id) => [{ url: "/v1/sources/:source_id/passages", params: { source_id } }];
7753
+ var listSourcePassagesQueryKey = (source_id) => [
7754
+ {
7755
+ url: "/v1/sources/:source_id/passages",
7756
+ params: { source_id }
7757
+ }
7758
+ ];
8326
7759
  async function listSourcePassages(source_id, config = {}) {
8327
7760
  const { client: request = axios_default2, ...requestConfig } = config;
8328
7761
  const res = await request({
@@ -8344,11 +7777,17 @@ function listSourcePassagesQueryOptions(source_id, config = {}) {
8344
7777
  });
8345
7778
  }
8346
7779
  function useListSourcePassages(source_id, options = {}) {
8347
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7780
+ const {
7781
+ query: { client: queryClient, ...queryOptions2 } = {},
7782
+ client: config = {}
7783
+ } = options ?? {};
8348
7784
  const queryKey = queryOptions2?.queryKey ?? listSourcePassagesQueryKey(source_id);
8349
7785
  const query = useQuery(
8350
7786
  {
8351
- ...listSourcePassagesQueryOptions(source_id, config),
7787
+ ...listSourcePassagesQueryOptions(
7788
+ source_id,
7789
+ config
7790
+ ),
8352
7791
  queryKey,
8353
7792
  ...queryOptions2
8354
7793
  },
@@ -8359,7 +7798,12 @@ function useListSourcePassages(source_id, options = {}) {
8359
7798
  }
8360
7799
 
8361
7800
  // src/hooks/sourcesHooks/useListSourcePassagesSuspense.ts
8362
- var listSourcePassagesSuspenseQueryKey = (source_id) => [{ url: "/v1/sources/:source_id/passages", params: { source_id } }];
7801
+ var listSourcePassagesSuspenseQueryKey = (source_id) => [
7802
+ {
7803
+ url: "/v1/sources/:source_id/passages",
7804
+ params: { source_id }
7805
+ }
7806
+ ];
8363
7807
  async function listSourcePassagesSuspense(source_id, config = {}) {
8364
7808
  const { client: request = axios_default2, ...requestConfig } = config;
8365
7809
  const res = await request({
@@ -8381,11 +7825,17 @@ function listSourcePassagesSuspenseQueryOptions(source_id, config = {}) {
8381
7825
  });
8382
7826
  }
8383
7827
  function useListSourcePassagesSuspense(source_id, options = {}) {
8384
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7828
+ const {
7829
+ query: { client: queryClient, ...queryOptions2 } = {},
7830
+ client: config = {}
7831
+ } = options ?? {};
8385
7832
  const queryKey = queryOptions2?.queryKey ?? listSourcePassagesSuspenseQueryKey(source_id);
8386
7833
  const query = useSuspenseQuery(
8387
7834
  {
8388
- ...listSourcePassagesSuspenseQueryOptions(source_id, config),
7835
+ ...listSourcePassagesSuspenseQueryOptions(
7836
+ source_id,
7837
+ config
7838
+ ),
8389
7839
  queryKey,
8390
7840
  ...queryOptions2
8391
7841
  },
@@ -8404,18 +7854,19 @@ async function listSources(config = {}) {
8404
7854
  }
8405
7855
  function listSourcesQueryOptions(config = {}) {
8406
7856
  const queryKey = listSourcesQueryKey();
8407
- return queryOptions(
8408
- {
8409
- queryKey,
8410
- queryFn: async ({ signal }) => {
8411
- config.signal = signal;
8412
- return listSources(config);
8413
- }
7857
+ return queryOptions({
7858
+ queryKey,
7859
+ queryFn: async ({ signal }) => {
7860
+ config.signal = signal;
7861
+ return listSources(config);
8414
7862
  }
8415
- );
7863
+ });
8416
7864
  }
8417
7865
  function useListSources(options = {}) {
8418
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7866
+ const {
7867
+ query: { client: queryClient, ...queryOptions2 } = {},
7868
+ client: config = {}
7869
+ } = options ?? {};
8419
7870
  const queryKey = queryOptions2?.queryKey ?? listSourcesQueryKey();
8420
7871
  const query = useQuery(
8421
7872
  {
@@ -8438,22 +7889,25 @@ async function listSourcesSuspense(config = {}) {
8438
7889
  }
8439
7890
  function listSourcesSuspenseQueryOptions(config = {}) {
8440
7891
  const queryKey = listSourcesSuspenseQueryKey();
8441
- return queryOptions(
8442
- {
8443
- queryKey,
8444
- queryFn: async ({ signal }) => {
8445
- config.signal = signal;
8446
- return listSourcesSuspense(config);
8447
- }
7892
+ return queryOptions({
7893
+ queryKey,
7894
+ queryFn: async ({ signal }) => {
7895
+ config.signal = signal;
7896
+ return listSourcesSuspense(config);
8448
7897
  }
8449
- );
7898
+ });
8450
7899
  }
8451
7900
  function useListSourcesSuspense(options = {}) {
8452
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7901
+ const {
7902
+ query: { client: queryClient, ...queryOptions2 } = {},
7903
+ client: config = {}
7904
+ } = options ?? {};
8453
7905
  const queryKey = queryOptions2?.queryKey ?? listSourcesSuspenseQueryKey();
8454
7906
  const query = useSuspenseQuery(
8455
7907
  {
8456
- ...listSourcesSuspenseQueryOptions(config),
7908
+ ...listSourcesSuspenseQueryOptions(
7909
+ config
7910
+ ),
8457
7911
  queryKey,
8458
7912
  ...queryOptions2
8459
7913
  },
@@ -8464,7 +7918,9 @@ function useListSourcesSuspense(options = {}) {
8464
7918
  }
8465
7919
 
8466
7920
  // src/hooks/sourcesHooks/useRetrieveSource.ts
8467
- var retrieveSourceQueryKey = (source_id) => [{ url: "/v1/sources/:source_id", params: { source_id } }];
7921
+ var retrieveSourceQueryKey = (source_id) => [
7922
+ { url: "/v1/sources/:source_id", params: { source_id } }
7923
+ ];
8468
7924
  async function retrieveSource(source_id, config = {}) {
8469
7925
  const { client: request = axios_default2, ...requestConfig } = config;
8470
7926
  const res = await request({
@@ -8486,11 +7942,17 @@ function retrieveSourceQueryOptions(source_id, config = {}) {
8486
7942
  });
8487
7943
  }
8488
7944
  function useRetrieveSource(source_id, options = {}) {
8489
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7945
+ const {
7946
+ query: { client: queryClient, ...queryOptions2 } = {},
7947
+ client: config = {}
7948
+ } = options ?? {};
8490
7949
  const queryKey = queryOptions2?.queryKey ?? retrieveSourceQueryKey(source_id);
8491
7950
  const query = useQuery(
8492
7951
  {
8493
- ...retrieveSourceQueryOptions(source_id, config),
7952
+ ...retrieveSourceQueryOptions(
7953
+ source_id,
7954
+ config
7955
+ ),
8494
7956
  queryKey,
8495
7957
  ...queryOptions2
8496
7958
  },
@@ -8501,7 +7963,9 @@ function useRetrieveSource(source_id, options = {}) {
8501
7963
  }
8502
7964
 
8503
7965
  // src/hooks/sourcesHooks/useRetrieveSourceSuspense.ts
8504
- var retrieveSourceSuspenseQueryKey = (source_id) => [{ url: "/v1/sources/:source_id", params: { source_id } }];
7966
+ var retrieveSourceSuspenseQueryKey = (source_id) => [
7967
+ { url: "/v1/sources/:source_id", params: { source_id } }
7968
+ ];
8505
7969
  async function retrieveSourceSuspense(source_id, config = {}) {
8506
7970
  const { client: request = axios_default2, ...requestConfig } = config;
8507
7971
  const res = await request({
@@ -8523,11 +7987,17 @@ function retrieveSourceSuspenseQueryOptions(source_id, config = {}) {
8523
7987
  });
8524
7988
  }
8525
7989
  function useRetrieveSourceSuspense(source_id, options = {}) {
8526
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
7990
+ const {
7991
+ query: { client: queryClient, ...queryOptions2 } = {},
7992
+ client: config = {}
7993
+ } = options ?? {};
8527
7994
  const queryKey = queryOptions2?.queryKey ?? retrieveSourceSuspenseQueryKey(source_id);
8528
7995
  const query = useSuspenseQuery(
8529
7996
  {
8530
- ...retrieveSourceSuspenseQueryOptions(source_id, config),
7997
+ ...retrieveSourceSuspenseQueryOptions(
7998
+ source_id,
7999
+ config
8000
+ ),
8531
8001
  queryKey,
8532
8002
  ...queryOptions2
8533
8003
  },
@@ -8555,12 +8025,18 @@ async function uploadFileToSource(source_id, data, config = {}) {
8555
8025
  url: `/v1/sources/${source_id}/upload`,
8556
8026
  data: formData,
8557
8027
  ...requestConfig,
8558
- headers: { "Content-Type": "multipart/form-data", ...requestConfig.headers }
8028
+ headers: {
8029
+ "Content-Type": "multipart/form-data",
8030
+ ...requestConfig.headers
8031
+ }
8559
8032
  });
8560
8033
  return res;
8561
8034
  }
8562
8035
  function useUploadFileToSource(options = {}) {
8563
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8036
+ const {
8037
+ mutation: { client: queryClient, ...mutationOptions } = {},
8038
+ client: config = {}
8039
+ } = options ?? {};
8564
8040
  const mutationKey = mutationOptions?.mutationKey ?? uploadFileToSourceMutationKey();
8565
8041
  return useMutation(
8566
8042
  {
@@ -8592,11 +8068,17 @@ function listStepsQueryOptions(params, config = {}) {
8592
8068
  });
8593
8069
  }
8594
8070
  function useListSteps(params, options = {}) {
8595
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8071
+ const {
8072
+ query: { client: queryClient, ...queryOptions2 } = {},
8073
+ client: config = {}
8074
+ } = options ?? {};
8596
8075
  const queryKey = queryOptions2?.queryKey ?? listStepsQueryKey(params);
8597
8076
  const query = useQuery(
8598
8077
  {
8599
- ...listStepsQueryOptions(params, config),
8078
+ ...listStepsQueryOptions(
8079
+ params,
8080
+ config
8081
+ ),
8600
8082
  queryKey,
8601
8083
  ...queryOptions2
8602
8084
  },
@@ -8624,11 +8106,17 @@ function listStepsSuspenseQueryOptions(params, config = {}) {
8624
8106
  });
8625
8107
  }
8626
8108
  function useListStepsSuspense(params, options = {}) {
8627
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8109
+ const {
8110
+ query: { client: queryClient, ...queryOptions2 } = {},
8111
+ client: config = {}
8112
+ } = options ?? {};
8628
8113
  const queryKey = queryOptions2?.queryKey ?? listStepsSuspenseQueryKey(params);
8629
8114
  const query = useSuspenseQuery(
8630
8115
  {
8631
- ...listStepsSuspenseQueryOptions(params, config),
8116
+ ...listStepsSuspenseQueryOptions(
8117
+ params,
8118
+ config
8119
+ ),
8632
8120
  queryKey,
8633
8121
  ...queryOptions2
8634
8122
  },
@@ -8661,11 +8149,17 @@ function retrieveStepQueryOptions(step_id, config = {}) {
8661
8149
  });
8662
8150
  }
8663
8151
  function useRetrieveStep(step_id, options = {}) {
8664
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8152
+ const {
8153
+ query: { client: queryClient, ...queryOptions2 } = {},
8154
+ client: config = {}
8155
+ } = options ?? {};
8665
8156
  const queryKey = queryOptions2?.queryKey ?? retrieveStepQueryKey(step_id);
8666
8157
  const query = useQuery(
8667
8158
  {
8668
- ...retrieveStepQueryOptions(step_id, config),
8159
+ ...retrieveStepQueryOptions(
8160
+ step_id,
8161
+ config
8162
+ ),
8669
8163
  queryKey,
8670
8164
  ...queryOptions2
8671
8165
  },
@@ -8698,11 +8192,17 @@ function retrieveStepSuspenseQueryOptions(step_id, config = {}) {
8698
8192
  });
8699
8193
  }
8700
8194
  function useRetrieveStepSuspense(step_id, options = {}) {
8701
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8195
+ const {
8196
+ query: { client: queryClient, ...queryOptions2 } = {},
8197
+ client: config = {}
8198
+ } = options ?? {};
8702
8199
  const queryKey = queryOptions2?.queryKey ?? retrieveStepSuspenseQueryKey(step_id);
8703
8200
  const query = useSuspenseQuery(
8704
8201
  {
8705
- ...retrieveStepSuspenseQueryOptions(step_id, config),
8202
+ ...retrieveStepSuspenseQueryOptions(
8203
+ step_id,
8204
+ config
8205
+ ),
8706
8206
  queryKey,
8707
8207
  ...queryOptions2
8708
8208
  },
@@ -8730,11 +8230,17 @@ function listTagsQueryOptions(params, config = {}) {
8730
8230
  });
8731
8231
  }
8732
8232
  function useListTags(params, options = {}) {
8733
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8233
+ const {
8234
+ query: { client: queryClient, ...queryOptions2 } = {},
8235
+ client: config = {}
8236
+ } = options ?? {};
8734
8237
  const queryKey = queryOptions2?.queryKey ?? listTagsQueryKey(params);
8735
8238
  const query = useQuery(
8736
8239
  {
8737
- ...listTagsQueryOptions(params, config),
8240
+ ...listTagsQueryOptions(
8241
+ params,
8242
+ config
8243
+ ),
8738
8244
  queryKey,
8739
8245
  ...queryOptions2
8740
8246
  },
@@ -8762,11 +8268,17 @@ function listTagsSuspenseQueryOptions(params, config = {}) {
8762
8268
  });
8763
8269
  }
8764
8270
  function useListTagsSuspense(params, options = {}) {
8765
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8271
+ const {
8272
+ query: { client: queryClient, ...queryOptions2 } = {},
8273
+ client: config = {}
8274
+ } = options ?? {};
8766
8275
  const queryKey = queryOptions2?.queryKey ?? listTagsSuspenseQueryKey(params);
8767
8276
  const query = useSuspenseQuery(
8768
8277
  {
8769
- ...listTagsSuspenseQueryOptions(params, config),
8278
+ ...listTagsSuspenseQueryOptions(
8279
+ params,
8280
+ config
8281
+ ),
8770
8282
  queryKey,
8771
8283
  ...queryOptions2
8772
8284
  },
@@ -8789,12 +8301,20 @@ async function templatesCreateAgentsFromTemplate(project, template_version, data
8789
8301
  return res;
8790
8302
  }
8791
8303
  function useTemplatesCreateAgentsFromTemplate(options = {}) {
8792
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8304
+ const {
8305
+ mutation: { client: queryClient, ...mutationOptions } = {},
8306
+ client: config = {}
8307
+ } = options ?? {};
8793
8308
  const mutationKey = mutationOptions?.mutationKey ?? templatesCreateAgentsFromTemplateMutationKey();
8794
8309
  return useMutation(
8795
8310
  {
8796
8311
  mutationFn: async ({ project, template_version, data }) => {
8797
- return templatesCreateAgentsFromTemplate(project, template_version, data, config);
8312
+ return templatesCreateAgentsFromTemplate(
8313
+ project,
8314
+ template_version,
8315
+ data,
8316
+ config
8317
+ );
8798
8318
  },
8799
8319
  mutationKey,
8800
8320
  ...mutationOptions
@@ -8815,7 +8335,10 @@ async function addBaseTools(config = {}) {
8815
8335
  return res;
8816
8336
  }
8817
8337
  function useAddBaseTools(options = {}) {
8818
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8338
+ const {
8339
+ mutation: { client: queryClient, ...mutationOptions } = {},
8340
+ client: config = {}
8341
+ } = options ?? {};
8819
8342
  const mutationKey = mutationOptions?.mutationKey ?? addBaseToolsMutationKey();
8820
8343
  return useMutation(
8821
8344
  {
@@ -8841,7 +8364,10 @@ async function addComposioTool(composio_action_name, config = {}) {
8841
8364
  return res;
8842
8365
  }
8843
8366
  function useAddComposioTool(options = {}) {
8844
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8367
+ const {
8368
+ mutation: { client: queryClient, ...mutationOptions } = {},
8369
+ client: config = {}
8370
+ } = options ?? {};
8845
8371
  const mutationKey = mutationOptions?.mutationKey ?? addComposioToolMutationKey();
8846
8372
  return useMutation(
8847
8373
  {
@@ -8868,7 +8394,10 @@ async function addMcpServer(data, config = {}) {
8868
8394
  return res;
8869
8395
  }
8870
8396
  function useAddMcpServer(options = {}) {
8871
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8397
+ const {
8398
+ mutation: { client: queryClient, ...mutationOptions } = {},
8399
+ client: config = {}
8400
+ } = options ?? {};
8872
8401
  const mutationKey = mutationOptions?.mutationKey ?? addMcpServerMutationKey();
8873
8402
  return useMutation(
8874
8403
  {
@@ -8894,7 +8423,10 @@ async function addMcpTool(mcp_server_name, mcp_tool_name, config = {}) {
8894
8423
  return res;
8895
8424
  }
8896
8425
  function useAddMcpTool(options = {}) {
8897
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8426
+ const {
8427
+ mutation: { client: queryClient, ...mutationOptions } = {},
8428
+ client: config = {}
8429
+ } = options ?? {};
8898
8430
  const mutationKey = mutationOptions?.mutationKey ?? addMcpToolMutationKey();
8899
8431
  return useMutation(
8900
8432
  {
@@ -8921,7 +8453,10 @@ async function createTool(data, config = {}) {
8921
8453
  return res;
8922
8454
  }
8923
8455
  function useCreateTool(options = {}) {
8924
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8456
+ const {
8457
+ mutation: { client: queryClient, ...mutationOptions } = {},
8458
+ client: config = {}
8459
+ } = options ?? {};
8925
8460
  const mutationKey = mutationOptions?.mutationKey ?? createToolMutationKey();
8926
8461
  return useMutation(
8927
8462
  {
@@ -8947,7 +8482,10 @@ async function deleteMcpServer(mcp_server_name, config = {}) {
8947
8482
  return res;
8948
8483
  }
8949
8484
  function useDeleteMcpServer(options = {}) {
8950
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8485
+ const {
8486
+ mutation: { client: queryClient, ...mutationOptions } = {},
8487
+ client: config = {}
8488
+ } = options ?? {};
8951
8489
  const mutationKey = mutationOptions?.mutationKey ?? deleteMcpServerMutationKey();
8952
8490
  return useMutation(
8953
8491
  {
@@ -8973,7 +8511,10 @@ async function deleteTool(tool_id, config = {}) {
8973
8511
  return res;
8974
8512
  }
8975
8513
  function useDeleteTool(options = {}) {
8976
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
8514
+ const {
8515
+ mutation: { client: queryClient, ...mutationOptions } = {},
8516
+ client: config = {}
8517
+ } = options ?? {};
8977
8518
  const mutationKey = mutationOptions?.mutationKey ?? deleteToolMutationKey();
8978
8519
  return useMutation(
8979
8520
  {
@@ -8988,7 +8529,12 @@ function useDeleteTool(options = {}) {
8988
8529
  }
8989
8530
 
8990
8531
  // src/hooks/toolsHooks/useListComposioActionsByApp.ts
8991
- var listComposioActionsByAppQueryKey = (composio_app_name) => [{ url: "/v1/tools/composio/apps/:composio_app_name/actions", params: { composio_app_name } }];
8532
+ var listComposioActionsByAppQueryKey = (composio_app_name) => [
8533
+ {
8534
+ url: "/v1/tools/composio/apps/:composio_app_name/actions",
8535
+ params: { composio_app_name }
8536
+ }
8537
+ ];
8992
8538
  async function listComposioActionsByApp(composio_app_name, config = {}) {
8993
8539
  const { client: request = axios_default2, ...requestConfig } = config;
8994
8540
  const res = await request({
@@ -9010,11 +8556,17 @@ function listComposioActionsByAppQueryOptions(composio_app_name, config = {}) {
9010
8556
  });
9011
8557
  }
9012
8558
  function useListComposioActionsByApp(composio_app_name, options = {}) {
9013
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8559
+ const {
8560
+ query: { client: queryClient, ...queryOptions2 } = {},
8561
+ client: config = {}
8562
+ } = options ?? {};
9014
8563
  const queryKey = queryOptions2?.queryKey ?? listComposioActionsByAppQueryKey(composio_app_name);
9015
8564
  const query = useQuery(
9016
8565
  {
9017
- ...listComposioActionsByAppQueryOptions(composio_app_name, config),
8566
+ ...listComposioActionsByAppQueryOptions(
8567
+ composio_app_name,
8568
+ config
8569
+ ),
9018
8570
  queryKey,
9019
8571
  ...queryOptions2
9020
8572
  },
@@ -9025,7 +8577,12 @@ function useListComposioActionsByApp(composio_app_name, options = {}) {
9025
8577
  }
9026
8578
 
9027
8579
  // src/hooks/toolsHooks/useListComposioActionsByAppSuspense.ts
9028
- var listComposioActionsByAppSuspenseQueryKey = (composio_app_name) => [{ url: "/v1/tools/composio/apps/:composio_app_name/actions", params: { composio_app_name } }];
8580
+ var listComposioActionsByAppSuspenseQueryKey = (composio_app_name) => [
8581
+ {
8582
+ url: "/v1/tools/composio/apps/:composio_app_name/actions",
8583
+ params: { composio_app_name }
8584
+ }
8585
+ ];
9029
8586
  async function listComposioActionsByAppSuspense(composio_app_name, config = {}) {
9030
8587
  const { client: request = axios_default2, ...requestConfig } = config;
9031
8588
  const res = await request({
@@ -9047,11 +8604,17 @@ function listComposioActionsByAppSuspenseQueryOptions(composio_app_name, config
9047
8604
  });
9048
8605
  }
9049
8606
  function useListComposioActionsByAppSuspense(composio_app_name, options = {}) {
9050
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8607
+ const {
8608
+ query: { client: queryClient, ...queryOptions2 } = {},
8609
+ client: config = {}
8610
+ } = options ?? {};
9051
8611
  const queryKey = queryOptions2?.queryKey ?? listComposioActionsByAppSuspenseQueryKey(composio_app_name);
9052
8612
  const query = useSuspenseQuery(
9053
8613
  {
9054
- ...listComposioActionsByAppSuspenseQueryOptions(composio_app_name, config),
8614
+ ...listComposioActionsByAppSuspenseQueryOptions(
8615
+ composio_app_name,
8616
+ config
8617
+ ),
9055
8618
  queryKey,
9056
8619
  ...queryOptions2
9057
8620
  },
@@ -9084,11 +8647,17 @@ function listComposioAppsQueryOptions(headers, config = {}) {
9084
8647
  });
9085
8648
  }
9086
8649
  function useListComposioApps(headers, options = {}) {
9087
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8650
+ const {
8651
+ query: { client: queryClient, ...queryOptions2 } = {},
8652
+ client: config = {}
8653
+ } = options ?? {};
9088
8654
  const queryKey = queryOptions2?.queryKey ?? listComposioAppsQueryKey();
9089
8655
  const query = useQuery(
9090
8656
  {
9091
- ...listComposioAppsQueryOptions(headers, config),
8657
+ ...listComposioAppsQueryOptions(
8658
+ headers,
8659
+ config
8660
+ ),
9092
8661
  queryKey,
9093
8662
  ...queryOptions2
9094
8663
  },
@@ -9121,11 +8690,17 @@ function listComposioAppsSuspenseQueryOptions(headers, config = {}) {
9121
8690
  });
9122
8691
  }
9123
8692
  function useListComposioAppsSuspense(headers, options = {}) {
9124
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8693
+ const {
8694
+ query: { client: queryClient, ...queryOptions2 } = {},
8695
+ client: config = {}
8696
+ } = options ?? {};
9125
8697
  const queryKey = queryOptions2?.queryKey ?? listComposioAppsSuspenseQueryKey();
9126
8698
  const query = useSuspenseQuery(
9127
8699
  {
9128
- ...listComposioAppsSuspenseQueryOptions(headers, config),
8700
+ ...listComposioAppsSuspenseQueryOptions(
8701
+ headers,
8702
+ config
8703
+ ),
9129
8704
  queryKey,
9130
8705
  ...queryOptions2
9131
8706
  },
@@ -9158,11 +8733,17 @@ function listMcpServersQueryOptions(headers, config = {}) {
9158
8733
  });
9159
8734
  }
9160
8735
  function useListMcpServers(headers, options = {}) {
9161
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8736
+ const {
8737
+ query: { client: queryClient, ...queryOptions2 } = {},
8738
+ client: config = {}
8739
+ } = options ?? {};
9162
8740
  const queryKey = queryOptions2?.queryKey ?? listMcpServersQueryKey();
9163
8741
  const query = useQuery(
9164
8742
  {
9165
- ...listMcpServersQueryOptions(headers, config),
8743
+ ...listMcpServersQueryOptions(
8744
+ headers,
8745
+ config
8746
+ ),
9166
8747
  queryKey,
9167
8748
  ...queryOptions2
9168
8749
  },
@@ -9195,11 +8776,17 @@ function listMcpServersSuspenseQueryOptions(headers, config = {}) {
9195
8776
  });
9196
8777
  }
9197
8778
  function useListMcpServersSuspense(headers, options = {}) {
9198
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8779
+ const {
8780
+ query: { client: queryClient, ...queryOptions2 } = {},
8781
+ client: config = {}
8782
+ } = options ?? {};
9199
8783
  const queryKey = queryOptions2?.queryKey ?? listMcpServersSuspenseQueryKey();
9200
8784
  const query = useSuspenseQuery(
9201
8785
  {
9202
- ...listMcpServersSuspenseQueryOptions(headers, config),
8786
+ ...listMcpServersSuspenseQueryOptions(
8787
+ headers,
8788
+ config
8789
+ ),
9203
8790
  queryKey,
9204
8791
  ...queryOptions2
9205
8792
  },
@@ -9210,7 +8797,12 @@ function useListMcpServersSuspense(headers, options = {}) {
9210
8797
  }
9211
8798
 
9212
8799
  // src/hooks/toolsHooks/useListMcpToolsByServer.ts
9213
- var listMcpToolsByServerQueryKey = (mcp_server_name) => [{ url: "/v1/tools/mcp/servers/:mcp_server_name/tools", params: { mcp_server_name } }];
8800
+ var listMcpToolsByServerQueryKey = (mcp_server_name) => [
8801
+ {
8802
+ url: "/v1/tools/mcp/servers/:mcp_server_name/tools",
8803
+ params: { mcp_server_name }
8804
+ }
8805
+ ];
9214
8806
  async function listMcpToolsByServer(mcp_server_name, config = {}) {
9215
8807
  const { client: request = axios_default2, ...requestConfig } = config;
9216
8808
  const res = await request({
@@ -9232,11 +8824,17 @@ function listMcpToolsByServerQueryOptions(mcp_server_name, config = {}) {
9232
8824
  });
9233
8825
  }
9234
8826
  function useListMcpToolsByServer(mcp_server_name, options = {}) {
9235
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8827
+ const {
8828
+ query: { client: queryClient, ...queryOptions2 } = {},
8829
+ client: config = {}
8830
+ } = options ?? {};
9236
8831
  const queryKey = queryOptions2?.queryKey ?? listMcpToolsByServerQueryKey(mcp_server_name);
9237
8832
  const query = useQuery(
9238
8833
  {
9239
- ...listMcpToolsByServerQueryOptions(mcp_server_name, config),
8834
+ ...listMcpToolsByServerQueryOptions(
8835
+ mcp_server_name,
8836
+ config
8837
+ ),
9240
8838
  queryKey,
9241
8839
  ...queryOptions2
9242
8840
  },
@@ -9247,7 +8845,12 @@ function useListMcpToolsByServer(mcp_server_name, options = {}) {
9247
8845
  }
9248
8846
 
9249
8847
  // src/hooks/toolsHooks/useListMcpToolsByServerSuspense.ts
9250
- var listMcpToolsByServerSuspenseQueryKey = (mcp_server_name) => [{ url: "/v1/tools/mcp/servers/:mcp_server_name/tools", params: { mcp_server_name } }];
8848
+ var listMcpToolsByServerSuspenseQueryKey = (mcp_server_name) => [
8849
+ {
8850
+ url: "/v1/tools/mcp/servers/:mcp_server_name/tools",
8851
+ params: { mcp_server_name }
8852
+ }
8853
+ ];
9251
8854
  async function listMcpToolsByServerSuspense(mcp_server_name, config = {}) {
9252
8855
  const { client: request = axios_default2, ...requestConfig } = config;
9253
8856
  const res = await request({
@@ -9269,11 +8872,17 @@ function listMcpToolsByServerSuspenseQueryOptions(mcp_server_name, config = {})
9269
8872
  });
9270
8873
  }
9271
8874
  function useListMcpToolsByServerSuspense(mcp_server_name, options = {}) {
9272
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8875
+ const {
8876
+ query: { client: queryClient, ...queryOptions2 } = {},
8877
+ client: config = {}
8878
+ } = options ?? {};
9273
8879
  const queryKey = queryOptions2?.queryKey ?? listMcpToolsByServerSuspenseQueryKey(mcp_server_name);
9274
8880
  const query = useSuspenseQuery(
9275
8881
  {
9276
- ...listMcpToolsByServerSuspenseQueryOptions(mcp_server_name, config),
8882
+ ...listMcpToolsByServerSuspenseQueryOptions(
8883
+ mcp_server_name,
8884
+ config
8885
+ ),
9277
8886
  queryKey,
9278
8887
  ...queryOptions2
9279
8888
  },
@@ -9301,11 +8910,17 @@ function listToolsQueryOptions(params, config = {}) {
9301
8910
  });
9302
8911
  }
9303
8912
  function useListTools(params, options = {}) {
9304
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8913
+ const {
8914
+ query: { client: queryClient, ...queryOptions2 } = {},
8915
+ client: config = {}
8916
+ } = options ?? {};
9305
8917
  const queryKey = queryOptions2?.queryKey ?? listToolsQueryKey(params);
9306
8918
  const query = useQuery(
9307
8919
  {
9308
- ...listToolsQueryOptions(params, config),
8920
+ ...listToolsQueryOptions(
8921
+ params,
8922
+ config
8923
+ ),
9309
8924
  queryKey,
9310
8925
  ...queryOptions2
9311
8926
  },
@@ -9333,11 +8948,17 @@ function listToolsSuspenseQueryOptions(params, config = {}) {
9333
8948
  });
9334
8949
  }
9335
8950
  function useListToolsSuspense(params, options = {}) {
9336
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8951
+ const {
8952
+ query: { client: queryClient, ...queryOptions2 } = {},
8953
+ client: config = {}
8954
+ } = options ?? {};
9337
8955
  const queryKey = queryOptions2?.queryKey ?? listToolsSuspenseQueryKey(params);
9338
8956
  const query = useSuspenseQuery(
9339
8957
  {
9340
- ...listToolsSuspenseQueryOptions(params, config),
8958
+ ...listToolsSuspenseQueryOptions(
8959
+ params,
8960
+ config
8961
+ ),
9341
8962
  queryKey,
9342
8963
  ...queryOptions2
9343
8964
  },
@@ -9370,11 +8991,17 @@ function retrieveToolQueryOptions(tool_id, config = {}) {
9370
8991
  });
9371
8992
  }
9372
8993
  function useRetrieveTool(tool_id, options = {}) {
9373
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
8994
+ const {
8995
+ query: { client: queryClient, ...queryOptions2 } = {},
8996
+ client: config = {}
8997
+ } = options ?? {};
9374
8998
  const queryKey = queryOptions2?.queryKey ?? retrieveToolQueryKey(tool_id);
9375
8999
  const query = useQuery(
9376
9000
  {
9377
- ...retrieveToolQueryOptions(tool_id, config),
9001
+ ...retrieveToolQueryOptions(
9002
+ tool_id,
9003
+ config
9004
+ ),
9378
9005
  queryKey,
9379
9006
  ...queryOptions2
9380
9007
  },
@@ -9407,11 +9034,17 @@ function retrieveToolSuspenseQueryOptions(tool_id, config = {}) {
9407
9034
  });
9408
9035
  }
9409
9036
  function useRetrieveToolSuspense(tool_id, options = {}) {
9410
- const { query: { client: queryClient, ...queryOptions2 } = {}, client: config = {} } = options ?? {};
9037
+ const {
9038
+ query: { client: queryClient, ...queryOptions2 } = {},
9039
+ client: config = {}
9040
+ } = options ?? {};
9411
9041
  const queryKey = queryOptions2?.queryKey ?? retrieveToolSuspenseQueryKey(tool_id);
9412
9042
  const query = useSuspenseQuery(
9413
9043
  {
9414
- ...retrieveToolSuspenseQueryOptions(tool_id, config),
9044
+ ...retrieveToolSuspenseQueryOptions(
9045
+ tool_id,
9046
+ config
9047
+ ),
9415
9048
  queryKey,
9416
9049
  ...queryOptions2
9417
9050
  },
@@ -9434,7 +9067,10 @@ async function runToolFromSource(data, config = {}) {
9434
9067
  return res;
9435
9068
  }
9436
9069
  function useRunToolFromSource(options = {}) {
9437
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
9070
+ const {
9071
+ mutation: { client: queryClient, ...mutationOptions } = {},
9072
+ client: config = {}
9073
+ } = options ?? {};
9438
9074
  const mutationKey = mutationOptions?.mutationKey ?? runToolFromSourceMutationKey();
9439
9075
  return useMutation(
9440
9076
  {
@@ -9461,7 +9097,10 @@ async function upsertTool(data, config = {}) {
9461
9097
  return res;
9462
9098
  }
9463
9099
  function useUpsertTool(options = {}) {
9464
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
9100
+ const {
9101
+ mutation: { client: queryClient, ...mutationOptions } = {},
9102
+ client: config = {}
9103
+ } = options ?? {};
9465
9104
  const mutationKey = mutationOptions?.mutationKey ?? upsertToolMutationKey();
9466
9105
  return useMutation(
9467
9106
  {
@@ -9479,11 +9118,20 @@ function useUpsertTool(options = {}) {
9479
9118
  var createVoiceChatCompletionsMutationKey = () => [{ url: "/v1/voice-beta/{agent_id}/chat/completions" }];
9480
9119
  async function createVoiceChatCompletions(agent_id, data, headers, config = {}) {
9481
9120
  const { client: request = axios_default2, ...requestConfig } = config;
9482
- const res = await request({ method: "POST", url: `/v1/voice-beta/${agent_id}/chat/completions`, data, ...requestConfig, headers: { ...headers, ...requestConfig.headers } });
9121
+ const res = await request({
9122
+ method: "POST",
9123
+ url: `/v1/voice-beta/${agent_id}/chat/completions`,
9124
+ data,
9125
+ ...requestConfig,
9126
+ headers: { ...headers, ...requestConfig.headers }
9127
+ });
9483
9128
  return res;
9484
9129
  }
9485
9130
  function useCreateVoiceChatCompletions(options = {}) {
9486
- const { mutation: { client: queryClient, ...mutationOptions } = {}, client: config = {} } = options ?? {};
9131
+ const {
9132
+ mutation: { client: queryClient, ...mutationOptions } = {},
9133
+ client: config = {}
9134
+ } = options ?? {};
9487
9135
  const mutationKey = mutationOptions?.mutationKey ?? createVoiceChatCompletionsMutationKey();
9488
9136
  return useMutation(
9489
9137
  {
@@ -10598,28 +10246,4 @@ export {
10598
10246
  userMessageMessageTypeEnum,
10599
10247
  webSearchOptionsSearchContextSizeEnum
10600
10248
  };
10601
- /*! Bundled license information:
10602
-
10603
- react/cjs/react.development.js:
10604
- (**
10605
- * @license React
10606
- * react.development.js
10607
- *
10608
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10609
- *
10610
- * This source code is licensed under the MIT license found in the
10611
- * LICENSE file in the root directory of this source tree.
10612
- *)
10613
-
10614
- react/cjs/react-jsx-runtime.development.js:
10615
- (**
10616
- * @license React
10617
- * react-jsx-runtime.development.js
10618
- *
10619
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10620
- *
10621
- * This source code is licensed under the MIT license found in the
10622
- * LICENSE file in the root directory of this source tree.
10623
- *)
10624
- */
10625
10249
  //# sourceMappingURL=index.js.map