@letta-ai/letta-client 0.1.1 → 0.1.4
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/Client.d.ts +2 -2
- package/Client.js +1 -1
- package/README.md +1 -1
- package/api/resources/agents/client/Client.d.ts +21 -7
- package/api/resources/agents/client/Client.js +245 -60
- package/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +1 -1
- package/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
- package/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -1
- package/api/resources/agents/client/requests/AgentsMigrateRequest.d.ts +4 -4
- package/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +1 -1
- package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +20 -16
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +10 -8
- package/api/resources/agents/resources/archivalMemory/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/archivalMemory/client/Client.js +63 -19
- package/api/resources/agents/resources/context/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/context/client/Client.js +21 -7
- package/api/resources/agents/resources/memory/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/memory/client/Client.js +21 -7
- package/api/resources/agents/resources/memory/resources/messages/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/memory/resources/messages/client/Client.js +21 -7
- package/api/resources/agents/resources/memoryBlocks/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/memoryBlocks/client/Client.js +38 -12
- package/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/messages/client/Client.js +75 -23
- package/api/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +12 -3
- package/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
- package/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +3 -3
- package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +24 -1
- package/api/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +21 -1
- package/api/resources/agents/resources/recallMemory/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/recallMemory/client/Client.js +21 -7
- package/api/resources/agents/resources/sources/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/sources/client/Client.js +21 -7
- package/api/resources/agents/resources/tools/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/tools/client/Client.js +53 -15
- package/api/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +6 -0
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +12 -1
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +8 -0
- package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts → AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts} +2 -2
- package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js} +2 -2
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +8 -0
- package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts} +2 -2
- package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js} +2 -2
- package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts} +2 -2
- package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js} +2 -2
- package/{dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts → api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts} +1 -2
- package/api/resources/agents/types/index.d.ts +7 -6
- package/api/resources/agents/types/index.js +7 -6
- package/api/resources/blocks/client/Client.d.ts +7 -5
- package/api/resources/blocks/client/Client.js +110 -36
- package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +1 -1
- package/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +2 -2
- package/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +2 -2
- package/api/resources/health/client/Client.d.ts +5 -3
- package/api/resources/health/client/Client.js +14 -6
- package/api/resources/jobs/client/Client.d.ts +5 -3
- package/api/resources/jobs/client/Client.js +70 -20
- package/api/resources/jobs/client/requests/JobsListRequest.d.ts +1 -1
- package/api/resources/models/client/Client.d.ts +5 -3
- package/api/resources/models/client/Client.js +23 -9
- package/api/resources/sources/client/Client.d.ts +7 -5
- package/api/resources/sources/client/Client.js +132 -40
- package/api/resources/sources/client/requests/SourceCreate.d.ts +2 -2
- package/api/resources/sources/client/requests/SourceUpdate.d.ts +2 -2
- package/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +2 -2
- package/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +2 -2
- package/api/resources/sources/resources/files/client/Client.d.ts +5 -3
- package/api/resources/sources/resources/files/client/Client.js +46 -14
- package/api/resources/sources/resources/passages/client/Client.d.ts +5 -3
- package/api/resources/sources/resources/passages/client/Client.js +21 -7
- package/api/resources/tools/client/Client.d.ts +8 -6
- package/api/resources/tools/client/Client.js +197 -57
- package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +3 -3
- package/api/resources/tools/client/requests/ToolUpdate.d.ts +3 -3
- package/api/types/ActionModel.d.ts +1 -1
- package/api/types/AgentEnvironmentVariable.d.ts +25 -0
- package/api/types/AgentState.d.ts +22 -20
- package/api/types/AppAuthScheme.d.ts +8 -8
- package/api/types/AppModel.d.ts +4 -4
- package/api/types/AssistantFile.d.ts +2 -2
- package/api/types/AssistantMessageInput.d.ts +1 -1
- package/api/types/AssistantMessageOutput.d.ts +2 -3
- package/api/types/AuthResponse.d.ts +1 -1
- package/api/types/AuthSchemeField.d.ts +3 -3
- package/api/types/Block.d.ts +14 -14
- package/api/types/BlockUpdate.d.ts +2 -2
- package/api/types/ChatCompletionRequest.d.ts +9 -9
- package/api/types/ChatCompletionResponse.d.ts +2 -2
- package/api/types/ChildToolRule.d.ts +1 -1
- package/api/types/Choice.d.ts +1 -1
- package/api/types/ConditionalToolRule.d.ts +4 -4
- package/api/types/ContextWindowOverview.d.ts +17 -15
- package/api/types/CreateAssistantFileRequest.d.ts +1 -1
- package/api/types/CreateAssistantRequest.d.ts +2 -2
- package/api/types/CreateBlock.d.ts +2 -2
- package/api/types/E2BSandboxConfig.d.ts +1 -1
- package/api/types/EmbeddingConfig.d.ts +16 -16
- package/api/types/FileMetadata.d.ts +11 -11
- package/api/types/InitToolRule.d.ts +1 -1
- package/api/types/Job.d.ts +12 -12
- package/api/types/LettaRequest.d.ts +2 -2
- package/api/types/LettaResponse.d.ts +12 -62
- package/api/types/LettaResponseMessagesItem.d.ts +25 -0
- package/api/types/LettaSchemasLettaMessageToolCall.d.ts +1 -1
- package/api/types/LettaSchemasMessageMessage.d.ts +18 -18
- package/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +2 -2
- package/api/types/LettaSchemasToolTool.d.ts +12 -12
- package/api/types/LettaUsageStatistics.d.ts +8 -9
- package/api/types/LlmConfig.d.ts +11 -11
- package/api/types/LocalSandboxConfig.d.ts +3 -3
- package/api/types/Memory.d.ts +1 -1
- package/api/types/MessageContentLogProb.d.ts +1 -1
- package/api/types/OpenAiAssistant.d.ts +2 -2
- package/api/types/Organization.d.ts +1 -1
- package/api/types/Passage.d.ts +19 -19
- package/api/types/ReasoningMessage.d.ts +4 -5
- package/api/types/SandboxConfig.d.ts +5 -5
- package/api/types/SandboxEnvironmentVariable.d.ts +7 -7
- package/api/types/SandboxEnvironmentVariableUpdate.d.ts +0 -3
- package/api/types/Source.d.ts +13 -13
- package/api/types/SystemMessageOutput.d.ts +4 -5
- package/api/types/TerminalToolRule.d.ts +1 -1
- package/api/types/ToolCallDelta.d.ts +1 -1
- package/api/types/ToolCallMessage.d.ts +5 -6
- package/api/types/ToolCreate.d.ts +4 -4
- package/api/types/ToolMessage.d.ts +1 -1
- package/api/types/ToolReturnMessage.d.ts +10 -11
- package/api/types/UsageStatistics.d.ts +3 -3
- package/api/types/User.d.ts +7 -7
- package/api/types/UserCreate.d.ts +1 -1
- package/api/types/UserMessageOutput.d.ts +4 -5
- package/api/types/UserUpdate.d.ts +1 -1
- package/api/types/index.d.ts +2 -13
- package/api/types/index.js +2 -13
- package/core/index.d.ts +1 -1
- package/core/index.js +14 -1
- package/core/schemas/Schema.d.ts +85 -0
- package/core/schemas/Schema.js +22 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +50 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +63 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +39 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +14 -0
- package/core/schemas/builders/index.js +30 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +25 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +12 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +55 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +261 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +31 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +95 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +44 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +130 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +18 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +28 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +1 -1
- package/dist/api/resources/agents/client/Client.d.ts +21 -7
- package/dist/api/resources/agents/client/Client.js +245 -60
- package/dist/api/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +1 -1
- package/dist/api/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +1 -1
- package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +9 -1
- package/dist/api/resources/agents/client/requests/AgentsMigrateRequest.d.ts +4 -4
- package/dist/api/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +1 -1
- package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +20 -16
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +10 -8
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/archivalMemory/client/Client.js +63 -19
- package/dist/api/resources/agents/resources/context/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/context/client/Client.js +21 -7
- package/dist/api/resources/agents/resources/memory/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/memory/client/Client.js +21 -7
- package/dist/api/resources/agents/resources/memory/resources/messages/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/memory/resources/messages/client/Client.js +21 -7
- package/dist/api/resources/agents/resources/memoryBlocks/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/memoryBlocks/client/Client.js +38 -12
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/messages/client/Client.js +75 -23
- package/dist/api/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +12 -3
- package/dist/api/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +2 -2
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesListRequest.d.ts +3 -3
- package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +24 -1
- package/dist/api/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +21 -1
- package/dist/api/resources/agents/resources/recallMemory/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/recallMemory/client/Client.js +21 -7
- package/dist/api/resources/agents/resources/sources/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/sources/client/Client.js +21 -7
- package/dist/api/resources/agents/resources/tools/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +53 -15
- package/dist/api/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +6 -0
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +12 -1
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +8 -0
- package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.d.ts → AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts} +2 -2
- package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperatorOperator.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js} +2 -2
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +8 -0
- package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.d.ts → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts} +2 -2
- package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirectionDirection.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js} +2 -2
- package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.d.ts → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts} +2 -2
- package/dist/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirectionValue.js → AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js} +2 -2
- package/{api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.d.ts → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts} +1 -2
- package/dist/api/resources/agents/types/index.d.ts +7 -6
- package/dist/api/resources/agents/types/index.js +7 -6
- package/dist/api/resources/blocks/client/Client.d.ts +7 -5
- package/dist/api/resources/blocks/client/Client.js +110 -36
- package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +1 -1
- package/dist/api/resources/blocks/client/requests/LinkAgentMemoryBlockRequest.d.ts +2 -2
- package/dist/api/resources/blocks/client/requests/UnlinkAgentMemoryBlockRequest.d.ts +2 -2
- package/dist/api/resources/health/client/Client.d.ts +5 -3
- package/dist/api/resources/health/client/Client.js +14 -6
- package/dist/api/resources/jobs/client/Client.d.ts +5 -3
- package/dist/api/resources/jobs/client/Client.js +70 -20
- package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +1 -1
- package/dist/api/resources/models/client/Client.d.ts +5 -3
- package/dist/api/resources/models/client/Client.js +23 -9
- package/dist/api/resources/sources/client/Client.d.ts +7 -5
- package/dist/api/resources/sources/client/Client.js +132 -40
- package/dist/api/resources/sources/client/requests/SourceCreate.d.ts +2 -2
- package/dist/api/resources/sources/client/requests/SourceUpdate.d.ts +2 -2
- package/dist/api/resources/sources/client/requests/SourcesAttachRequest.d.ts +2 -2
- package/dist/api/resources/sources/client/requests/SourcesDetachRequest.d.ts +2 -2
- package/dist/api/resources/sources/resources/files/client/Client.d.ts +5 -3
- package/dist/api/resources/sources/resources/files/client/Client.js +46 -14
- package/dist/api/resources/sources/resources/passages/client/Client.d.ts +5 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +21 -7
- package/dist/api/resources/tools/client/Client.d.ts +8 -6
- package/dist/api/resources/tools/client/Client.js +197 -57
- package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +3 -3
- package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +3 -3
- package/dist/api/types/ActionModel.d.ts +1 -1
- package/dist/api/types/AgentEnvironmentVariable.d.ts +25 -0
- package/dist/api/types/AgentState.d.ts +22 -20
- package/dist/api/types/AppAuthScheme.d.ts +8 -8
- package/dist/api/types/AppModel.d.ts +4 -4
- package/dist/api/types/AssistantFile.d.ts +2 -2
- package/dist/api/types/AssistantMessageInput.d.ts +1 -1
- package/dist/api/types/AssistantMessageOutput.d.ts +2 -3
- package/dist/api/types/AuthResponse.d.ts +1 -1
- package/dist/api/types/AuthSchemeField.d.ts +3 -3
- package/dist/api/types/Block.d.ts +14 -14
- package/dist/api/types/BlockUpdate.d.ts +2 -2
- package/dist/api/types/ChatCompletionRequest.d.ts +9 -9
- package/dist/api/types/ChatCompletionResponse.d.ts +2 -2
- package/dist/api/types/ChildToolRule.d.ts +1 -1
- package/dist/api/types/Choice.d.ts +1 -1
- package/dist/api/types/ConditionalToolRule.d.ts +4 -4
- package/dist/api/types/ContextWindowOverview.d.ts +17 -15
- package/dist/api/types/CreateAssistantFileRequest.d.ts +1 -1
- package/dist/api/types/CreateAssistantRequest.d.ts +2 -2
- package/dist/api/types/CreateBlock.d.ts +2 -2
- package/dist/api/types/E2BSandboxConfig.d.ts +1 -1
- package/dist/api/types/EmbeddingConfig.d.ts +16 -16
- package/dist/api/types/FileMetadata.d.ts +11 -11
- package/dist/api/types/InitToolRule.d.ts +1 -1
- package/dist/api/types/Job.d.ts +12 -12
- package/dist/api/types/LettaRequest.d.ts +2 -2
- package/dist/api/types/LettaResponse.d.ts +12 -62
- package/dist/api/types/LettaResponseMessagesItem.d.ts +25 -0
- package/dist/api/types/LettaSchemasLettaMessageToolCall.d.ts +1 -1
- package/dist/api/types/LettaSchemasMessageMessage.d.ts +18 -18
- package/dist/api/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +2 -2
- package/dist/api/types/LettaSchemasToolTool.d.ts +12 -12
- package/dist/api/types/LettaUsageStatistics.d.ts +8 -9
- package/dist/api/types/LlmConfig.d.ts +11 -11
- package/dist/api/types/LocalSandboxConfig.d.ts +3 -3
- package/dist/api/types/Memory.d.ts +1 -1
- package/dist/api/types/MessageContentLogProb.d.ts +1 -1
- package/dist/api/types/OpenAiAssistant.d.ts +2 -2
- package/dist/api/types/Organization.d.ts +1 -1
- package/dist/api/types/Passage.d.ts +19 -19
- package/dist/api/types/ReasoningMessage.d.ts +4 -5
- package/dist/api/types/SandboxConfig.d.ts +5 -5
- package/dist/api/types/SandboxEnvironmentVariable.d.ts +7 -7
- package/dist/api/types/SandboxEnvironmentVariableUpdate.d.ts +0 -3
- package/dist/api/types/Source.d.ts +13 -13
- package/dist/api/types/SystemMessageOutput.d.ts +4 -5
- package/dist/api/types/TerminalToolRule.d.ts +1 -1
- package/dist/api/types/ToolCallDelta.d.ts +1 -1
- package/dist/api/types/ToolCallMessage.d.ts +5 -6
- package/dist/api/types/ToolCreate.d.ts +4 -4
- package/dist/api/types/ToolMessage.d.ts +1 -1
- package/dist/api/types/ToolReturnMessage.d.ts +10 -11
- package/dist/api/types/UsageStatistics.d.ts +3 -3
- package/dist/api/types/User.d.ts +7 -7
- package/dist/api/types/UserCreate.d.ts +1 -1
- package/dist/api/types/UserMessageOutput.d.ts +4 -5
- package/dist/api/types/UserUpdate.d.ts +1 -1
- package/dist/api/types/index.d.ts +2 -13
- package/dist/api/types/index.js +2 -13
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +14 -1
- package/dist/core/schemas/Schema.d.ts +85 -0
- package/dist/core/schemas/Schema.js +22 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +50 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +63 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +39 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +14 -0
- package/dist/core/schemas/builders/index.js +30 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +25 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +12 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +55 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +261 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +31 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +95 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +44 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +130 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +28 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +18 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +28 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/environments.d.ts +2 -2
- package/dist/environments.js +1 -1
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/resources/agents/client/getAgentMemoryBlocks.d.ts +11 -0
- package/dist/serialization/resources/agents/client/getAgentMemoryBlocks.js +32 -0
- package/dist/serialization/resources/agents/client/index.d.ts +3 -0
- package/dist/serialization/resources/agents/client/index.js +32 -0
- package/dist/serialization/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/client/list.js +32 -0
- package/dist/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +12 -0
- package/dist/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.js +33 -0
- package/dist/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +12 -0
- package/dist/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.js +33 -0
- package/dist/serialization/resources/agents/client/requests/AgentsMigrateRequest.d.ts +14 -0
- package/dist/serialization/resources/agents/client/requests/AgentsMigrateRequest.js +35 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +18 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js +39 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +41 -0
- package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +62 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +27 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +48 -0
- package/dist/serialization/resources/agents/client/requests/index.d.ts +6 -0
- package/dist/serialization/resources/agents/client/requests/index.js +15 -0
- package/dist/serialization/resources/agents/index.d.ts +3 -0
- package/dist/serialization/resources/agents/index.js +19 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/create.js +32 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +3 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/index.js +32 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/list.js +32 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.js +33 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +5 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/archivalMemory/index.js +17 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +8 -0
- package/dist/serialization/resources/agents/resources/index.js +37 -0
- package/dist/serialization/resources/agents/resources/memory/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memory/index.js +17 -0
- package/dist/serialization/resources/agents/resources/memory/resources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memory/resources/index.js +27 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/client/index.js +27 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.js +32 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/memory/resources/messages/index.js +17 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.js +17 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +16 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.js +37 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +18 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +39 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +7 -0
- package/dist/serialization/resources/agents/resources/messages/index.d.ts +2 -0
- package/dist/serialization/resources/agents/resources/messages/index.js +18 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +38 -0
- package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +51 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +12 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +36 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +34 -0
- package/dist/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.js +49 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +3 -0
- package/dist/serialization/resources/agents/resources/messages/types/index.js +19 -0
- package/dist/serialization/resources/agents/resources/sources/client/get.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/sources/client/get.js +32 -0
- package/dist/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/client/index.js +27 -0
- package/dist/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/sources/index.js +17 -0
- package/dist/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/client/index.js +27 -0
- package/dist/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/resources/tools/client/list.js +32 -0
- package/dist/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/tools/index.js +17 -0
- package/dist/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +12 -0
- package/dist/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.js +33 -0
- package/dist/serialization/resources/agents/types/AgentsMigrateResponse.d.ts +12 -0
- package/dist/serialization/resources/agents/types/AgentsMigrateResponse.js +33 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js +31 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +22 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js +43 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.js +35 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js +31 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +15 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js +36 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js +31 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js +31 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts +12 -0
- package/dist/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js +33 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +14 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +35 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +14 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +35 -0
- package/dist/serialization/resources/agents/types/index.d.ts +12 -0
- package/dist/serialization/resources/agents/types/index.js +28 -0
- package/dist/serialization/resources/blocks/client/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/client/index.js +27 -0
- package/dist/serialization/resources/blocks/client/list.d.ts +11 -0
- package/dist/serialization/resources/blocks/client/list.js +32 -0
- package/dist/serialization/resources/blocks/index.d.ts +1 -0
- package/dist/serialization/resources/blocks/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +10 -0
- package/dist/serialization/resources/index.js +39 -0
- package/dist/serialization/resources/jobs/client/index.d.ts +2 -0
- package/dist/serialization/resources/jobs/client/index.js +28 -0
- package/dist/serialization/resources/jobs/client/list.d.ts +11 -0
- package/dist/serialization/resources/jobs/client/list.js +32 -0
- package/dist/serialization/resources/jobs/client/listActive.d.ts +11 -0
- package/dist/serialization/resources/jobs/client/listActive.js +32 -0
- package/dist/serialization/resources/jobs/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/index.js +17 -0
- package/dist/serialization/resources/models/client/index.d.ts +2 -0
- package/dist/serialization/resources/models/client/index.js +28 -0
- package/dist/serialization/resources/models/client/listEmbeddingModels.d.ts +11 -0
- package/dist/serialization/resources/models/client/listEmbeddingModels.js +32 -0
- package/dist/serialization/resources/models/client/listLlms.d.ts +11 -0
- package/dist/serialization/resources/models/client/listLlms.js +32 -0
- package/dist/serialization/resources/models/index.d.ts +1 -0
- package/dist/serialization/resources/models/index.js +17 -0
- package/dist/serialization/resources/sources/client/getByName.d.ts +9 -0
- package/dist/serialization/resources/sources/client/getByName.js +31 -0
- package/dist/serialization/resources/sources/client/index.d.ts +3 -0
- package/dist/serialization/resources/sources/client/index.js +32 -0
- package/dist/serialization/resources/sources/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/client/list.js +32 -0
- package/dist/serialization/resources/sources/client/requests/SourceCreate.d.ts +16 -0
- package/dist/serialization/resources/sources/client/requests/SourceCreate.js +37 -0
- package/dist/serialization/resources/sources/client/requests/SourceUpdate.d.ts +16 -0
- package/dist/serialization/resources/sources/client/requests/SourceUpdate.js +37 -0
- package/dist/serialization/resources/sources/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sources/client/requests/index.js +7 -0
- package/dist/serialization/resources/sources/index.d.ts +2 -0
- package/dist/serialization/resources/sources/index.js +18 -0
- package/dist/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/files/client/index.js +27 -0
- package/dist/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/resources/files/client/list.js +32 -0
- package/dist/serialization/resources/sources/resources/files/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/files/index.js +17 -0
- package/dist/serialization/resources/sources/resources/index.d.ts +2 -0
- package/dist/serialization/resources/sources/resources/index.js +28 -0
- package/dist/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/passages/client/index.js +27 -0
- package/dist/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
- package/dist/serialization/resources/sources/resources/passages/client/list.js +32 -0
- package/dist/serialization/resources/sources/resources/passages/index.d.ts +1 -0
- package/dist/serialization/resources/sources/resources/passages/index.js +17 -0
- package/dist/serialization/resources/tools/client/addBaseTool.d.ts +11 -0
- package/dist/serialization/resources/tools/client/addBaseTool.js +32 -0
- package/dist/serialization/resources/tools/client/getByName.d.ts +9 -0
- package/dist/serialization/resources/tools/client/getByName.js +31 -0
- package/dist/serialization/resources/tools/client/index.d.ts +6 -0
- package/dist/serialization/resources/tools/client/index.js +35 -0
- package/dist/serialization/resources/tools/client/list.d.ts +11 -0
- package/dist/serialization/resources/tools/client/list.js +32 -0
- package/dist/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listComposioActionsByApp.js +32 -0
- package/dist/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
- package/dist/serialization/resources/tools/client/listComposioApps.js +32 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +15 -0
- package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +36 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +18 -0
- package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +39 -0
- package/dist/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/tools/client/requests/index.js +7 -0
- package/dist/serialization/resources/tools/index.d.ts +1 -0
- package/dist/serialization/resources/tools/index.js +17 -0
- package/dist/serialization/types/ActionModel.d.ts +23 -0
- package/dist/serialization/types/ActionModel.js +44 -0
- package/dist/serialization/types/ActionParametersModel.d.ts +15 -0
- package/dist/serialization/types/ActionParametersModel.js +36 -0
- package/dist/serialization/types/ActionResponseModel.d.ts +15 -0
- package/dist/serialization/types/ActionResponseModel.js +36 -0
- package/dist/serialization/types/AgentEnvironmentVariable.d.ts +21 -0
- package/dist/serialization/types/AgentEnvironmentVariable.js +42 -0
- package/dist/serialization/types/AgentState.d.ts +39 -0
- package/dist/serialization/types/AgentState.js +60 -0
- package/dist/serialization/types/AgentStateToolRulesItem.d.ts +14 -0
- package/dist/serialization/types/AgentStateToolRulesItem.js +35 -0
- package/dist/serialization/types/AgentType.d.ts +10 -0
- package/dist/serialization/types/AgentType.js +37 -0
- package/dist/serialization/types/AppAuthScheme.d.ts +23 -0
- package/dist/serialization/types/AppAuthScheme.js +44 -0
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
- package/dist/serialization/types/AppAuthSchemeAuthMode.js +31 -0
- package/dist/serialization/types/AppModel.d.ts +28 -0
- package/dist/serialization/types/AppModel.js +51 -0
- package/dist/serialization/types/ArchivalMemorySummary.d.ts +12 -0
- package/dist/serialization/types/ArchivalMemorySummary.js +33 -0
- package/dist/serialization/types/AssistantFile.d.ts +15 -0
- package/dist/serialization/types/AssistantFile.js +36 -0
- package/dist/serialization/types/AssistantMessageInput.d.ts +16 -0
- package/dist/serialization/types/AssistantMessageInput.js +37 -0
- package/dist/serialization/types/AssistantMessageOutput.d.ts +14 -0
- package/dist/serialization/types/AssistantMessageOutput.js +35 -0
- package/dist/serialization/types/AuthRequest.d.ts +12 -0
- package/dist/serialization/types/AuthRequest.js +33 -0
- package/dist/serialization/types/AuthResponse.d.ts +13 -0
- package/dist/serialization/types/AuthResponse.js +34 -0
- package/dist/serialization/types/AuthSchemeField.d.ts +19 -0
- package/dist/serialization/types/AuthSchemeField.js +40 -0
- package/dist/serialization/types/Block.d.ts +22 -0
- package/dist/serialization/types/Block.js +43 -0
- package/dist/serialization/types/BlockUpdate.d.ts +18 -0
- package/dist/serialization/types/BlockUpdate.js +39 -0
- package/dist/serialization/types/ChatCompletionRequest.d.ts +38 -0
- package/dist/serialization/types/ChatCompletionRequest.js +59 -0
- package/dist/serialization/types/ChatCompletionRequestFunctionCall.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionRequestFunctionCall.js +36 -0
- package/dist/serialization/types/ChatCompletionRequestMessagesItem.d.ts +14 -0
- package/dist/serialization/types/ChatCompletionRequestMessagesItem.js +35 -0
- package/dist/serialization/types/ChatCompletionRequestStop.d.ts +10 -0
- package/dist/serialization/types/ChatCompletionRequestStop.js +34 -0
- package/dist/serialization/types/ChatCompletionRequestToolChoice.d.ts +11 -0
- package/dist/serialization/types/ChatCompletionRequestToolChoice.js +37 -0
- package/dist/serialization/types/ChatCompletionResponse.d.ts +20 -0
- package/dist/serialization/types/ChatCompletionResponse.js +41 -0
- package/dist/serialization/types/ChildToolRule.d.ts +15 -0
- package/dist/serialization/types/ChildToolRule.js +36 -0
- package/dist/serialization/types/Choice.d.ts +18 -0
- package/dist/serialization/types/Choice.js +41 -0
- package/dist/serialization/types/ConditionalToolRule.d.ts +17 -0
- package/dist/serialization/types/ConditionalToolRule.js +38 -0
- package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/dist/serialization/types/ConflictErrorBody.js +33 -0
- package/dist/serialization/types/ContextWindowOverview.d.ts +30 -0
- package/dist/serialization/types/ContextWindowOverview.js +51 -0
- package/dist/serialization/types/CreateAssistantFileRequest.d.ts +12 -0
- package/dist/serialization/types/CreateAssistantFileRequest.js +33 -0
- package/dist/serialization/types/CreateAssistantRequest.d.ts +19 -0
- package/dist/serialization/types/CreateAssistantRequest.js +40 -0
- package/dist/serialization/types/CreateBlock.d.ts +18 -0
- package/dist/serialization/types/CreateBlock.js +39 -0
- package/dist/serialization/types/DeleteAssistantFileResponse.d.ts +14 -0
- package/dist/serialization/types/DeleteAssistantFileResponse.js +35 -0
- package/dist/serialization/types/DeleteAssistantResponse.d.ts +14 -0
- package/dist/serialization/types/DeleteAssistantResponse.js +35 -0
- package/dist/serialization/types/E2BSandboxConfig.d.ts +14 -0
- package/dist/serialization/types/E2BSandboxConfig.js +35 -0
- package/dist/serialization/types/EmbeddingConfig.d.ts +21 -0
- package/dist/serialization/types/EmbeddingConfig.js +42 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +49 -0
- package/dist/serialization/types/FileMetadata.d.ts +23 -0
- package/dist/serialization/types/FileMetadata.js +44 -0
- package/dist/serialization/types/FunctionCallInput.d.ts +12 -0
- package/dist/serialization/types/FunctionCallInput.js +33 -0
- package/dist/serialization/types/FunctionCallOutput.d.ts +13 -0
- package/dist/serialization/types/FunctionCallOutput.js +34 -0
- package/dist/serialization/types/FunctionSchema.d.ts +14 -0
- package/dist/serialization/types/FunctionSchema.js +35 -0
- package/dist/serialization/types/Health.d.ts +13 -0
- package/dist/serialization/types/Health.js +34 -0
- package/dist/serialization/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/types/HttpValidationError.js +34 -0
- package/dist/serialization/types/InitToolRule.d.ts +14 -0
- package/dist/serialization/types/InitToolRule.js +35 -0
- package/dist/serialization/types/InternalServerErrorBody.d.ts +12 -0
- package/dist/serialization/types/InternalServerErrorBody.js +33 -0
- package/dist/serialization/types/Job.d.ts +21 -0
- package/dist/serialization/types/Job.js +42 -0
- package/dist/serialization/types/JobStatus.d.ts +10 -0
- package/dist/serialization/types/JobStatus.js +31 -0
- package/dist/serialization/types/LettaRequest.d.ts +15 -0
- package/dist/serialization/types/LettaRequest.js +36 -0
- package/dist/serialization/types/LettaResponse.d.ts +15 -0
- package/dist/serialization/types/LettaResponse.js +36 -0
- package/dist/serialization/types/LettaResponseMessagesItem.d.ts +34 -0
- package/dist/serialization/types/LettaResponseMessagesItem.js +49 -0
- package/dist/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +14 -0
- package/dist/serialization/types/LettaSchemasLettaMessageToolCall.js +35 -0
- package/dist/serialization/types/LettaSchemasMessageMessage.d.ts +26 -0
- package/dist/serialization/types/LettaSchemasMessageMessage.js +47 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +14 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +35 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +15 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +36 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +13 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +34 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +17 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +38 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +15 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +36 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +13 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +34 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +15 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +36 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +15 -0
- package/dist/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +36 -0
- package/dist/serialization/types/LettaSchemasToolTool.d.ts +23 -0
- package/dist/serialization/types/LettaSchemasToolTool.js +44 -0
- package/dist/serialization/types/LettaUsageStatistics.d.ts +15 -0
- package/dist/serialization/types/LettaUsageStatistics.js +36 -0
- package/dist/serialization/types/LlmConfig.d.ts +19 -0
- package/dist/serialization/types/LlmConfig.js +40 -0
- package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
- package/dist/serialization/types/LlmConfigModelEndpointType.js +49 -0
- package/dist/serialization/types/LocalSandboxConfig.d.ts +14 -0
- package/dist/serialization/types/LocalSandboxConfig.js +35 -0
- package/dist/serialization/types/LogProbToken.d.ts +14 -0
- package/dist/serialization/types/LogProbToken.js +35 -0
- package/dist/serialization/types/Memory.d.ts +14 -0
- package/dist/serialization/types/Memory.js +35 -0
- package/dist/serialization/types/MessageContentLogProb.d.ts +16 -0
- package/dist/serialization/types/MessageContentLogProb.js +37 -0
- package/dist/serialization/types/MessageCreate.d.ts +15 -0
- package/dist/serialization/types/MessageCreate.js +36 -0
- package/dist/serialization/types/MessageCreateRole.d.ts +10 -0
- package/dist/serialization/types/MessageCreateRole.js +31 -0
- package/dist/serialization/types/MessageRole.d.ts +10 -0
- package/dist/serialization/types/MessageRole.js +31 -0
- package/dist/serialization/types/NotFoundErrorBody.d.ts +12 -0
- package/dist/serialization/types/NotFoundErrorBody.js +33 -0
- package/dist/serialization/types/NotFoundErrorBodyMessage.d.ts +10 -0
- package/dist/serialization/types/NotFoundErrorBodyMessage.js +34 -0
- package/dist/serialization/types/OpenAiAssistant.d.ts +21 -0
- package/dist/serialization/types/OpenAiAssistant.js +42 -0
- package/dist/serialization/types/Organization.d.ts +14 -0
- package/dist/serialization/types/Organization.js +35 -0
- package/dist/serialization/types/OrganizationCreate.d.ts +12 -0
- package/dist/serialization/types/OrganizationCreate.js +33 -0
- package/dist/serialization/types/Passage.d.ts +26 -0
- package/dist/serialization/types/Passage.js +47 -0
- package/dist/serialization/types/ReasoningMessage.d.ts +14 -0
- package/dist/serialization/types/ReasoningMessage.js +35 -0
- package/dist/serialization/types/RecallMemorySummary.d.ts +12 -0
- package/dist/serialization/types/RecallMemorySummary.js +33 -0
- package/dist/serialization/types/ResponseFormat.d.ts +12 -0
- package/dist/serialization/types/ResponseFormat.js +33 -0
- package/dist/serialization/types/SandboxConfig.d.ts +20 -0
- package/dist/serialization/types/SandboxConfig.js +41 -0
- package/dist/serialization/types/SandboxConfigCreate.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigCreate.js +34 -0
- package/dist/serialization/types/SandboxConfigCreateConfig.d.ts +12 -0
- package/dist/serialization/types/SandboxConfigCreateConfig.js +33 -0
- package/dist/serialization/types/SandboxConfigUpdate.d.ts +13 -0
- package/dist/serialization/types/SandboxConfigUpdate.js +34 -0
- package/dist/serialization/types/SandboxConfigUpdateConfig.d.ts +12 -0
- package/dist/serialization/types/SandboxConfigUpdateConfig.js +33 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.d.ts +21 -0
- package/dist/serialization/types/SandboxEnvironmentVariable.js +42 -0
- package/dist/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
- package/dist/serialization/types/SandboxEnvironmentVariableCreate.js +35 -0
- package/dist/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
- package/dist/serialization/types/SandboxEnvironmentVariableUpdate.js +35 -0
- package/dist/serialization/types/SandboxType.d.ts +10 -0
- package/dist/serialization/types/SandboxType.js +31 -0
- package/dist/serialization/types/Source.d.ts +22 -0
- package/dist/serialization/types/Source.js +43 -0
- package/dist/serialization/types/SystemMessageInput.d.ts +14 -0
- package/dist/serialization/types/SystemMessageInput.js +35 -0
- package/dist/serialization/types/SystemMessageOutput.d.ts +14 -0
- package/dist/serialization/types/SystemMessageOutput.js +35 -0
- package/dist/serialization/types/TerminalToolRule.d.ts +14 -0
- package/dist/serialization/types/TerminalToolRule.js +35 -0
- package/dist/serialization/types/ToolCallDelta.d.ts +14 -0
- package/dist/serialization/types/ToolCallDelta.js +35 -0
- package/dist/serialization/types/ToolCallFunctionOutput.d.ts +13 -0
- package/dist/serialization/types/ToolCallFunctionOutput.js +34 -0
- package/dist/serialization/types/ToolCallMessage.d.ts +15 -0
- package/dist/serialization/types/ToolCallMessage.js +36 -0
- package/dist/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
- package/dist/serialization/types/ToolCallMessageToolCall.js +33 -0
- package/dist/serialization/types/ToolCreate.d.ts +19 -0
- package/dist/serialization/types/ToolCreate.js +40 -0
- package/dist/serialization/types/ToolFunctionChoice.d.ts +14 -0
- package/dist/serialization/types/ToolFunctionChoice.js +35 -0
- package/dist/serialization/types/ToolInput.d.ts +14 -0
- package/dist/serialization/types/ToolInput.js +35 -0
- package/dist/serialization/types/ToolMessage.d.ts +14 -0
- package/dist/serialization/types/ToolMessage.js +35 -0
- package/dist/serialization/types/ToolReturnMessage.d.ts +19 -0
- package/dist/serialization/types/ToolReturnMessage.js +40 -0
- package/dist/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
- package/dist/serialization/types/ToolReturnMessageStatus.js +31 -0
- package/dist/serialization/types/ToolRuleType.d.ts +10 -0
- package/dist/serialization/types/ToolRuleType.js +38 -0
- package/dist/serialization/types/UsageStatistics.d.ts +14 -0
- package/dist/serialization/types/UsageStatistics.js +35 -0
- package/dist/serialization/types/User.d.ts +17 -0
- package/dist/serialization/types/User.js +38 -0
- package/dist/serialization/types/UserCreate.d.ts +13 -0
- package/dist/serialization/types/UserCreate.js +34 -0
- package/dist/serialization/types/UserMessageInput.d.ts +15 -0
- package/dist/serialization/types/UserMessageInput.js +36 -0
- package/dist/serialization/types/UserMessageInputContent.d.ts +10 -0
- package/dist/serialization/types/UserMessageInputContent.js +34 -0
- package/dist/serialization/types/UserMessageOutput.d.ts +14 -0
- package/dist/serialization/types/UserMessageOutput.js +35 -0
- package/dist/serialization/types/UserUpdate.d.ts +14 -0
- package/dist/serialization/types/UserUpdate.js +35 -0
- package/dist/serialization/types/ValidationError.d.ts +15 -0
- package/dist/serialization/types/ValidationError.js +36 -0
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/types/ValidationErrorLocItem.js +31 -0
- package/dist/serialization/types/index.d.ts +114 -0
- package/dist/serialization/types/index.js +130 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +2 -2
- package/environments.js +1 -1
- package/package.json +1 -2
- package/reference.md +157 -11
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/resources/agents/client/getAgentMemoryBlocks.d.ts +11 -0
- package/serialization/resources/agents/client/getAgentMemoryBlocks.js +32 -0
- package/serialization/resources/agents/client/index.d.ts +3 -0
- package/serialization/resources/agents/client/index.js +32 -0
- package/serialization/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/agents/client/list.js +32 -0
- package/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.d.ts +12 -0
- package/serialization/resources/agents/client/requests/AgentsCreateTemplateFromAgentRequest.js +33 -0
- package/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.d.ts +12 -0
- package/serialization/resources/agents/client/requests/AgentsCreateVersionRequest.js +33 -0
- package/serialization/resources/agents/client/requests/AgentsMigrateRequest.d.ts +14 -0
- package/serialization/resources/agents/client/requests/AgentsMigrateRequest.js +35 -0
- package/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.d.ts +18 -0
- package/serialization/resources/agents/client/requests/AgentsSearchDeployedAgentsRequest.js +39 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +41 -0
- package/serialization/resources/agents/client/requests/CreateAgentRequest.js +62 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +27 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +48 -0
- package/serialization/resources/agents/client/requests/index.d.ts +6 -0
- package/serialization/resources/agents/client/requests/index.js +15 -0
- package/serialization/resources/agents/index.d.ts +3 -0
- package/serialization/resources/agents/index.js +19 -0
- package/serialization/resources/agents/resources/archivalMemory/client/create.d.ts +11 -0
- package/serialization/resources/agents/resources/archivalMemory/client/create.js +32 -0
- package/serialization/resources/agents/resources/archivalMemory/client/index.d.ts +3 -0
- package/serialization/resources/agents/resources/archivalMemory/client/index.js +32 -0
- package/serialization/resources/agents/resources/archivalMemory/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/archivalMemory/client/list.js +32 -0
- package/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.d.ts +12 -0
- package/serialization/resources/agents/resources/archivalMemory/client/requests/CreateArchivalMemory.js +33 -0
- package/serialization/resources/agents/resources/archivalMemory/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/archivalMemory/client/requests/index.js +5 -0
- package/serialization/resources/agents/resources/archivalMemory/index.d.ts +1 -0
- package/serialization/resources/agents/resources/archivalMemory/index.js +17 -0
- package/serialization/resources/agents/resources/index.d.ts +8 -0
- package/serialization/resources/agents/resources/index.js +37 -0
- package/serialization/resources/agents/resources/memory/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memory/index.js +17 -0
- package/serialization/resources/agents/resources/memory/resources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memory/resources/index.js +27 -0
- package/serialization/resources/agents/resources/memory/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memory/resources/messages/client/index.js +27 -0
- package/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.d.ts +11 -0
- package/serialization/resources/agents/resources/memory/resources/messages/client/listInContext.js +32 -0
- package/serialization/resources/agents/resources/memory/resources/messages/index.d.ts +1 -0
- package/serialization/resources/agents/resources/memory/resources/messages/index.js +17 -0
- package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/client/index.js +17 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.d.ts +16 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaStreamingRequest.js +37 -0
- package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.d.ts +18 -0
- package/serialization/resources/agents/resources/messages/client/requests/MessageUpdate.js +39 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +2 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.js +7 -0
- package/serialization/resources/agents/resources/messages/index.d.ts +2 -0
- package/serialization/resources/agents/resources/messages/index.js +18 -0
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +38 -0
- package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +51 -0
- package/serialization/resources/agents/resources/messages/types/MessagesListResponse.d.ts +12 -0
- package/serialization/resources/agents/resources/messages/types/MessagesListResponse.js +36 -0
- package/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.d.ts +34 -0
- package/serialization/resources/agents/resources/messages/types/MessagesListResponseItem.js +49 -0
- package/serialization/resources/agents/resources/messages/types/index.d.ts +3 -0
- package/serialization/resources/agents/resources/messages/types/index.js +19 -0
- package/serialization/resources/agents/resources/sources/client/get.d.ts +11 -0
- package/serialization/resources/agents/resources/sources/client/get.js +32 -0
- package/serialization/resources/agents/resources/sources/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/client/index.js +27 -0
- package/serialization/resources/agents/resources/sources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/sources/index.js +17 -0
- package/serialization/resources/agents/resources/tools/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/client/index.js +27 -0
- package/serialization/resources/agents/resources/tools/client/list.d.ts +11 -0
- package/serialization/resources/agents/resources/tools/client/list.js +32 -0
- package/serialization/resources/agents/resources/tools/index.d.ts +1 -0
- package/serialization/resources/agents/resources/tools/index.js +17 -0
- package/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.d.ts +12 -0
- package/serialization/resources/agents/types/AgentsGetAgentVariablesResponse.js +33 -0
- package/serialization/resources/agents/types/AgentsMigrateResponse.d.ts +12 -0
- package/serialization/resources/agents/types/AgentsMigrateResponse.js +33 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestCombinator.js +31 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.d.ts +22 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItem.js +43 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.js +35 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemNameOperator.js +31 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js +36 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByDirection.js +31 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderByValue.js +31 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.d.ts +12 -0
- package/serialization/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js +33 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +14 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +35 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +14 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +35 -0
- package/serialization/resources/agents/types/index.d.ts +12 -0
- package/serialization/resources/agents/types/index.js +28 -0
- package/serialization/resources/blocks/client/index.d.ts +1 -0
- package/serialization/resources/blocks/client/index.js +27 -0
- package/serialization/resources/blocks/client/list.d.ts +11 -0
- package/serialization/resources/blocks/client/list.js +32 -0
- package/serialization/resources/blocks/index.d.ts +1 -0
- package/serialization/resources/blocks/index.js +17 -0
- package/serialization/resources/index.d.ts +10 -0
- package/serialization/resources/index.js +39 -0
- package/serialization/resources/jobs/client/index.d.ts +2 -0
- package/serialization/resources/jobs/client/index.js +28 -0
- package/serialization/resources/jobs/client/list.d.ts +11 -0
- package/serialization/resources/jobs/client/list.js +32 -0
- package/serialization/resources/jobs/client/listActive.d.ts +11 -0
- package/serialization/resources/jobs/client/listActive.js +32 -0
- package/serialization/resources/jobs/index.d.ts +1 -0
- package/serialization/resources/jobs/index.js +17 -0
- package/serialization/resources/models/client/index.d.ts +2 -0
- package/serialization/resources/models/client/index.js +28 -0
- package/serialization/resources/models/client/listEmbeddingModels.d.ts +11 -0
- package/serialization/resources/models/client/listEmbeddingModels.js +32 -0
- package/serialization/resources/models/client/listLlms.d.ts +11 -0
- package/serialization/resources/models/client/listLlms.js +32 -0
- package/serialization/resources/models/index.d.ts +1 -0
- package/serialization/resources/models/index.js +17 -0
- package/serialization/resources/sources/client/getByName.d.ts +9 -0
- package/serialization/resources/sources/client/getByName.js +31 -0
- package/serialization/resources/sources/client/index.d.ts +3 -0
- package/serialization/resources/sources/client/index.js +32 -0
- package/serialization/resources/sources/client/list.d.ts +11 -0
- package/serialization/resources/sources/client/list.js +32 -0
- package/serialization/resources/sources/client/requests/SourceCreate.d.ts +16 -0
- package/serialization/resources/sources/client/requests/SourceCreate.js +37 -0
- package/serialization/resources/sources/client/requests/SourceUpdate.d.ts +16 -0
- package/serialization/resources/sources/client/requests/SourceUpdate.js +37 -0
- package/serialization/resources/sources/client/requests/index.d.ts +2 -0
- package/serialization/resources/sources/client/requests/index.js +7 -0
- package/serialization/resources/sources/index.d.ts +2 -0
- package/serialization/resources/sources/index.js +18 -0
- package/serialization/resources/sources/resources/files/client/index.d.ts +1 -0
- package/serialization/resources/sources/resources/files/client/index.js +27 -0
- package/serialization/resources/sources/resources/files/client/list.d.ts +11 -0
- package/serialization/resources/sources/resources/files/client/list.js +32 -0
- package/serialization/resources/sources/resources/files/index.d.ts +1 -0
- package/serialization/resources/sources/resources/files/index.js +17 -0
- package/serialization/resources/sources/resources/index.d.ts +2 -0
- package/serialization/resources/sources/resources/index.js +28 -0
- package/serialization/resources/sources/resources/passages/client/index.d.ts +1 -0
- package/serialization/resources/sources/resources/passages/client/index.js +27 -0
- package/serialization/resources/sources/resources/passages/client/list.d.ts +11 -0
- package/serialization/resources/sources/resources/passages/client/list.js +32 -0
- package/serialization/resources/sources/resources/passages/index.d.ts +1 -0
- package/serialization/resources/sources/resources/passages/index.js +17 -0
- package/serialization/resources/tools/client/addBaseTool.d.ts +11 -0
- package/serialization/resources/tools/client/addBaseTool.js +32 -0
- package/serialization/resources/tools/client/getByName.d.ts +9 -0
- package/serialization/resources/tools/client/getByName.js +31 -0
- package/serialization/resources/tools/client/index.d.ts +6 -0
- package/serialization/resources/tools/client/index.js +35 -0
- package/serialization/resources/tools/client/list.d.ts +11 -0
- package/serialization/resources/tools/client/list.js +32 -0
- package/serialization/resources/tools/client/listComposioActionsByApp.d.ts +11 -0
- package/serialization/resources/tools/client/listComposioActionsByApp.js +32 -0
- package/serialization/resources/tools/client/listComposioApps.d.ts +11 -0
- package/serialization/resources/tools/client/listComposioApps.js +32 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +15 -0
- package/serialization/resources/tools/client/requests/ToolRunFromSource.js +36 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +18 -0
- package/serialization/resources/tools/client/requests/ToolUpdate.js +39 -0
- package/serialization/resources/tools/client/requests/index.d.ts +2 -0
- package/serialization/resources/tools/client/requests/index.js +7 -0
- package/serialization/resources/tools/index.d.ts +1 -0
- package/serialization/resources/tools/index.js +17 -0
- package/serialization/types/ActionModel.d.ts +23 -0
- package/serialization/types/ActionModel.js +44 -0
- package/serialization/types/ActionParametersModel.d.ts +15 -0
- package/serialization/types/ActionParametersModel.js +36 -0
- package/serialization/types/ActionResponseModel.d.ts +15 -0
- package/serialization/types/ActionResponseModel.js +36 -0
- package/serialization/types/AgentEnvironmentVariable.d.ts +21 -0
- package/serialization/types/AgentEnvironmentVariable.js +42 -0
- package/serialization/types/AgentState.d.ts +39 -0
- package/serialization/types/AgentState.js +60 -0
- package/serialization/types/AgentStateToolRulesItem.d.ts +14 -0
- package/serialization/types/AgentStateToolRulesItem.js +35 -0
- package/serialization/types/AgentType.d.ts +10 -0
- package/serialization/types/AgentType.js +37 -0
- package/serialization/types/AppAuthScheme.d.ts +23 -0
- package/serialization/types/AppAuthScheme.js +44 -0
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +10 -0
- package/serialization/types/AppAuthSchemeAuthMode.js +31 -0
- package/serialization/types/AppModel.d.ts +28 -0
- package/serialization/types/AppModel.js +51 -0
- package/serialization/types/ArchivalMemorySummary.d.ts +12 -0
- package/serialization/types/ArchivalMemorySummary.js +33 -0
- package/serialization/types/AssistantFile.d.ts +15 -0
- package/serialization/types/AssistantFile.js +36 -0
- package/serialization/types/AssistantMessageInput.d.ts +16 -0
- package/serialization/types/AssistantMessageInput.js +37 -0
- package/serialization/types/AssistantMessageOutput.d.ts +14 -0
- package/serialization/types/AssistantMessageOutput.js +35 -0
- package/serialization/types/AuthRequest.d.ts +12 -0
- package/serialization/types/AuthRequest.js +33 -0
- package/serialization/types/AuthResponse.d.ts +13 -0
- package/serialization/types/AuthResponse.js +34 -0
- package/serialization/types/AuthSchemeField.d.ts +19 -0
- package/serialization/types/AuthSchemeField.js +40 -0
- package/serialization/types/Block.d.ts +22 -0
- package/serialization/types/Block.js +43 -0
- package/serialization/types/BlockUpdate.d.ts +18 -0
- package/serialization/types/BlockUpdate.js +39 -0
- package/serialization/types/ChatCompletionRequest.d.ts +38 -0
- package/serialization/types/ChatCompletionRequest.js +59 -0
- package/serialization/types/ChatCompletionRequestFunctionCall.d.ts +11 -0
- package/serialization/types/ChatCompletionRequestFunctionCall.js +36 -0
- package/serialization/types/ChatCompletionRequestMessagesItem.d.ts +14 -0
- package/serialization/types/ChatCompletionRequestMessagesItem.js +35 -0
- package/serialization/types/ChatCompletionRequestStop.d.ts +10 -0
- package/serialization/types/ChatCompletionRequestStop.js +34 -0
- package/serialization/types/ChatCompletionRequestToolChoice.d.ts +11 -0
- package/serialization/types/ChatCompletionRequestToolChoice.js +37 -0
- package/serialization/types/ChatCompletionResponse.d.ts +20 -0
- package/serialization/types/ChatCompletionResponse.js +41 -0
- package/serialization/types/ChildToolRule.d.ts +15 -0
- package/serialization/types/ChildToolRule.js +36 -0
- package/serialization/types/Choice.d.ts +18 -0
- package/serialization/types/Choice.js +41 -0
- package/serialization/types/ConditionalToolRule.d.ts +17 -0
- package/serialization/types/ConditionalToolRule.js +38 -0
- package/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/serialization/types/ConflictErrorBody.js +33 -0
- package/serialization/types/ContextWindowOverview.d.ts +30 -0
- package/serialization/types/ContextWindowOverview.js +51 -0
- package/serialization/types/CreateAssistantFileRequest.d.ts +12 -0
- package/serialization/types/CreateAssistantFileRequest.js +33 -0
- package/serialization/types/CreateAssistantRequest.d.ts +19 -0
- package/serialization/types/CreateAssistantRequest.js +40 -0
- package/serialization/types/CreateBlock.d.ts +18 -0
- package/serialization/types/CreateBlock.js +39 -0
- package/serialization/types/DeleteAssistantFileResponse.d.ts +14 -0
- package/serialization/types/DeleteAssistantFileResponse.js +35 -0
- package/serialization/types/DeleteAssistantResponse.d.ts +14 -0
- package/serialization/types/DeleteAssistantResponse.js +35 -0
- package/serialization/types/E2BSandboxConfig.d.ts +14 -0
- package/serialization/types/E2BSandboxConfig.js +35 -0
- package/serialization/types/EmbeddingConfig.d.ts +21 -0
- package/serialization/types/EmbeddingConfig.js +42 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +10 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +49 -0
- package/serialization/types/FileMetadata.d.ts +23 -0
- package/serialization/types/FileMetadata.js +44 -0
- package/serialization/types/FunctionCallInput.d.ts +12 -0
- package/serialization/types/FunctionCallInput.js +33 -0
- package/serialization/types/FunctionCallOutput.d.ts +13 -0
- package/serialization/types/FunctionCallOutput.js +34 -0
- package/serialization/types/FunctionSchema.d.ts +14 -0
- package/serialization/types/FunctionSchema.js +35 -0
- package/serialization/types/Health.d.ts +13 -0
- package/serialization/types/Health.js +34 -0
- package/serialization/types/HttpValidationError.d.ts +13 -0
- package/serialization/types/HttpValidationError.js +34 -0
- package/serialization/types/InitToolRule.d.ts +14 -0
- package/serialization/types/InitToolRule.js +35 -0
- package/serialization/types/InternalServerErrorBody.d.ts +12 -0
- package/serialization/types/InternalServerErrorBody.js +33 -0
- package/serialization/types/Job.d.ts +21 -0
- package/serialization/types/Job.js +42 -0
- package/serialization/types/JobStatus.d.ts +10 -0
- package/serialization/types/JobStatus.js +31 -0
- package/serialization/types/LettaRequest.d.ts +15 -0
- package/serialization/types/LettaRequest.js +36 -0
- package/serialization/types/LettaResponse.d.ts +15 -0
- package/serialization/types/LettaResponse.js +36 -0
- package/serialization/types/LettaResponseMessagesItem.d.ts +34 -0
- package/serialization/types/LettaResponseMessagesItem.js +49 -0
- package/serialization/types/LettaSchemasLettaMessageToolCall.d.ts +14 -0
- package/serialization/types/LettaSchemasLettaMessageToolCall.js +35 -0
- package/serialization/types/LettaSchemasMessageMessage.d.ts +26 -0
- package/serialization/types/LettaSchemasMessageMessage.js +47 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.d.ts +14 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestTool.js +35 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.d.ts +15 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCall.js +36 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.d.ts +13 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionRequestToolCallFunction.js +34 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.d.ts +17 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseMessage.js +38 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.d.ts +15 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionResponseToolCall.js +36 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.d.ts +13 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallFunction.js +34 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.d.ts +15 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallInput.js +36 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.d.ts +15 -0
- package/serialization/types/LettaSchemasOpenaiChatCompletionsToolCallOutput.js +36 -0
- package/serialization/types/LettaSchemasToolTool.d.ts +23 -0
- package/serialization/types/LettaSchemasToolTool.js +44 -0
- package/serialization/types/LettaUsageStatistics.d.ts +15 -0
- package/serialization/types/LettaUsageStatistics.js +36 -0
- package/serialization/types/LlmConfig.d.ts +19 -0
- package/serialization/types/LlmConfig.js +40 -0
- package/serialization/types/LlmConfigModelEndpointType.d.ts +10 -0
- package/serialization/types/LlmConfigModelEndpointType.js +49 -0
- package/serialization/types/LocalSandboxConfig.d.ts +14 -0
- package/serialization/types/LocalSandboxConfig.js +35 -0
- package/serialization/types/LogProbToken.d.ts +14 -0
- package/serialization/types/LogProbToken.js +35 -0
- package/serialization/types/Memory.d.ts +14 -0
- package/serialization/types/Memory.js +35 -0
- package/serialization/types/MessageContentLogProb.d.ts +16 -0
- package/serialization/types/MessageContentLogProb.js +37 -0
- package/serialization/types/MessageCreate.d.ts +15 -0
- package/serialization/types/MessageCreate.js +36 -0
- package/serialization/types/MessageCreateRole.d.ts +10 -0
- package/serialization/types/MessageCreateRole.js +31 -0
- package/serialization/types/MessageRole.d.ts +10 -0
- package/serialization/types/MessageRole.js +31 -0
- package/serialization/types/NotFoundErrorBody.d.ts +12 -0
- package/serialization/types/NotFoundErrorBody.js +33 -0
- package/serialization/types/NotFoundErrorBodyMessage.d.ts +10 -0
- package/serialization/types/NotFoundErrorBodyMessage.js +34 -0
- package/serialization/types/OpenAiAssistant.d.ts +21 -0
- package/serialization/types/OpenAiAssistant.js +42 -0
- package/serialization/types/Organization.d.ts +14 -0
- package/serialization/types/Organization.js +35 -0
- package/serialization/types/OrganizationCreate.d.ts +12 -0
- package/serialization/types/OrganizationCreate.js +33 -0
- package/serialization/types/Passage.d.ts +26 -0
- package/serialization/types/Passage.js +47 -0
- package/serialization/types/ReasoningMessage.d.ts +14 -0
- package/serialization/types/ReasoningMessage.js +35 -0
- package/serialization/types/RecallMemorySummary.d.ts +12 -0
- package/serialization/types/RecallMemorySummary.js +33 -0
- package/serialization/types/ResponseFormat.d.ts +12 -0
- package/serialization/types/ResponseFormat.js +33 -0
- package/serialization/types/SandboxConfig.d.ts +20 -0
- package/serialization/types/SandboxConfig.js +41 -0
- package/serialization/types/SandboxConfigCreate.d.ts +13 -0
- package/serialization/types/SandboxConfigCreate.js +34 -0
- package/serialization/types/SandboxConfigCreateConfig.d.ts +12 -0
- package/serialization/types/SandboxConfigCreateConfig.js +33 -0
- package/serialization/types/SandboxConfigUpdate.d.ts +13 -0
- package/serialization/types/SandboxConfigUpdate.js +34 -0
- package/serialization/types/SandboxConfigUpdateConfig.d.ts +12 -0
- package/serialization/types/SandboxConfigUpdateConfig.js +33 -0
- package/serialization/types/SandboxEnvironmentVariable.d.ts +21 -0
- package/serialization/types/SandboxEnvironmentVariable.js +42 -0
- package/serialization/types/SandboxEnvironmentVariableCreate.d.ts +14 -0
- package/serialization/types/SandboxEnvironmentVariableCreate.js +35 -0
- package/serialization/types/SandboxEnvironmentVariableUpdate.d.ts +14 -0
- package/serialization/types/SandboxEnvironmentVariableUpdate.js +35 -0
- package/serialization/types/SandboxType.d.ts +10 -0
- package/serialization/types/SandboxType.js +31 -0
- package/serialization/types/Source.d.ts +22 -0
- package/serialization/types/Source.js +43 -0
- package/serialization/types/SystemMessageInput.d.ts +14 -0
- package/serialization/types/SystemMessageInput.js +35 -0
- package/serialization/types/SystemMessageOutput.d.ts +14 -0
- package/serialization/types/SystemMessageOutput.js +35 -0
- package/serialization/types/TerminalToolRule.d.ts +14 -0
- package/serialization/types/TerminalToolRule.js +35 -0
- package/serialization/types/ToolCallDelta.d.ts +14 -0
- package/serialization/types/ToolCallDelta.js +35 -0
- package/serialization/types/ToolCallFunctionOutput.d.ts +13 -0
- package/serialization/types/ToolCallFunctionOutput.js +34 -0
- package/serialization/types/ToolCallMessage.d.ts +15 -0
- package/serialization/types/ToolCallMessage.js +36 -0
- package/serialization/types/ToolCallMessageToolCall.d.ts +12 -0
- package/serialization/types/ToolCallMessageToolCall.js +33 -0
- package/serialization/types/ToolCreate.d.ts +19 -0
- package/serialization/types/ToolCreate.js +40 -0
- package/serialization/types/ToolFunctionChoice.d.ts +14 -0
- package/serialization/types/ToolFunctionChoice.js +35 -0
- package/serialization/types/ToolInput.d.ts +14 -0
- package/serialization/types/ToolInput.js +35 -0
- package/serialization/types/ToolMessage.d.ts +14 -0
- package/serialization/types/ToolMessage.js +35 -0
- package/serialization/types/ToolReturnMessage.d.ts +19 -0
- package/serialization/types/ToolReturnMessage.js +40 -0
- package/serialization/types/ToolReturnMessageStatus.d.ts +10 -0
- package/serialization/types/ToolReturnMessageStatus.js +31 -0
- package/serialization/types/ToolRuleType.d.ts +10 -0
- package/serialization/types/ToolRuleType.js +38 -0
- package/serialization/types/UsageStatistics.d.ts +14 -0
- package/serialization/types/UsageStatistics.js +35 -0
- package/serialization/types/User.d.ts +17 -0
- package/serialization/types/User.js +38 -0
- package/serialization/types/UserCreate.d.ts +13 -0
- package/serialization/types/UserCreate.js +34 -0
- package/serialization/types/UserMessageInput.d.ts +15 -0
- package/serialization/types/UserMessageInput.js +36 -0
- package/serialization/types/UserMessageInputContent.d.ts +10 -0
- package/serialization/types/UserMessageInputContent.js +34 -0
- package/serialization/types/UserMessageOutput.d.ts +14 -0
- package/serialization/types/UserMessageOutput.js +35 -0
- package/serialization/types/UserUpdate.d.ts +14 -0
- package/serialization/types/UserUpdate.js +35 -0
- package/serialization/types/ValidationError.d.ts +15 -0
- package/serialization/types/ValidationError.js +36 -0
- package/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/types/ValidationErrorLocItem.js +31 -0
- package/serialization/types/index.d.ts +114 -0
- package/serialization/types/index.js +130 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +0 -9
- package/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +0 -9
- package/api/types/LettaResponseAssistantMessage.d.ts +0 -9
- package/api/types/LettaResponseLettaUsageStatistics.d.ts +0 -23
- package/api/types/LettaResponseReasoningMessage.d.ts +0 -17
- package/api/types/LettaResponseSystemMessage.d.ts +0 -17
- package/api/types/LettaResponseToolCall.d.ts +0 -8
- package/api/types/LettaResponseToolCallDelta.d.ts +0 -8
- package/api/types/LettaResponseToolCallMessage.d.ts +0 -18
- package/api/types/LettaResponseToolCallMessageToolCall.d.ts +0 -5
- package/api/types/LettaResponseToolCallMessageToolCallOne.d.ts +0 -8
- package/api/types/LettaResponseToolCallMessageToolCallZero.d.ts +0 -8
- package/api/types/LettaResponseToolCallMessageToolCallZero.js +0 -5
- package/api/types/LettaResponseToolReturnMessage.d.ts +0 -26
- package/api/types/LettaResponseToolReturnMessage.js +0 -5
- package/api/types/LettaResponseToolReturnMessageStatus.d.ts +0 -8
- package/api/types/LettaResponseToolReturnMessageStatus.js +0 -10
- package/api/types/LettaResponseUserMessage.d.ts +0 -17
- package/api/types/LettaResponseUserMessage.js +0 -5
- package/core/auth/BasicAuth.d.ts +0 -8
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/BearerToken.d.ts +0 -5
- package/core/auth/BearerToken.js +0 -15
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.d.ts +0 -9
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemDirection.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.d.ts +0 -9
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOperator.js +0 -5
- package/dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemZero.js +0 -5
- package/dist/api/types/LettaResponseAssistantMessage.d.ts +0 -9
- package/dist/api/types/LettaResponseAssistantMessage.js +0 -5
- package/dist/api/types/LettaResponseLettaUsageStatistics.d.ts +0 -23
- package/dist/api/types/LettaResponseLettaUsageStatistics.js +0 -5
- package/dist/api/types/LettaResponseReasoningMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseReasoningMessage.js +0 -5
- package/dist/api/types/LettaResponseSystemMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseSystemMessage.js +0 -5
- package/dist/api/types/LettaResponseToolCall.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCall.js +0 -5
- package/dist/api/types/LettaResponseToolCallDelta.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallDelta.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessage.d.ts +0 -18
- package/dist/api/types/LettaResponseToolCallMessage.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCall.d.ts +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCall.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCallOne.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallMessageToolCallOne.js +0 -5
- package/dist/api/types/LettaResponseToolCallMessageToolCallZero.d.ts +0 -8
- package/dist/api/types/LettaResponseToolCallMessageToolCallZero.js +0 -5
- package/dist/api/types/LettaResponseToolReturnMessage.d.ts +0 -26
- package/dist/api/types/LettaResponseToolReturnMessage.js +0 -5
- package/dist/api/types/LettaResponseToolReturnMessageStatus.d.ts +0 -8
- package/dist/api/types/LettaResponseToolReturnMessageStatus.js +0 -10
- package/dist/api/types/LettaResponseUserMessage.d.ts +0 -17
- package/dist/api/types/LettaResponseUserMessage.js +0 -5
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemDirection.js → AgentsGetAgentVariablesResponse.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemOperator.js → AgentsSearchDeployedAgentsRequestSearchItemName.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchDeployedAgentsRequestSearchItemZero.js → AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js} +0 -0
- /package/api/{types/LettaResponseAssistantMessage.js → resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js} +0 -0
- /package/api/types/{LettaResponseLettaUsageStatistics.js → AgentEnvironmentVariable.js} +0 -0
- /package/api/types/{LettaResponseReasoningMessage.js → LettaResponseMessagesItem.js} +0 -0
- /package/{api/types/LettaResponseSystemMessage.js → dist/api/resources/agents/types/AgentsGetAgentVariablesResponse.js} +0 -0
- /package/{api/types/LettaResponseToolCall.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemName.js} +0 -0
- /package/{api/types/LettaResponseToolCallDelta.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemOrderBy.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessage.js → dist/api/resources/agents/types/AgentsSearchDeployedAgentsRequestSearchItemVersion.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessageToolCall.js → dist/api/types/AgentEnvironmentVariable.js} +0 -0
- /package/{api/types/LettaResponseToolCallMessageToolCallOne.js → dist/api/types/LettaResponseMessagesItem.js} +0 -0
|
@@ -2,67 +2,17 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Letta from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Response object from an agent interaction, consisting of the new messages generated by the agent and usage statistics.
|
|
7
|
+
* The type of the returned messages can be either `Message` or `LettaMessage`, depending on what was specified in the request.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* messages (List[Union[Message, LettaMessage]]): The messages returned by the agent.
|
|
11
|
+
* usage (LettaUsageStatistics): The usage statistics
|
|
12
|
+
*/
|
|
5
13
|
export interface LettaResponse {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* Attributes:
|
|
11
|
-
* completion_tokens (int): The number of tokens generated by the agent.
|
|
12
|
-
* prompt_tokens (int): The number of tokens in the prompt.
|
|
13
|
-
* total_tokens (int): The total number of tokens processed by the agent.
|
|
14
|
-
* step_count (int): The number of steps taken by the agent.
|
|
15
|
-
*/
|
|
16
|
-
LettaUsageStatistics?: Letta.LettaResponseLettaUsageStatistics;
|
|
17
|
-
/**
|
|
18
|
-
* Representation of an agent's internal reasoning.
|
|
19
|
-
*
|
|
20
|
-
* Attributes:
|
|
21
|
-
* reasoning (str): The internal reasoning of the agent
|
|
22
|
-
* id (str): The ID of the message
|
|
23
|
-
* date (datetime): The date the message was created in ISO format
|
|
24
|
-
*/
|
|
25
|
-
ReasoningMessage?: Letta.LettaResponseReasoningMessage;
|
|
26
|
-
/**
|
|
27
|
-
* A message generated by the system. Never streamed back on a response, only used for cursor pagination.
|
|
28
|
-
*
|
|
29
|
-
* Attributes:
|
|
30
|
-
* message (str): The message sent by the system
|
|
31
|
-
* id (str): The ID of the message
|
|
32
|
-
* date (datetime): The date the message was created in ISO format
|
|
33
|
-
*/
|
|
34
|
-
SystemMessage?: Letta.LettaResponseSystemMessage;
|
|
35
|
-
ToolCall?: Letta.LettaResponseToolCall;
|
|
36
|
-
ToolCallDelta?: Letta.LettaResponseToolCallDelta;
|
|
37
|
-
/**
|
|
38
|
-
* A message representing a request to call a tool (generated by the LLM to trigger tool execution).
|
|
39
|
-
*
|
|
40
|
-
* Attributes:
|
|
41
|
-
* tool_call (Union[ToolCall, ToolCallDelta]): The tool call
|
|
42
|
-
* id (str): The ID of the message
|
|
43
|
-
* date (datetime): The date the message was created in ISO format
|
|
44
|
-
*/
|
|
45
|
-
ToolCallMessage?: Letta.LettaResponseToolCallMessage;
|
|
46
|
-
/**
|
|
47
|
-
* A message representing the return value of a tool call (generated by Letta executing the requested tool).
|
|
48
|
-
*
|
|
49
|
-
* Attributes:
|
|
50
|
-
* tool_return (str): The return value of the tool
|
|
51
|
-
* status (Literal["success", "error"]): The status of the tool call
|
|
52
|
-
* id (str): The ID of the message
|
|
53
|
-
* date (datetime): The date the message was created in ISO format
|
|
54
|
-
* tool_call_id (str): A unique identifier for the tool call that generated this message
|
|
55
|
-
* stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the tool invocation
|
|
56
|
-
* stderr (Optional[List(str)]): Captured stderr from the tool invocation
|
|
57
|
-
*/
|
|
58
|
-
ToolReturnMessage?: Letta.LettaResponseToolReturnMessage;
|
|
59
|
-
/**
|
|
60
|
-
* A message sent by the user. Never streamed back on a response, only used for cursor pagination.
|
|
61
|
-
*
|
|
62
|
-
* Attributes:
|
|
63
|
-
* message (str): The message sent by the user
|
|
64
|
-
* id (str): The ID of the message
|
|
65
|
-
* date (datetime): The date the message was created in ISO format
|
|
66
|
-
*/
|
|
67
|
-
UserMessage?: Letta.LettaResponseUserMessage;
|
|
14
|
+
/** The messages returned by the agent. */
|
|
15
|
+
messages: Letta.LettaResponseMessagesItem[];
|
|
16
|
+
/** The usage statistics of the agent. */
|
|
17
|
+
usage: Letta.LettaUsageStatistics;
|
|
68
18
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Letta from "../index";
|
|
5
|
+
export declare type LettaResponseMessagesItem = Letta.LettaResponseMessagesItem.SystemMessage | Letta.LettaResponseMessagesItem.UserMessage | Letta.LettaResponseMessagesItem.ReasoningMessage | Letta.LettaResponseMessagesItem.ToolCallMessage | Letta.LettaResponseMessagesItem.ToolReturnMessage | Letta.LettaResponseMessagesItem.AssistantMessage;
|
|
6
|
+
export declare namespace LettaResponseMessagesItem {
|
|
7
|
+
interface SystemMessage extends Letta.SystemMessageOutput {
|
|
8
|
+
messageType: "system_message";
|
|
9
|
+
}
|
|
10
|
+
interface UserMessage extends Letta.UserMessageOutput {
|
|
11
|
+
messageType: "user_message";
|
|
12
|
+
}
|
|
13
|
+
interface ReasoningMessage extends Letta.ReasoningMessage {
|
|
14
|
+
messageType: "reasoning_message";
|
|
15
|
+
}
|
|
16
|
+
interface ToolCallMessage extends Letta.ToolCallMessage {
|
|
17
|
+
messageType: "tool_call_message";
|
|
18
|
+
}
|
|
19
|
+
interface ToolReturnMessage extends Letta.ToolReturnMessage {
|
|
20
|
+
messageType: "tool_return_message";
|
|
21
|
+
}
|
|
22
|
+
interface AssistantMessage extends Letta.AssistantMessageOutput {
|
|
23
|
+
messageType: "assistant_message";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -6,26 +6,26 @@ import * as Letta from "../index";
|
|
|
6
6
|
* Letta's internal representation of a message. Includes methods to convert to/from LLM provider formats.
|
|
7
7
|
*
|
|
8
8
|
* Attributes:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
9
|
+
* id (str): The unique identifier of the message.
|
|
10
|
+
* role (MessageRole): The role of the participant.
|
|
11
|
+
* text (str): The text of the message.
|
|
12
|
+
* user_id (str): The unique identifier of the user.
|
|
13
|
+
* agent_id (str): The unique identifier of the agent.
|
|
14
|
+
* model (str): The model used to make the function call.
|
|
15
|
+
* name (str): The name of the participant.
|
|
16
|
+
* created_at (datetime): The time the message was created.
|
|
17
|
+
* tool_calls (List[ToolCall]): The list of tool calls requested.
|
|
18
|
+
* tool_call_id (str): The id of the tool call.
|
|
19
19
|
*/
|
|
20
20
|
export interface LettaSchemasMessageMessage {
|
|
21
21
|
/** The id of the user that made this object. */
|
|
22
|
-
|
|
22
|
+
createdById?: string;
|
|
23
23
|
/** The id of the user that made this object. */
|
|
24
|
-
|
|
24
|
+
lastUpdatedById?: string;
|
|
25
25
|
/** The timestamp when the object was created. */
|
|
26
|
-
|
|
26
|
+
createdAt?: Date;
|
|
27
27
|
/** The timestamp when the object was last updated. */
|
|
28
|
-
|
|
28
|
+
updatedAt?: Date;
|
|
29
29
|
/** The human-friendly ID of the Message */
|
|
30
30
|
id?: string;
|
|
31
31
|
/** The role of the participant. */
|
|
@@ -33,15 +33,15 @@ export interface LettaSchemasMessageMessage {
|
|
|
33
33
|
/** The text of the message. */
|
|
34
34
|
text?: string;
|
|
35
35
|
/** The unique identifier of the organization. */
|
|
36
|
-
|
|
36
|
+
organizationId?: string;
|
|
37
37
|
/** The unique identifier of the agent. */
|
|
38
|
-
|
|
38
|
+
agentId?: string;
|
|
39
39
|
/** The model used to make the function call. */
|
|
40
40
|
model?: string;
|
|
41
41
|
/** The name of the participant. */
|
|
42
42
|
name?: string;
|
|
43
43
|
/** The list of tool calls requested. */
|
|
44
|
-
|
|
44
|
+
toolCalls?: Letta.LettaSchemasOpenaiChatCompletionsToolCallOutput[];
|
|
45
45
|
/** The id of the tool call. */
|
|
46
|
-
|
|
46
|
+
toolCallId?: string;
|
|
47
47
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Letta from "../index";
|
|
5
5
|
export interface LettaSchemasOpenaiChatCompletionResponseMessage {
|
|
6
6
|
content?: string;
|
|
7
|
-
|
|
7
|
+
toolCalls?: Letta.LettaSchemasOpenaiChatCompletionResponseToolCall[];
|
|
8
8
|
role: string;
|
|
9
|
-
|
|
9
|
+
functionCall?: Letta.FunctionCallOutput;
|
|
10
10
|
}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Representation of a tool, which is a function that can be called by the agent.
|
|
6
6
|
*
|
|
7
7
|
* Parameters:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* id (str): The unique identifier of the tool.
|
|
9
|
+
* name (str): The name of the function.
|
|
10
|
+
* tags (List[str]): Metadata tags.
|
|
11
|
+
* source_code (str): The source code of the function.
|
|
12
|
+
* json_schema (Dict): The JSON schema of the function.
|
|
13
13
|
*/
|
|
14
14
|
export interface LettaSchemasToolTool {
|
|
15
15
|
/** The human-friendly ID of the Tool */
|
|
@@ -17,23 +17,23 @@ export interface LettaSchemasToolTool {
|
|
|
17
17
|
/** The description of the tool. */
|
|
18
18
|
description?: string;
|
|
19
19
|
/** The type of the source code. */
|
|
20
|
-
|
|
20
|
+
sourceType?: string;
|
|
21
21
|
/** The module of the function. */
|
|
22
22
|
module?: string;
|
|
23
23
|
/** The unique identifier of the organization associated with the tool. */
|
|
24
|
-
|
|
24
|
+
organizationId?: string;
|
|
25
25
|
/** The name of the function. */
|
|
26
26
|
name?: string;
|
|
27
27
|
/** Metadata tags. */
|
|
28
28
|
tags?: string[];
|
|
29
29
|
/** The source code of the function. */
|
|
30
|
-
|
|
30
|
+
sourceCode: string;
|
|
31
31
|
/** The JSON schema of the function. */
|
|
32
|
-
|
|
32
|
+
jsonSchema?: Record<string, unknown>;
|
|
33
33
|
/** The maximum number of characters in the response. */
|
|
34
|
-
|
|
34
|
+
returnCharLimit?: number;
|
|
35
35
|
/** The id of the user that made this Tool. */
|
|
36
|
-
|
|
36
|
+
createdById?: string;
|
|
37
37
|
/** The id of the user that made this Tool. */
|
|
38
|
-
|
|
38
|
+
lastUpdatedById?: string;
|
|
39
39
|
}
|
|
@@ -5,19 +5,18 @@
|
|
|
5
5
|
* Usage statistics for the agent interaction.
|
|
6
6
|
*
|
|
7
7
|
* Attributes:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* completion_tokens (int): The number of tokens generated by the agent.
|
|
9
|
+
* prompt_tokens (int): The number of tokens in the prompt.
|
|
10
|
+
* total_tokens (int): The total number of tokens processed by the agent.
|
|
11
|
+
* step_count (int): The number of steps taken by the agent.
|
|
12
12
|
*/
|
|
13
13
|
export interface LettaUsageStatistics {
|
|
14
|
-
message_type?: "usage_statistics";
|
|
15
14
|
/** The number of tokens generated by the agent. */
|
|
16
|
-
|
|
15
|
+
completionTokens?: number;
|
|
17
16
|
/** The number of tokens in the prompt. */
|
|
18
|
-
|
|
17
|
+
promptTokens?: number;
|
|
19
18
|
/** The total number of tokens processed by the agent. */
|
|
20
|
-
|
|
19
|
+
totalTokens?: number;
|
|
21
20
|
/** The number of steps taken by the agent. */
|
|
22
|
-
|
|
21
|
+
stepCount?: number;
|
|
23
22
|
}
|
|
@@ -6,26 +6,26 @@ import * as Letta from "../index";
|
|
|
6
6
|
* Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
|
|
7
7
|
*
|
|
8
8
|
* Attributes:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* model (str): The name of the LLM model.
|
|
10
|
+
* model_endpoint_type (str): The endpoint type for the model.
|
|
11
|
+
* model_endpoint (str): The endpoint for the model.
|
|
12
|
+
* model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
|
|
13
|
+
* context_window (int): The context window size for the model.
|
|
14
|
+
* put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
|
|
15
15
|
*/
|
|
16
16
|
export interface LlmConfig {
|
|
17
17
|
/** LLM model name. */
|
|
18
18
|
model: string;
|
|
19
19
|
/** The endpoint type for the model. */
|
|
20
|
-
|
|
20
|
+
modelEndpointType: Letta.LlmConfigModelEndpointType;
|
|
21
21
|
/** The endpoint for the model. */
|
|
22
|
-
|
|
22
|
+
modelEndpoint?: string;
|
|
23
23
|
/** The wrapper for the model. */
|
|
24
|
-
|
|
24
|
+
modelWrapper?: string;
|
|
25
25
|
/** The context window size for the model. */
|
|
26
|
-
|
|
26
|
+
contextWindow: number;
|
|
27
27
|
/** Puts 'inner_thoughts' as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts. */
|
|
28
|
-
|
|
28
|
+
putInnerThoughtsInKwargs?: boolean;
|
|
29
29
|
/** The handle for this config, in the format provider/model-name. */
|
|
30
30
|
handle?: string;
|
|
31
31
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface LocalSandboxConfig {
|
|
5
5
|
/** Directory for the sandbox environment. */
|
|
6
|
-
|
|
6
|
+
sandboxDir: string;
|
|
7
7
|
/** Whether or not to use the venv, or run directly in the same run loop. */
|
|
8
|
-
|
|
8
|
+
useVenv?: boolean;
|
|
9
9
|
/** The name for the venv in the sandbox directory. We first search for an existing venv with this name, otherwise, we make it from the requirements.txt. */
|
|
10
|
-
|
|
10
|
+
venvName?: string;
|
|
11
11
|
}
|
|
@@ -13,7 +13,7 @@ export interface OpenAiAssistant {
|
|
|
13
13
|
/** The description of the assistant. */
|
|
14
14
|
description?: string;
|
|
15
15
|
/** The unix timestamp of when the assistant was created. */
|
|
16
|
-
|
|
16
|
+
createdAt: number;
|
|
17
17
|
/** The model used by the assistant. */
|
|
18
18
|
model: string;
|
|
19
19
|
/** The instructions for the assistant. */
|
|
@@ -21,7 +21,7 @@ export interface OpenAiAssistant {
|
|
|
21
21
|
/** The tools used by the assistant. */
|
|
22
22
|
tools?: string[];
|
|
23
23
|
/** List of file IDs associated with the assistant. */
|
|
24
|
-
|
|
24
|
+
fileIds?: string[];
|
|
25
25
|
/** Metadata associated with the assistant. */
|
|
26
26
|
metadata?: Record<string, unknown>;
|
|
27
27
|
}
|
|
@@ -6,36 +6,36 @@ import * as Letta from "../index";
|
|
|
6
6
|
* Representation of a passage, which is stored in archival memory.
|
|
7
7
|
*
|
|
8
8
|
* Parameters:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
9
|
+
* text (str): The text of the passage.
|
|
10
|
+
* embedding (List[float]): The embedding of the passage.
|
|
11
|
+
* embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
|
|
12
|
+
* created_at (datetime): The creation date of the passage.
|
|
13
|
+
* user_id (str): The unique identifier of the user associated with the passage.
|
|
14
|
+
* agent_id (str): The unique identifier of the agent associated with the passage.
|
|
15
|
+
* source_id (str): The data source of the passage.
|
|
16
|
+
* file_id (str): The unique identifier of the file associated with the passage.
|
|
17
17
|
*/
|
|
18
18
|
export interface Passage {
|
|
19
19
|
/** The id of the user that made this object. */
|
|
20
|
-
|
|
20
|
+
createdById?: string;
|
|
21
21
|
/** The id of the user that made this object. */
|
|
22
|
-
|
|
22
|
+
lastUpdatedById?: string;
|
|
23
23
|
/** The creation date of the passage. */
|
|
24
|
-
|
|
24
|
+
createdAt?: Date;
|
|
25
25
|
/** The timestamp when the object was last updated. */
|
|
26
|
-
|
|
26
|
+
updatedAt?: Date;
|
|
27
27
|
/** Whether this passage is deleted or not. */
|
|
28
|
-
|
|
28
|
+
isDeleted?: boolean;
|
|
29
29
|
/** The unique identifier of the user associated with the passage. */
|
|
30
|
-
|
|
30
|
+
organizationId?: string;
|
|
31
31
|
/** The unique identifier of the agent associated with the passage. */
|
|
32
|
-
|
|
32
|
+
agentId?: string;
|
|
33
33
|
/** The data source of the passage. */
|
|
34
|
-
|
|
34
|
+
sourceId?: string;
|
|
35
35
|
/** The unique identifier of the file associated with the passage. */
|
|
36
|
-
|
|
36
|
+
fileId?: string;
|
|
37
37
|
/** The metadata of the passage. */
|
|
38
|
-
|
|
38
|
+
metadata?: Record<string, unknown>;
|
|
39
39
|
/** The human-friendly ID of the Passage */
|
|
40
40
|
id?: string;
|
|
41
41
|
/** The text of the passage. */
|
|
@@ -43,5 +43,5 @@ export interface Passage {
|
|
|
43
43
|
/** The embedding of the passage. */
|
|
44
44
|
embedding?: number[];
|
|
45
45
|
/** The embedding configuration used by the passage. */
|
|
46
|
-
|
|
46
|
+
embeddingConfig?: Letta.EmbeddingConfig;
|
|
47
47
|
}
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
* Representation of an agent's internal reasoning.
|
|
6
6
|
*
|
|
7
7
|
* Attributes:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* reasoning (str): The internal reasoning of the agent
|
|
9
|
+
* id (str): The ID of the message
|
|
10
|
+
* date (datetime): The date the message was created in ISO format
|
|
11
11
|
*/
|
|
12
12
|
export interface ReasoningMessage {
|
|
13
13
|
id: string;
|
|
14
|
-
date:
|
|
15
|
-
message_type: "reasoning_message";
|
|
14
|
+
date: Date;
|
|
16
15
|
reasoning: string;
|
|
17
16
|
}
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
import * as Letta from "../index";
|
|
5
5
|
export interface SandboxConfig {
|
|
6
6
|
/** The id of the user that made this object. */
|
|
7
|
-
|
|
7
|
+
createdById?: string;
|
|
8
8
|
/** The id of the user that made this object. */
|
|
9
|
-
|
|
9
|
+
lastUpdatedById?: string;
|
|
10
10
|
/** The timestamp when the object was created. */
|
|
11
|
-
|
|
11
|
+
createdAt?: Date;
|
|
12
12
|
/** The timestamp when the object was last updated. */
|
|
13
|
-
|
|
13
|
+
updatedAt?: Date;
|
|
14
14
|
/** The human-friendly ID of the Sandbox */
|
|
15
15
|
id?: string;
|
|
16
16
|
/** The type of sandbox. */
|
|
17
17
|
type?: Letta.SandboxType;
|
|
18
18
|
/** The unique identifier of the organization associated with the sandbox. */
|
|
19
|
-
|
|
19
|
+
organizationId?: string;
|
|
20
20
|
/** The JSON sandbox settings data. */
|
|
21
21
|
config?: Record<string, unknown>;
|
|
22
22
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface SandboxEnvironmentVariable {
|
|
5
5
|
/** The id of the user that made this object. */
|
|
6
|
-
|
|
6
|
+
createdById?: string;
|
|
7
7
|
/** The id of the user that made this object. */
|
|
8
|
-
|
|
8
|
+
lastUpdatedById?: string;
|
|
9
9
|
/** The timestamp when the object was created. */
|
|
10
|
-
|
|
10
|
+
createdAt?: Date;
|
|
11
11
|
/** The timestamp when the object was last updated. */
|
|
12
|
-
|
|
12
|
+
updatedAt?: Date;
|
|
13
13
|
/** The human-friendly ID of the Sandbox-env */
|
|
14
14
|
id?: string;
|
|
15
15
|
/** The name of the environment variable. */
|
|
@@ -18,8 +18,8 @@ export interface SandboxEnvironmentVariable {
|
|
|
18
18
|
value: string;
|
|
19
19
|
/** An optional description of the environment variable. */
|
|
20
20
|
description?: string;
|
|
21
|
-
/** The ID of the sandbox config this environment variable belongs to. */
|
|
22
|
-
sandbox_config_id: string;
|
|
23
21
|
/** The ID of the organization this environment variable belongs to. */
|
|
24
|
-
|
|
22
|
+
organizationId?: string;
|
|
23
|
+
/** The ID of the sandbox config this environment variable belongs to. */
|
|
24
|
+
sandboxConfigId: string;
|
|
25
25
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
/**
|
|
5
|
-
* Pydantic model for updating SandboxEnvironmentVariable fields.
|
|
6
|
-
*/
|
|
7
4
|
export interface SandboxEnvironmentVariableUpdate {
|
|
8
5
|
/** The name of the environment variable. */
|
|
9
6
|
key?: string;
|
|
@@ -6,12 +6,12 @@ import * as Letta from "../index";
|
|
|
6
6
|
* Representation of a source, which is a collection of files and passages.
|
|
7
7
|
*
|
|
8
8
|
* Parameters:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* id (str): The ID of the source
|
|
10
|
+
* name (str): The name of the source.
|
|
11
|
+
* embedding_config (EmbeddingConfig): The embedding configuration used by the source.
|
|
12
|
+
* user_id (str): The ID of the user that created the source.
|
|
13
|
+
* metadata_ (dict): Metadata associated with the source.
|
|
14
|
+
* description (str): The description of the source.
|
|
15
15
|
*/
|
|
16
16
|
export interface Source {
|
|
17
17
|
/** The human-friendly ID of the Source */
|
|
@@ -21,17 +21,17 @@ export interface Source {
|
|
|
21
21
|
/** The description of the source. */
|
|
22
22
|
description?: string;
|
|
23
23
|
/** The embedding configuration used by the source. */
|
|
24
|
-
|
|
24
|
+
embeddingConfig: Letta.EmbeddingConfig;
|
|
25
25
|
/** The ID of the organization that created the source. */
|
|
26
|
-
|
|
26
|
+
organizationId?: string;
|
|
27
27
|
/** Metadata associated with the source. */
|
|
28
|
-
|
|
28
|
+
metadata?: Record<string, unknown>;
|
|
29
29
|
/** The id of the user that made this Tool. */
|
|
30
|
-
|
|
30
|
+
createdById?: string;
|
|
31
31
|
/** The id of the user that made this Tool. */
|
|
32
|
-
|
|
32
|
+
lastUpdatedById?: string;
|
|
33
33
|
/** The timestamp when the source was created. */
|
|
34
|
-
|
|
34
|
+
createdAt?: Date;
|
|
35
35
|
/** The timestamp when the source was last updated. */
|
|
36
|
-
|
|
36
|
+
updatedAt?: Date;
|
|
37
37
|
}
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
* A message generated by the system. Never streamed back on a response, only used for cursor pagination.
|
|
6
6
|
*
|
|
7
7
|
* Attributes:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* message (str): The message sent by the system
|
|
9
|
+
* id (str): The ID of the message
|
|
10
|
+
* date (datetime): The date the message was created in ISO format
|
|
11
11
|
*/
|
|
12
12
|
export interface SystemMessageOutput {
|
|
13
13
|
id: string;
|
|
14
|
-
date:
|
|
15
|
-
message_type: "system_message";
|
|
14
|
+
date: Date;
|
|
16
15
|
message: string;
|
|
17
16
|
}
|
|
@@ -6,13 +6,12 @@ import * as Letta from "../index";
|
|
|
6
6
|
* A message representing a request to call a tool (generated by the LLM to trigger tool execution).
|
|
7
7
|
*
|
|
8
8
|
* Attributes:
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* tool_call (Union[ToolCall, ToolCallDelta]): The tool call
|
|
10
|
+
* id (str): The ID of the message
|
|
11
|
+
* date (datetime): The date the message was created in ISO format
|
|
12
12
|
*/
|
|
13
13
|
export interface ToolCallMessage {
|
|
14
14
|
id: string;
|
|
15
|
-
date:
|
|
16
|
-
|
|
17
|
-
tool_call: Letta.ToolCallMessageToolCall;
|
|
15
|
+
date: Date;
|
|
16
|
+
toolCall: Letta.ToolCallMessageToolCall;
|
|
18
17
|
}
|
|
@@ -11,11 +11,11 @@ export interface ToolCreate {
|
|
|
11
11
|
/** The source code of the function. */
|
|
12
12
|
module?: string;
|
|
13
13
|
/** The source code of the function. */
|
|
14
|
-
|
|
14
|
+
sourceCode: string;
|
|
15
15
|
/** The source type of the function. */
|
|
16
|
-
|
|
16
|
+
sourceType?: string;
|
|
17
17
|
/** The JSON schema of the function (auto-generated from source_code if not provided) */
|
|
18
|
-
|
|
18
|
+
jsonSchema?: Record<string, unknown>;
|
|
19
19
|
/** The maximum number of characters in the response. */
|
|
20
|
-
|
|
20
|
+
returnCharLimit?: number;
|
|
21
21
|
}
|