@letta-ai/letta-client 0.1.175 → 0.1.177
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/api/resources/agents/client/Client.d.ts +9 -3
- package/api/resources/agents/client/Client.js +31 -16
- package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/api/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/files/client/Client.js +3 -3
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
- package/api/resources/agents/resources/messages/client/Client.js +13 -15
- package/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
- package/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +5 -5
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.d.ts +15 -3
- package/api/resources/providers/client/Client.js +64 -8
- package/{dist/api/types → api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
- package/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
- package/api/resources/providers/client/requests/index.d.ts +1 -0
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +10 -10
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.d.ts +13 -0
- package/api/resources/steps/client/Client.js +78 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/api/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/tools/client/Client.js +21 -21
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentFileSchema.d.ts +27 -0
- package/api/types/BlockSchema.d.ts +29 -0
- package/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
- package/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/api/types/FileAgentSchema.d.ts +28 -0
- package/api/types/FileSchema.d.ts +37 -0
- package/api/types/GroupSchema.d.ts +21 -0
- package/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/api/types/ImportedAgentsResponse.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
- package/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
- package/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
- package/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/api/types/LlmConfig.d.ts +1 -1
- package/api/types/LlmConfigModelEndpointType.d.ts +1 -2
- package/api/types/LlmConfigModelEndpointType.js +0 -1
- package/api/types/LlmConfigReasoningEffort.d.ts +2 -1
- package/api/types/LlmConfigReasoningEffort.js +1 -0
- package/api/types/McpServerSchema.d.ts +15 -0
- package/api/types/McpServerSchema.js +5 -0
- package/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/api/types/McpToolExecuteRequest.js +5 -0
- package/api/types/Provider.d.ts +2 -0
- package/api/types/ProviderType.d.ts +1 -2
- package/api/types/ProviderType.js +0 -1
- package/api/types/SourceSchema.d.ts +25 -0
- package/api/types/SourceSchema.js +5 -0
- package/api/types/Step.d.ts +6 -0
- package/api/types/StepMetrics.d.ts +25 -0
- package/api/types/StepMetrics.js +5 -0
- package/api/types/StepStatus.d.ts +13 -0
- package/api/types/StepStatus.js +12 -0
- package/api/types/index.d.ts +23 -5
- package/api/types/index.js +23 -5
- package/dist/api/resources/agents/client/Client.d.ts +9 -3
- package/dist/api/resources/agents/client/Client.js +31 -16
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +14 -0
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.js +5 -0
- package/dist/api/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.d.ts +5 -3
- package/dist/api/resources/agents/resources/messages/client/Client.js +13 -15
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +15 -0
- package/dist/api/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -0
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +2 -0
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +5 -5
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.d.ts +15 -3
- package/dist/api/resources/providers/client/Client.js +64 -8
- package/{api/types → dist/api/resources/providers/client/requests}/ProviderCheck.d.ts +12 -1
- package/dist/api/resources/providers/client/requests/ProviderCheck.js +5 -0
- package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +4 -0
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +10 -10
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.d.ts +13 -0
- package/dist/api/resources/steps/client/Client.js +78 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +4 -0
- package/dist/api/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/tools/client/Client.js +21 -21
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentFileSchema.d.ts +27 -0
- package/dist/api/types/AgentFileSchema.js +5 -0
- package/dist/api/types/BlockSchema.d.ts +29 -0
- package/dist/api/types/BlockSchema.js +5 -0
- package/dist/api/types/BodyExportAgentSerialized.d.ts +8 -0
- package/dist/api/types/BodyExportAgentSerialized.js +5 -0
- package/dist/api/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/dist/api/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -2
- package/dist/api/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/dist/api/types/FileAgentSchema.d.ts +28 -0
- package/dist/api/types/FileAgentSchema.js +5 -0
- package/dist/api/types/FileSchema.d.ts +37 -0
- package/dist/api/types/FileSchema.js +5 -0
- package/dist/api/types/GroupSchema.d.ts +21 -0
- package/dist/api/types/GroupSchema.js +5 -0
- package/dist/api/types/GroupSchemaManagerConfig.d.ts +8 -0
- package/dist/api/types/GroupSchemaManagerConfig.js +5 -0
- package/dist/api/types/ImportedAgentsResponse.d.ts +10 -0
- package/dist/api/types/ImportedAgentsResponse.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +105 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.d.ts +29 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchema.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +8 -0
- package/dist/api/types/LettaSchemasAgentFileMessageSchemaContent.js +5 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +39 -0
- package/dist/api/types/LettaSchemasAgentFileToolSchema.js +5 -0
- package/dist/api/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +4 -4
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts +5 -0
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js +5 -0
- package/dist/api/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +1 -1
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js +5 -0
- package/dist/api/types/{ToolSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +1 -1
- package/dist/api/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js +5 -0
- package/dist/api/types/LlmConfig.d.ts +1 -1
- package/dist/api/types/LlmConfigModelEndpointType.d.ts +1 -2
- package/dist/api/types/LlmConfigModelEndpointType.js +0 -1
- package/dist/api/types/LlmConfigReasoningEffort.d.ts +2 -1
- package/dist/api/types/LlmConfigReasoningEffort.js +1 -0
- package/dist/api/types/McpServerSchema.d.ts +15 -0
- package/dist/api/types/McpServerSchema.js +5 -0
- package/dist/api/types/McpToolExecuteRequest.d.ts +7 -0
- package/dist/api/types/McpToolExecuteRequest.js +5 -0
- package/dist/api/types/Provider.d.ts +2 -0
- package/dist/api/types/ProviderType.d.ts +1 -2
- package/dist/api/types/ProviderType.js +0 -1
- package/dist/api/types/SourceSchema.d.ts +25 -0
- package/dist/api/types/SourceSchema.js +5 -0
- package/dist/api/types/Step.d.ts +6 -0
- package/dist/api/types/StepMetrics.d.ts +25 -0
- package/dist/api/types/StepMetrics.js +5 -0
- package/dist/api/types/StepStatus.d.ts +13 -0
- package/dist/api/types/StepStatus.js +12 -0
- package/dist/api/types/index.d.ts +23 -5
- package/dist/api/types/index.js +23 -5
- package/dist/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
- package/dist/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/{serialization/types → dist/serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
- package/dist/serialization/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/providers/client/requests/index.js +3 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
- package/dist/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
- package/dist/serialization/types/AgentFileSchema.d.ts +27 -0
- package/dist/serialization/types/AgentFileSchema.js +58 -0
- package/dist/serialization/types/BlockSchema.d.ts +22 -0
- package/dist/serialization/types/BlockSchema.js +53 -0
- package/dist/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/dist/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/dist/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/dist/serialization/types/CompletionCreateParamsStreaming.js +2 -0
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
- package/dist/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/dist/serialization/types/FileAgentSchema.d.ts +21 -0
- package/dist/serialization/types/FileAgentSchema.js +52 -0
- package/dist/serialization/types/FileSchema.d.ts +26 -0
- package/dist/serialization/types/FileSchema.js +57 -0
- package/dist/serialization/types/GroupSchema.d.ts +18 -0
- package/dist/serialization/types/GroupSchema.js +49 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/dist/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/dist/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/dist/serialization/types/ImportedAgentsResponse.js +43 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
- package/dist/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/dist/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
- package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
- package/dist/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
- package/dist/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
- package/{serialization/types/AgentSchemaToolRulesItem.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
- package/{serialization/types/AgentSchemaToolRulesItem.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
- package/dist/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
- package/{serialization/types/MessageSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
- package/{serialization/types/ToolSchema.d.ts → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
- package/{serialization/types/ToolSchema.js → dist/serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
- package/dist/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/dist/serialization/types/LlmConfigModelEndpointType.js +0 -1
- package/dist/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
- package/dist/serialization/types/LlmConfigReasoningEffort.js +1 -1
- package/dist/serialization/types/McpServerSchema.d.ts +17 -0
- package/dist/serialization/types/McpServerSchema.js +48 -0
- package/dist/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/dist/serialization/types/McpToolExecuteRequest.js +43 -0
- package/dist/serialization/types/Provider.d.ts +1 -0
- package/dist/serialization/types/Provider.js +1 -0
- package/dist/serialization/types/ProviderType.d.ts +1 -1
- package/dist/serialization/types/ProviderType.js +0 -1
- package/dist/serialization/types/SourceSchema.d.ts +20 -0
- package/dist/serialization/types/SourceSchema.js +51 -0
- package/dist/serialization/types/Step.d.ts +4 -0
- package/dist/serialization/types/Step.js +4 -0
- package/dist/serialization/types/StepMetrics.d.ts +21 -0
- package/dist/serialization/types/StepMetrics.js +52 -0
- package/dist/serialization/types/StepStatus.d.ts +10 -0
- package/dist/serialization/types/StepStatus.js +41 -0
- package/dist/serialization/types/index.d.ts +23 -5
- package/dist/serialization/types/index.js +23 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +140 -11
- package/serialization/resources/agents/resources/messages/client/cancel.d.ts +0 -4
- package/serialization/resources/agents/resources/messages/client/cancel.js +1 -2
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.d.ts +13 -0
- package/serialization/resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js +44 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.js +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/client/requests/TemplatesMigrateRequest.js +1 -0
- package/serialization/resources/providers/client/requests/ProviderCheck.d.ts +18 -0
- package/{dist/serialization/types → serialization/resources/providers/client/requests}/ProviderCheck.js +4 -2
- package/serialization/resources/providers/client/requests/ProviderCreate.d.ts +2 -0
- package/serialization/resources/providers/client/requests/ProviderCreate.js +2 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.d.ts +2 -0
- package/serialization/resources/providers/client/requests/ProviderUpdate.js +2 -0
- package/serialization/resources/providers/client/requests/index.d.ts +1 -0
- package/serialization/resources/providers/client/requests/index.js +3 -1
- package/serialization/resources/templates/types/TemplatesListResponse.d.ts +1 -1
- package/serialization/resources/templates/types/TemplatesListResponse.js +1 -1
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.d.ts +3 -0
- package/serialization/resources/templates/types/TemplatesListResponseTemplatesItem.js +3 -0
- package/serialization/types/AgentFileSchema.d.ts +27 -0
- package/serialization/types/AgentFileSchema.js +58 -0
- package/serialization/types/BlockSchema.d.ts +22 -0
- package/serialization/types/BlockSchema.js +53 -0
- package/serialization/types/BodyExportAgentSerialized.d.ts +15 -0
- package/serialization/types/BodyExportAgentSerialized.js +46 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.d.ts +2 -0
- package/serialization/types/CompletionCreateParamsNonStreaming.js +2 -0
- package/serialization/types/CompletionCreateParamsStreaming.d.ts +2 -0
- package/serialization/types/CompletionCreateParamsStreaming.js +2 -0
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.d.ts +1 -1
- package/serialization/types/EmbeddingConfigEmbeddingEndpointType.js +0 -1
- package/serialization/types/FileAgentSchema.d.ts +21 -0
- package/serialization/types/FileAgentSchema.js +52 -0
- package/serialization/types/FileSchema.d.ts +26 -0
- package/serialization/types/FileSchema.js +57 -0
- package/serialization/types/GroupSchema.d.ts +18 -0
- package/serialization/types/GroupSchema.js +49 -0
- package/serialization/types/GroupSchemaManagerConfig.d.ts +15 -0
- package/serialization/types/GroupSchemaManagerConfig.js +52 -0
- package/serialization/types/ImportedAgentsResponse.d.ts +12 -0
- package/serialization/types/ImportedAgentsResponse.js +43 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +68 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchema.js +99 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.d.ts +13 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaResponseFormat.js +44 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.d.ts +18 -0
- package/serialization/types/LettaSchemasAgentFileAgentSchemaToolRulesItem.js +58 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.d.ts +23 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchema.js +54 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.d.ts +11 -0
- package/serialization/types/LettaSchemasAgentFileMessageSchemaContent.js +45 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +29 -0
- package/serialization/types/LettaSchemasAgentFileToolSchema.js +60 -0
- package/serialization/types/{AgentSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.d.ts} +8 -8
- package/serialization/types/{AgentSchema.js → LettaSerializeSchemasPydanticAgentSchemaAgentSchema.js} +8 -8
- package/{dist/serialization/types/AgentSchemaToolRulesItem.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.d.ts} +2 -2
- package/{dist/serialization/types/AgentSchemaToolRulesItem.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaAgentSchemaToolRulesItem.js} +2 -2
- package/serialization/types/{MessageSchema.d.ts → LettaSerializeSchemasPydanticAgentSchemaMessageSchema.d.ts} +2 -2
- package/{dist/serialization/types/MessageSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaMessageSchema.js} +2 -2
- package/{dist/serialization/types/ToolSchema.d.ts → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.d.ts} +2 -2
- package/{dist/serialization/types/ToolSchema.js → serialization/types/LettaSerializeSchemasPydanticAgentSchemaToolSchema.js} +2 -2
- package/serialization/types/LlmConfigModelEndpointType.d.ts +1 -1
- package/serialization/types/LlmConfigModelEndpointType.js +0 -1
- package/serialization/types/LlmConfigReasoningEffort.d.ts +1 -1
- package/serialization/types/LlmConfigReasoningEffort.js +1 -1
- package/serialization/types/McpServerSchema.d.ts +17 -0
- package/serialization/types/McpServerSchema.js +48 -0
- package/serialization/types/McpToolExecuteRequest.d.ts +12 -0
- package/serialization/types/McpToolExecuteRequest.js +43 -0
- package/serialization/types/Provider.d.ts +1 -0
- package/serialization/types/Provider.js +1 -0
- package/serialization/types/ProviderType.d.ts +1 -1
- package/serialization/types/ProviderType.js +0 -1
- package/serialization/types/SourceSchema.d.ts +20 -0
- package/serialization/types/SourceSchema.js +51 -0
- package/serialization/types/Step.d.ts +4 -0
- package/serialization/types/Step.js +4 -0
- package/serialization/types/StepMetrics.d.ts +21 -0
- package/serialization/types/StepMetrics.js +52 -0
- package/serialization/types/StepStatus.d.ts +10 -0
- package/serialization/types/StepStatus.js +41 -0
- package/serialization/types/index.d.ts +23 -5
- package/serialization/types/index.js +23 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
- package/dist/api/types/AgentSchemaToolRulesItem.d.ts +0 -5
- package/dist/serialization/types/ProviderCheck.d.ts +0 -16
- package/serialization/types/ProviderCheck.d.ts +0 -16
- /package/api/{types/AgentSchema.js → resources/agents/client/requests/AgentsExportFileRequest.js} +0 -0
- /package/api/{types/AgentSchemaToolRulesItem.js → resources/agents/resources/messages/client/requests/CancelAgentRunRequest.js} +0 -0
- /package/api/{types → resources/providers/client/requests}/ProviderCheck.js +0 -0
- /package/api/types/{MessageSchema.js → AgentFileSchema.js} +0 -0
- /package/api/types/{ToolSchema.js → BlockSchema.js} +0 -0
- /package/{dist/api/types/AgentSchema.js → api/types/BodyExportAgentSerialized.js} +0 -0
- /package/{dist/api/types/AgentSchemaToolRulesItem.js → api/types/FileAgentSchema.js} +0 -0
- /package/{dist/api/types/MessageSchema.js → api/types/FileSchema.js} +0 -0
- /package/{dist/api/types/ProviderCheck.js → api/types/GroupSchema.js} +0 -0
- /package/{dist/api/types/ToolSchema.js → api/types/GroupSchemaManagerConfig.js} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyExportAgentSerialized = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const AgentFileSchema_1 = require("./AgentFileSchema");
|
|
42
|
+
const LettaSerializeSchemasPydanticAgentSchemaAgentSchema_1 = require("./LettaSerializeSchemasPydanticAgentSchemaAgentSchema");
|
|
43
|
+
exports.BodyExportAgentSerialized = core.serialization.object({
|
|
44
|
+
spec: AgentFileSchema_1.AgentFileSchema.optional(),
|
|
45
|
+
legacySpec: core.serialization.property("legacy_spec", LettaSerializeSchemasPydanticAgentSchemaAgentSchema_1.LettaSerializeSchemasPydanticAgentSchemaAgentSchema.optional()),
|
|
46
|
+
});
|
|
@@ -38,8 +38,10 @@ export declare namespace CompletionCreateParamsNonStreaming {
|
|
|
38
38
|
parallel_tool_calls?: boolean | null;
|
|
39
39
|
prediction?: ChatCompletionPredictionContentParam.Raw | null;
|
|
40
40
|
presence_penalty?: number | null;
|
|
41
|
+
prompt_cache_key?: string | null;
|
|
41
42
|
reasoning_effort?: CompletionCreateParamsNonStreamingReasoningEffort.Raw | null;
|
|
42
43
|
response_format?: CompletionCreateParamsNonStreamingResponseFormat.Raw | null;
|
|
44
|
+
safety_identifier?: string | null;
|
|
43
45
|
seed?: number | null;
|
|
44
46
|
service_tier?: CompletionCreateParamsNonStreamingServiceTier.Raw | null;
|
|
45
47
|
stop?: CompletionCreateParamsNonStreamingStop.Raw | null;
|
|
@@ -70,8 +70,10 @@ exports.CompletionCreateParamsNonStreaming = core.serialization.object({
|
|
|
70
70
|
parallelToolCalls: core.serialization.property("parallel_tool_calls", core.serialization.boolean().optional()),
|
|
71
71
|
prediction: ChatCompletionPredictionContentParam_1.ChatCompletionPredictionContentParam.optional(),
|
|
72
72
|
presencePenalty: core.serialization.property("presence_penalty", core.serialization.number().optional()),
|
|
73
|
+
promptCacheKey: core.serialization.property("prompt_cache_key", core.serialization.string().optional()),
|
|
73
74
|
reasoningEffort: core.serialization.property("reasoning_effort", CompletionCreateParamsNonStreamingReasoningEffort_1.CompletionCreateParamsNonStreamingReasoningEffort.optional()),
|
|
74
75
|
responseFormat: core.serialization.property("response_format", CompletionCreateParamsNonStreamingResponseFormat_1.CompletionCreateParamsNonStreamingResponseFormat.optional()),
|
|
76
|
+
safetyIdentifier: core.serialization.property("safety_identifier", core.serialization.string().optional()),
|
|
75
77
|
seed: core.serialization.number().optional(),
|
|
76
78
|
serviceTier: core.serialization.property("service_tier", CompletionCreateParamsNonStreamingServiceTier_1.CompletionCreateParamsNonStreamingServiceTier.optional()),
|
|
77
79
|
stop: CompletionCreateParamsNonStreamingStop_1.CompletionCreateParamsNonStreamingStop.optional(),
|
|
@@ -38,8 +38,10 @@ export declare namespace CompletionCreateParamsStreaming {
|
|
|
38
38
|
parallel_tool_calls?: boolean | null;
|
|
39
39
|
prediction?: ChatCompletionPredictionContentParam.Raw | null;
|
|
40
40
|
presence_penalty?: number | null;
|
|
41
|
+
prompt_cache_key?: string | null;
|
|
41
42
|
reasoning_effort?: CompletionCreateParamsStreamingReasoningEffort.Raw | null;
|
|
42
43
|
response_format?: CompletionCreateParamsStreamingResponseFormat.Raw | null;
|
|
44
|
+
safety_identifier?: string | null;
|
|
43
45
|
seed?: number | null;
|
|
44
46
|
service_tier?: CompletionCreateParamsStreamingServiceTier.Raw | null;
|
|
45
47
|
stop?: CompletionCreateParamsStreamingStop.Raw | null;
|
|
@@ -70,8 +70,10 @@ exports.CompletionCreateParamsStreaming = core.serialization.object({
|
|
|
70
70
|
parallelToolCalls: core.serialization.property("parallel_tool_calls", core.serialization.boolean().optional()),
|
|
71
71
|
prediction: ChatCompletionPredictionContentParam_1.ChatCompletionPredictionContentParam.optional(),
|
|
72
72
|
presencePenalty: core.serialization.property("presence_penalty", core.serialization.number().optional()),
|
|
73
|
+
promptCacheKey: core.serialization.property("prompt_cache_key", core.serialization.string().optional()),
|
|
73
74
|
reasoningEffort: core.serialization.property("reasoning_effort", CompletionCreateParamsStreamingReasoningEffort_1.CompletionCreateParamsStreamingReasoningEffort.optional()),
|
|
74
75
|
responseFormat: core.serialization.property("response_format", CompletionCreateParamsStreamingResponseFormat_1.CompletionCreateParamsStreamingResponseFormat.optional()),
|
|
76
|
+
safetyIdentifier: core.serialization.property("safety_identifier", core.serialization.string().optional()),
|
|
75
77
|
seed: core.serialization.number().optional(),
|
|
76
78
|
serviceTier: core.serialization.property("service_tier", CompletionCreateParamsStreamingServiceTier_1.CompletionCreateParamsStreamingServiceTier.optional()),
|
|
77
79
|
stop: CompletionCreateParamsStreamingStop_1.CompletionCreateParamsStreamingStop.optional(),
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const EmbeddingConfigEmbeddingEndpointType: core.serialization.Schema<serializers.EmbeddingConfigEmbeddingEndpointType.Raw, Letta.EmbeddingConfigEmbeddingEndpointType>;
|
|
8
8
|
export declare namespace EmbeddingConfigEmbeddingEndpointType {
|
|
9
|
-
type Raw = "openai" | "anthropic" | "bedrock" | "
|
|
9
|
+
type Raw = "openai" | "anthropic" | "bedrock" | "google_ai" | "google_vertex" | "azure" | "groq" | "ollama" | "webui" | "webui-legacy" | "lmstudio" | "lmstudio-legacy" | "llamacpp" | "koboldcpp" | "vllm" | "hugging-face" | "mistral" | "together" | "pinecone";
|
|
10
10
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const FileAgentSchema: core.serialization.ObjectSchema<serializers.FileAgentSchema.Raw, Letta.FileAgentSchema>;
|
|
8
|
+
export declare namespace FileAgentSchema {
|
|
9
|
+
interface Raw {
|
|
10
|
+
agent_id: string;
|
|
11
|
+
file_id: string;
|
|
12
|
+
source_id: string;
|
|
13
|
+
file_name: string;
|
|
14
|
+
is_open?: boolean | null;
|
|
15
|
+
visible_content?: string | null;
|
|
16
|
+
last_accessed_at?: string | null;
|
|
17
|
+
start_line?: number | null;
|
|
18
|
+
end_line?: number | null;
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FileAgentSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.FileAgentSchema = core.serialization.object({
|
|
42
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
43
|
+
fileId: core.serialization.property("file_id", core.serialization.string()),
|
|
44
|
+
sourceId: core.serialization.property("source_id", core.serialization.string()),
|
|
45
|
+
fileName: core.serialization.property("file_name", core.serialization.string()),
|
|
46
|
+
isOpen: core.serialization.property("is_open", core.serialization.boolean().optional()),
|
|
47
|
+
visibleContent: core.serialization.property("visible_content", core.serialization.string().optional()),
|
|
48
|
+
lastAccessedAt: core.serialization.property("last_accessed_at", core.serialization.date().optional()),
|
|
49
|
+
startLine: core.serialization.property("start_line", core.serialization.number().optional()),
|
|
50
|
+
endLine: core.serialization.property("end_line", core.serialization.number().optional()),
|
|
51
|
+
id: core.serialization.string(),
|
|
52
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { FileProcessingStatus } from "./FileProcessingStatus";
|
|
8
|
+
export declare const FileSchema: core.serialization.ObjectSchema<serializers.FileSchema.Raw, Letta.FileSchema>;
|
|
9
|
+
export declare namespace FileSchema {
|
|
10
|
+
interface Raw {
|
|
11
|
+
source_id: string;
|
|
12
|
+
file_name?: string | null;
|
|
13
|
+
original_file_name?: string | null;
|
|
14
|
+
file_path?: string | null;
|
|
15
|
+
file_type?: string | null;
|
|
16
|
+
file_size?: number | null;
|
|
17
|
+
file_creation_date?: string | null;
|
|
18
|
+
file_last_modified_date?: string | null;
|
|
19
|
+
processing_status?: FileProcessingStatus.Raw | null;
|
|
20
|
+
error_message?: string | null;
|
|
21
|
+
total_chunks?: number | null;
|
|
22
|
+
chunks_embedded?: number | null;
|
|
23
|
+
content?: string | null;
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FileSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const FileProcessingStatus_1 = require("./FileProcessingStatus");
|
|
42
|
+
exports.FileSchema = core.serialization.object({
|
|
43
|
+
sourceId: core.serialization.property("source_id", core.serialization.string()),
|
|
44
|
+
fileName: core.serialization.property("file_name", core.serialization.string().optional()),
|
|
45
|
+
originalFileName: core.serialization.property("original_file_name", core.serialization.string().optional()),
|
|
46
|
+
filePath: core.serialization.property("file_path", core.serialization.string().optional()),
|
|
47
|
+
fileType: core.serialization.property("file_type", core.serialization.string().optional()),
|
|
48
|
+
fileSize: core.serialization.property("file_size", core.serialization.number().optional()),
|
|
49
|
+
fileCreationDate: core.serialization.property("file_creation_date", core.serialization.string().optional()),
|
|
50
|
+
fileLastModifiedDate: core.serialization.property("file_last_modified_date", core.serialization.string().optional()),
|
|
51
|
+
processingStatus: core.serialization.property("processing_status", FileProcessingStatus_1.FileProcessingStatus.optional()),
|
|
52
|
+
errorMessage: core.serialization.property("error_message", core.serialization.string().optional()),
|
|
53
|
+
totalChunks: core.serialization.property("total_chunks", core.serialization.number().optional()),
|
|
54
|
+
chunksEmbedded: core.serialization.property("chunks_embedded", core.serialization.number().optional()),
|
|
55
|
+
content: core.serialization.string().optional(),
|
|
56
|
+
id: core.serialization.string(),
|
|
57
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { GroupSchemaManagerConfig } from "./GroupSchemaManagerConfig";
|
|
8
|
+
export declare const GroupSchema: core.serialization.ObjectSchema<serializers.GroupSchema.Raw, Letta.GroupSchema>;
|
|
9
|
+
export declare namespace GroupSchema {
|
|
10
|
+
interface Raw {
|
|
11
|
+
agent_ids: string[];
|
|
12
|
+
description: string;
|
|
13
|
+
manager_config?: GroupSchemaManagerConfig.Raw | null;
|
|
14
|
+
project_id?: string | null;
|
|
15
|
+
shared_block_ids?: string[] | null;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GroupSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GroupSchemaManagerConfig_1 = require("./GroupSchemaManagerConfig");
|
|
42
|
+
exports.GroupSchema = core.serialization.object({
|
|
43
|
+
agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string())),
|
|
44
|
+
description: core.serialization.string(),
|
|
45
|
+
managerConfig: core.serialization.property("manager_config", GroupSchemaManagerConfig_1.GroupSchemaManagerConfig.optional()),
|
|
46
|
+
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
47
|
+
sharedBlockIds: core.serialization.property("shared_block_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
48
|
+
id: core.serialization.string(),
|
|
49
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { DynamicManager } from "./DynamicManager";
|
|
8
|
+
import { RoundRobinManager } from "./RoundRobinManager";
|
|
9
|
+
import { SleeptimeManager } from "./SleeptimeManager";
|
|
10
|
+
import { SupervisorManager } from "./SupervisorManager";
|
|
11
|
+
import { VoiceSleeptimeManager } from "./VoiceSleeptimeManager";
|
|
12
|
+
export declare const GroupSchemaManagerConfig: core.serialization.Schema<serializers.GroupSchemaManagerConfig.Raw, Letta.GroupSchemaManagerConfig>;
|
|
13
|
+
export declare namespace GroupSchemaManagerConfig {
|
|
14
|
+
type Raw = DynamicManager.Raw | RoundRobinManager.Raw | SleeptimeManager.Raw | SupervisorManager.Raw | VoiceSleeptimeManager.Raw;
|
|
15
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GroupSchemaManagerConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const DynamicManager_1 = require("./DynamicManager");
|
|
42
|
+
const RoundRobinManager_1 = require("./RoundRobinManager");
|
|
43
|
+
const SleeptimeManager_1 = require("./SleeptimeManager");
|
|
44
|
+
const SupervisorManager_1 = require("./SupervisorManager");
|
|
45
|
+
const VoiceSleeptimeManager_1 = require("./VoiceSleeptimeManager");
|
|
46
|
+
exports.GroupSchemaManagerConfig = core.serialization.undiscriminatedUnion([
|
|
47
|
+
DynamicManager_1.DynamicManager,
|
|
48
|
+
RoundRobinManager_1.RoundRobinManager,
|
|
49
|
+
SleeptimeManager_1.SleeptimeManager,
|
|
50
|
+
SupervisorManager_1.SupervisorManager,
|
|
51
|
+
VoiceSleeptimeManager_1.VoiceSleeptimeManager,
|
|
52
|
+
]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ImportedAgentsResponse: core.serialization.ObjectSchema<serializers.ImportedAgentsResponse.Raw, Letta.ImportedAgentsResponse>;
|
|
8
|
+
export declare namespace ImportedAgentsResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
agent_ids: string[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ImportedAgentsResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ImportedAgentsResponse = core.serialization.object({
|
|
42
|
+
agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string())),
|
|
43
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { CreateBlock } from "./CreateBlock";
|
|
8
|
+
import { LettaSchemasAgentFileAgentSchemaToolRulesItem } from "./LettaSchemasAgentFileAgentSchemaToolRulesItem";
|
|
9
|
+
import { AgentType } from "./AgentType";
|
|
10
|
+
import { LlmConfig } from "./LlmConfig";
|
|
11
|
+
import { EmbeddingConfig } from "./EmbeddingConfig";
|
|
12
|
+
import { MessageCreate } from "./MessageCreate";
|
|
13
|
+
import { LettaSchemasAgentFileAgentSchemaResponseFormat } from "./LettaSchemasAgentFileAgentSchemaResponseFormat";
|
|
14
|
+
import { LettaSchemasAgentFileMessageSchema } from "./LettaSchemasAgentFileMessageSchema";
|
|
15
|
+
import { FileAgentSchema } from "./FileAgentSchema";
|
|
16
|
+
export declare const LettaSchemasAgentFileAgentSchema: core.serialization.ObjectSchema<serializers.LettaSchemasAgentFileAgentSchema.Raw, Letta.LettaSchemasAgentFileAgentSchema>;
|
|
17
|
+
export declare namespace LettaSchemasAgentFileAgentSchema {
|
|
18
|
+
interface Raw {
|
|
19
|
+
name?: string | null;
|
|
20
|
+
memory_blocks?: CreateBlock.Raw[] | null;
|
|
21
|
+
tools?: string[] | null;
|
|
22
|
+
tool_ids?: string[] | null;
|
|
23
|
+
source_ids?: string[] | null;
|
|
24
|
+
block_ids?: string[] | null;
|
|
25
|
+
tool_rules?: LettaSchemasAgentFileAgentSchemaToolRulesItem.Raw[] | null;
|
|
26
|
+
tags?: string[] | null;
|
|
27
|
+
system?: string | null;
|
|
28
|
+
agent_type?: AgentType.Raw | null;
|
|
29
|
+
llm_config?: LlmConfig.Raw | null;
|
|
30
|
+
embedding_config?: EmbeddingConfig.Raw | null;
|
|
31
|
+
initial_message_sequence?: MessageCreate.Raw[] | null;
|
|
32
|
+
include_base_tools?: boolean | null;
|
|
33
|
+
include_multi_agent_tools?: boolean | null;
|
|
34
|
+
include_base_tool_rules?: boolean | null;
|
|
35
|
+
include_default_source?: boolean | null;
|
|
36
|
+
description?: string | null;
|
|
37
|
+
metadata?: Record<string, unknown> | null;
|
|
38
|
+
model?: string | null;
|
|
39
|
+
embedding?: string | null;
|
|
40
|
+
context_window_limit?: number | null;
|
|
41
|
+
embedding_chunk_size?: number | null;
|
|
42
|
+
max_tokens?: number | null;
|
|
43
|
+
max_reasoning_tokens?: number | null;
|
|
44
|
+
enable_reasoner?: boolean | null;
|
|
45
|
+
reasoning?: boolean | null;
|
|
46
|
+
from_template?: string | null;
|
|
47
|
+
template?: boolean | null;
|
|
48
|
+
project?: string | null;
|
|
49
|
+
tool_exec_environment_variables?: Record<string, string | null | undefined> | null;
|
|
50
|
+
memory_variables?: Record<string, string | null | undefined> | null;
|
|
51
|
+
project_id?: string | null;
|
|
52
|
+
template_id?: string | null;
|
|
53
|
+
base_template_id?: string | null;
|
|
54
|
+
identity_ids?: string[] | null;
|
|
55
|
+
message_buffer_autoclear?: boolean | null;
|
|
56
|
+
enable_sleeptime?: boolean | null;
|
|
57
|
+
response_format?: LettaSchemasAgentFileAgentSchemaResponseFormat.Raw | null;
|
|
58
|
+
timezone?: string | null;
|
|
59
|
+
max_files_open?: number | null;
|
|
60
|
+
per_file_view_window_char_limit?: number | null;
|
|
61
|
+
hidden?: boolean | null;
|
|
62
|
+
id: string;
|
|
63
|
+
in_context_message_ids?: string[] | null;
|
|
64
|
+
messages?: LettaSchemasAgentFileMessageSchema.Raw[] | null;
|
|
65
|
+
files_agents?: FileAgentSchema.Raw[] | null;
|
|
66
|
+
group_ids?: string[] | null;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.LettaSchemasAgentFileAgentSchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const CreateBlock_1 = require("./CreateBlock");
|
|
42
|
+
const LettaSchemasAgentFileAgentSchemaToolRulesItem_1 = require("./LettaSchemasAgentFileAgentSchemaToolRulesItem");
|
|
43
|
+
const AgentType_1 = require("./AgentType");
|
|
44
|
+
const LlmConfig_1 = require("./LlmConfig");
|
|
45
|
+
const EmbeddingConfig_1 = require("./EmbeddingConfig");
|
|
46
|
+
const MessageCreate_1 = require("./MessageCreate");
|
|
47
|
+
const LettaSchemasAgentFileAgentSchemaResponseFormat_1 = require("./LettaSchemasAgentFileAgentSchemaResponseFormat");
|
|
48
|
+
const LettaSchemasAgentFileMessageSchema_1 = require("./LettaSchemasAgentFileMessageSchema");
|
|
49
|
+
const FileAgentSchema_1 = require("./FileAgentSchema");
|
|
50
|
+
exports.LettaSchemasAgentFileAgentSchema = core.serialization.object({
|
|
51
|
+
name: core.serialization.string().optional(),
|
|
52
|
+
memoryBlocks: core.serialization.property("memory_blocks", core.serialization.list(CreateBlock_1.CreateBlock).optional()),
|
|
53
|
+
tools: core.serialization.list(core.serialization.string()).optional(),
|
|
54
|
+
toolIds: core.serialization.property("tool_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
55
|
+
sourceIds: core.serialization.property("source_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
56
|
+
blockIds: core.serialization.property("block_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
57
|
+
toolRules: core.serialization.property("tool_rules", core.serialization.list(LettaSchemasAgentFileAgentSchemaToolRulesItem_1.LettaSchemasAgentFileAgentSchemaToolRulesItem).optional()),
|
|
58
|
+
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
59
|
+
system: core.serialization.string().optional(),
|
|
60
|
+
agentType: core.serialization.property("agent_type", AgentType_1.AgentType.optional()),
|
|
61
|
+
llmConfig: core.serialization.property("llm_config", LlmConfig_1.LlmConfig.optional()),
|
|
62
|
+
embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
|
|
63
|
+
initialMessageSequence: core.serialization.property("initial_message_sequence", core.serialization.list(MessageCreate_1.MessageCreate).optional()),
|
|
64
|
+
includeBaseTools: core.serialization.property("include_base_tools", core.serialization.boolean().optional()),
|
|
65
|
+
includeMultiAgentTools: core.serialization.property("include_multi_agent_tools", core.serialization.boolean().optional()),
|
|
66
|
+
includeBaseToolRules: core.serialization.property("include_base_tool_rules", core.serialization.boolean().optional()),
|
|
67
|
+
includeDefaultSource: core.serialization.property("include_default_source", core.serialization.boolean().optional()),
|
|
68
|
+
description: core.serialization.string().optional(),
|
|
69
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
70
|
+
model: core.serialization.string().optional(),
|
|
71
|
+
embedding: core.serialization.string().optional(),
|
|
72
|
+
contextWindowLimit: core.serialization.property("context_window_limit", core.serialization.number().optional()),
|
|
73
|
+
embeddingChunkSize: core.serialization.property("embedding_chunk_size", core.serialization.number().optional()),
|
|
74
|
+
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
|
|
75
|
+
maxReasoningTokens: core.serialization.property("max_reasoning_tokens", core.serialization.number().optional()),
|
|
76
|
+
enableReasoner: core.serialization.property("enable_reasoner", core.serialization.boolean().optional()),
|
|
77
|
+
reasoning: core.serialization.boolean().optional(),
|
|
78
|
+
fromTemplate: core.serialization.property("from_template", core.serialization.string().optional()),
|
|
79
|
+
template: core.serialization.boolean().optional(),
|
|
80
|
+
project: core.serialization.string().optional(),
|
|
81
|
+
toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
82
|
+
memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
83
|
+
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
84
|
+
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
85
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
86
|
+
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
87
|
+
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
88
|
+
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
89
|
+
responseFormat: core.serialization.property("response_format", LettaSchemasAgentFileAgentSchemaResponseFormat_1.LettaSchemasAgentFileAgentSchemaResponseFormat.optional()),
|
|
90
|
+
timezone: core.serialization.string().optional(),
|
|
91
|
+
maxFilesOpen: core.serialization.property("max_files_open", core.serialization.number().optional()),
|
|
92
|
+
perFileViewWindowCharLimit: core.serialization.property("per_file_view_window_char_limit", core.serialization.number().optional()),
|
|
93
|
+
hidden: core.serialization.boolean().optional(),
|
|
94
|
+
id: core.serialization.string(),
|
|
95
|
+
inContextMessageIds: core.serialization.property("in_context_message_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
96
|
+
messages: core.serialization.list(LettaSchemasAgentFileMessageSchema_1.LettaSchemasAgentFileMessageSchema).optional(),
|
|
97
|
+
filesAgents: core.serialization.property("files_agents", core.serialization.list(FileAgentSchema_1.FileAgentSchema).optional()),
|
|
98
|
+
groupIds: core.serialization.property("group_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
99
|
+
});
|