@letta-ai/letta-react 0.0.9 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -132
- package/dist/hooks/agentsHooks/index.d.ts +72 -0
- package/dist/hooks/agentsHooks/useAgents/createTemplateFromAgent.d.ts +39 -0
- package/dist/hooks/agentsHooks/useAgents/getAgentVariables.d.ts +63 -0
- package/dist/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useAgents/index.d.ts +12 -0
- package/dist/hooks/agentsHooks/useAgents/migrateAgent.d.ts +39 -0
- package/dist/hooks/agentsHooks/useAgents/searchDeployedAgents.d.ts +37 -0
- package/dist/hooks/agentsHooks/useAgents/versionAgentTemplate.d.ts +41 -0
- package/dist/hooks/agentsHooks/useCreateAgent.d.ts +39 -0
- package/dist/hooks/agentsHooks/useCreateAgentMessageAsync.d.ts +39 -0
- package/dist/hooks/agentsHooks/useCreateAgentMessageStream.d.ts +39 -0
- package/dist/hooks/agentsHooks/useCreatePassage.d.ts +39 -0
- package/dist/hooks/agentsHooks/useDeleteAgent.d.ts +37 -0
- package/dist/hooks/agentsHooks/useDeletePassage.d.ts +39 -0
- package/dist/hooks/agentsHooks/useExportAgentSerialized.d.ts +63 -0
- package/dist/hooks/agentsHooks/useExportAgentSerializedSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useImportAgentSerialized.d.ts +39 -0
- package/dist/hooks/agentsHooks/useListAgentSources.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListAgentSourcesSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListAgentTools.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListAgentToolsSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListAgents.d.ts +51 -0
- package/dist/hooks/agentsHooks/useListAgentsSuspense.d.ts +51 -0
- package/dist/hooks/agentsHooks/useListCoreMemoryBlocks.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListMessages.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListMessagesSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListPassages.d.ts +63 -0
- package/dist/hooks/agentsHooks/useListPassagesSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgent.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgentContextWindow.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgentMemory.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgentMemorySuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveAgentSuspense.d.ts +63 -0
- package/dist/hooks/agentsHooks/useRetrieveCoreMemoryBlock.d.ts +67 -0
- package/dist/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.d.ts +67 -0
- package/dist/hooks/agentsHooks/useSendMessage.d.ts +39 -0
- package/dist/hooks/blocksHooks/index.d.ts +16 -0
- package/dist/hooks/blocksHooks/useCreateBlock.d.ts +35 -0
- package/dist/hooks/blocksHooks/useDeleteBlock.d.ts +35 -0
- package/dist/hooks/blocksHooks/useListAgentsForBlock.d.ts +63 -0
- package/dist/hooks/blocksHooks/useListAgentsForBlockSuspense.d.ts +63 -0
- package/dist/hooks/blocksHooks/useListBlocks.d.ts +49 -0
- package/dist/hooks/blocksHooks/useListBlocksSuspense.d.ts +49 -0
- package/dist/hooks/blocksHooks/useRetrieveBlock.d.ts +61 -0
- package/dist/hooks/blocksHooks/useRetrieveBlockSuspense.d.ts +61 -0
- package/dist/hooks/clientSideAccessTokensHooks/index.d.ts +4 -0
- package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.d.ts +37 -0
- package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.d.ts +39 -0
- package/dist/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.d.ts +4 -0
- package/dist/hooks/groupsHooks/index.d.ts +20 -0
- package/dist/hooks/groupsHooks/useCreateGroup.d.ts +39 -0
- package/dist/hooks/groupsHooks/useDeleteGroup.d.ts +37 -0
- package/dist/hooks/groupsHooks/useListGroupMessages.d.ts +63 -0
- package/dist/hooks/groupsHooks/useListGroupMessagesSuspense.d.ts +63 -0
- package/dist/hooks/groupsHooks/useListGroups.d.ts +51 -0
- package/dist/hooks/groupsHooks/useListGroupsSuspense.d.ts +51 -0
- package/dist/hooks/groupsHooks/useRetrieveGroup.d.ts +63 -0
- package/dist/hooks/groupsHooks/useRetrieveGroupSuspense.d.ts +63 -0
- package/dist/hooks/groupsHooks/useSendGroupMessage.d.ts +39 -0
- package/dist/hooks/groupsHooks/useSendGroupMessageStreaming.d.ts +39 -0
- package/dist/hooks/healthHooks/index.d.ts +4 -0
- package/dist/hooks/healthHooks/useHealthCheck.d.ts +49 -0
- package/dist/hooks/healthHooks/useHealthCheckSuspense.d.ts +49 -0
- package/dist/hooks/identitiesHooks/index.d.ts +16 -0
- package/dist/hooks/identitiesHooks/useCreateIdentity.d.ts +37 -0
- package/dist/hooks/identitiesHooks/useDeleteIdentity.d.ts +37 -0
- package/dist/hooks/identitiesHooks/useListIdentities.d.ts +51 -0
- package/dist/hooks/identitiesHooks/useListIdentitiesSuspense.d.ts +51 -0
- package/dist/hooks/identitiesHooks/useRetrieveIdentity.d.ts +61 -0
- package/dist/hooks/identitiesHooks/useRetrieveIdentitySuspense.d.ts +61 -0
- package/dist/hooks/identitiesHooks/useUpsertIdentity.d.ts +37 -0
- package/dist/hooks/identitiesHooks/useUpsertIdentityProperties.d.ts +37 -0
- package/dist/hooks/index.d.ts +274 -0
- package/dist/hooks/jobsHooks/index.d.ts +14 -0
- package/dist/hooks/jobsHooks/useDeleteJob.d.ts +37 -0
- package/dist/hooks/jobsHooks/useListActiveJobs.d.ts +51 -0
- package/dist/hooks/jobsHooks/useListActiveJobsSuspense.d.ts +51 -0
- package/dist/hooks/jobsHooks/useListJobs.d.ts +51 -0
- package/dist/hooks/jobsHooks/useListJobsSuspense.d.ts +51 -0
- package/dist/hooks/jobsHooks/useRetrieveJob.d.ts +63 -0
- package/dist/hooks/jobsHooks/useRetrieveJobSuspense.d.ts +63 -0
- package/dist/hooks/modelsHooks/index.d.ts +8 -0
- package/dist/hooks/modelsHooks/useListEmbeddingModels.d.ts +49 -0
- package/dist/hooks/modelsHooks/useListEmbeddingModelsSuspense.d.ts +49 -0
- package/dist/hooks/modelsHooks/useListModels.d.ts +49 -0
- package/dist/hooks/modelsHooks/useListModelsSuspense.d.ts +49 -0
- package/dist/hooks/providersHooks/index.d.ts +8 -0
- package/dist/hooks/providersHooks/useCreateProvider.d.ts +37 -0
- package/dist/hooks/providersHooks/useDeleteProvider.d.ts +37 -0
- package/dist/hooks/providersHooks/useListProviders.d.ts +51 -0
- package/dist/hooks/providersHooks/useListProvidersSuspense.d.ts +51 -0
- package/dist/hooks/runsHooks/index.d.ts +26 -0
- package/dist/hooks/runsHooks/useDeleteRun.d.ts +37 -0
- package/dist/hooks/runsHooks/useListActiveRuns.d.ts +51 -0
- package/dist/hooks/runsHooks/useListActiveRunsSuspense.d.ts +51 -0
- package/dist/hooks/runsHooks/useListRunMessages.d.ts +63 -0
- package/dist/hooks/runsHooks/useListRunMessagesSuspense.d.ts +63 -0
- package/dist/hooks/runsHooks/useListRunSteps.d.ts +63 -0
- package/dist/hooks/runsHooks/useListRunStepsSuspense.d.ts +63 -0
- package/dist/hooks/runsHooks/useListRuns.d.ts +51 -0
- package/dist/hooks/runsHooks/useListRunsSuspense.d.ts +51 -0
- package/dist/hooks/runsHooks/useRetrieveRun.d.ts +63 -0
- package/dist/hooks/runsHooks/useRetrieveRunSuspense.d.ts +63 -0
- package/dist/hooks/runsHooks/useRetrieveRunUsage.d.ts +63 -0
- package/dist/hooks/runsHooks/useRetrieveRunUsageSuspense.d.ts +63 -0
- package/dist/hooks/sourcesHooks/index.d.ts +28 -0
- package/dist/hooks/sourcesHooks/useCreateSource.d.ts +37 -0
- package/dist/hooks/sourcesHooks/useDeleteFileFromSource.d.ts +39 -0
- package/dist/hooks/sourcesHooks/useDeleteSource.d.ts +37 -0
- package/dist/hooks/sourcesHooks/useGetSourceIdByName.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useGetSourceIdByNameSuspense.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useListSourceFiles.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useListSourceFilesSuspense.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useListSourcePassages.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useListSourcePassagesSuspense.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useListSources.d.ts +51 -0
- package/dist/hooks/sourcesHooks/useListSourcesSuspense.d.ts +51 -0
- package/dist/hooks/sourcesHooks/useRetrieveSource.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useRetrieveSourceSuspense.d.ts +63 -0
- package/dist/hooks/sourcesHooks/useUploadFileToSource.d.ts +39 -0
- package/dist/hooks/stepsHooks/index.d.ts +8 -0
- package/dist/hooks/stepsHooks/useListSteps.d.ts +51 -0
- package/dist/hooks/stepsHooks/useListStepsSuspense.d.ts +51 -0
- package/dist/hooks/stepsHooks/useRetrieveStep.d.ts +63 -0
- package/dist/hooks/stepsHooks/useRetrieveStepSuspense.d.ts +63 -0
- package/dist/hooks/tagHooks/index.d.ts +4 -0
- package/dist/hooks/tagHooks/useListTags.d.ts +51 -0
- package/dist/hooks/tagHooks/useListTagsSuspense.d.ts +51 -0
- package/dist/hooks/templatesHooks/index.d.ts +2 -0
- package/dist/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.d.ts +41 -0
- package/dist/hooks/templatesHooks/useTemplates/index.d.ts +2 -0
- package/dist/hooks/toolsHooks/index.d.ts +42 -0
- package/dist/hooks/toolsHooks/useAddBaseTools.d.ts +33 -0
- package/dist/hooks/toolsHooks/useAddComposioTool.d.ts +37 -0
- package/dist/hooks/toolsHooks/useAddMcpServer.d.ts +37 -0
- package/dist/hooks/toolsHooks/useAddMcpTool.d.ts +39 -0
- package/dist/hooks/toolsHooks/useCreateTool.d.ts +37 -0
- package/dist/hooks/toolsHooks/useDeleteMcpServer.d.ts +37 -0
- package/dist/hooks/toolsHooks/useDeleteTool.d.ts +37 -0
- package/dist/hooks/toolsHooks/useListComposioActionsByApp.d.ts +63 -0
- package/dist/hooks/toolsHooks/useListComposioActionsByAppSuspense.d.ts +63 -0
- package/dist/hooks/toolsHooks/useListComposioApps.d.ts +51 -0
- package/dist/hooks/toolsHooks/useListComposioAppsSuspense.d.ts +51 -0
- package/dist/hooks/toolsHooks/useListMcpServers.d.ts +51 -0
- package/dist/hooks/toolsHooks/useListMcpServersSuspense.d.ts +51 -0
- package/dist/hooks/toolsHooks/useListMcpToolsByServer.d.ts +63 -0
- package/dist/hooks/toolsHooks/useListMcpToolsByServerSuspense.d.ts +63 -0
- package/dist/hooks/toolsHooks/useListTools.d.ts +51 -0
- package/dist/hooks/toolsHooks/useListToolsSuspense.d.ts +51 -0
- package/dist/hooks/toolsHooks/useRetrieveTool.d.ts +63 -0
- package/dist/hooks/toolsHooks/useRetrieveToolSuspense.d.ts +63 -0
- package/dist/hooks/toolsHooks/useRunToolFromSource.d.ts +37 -0
- package/dist/hooks/toolsHooks/useUpsertTool.d.ts +37 -0
- package/dist/hooks/voiceHooks/index.d.ts +2 -0
- package/dist/hooks/voiceHooks/useCreateVoiceChatCompletions.d.ts +39 -0
- package/dist/index.d.ts +602 -4
- package/dist/index.js +10249 -4
- package/dist/index.js.map +7 -0
- package/dist/types/ActionModel.d.ts +54 -0
- package/dist/types/ActionParametersModel.d.ts +25 -0
- package/dist/types/ActionResponseModel.d.ts +25 -0
- package/dist/types/AddBaseTools.d.ts +19 -0
- package/dist/types/AddComposioTool.d.ts +26 -0
- package/dist/types/AddMcpServer.d.ts +22 -0
- package/dist/types/AddMcpTool.d.ts +30 -0
- package/dist/types/AgentEnvironmentVariable.d.ts +47 -0
- package/dist/types/AgentSchema.d.ts +86 -0
- package/dist/types/AgentState.d.ts +140 -0
- package/dist/types/AgentType.d.ts +14 -0
- package/dist/types/AppAuthScheme.d.ts +44 -0
- package/dist/types/AppModel.d.ts +56 -0
- package/dist/types/AssistantMessage.d.ts +33 -0
- package/dist/types/AttachCoreMemoryBlock.d.ts +30 -0
- package/dist/types/AttachSourceToAgent.d.ts +30 -0
- package/dist/types/AttachTool.d.ts +30 -0
- package/dist/types/Audio.d.ts +10 -0
- package/dist/types/AuthRequest.d.ts +11 -0
- package/dist/types/AuthResponse.d.ts +15 -0
- package/dist/types/AuthSchemeField.d.ts +34 -0
- package/dist/types/BaseToolRuleSchema.d.ts +14 -0
- package/dist/types/Block.d.ts +59 -0
- package/dist/types/BlockUpdate.d.ts +42 -0
- package/dist/types/BodyImportAgentSerialized.d.ts +10 -0
- package/dist/types/BodyUploadFileToSource.d.ts +10 -0
- package/dist/types/ChatCompletionAssistantMessageParam.d.ts +27 -0
- package/dist/types/ChatCompletionAudioParam.d.ts +33 -0
- package/dist/types/ChatCompletionContentPartImageParam.d.ts +15 -0
- package/dist/types/ChatCompletionContentPartInputAudioParam.d.ts +15 -0
- package/dist/types/ChatCompletionContentPartRefusalParam.d.ts +14 -0
- package/dist/types/ChatCompletionContentPartTextParam.d.ts +14 -0
- package/dist/types/ChatCompletionDeveloperMessageParam.d.ts +16 -0
- package/dist/types/ChatCompletionFunctionCallOptionParam.d.ts +10 -0
- package/dist/types/ChatCompletionFunctionMessageParam.d.ts +15 -0
- package/dist/types/ChatCompletionMessageToolCall.d.ts +20 -0
- package/dist/types/ChatCompletionMessageToolCallParam.d.ts +19 -0
- package/dist/types/ChatCompletionNamedToolChoiceParam.d.ts +15 -0
- package/dist/types/ChatCompletionPredictionContentParam.d.ts +12 -0
- package/dist/types/ChatCompletionStreamOptionsParam.d.ts +10 -0
- package/dist/types/ChatCompletionSystemMessageParam.d.ts +16 -0
- package/dist/types/ChatCompletionToolMessageParam.d.ts +16 -0
- package/dist/types/ChatCompletionToolParam.d.ts +15 -0
- package/dist/types/ChatCompletionUserMessageParam.d.ts +19 -0
- package/dist/types/ChildToolRule.d.ts +24 -0
- package/dist/types/ChildToolRuleSchema.d.ts +18 -0
- package/dist/types/CompletionCreateParamsNonStreaming.d.ts +149 -0
- package/dist/types/CompletionCreateParamsStreaming.d.ts +152 -0
- package/dist/types/ConditionalToolRule.d.ts +36 -0
- package/dist/types/ConditionalToolRuleSchema.d.ts +25 -0
- package/dist/types/ContextWindowOverview.d.ts +94 -0
- package/dist/types/ContinueToolRule.d.ts +19 -0
- package/dist/types/CoreMemoryBlockSchema.d.ts +35 -0
- package/dist/types/CreateAgent.d.ts +26 -0
- package/dist/types/CreateAgentMessageAsync.d.ts +29 -0
- package/dist/types/CreateAgentMessageStream.d.ts +28 -0
- package/dist/types/CreateAgentRequest.d.ts +185 -0
- package/dist/types/CreateArchivalMemory.d.ts +11 -0
- package/dist/types/CreateBlock.d.ts +62 -0
- package/dist/types/CreateGroup.d.ts +26 -0
- package/dist/types/CreateIdentity.d.ts +26 -0
- package/dist/types/CreatePassage.d.ts +29 -0
- package/dist/types/CreateProvider.d.ts +22 -0
- package/dist/types/CreateSource.d.ts +22 -0
- package/dist/types/CreateTool.d.ts +22 -0
- package/dist/types/CreateVoiceChatCompletions.d.ts +33 -0
- package/dist/types/DeleteAgent.d.ts +25 -0
- package/dist/types/DeleteBlock.d.ts +26 -0
- package/dist/types/DeleteFileFromSource.d.ts +29 -0
- package/dist/types/DeleteGroup.d.ts +25 -0
- package/dist/types/DeleteIdentity.d.ts +25 -0
- package/dist/types/DeleteJob.d.ts +26 -0
- package/dist/types/DeleteMcpServer.d.ts +27 -0
- package/dist/types/DeletePassage.d.ts +29 -0
- package/dist/types/DeleteProvider.d.ts +26 -0
- package/dist/types/DeleteRun.d.ts +26 -0
- package/dist/types/DeleteSource.d.ts +25 -0
- package/dist/types/DeleteTool.d.ts +25 -0
- package/dist/types/DetachCoreMemoryBlock.d.ts +30 -0
- package/dist/types/DetachSourceFromAgent.d.ts +30 -0
- package/dist/types/DetachTool.d.ts +30 -0
- package/dist/types/DynamicManager.d.ts +20 -0
- package/dist/types/DynamicManagerUpdate.d.ts +14 -0
- package/dist/types/E2BSandboxConfig.d.ts +20 -0
- package/dist/types/EmbeddingConfig.d.ts +71 -0
- package/dist/types/ExportAgentSerialized.d.ts +28 -0
- package/dist/types/File.d.ts +15 -0
- package/dist/types/FileFile.d.ts +18 -0
- package/dist/types/FileMetadata.d.ts +58 -0
- package/dist/types/FunctionCall.d.ts +14 -0
- package/dist/types/FunctionDefinitionInput.d.ts +21 -0
- package/dist/types/FunctionDefinitionOutput.d.ts +16 -0
- package/dist/types/FunctionOutput.d.ts +15 -0
- package/dist/types/FunctionTool.d.ts +16 -0
- package/dist/types/GetSourceIdByName.d.ts +25 -0
- package/dist/types/Group.d.ts +34 -0
- package/dist/types/GroupCreate.d.ts +26 -0
- package/dist/types/GroupUpdate.d.ts +14 -0
- package/dist/types/HTTPValidationError.d.ts +11 -0
- package/dist/types/Health.d.ts +17 -0
- package/dist/types/HealthCheck.d.ts +14 -0
- package/dist/types/HiddenReasoningMessage.d.ts +38 -0
- package/dist/types/Identity.d.ts +47 -0
- package/dist/types/IdentityCreate.d.ts +38 -0
- package/dist/types/IdentityProperty.d.ts +25 -0
- package/dist/types/IdentityPropertyType.d.ts +15 -0
- package/dist/types/IdentityType.d.ts +14 -0
- package/dist/types/IdentityUpdate.d.ts +32 -0
- package/dist/types/IdentityUpsert.d.ts +38 -0
- package/dist/types/ImageURL.d.ts +20 -0
- package/dist/types/ImportAgentSerialized.d.ts +47 -0
- package/dist/types/InitToolRule.d.ts +19 -0
- package/dist/types/InputAudio.d.ts +19 -0
- package/dist/types/JSONSchema.d.ts +21 -0
- package/dist/types/Job.d.ts +51 -0
- package/dist/types/JobStatus.d.ts +18 -0
- package/dist/types/JobType.d.ts +10 -0
- package/dist/types/LLMConfig.d.ts +89 -0
- package/dist/types/LettaAssistantMessageContentUnion.d.ts +12 -0
- package/dist/types/LettaMessageContentUnion.d.ts +32 -0
- package/dist/types/LettaMessageUnion.d.ts +36 -0
- package/dist/types/LettaRequest.d.ts +30 -0
- package/dist/types/LettaRequestConfig.d.ts +24 -0
- package/dist/types/LettaResponse.d.ts +20 -0
- package/dist/types/LettaStreamingRequest.d.ts +36 -0
- package/dist/types/LettaUsageStatistics.d.ts +47 -0
- package/dist/types/LettaUserMessageContentUnion.d.ts +12 -0
- package/dist/types/ListActiveJobs.d.ts +19 -0
- package/dist/types/ListActiveRuns.d.ts +26 -0
- package/dist/types/ListAgentSources.d.ts +26 -0
- package/dist/types/ListAgentTools.d.ts +26 -0
- package/dist/types/ListAgents.d.ts +83 -0
- package/dist/types/ListAgentsForBlock.d.ts +26 -0
- package/dist/types/ListBlocks.d.ts +44 -0
- package/dist/types/ListComposioActionsByApp.d.ts +26 -0
- package/dist/types/ListComposioApps.d.ts +23 -0
- package/dist/types/ListCoreMemoryBlocks.d.ts +26 -0
- package/dist/types/ListEmbeddingModels.d.ts +14 -0
- package/dist/types/ListGroupMessages.d.ts +61 -0
- package/dist/types/ListGroups.d.ts +43 -0
- package/dist/types/ListIdentities.d.ts +33 -0
- package/dist/types/ListJobs.d.ts +26 -0
- package/dist/types/ListMcpServers.d.ts +26 -0
- package/dist/types/ListMcpToolsByServer.d.ts +26 -0
- package/dist/types/ListMessages.d.ts +65 -0
- package/dist/types/ListModels.d.ts +14 -0
- package/dist/types/ListPassages.d.ts +50 -0
- package/dist/types/ListProviders.d.ts +27 -0
- package/dist/types/ListRunMessages.d.ts +53 -0
- package/dist/types/ListRunSteps.d.ts +48 -0
- package/dist/types/ListRuns.d.ts +26 -0
- package/dist/types/ListSourceFiles.d.ts +39 -0
- package/dist/types/ListSourcePassages.d.ts +26 -0
- package/dist/types/ListSources.d.ts +19 -0
- package/dist/types/ListSteps.d.ts +56 -0
- package/dist/types/ListTags.d.ts +27 -0
- package/dist/types/ListTools.d.ts +28 -0
- package/dist/types/LocalSandboxConfig.d.ts +28 -0
- package/dist/types/MCPServerType.d.ts +10 -0
- package/dist/types/MCPTool.d.ts +21 -0
- package/dist/types/ManagerType.d.ts +13 -0
- package/dist/types/MaxCountPerStepToolRule.d.ts +24 -0
- package/dist/types/MaxCountPerStepToolRuleSchema.d.ts +18 -0
- package/dist/types/Memory.d.ts +21 -0
- package/dist/types/Message.d.ts +85 -0
- package/dist/types/MessageCreate.d.ts +32 -0
- package/dist/types/MessageRole.d.ts +13 -0
- package/dist/types/MessageSchema.d.ts +35 -0
- package/dist/types/ModifyAgent.d.ts +29 -0
- package/dist/types/ModifyBlock.d.ts +29 -0
- package/dist/types/ModifyCoreMemoryBlock.d.ts +33 -0
- package/dist/types/ModifyGroup.d.ts +33 -0
- package/dist/types/ModifyGroupMessage.d.ts +42 -0
- package/dist/types/ModifyMessage.d.ts +42 -0
- package/dist/types/ModifyPassage.d.ts +33 -0
- package/dist/types/ModifyProvider.d.ts +22 -0
- package/dist/types/ModifySource.d.ts +29 -0
- package/dist/types/ModifyTool.d.ts +29 -0
- package/dist/types/OmittedReasoningContent.d.ts +21 -0
- package/dist/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +14 -0
- package/dist/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +10 -0
- package/dist/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +20 -0
- package/dist/types/Organization.d.ts +28 -0
- package/dist/types/OrganizationCreate.d.ts +15 -0
- package/dist/types/OrganizationUpdate.d.ts +15 -0
- package/dist/types/ParameterProperties.d.ts +11 -0
- package/dist/types/ParametersSchema.d.ts +21 -0
- package/dist/types/ParentToolRule.d.ts +24 -0
- package/dist/types/Passage.d.ts +71 -0
- package/dist/types/PassageUpdate.d.ts +65 -0
- package/dist/types/PipRequirement.d.ts +16 -0
- package/dist/types/Provider.d.ts +23 -0
- package/dist/types/ProviderCreate.d.ts +16 -0
- package/dist/types/ProviderUpdate.d.ts +16 -0
- package/dist/types/ReasoningContent.d.ts +30 -0
- package/dist/types/ReasoningMessage.d.ts +43 -0
- package/dist/types/RedactedReasoningContent.d.ts +21 -0
- package/dist/types/ResetGroupMessages.d.ts +25 -0
- package/dist/types/ResetMessages.d.ts +35 -0
- package/dist/types/ResponseFormatJSONObject.d.ts +10 -0
- package/dist/types/ResponseFormatJSONSchema.d.ts +15 -0
- package/dist/types/ResponseFormatText.d.ts +10 -0
- package/dist/types/RetrieveAgent.d.ts +26 -0
- package/dist/types/RetrieveAgentContextWindow.d.ts +26 -0
- package/dist/types/RetrieveAgentMemory.d.ts +26 -0
- package/dist/types/RetrieveBlock.d.ts +26 -0
- package/dist/types/RetrieveCoreMemoryBlock.d.ts +30 -0
- package/dist/types/RetrieveGroup.d.ts +26 -0
- package/dist/types/RetrieveIdentity.d.ts +26 -0
- package/dist/types/RetrieveJob.d.ts +26 -0
- package/dist/types/RetrieveRun.d.ts +26 -0
- package/dist/types/RetrieveRunUsage.d.ts +26 -0
- package/dist/types/RetrieveSource.d.ts +26 -0
- package/dist/types/RetrieveStep.d.ts +26 -0
- package/dist/types/RetrieveTool.d.ts +26 -0
- package/dist/types/RoundRobinManager.d.ts +12 -0
- package/dist/types/RoundRobinManagerUpdate.d.ts +12 -0
- package/dist/types/Run.d.ts +56 -0
- package/dist/types/RunToolFromSource.d.ts +22 -0
- package/dist/types/SSEServerConfig.d.ts +21 -0
- package/dist/types/SandboxConfig.d.ts +40 -0
- package/dist/types/SandboxConfigCreate.d.ts +12 -0
- package/dist/types/SandboxConfigUpdate.d.ts +15 -0
- package/dist/types/SandboxEnvironmentVariable.d.ts +47 -0
- package/dist/types/SandboxEnvironmentVariableCreate.d.ts +20 -0
- package/dist/types/SandboxEnvironmentVariableUpdate.d.ts +18 -0
- package/dist/types/SandboxType.d.ts +10 -0
- package/dist/types/SendGroupMessage.d.ts +29 -0
- package/dist/types/SendGroupMessageStreaming.d.ts +28 -0
- package/dist/types/SendMessage.d.ts +29 -0
- package/dist/types/SleeptimeManager.d.ts +16 -0
- package/dist/types/SleeptimeManagerUpdate.d.ts +13 -0
- package/dist/types/Source.d.ts +51 -0
- package/dist/types/SourceCreate.d.ts +37 -0
- package/dist/types/SourceUpdate.d.ts +28 -0
- package/dist/types/StdioServerConfig.d.ts +32 -0
- package/dist/types/Step.d.ts +80 -0
- package/dist/types/SupervisorManager.d.ts +15 -0
- package/dist/types/SupervisorManagerUpdate.d.ts +12 -0
- package/dist/types/SystemMessage.d.ts +33 -0
- package/dist/types/TagSchema.d.ts +10 -0
- package/dist/types/TerminalToolRule.d.ts +19 -0
- package/dist/types/TextContent.d.ts +21 -0
- package/dist/types/Tool.d.ts +73 -0
- package/dist/types/ToolCall.d.ts +18 -0
- package/dist/types/ToolCallContent.d.ts +34 -0
- package/dist/types/ToolCallDelta.d.ts +9 -0
- package/dist/types/ToolCallMessage.d.ts +31 -0
- package/dist/types/ToolCreate.d.ts +44 -0
- package/dist/types/ToolEnvVarSchema.d.ts +23 -0
- package/dist/types/ToolJSONSchema.d.ts +21 -0
- package/dist/types/ToolReturn.d.ts +24 -0
- package/dist/types/ToolReturnContent.d.ts +27 -0
- package/dist/types/ToolReturnMessage.d.ts +47 -0
- package/dist/types/ToolRunFromSource.d.ts +45 -0
- package/dist/types/ToolSchema.d.ts +48 -0
- package/dist/types/ToolType.d.ts +16 -0
- package/dist/types/ToolUpdate.d.ts +38 -0
- package/dist/types/UpdateAgent.d.ts +103 -0
- package/dist/types/UpdateAssistantMessage.d.ts +16 -0
- package/dist/types/UpdateIdentity.d.ts +29 -0
- package/dist/types/UpdateReasoningMessage.d.ts +15 -0
- package/dist/types/UpdateSystemMessage.d.ts +16 -0
- package/dist/types/UpdateUserMessage.d.ts +16 -0
- package/dist/types/UploadFileToSource.d.ts +29 -0
- package/dist/types/UpsertIdentity.d.ts +26 -0
- package/dist/types/UpsertIdentityProperties.d.ts +28 -0
- package/dist/types/UpsertTool.d.ts +22 -0
- package/dist/types/UsageStatistics.d.ts +21 -0
- package/dist/types/User.d.ts +34 -0
- package/dist/types/UserCreate.d.ts +11 -0
- package/dist/types/UserMessage.d.ts +33 -0
- package/dist/types/UserUpdate.d.ts +15 -0
- package/dist/types/ValidationError.d.ts +18 -0
- package/dist/types/WebSearchOptions.d.ts +18 -0
- package/dist/types/WebSearchOptionsUserLocation.d.ts +15 -0
- package/dist/types/WebSearchOptionsUserLocationApproximate.d.ts +22 -0
- package/dist/types/agents/CreateTemplateFromAgent.d.ts +52 -0
- package/dist/types/agents/GetAgentVariables.d.ts +40 -0
- package/dist/types/agents/MigrateAgent.d.ts +90 -0
- package/dist/types/agents/SearchDeployedAgents.d.ts +130 -0
- package/dist/types/agents/VersionAgentTemplate.d.ts +69 -0
- package/dist/types/agents/index.d.ts +10 -0
- package/dist/types/clientSideAccessTokens/CreateClientSideAccessToken.d.ts +120 -0
- package/dist/types/clientSideAccessTokens/DeleteClientSideAccessToken.d.ts +35 -0
- package/dist/types/clientSideAccessTokens/index.d.ts +3 -0
- package/dist/types/index.d.ts +328 -0
- package/dist/types/templates/CreateAgentsFromTemplate.d.ts +67 -0
- package/dist/types/templates/index.d.ts +1 -0
- package/hooks/agentsHooks/index.d.ts +72 -0
- package/hooks/agentsHooks/useAgents/createTemplateFromAgent.d.ts +39 -0
- package/hooks/agentsHooks/useAgents/getAgentVariables.d.ts +63 -0
- package/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useAgents/index.d.ts +12 -0
- package/hooks/agentsHooks/useAgents/migrateAgent.d.ts +39 -0
- package/hooks/agentsHooks/useAgents/searchDeployedAgents.d.ts +37 -0
- package/hooks/agentsHooks/useAgents/versionAgentTemplate.d.ts +41 -0
- package/hooks/agentsHooks/useCreateAgent.d.ts +39 -0
- package/hooks/agentsHooks/useCreateAgentMessageAsync.d.ts +39 -0
- package/hooks/agentsHooks/useCreateAgentMessageStream.d.ts +39 -0
- package/hooks/agentsHooks/useCreatePassage.d.ts +39 -0
- package/hooks/agentsHooks/useDeleteAgent.d.ts +37 -0
- package/hooks/agentsHooks/useDeletePassage.d.ts +39 -0
- package/hooks/agentsHooks/useExportAgentSerialized.d.ts +63 -0
- package/hooks/agentsHooks/useExportAgentSerializedSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useImportAgentSerialized.d.ts +39 -0
- package/hooks/agentsHooks/useListAgentSources.d.ts +63 -0
- package/hooks/agentsHooks/useListAgentSourcesSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useListAgentTools.d.ts +63 -0
- package/hooks/agentsHooks/useListAgentToolsSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useListAgents.d.ts +51 -0
- package/hooks/agentsHooks/useListAgentsSuspense.d.ts +51 -0
- package/hooks/agentsHooks/useListCoreMemoryBlocks.d.ts +63 -0
- package/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useListMessages.d.ts +63 -0
- package/hooks/agentsHooks/useListMessagesSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useListPassages.d.ts +63 -0
- package/hooks/agentsHooks/useListPassagesSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgent.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgentContextWindow.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgentMemory.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgentMemorySuspense.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveAgentSuspense.d.ts +63 -0
- package/hooks/agentsHooks/useRetrieveCoreMemoryBlock.d.ts +67 -0
- package/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.d.ts +67 -0
- package/hooks/agentsHooks/useSendMessage.d.ts +39 -0
- package/hooks/blocksHooks/index.d.ts +16 -0
- package/hooks/blocksHooks/useCreateBlock.d.ts +35 -0
- package/hooks/blocksHooks/useDeleteBlock.d.ts +35 -0
- package/hooks/blocksHooks/useListAgentsForBlock.d.ts +63 -0
- package/hooks/blocksHooks/useListAgentsForBlockSuspense.d.ts +63 -0
- package/hooks/blocksHooks/useListBlocks.d.ts +49 -0
- package/hooks/blocksHooks/useListBlocksSuspense.d.ts +49 -0
- package/hooks/blocksHooks/useRetrieveBlock.d.ts +61 -0
- package/hooks/blocksHooks/useRetrieveBlockSuspense.d.ts +61 -0
- package/hooks/clientSideAccessTokensHooks/index.d.ts +4 -0
- package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.d.ts +37 -0
- package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.d.ts +39 -0
- package/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.d.ts +4 -0
- package/hooks/groupsHooks/index.d.ts +20 -0
- package/hooks/groupsHooks/useCreateGroup.d.ts +39 -0
- package/hooks/groupsHooks/useDeleteGroup.d.ts +37 -0
- package/hooks/groupsHooks/useListGroupMessages.d.ts +63 -0
- package/hooks/groupsHooks/useListGroupMessagesSuspense.d.ts +63 -0
- package/hooks/groupsHooks/useListGroups.d.ts +51 -0
- package/hooks/groupsHooks/useListGroupsSuspense.d.ts +51 -0
- package/hooks/groupsHooks/useRetrieveGroup.d.ts +63 -0
- package/hooks/groupsHooks/useRetrieveGroupSuspense.d.ts +63 -0
- package/hooks/groupsHooks/useSendGroupMessage.d.ts +39 -0
- package/hooks/groupsHooks/useSendGroupMessageStreaming.d.ts +39 -0
- package/hooks/healthHooks/index.d.ts +4 -0
- package/hooks/healthHooks/useHealthCheck.d.ts +49 -0
- package/hooks/healthHooks/useHealthCheckSuspense.d.ts +49 -0
- package/hooks/identitiesHooks/index.d.ts +16 -0
- package/hooks/identitiesHooks/useCreateIdentity.d.ts +37 -0
- package/hooks/identitiesHooks/useDeleteIdentity.d.ts +37 -0
- package/hooks/identitiesHooks/useListIdentities.d.ts +51 -0
- package/hooks/identitiesHooks/useListIdentitiesSuspense.d.ts +51 -0
- package/hooks/identitiesHooks/useRetrieveIdentity.d.ts +61 -0
- package/hooks/identitiesHooks/useRetrieveIdentitySuspense.d.ts +61 -0
- package/hooks/identitiesHooks/useUpsertIdentity.d.ts +37 -0
- package/hooks/identitiesHooks/useUpsertIdentityProperties.d.ts +37 -0
- package/hooks/index.d.ts +274 -0
- package/hooks/jobsHooks/index.d.ts +14 -0
- package/hooks/jobsHooks/useDeleteJob.d.ts +37 -0
- package/hooks/jobsHooks/useListActiveJobs.d.ts +51 -0
- package/hooks/jobsHooks/useListActiveJobsSuspense.d.ts +51 -0
- package/hooks/jobsHooks/useListJobs.d.ts +51 -0
- package/hooks/jobsHooks/useListJobsSuspense.d.ts +51 -0
- package/hooks/jobsHooks/useRetrieveJob.d.ts +63 -0
- package/hooks/jobsHooks/useRetrieveJobSuspense.d.ts +63 -0
- package/hooks/modelsHooks/index.d.ts +8 -0
- package/hooks/modelsHooks/useListEmbeddingModels.d.ts +49 -0
- package/hooks/modelsHooks/useListEmbeddingModelsSuspense.d.ts +49 -0
- package/hooks/modelsHooks/useListModels.d.ts +49 -0
- package/hooks/modelsHooks/useListModelsSuspense.d.ts +49 -0
- package/hooks/providersHooks/index.d.ts +8 -0
- package/hooks/providersHooks/useCreateProvider.d.ts +37 -0
- package/hooks/providersHooks/useDeleteProvider.d.ts +37 -0
- package/hooks/providersHooks/useListProviders.d.ts +51 -0
- package/hooks/providersHooks/useListProvidersSuspense.d.ts +51 -0
- package/hooks/runsHooks/index.d.ts +26 -0
- package/hooks/runsHooks/useDeleteRun.d.ts +37 -0
- package/hooks/runsHooks/useListActiveRuns.d.ts +51 -0
- package/hooks/runsHooks/useListActiveRunsSuspense.d.ts +51 -0
- package/hooks/runsHooks/useListRunMessages.d.ts +63 -0
- package/hooks/runsHooks/useListRunMessagesSuspense.d.ts +63 -0
- package/hooks/runsHooks/useListRunSteps.d.ts +63 -0
- package/hooks/runsHooks/useListRunStepsSuspense.d.ts +63 -0
- package/hooks/runsHooks/useListRuns.d.ts +51 -0
- package/hooks/runsHooks/useListRunsSuspense.d.ts +51 -0
- package/hooks/runsHooks/useRetrieveRun.d.ts +63 -0
- package/hooks/runsHooks/useRetrieveRunSuspense.d.ts +63 -0
- package/hooks/runsHooks/useRetrieveRunUsage.d.ts +63 -0
- package/hooks/runsHooks/useRetrieveRunUsageSuspense.d.ts +63 -0
- package/hooks/sourcesHooks/index.d.ts +28 -0
- package/hooks/sourcesHooks/useCreateSource.d.ts +37 -0
- package/hooks/sourcesHooks/useDeleteFileFromSource.d.ts +39 -0
- package/hooks/sourcesHooks/useDeleteSource.d.ts +37 -0
- package/hooks/sourcesHooks/useGetSourceIdByName.d.ts +63 -0
- package/hooks/sourcesHooks/useGetSourceIdByNameSuspense.d.ts +63 -0
- package/hooks/sourcesHooks/useListSourceFiles.d.ts +63 -0
- package/hooks/sourcesHooks/useListSourceFilesSuspense.d.ts +63 -0
- package/hooks/sourcesHooks/useListSourcePassages.d.ts +63 -0
- package/hooks/sourcesHooks/useListSourcePassagesSuspense.d.ts +63 -0
- package/hooks/sourcesHooks/useListSources.d.ts +51 -0
- package/hooks/sourcesHooks/useListSourcesSuspense.d.ts +51 -0
- package/hooks/sourcesHooks/useRetrieveSource.d.ts +63 -0
- package/hooks/sourcesHooks/useRetrieveSourceSuspense.d.ts +63 -0
- package/hooks/sourcesHooks/useUploadFileToSource.d.ts +39 -0
- package/hooks/stepsHooks/index.d.ts +8 -0
- package/hooks/stepsHooks/useListSteps.d.ts +51 -0
- package/hooks/stepsHooks/useListStepsSuspense.d.ts +51 -0
- package/hooks/stepsHooks/useRetrieveStep.d.ts +63 -0
- package/hooks/stepsHooks/useRetrieveStepSuspense.d.ts +63 -0
- package/hooks/tagHooks/index.d.ts +4 -0
- package/hooks/tagHooks/useListTags.d.ts +51 -0
- package/hooks/tagHooks/useListTagsSuspense.d.ts +51 -0
- package/hooks/templatesHooks/index.d.ts +2 -0
- package/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.d.ts +41 -0
- package/hooks/templatesHooks/useTemplates/index.d.ts +2 -0
- package/hooks/toolsHooks/index.d.ts +42 -0
- package/hooks/toolsHooks/useAddBaseTools.d.ts +33 -0
- package/hooks/toolsHooks/useAddComposioTool.d.ts +37 -0
- package/hooks/toolsHooks/useAddMcpServer.d.ts +37 -0
- package/hooks/toolsHooks/useAddMcpTool.d.ts +39 -0
- package/hooks/toolsHooks/useCreateTool.d.ts +37 -0
- package/hooks/toolsHooks/useDeleteMcpServer.d.ts +37 -0
- package/hooks/toolsHooks/useDeleteTool.d.ts +37 -0
- package/hooks/toolsHooks/useListComposioActionsByApp.d.ts +63 -0
- package/hooks/toolsHooks/useListComposioActionsByAppSuspense.d.ts +63 -0
- package/hooks/toolsHooks/useListComposioApps.d.ts +51 -0
- package/hooks/toolsHooks/useListComposioAppsSuspense.d.ts +51 -0
- package/hooks/toolsHooks/useListMcpServers.d.ts +51 -0
- package/hooks/toolsHooks/useListMcpServersSuspense.d.ts +51 -0
- package/hooks/toolsHooks/useListMcpToolsByServer.d.ts +63 -0
- package/hooks/toolsHooks/useListMcpToolsByServerSuspense.d.ts +63 -0
- package/hooks/toolsHooks/useListTools.d.ts +51 -0
- package/hooks/toolsHooks/useListToolsSuspense.d.ts +51 -0
- package/hooks/toolsHooks/useRetrieveTool.d.ts +63 -0
- package/hooks/toolsHooks/useRetrieveToolSuspense.d.ts +63 -0
- package/hooks/toolsHooks/useRunToolFromSource.d.ts +37 -0
- package/hooks/toolsHooks/useUpsertTool.d.ts +37 -0
- package/hooks/voiceHooks/index.d.ts +2 -0
- package/hooks/voiceHooks/useCreateVoiceChatCompletions.d.ts +39 -0
- package/index.d.ts +602 -4
- package/index.js +10249 -4
- package/index.js.map +7 -0
- package/package.json +9 -3
- package/src/hooks/agentsHooks/index.ts +240 -0
- package/src/hooks/agentsHooks/useAgents/createTemplateFromAgent.ts +101 -0
- package/src/hooks/agentsHooks/useAgents/getAgentVariables.ts +131 -0
- package/src/hooks/agentsHooks/useAgents/getAgentVariablesSuspense.ts +130 -0
- package/src/hooks/agentsHooks/useAgents/index.ts +38 -0
- package/src/hooks/agentsHooks/useAgents/migrateAgent.ts +109 -0
- package/src/hooks/agentsHooks/useAgents/searchDeployedAgents.ts +92 -0
- package/src/hooks/agentsHooks/useAgents/versionAgentTemplate.ts +113 -0
- package/src/hooks/agentsHooks/useCreateAgent.ts +92 -0
- package/src/hooks/agentsHooks/useCreateAgentMessageAsync.ts +101 -0
- package/src/hooks/agentsHooks/useCreateAgentMessageStream.ts +101 -0
- package/src/hooks/agentsHooks/useCreatePassage.ts +101 -0
- package/src/hooks/agentsHooks/useDeleteAgent.ts +85 -0
- package/src/hooks/agentsHooks/useDeletePassage.ts +95 -0
- package/src/hooks/agentsHooks/useExportAgentSerialized.ts +141 -0
- package/src/hooks/agentsHooks/useExportAgentSerializedSuspense.ts +142 -0
- package/src/hooks/agentsHooks/useImportAgentSerialized.ts +118 -0
- package/src/hooks/agentsHooks/useListAgentSources.ts +126 -0
- package/src/hooks/agentsHooks/useListAgentSourcesSuspense.ts +129 -0
- package/src/hooks/agentsHooks/useListAgentTools.ts +126 -0
- package/src/hooks/agentsHooks/useListAgentToolsSuspense.ts +128 -0
- package/src/hooks/agentsHooks/useListAgents.ts +122 -0
- package/src/hooks/agentsHooks/useListAgentsSuspense.ts +123 -0
- package/src/hooks/agentsHooks/useListCoreMemoryBlocks.ts +130 -0
- package/src/hooks/agentsHooks/useListCoreMemoryBlocksSuspense.ts +130 -0
- package/src/hooks/agentsHooks/useListMessages.ts +135 -0
- package/src/hooks/agentsHooks/useListMessagesSuspense.ts +136 -0
- package/src/hooks/agentsHooks/useListPassages.ts +138 -0
- package/src/hooks/agentsHooks/useListPassagesSuspense.ts +139 -0
- package/src/hooks/agentsHooks/useRetrieveAgent.ts +123 -0
- package/src/hooks/agentsHooks/useRetrieveAgentContextWindow.ts +128 -0
- package/src/hooks/agentsHooks/useRetrieveAgentContextWindowSuspense.ts +128 -0
- package/src/hooks/agentsHooks/useRetrieveAgentMemory.ts +127 -0
- package/src/hooks/agentsHooks/useRetrieveAgentMemorySuspense.ts +127 -0
- package/src/hooks/agentsHooks/useRetrieveAgentSuspense.ts +125 -0
- package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlock.ts +137 -0
- package/src/hooks/agentsHooks/useRetrieveCoreMemoryBlockSuspense.ts +139 -0
- package/src/hooks/agentsHooks/useSendMessage.ts +98 -0
- package/src/hooks/blocksHooks/index.ts +54 -0
- package/src/hooks/blocksHooks/useCreateBlock.ts +87 -0
- package/src/hooks/blocksHooks/useDeleteBlock.ts +83 -0
- package/src/hooks/blocksHooks/useListAgentsForBlock.ts +127 -0
- package/src/hooks/blocksHooks/useListAgentsForBlockSuspense.ts +129 -0
- package/src/hooks/blocksHooks/useListBlocks.ts +120 -0
- package/src/hooks/blocksHooks/useListBlocksSuspense.ts +121 -0
- package/src/hooks/blocksHooks/useRetrieveBlock.ts +121 -0
- package/src/hooks/blocksHooks/useRetrieveBlockSuspense.ts +123 -0
- package/src/hooks/clientSideAccessTokensHooks/index.ts +12 -0
- package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/createClientSideAccessToken.ts +97 -0
- package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/deleteClientSideAccessToken.ts +107 -0
- package/src/hooks/clientSideAccessTokensHooks/useClientSideAccessTokens/index.ts +12 -0
- package/src/hooks/groupsHooks/index.ts +66 -0
- package/src/hooks/groupsHooks/useCreateGroup.ts +92 -0
- package/src/hooks/groupsHooks/useDeleteGroup.ts +85 -0
- package/src/hooks/groupsHooks/useListGroupMessages.ts +135 -0
- package/src/hooks/groupsHooks/useListGroupMessagesSuspense.ts +138 -0
- package/src/hooks/groupsHooks/useListGroups.ts +122 -0
- package/src/hooks/groupsHooks/useListGroupsSuspense.ts +123 -0
- package/src/hooks/groupsHooks/useRetrieveGroup.ts +123 -0
- package/src/hooks/groupsHooks/useRetrieveGroupSuspense.ts +125 -0
- package/src/hooks/groupsHooks/useSendGroupMessage.ts +101 -0
- package/src/hooks/groupsHooks/useSendGroupMessageStreaming.ts +101 -0
- package/src/hooks/healthHooks/index.ts +14 -0
- package/src/hooks/healthHooks/useHealthCheck.ts +104 -0
- package/src/hooks/healthHooks/useHealthCheckSuspense.ts +106 -0
- package/src/hooks/identitiesHooks/index.ts +52 -0
- package/src/hooks/identitiesHooks/useCreateIdentity.ts +100 -0
- package/src/hooks/identitiesHooks/useDeleteIdentity.ts +88 -0
- package/src/hooks/identitiesHooks/useListIdentities.ts +122 -0
- package/src/hooks/identitiesHooks/useListIdentitiesSuspense.ts +125 -0
- package/src/hooks/identitiesHooks/useRetrieveIdentity.ts +128 -0
- package/src/hooks/identitiesHooks/useRetrieveIdentitySuspense.ts +130 -0
- package/src/hooks/identitiesHooks/useUpsertIdentity.ts +100 -0
- package/src/hooks/identitiesHooks/useUpsertIdentityProperties.ts +99 -0
- package/src/hooks/index.ts +916 -0
- package/src/hooks/jobsHooks/index.ts +48 -0
- package/src/hooks/jobsHooks/useDeleteJob.ts +85 -0
- package/src/hooks/jobsHooks/useListActiveJobs.ts +116 -0
- package/src/hooks/jobsHooks/useListActiveJobsSuspense.ts +117 -0
- package/src/hooks/jobsHooks/useListJobs.ts +117 -0
- package/src/hooks/jobsHooks/useListJobsSuspense.ts +118 -0
- package/src/hooks/jobsHooks/useRetrieveJob.ts +122 -0
- package/src/hooks/jobsHooks/useRetrieveJobSuspense.ts +125 -0
- package/src/hooks/modelsHooks/index.ts +28 -0
- package/src/hooks/modelsHooks/useListEmbeddingModels.ts +113 -0
- package/src/hooks/modelsHooks/useListEmbeddingModelsSuspense.ts +113 -0
- package/src/hooks/modelsHooks/useListModels.ts +104 -0
- package/src/hooks/modelsHooks/useListModelsSuspense.ts +106 -0
- package/src/hooks/providersHooks/index.ts +26 -0
- package/src/hooks/providersHooks/useCreateProvider.ts +93 -0
- package/src/hooks/providersHooks/useDeleteProvider.ts +89 -0
- package/src/hooks/providersHooks/useListProviders.ts +122 -0
- package/src/hooks/providersHooks/useListProvidersSuspense.ts +125 -0
- package/src/hooks/runsHooks/index.ts +90 -0
- package/src/hooks/runsHooks/useDeleteRun.ts +85 -0
- package/src/hooks/runsHooks/useListActiveRuns.ts +122 -0
- package/src/hooks/runsHooks/useListActiveRunsSuspense.ts +125 -0
- package/src/hooks/runsHooks/useListRunMessages.ts +135 -0
- package/src/hooks/runsHooks/useListRunMessagesSuspense.ts +137 -0
- package/src/hooks/runsHooks/useListRunSteps.ts +135 -0
- package/src/hooks/runsHooks/useListRunStepsSuspense.ts +136 -0
- package/src/hooks/runsHooks/useListRuns.ts +117 -0
- package/src/hooks/runsHooks/useListRunsSuspense.ts +118 -0
- package/src/hooks/runsHooks/useRetrieveRun.ts +122 -0
- package/src/hooks/runsHooks/useRetrieveRunSuspense.ts +125 -0
- package/src/hooks/runsHooks/useRetrieveRunUsage.ts +123 -0
- package/src/hooks/runsHooks/useRetrieveRunUsageSuspense.ts +126 -0
- package/src/hooks/sourcesHooks/index.ts +94 -0
- package/src/hooks/sourcesHooks/useCreateSource.ts +91 -0
- package/src/hooks/sourcesHooks/useDeleteFileFromSource.ts +95 -0
- package/src/hooks/sourcesHooks/useDeleteSource.ts +87 -0
- package/src/hooks/sourcesHooks/useGetSourceIdByName.ts +130 -0
- package/src/hooks/sourcesHooks/useGetSourceIdByNameSuspense.ts +132 -0
- package/src/hooks/sourcesHooks/useListSourceFiles.ts +135 -0
- package/src/hooks/sourcesHooks/useListSourceFilesSuspense.ts +138 -0
- package/src/hooks/sourcesHooks/useListSourcePassages.ts +130 -0
- package/src/hooks/sourcesHooks/useListSourcePassagesSuspense.ts +132 -0
- package/src/hooks/sourcesHooks/useListSources.ts +109 -0
- package/src/hooks/sourcesHooks/useListSourcesSuspense.ts +113 -0
- package/src/hooks/sourcesHooks/useRetrieveSource.ts +126 -0
- package/src/hooks/sourcesHooks/useRetrieveSourceSuspense.ts +128 -0
- package/src/hooks/sourcesHooks/useUploadFileToSource.ts +117 -0
- package/src/hooks/stepsHooks/index.ts +28 -0
- package/src/hooks/stepsHooks/useListSteps.ts +117 -0
- package/src/hooks/stepsHooks/useListStepsSuspense.ts +118 -0
- package/src/hooks/stepsHooks/useRetrieveStep.ts +123 -0
- package/src/hooks/stepsHooks/useRetrieveStepSuspense.ts +125 -0
- package/src/hooks/tagHooks/index.ts +14 -0
- package/src/hooks/tagHooks/useListTags.ts +117 -0
- package/src/hooks/tagHooks/useListTagsSuspense.ts +118 -0
- package/src/hooks/templatesHooks/index.ts +6 -0
- package/src/hooks/templatesHooks/useTemplates/createAgentsFromTemplate.ts +109 -0
- package/src/hooks/templatesHooks/useTemplates/index.ts +6 -0
- package/src/hooks/toolsHooks/index.ts +138 -0
- package/src/hooks/toolsHooks/useAddBaseTools.ts +85 -0
- package/src/hooks/toolsHooks/useAddComposioTool.ts +90 -0
- package/src/hooks/toolsHooks/useAddMcpServer.ts +92 -0
- package/src/hooks/toolsHooks/useAddMcpTool.ts +92 -0
- package/src/hooks/toolsHooks/useCreateTool.ts +89 -0
- package/src/hooks/toolsHooks/useDeleteMcpServer.ts +88 -0
- package/src/hooks/toolsHooks/useDeleteTool.ts +85 -0
- package/src/hooks/toolsHooks/useListComposioActionsByApp.ts +132 -0
- package/src/hooks/toolsHooks/useListComposioActionsByAppSuspense.ts +131 -0
- package/src/hooks/toolsHooks/useListComposioApps.ts +122 -0
- package/src/hooks/toolsHooks/useListComposioAppsSuspense.ts +124 -0
- package/src/hooks/toolsHooks/useListMcpServers.ts +122 -0
- package/src/hooks/toolsHooks/useListMcpServersSuspense.ts +123 -0
- package/src/hooks/toolsHooks/useListMcpToolsByServer.ts +130 -0
- package/src/hooks/toolsHooks/useListMcpToolsByServerSuspense.ts +131 -0
- package/src/hooks/toolsHooks/useListTools.ts +117 -0
- package/src/hooks/toolsHooks/useListToolsSuspense.ts +118 -0
- package/src/hooks/toolsHooks/useRetrieveTool.ts +123 -0
- package/src/hooks/toolsHooks/useRetrieveToolSuspense.ts +125 -0
- package/src/hooks/toolsHooks/useRunToolFromSource.ts +93 -0
- package/src/hooks/toolsHooks/useUpsertTool.ts +89 -0
- package/src/hooks/voiceHooks/index.ts +6 -0
- package/src/hooks/voiceHooks/useCreateVoiceChatCompletions.ts +104 -0
- package/src/index.ts +2084 -4
- package/src/schemas/HTTPValidationError.json +26 -0
- package/src/schemas/JSONSchema.json +19 -0
- package/src/schemas/LLMConfig.json +93 -0
- package/src/schemas/MCPServerType.json +6 -0
- package/src/schemas/MCPTool.json +20 -0
- package/src/schemas/SSEServerConfig.json +25 -0
- package/src/schemas/actionModel.json +93 -0
- package/src/schemas/actionParametersModel.json +27 -0
- package/src/schemas/actionResponseModel.json +27 -0
- package/src/schemas/agentEnvironmentVariable.json +62 -0
- package/src/schemas/agentSchema.json +562 -0
- package/src/schemas/agentState.json +995 -0
- package/src/schemas/agentType.json +7 -0
- package/src/schemas/appAuthScheme.json +95 -0
- package/src/schemas/appModel.json +159 -0
- package/src/schemas/assistantMessage.json +67 -0
- package/src/schemas/audio.json +7 -0
- package/src/schemas/authRequest.json +12 -0
- package/src/schemas/authResponse.json +19 -0
- package/src/schemas/authSchemeField.json +30 -0
- package/src/schemas/baseToolRuleSchema.json +10 -0
- package/src/schemas/block.json +67 -0
- package/src/schemas/blockUpdate.json +48 -0
- package/src/schemas/bodyImportAgentSerialized.json +9 -0
- package/src/schemas/bodyUploadFileToSource.json +9 -0
- package/src/schemas/chatCompletionAssistantMessageParam.json +103 -0
- package/src/schemas/chatCompletionAudioParam.json +35 -0
- package/src/schemas/chatCompletionContentPartImageParam.json +23 -0
- package/src/schemas/chatCompletionContentPartInputAudioParam.json +23 -0
- package/src/schemas/chatCompletionContentPartRefusalParam.json +10 -0
- package/src/schemas/chatCompletionContentPartTextParam.json +10 -0
- package/src/schemas/chatCompletionDeveloperMessageParam.json +29 -0
- package/src/schemas/chatCompletionFunctionCallOptionParam.json +7 -0
- package/src/schemas/chatCompletionFunctionMessageParam.json +14 -0
- package/src/schemas/chatCompletionMessageToolCall.json +22 -0
- package/src/schemas/chatCompletionMessageToolCallParam.json +20 -0
- package/src/schemas/chatCompletionNamedToolChoiceParam.json +16 -0
- package/src/schemas/chatCompletionPredictionContentParam.json +28 -0
- package/src/schemas/chatCompletionStreamOptionsParam.json +8 -0
- package/src/schemas/chatCompletionSystemMessageParam.json +29 -0
- package/src/schemas/chatCompletionToolMessageParam.json +29 -0
- package/src/schemas/chatCompletionToolParam.json +28 -0
- package/src/schemas/chatCompletionUserMessageParam.json +106 -0
- package/src/schemas/childToolRule.json +27 -0
- package/src/schemas/childToolRuleSchema.json +15 -0
- package/src/schemas/completionCreateParamsNonStreaming.json +797 -0
- package/src/schemas/completionCreateParamsStreaming.json +794 -0
- package/src/schemas/conditionalToolRule.json +38 -0
- package/src/schemas/conditionalToolRuleSchema.json +29 -0
- package/src/schemas/contextWindowOverview.json +491 -0
- package/src/schemas/continueToolRule.json +21 -0
- package/src/schemas/coreMemoryBlockSchema.json +38 -0
- package/src/schemas/createAgentRequest.json +883 -0
- package/src/schemas/createArchivalMemory.json +13 -0
- package/src/schemas/createBlock.json +49 -0
- package/src/schemas/dynamicManager.json +31 -0
- package/src/schemas/dynamicManagerUpdate.json +29 -0
- package/src/schemas/e2BSandboxConfig.json +26 -0
- package/src/schemas/embeddingConfig.json +76 -0
- package/src/schemas/file.json +19 -0
- package/src/schemas/fileFile.json +10 -0
- package/src/schemas/fileMetadata.json +74 -0
- package/src/schemas/functionCall.json +10 -0
- package/src/schemas/functionDefinitionInput.json +19 -0
- package/src/schemas/functionDefinitionOutput.json +25 -0
- package/src/schemas/functionOutput.json +11 -0
- package/src/schemas/functionTool.json +35 -0
- package/src/schemas/group.json +69 -0
- package/src/schemas/groupCreate.json +137 -0
- package/src/schemas/groupUpdate.json +140 -0
- package/src/schemas/health.json +11 -0
- package/src/schemas/hiddenReasoningMessage.json +35 -0
- package/src/schemas/identity.json +94 -0
- package/src/schemas/identityCreate.json +90 -0
- package/src/schemas/identityProperty.json +33 -0
- package/src/schemas/identityPropertyType.json +7 -0
- package/src/schemas/identityType.json +7 -0
- package/src/schemas/identityUpdate.json +90 -0
- package/src/schemas/identityUpsert.json +90 -0
- package/src/schemas/imageURL.json +14 -0
- package/src/schemas/initToolRule.json +21 -0
- package/src/schemas/inputAudio.json +10 -0
- package/src/schemas/job.json +82 -0
- package/src/schemas/jobStatus.json +15 -0
- package/src/schemas/jobType.json +6 -0
- package/src/schemas/lettaAssistantMessageContentUnion.json +31 -0
- package/src/schemas/lettaMessageContentUnion.json +184 -0
- package/src/schemas/lettaMessageUnion.json +382 -0
- package/src/schemas/lettaRequest.json +250 -0
- package/src/schemas/lettaRequestConfig.json +25 -0
- package/src/schemas/lettaResponse.json +860 -0
- package/src/schemas/lettaStreamingRequest.json +256 -0
- package/src/schemas/lettaUsageStatistics.json +411 -0
- package/src/schemas/lettaUserMessageContentUnion.json +31 -0
- package/src/schemas/localSandboxConfig.json +48 -0
- package/src/schemas/managerType.json +6 -0
- package/src/schemas/maxCountPerStepToolRule.json +26 -0
- package/src/schemas/maxCountPerStepToolRuleSchema.json +11 -0
- package/src/schemas/memory.json +87 -0
- package/src/schemas/message.json +336 -0
- package/src/schemas/messageCreate.json +219 -0
- package/src/schemas/messageRole.json +6 -0
- package/src/schemas/messageSchema.json +65 -0
- package/src/schemas/omittedReasoningContent.json +21 -0
- package/src/schemas/openaiTypesChatChatCompletionMessageToolCallParamFunction.json +10 -0
- package/src/schemas/openaiTypesChatChatCompletionNamedToolChoiceParamFunction.json +7 -0
- package/src/schemas/openaiTypesChatCompletionCreateParamsFunction.json +15 -0
- package/src/schemas/organization.json +35 -0
- package/src/schemas/organizationCreate.json +19 -0
- package/src/schemas/organizationUpdate.json +19 -0
- package/src/schemas/parameterProperties.json +13 -0
- package/src/schemas/parametersSchema.json +35 -0
- package/src/schemas/parentToolRule.json +27 -0
- package/src/schemas/passage.json +170 -0
- package/src/schemas/passageUpdate.json +169 -0
- package/src/schemas/pipRequirement.json +19 -0
- package/src/schemas/provider.json +32 -0
- package/src/schemas/providerCreate.json +19 -0
- package/src/schemas/providerUpdate.json +19 -0
- package/src/schemas/reasoningContent.json +31 -0
- package/src/schemas/reasoningMessage.json +37 -0
- package/src/schemas/redactedReasoningContent.json +21 -0
- package/src/schemas/responseFormatJSONObject.json +9 -0
- package/src/schemas/responseFormatJSONSchema.json +28 -0
- package/src/schemas/responseFormatText.json +9 -0
- package/src/schemas/roundRobinManager.json +19 -0
- package/src/schemas/roundRobinManagerUpdate.json +19 -0
- package/src/schemas/run.json +112 -0
- package/src/schemas/sandboxConfig.json +54 -0
- package/src/schemas/sandboxConfigCreate.json +89 -0
- package/src/schemas/sandboxConfigUpdate.json +89 -0
- package/src/schemas/sandboxEnvironmentVariable.json +62 -0
- package/src/schemas/sandboxEnvironmentVariableCreate.json +24 -0
- package/src/schemas/sandboxEnvironmentVariableUpdate.json +23 -0
- package/src/schemas/sandboxType.json +6 -0
- package/src/schemas/sleeptimeManager.json +25 -0
- package/src/schemas/sleeptimeManagerUpdate.json +24 -0
- package/src/schemas/source.json +141 -0
- package/src/schemas/sourceCreate.json +124 -0
- package/src/schemas/sourceUpdate.json +113 -0
- package/src/schemas/stdioServerConfig.json +39 -0
- package/src/schemas/step.json +440 -0
- package/src/schemas/supervisorManager.json +20 -0
- package/src/schemas/supervisorManagerUpdate.json +20 -0
- package/src/schemas/systemMessage.json +31 -0
- package/src/schemas/tagSchema.json +7 -0
- package/src/schemas/terminalToolRule.json +21 -0
- package/src/schemas/textContent.json +21 -0
- package/src/schemas/tool.json +100 -0
- package/src/schemas/toolCall.json +11 -0
- package/src/schemas/toolCallContent.json +32 -0
- package/src/schemas/toolCallDelta.json +19 -0
- package/src/schemas/toolCallMessage.json +61 -0
- package/src/schemas/toolCreate.json +54 -0
- package/src/schemas/toolEnvVarSchema.json +16 -0
- package/src/schemas/toolJSONSchema.json +56 -0
- package/src/schemas/toolReturn.json +30 -0
- package/src/schemas/toolReturnContent.json +30 -0
- package/src/schemas/toolReturnMessage.json +54 -0
- package/src/schemas/toolRunFromSource.json +52 -0
- package/src/schemas/toolSchema.json +99 -0
- package/src/schemas/toolType.json +15 -0
- package/src/schemas/toolUpdate.json +51 -0
- package/src/schemas/updateAgent.json +513 -0
- package/src/schemas/updateAssistantMessage.json +55 -0
- package/src/schemas/updateReasoningMessage.json +15 -0
- package/src/schemas/updateSystemMessage.json +19 -0
- package/src/schemas/updateUserMessage.json +55 -0
- package/src/schemas/usageStatistics.json +18 -0
- package/src/schemas/user.json +44 -0
- package/src/schemas/userCreate.json +14 -0
- package/src/schemas/userMessage.json +67 -0
- package/src/schemas/userUpdate.json +19 -0
- package/src/schemas/validationError.json +15 -0
- package/src/schemas/webSearchOptions.json +41 -0
- package/src/schemas/webSearchOptionsUserLocation.json +20 -0
- package/src/schemas/webSearchOptionsUserLocationApproximate.json +11 -0
- package/src/types/ActionModel.ts +56 -0
- package/src/types/ActionParametersModel.ts +26 -0
- package/src/types/ActionResponseModel.ts +26 -0
- package/src/types/AddBaseTools.ts +24 -0
- package/src/types/AddComposioTool.ts +32 -0
- package/src/types/AddMcpServer.ts +28 -0
- package/src/types/AddMcpTool.ts +36 -0
- package/src/types/AgentEnvironmentVariable.ts +48 -0
- package/src/types/AgentSchema.ts +93 -0
- package/src/types/AgentState.ts +152 -0
- package/src/types/AgentType.ts +17 -0
- package/src/types/AppAuthScheme.ts +49 -0
- package/src/types/AppModel.ts +60 -0
- package/src/types/AssistantMessage.ts +38 -0
- package/src/types/AttachCoreMemoryBlock.ts +36 -0
- package/src/types/AttachSourceToAgent.ts +36 -0
- package/src/types/AttachTool.ts +36 -0
- package/src/types/Audio.ts +11 -0
- package/src/types/AuthRequest.ts +12 -0
- package/src/types/AuthResponse.ts +16 -0
- package/src/types/AuthSchemeField.ts +35 -0
- package/src/types/BaseToolRuleSchema.ts +15 -0
- package/src/types/Block.ts +60 -0
- package/src/types/BlockUpdate.ts +43 -0
- package/src/types/BodyImportAgentSerialized.ts +11 -0
- package/src/types/BodyUploadFileToSource.ts +11 -0
- package/src/types/ChatCompletionAssistantMessageParam.ts +35 -0
- package/src/types/ChatCompletionAudioParam.ts +40 -0
- package/src/types/ChatCompletionContentPartImageParam.ts +17 -0
- package/src/types/ChatCompletionContentPartInputAudioParam.ts +17 -0
- package/src/types/ChatCompletionContentPartRefusalParam.ts +15 -0
- package/src/types/ChatCompletionContentPartTextParam.ts +15 -0
- package/src/types/ChatCompletionDeveloperMessageParam.ts +18 -0
- package/src/types/ChatCompletionFunctionCallOptionParam.ts +11 -0
- package/src/types/ChatCompletionFunctionMessageParam.ts +16 -0
- package/src/types/ChatCompletionMessageToolCall.ts +22 -0
- package/src/types/ChatCompletionMessageToolCallParam.ts +21 -0
- package/src/types/ChatCompletionNamedToolChoiceParam.ts +17 -0
- package/src/types/ChatCompletionPredictionContentParam.ts +14 -0
- package/src/types/ChatCompletionStreamOptionsParam.ts +11 -0
- package/src/types/ChatCompletionSystemMessageParam.ts +18 -0
- package/src/types/ChatCompletionToolMessageParam.ts +18 -0
- package/src/types/ChatCompletionToolParam.ts +17 -0
- package/src/types/ChatCompletionUserMessageParam.ts +28 -0
- package/src/types/ChildToolRule.ts +25 -0
- package/src/types/ChildToolRuleSchema.ts +19 -0
- package/src/types/CompletionCreateParamsNonStreaming.ts +185 -0
- package/src/types/CompletionCreateParamsStreaming.ts +188 -0
- package/src/types/ConditionalToolRule.ts +37 -0
- package/src/types/ConditionalToolRuleSchema.ts +26 -0
- package/src/types/ContextWindowOverview.ts +96 -0
- package/src/types/ContinueToolRule.ts +20 -0
- package/src/types/CoreMemoryBlockSchema.ts +36 -0
- package/src/types/CreateAgent.ts +33 -0
- package/src/types/CreateAgentMessageAsync.ts +37 -0
- package/src/types/CreateAgentMessageStream.ts +36 -0
- package/src/types/CreateAgentRequest.ts +197 -0
- package/src/types/CreateArchivalMemory.ts +12 -0
- package/src/types/CreateBlock.ts +69 -0
- package/src/types/CreateGroup.ts +33 -0
- package/src/types/CreateIdentity.ts +33 -0
- package/src/types/CreatePassage.ts +36 -0
- package/src/types/CreateProvider.ts +28 -0
- package/src/types/CreateSource.ts +28 -0
- package/src/types/CreateTool.ts +28 -0
- package/src/types/CreateVoiceChatCompletions.ts +44 -0
- package/src/types/DeleteAgent.ts +31 -0
- package/src/types/DeleteBlock.ts +32 -0
- package/src/types/DeleteFileFromSource.ts +35 -0
- package/src/types/DeleteGroup.ts +31 -0
- package/src/types/DeleteIdentity.ts +31 -0
- package/src/types/DeleteJob.ts +32 -0
- package/src/types/DeleteMcpServer.ts +33 -0
- package/src/types/DeletePassage.ts +35 -0
- package/src/types/DeleteProvider.ts +32 -0
- package/src/types/DeleteRun.ts +32 -0
- package/src/types/DeleteSource.ts +31 -0
- package/src/types/DeleteTool.ts +31 -0
- package/src/types/DetachCoreMemoryBlock.ts +36 -0
- package/src/types/DetachSourceFromAgent.ts +36 -0
- package/src/types/DetachTool.ts +36 -0
- package/src/types/DynamicManager.ts +21 -0
- package/src/types/DynamicManagerUpdate.ts +15 -0
- package/src/types/E2BSandboxConfig.ts +21 -0
- package/src/types/EmbeddingConfig.ts +75 -0
- package/src/types/ExportAgentSerialized.ts +35 -0
- package/src/types/File.ts +17 -0
- package/src/types/FileFile.ts +19 -0
- package/src/types/FileMetadata.ts +59 -0
- package/src/types/FunctionCall.ts +15 -0
- package/src/types/FunctionDefinitionInput.ts +22 -0
- package/src/types/FunctionDefinitionOutput.ts +17 -0
- package/src/types/FunctionOutput.ts +16 -0
- package/src/types/FunctionTool.ts +18 -0
- package/src/types/GetSourceIdByName.ts +31 -0
- package/src/types/Group.ts +36 -0
- package/src/types/GroupCreate.ts +32 -0
- package/src/types/GroupUpdate.ts +23 -0
- package/src/types/HTTPValidationError.ts +13 -0
- package/src/types/Health.ts +18 -0
- package/src/types/HealthCheck.ts +18 -0
- package/src/types/HiddenReasoningMessage.ts +45 -0
- package/src/types/Identity.ts +49 -0
- package/src/types/IdentityCreate.ts +40 -0
- package/src/types/IdentityProperty.ts +32 -0
- package/src/types/IdentityPropertyType.ts +19 -0
- package/src/types/IdentityType.ts +18 -0
- package/src/types/IdentityUpdate.ts +34 -0
- package/src/types/IdentityUpsert.ts +40 -0
- package/src/types/ImageURL.ts +24 -0
- package/src/types/ImportAgentSerialized.ts +54 -0
- package/src/types/InitToolRule.ts +20 -0
- package/src/types/InputAudio.ts +23 -0
- package/src/types/JSONSchema.ts +22 -0
- package/src/types/Job.ts +53 -0
- package/src/types/JobStatus.ts +21 -0
- package/src/types/JobType.ts +13 -0
- package/src/types/LLMConfig.ts +93 -0
- package/src/types/LettaAssistantMessageContentUnion.ts +17 -0
- package/src/types/LettaMessageContentUnion.ts +43 -0
- package/src/types/LettaMessageUnion.ts +48 -0
- package/src/types/LettaRequest.ts +32 -0
- package/src/types/LettaRequestConfig.ts +25 -0
- package/src/types/LettaResponse.ts +22 -0
- package/src/types/LettaStreamingRequest.ts +38 -0
- package/src/types/LettaUsageStatistics.ts +49 -0
- package/src/types/LettaUserMessageContentUnion.ts +17 -0
- package/src/types/ListActiveJobs.ts +24 -0
- package/src/types/ListActiveRuns.ts +32 -0
- package/src/types/ListAgentSources.ts +32 -0
- package/src/types/ListAgentTools.ts +32 -0
- package/src/types/ListAgents.ts +89 -0
- package/src/types/ListAgentsForBlock.ts +32 -0
- package/src/types/ListBlocks.ts +50 -0
- package/src/types/ListComposioActionsByApp.ts +32 -0
- package/src/types/ListComposioApps.ts +29 -0
- package/src/types/ListCoreMemoryBlocks.ts +32 -0
- package/src/types/ListEmbeddingModels.ts +18 -0
- package/src/types/ListGroupMessages.ts +68 -0
- package/src/types/ListGroups.ts +49 -0
- package/src/types/ListIdentities.ts +39 -0
- package/src/types/ListJobs.ts +32 -0
- package/src/types/ListMcpServers.ts +32 -0
- package/src/types/ListMcpToolsByServer.ts +32 -0
- package/src/types/ListMessages.ts +72 -0
- package/src/types/ListModels.ts +18 -0
- package/src/types/ListPassages.ts +57 -0
- package/src/types/ListProviders.ts +33 -0
- package/src/types/ListRunMessages.ts +60 -0
- package/src/types/ListRunSteps.ts +55 -0
- package/src/types/ListRuns.ts +32 -0
- package/src/types/ListSourceFiles.ts +46 -0
- package/src/types/ListSourcePassages.ts +32 -0
- package/src/types/ListSources.ts +24 -0
- package/src/types/ListSteps.ts +62 -0
- package/src/types/ListTags.ts +33 -0
- package/src/types/ListTools.ts +34 -0
- package/src/types/LocalSandboxConfig.ts +30 -0
- package/src/types/MCPServerType.ts +14 -0
- package/src/types/MCPTool.ts +22 -0
- package/src/types/ManagerType.ts +17 -0
- package/src/types/MaxCountPerStepToolRule.ts +25 -0
- package/src/types/MaxCountPerStepToolRuleSchema.ts +19 -0
- package/src/types/Memory.ts +23 -0
- package/src/types/Message.ts +96 -0
- package/src/types/MessageCreate.ts +37 -0
- package/src/types/MessageRole.ts +17 -0
- package/src/types/MessageSchema.ts +37 -0
- package/src/types/ModifyAgent.ts +36 -0
- package/src/types/ModifyBlock.ts +36 -0
- package/src/types/ModifyCoreMemoryBlock.ts +40 -0
- package/src/types/ModifyGroup.ts +41 -0
- package/src/types/ModifyGroupMessage.ts +60 -0
- package/src/types/ModifyMessage.ts +60 -0
- package/src/types/ModifyPassage.ts +40 -0
- package/src/types/ModifyProvider.ts +28 -0
- package/src/types/ModifySource.ts +36 -0
- package/src/types/ModifyTool.ts +36 -0
- package/src/types/OmittedReasoningContent.ts +25 -0
- package/src/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.ts +15 -0
- package/src/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.ts +11 -0
- package/src/types/OpenaiTypesChatCompletionCreateParamsFunction.ts +21 -0
- package/src/types/Organization.ts +29 -0
- package/src/types/OrganizationCreate.ts +16 -0
- package/src/types/OrganizationUpdate.ts +16 -0
- package/src/types/ParameterProperties.ts +12 -0
- package/src/types/ParametersSchema.ts +23 -0
- package/src/types/ParentToolRule.ts +25 -0
- package/src/types/Passage.ts +73 -0
- package/src/types/PassageUpdate.ts +67 -0
- package/src/types/PipRequirement.ts +17 -0
- package/src/types/Provider.ts +24 -0
- package/src/types/ProviderCreate.ts +17 -0
- package/src/types/ProviderUpdate.ts +17 -0
- package/src/types/ReasoningContent.ts +34 -0
- package/src/types/ReasoningMessage.ts +50 -0
- package/src/types/RedactedReasoningContent.ts +25 -0
- package/src/types/ResetGroupMessages.ts +31 -0
- package/src/types/ResetMessages.ts +42 -0
- package/src/types/ResponseFormatJSONObject.ts +11 -0
- package/src/types/ResponseFormatJSONSchema.ts +17 -0
- package/src/types/ResponseFormatText.ts +11 -0
- package/src/types/RetrieveAgent.ts +32 -0
- package/src/types/RetrieveAgentContextWindow.ts +33 -0
- package/src/types/RetrieveAgentMemory.ts +32 -0
- package/src/types/RetrieveBlock.ts +32 -0
- package/src/types/RetrieveCoreMemoryBlock.ts +36 -0
- package/src/types/RetrieveGroup.ts +32 -0
- package/src/types/RetrieveIdentity.ts +32 -0
- package/src/types/RetrieveJob.ts +32 -0
- package/src/types/RetrieveRun.ts +32 -0
- package/src/types/RetrieveRunUsage.ts +32 -0
- package/src/types/RetrieveSource.ts +32 -0
- package/src/types/RetrieveStep.ts +32 -0
- package/src/types/RetrieveTool.ts +32 -0
- package/src/types/RoundRobinManager.ts +13 -0
- package/src/types/RoundRobinManagerUpdate.ts +13 -0
- package/src/types/Run.ts +58 -0
- package/src/types/RunToolFromSource.ts +28 -0
- package/src/types/SSEServerConfig.ts +23 -0
- package/src/types/SandboxConfig.ts +42 -0
- package/src/types/SandboxConfigCreate.ts +14 -0
- package/src/types/SandboxConfigUpdate.ts +17 -0
- package/src/types/SandboxEnvironmentVariable.ts +48 -0
- package/src/types/SandboxEnvironmentVariableCreate.ts +21 -0
- package/src/types/SandboxEnvironmentVariableUpdate.ts +19 -0
- package/src/types/SandboxType.ts +14 -0
- package/src/types/SendGroupMessage.ts +36 -0
- package/src/types/SendGroupMessageStreaming.ts +36 -0
- package/src/types/SendMessage.ts +36 -0
- package/src/types/SleeptimeManager.ts +17 -0
- package/src/types/SleeptimeManagerUpdate.ts +14 -0
- package/src/types/Source.ts +53 -0
- package/src/types/SourceCreate.ts +39 -0
- package/src/types/SourceUpdate.ts +30 -0
- package/src/types/StdioServerConfig.ts +34 -0
- package/src/types/Step.ts +82 -0
- package/src/types/SupervisorManager.ts +16 -0
- package/src/types/SupervisorManagerUpdate.ts +13 -0
- package/src/types/SystemMessage.ts +37 -0
- package/src/types/TagSchema.ts +11 -0
- package/src/types/TerminalToolRule.ts +20 -0
- package/src/types/TextContent.ts +25 -0
- package/src/types/Tool.ts +75 -0
- package/src/types/ToolCall.ts +19 -0
- package/src/types/ToolCallContent.ts +38 -0
- package/src/types/ToolCallDelta.ts +10 -0
- package/src/types/ToolCallMessage.ts +36 -0
- package/src/types/ToolCreate.ts +45 -0
- package/src/types/ToolEnvVarSchema.ts +24 -0
- package/src/types/ToolJSONSchema.ts +23 -0
- package/src/types/ToolReturn.ts +28 -0
- package/src/types/ToolReturnContent.ts +28 -0
- package/src/types/ToolReturnMessage.ts +54 -0
- package/src/types/ToolRunFromSource.ts +46 -0
- package/src/types/ToolSchema.ts +50 -0
- package/src/types/ToolType.ts +19 -0
- package/src/types/ToolUpdate.ts +39 -0
- package/src/types/UpdateAgent.ts +115 -0
- package/src/types/UpdateAssistantMessage.ts +18 -0
- package/src/types/UpdateIdentity.ts +36 -0
- package/src/types/UpdateReasoningMessage.ts +16 -0
- package/src/types/UpdateSystemMessage.ts +17 -0
- package/src/types/UpdateUserMessage.ts +18 -0
- package/src/types/UploadFileToSource.ts +36 -0
- package/src/types/UpsertIdentity.ts +33 -0
- package/src/types/UpsertIdentityProperties.ts +36 -0
- package/src/types/UpsertTool.ts +28 -0
- package/src/types/UsageStatistics.ts +22 -0
- package/src/types/User.ts +35 -0
- package/src/types/UserCreate.ts +12 -0
- package/src/types/UserMessage.ts +38 -0
- package/src/types/UserUpdate.ts +16 -0
- package/src/types/ValidationError.ts +19 -0
- package/src/types/WebSearchOptions.ts +23 -0
- package/src/types/WebSearchOptionsUserLocation.ts +17 -0
- package/src/types/WebSearchOptionsUserLocationApproximate.ts +23 -0
- package/src/types/agents/CreateTemplateFromAgent.ts +62 -0
- package/src/types/agents/GetAgentVariables.ts +48 -0
- package/src/types/agents/MigrateAgent.ts +113 -0
- package/src/types/agents/SearchDeployedAgents.ts +165 -0
- package/src/types/agents/VersionAgentTemplate.ts +84 -0
- package/src/types/agents/index.ts +79 -0
- package/src/types/clientSideAccessTokens/CreateClientSideAccessToken.ts +140 -0
- package/src/types/clientSideAccessTokens/DeleteClientSideAccessToken.ts +43 -0
- package/src/types/clientSideAccessTokens/index.ts +27 -0
- package/src/types/index.ts +1162 -0
- package/src/types/templates/CreateAgentsFromTemplate.ts +74 -0
- package/src/types/templates/index.ts +7 -0
- package/tsconfig.json +3 -1
- package/types/ActionModel.d.ts +54 -0
- package/types/ActionParametersModel.d.ts +25 -0
- package/types/ActionResponseModel.d.ts +25 -0
- package/types/AddBaseTools.d.ts +19 -0
- package/types/AddComposioTool.d.ts +26 -0
- package/types/AddMcpServer.d.ts +22 -0
- package/types/AddMcpTool.d.ts +30 -0
- package/types/AgentEnvironmentVariable.d.ts +47 -0
- package/types/AgentSchema.d.ts +86 -0
- package/types/AgentState.d.ts +140 -0
- package/types/AgentType.d.ts +14 -0
- package/types/AppAuthScheme.d.ts +44 -0
- package/types/AppModel.d.ts +56 -0
- package/types/AssistantMessage.d.ts +33 -0
- package/types/AttachCoreMemoryBlock.d.ts +30 -0
- package/types/AttachSourceToAgent.d.ts +30 -0
- package/types/AttachTool.d.ts +30 -0
- package/types/Audio.d.ts +10 -0
- package/types/AuthRequest.d.ts +11 -0
- package/types/AuthResponse.d.ts +15 -0
- package/types/AuthSchemeField.d.ts +34 -0
- package/types/BaseToolRuleSchema.d.ts +14 -0
- package/types/Block.d.ts +59 -0
- package/types/BlockUpdate.d.ts +42 -0
- package/types/BodyImportAgentSerialized.d.ts +10 -0
- package/types/BodyUploadFileToSource.d.ts +10 -0
- package/types/ChatCompletionAssistantMessageParam.d.ts +27 -0
- package/types/ChatCompletionAudioParam.d.ts +33 -0
- package/types/ChatCompletionContentPartImageParam.d.ts +15 -0
- package/types/ChatCompletionContentPartInputAudioParam.d.ts +15 -0
- package/types/ChatCompletionContentPartRefusalParam.d.ts +14 -0
- package/types/ChatCompletionContentPartTextParam.d.ts +14 -0
- package/types/ChatCompletionDeveloperMessageParam.d.ts +16 -0
- package/types/ChatCompletionFunctionCallOptionParam.d.ts +10 -0
- package/types/ChatCompletionFunctionMessageParam.d.ts +15 -0
- package/types/ChatCompletionMessageToolCall.d.ts +20 -0
- package/types/ChatCompletionMessageToolCallParam.d.ts +19 -0
- package/types/ChatCompletionNamedToolChoiceParam.d.ts +15 -0
- package/types/ChatCompletionPredictionContentParam.d.ts +12 -0
- package/types/ChatCompletionStreamOptionsParam.d.ts +10 -0
- package/types/ChatCompletionSystemMessageParam.d.ts +16 -0
- package/types/ChatCompletionToolMessageParam.d.ts +16 -0
- package/types/ChatCompletionToolParam.d.ts +15 -0
- package/types/ChatCompletionUserMessageParam.d.ts +19 -0
- package/types/ChildToolRule.d.ts +24 -0
- package/types/ChildToolRuleSchema.d.ts +18 -0
- package/types/CompletionCreateParamsNonStreaming.d.ts +149 -0
- package/types/CompletionCreateParamsStreaming.d.ts +152 -0
- package/types/ConditionalToolRule.d.ts +36 -0
- package/types/ConditionalToolRuleSchema.d.ts +25 -0
- package/types/ContextWindowOverview.d.ts +94 -0
- package/types/ContinueToolRule.d.ts +19 -0
- package/types/CoreMemoryBlockSchema.d.ts +35 -0
- package/types/CreateAgent.d.ts +26 -0
- package/types/CreateAgentMessageAsync.d.ts +29 -0
- package/types/CreateAgentMessageStream.d.ts +28 -0
- package/types/CreateAgentRequest.d.ts +185 -0
- package/types/CreateArchivalMemory.d.ts +11 -0
- package/types/CreateBlock.d.ts +62 -0
- package/types/CreateGroup.d.ts +26 -0
- package/types/CreateIdentity.d.ts +26 -0
- package/types/CreatePassage.d.ts +29 -0
- package/types/CreateProvider.d.ts +22 -0
- package/types/CreateSource.d.ts +22 -0
- package/types/CreateTool.d.ts +22 -0
- package/types/CreateVoiceChatCompletions.d.ts +33 -0
- package/types/DeleteAgent.d.ts +25 -0
- package/types/DeleteBlock.d.ts +26 -0
- package/types/DeleteFileFromSource.d.ts +29 -0
- package/types/DeleteGroup.d.ts +25 -0
- package/types/DeleteIdentity.d.ts +25 -0
- package/types/DeleteJob.d.ts +26 -0
- package/types/DeleteMcpServer.d.ts +27 -0
- package/types/DeletePassage.d.ts +29 -0
- package/types/DeleteProvider.d.ts +26 -0
- package/types/DeleteRun.d.ts +26 -0
- package/types/DeleteSource.d.ts +25 -0
- package/types/DeleteTool.d.ts +25 -0
- package/types/DetachCoreMemoryBlock.d.ts +30 -0
- package/types/DetachSourceFromAgent.d.ts +30 -0
- package/types/DetachTool.d.ts +30 -0
- package/types/DynamicManager.d.ts +20 -0
- package/types/DynamicManagerUpdate.d.ts +14 -0
- package/types/E2BSandboxConfig.d.ts +20 -0
- package/types/EmbeddingConfig.d.ts +71 -0
- package/types/ExportAgentSerialized.d.ts +28 -0
- package/types/File.d.ts +15 -0
- package/types/FileFile.d.ts +18 -0
- package/types/FileMetadata.d.ts +58 -0
- package/types/FunctionCall.d.ts +14 -0
- package/types/FunctionDefinitionInput.d.ts +21 -0
- package/types/FunctionDefinitionOutput.d.ts +16 -0
- package/types/FunctionOutput.d.ts +15 -0
- package/types/FunctionTool.d.ts +16 -0
- package/types/GetSourceIdByName.d.ts +25 -0
- package/types/Group.d.ts +34 -0
- package/types/GroupCreate.d.ts +26 -0
- package/types/GroupUpdate.d.ts +14 -0
- package/types/HTTPValidationError.d.ts +11 -0
- package/types/Health.d.ts +17 -0
- package/types/HealthCheck.d.ts +14 -0
- package/types/HiddenReasoningMessage.d.ts +38 -0
- package/types/Identity.d.ts +47 -0
- package/types/IdentityCreate.d.ts +38 -0
- package/types/IdentityProperty.d.ts +25 -0
- package/types/IdentityPropertyType.d.ts +15 -0
- package/types/IdentityType.d.ts +14 -0
- package/types/IdentityUpdate.d.ts +32 -0
- package/types/IdentityUpsert.d.ts +38 -0
- package/types/ImageURL.d.ts +20 -0
- package/types/ImportAgentSerialized.d.ts +47 -0
- package/types/InitToolRule.d.ts +19 -0
- package/types/InputAudio.d.ts +19 -0
- package/types/JSONSchema.d.ts +21 -0
- package/types/Job.d.ts +51 -0
- package/types/JobStatus.d.ts +18 -0
- package/types/JobType.d.ts +10 -0
- package/types/LLMConfig.d.ts +89 -0
- package/types/LettaAssistantMessageContentUnion.d.ts +12 -0
- package/types/LettaMessageContentUnion.d.ts +32 -0
- package/types/LettaMessageUnion.d.ts +36 -0
- package/types/LettaRequest.d.ts +30 -0
- package/types/LettaRequestConfig.d.ts +24 -0
- package/types/LettaResponse.d.ts +20 -0
- package/types/LettaStreamingRequest.d.ts +36 -0
- package/types/LettaUsageStatistics.d.ts +47 -0
- package/types/LettaUserMessageContentUnion.d.ts +12 -0
- package/types/ListActiveJobs.d.ts +19 -0
- package/types/ListActiveRuns.d.ts +26 -0
- package/types/ListAgentSources.d.ts +26 -0
- package/types/ListAgentTools.d.ts +26 -0
- package/types/ListAgents.d.ts +83 -0
- package/types/ListAgentsForBlock.d.ts +26 -0
- package/types/ListBlocks.d.ts +44 -0
- package/types/ListComposioActionsByApp.d.ts +26 -0
- package/types/ListComposioApps.d.ts +23 -0
- package/types/ListCoreMemoryBlocks.d.ts +26 -0
- package/types/ListEmbeddingModels.d.ts +14 -0
- package/types/ListGroupMessages.d.ts +61 -0
- package/types/ListGroups.d.ts +43 -0
- package/types/ListIdentities.d.ts +33 -0
- package/types/ListJobs.d.ts +26 -0
- package/types/ListMcpServers.d.ts +26 -0
- package/types/ListMcpToolsByServer.d.ts +26 -0
- package/types/ListMessages.d.ts +65 -0
- package/types/ListModels.d.ts +14 -0
- package/types/ListPassages.d.ts +50 -0
- package/types/ListProviders.d.ts +27 -0
- package/types/ListRunMessages.d.ts +53 -0
- package/types/ListRunSteps.d.ts +48 -0
- package/types/ListRuns.d.ts +26 -0
- package/types/ListSourceFiles.d.ts +39 -0
- package/types/ListSourcePassages.d.ts +26 -0
- package/types/ListSources.d.ts +19 -0
- package/types/ListSteps.d.ts +56 -0
- package/types/ListTags.d.ts +27 -0
- package/types/ListTools.d.ts +28 -0
- package/types/LocalSandboxConfig.d.ts +28 -0
- package/types/MCPServerType.d.ts +10 -0
- package/types/MCPTool.d.ts +21 -0
- package/types/ManagerType.d.ts +13 -0
- package/types/MaxCountPerStepToolRule.d.ts +24 -0
- package/types/MaxCountPerStepToolRuleSchema.d.ts +18 -0
- package/types/Memory.d.ts +21 -0
- package/types/Message.d.ts +85 -0
- package/types/MessageCreate.d.ts +32 -0
- package/types/MessageRole.d.ts +13 -0
- package/types/MessageSchema.d.ts +35 -0
- package/types/ModifyAgent.d.ts +29 -0
- package/types/ModifyBlock.d.ts +29 -0
- package/types/ModifyCoreMemoryBlock.d.ts +33 -0
- package/types/ModifyGroup.d.ts +33 -0
- package/types/ModifyGroupMessage.d.ts +42 -0
- package/types/ModifyMessage.d.ts +42 -0
- package/types/ModifyPassage.d.ts +33 -0
- package/types/ModifyProvider.d.ts +22 -0
- package/types/ModifySource.d.ts +29 -0
- package/types/ModifyTool.d.ts +29 -0
- package/types/OmittedReasoningContent.d.ts +21 -0
- package/types/OpenaiTypesChatChatCompletionMessageToolCallParamFunction.d.ts +14 -0
- package/types/OpenaiTypesChatChatCompletionNamedToolChoiceParamFunction.d.ts +10 -0
- package/types/OpenaiTypesChatCompletionCreateParamsFunction.d.ts +20 -0
- package/types/Organization.d.ts +28 -0
- package/types/OrganizationCreate.d.ts +15 -0
- package/types/OrganizationUpdate.d.ts +15 -0
- package/types/ParameterProperties.d.ts +11 -0
- package/types/ParametersSchema.d.ts +21 -0
- package/types/ParentToolRule.d.ts +24 -0
- package/types/Passage.d.ts +71 -0
- package/types/PassageUpdate.d.ts +65 -0
- package/types/PipRequirement.d.ts +16 -0
- package/types/Provider.d.ts +23 -0
- package/types/ProviderCreate.d.ts +16 -0
- package/types/ProviderUpdate.d.ts +16 -0
- package/types/ReasoningContent.d.ts +30 -0
- package/types/ReasoningMessage.d.ts +43 -0
- package/types/RedactedReasoningContent.d.ts +21 -0
- package/types/ResetGroupMessages.d.ts +25 -0
- package/types/ResetMessages.d.ts +35 -0
- package/types/ResponseFormatJSONObject.d.ts +10 -0
- package/types/ResponseFormatJSONSchema.d.ts +15 -0
- package/types/ResponseFormatText.d.ts +10 -0
- package/types/RetrieveAgent.d.ts +26 -0
- package/types/RetrieveAgentContextWindow.d.ts +26 -0
- package/types/RetrieveAgentMemory.d.ts +26 -0
- package/types/RetrieveBlock.d.ts +26 -0
- package/types/RetrieveCoreMemoryBlock.d.ts +30 -0
- package/types/RetrieveGroup.d.ts +26 -0
- package/types/RetrieveIdentity.d.ts +26 -0
- package/types/RetrieveJob.d.ts +26 -0
- package/types/RetrieveRun.d.ts +26 -0
- package/types/RetrieveRunUsage.d.ts +26 -0
- package/types/RetrieveSource.d.ts +26 -0
- package/types/RetrieveStep.d.ts +26 -0
- package/types/RetrieveTool.d.ts +26 -0
- package/types/RoundRobinManager.d.ts +12 -0
- package/types/RoundRobinManagerUpdate.d.ts +12 -0
- package/types/Run.d.ts +56 -0
- package/types/RunToolFromSource.d.ts +22 -0
- package/types/SSEServerConfig.d.ts +21 -0
- package/types/SandboxConfig.d.ts +40 -0
- package/types/SandboxConfigCreate.d.ts +12 -0
- package/types/SandboxConfigUpdate.d.ts +15 -0
- package/types/SandboxEnvironmentVariable.d.ts +47 -0
- package/types/SandboxEnvironmentVariableCreate.d.ts +20 -0
- package/types/SandboxEnvironmentVariableUpdate.d.ts +18 -0
- package/types/SandboxType.d.ts +10 -0
- package/types/SendGroupMessage.d.ts +29 -0
- package/types/SendGroupMessageStreaming.d.ts +28 -0
- package/types/SendMessage.d.ts +29 -0
- package/types/SleeptimeManager.d.ts +16 -0
- package/types/SleeptimeManagerUpdate.d.ts +13 -0
- package/types/Source.d.ts +51 -0
- package/types/SourceCreate.d.ts +37 -0
- package/types/SourceUpdate.d.ts +28 -0
- package/types/StdioServerConfig.d.ts +32 -0
- package/types/Step.d.ts +80 -0
- package/types/SupervisorManager.d.ts +15 -0
- package/types/SupervisorManagerUpdate.d.ts +12 -0
- package/types/SystemMessage.d.ts +33 -0
- package/types/TagSchema.d.ts +10 -0
- package/types/TerminalToolRule.d.ts +19 -0
- package/types/TextContent.d.ts +21 -0
- package/types/Tool.d.ts +73 -0
- package/types/ToolCall.d.ts +18 -0
- package/types/ToolCallContent.d.ts +34 -0
- package/types/ToolCallDelta.d.ts +9 -0
- package/types/ToolCallMessage.d.ts +31 -0
- package/types/ToolCreate.d.ts +44 -0
- package/types/ToolEnvVarSchema.d.ts +23 -0
- package/types/ToolJSONSchema.d.ts +21 -0
- package/types/ToolReturn.d.ts +24 -0
- package/types/ToolReturnContent.d.ts +27 -0
- package/types/ToolReturnMessage.d.ts +47 -0
- package/types/ToolRunFromSource.d.ts +45 -0
- package/types/ToolSchema.d.ts +48 -0
- package/types/ToolType.d.ts +16 -0
- package/types/ToolUpdate.d.ts +38 -0
- package/types/UpdateAgent.d.ts +103 -0
- package/types/UpdateAssistantMessage.d.ts +16 -0
- package/types/UpdateIdentity.d.ts +29 -0
- package/types/UpdateReasoningMessage.d.ts +15 -0
- package/types/UpdateSystemMessage.d.ts +16 -0
- package/types/UpdateUserMessage.d.ts +16 -0
- package/types/UploadFileToSource.d.ts +29 -0
- package/types/UpsertIdentity.d.ts +26 -0
- package/types/UpsertIdentityProperties.d.ts +28 -0
- package/types/UpsertTool.d.ts +22 -0
- package/types/UsageStatistics.d.ts +21 -0
- package/types/User.d.ts +34 -0
- package/types/UserCreate.d.ts +11 -0
- package/types/UserMessage.d.ts +33 -0
- package/types/UserUpdate.d.ts +15 -0
- package/types/ValidationError.d.ts +18 -0
- package/types/WebSearchOptions.d.ts +18 -0
- package/types/WebSearchOptionsUserLocation.d.ts +15 -0
- package/types/WebSearchOptionsUserLocationApproximate.d.ts +22 -0
- package/types/agents/CreateTemplateFromAgent.d.ts +52 -0
- package/types/agents/GetAgentVariables.d.ts +40 -0
- package/types/agents/MigrateAgent.d.ts +90 -0
- package/types/agents/SearchDeployedAgents.d.ts +130 -0
- package/types/agents/VersionAgentTemplate.d.ts +69 -0
- package/types/agents/index.d.ts +10 -0
- package/types/clientSideAccessTokens/CreateClientSideAccessToken.d.ts +120 -0
- package/types/clientSideAccessTokens/DeleteClientSideAccessToken.d.ts +35 -0
- package/types/clientSideAccessTokens/index.d.ts +3 -0
- package/types/index.d.ts +328 -0
- package/types/templates/CreateAgentsFromTemplate.d.ts +67 -0
- package/types/templates/index.d.ts +1 -0
- package/dist/hooks/useAgentMessages/useAgentMessages.d.ts +0 -27
- package/dist/hooks/useAgentMessages/useAgentMessages.js +0 -252
- package/dist/hooks/useAgentPassages/useAgentPassages.d.ts +0 -14
- package/dist/hooks/useAgentPassages/useAgentPassages.js +0 -46
- package/dist/hooks/useAgentState/useAgentState.d.ts +0 -16
- package/dist/hooks/useAgentState/useAgentState.js +0 -63
- package/dist/hooks/useCachedState/useCachedState.d.ts +0 -2
- package/dist/hooks/useCachedState/useCachedState.js +0 -19
- package/dist/hooks/useGlobalLettaConfig/useGlobalLettaConfig.d.ts +0 -17
- package/dist/hooks/useGlobalLettaConfig/useGlobalLettaConfig.js +0 -22
- package/dist/hooks/useLettaClient/useLettaClient.d.ts +0 -2
- package/dist/hooks/useLettaClient/useLettaClient.js +0 -8
- package/dist/types.d.ts +0 -5
- package/dist/types.js +0 -1
- package/examples/view-and-send-messages/package-lock.json +0 -1020
- package/examples/view-and-send-messages/package.json +0 -15
- package/examples/view-and-send-messages/src/App.css +0 -24
- package/examples/view-and-send-messages/src/App.tsx +0 -109
- package/examples/view-and-send-messages/src/client.tsx +0 -34
- package/examples/view-and-send-messages/src/index.html +0 -13
- package/examples/view-and-send-messages/tsconfig.json +0 -21
- package/examples/view-and-send-messages/vite.config.mts +0 -6
- package/hooks/useAgentMessages/useAgentMessages.d.ts +0 -27
- package/hooks/useAgentMessages/useAgentMessages.js +0 -252
- package/hooks/useAgentPassages/useAgentPassages.d.ts +0 -14
- package/hooks/useAgentPassages/useAgentPassages.js +0 -46
- package/hooks/useAgentState/useAgentState.d.ts +0 -16
- package/hooks/useAgentState/useAgentState.js +0 -63
- package/hooks/useCachedState/useCachedState.d.ts +0 -2
- package/hooks/useCachedState/useCachedState.js +0 -19
- package/hooks/useGlobalLettaConfig/useGlobalLettaConfig.d.ts +0 -17
- package/hooks/useGlobalLettaConfig/useGlobalLettaConfig.js +0 -22
- package/hooks/useLettaClient/useLettaClient.d.ts +0 -2
- package/hooks/useLettaClient/useLettaClient.js +0 -8
- package/src/hooks/useAgentMessages/useAgentMessages.ts +0 -394
- package/src/hooks/useAgentPassages/useAgentPassages.ts +0 -52
- package/src/hooks/useAgentState/useAgentState.ts +0 -72
- package/src/hooks/useCachedState/useCachedState.ts +0 -30
- package/src/hooks/useGlobalLettaConfig/useGlobalLettaConfig.tsx +0 -49
- package/src/hooks/useLettaClient/useLettaClient.ts +0 -17
- package/src/types.ts +0 -6
- package/types.d.ts +0 -5
- package/types.js +0 -1
package/README.md
CHANGED
@@ -1,138 +1,9 @@
|
|
1
1
|
# Letta React
|
2
2
|
|
3
|
-
|
3
|
+
An autogenerated library of react-hooks built ontop of tanstack query that makes it easy to use the [Letta API](https://docs.letta.com/) in your React applications.
|
4
4
|
|
5
|
-
|
6
|
-
npm install @letta-ai/letta-react
|
7
|
-
```
|
8
|
-
|
9
|
-
## Documentation
|
10
|
-
|
11
|
-
### Minimal Example
|
12
|
-
|
13
|
-
#### Server-side configuration
|
14
|
-
|
15
|
-
#### Next.js
|
16
|
-
|
17
|
-
Try out [`@letta-ai/letta-nextjs`](https://www.npmjs.com/package/@letta-ai/letta-nextjs) for a more streamlined setup.
|
18
|
-
|
19
|
-
##### Local Letta Instance
|
20
|
-
|
21
|
-
First setup Letta server, [instructions here](https://docs.letta.com/quickstart)
|
22
|
-
|
23
|
-
Add the following environment variable to your environment to avoid CORS errors
|
5
|
+
## Installation
|
24
6
|
|
25
7
|
```bash
|
26
|
-
|
27
|
-
```
|
28
|
-
|
29
|
-
Then start your server.
|
30
|
-
|
31
|
-
##### Cloud/Secure Setups
|
32
|
-
|
33
|
-
Setup a proxy server, below we are using [`express`](https://www.npmjs.com/package/express), [`http-proxy-middleware`](https://www.npmjs.com/package/http-proxy-middleware) and [`cors`](https://www.npmjs.com/package/cors)
|
34
|
-
|
35
|
-
```typescript
|
36
|
-
import * as express from 'express';
|
37
|
-
import type { Request, Response, NextFunction } from 'express';
|
38
|
-
import cors from 'cors';
|
39
|
-
|
40
|
-
import { createProxyMiddleware } from 'http-proxy-middleware';
|
41
|
-
import type { Filter, Options, RequestHandler } from 'http-proxy-middleware';
|
42
|
-
|
43
|
-
const app = express();
|
44
|
-
|
45
|
-
|
46
|
-
app.use(cors({
|
47
|
-
origin: process.env.YOUR_WEBSITE_URL
|
48
|
-
}))
|
49
|
-
|
50
|
-
const lettaProxy = createProxyMiddleware<Request, Response>({
|
51
|
-
target: 'https://api.letta.com', // or your hosted url
|
52
|
-
changeOrigin: true,
|
53
|
-
headers: {
|
54
|
-
Authorization: 'Bearer ${process.env.LETTA_API_KEY}'
|
55
|
-
}
|
56
|
-
}),
|
57
|
-
|
58
|
-
app.use(lettaProxy);
|
59
|
-
|
60
|
-
app.listen(3000);
|
61
|
-
```
|
62
|
-
|
63
|
-
#### Client Side Usage
|
64
|
-
|
65
|
-
##### Set up the `<LettaProvider />`
|
66
|
-
|
67
|
-
Add the `<LettaProvider />` to the root of your application
|
68
|
-
|
69
|
-
```typescript jsx
|
70
|
-
import React from 'react';
|
71
|
-
import { StrictMode } from 'react';
|
72
|
-
import { createRoot } from 'react-dom/client';
|
73
|
-
import App from './App';
|
74
|
-
import { LettaProvider } from '../../src';
|
75
|
-
|
76
|
-
const domNode = document.getElementById('root');
|
77
|
-
const root = createRoot(domNode);
|
78
|
-
|
79
|
-
root.render(
|
80
|
-
<StrictMode>
|
81
|
-
<LettaProvider
|
82
|
-
options={{
|
83
|
-
baseUrl: `your-letta-api-server-location`,
|
84
|
-
}}
|
85
|
-
>
|
86
|
-
<App />
|
87
|
-
</LettaProvider>
|
88
|
-
</StrictMode>
|
89
|
-
);
|
90
|
-
```
|
91
|
-
|
92
|
-
##### Sending and Reading Messages `useAgentMessages`
|
93
|
-
|
94
|
-
Check out [this example](./packages/letta-react/examples/view-and-send-messages) for more detailed usage.
|
95
|
-
|
96
|
-
```typescript jsx
|
97
|
-
const {
|
98
|
-
messages,
|
99
|
-
isLoading,
|
100
|
-
isFetching,
|
101
|
-
isLoadingError,
|
102
|
-
sendMessage,
|
103
|
-
isSending,
|
104
|
-
sendingError,
|
105
|
-
isSendingError,
|
106
|
-
fetchOlderMessages,
|
107
|
-
hasOlderMessages,
|
108
|
-
} = useAgentMessages({
|
109
|
-
agentId: `your-agent-id`,
|
110
|
-
});
|
111
|
-
```
|
112
|
-
|
113
|
-
##### Getting/Setting Agent State
|
114
|
-
|
115
|
-
Check out [this example](./packages/letta-react/examples/view-and-send-messages) for more detailed usage.
|
116
|
-
|
117
|
-
```typescript jsx
|
118
|
-
const {
|
119
|
-
agentState,
|
120
|
-
loadingError,
|
121
|
-
isLoading,
|
122
|
-
refresh,
|
123
|
-
updateAgentState,
|
124
|
-
isUpdating,
|
125
|
-
updatingError,
|
126
|
-
} = useAgentState({
|
127
|
-
agentId: `your-agent-id`,
|
128
|
-
});
|
129
|
-
```
|
130
|
-
|
131
|
-
##### Listing Agent Passages
|
132
|
-
|
133
|
-
```typescript jsx
|
134
|
-
const { passages, loadingError, isLoadingError, isLoading, refresh } =
|
135
|
-
useAgentPassages({
|
136
|
-
agentId: `your-agent-id`,
|
137
|
-
});
|
8
|
+
npm install @letta-ai/letta-react
|
138
9
|
```
|
@@ -0,0 +1,72 @@
|
|
1
|
+
export type { AgentsCreateTemplateFromAgentMutationKey } from './useAgents/createTemplateFromAgent.ts';
|
2
|
+
export type { AgentsGetAgentVariablesQueryKey } from './useAgents/getAgentVariables.ts';
|
3
|
+
export type { AgentsGetAgentVariablesSuspenseQueryKey } from './useAgents/getAgentVariablesSuspense.ts';
|
4
|
+
export type { AgentsMigrateAgentMutationKey } from './useAgents/migrateAgent.ts';
|
5
|
+
export type { AgentsSearchDeployedAgentsMutationKey } from './useAgents/searchDeployedAgents.ts';
|
6
|
+
export type { AgentsVersionAgentTemplateMutationKey } from './useAgents/versionAgentTemplate.ts';
|
7
|
+
export type { CreateAgentMutationKey } from './useCreateAgent.ts';
|
8
|
+
export type { CreateAgentMessageAsyncMutationKey } from './useCreateAgentMessageAsync.ts';
|
9
|
+
export type { CreateAgentMessageStreamMutationKey } from './useCreateAgentMessageStream.ts';
|
10
|
+
export type { CreatePassageMutationKey } from './useCreatePassage.ts';
|
11
|
+
export type { DeleteAgentMutationKey } from './useDeleteAgent.ts';
|
12
|
+
export type { DeletePassageMutationKey } from './useDeletePassage.ts';
|
13
|
+
export type { ExportAgentSerializedQueryKey } from './useExportAgentSerialized.ts';
|
14
|
+
export type { ExportAgentSerializedSuspenseQueryKey } from './useExportAgentSerializedSuspense.ts';
|
15
|
+
export type { ImportAgentSerializedMutationKey } from './useImportAgentSerialized.ts';
|
16
|
+
export type { ListAgentsQueryKey } from './useListAgents.ts';
|
17
|
+
export type { ListAgentSourcesQueryKey } from './useListAgentSources.ts';
|
18
|
+
export type { ListAgentSourcesSuspenseQueryKey } from './useListAgentSourcesSuspense.ts';
|
19
|
+
export type { ListAgentsSuspenseQueryKey } from './useListAgentsSuspense.ts';
|
20
|
+
export type { ListAgentToolsQueryKey } from './useListAgentTools.ts';
|
21
|
+
export type { ListAgentToolsSuspenseQueryKey } from './useListAgentToolsSuspense.ts';
|
22
|
+
export type { ListCoreMemoryBlocksQueryKey } from './useListCoreMemoryBlocks.ts';
|
23
|
+
export type { ListCoreMemoryBlocksSuspenseQueryKey } from './useListCoreMemoryBlocksSuspense.ts';
|
24
|
+
export type { ListMessagesQueryKey } from './useListMessages.ts';
|
25
|
+
export type { ListMessagesSuspenseQueryKey } from './useListMessagesSuspense.ts';
|
26
|
+
export type { ListPassagesQueryKey } from './useListPassages.ts';
|
27
|
+
export type { ListPassagesSuspenseQueryKey } from './useListPassagesSuspense.ts';
|
28
|
+
export type { RetrieveAgentQueryKey } from './useRetrieveAgent.ts';
|
29
|
+
export type { RetrieveAgentContextWindowQueryKey } from './useRetrieveAgentContextWindow.ts';
|
30
|
+
export type { RetrieveAgentContextWindowSuspenseQueryKey } from './useRetrieveAgentContextWindowSuspense.ts';
|
31
|
+
export type { RetrieveAgentMemoryQueryKey } from './useRetrieveAgentMemory.ts';
|
32
|
+
export type { RetrieveAgentMemorySuspenseQueryKey } from './useRetrieveAgentMemorySuspense.ts';
|
33
|
+
export type { RetrieveAgentSuspenseQueryKey } from './useRetrieveAgentSuspense.ts';
|
34
|
+
export type { RetrieveCoreMemoryBlockQueryKey } from './useRetrieveCoreMemoryBlock.ts';
|
35
|
+
export type { RetrieveCoreMemoryBlockSuspenseQueryKey } from './useRetrieveCoreMemoryBlockSuspense.ts';
|
36
|
+
export type { SendMessageMutationKey } from './useSendMessage.ts';
|
37
|
+
export { agentsCreateTemplateFromAgentMutationKey, agentsCreateTemplateFromAgent, useAgentsCreateTemplateFromAgent, } from './useAgents/createTemplateFromAgent.ts';
|
38
|
+
export { agentsGetAgentVariablesQueryKey, agentsGetAgentVariables, agentsGetAgentVariablesQueryOptions, useAgentsGetAgentVariables, } from './useAgents/getAgentVariables.ts';
|
39
|
+
export { agentsGetAgentVariablesSuspenseQueryKey, agentsGetAgentVariablesSuspense, agentsGetAgentVariablesSuspenseQueryOptions, useAgentsGetAgentVariablesSuspense, } from './useAgents/getAgentVariablesSuspense.ts';
|
40
|
+
export { agentsMigrateAgentMutationKey, agentsMigrateAgent, useAgentsMigrateAgent, } from './useAgents/migrateAgent.ts';
|
41
|
+
export { agentsSearchDeployedAgentsMutationKey, agentsSearchDeployedAgents, useAgentsSearchDeployedAgents, } from './useAgents/searchDeployedAgents.ts';
|
42
|
+
export { agentsVersionAgentTemplateMutationKey, agentsVersionAgentTemplate, useAgentsVersionAgentTemplate, } from './useAgents/versionAgentTemplate.ts';
|
43
|
+
export { createAgentMutationKey, createAgent, useCreateAgent, } from './useCreateAgent.ts';
|
44
|
+
export { createAgentMessageAsyncMutationKey, createAgentMessageAsync, useCreateAgentMessageAsync, } from './useCreateAgentMessageAsync.ts';
|
45
|
+
export { createAgentMessageStreamMutationKey, createAgentMessageStream, useCreateAgentMessageStream, } from './useCreateAgentMessageStream.ts';
|
46
|
+
export { createPassageMutationKey, createPassage, useCreatePassage, } from './useCreatePassage.ts';
|
47
|
+
export { deleteAgentMutationKey, deleteAgent, useDeleteAgent, } from './useDeleteAgent.ts';
|
48
|
+
export { deletePassageMutationKey, deletePassage, useDeletePassage, } from './useDeletePassage.ts';
|
49
|
+
export { exportAgentSerializedQueryKey, exportAgentSerialized, exportAgentSerializedQueryOptions, useExportAgentSerialized, } from './useExportAgentSerialized.ts';
|
50
|
+
export { exportAgentSerializedSuspenseQueryKey, exportAgentSerializedSuspense, exportAgentSerializedSuspenseQueryOptions, useExportAgentSerializedSuspense, } from './useExportAgentSerializedSuspense.ts';
|
51
|
+
export { importAgentSerializedMutationKey, importAgentSerialized, useImportAgentSerialized, } from './useImportAgentSerialized.ts';
|
52
|
+
export { listAgentsQueryKey, listAgents, listAgentsQueryOptions, useListAgents, } from './useListAgents.ts';
|
53
|
+
export { listAgentSourcesQueryKey, listAgentSources, listAgentSourcesQueryOptions, useListAgentSources, } from './useListAgentSources.ts';
|
54
|
+
export { listAgentSourcesSuspenseQueryKey, listAgentSourcesSuspense, listAgentSourcesSuspenseQueryOptions, useListAgentSourcesSuspense, } from './useListAgentSourcesSuspense.ts';
|
55
|
+
export { listAgentsSuspenseQueryKey, listAgentsSuspense, listAgentsSuspenseQueryOptions, useListAgentsSuspense, } from './useListAgentsSuspense.ts';
|
56
|
+
export { listAgentToolsQueryKey, listAgentTools, listAgentToolsQueryOptions, useListAgentTools, } from './useListAgentTools.ts';
|
57
|
+
export { listAgentToolsSuspenseQueryKey, listAgentToolsSuspense, listAgentToolsSuspenseQueryOptions, useListAgentToolsSuspense, } from './useListAgentToolsSuspense.ts';
|
58
|
+
export { listCoreMemoryBlocksQueryKey, listCoreMemoryBlocks, listCoreMemoryBlocksQueryOptions, useListCoreMemoryBlocks, } from './useListCoreMemoryBlocks.ts';
|
59
|
+
export { listCoreMemoryBlocksSuspenseQueryKey, listCoreMemoryBlocksSuspense, listCoreMemoryBlocksSuspenseQueryOptions, useListCoreMemoryBlocksSuspense, } from './useListCoreMemoryBlocksSuspense.ts';
|
60
|
+
export { listMessagesQueryKey, listMessages, listMessagesQueryOptions, useListMessages, } from './useListMessages.ts';
|
61
|
+
export { listMessagesSuspenseQueryKey, listMessagesSuspense, listMessagesSuspenseQueryOptions, useListMessagesSuspense, } from './useListMessagesSuspense.ts';
|
62
|
+
export { listPassagesQueryKey, listPassages, listPassagesQueryOptions, useListPassages, } from './useListPassages.ts';
|
63
|
+
export { listPassagesSuspenseQueryKey, listPassagesSuspense, listPassagesSuspenseQueryOptions, useListPassagesSuspense, } from './useListPassagesSuspense.ts';
|
64
|
+
export { retrieveAgentQueryKey, retrieveAgent, retrieveAgentQueryOptions, useRetrieveAgent, } from './useRetrieveAgent.ts';
|
65
|
+
export { retrieveAgentContextWindowQueryKey, retrieveAgentContextWindow, retrieveAgentContextWindowQueryOptions, useRetrieveAgentContextWindow, } from './useRetrieveAgentContextWindow.ts';
|
66
|
+
export { retrieveAgentContextWindowSuspenseQueryKey, retrieveAgentContextWindowSuspense, retrieveAgentContextWindowSuspenseQueryOptions, useRetrieveAgentContextWindowSuspense, } from './useRetrieveAgentContextWindowSuspense.ts';
|
67
|
+
export { retrieveAgentMemoryQueryKey, retrieveAgentMemory, retrieveAgentMemoryQueryOptions, useRetrieveAgentMemory, } from './useRetrieveAgentMemory.ts';
|
68
|
+
export { retrieveAgentMemorySuspenseQueryKey, retrieveAgentMemorySuspense, retrieveAgentMemorySuspenseQueryOptions, useRetrieveAgentMemorySuspense, } from './useRetrieveAgentMemorySuspense.ts';
|
69
|
+
export { retrieveAgentSuspenseQueryKey, retrieveAgentSuspense, retrieveAgentSuspenseQueryOptions, useRetrieveAgentSuspense, } from './useRetrieveAgentSuspense.ts';
|
70
|
+
export { retrieveCoreMemoryBlockQueryKey, retrieveCoreMemoryBlock, retrieveCoreMemoryBlockQueryOptions, useRetrieveCoreMemoryBlock, } from './useRetrieveCoreMemoryBlock.ts';
|
71
|
+
export { retrieveCoreMemoryBlockSuspenseQueryKey, retrieveCoreMemoryBlockSuspense, retrieveCoreMemoryBlockSuspenseQueryOptions, useRetrieveCoreMemoryBlockSuspense, } from './useRetrieveCoreMemoryBlockSuspense.ts';
|
72
|
+
export { sendMessageMutationKey, sendMessage, useSendMessage, } from './useSendMessage.ts';
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsCreateTemplateFromAgentMutationRequest, AgentsCreateTemplateFromAgentMutationResponse, AgentsCreateTemplateFromAgentPathParams, AgentsCreateTemplateFromAgent500 } from '../../../types/agents/CreateTemplateFromAgent.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const agentsCreateTemplateFromAgentMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/{agent_id}/template";
|
11
|
+
}];
|
12
|
+
export type AgentsCreateTemplateFromAgentMutationKey = ReturnType<typeof agentsCreateTemplateFromAgentMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Create a template from an agent
|
15
|
+
* @summary Create Template From Agent
|
16
|
+
* {@link /v1/agents/:agent_id/template}
|
17
|
+
*/
|
18
|
+
export declare function agentsCreateTemplateFromAgent(agent_id: AgentsCreateTemplateFromAgentPathParams['agent_id'], data?: AgentsCreateTemplateFromAgentMutationRequest, config?: Partial<RequestConfig<AgentsCreateTemplateFromAgentMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<import("../../../types/agents/CreateTemplateFromAgent.ts").AgentsCreateTemplateFromAgent201>>;
|
21
|
+
/**
|
22
|
+
* @description Create a template from an agent
|
23
|
+
* @summary Create Template From Agent
|
24
|
+
* {@link /v1/agents/:agent_id/template}
|
25
|
+
*/
|
26
|
+
export declare function useAgentsCreateTemplateFromAgent<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<AgentsCreateTemplateFromAgentMutationResponse>, ResponseErrorConfig<AgentsCreateTemplateFromAgent500>, {
|
28
|
+
agent_id: AgentsCreateTemplateFromAgentPathParams['agent_id'];
|
29
|
+
data?: AgentsCreateTemplateFromAgentMutationRequest;
|
30
|
+
}, TContext> & {
|
31
|
+
client?: QueryClient;
|
32
|
+
};
|
33
|
+
client?: Partial<RequestConfig<AgentsCreateTemplateFromAgentMutationRequest>> & {
|
34
|
+
client?: typeof client;
|
35
|
+
};
|
36
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../../types/agents/CreateTemplateFromAgent.ts").AgentsCreateTemplateFromAgent201>, ResponseErrorConfig<AgentsCreateTemplateFromAgent500>, {
|
37
|
+
agent_id: AgentsCreateTemplateFromAgentPathParams["agent_id"];
|
38
|
+
data?: AgentsCreateTemplateFromAgentMutationRequest;
|
39
|
+
}, TContext>;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsGetAgentVariablesQueryResponse, AgentsGetAgentVariablesPathParams, AgentsGetAgentVariables404 } from '../../../types/agents/GetAgentVariables.ts';
|
7
|
+
import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query';
|
9
|
+
export declare const agentsGetAgentVariablesQueryKey: (agent_id: AgentsGetAgentVariablesPathParams["agent_id"]) => readonly [{
|
10
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
11
|
+
readonly params: {
|
12
|
+
readonly agent_id: string;
|
13
|
+
};
|
14
|
+
}];
|
15
|
+
export type AgentsGetAgentVariablesQueryKey = ReturnType<typeof agentsGetAgentVariablesQueryKey>;
|
16
|
+
/**
|
17
|
+
* @description Get the variables associated with an agent
|
18
|
+
* @summary Retrieve Memory Variables
|
19
|
+
* {@link /v1/agents/:agent_id/core-memory/variables}
|
20
|
+
*/
|
21
|
+
export declare function agentsGetAgentVariables(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], config?: Partial<RequestConfig> & {
|
22
|
+
client?: typeof client;
|
23
|
+
}): Promise<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>>;
|
24
|
+
export declare function agentsGetAgentVariablesQueryOptions(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], config?: Partial<RequestConfig> & {
|
25
|
+
client?: typeof client;
|
26
|
+
}): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, ResponseErrorConfig<AgentsGetAgentVariables404>, ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, readonly [{
|
27
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
28
|
+
readonly params: {
|
29
|
+
readonly agent_id: string;
|
30
|
+
};
|
31
|
+
}]>, "queryFn"> & {
|
32
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, readonly [{
|
33
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
34
|
+
readonly params: {
|
35
|
+
readonly agent_id: string;
|
36
|
+
};
|
37
|
+
}], never> | undefined;
|
38
|
+
} & {
|
39
|
+
queryKey: readonly [{
|
40
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
41
|
+
readonly params: {
|
42
|
+
readonly agent_id: string;
|
43
|
+
};
|
44
|
+
}] & {
|
45
|
+
[dataTagSymbol]: ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>;
|
46
|
+
[dataTagErrorSymbol]: ResponseErrorConfig<AgentsGetAgentVariables404>;
|
47
|
+
};
|
48
|
+
};
|
49
|
+
/**
|
50
|
+
* @description Get the variables associated with an agent
|
51
|
+
* @summary Retrieve Memory Variables
|
52
|
+
* {@link /v1/agents/:agent_id/core-memory/variables}
|
53
|
+
*/
|
54
|
+
export declare function useAgentsGetAgentVariables<TData = ResponseConfig<AgentsGetAgentVariablesQueryResponse>, TQueryData = ResponseConfig<AgentsGetAgentVariablesQueryResponse>, TQueryKey extends QueryKey = AgentsGetAgentVariablesQueryKey>(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], options?: {
|
55
|
+
query?: Partial<QueryObserverOptions<ResponseConfig<AgentsGetAgentVariablesQueryResponse>, ResponseErrorConfig<AgentsGetAgentVariables404>, TData, TQueryData, TQueryKey>> & {
|
56
|
+
client?: QueryClient;
|
57
|
+
};
|
58
|
+
client?: Partial<RequestConfig> & {
|
59
|
+
client?: typeof client;
|
60
|
+
};
|
61
|
+
}): UseQueryResult<TData, ResponseErrorConfig<AgentsGetAgentVariables404>> & {
|
62
|
+
queryKey: TQueryKey;
|
63
|
+
};
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsGetAgentVariablesQueryResponse, AgentsGetAgentVariablesPathParams, AgentsGetAgentVariables404 } from '../../../types/agents/GetAgentVariables.ts';
|
7
|
+
import type { RequestConfig, ResponseErrorConfig, ResponseConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from '@tanstack/react-query';
|
9
|
+
export declare const agentsGetAgentVariablesSuspenseQueryKey: (agent_id: AgentsGetAgentVariablesPathParams["agent_id"]) => readonly [{
|
10
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
11
|
+
readonly params: {
|
12
|
+
readonly agent_id: string;
|
13
|
+
};
|
14
|
+
}];
|
15
|
+
export type AgentsGetAgentVariablesSuspenseQueryKey = ReturnType<typeof agentsGetAgentVariablesSuspenseQueryKey>;
|
16
|
+
/**
|
17
|
+
* @description Get the variables associated with an agent
|
18
|
+
* @summary Retrieve Memory Variables
|
19
|
+
* {@link /v1/agents/:agent_id/core-memory/variables}
|
20
|
+
*/
|
21
|
+
export declare function agentsGetAgentVariablesSuspense(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], config?: Partial<RequestConfig> & {
|
22
|
+
client?: typeof client;
|
23
|
+
}): Promise<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>>;
|
24
|
+
export declare function agentsGetAgentVariablesSuspenseQueryOptions(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], config?: Partial<RequestConfig> & {
|
25
|
+
client?: typeof client;
|
26
|
+
}): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, ResponseErrorConfig<AgentsGetAgentVariables404>, ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, readonly [{
|
27
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
28
|
+
readonly params: {
|
29
|
+
readonly agent_id: string;
|
30
|
+
};
|
31
|
+
}]>, "queryFn"> & {
|
32
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>, readonly [{
|
33
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
34
|
+
readonly params: {
|
35
|
+
readonly agent_id: string;
|
36
|
+
};
|
37
|
+
}], never> | undefined;
|
38
|
+
} & {
|
39
|
+
queryKey: readonly [{
|
40
|
+
readonly url: "/v1/agents/:agent_id/core-memory/variables";
|
41
|
+
readonly params: {
|
42
|
+
readonly agent_id: string;
|
43
|
+
};
|
44
|
+
}] & {
|
45
|
+
[dataTagSymbol]: ResponseConfig<import("../../../types/agents/GetAgentVariables.ts").AgentsGetAgentVariables200>;
|
46
|
+
[dataTagErrorSymbol]: ResponseErrorConfig<AgentsGetAgentVariables404>;
|
47
|
+
};
|
48
|
+
};
|
49
|
+
/**
|
50
|
+
* @description Get the variables associated with an agent
|
51
|
+
* @summary Retrieve Memory Variables
|
52
|
+
* {@link /v1/agents/:agent_id/core-memory/variables}
|
53
|
+
*/
|
54
|
+
export declare function useAgentsGetAgentVariablesSuspense<TData = ResponseConfig<AgentsGetAgentVariablesQueryResponse>, TQueryData = ResponseConfig<AgentsGetAgentVariablesQueryResponse>, TQueryKey extends QueryKey = AgentsGetAgentVariablesSuspenseQueryKey>(agent_id: AgentsGetAgentVariablesPathParams['agent_id'], options?: {
|
55
|
+
query?: Partial<UseSuspenseQueryOptions<ResponseConfig<AgentsGetAgentVariablesQueryResponse>, ResponseErrorConfig<AgentsGetAgentVariables404>, TData, TQueryKey>> & {
|
56
|
+
client?: QueryClient;
|
57
|
+
};
|
58
|
+
client?: Partial<RequestConfig> & {
|
59
|
+
client?: typeof client;
|
60
|
+
};
|
61
|
+
}): UseSuspenseQueryResult<TData, ResponseErrorConfig<AgentsGetAgentVariables404>> & {
|
62
|
+
queryKey: TQueryKey;
|
63
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export type { AgentsCreateTemplateFromAgentMutationKey } from './createTemplateFromAgent.ts';
|
2
|
+
export type { AgentsGetAgentVariablesQueryKey } from './getAgentVariables.ts';
|
3
|
+
export type { AgentsGetAgentVariablesSuspenseQueryKey } from './getAgentVariablesSuspense.ts';
|
4
|
+
export type { AgentsMigrateAgentMutationKey } from './migrateAgent.ts';
|
5
|
+
export type { AgentsSearchDeployedAgentsMutationKey } from './searchDeployedAgents.ts';
|
6
|
+
export type { AgentsVersionAgentTemplateMutationKey } from './versionAgentTemplate.ts';
|
7
|
+
export { agentsCreateTemplateFromAgentMutationKey, agentsCreateTemplateFromAgent, useAgentsCreateTemplateFromAgent, } from './createTemplateFromAgent.ts';
|
8
|
+
export { agentsGetAgentVariablesQueryKey, agentsGetAgentVariables, agentsGetAgentVariablesQueryOptions, useAgentsGetAgentVariables, } from './getAgentVariables.ts';
|
9
|
+
export { agentsGetAgentVariablesSuspenseQueryKey, agentsGetAgentVariablesSuspense, agentsGetAgentVariablesSuspenseQueryOptions, useAgentsGetAgentVariablesSuspense, } from './getAgentVariablesSuspense.ts';
|
10
|
+
export { agentsMigrateAgentMutationKey, agentsMigrateAgent, useAgentsMigrateAgent, } from './migrateAgent.ts';
|
11
|
+
export { agentsSearchDeployedAgentsMutationKey, agentsSearchDeployedAgents, useAgentsSearchDeployedAgents, } from './searchDeployedAgents.ts';
|
12
|
+
export { agentsVersionAgentTemplateMutationKey, agentsVersionAgentTemplate, useAgentsVersionAgentTemplate, } from './versionAgentTemplate.ts';
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsMigrateAgentMutationRequest, AgentsMigrateAgentMutationResponse, AgentsMigrateAgentPathParams, AgentsMigrateAgent404, AgentsMigrateAgent409, AgentsMigrateAgent500 } from '../../../types/agents/MigrateAgent.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const agentsMigrateAgentMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/{agent_id}/migrate";
|
11
|
+
}];
|
12
|
+
export type AgentsMigrateAgentMutationKey = ReturnType<typeof agentsMigrateAgentMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Migrate an agent to a new versioned agent template
|
15
|
+
* @summary Migrate Agent
|
16
|
+
* {@link /v1/agents/:agent_id/migrate}
|
17
|
+
*/
|
18
|
+
export declare function agentsMigrateAgent(agent_id: AgentsMigrateAgentPathParams['agent_id'], data: AgentsMigrateAgentMutationRequest, config?: Partial<RequestConfig<AgentsMigrateAgentMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<import("../../../types/agents/MigrateAgent.ts").AgentsMigrateAgent200>>;
|
21
|
+
/**
|
22
|
+
* @description Migrate an agent to a new versioned agent template
|
23
|
+
* @summary Migrate Agent
|
24
|
+
* {@link /v1/agents/:agent_id/migrate}
|
25
|
+
*/
|
26
|
+
export declare function useAgentsMigrateAgent<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<AgentsMigrateAgentMutationResponse>, ResponseErrorConfig<AgentsMigrateAgent404 | AgentsMigrateAgent409 | AgentsMigrateAgent500>, {
|
28
|
+
agent_id: AgentsMigrateAgentPathParams['agent_id'];
|
29
|
+
data: AgentsMigrateAgentMutationRequest;
|
30
|
+
}, TContext> & {
|
31
|
+
client?: QueryClient;
|
32
|
+
};
|
33
|
+
client?: Partial<RequestConfig<AgentsMigrateAgentMutationRequest>> & {
|
34
|
+
client?: typeof client;
|
35
|
+
};
|
36
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../../types/agents/MigrateAgent.ts").AgentsMigrateAgent200>, ResponseErrorConfig<AgentsMigrateAgent404 | AgentsMigrateAgent409 | AgentsMigrateAgent500>, {
|
37
|
+
agent_id: AgentsMigrateAgentPathParams["agent_id"];
|
38
|
+
data: AgentsMigrateAgentMutationRequest;
|
39
|
+
}, TContext>;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsSearchDeployedAgentsMutationRequest, AgentsSearchDeployedAgentsMutationResponse } from '../../../types/agents/SearchDeployedAgents.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const agentsSearchDeployedAgentsMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/search";
|
11
|
+
}];
|
12
|
+
export type AgentsSearchDeployedAgentsMutationKey = ReturnType<typeof agentsSearchDeployedAgentsMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Search deployed agents
|
15
|
+
* @summary Search Deployed Agents
|
16
|
+
* {@link /v1/agents/search}
|
17
|
+
*/
|
18
|
+
export declare function agentsSearchDeployedAgents(data?: AgentsSearchDeployedAgentsMutationRequest, config?: Partial<RequestConfig<AgentsSearchDeployedAgentsMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<import("../../../types/agents/SearchDeployedAgents.ts").AgentsSearchDeployedAgents200>>;
|
21
|
+
/**
|
22
|
+
* @description Search deployed agents
|
23
|
+
* @summary Search Deployed Agents
|
24
|
+
* {@link /v1/agents/search}
|
25
|
+
*/
|
26
|
+
export declare function useAgentsSearchDeployedAgents<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<AgentsSearchDeployedAgentsMutationResponse>, ResponseErrorConfig<Error>, {
|
28
|
+
data?: AgentsSearchDeployedAgentsMutationRequest;
|
29
|
+
}, TContext> & {
|
30
|
+
client?: QueryClient;
|
31
|
+
};
|
32
|
+
client?: Partial<RequestConfig<AgentsSearchDeployedAgentsMutationRequest>> & {
|
33
|
+
client?: typeof client;
|
34
|
+
};
|
35
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../../types/agents/SearchDeployedAgents.ts").AgentsSearchDeployedAgents200>, ResponseErrorConfig<Error>, {
|
36
|
+
data?: AgentsSearchDeployedAgentsMutationRequest;
|
37
|
+
}, TContext>;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { AgentsVersionAgentTemplateMutationRequest, AgentsVersionAgentTemplateMutationResponse, AgentsVersionAgentTemplatePathParams, AgentsVersionAgentTemplateQueryParams, AgentsVersionAgentTemplate404, AgentsVersionAgentTemplate500 } from '../../../types/agents/VersionAgentTemplate.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const agentsVersionAgentTemplateMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/{agent_id}/version-template";
|
11
|
+
}];
|
12
|
+
export type AgentsVersionAgentTemplateMutationKey = ReturnType<typeof agentsVersionAgentTemplateMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Creates a versioned version of an agent
|
15
|
+
* @summary Version Agent Template
|
16
|
+
* {@link /v1/agents/:agent_id/version-template}
|
17
|
+
*/
|
18
|
+
export declare function agentsVersionAgentTemplate(agent_id: AgentsVersionAgentTemplatePathParams['agent_id'], data?: AgentsVersionAgentTemplateMutationRequest, params?: AgentsVersionAgentTemplateQueryParams, config?: Partial<RequestConfig<AgentsVersionAgentTemplateMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<any>>;
|
21
|
+
/**
|
22
|
+
* @description Creates a versioned version of an agent
|
23
|
+
* @summary Version Agent Template
|
24
|
+
* {@link /v1/agents/:agent_id/version-template}
|
25
|
+
*/
|
26
|
+
export declare function useAgentsVersionAgentTemplate<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<AgentsVersionAgentTemplateMutationResponse>, ResponseErrorConfig<AgentsVersionAgentTemplate404 | AgentsVersionAgentTemplate500>, {
|
28
|
+
agent_id: AgentsVersionAgentTemplatePathParams['agent_id'];
|
29
|
+
data?: AgentsVersionAgentTemplateMutationRequest;
|
30
|
+
params?: AgentsVersionAgentTemplateQueryParams;
|
31
|
+
}, TContext> & {
|
32
|
+
client?: QueryClient;
|
33
|
+
};
|
34
|
+
client?: Partial<RequestConfig<AgentsVersionAgentTemplateMutationRequest>> & {
|
35
|
+
client?: typeof client;
|
36
|
+
};
|
37
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<any>, ResponseErrorConfig<AgentsVersionAgentTemplate404 | AgentsVersionAgentTemplate500>, {
|
38
|
+
agent_id: AgentsVersionAgentTemplatePathParams["agent_id"];
|
39
|
+
data?: AgentsVersionAgentTemplateMutationRequest;
|
40
|
+
params?: AgentsVersionAgentTemplateQueryParams;
|
41
|
+
}, TContext>;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { CreateAgentMutationRequest, CreateAgentMutationResponse, CreateAgentHeaderParams, CreateAgent422 } from '../../types/CreateAgent.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const createAgentMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/";
|
11
|
+
}];
|
12
|
+
export type CreateAgentMutationKey = ReturnType<typeof createAgentMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Create a new agent with the specified configuration.
|
15
|
+
* @summary Create Agent
|
16
|
+
* {@link /v1/agents/}
|
17
|
+
*/
|
18
|
+
export declare function createAgent(data?: CreateAgentMutationRequest, headers?: CreateAgentHeaderParams, config?: Partial<RequestConfig<CreateAgentMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<import("../../index.ts").AgentState>>;
|
21
|
+
/**
|
22
|
+
* @description Create a new agent with the specified configuration.
|
23
|
+
* @summary Create Agent
|
24
|
+
* {@link /v1/agents/}
|
25
|
+
*/
|
26
|
+
export declare function useCreateAgent<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<CreateAgentMutationResponse>, ResponseErrorConfig<CreateAgent422>, {
|
28
|
+
data?: CreateAgentMutationRequest;
|
29
|
+
headers?: CreateAgentHeaderParams;
|
30
|
+
}, TContext> & {
|
31
|
+
client?: QueryClient;
|
32
|
+
};
|
33
|
+
client?: Partial<RequestConfig<CreateAgentMutationRequest>> & {
|
34
|
+
client?: typeof client;
|
35
|
+
};
|
36
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../index.ts").AgentState>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
|
37
|
+
data?: CreateAgentMutationRequest;
|
38
|
+
headers?: CreateAgentHeaderParams;
|
39
|
+
}, TContext>;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { CreateAgentMessageAsyncMutationRequest, CreateAgentMessageAsyncMutationResponse, CreateAgentMessageAsyncPathParams, CreateAgentMessageAsync422 } from '../../types/CreateAgentMessageAsync.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const createAgentMessageAsyncMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/{agent_id}/messages/async";
|
11
|
+
}];
|
12
|
+
export type CreateAgentMessageAsyncMutationKey = ReturnType<typeof createAgentMessageAsyncMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Asynchronously process a user message and return a run object.The actual processing happens in the background, and the status can be checked using the run ID.
|
15
|
+
* @summary Send Message Async
|
16
|
+
* {@link /v1/agents/:agent_id/messages/async}
|
17
|
+
*/
|
18
|
+
export declare function createAgentMessageAsync(agent_id: CreateAgentMessageAsyncPathParams['agent_id'], data: CreateAgentMessageAsyncMutationRequest, config?: Partial<RequestConfig<CreateAgentMessageAsyncMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<import("../../index.ts").Run>>;
|
21
|
+
/**
|
22
|
+
* @description Asynchronously process a user message and return a run object.The actual processing happens in the background, and the status can be checked using the run ID.
|
23
|
+
* @summary Send Message Async
|
24
|
+
* {@link /v1/agents/:agent_id/messages/async}
|
25
|
+
*/
|
26
|
+
export declare function useCreateAgentMessageAsync<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<CreateAgentMessageAsyncMutationResponse>, ResponseErrorConfig<CreateAgentMessageAsync422>, {
|
28
|
+
agent_id: CreateAgentMessageAsyncPathParams['agent_id'];
|
29
|
+
data: CreateAgentMessageAsyncMutationRequest;
|
30
|
+
}, TContext> & {
|
31
|
+
client?: QueryClient;
|
32
|
+
};
|
33
|
+
client?: Partial<RequestConfig<CreateAgentMessageAsyncMutationRequest>> & {
|
34
|
+
client?: typeof client;
|
35
|
+
};
|
36
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<import("../../index.ts").Run>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
|
37
|
+
agent_id: CreateAgentMessageAsyncPathParams["agent_id"];
|
38
|
+
data: CreateAgentMessageAsyncMutationRequest;
|
39
|
+
}, TContext>;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
3
|
+
* Do not edit manually.
|
4
|
+
*/
|
5
|
+
import client from '@kubb/plugin-client/clients/axios';
|
6
|
+
import type { CreateAgentMessageStreamMutationRequest, CreateAgentMessageStreamMutationResponse, CreateAgentMessageStreamPathParams, CreateAgentMessageStream422 } from '../../types/CreateAgentMessageStream.ts';
|
7
|
+
import type { RequestConfig, ResponseConfig, ResponseErrorConfig } from '@kubb/plugin-client/clients/axios';
|
8
|
+
import type { UseMutationOptions, QueryClient } from '@tanstack/react-query';
|
9
|
+
export declare const createAgentMessageStreamMutationKey: () => readonly [{
|
10
|
+
readonly url: "/v1/agents/{agent_id}/messages/stream";
|
11
|
+
}];
|
12
|
+
export type CreateAgentMessageStreamMutationKey = ReturnType<typeof createAgentMessageStreamMutationKey>;
|
13
|
+
/**
|
14
|
+
* @description Process a user message and return the agent's response.This endpoint accepts a message from a user and processes it through the agent.It will stream the steps of the response always, and stream the tokens if 'stream_tokens' is set to True.
|
15
|
+
* @summary Send Message Streaming
|
16
|
+
* {@link /v1/agents/:agent_id/messages/stream}
|
17
|
+
*/
|
18
|
+
export declare function createAgentMessageStream(agent_id: CreateAgentMessageStreamPathParams['agent_id'], data: CreateAgentMessageStreamMutationRequest, config?: Partial<RequestConfig<CreateAgentMessageStreamMutationRequest>> & {
|
19
|
+
client?: typeof client;
|
20
|
+
}): Promise<ResponseConfig<any>>;
|
21
|
+
/**
|
22
|
+
* @description Process a user message and return the agent's response.This endpoint accepts a message from a user and processes it through the agent.It will stream the steps of the response always, and stream the tokens if 'stream_tokens' is set to True.
|
23
|
+
* @summary Send Message Streaming
|
24
|
+
* {@link /v1/agents/:agent_id/messages/stream}
|
25
|
+
*/
|
26
|
+
export declare function useCreateAgentMessageStream<TContext>(options?: {
|
27
|
+
mutation?: UseMutationOptions<ResponseConfig<CreateAgentMessageStreamMutationResponse>, ResponseErrorConfig<CreateAgentMessageStream422>, {
|
28
|
+
agent_id: CreateAgentMessageStreamPathParams['agent_id'];
|
29
|
+
data: CreateAgentMessageStreamMutationRequest;
|
30
|
+
}, TContext> & {
|
31
|
+
client?: QueryClient;
|
32
|
+
};
|
33
|
+
client?: Partial<RequestConfig<CreateAgentMessageStreamMutationRequest>> & {
|
34
|
+
client?: typeof client;
|
35
|
+
};
|
36
|
+
}): import("@tanstack/react-query").UseMutationResult<ResponseConfig<any>, ResponseErrorConfig<import("../../index.ts").HTTPValidationError>, {
|
37
|
+
agent_id: CreateAgentMessageStreamPathParams["agent_id"];
|
38
|
+
data: CreateAgentMessageStreamMutationRequest;
|
39
|
+
}, TContext>;
|