@letta-ai/letta-client 0.1.131 → 0.1.133
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.js +14 -11
- package/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
- package/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
- package/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -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/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 +9 -11
- package/api/resources/agents/resources/messages/client/Client.js +15 -23
- package/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
- package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -1
- 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/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
- package/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/api/resources/agents/types/index.d.ts +1 -0
- package/api/resources/agents/types/index.js +1 -0
- 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 +2 -2
- package/api/resources/embeddingModels/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 +4 -4
- 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 +2 -6
- package/api/resources/providers/client/Client.js +7 -15
- package/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
- package/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
- package/api/resources/providers/client/requests/index.d.ts +0 -1
- 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 +7 -7
- 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.js +2 -2
- 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/tools/client/Client.d.ts +13 -0
- package/api/resources/tools/client/Client.js +84 -17
- package/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
- package/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
- package/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
- package/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
- package/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
- package/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
- package/api/resources/tools/types/index.d.ts +2 -0
- package/api/resources/tools/types/index.js +2 -0
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentState.d.ts +4 -0
- package/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/api/types/JobStatus.d.ts +1 -2
- package/api/types/JobStatus.js +0 -1
- package/api/types/LettaRequestConfig.d.ts +3 -0
- package/api/types/Provider.d.ts +5 -1
- package/api/types/ProviderCheck.d.ts +14 -0
- package/api/types/ProviderType.d.ts +2 -2
- package/api/types/ProviderType.js +1 -1
- package/api/types/RequiredBeforeExitToolRule.d.ts +13 -0
- package/api/types/RequiredBeforeExitToolRule.js +5 -0
- package/api/types/StreamableHttpServerConfig.d.ts +27 -0
- package/api/types/StreamableHttpServerConfig.js +5 -0
- package/api/types/UpdateSsemcpServer.d.ts +14 -0
- package/api/types/UpdateSsemcpServer.js +5 -0
- package/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
- package/api/types/UpdateStreamableHttpmcpServer.js +5 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/api/resources/agents/client/Client.js +14 -11
- package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +4 -0
- package/dist/api/resources/agents/client/requests/AgentsSearchRequest.d.ts +2 -0
- package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +4 -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/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 +9 -11
- package/dist/api/resources/agents/resources/messages/client/Client.js +15 -23
- package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +32 -0
- package/dist/api/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +5 -0
- package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -1
- 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/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSortBy.js +10 -0
- package/dist/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/dist/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/dist/api/resources/agents/types/index.d.ts +1 -0
- package/dist/api/resources/agents/types/index.js +1 -0
- 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 +2 -2
- package/dist/api/resources/embeddingModels/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 +4 -4
- 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 +2 -6
- package/dist/api/resources/providers/client/Client.js +7 -15
- package/dist/api/resources/providers/client/requests/ProviderCreate.d.ts +5 -1
- package/dist/api/resources/providers/client/requests/ProviderUpdate.d.ts +5 -1
- package/dist/api/resources/providers/client/requests/index.d.ts +0 -1
- 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 +7 -7
- 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.js +2 -2
- 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/tools/client/Client.d.ts +13 -0
- package/dist/api/resources/tools/client/Client.js +84 -17
- package/dist/api/resources/tools/types/AddMcpServerRequest.d.ts +1 -1
- package/dist/api/resources/tools/types/AddMcpServerResponseItem.d.ts +1 -1
- package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +1 -1
- package/dist/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
- package/dist/api/resources/tools/types/UpdateMcpServerRequest.d.ts +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerRequest.js +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerResponse.d.ts +5 -0
- package/dist/api/resources/tools/types/UpdateMcpServerResponse.js +5 -0
- package/dist/api/resources/tools/types/index.d.ts +2 -0
- package/dist/api/resources/tools/types/index.js +2 -0
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentState.d.ts +4 -0
- package/dist/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/dist/api/types/JobStatus.d.ts +1 -2
- package/dist/api/types/JobStatus.js +0 -1
- package/dist/api/types/LettaRequestConfig.d.ts +3 -0
- package/dist/api/types/Provider.d.ts +5 -1
- package/dist/api/types/ProviderCheck.d.ts +14 -0
- package/dist/api/types/ProviderCheck.js +5 -0
- package/dist/api/types/ProviderType.d.ts +2 -2
- package/dist/api/types/ProviderType.js +1 -1
- package/dist/api/types/RequiredBeforeExitToolRule.d.ts +13 -0
- package/dist/api/types/RequiredBeforeExitToolRule.js +5 -0
- package/dist/api/types/StreamableHttpServerConfig.d.ts +27 -0
- package/dist/api/types/StreamableHttpServerConfig.js +5 -0
- package/dist/api/types/UpdateSsemcpServer.d.ts +14 -0
- package/dist/api/types/UpdateSsemcpServer.js +5 -0
- package/dist/api/types/UpdateStreamableHttpmcpServer.d.ts +16 -0
- package/dist/api/types/UpdateStreamableHttpmcpServer.js +5 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
- package/dist/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
- package/dist/serialization/resources/agents/resources/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/index.js +1 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/messages/client/index.js +4 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
- package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -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 +5 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/dist/serialization/resources/agents/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/types/index.js +1 -0
- 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/tools/types/AddMcpServerRequest.d.ts +2 -1
- package/dist/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
- package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
- package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
- package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
- package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
- package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
- package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
- package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerRequest.js +43 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
- package/dist/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
- package/dist/serialization/resources/tools/types/index.d.ts +2 -0
- package/dist/serialization/resources/tools/types/index.js +2 -0
- package/dist/serialization/types/AgentState.d.ts +2 -0
- package/dist/serialization/types/AgentState.js +2 -0
- package/dist/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/dist/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/dist/serialization/types/JobStatus.d.ts +1 -1
- package/dist/serialization/types/JobStatus.js +1 -10
- package/dist/serialization/types/LettaRequestConfig.d.ts +2 -0
- package/dist/serialization/types/LettaRequestConfig.js +2 -0
- package/dist/serialization/types/Provider.d.ts +2 -0
- package/dist/serialization/types/Provider.js +2 -0
- package/dist/serialization/types/ProviderCheck.d.ts +16 -0
- package/dist/serialization/types/ProviderCheck.js +47 -0
- package/dist/serialization/types/ProviderType.d.ts +1 -1
- package/dist/serialization/types/ProviderType.js +1 -1
- package/dist/serialization/types/RequiredBeforeExitToolRule.d.ts +14 -0
- package/dist/serialization/types/RequiredBeforeExitToolRule.js +45 -0
- package/dist/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
- package/dist/serialization/types/StreamableHttpServerConfig.js +49 -0
- package/dist/serialization/types/UpdateSsemcpServer.d.ts +14 -0
- package/dist/serialization/types/UpdateSsemcpServer.js +45 -0
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
- package/dist/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +85 -27
- package/serialization/resources/agents/client/requests/AgentsSearchRequest.d.ts +3 -0
- package/serialization/resources/agents/client/requests/AgentsSearchRequest.js +3 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
- package/serialization/resources/agents/client/requests/UpdateAgent.js +2 -0
- package/serialization/resources/agents/resources/index.d.ts +1 -0
- package/serialization/resources/agents/resources/index.js +1 -0
- package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/client/index.js +4 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.d.ts +20 -0
- package/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js +51 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/resources/messages/client/requests/index.js +5 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSortBy.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSortBy.js +41 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/serialization/resources/agents/types/index.d.ts +1 -0
- package/serialization/resources/agents/types/index.js +1 -0
- 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/tools/types/AddMcpServerRequest.d.ts +2 -1
- package/serialization/resources/tools/types/AddMcpServerRequest.js +2 -1
- package/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +2 -1
- package/serialization/resources/tools/types/AddMcpServerResponseItem.js +2 -1
- package/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +2 -1
- package/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +2 -1
- package/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -1
- package/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -1
- package/serialization/resources/tools/types/UpdateMcpServerRequest.d.ts +12 -0
- package/serialization/resources/tools/types/UpdateMcpServerRequest.js +43 -0
- package/serialization/resources/tools/types/UpdateMcpServerResponse.d.ts +13 -0
- package/serialization/resources/tools/types/UpdateMcpServerResponse.js +44 -0
- package/serialization/resources/tools/types/index.d.ts +2 -0
- package/serialization/resources/tools/types/index.js +2 -0
- package/serialization/types/AgentState.d.ts +2 -0
- package/serialization/types/AgentState.js +2 -0
- package/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/serialization/types/JobStatus.d.ts +1 -1
- package/serialization/types/JobStatus.js +1 -10
- package/serialization/types/LettaRequestConfig.d.ts +2 -0
- package/serialization/types/LettaRequestConfig.js +2 -0
- package/serialization/types/Provider.d.ts +2 -0
- package/serialization/types/Provider.js +2 -0
- package/serialization/types/ProviderCheck.d.ts +16 -0
- package/serialization/types/ProviderCheck.js +47 -0
- package/serialization/types/ProviderType.d.ts +1 -1
- package/serialization/types/ProviderType.js +1 -1
- package/serialization/types/RequiredBeforeExitToolRule.d.ts +14 -0
- package/serialization/types/RequiredBeforeExitToolRule.js +45 -0
- package/serialization/types/StreamableHttpServerConfig.d.ts +18 -0
- package/serialization/types/StreamableHttpServerConfig.js +49 -0
- package/serialization/types/UpdateSsemcpServer.d.ts +14 -0
- package/serialization/types/UpdateSsemcpServer.js +45 -0
- package/serialization/types/UpdateStreamableHttpmcpServer.d.ts +15 -0
- package/serialization/types/UpdateStreamableHttpmcpServer.js +46 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.d.ts +0 -25
- package/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
- package/dist/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.d.ts +0 -25
- package/dist/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +0 -15
- /package/api/resources/agents/resources/messages/client/requests/{MessagesCreateAsyncRequest.js → LettaAsyncRequest.js} +0 -0
- /package/api/resources/{providers/client/requests/ProvidersCheckRequest.js → tools/types/UpdateMcpServerRequest.js} +0 -0
- /package/{dist/api/resources/agents/resources/messages/client/requests/MessagesCreateAsyncRequest.js → api/resources/tools/types/UpdateMcpServerResponse.js} +0 -0
- /package/{dist/api/resources/providers/client/requests/ProvidersCheckRequest.js → api/types/ProviderCheck.js} +0 -0
package/dist/api/types/index.js
CHANGED
|
@@ -175,12 +175,14 @@ __exportStar(require("./Passage"), exports);
|
|
|
175
175
|
__exportStar(require("./PipRequirement"), exports);
|
|
176
176
|
__exportStar(require("./Provider"), exports);
|
|
177
177
|
__exportStar(require("./ProviderCategory"), exports);
|
|
178
|
+
__exportStar(require("./ProviderCheck"), exports);
|
|
178
179
|
__exportStar(require("./ProviderTrace"), exports);
|
|
179
180
|
__exportStar(require("./ProviderType"), exports);
|
|
180
181
|
__exportStar(require("./ReasoningContent"), exports);
|
|
181
182
|
__exportStar(require("./ReasoningMessageSource"), exports);
|
|
182
183
|
__exportStar(require("./ReasoningMessage"), exports);
|
|
183
184
|
__exportStar(require("./RedactedReasoningContent"), exports);
|
|
185
|
+
__exportStar(require("./RequiredBeforeExitToolRule"), exports);
|
|
184
186
|
__exportStar(require("./ResponseFormatJsonObject"), exports);
|
|
185
187
|
__exportStar(require("./ResponseFormatJsonSchema"), exports);
|
|
186
188
|
__exportStar(require("./ResponseFormatText"), exports);
|
|
@@ -203,6 +205,7 @@ __exportStar(require("./Source"), exports);
|
|
|
203
205
|
__exportStar(require("./StdioServerConfig"), exports);
|
|
204
206
|
__exportStar(require("./Step"), exports);
|
|
205
207
|
__exportStar(require("./StopReasonType"), exports);
|
|
208
|
+
__exportStar(require("./StreamableHttpServerConfig"), exports);
|
|
206
209
|
__exportStar(require("./SupervisorManager"), exports);
|
|
207
210
|
__exportStar(require("./SupervisorManagerUpdate"), exports);
|
|
208
211
|
__exportStar(require("./SystemMessage"), exports);
|
|
@@ -230,6 +233,8 @@ __exportStar(require("./ToolType"), exports);
|
|
|
230
233
|
__exportStar(require("./UpdateAssistantMessageContent"), exports);
|
|
231
234
|
__exportStar(require("./UpdateAssistantMessage"), exports);
|
|
232
235
|
__exportStar(require("./UpdateReasoningMessage"), exports);
|
|
236
|
+
__exportStar(require("./UpdateSsemcpServer"), exports);
|
|
237
|
+
__exportStar(require("./UpdateStreamableHttpmcpServer"), exports);
|
|
233
238
|
__exportStar(require("./UpdateSystemMessage"), exports);
|
|
234
239
|
__exportStar(require("./UpdateUserMessageContent"), exports);
|
|
235
240
|
__exportStar(require("./UpdateUserMessage"), exports);
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Letta from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { AgentsSearchRequestSearchItem } from "../../types/AgentsSearchRequestSearchItem";
|
|
8
|
+
import { AgentsSearchRequestSortBy } from "../../types/AgentsSearchRequestSortBy";
|
|
8
9
|
export declare const AgentsSearchRequest: core.serialization.Schema<serializers.AgentsSearchRequest.Raw, Letta.AgentsSearchRequest>;
|
|
9
10
|
export declare namespace AgentsSearchRequest {
|
|
10
11
|
interface Raw {
|
|
@@ -13,5 +14,7 @@ export declare namespace AgentsSearchRequest {
|
|
|
13
14
|
combinator?: "AND" | null;
|
|
14
15
|
limit?: number | null;
|
|
15
16
|
after?: string | null;
|
|
17
|
+
sortBy?: AgentsSearchRequestSortBy.Raw | null;
|
|
18
|
+
ascending?: boolean | null;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -39,10 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.AgentsSearchRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const AgentsSearchRequestSearchItem_1 = require("../../types/AgentsSearchRequestSearchItem");
|
|
42
|
+
const AgentsSearchRequestSortBy_1 = require("../../types/AgentsSearchRequestSortBy");
|
|
42
43
|
exports.AgentsSearchRequest = core.serialization.object({
|
|
43
44
|
search: core.serialization.list(AgentsSearchRequestSearchItem_1.AgentsSearchRequestSearchItem).optional(),
|
|
44
45
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
46
|
combinator: core.serialization.stringLiteral("AND").optional(),
|
|
46
47
|
limit: core.serialization.number().optional(),
|
|
47
48
|
after: core.serialization.string().optional(),
|
|
49
|
+
sortBy: AgentsSearchRequestSortBy_1.AgentsSearchRequestSortBy.optional(),
|
|
50
|
+
ascending: core.serialization.boolean().optional(),
|
|
48
51
|
});
|
|
@@ -65,4 +65,6 @@ exports.UpdateAgent = core.serialization.object({
|
|
|
65
65
|
embedding: core.serialization.string().optional(),
|
|
66
66
|
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
67
67
|
responseFormat: core.serialization.property("response_format", UpdateAgentResponseFormat_1.UpdateAgentResponseFormat.optional()),
|
|
68
|
+
lastRunCompletion: core.serialization.property("last_run_completion", core.serialization.date().optional()),
|
|
69
|
+
lastRunDurationMs: core.serialization.property("last_run_duration_ms", core.serialization.number().optional()),
|
|
68
70
|
});
|
|
@@ -49,4 +49,5 @@ exports.blocks = __importStar(require("./blocks"));
|
|
|
49
49
|
exports.passages = __importStar(require("./passages"));
|
|
50
50
|
exports.groups = __importStar(require("./groups"));
|
|
51
51
|
__exportStar(require("./passages/client/requests"), exports);
|
|
52
|
+
__exportStar(require("./messages/client/requests"), exports);
|
|
52
53
|
__exportStar(require("./templates/client/requests"), exports);
|
|
@@ -32,6 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.list = void 0;
|
|
37
40
|
exports.list = __importStar(require("./list"));
|
|
41
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { MessageCreate } from "../../../../../../types/MessageCreate";
|
|
8
|
+
import { MessageType } from "../../../../../../types/MessageType";
|
|
9
|
+
export declare const LettaAsyncRequest: core.serialization.Schema<serializers.agents.LettaAsyncRequest.Raw, Letta.agents.LettaAsyncRequest>;
|
|
10
|
+
export declare namespace LettaAsyncRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
messages: MessageCreate.Raw[];
|
|
13
|
+
max_steps?: number | null;
|
|
14
|
+
use_assistant_message?: boolean | null;
|
|
15
|
+
assistant_message_tool_name?: string | null;
|
|
16
|
+
assistant_message_tool_kwarg?: string | null;
|
|
17
|
+
include_return_message_types?: MessageType.Raw[] | null;
|
|
18
|
+
callback_url?: string | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/dist/serialization/resources/agents/resources/messages/client/requests/LettaAsyncRequest.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
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.LettaAsyncRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const MessageCreate_1 = require("../../../../../../types/MessageCreate");
|
|
42
|
+
const MessageType_1 = require("../../../../../../types/MessageType");
|
|
43
|
+
exports.LettaAsyncRequest = core.serialization.object({
|
|
44
|
+
messages: core.serialization.list(MessageCreate_1.MessageCreate),
|
|
45
|
+
maxSteps: core.serialization.property("max_steps", core.serialization.number().optional()),
|
|
46
|
+
useAssistantMessage: core.serialization.property("use_assistant_message", core.serialization.boolean().optional()),
|
|
47
|
+
assistantMessageToolName: core.serialization.property("assistant_message_tool_name", core.serialization.string().optional()),
|
|
48
|
+
assistantMessageToolKwarg: core.serialization.property("assistant_message_tool_kwarg", core.serialization.string().optional()),
|
|
49
|
+
includeReturnMessageTypes: core.serialization.property("include_return_message_types", core.serialization.list(MessageType_1.MessageType).optional()),
|
|
50
|
+
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
51
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LettaAsyncRequest } from "./LettaAsyncRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LettaAsyncRequest = void 0;
|
|
4
|
+
var LettaAsyncRequest_1 = require("./LettaAsyncRequest");
|
|
5
|
+
Object.defineProperty(exports, "LettaAsyncRequest", { enumerable: true, get: function () { return LettaAsyncRequest_1.LettaAsyncRequest; } });
|
|
@@ -0,0 +1,10 @@
|
|
|
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 AgentsSearchRequestSortBy: core.serialization.Schema<serializers.AgentsSearchRequestSortBy.Raw, Letta.AgentsSearchRequestSortBy>;
|
|
8
|
+
export declare namespace AgentsSearchRequestSortBy {
|
|
9
|
+
type Raw = "created_at" | "last_run_completion";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.AgentsSearchRequestSortBy = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchRequestSortBy = core.serialization.enum_(["created_at", "last_run_completion"]);
|
|
@@ -10,8 +10,9 @@ import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
12
12
|
import { ParentToolRule } from "../../../types/ParentToolRule";
|
|
13
|
+
import { RequiredBeforeExitToolRule } from "../../../types/RequiredBeforeExitToolRule";
|
|
13
14
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
14
15
|
export declare const CreateAgentRequestToolRulesItem: core.serialization.Schema<serializers.CreateAgentRequestToolRulesItem.Raw, Letta.CreateAgentRequestToolRulesItem>;
|
|
15
16
|
export declare namespace CreateAgentRequestToolRulesItem {
|
|
16
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
17
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | RequiredBeforeExitToolRule.Raw | InitToolRule.Raw;
|
|
17
18
|
}
|
|
@@ -44,6 +44,7 @@ const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
46
46
|
const ParentToolRule_1 = require("../../../types/ParentToolRule");
|
|
47
|
+
const RequiredBeforeExitToolRule_1 = require("../../../types/RequiredBeforeExitToolRule");
|
|
47
48
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
48
49
|
exports.CreateAgentRequestToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
49
50
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -52,5 +53,6 @@ exports.CreateAgentRequestToolRulesItem = core.serialization.undiscriminatedUnio
|
|
|
52
53
|
TerminalToolRule_1.TerminalToolRule,
|
|
53
54
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
55
|
ParentToolRule_1.ParentToolRule,
|
|
56
|
+
RequiredBeforeExitToolRule_1.RequiredBeforeExitToolRule,
|
|
55
57
|
InitToolRule_1.InitToolRule,
|
|
56
58
|
]);
|
|
@@ -10,8 +10,9 @@ import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
12
12
|
import { ParentToolRule } from "../../../types/ParentToolRule";
|
|
13
|
+
import { RequiredBeforeExitToolRule } from "../../../types/RequiredBeforeExitToolRule";
|
|
13
14
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
14
15
|
export declare const UpdateAgentToolRulesItem: core.serialization.Schema<serializers.UpdateAgentToolRulesItem.Raw, Letta.UpdateAgentToolRulesItem>;
|
|
15
16
|
export declare namespace UpdateAgentToolRulesItem {
|
|
16
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
17
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | RequiredBeforeExitToolRule.Raw | InitToolRule.Raw;
|
|
17
18
|
}
|
|
@@ -44,6 +44,7 @@ const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
46
46
|
const ParentToolRule_1 = require("../../../types/ParentToolRule");
|
|
47
|
+
const RequiredBeforeExitToolRule_1 = require("../../../types/RequiredBeforeExitToolRule");
|
|
47
48
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
48
49
|
exports.UpdateAgentToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
49
50
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -52,5 +53,6 @@ exports.UpdateAgentToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
|
52
53
|
TerminalToolRule_1.TerminalToolRule,
|
|
53
54
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
55
|
ParentToolRule_1.ParentToolRule,
|
|
56
|
+
RequiredBeforeExitToolRule_1.RequiredBeforeExitToolRule,
|
|
55
57
|
InitToolRule_1.InitToolRule,
|
|
56
58
|
]);
|
|
@@ -8,4 +8,5 @@ export * from "./AgentsSearchRequestSearchItemOne";
|
|
|
8
8
|
export * from "./AgentsSearchRequestSearchItemTwo";
|
|
9
9
|
export * from "./AgentsSearchRequestSearchItemOperator";
|
|
10
10
|
export * from "./AgentsSearchRequestSearchItem";
|
|
11
|
+
export * from "./AgentsSearchRequestSortBy";
|
|
11
12
|
export * from "./AgentsSearchResponse";
|
|
@@ -24,4 +24,5 @@ __exportStar(require("./AgentsSearchRequestSearchItemOne"), exports);
|
|
|
24
24
|
__exportStar(require("./AgentsSearchRequestSearchItemTwo"), exports);
|
|
25
25
|
__exportStar(require("./AgentsSearchRequestSearchItemOperator"), exports);
|
|
26
26
|
__exportStar(require("./AgentsSearchRequestSearchItem"), exports);
|
|
27
|
+
__exportStar(require("./AgentsSearchRequestSortBy"), exports);
|
|
27
28
|
__exportStar(require("./AgentsSearchResponse"), exports);
|
|
@@ -43,4 +43,6 @@ exports.ProviderCreate = core.serialization.object({
|
|
|
43
43
|
name: core.serialization.string(),
|
|
44
44
|
providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
|
|
45
45
|
apiKey: core.serialization.property("api_key", core.serialization.string()),
|
|
46
|
+
accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
|
|
47
|
+
region: core.serialization.string().optional(),
|
|
46
48
|
});
|
|
@@ -40,4 +40,6 @@ exports.ProviderUpdate = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
exports.ProviderUpdate = core.serialization.object({
|
|
42
42
|
apiKey: core.serialization.property("api_key", core.serialization.string()),
|
|
43
|
+
accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
|
|
44
|
+
region: core.serialization.string().optional(),
|
|
43
45
|
});
|
|
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
8
8
|
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
9
10
|
export declare const AddMcpServerRequest: core.serialization.Schema<serializers.AddMcpServerRequest.Raw, Letta.AddMcpServerRequest>;
|
|
10
11
|
export declare namespace AddMcpServerRequest {
|
|
11
|
-
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
|
|
12
|
+
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
12
13
|
}
|
|
@@ -40,4 +40,5 @@ exports.AddMcpServerRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
42
42
|
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
43
|
-
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.AddMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
8
8
|
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
9
10
|
export declare const AddMcpServerResponseItem: core.serialization.Schema<serializers.AddMcpServerResponseItem.Raw, Letta.AddMcpServerResponseItem>;
|
|
10
11
|
export declare namespace AddMcpServerResponseItem {
|
|
11
|
-
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
|
|
12
|
+
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
12
13
|
}
|
|
@@ -40,4 +40,5 @@ exports.AddMcpServerResponseItem = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
42
42
|
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
43
|
-
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.AddMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
8
8
|
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
9
10
|
export declare const DeleteMcpServerResponseItem: core.serialization.Schema<serializers.DeleteMcpServerResponseItem.Raw, Letta.DeleteMcpServerResponseItem>;
|
|
10
11
|
export declare namespace DeleteMcpServerResponseItem {
|
|
11
|
-
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
|
|
12
|
+
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
12
13
|
}
|
|
@@ -40,4 +40,5 @@ exports.DeleteMcpServerResponseItem = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
42
42
|
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
43
|
-
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.DeleteMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -6,7 +6,8 @@ import * as Letta from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
8
8
|
import { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
9
10
|
export declare const ListMcpServersResponseValue: core.serialization.Schema<serializers.ListMcpServersResponseValue.Raw, Letta.ListMcpServersResponseValue>;
|
|
10
11
|
export declare namespace ListMcpServersResponseValue {
|
|
11
|
-
type Raw = SseServerConfig.Raw | StdioServerConfig.Raw;
|
|
12
|
+
type Raw = SseServerConfig.Raw | StdioServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
12
13
|
}
|
|
@@ -40,4 +40,5 @@ exports.ListMcpServersResponseValue = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
42
42
|
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
43
|
-
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.ListMcpServersResponseValue = core.serialization.undiscriminatedUnion([SseServerConfig_1.SseServerConfig, StdioServerConfig_1.StdioServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -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
|
+
import { UpdateSsemcpServer } from "../../../types/UpdateSsemcpServer";
|
|
8
|
+
import { UpdateStreamableHttpmcpServer } from "../../../types/UpdateStreamableHttpmcpServer";
|
|
9
|
+
export declare const UpdateMcpServerRequest: core.serialization.Schema<serializers.UpdateMcpServerRequest.Raw, Letta.UpdateMcpServerRequest>;
|
|
10
|
+
export declare namespace UpdateMcpServerRequest {
|
|
11
|
+
type Raw = UpdateSsemcpServer.Raw | UpdateStreamableHttpmcpServer.Raw;
|
|
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.UpdateMcpServerRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const UpdateSsemcpServer_1 = require("../../../types/UpdateSsemcpServer");
|
|
42
|
+
const UpdateStreamableHttpmcpServer_1 = require("../../../types/UpdateStreamableHttpmcpServer");
|
|
43
|
+
exports.UpdateMcpServerRequest = core.serialization.undiscriminatedUnion([UpdateSsemcpServer_1.UpdateSsemcpServer, UpdateStreamableHttpmcpServer_1.UpdateStreamableHttpmcpServer]);
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { StdioServerConfig } from "../../../types/StdioServerConfig";
|
|
8
|
+
import { SseServerConfig } from "../../../types/SseServerConfig";
|
|
9
|
+
import { StreamableHttpServerConfig } from "../../../types/StreamableHttpServerConfig";
|
|
10
|
+
export declare const UpdateMcpServerResponse: core.serialization.Schema<serializers.UpdateMcpServerResponse.Raw, Letta.UpdateMcpServerResponse>;
|
|
11
|
+
export declare namespace UpdateMcpServerResponse {
|
|
12
|
+
type Raw = StdioServerConfig.Raw | SseServerConfig.Raw | StreamableHttpServerConfig.Raw;
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.UpdateMcpServerResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
|
|
42
|
+
const SseServerConfig_1 = require("../../../types/SseServerConfig");
|
|
43
|
+
const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
|
|
44
|
+
exports.UpdateMcpServerResponse = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./ListMcpServersResponseValue"), exports);
|
|
|
18
18
|
__exportStar(require("./AddMcpServerRequest"), exports);
|
|
19
19
|
__exportStar(require("./AddMcpServerResponseItem"), exports);
|
|
20
20
|
__exportStar(require("./DeleteMcpServerResponseItem"), exports);
|
|
21
|
+
__exportStar(require("./UpdateMcpServerRequest"), exports);
|
|
22
|
+
__exportStar(require("./UpdateMcpServerResponse"), exports);
|
|
@@ -76,4 +76,6 @@ exports.AgentState = core.serialization.object({
|
|
|
76
76
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
77
77
|
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
78
78
|
multiAgentGroup: core.serialization.property("multi_agent_group", Group_1.Group.optional()),
|
|
79
|
+
lastRunCompletion: core.serialization.property("last_run_completion", core.serialization.date().optional()),
|
|
80
|
+
lastRunDurationMs: core.serialization.property("last_run_duration_ms", core.serialization.number().optional()),
|
|
79
81
|
});
|
|
@@ -10,8 +10,9 @@ import { ContinueToolRule } from "./ContinueToolRule";
|
|
|
10
10
|
import { TerminalToolRule } from "./TerminalToolRule";
|
|
11
11
|
import { MaxCountPerStepToolRule } from "./MaxCountPerStepToolRule";
|
|
12
12
|
import { ParentToolRule } from "./ParentToolRule";
|
|
13
|
+
import { RequiredBeforeExitToolRule } from "./RequiredBeforeExitToolRule";
|
|
13
14
|
import { InitToolRule } from "./InitToolRule";
|
|
14
15
|
export declare const AgentStateToolRulesItem: core.serialization.Schema<serializers.AgentStateToolRulesItem.Raw, Letta.AgentStateToolRulesItem>;
|
|
15
16
|
export declare namespace AgentStateToolRulesItem {
|
|
16
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | InitToolRule.Raw;
|
|
17
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | ParentToolRule.Raw | RequiredBeforeExitToolRule.Raw | InitToolRule.Raw;
|
|
17
18
|
}
|
|
@@ -44,6 +44,7 @@ const ContinueToolRule_1 = require("./ContinueToolRule");
|
|
|
44
44
|
const TerminalToolRule_1 = require("./TerminalToolRule");
|
|
45
45
|
const MaxCountPerStepToolRule_1 = require("./MaxCountPerStepToolRule");
|
|
46
46
|
const ParentToolRule_1 = require("./ParentToolRule");
|
|
47
|
+
const RequiredBeforeExitToolRule_1 = require("./RequiredBeforeExitToolRule");
|
|
47
48
|
const InitToolRule_1 = require("./InitToolRule");
|
|
48
49
|
exports.AgentStateToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
49
50
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
@@ -52,5 +53,6 @@ exports.AgentStateToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
|
52
53
|
TerminalToolRule_1.TerminalToolRule,
|
|
53
54
|
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
54
55
|
ParentToolRule_1.ParentToolRule,
|
|
56
|
+
RequiredBeforeExitToolRule_1.RequiredBeforeExitToolRule,
|
|
55
57
|
InitToolRule_1.InitToolRule,
|
|
56
58
|
]);
|