@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
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const JobStatus: core.serialization.Schema<serializers.JobStatus.Raw, Letta.JobStatus>;
|
|
8
8
|
export declare namespace JobStatus {
|
|
9
|
-
type Raw = "
|
|
9
|
+
type Raw = "created" | "running" | "completed" | "failed" | "pending" | "cancelled" | "expired";
|
|
10
10
|
}
|
|
@@ -38,13 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.JobStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.JobStatus = core.serialization.enum_([
|
|
42
|
-
"not_started",
|
|
43
|
-
"created",
|
|
44
|
-
"running",
|
|
45
|
-
"completed",
|
|
46
|
-
"failed",
|
|
47
|
-
"pending",
|
|
48
|
-
"cancelled",
|
|
49
|
-
"expired",
|
|
50
|
-
]);
|
|
41
|
+
exports.JobStatus = core.serialization.enum_(["created", "running", "completed", "failed", "pending", "cancelled", "expired"]);
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { MessageType } from "./MessageType";
|
|
7
8
|
export declare const LettaRequestConfig: core.serialization.ObjectSchema<serializers.LettaRequestConfig.Raw, Letta.LettaRequestConfig>;
|
|
8
9
|
export declare namespace LettaRequestConfig {
|
|
9
10
|
interface Raw {
|
|
10
11
|
use_assistant_message?: boolean | null;
|
|
11
12
|
assistant_message_tool_name?: string | null;
|
|
12
13
|
assistant_message_tool_kwarg?: string | null;
|
|
14
|
+
include_return_message_types?: MessageType.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -38,8 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.LettaRequestConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const MessageType_1 = require("./MessageType");
|
|
41
42
|
exports.LettaRequestConfig = core.serialization.object({
|
|
42
43
|
useAssistantMessage: core.serialization.property("use_assistant_message", core.serialization.boolean().optional()),
|
|
43
44
|
assistantMessageToolName: core.serialization.property("assistant_message_tool_name", core.serialization.string().optional()),
|
|
44
45
|
assistantMessageToolKwarg: core.serialization.property("assistant_message_tool_kwarg", core.serialization.string().optional()),
|
|
46
|
+
includeReturnMessageTypes: core.serialization.property("include_return_message_types", core.serialization.list(MessageType_1.MessageType).optional()),
|
|
45
47
|
});
|
|
@@ -47,5 +47,7 @@ exports.Provider = core.serialization.object({
|
|
|
47
47
|
providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory),
|
|
48
48
|
apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
|
|
49
49
|
baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
|
|
50
|
+
accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
|
|
51
|
+
region: core.serialization.string().optional(),
|
|
50
52
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
51
53
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ProviderType } from "./ProviderType";
|
|
8
|
+
export declare const ProviderCheck: core.serialization.ObjectSchema<serializers.ProviderCheck.Raw, Letta.ProviderCheck>;
|
|
9
|
+
export declare namespace ProviderCheck {
|
|
10
|
+
interface Raw {
|
|
11
|
+
provider_type: ProviderType.Raw;
|
|
12
|
+
api_key: string;
|
|
13
|
+
access_key?: string | null;
|
|
14
|
+
region?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ProviderCheck = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ProviderType_1 = require("./ProviderType");
|
|
42
|
+
exports.ProviderCheck = core.serialization.object({
|
|
43
|
+
providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
|
|
44
|
+
apiKey: core.serialization.property("api_key", core.serialization.string()),
|
|
45
|
+
accessKey: core.serialization.property("access_key", core.serialization.string().optional()),
|
|
46
|
+
region: core.serialization.string().optional(),
|
|
47
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
|
|
8
8
|
export declare namespace ProviderType {
|
|
9
|
-
type Raw = "anthropic" | "
|
|
9
|
+
type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
|
|
10
10
|
}
|
|
@@ -40,7 +40,6 @@ exports.ProviderType = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ProviderType = core.serialization.enum_([
|
|
42
42
|
"anthropic",
|
|
43
|
-
"bedrock",
|
|
44
43
|
"google_ai",
|
|
45
44
|
"google_vertex",
|
|
46
45
|
"openai",
|
|
@@ -54,4 +53,5 @@ exports.ProviderType = core.serialization.enum_([
|
|
|
54
53
|
"together",
|
|
55
54
|
"azure",
|
|
56
55
|
"vllm",
|
|
56
|
+
"bedrock",
|
|
57
57
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
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 RequiredBeforeExitToolRule: core.serialization.ObjectSchema<serializers.RequiredBeforeExitToolRule.Raw, Letta.RequiredBeforeExitToolRule>;
|
|
8
|
+
export declare namespace RequiredBeforeExitToolRule {
|
|
9
|
+
interface Raw {
|
|
10
|
+
tool_name: string;
|
|
11
|
+
type: "required_before_exit";
|
|
12
|
+
prompt_template?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.RequiredBeforeExitToolRule = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.RequiredBeforeExitToolRule = core.serialization.object({
|
|
42
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
43
|
+
type: core.serialization.stringLiteral("required_before_exit"),
|
|
44
|
+
promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
|
|
45
|
+
});
|
|
@@ -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 { McpServerType } from "./McpServerType";
|
|
8
|
+
export declare const StreamableHttpServerConfig: core.serialization.ObjectSchema<serializers.StreamableHttpServerConfig.Raw, Letta.StreamableHttpServerConfig>;
|
|
9
|
+
export declare namespace StreamableHttpServerConfig {
|
|
10
|
+
interface Raw {
|
|
11
|
+
server_name: string;
|
|
12
|
+
type?: McpServerType.Raw | null;
|
|
13
|
+
server_url: string;
|
|
14
|
+
auth_header?: string | null;
|
|
15
|
+
auth_token?: string | null;
|
|
16
|
+
custom_headers?: Record<string, string | null | undefined> | null;
|
|
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.StreamableHttpServerConfig = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const McpServerType_1 = require("./McpServerType");
|
|
42
|
+
exports.StreamableHttpServerConfig = core.serialization.object({
|
|
43
|
+
serverName: core.serialization.property("server_name", core.serialization.string()),
|
|
44
|
+
type: McpServerType_1.McpServerType.optional(),
|
|
45
|
+
serverUrl: core.serialization.property("server_url", core.serialization.string()),
|
|
46
|
+
authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
|
|
47
|
+
authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
|
|
48
|
+
customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 UpdateSsemcpServer: core.serialization.ObjectSchema<serializers.UpdateSsemcpServer.Raw, Letta.UpdateSsemcpServer>;
|
|
8
|
+
export declare namespace UpdateSsemcpServer {
|
|
9
|
+
interface Raw {
|
|
10
|
+
server_name?: string | null;
|
|
11
|
+
server_url?: string | null;
|
|
12
|
+
token?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.UpdateSsemcpServer = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.UpdateSsemcpServer = core.serialization.object({
|
|
42
|
+
serverName: core.serialization.property("server_name", core.serialization.string().optional()),
|
|
43
|
+
serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
|
|
44
|
+
token: core.serialization.string().optional(),
|
|
45
|
+
});
|
|
@@ -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
|
+
export declare const UpdateStreamableHttpmcpServer: core.serialization.ObjectSchema<serializers.UpdateStreamableHttpmcpServer.Raw, Letta.UpdateStreamableHttpmcpServer>;
|
|
8
|
+
export declare namespace UpdateStreamableHttpmcpServer {
|
|
9
|
+
interface Raw {
|
|
10
|
+
server_name?: string | null;
|
|
11
|
+
server_url?: string | null;
|
|
12
|
+
auth_header?: string | null;
|
|
13
|
+
auth_token?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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.UpdateStreamableHttpmcpServer = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.UpdateStreamableHttpmcpServer = core.serialization.object({
|
|
42
|
+
serverName: core.serialization.property("server_name", core.serialization.string().optional()),
|
|
43
|
+
serverUrl: core.serialization.property("server_url", core.serialization.string().optional()),
|
|
44
|
+
authHeader: core.serialization.property("auth_header", core.serialization.string().optional()),
|
|
45
|
+
authToken: core.serialization.property("auth_token", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -159,12 +159,14 @@ export * from "./Passage";
|
|
|
159
159
|
export * from "./PipRequirement";
|
|
160
160
|
export * from "./Provider";
|
|
161
161
|
export * from "./ProviderCategory";
|
|
162
|
+
export * from "./ProviderCheck";
|
|
162
163
|
export * from "./ProviderTrace";
|
|
163
164
|
export * from "./ProviderType";
|
|
164
165
|
export * from "./ReasoningContent";
|
|
165
166
|
export * from "./ReasoningMessageSource";
|
|
166
167
|
export * from "./ReasoningMessage";
|
|
167
168
|
export * from "./RedactedReasoningContent";
|
|
169
|
+
export * from "./RequiredBeforeExitToolRule";
|
|
168
170
|
export * from "./ResponseFormatJsonObject";
|
|
169
171
|
export * from "./ResponseFormatJsonSchema";
|
|
170
172
|
export * from "./ResponseFormatText";
|
|
@@ -187,6 +189,7 @@ export * from "./Source";
|
|
|
187
189
|
export * from "./StdioServerConfig";
|
|
188
190
|
export * from "./Step";
|
|
189
191
|
export * from "./StopReasonType";
|
|
192
|
+
export * from "./StreamableHttpServerConfig";
|
|
190
193
|
export * from "./SupervisorManager";
|
|
191
194
|
export * from "./SupervisorManagerUpdate";
|
|
192
195
|
export * from "./SystemMessage";
|
|
@@ -214,6 +217,8 @@ export * from "./ToolType";
|
|
|
214
217
|
export * from "./UpdateAssistantMessageContent";
|
|
215
218
|
export * from "./UpdateAssistantMessage";
|
|
216
219
|
export * from "./UpdateReasoningMessage";
|
|
220
|
+
export * from "./UpdateSsemcpServer";
|
|
221
|
+
export * from "./UpdateStreamableHttpmcpServer";
|
|
217
222
|
export * from "./UpdateSystemMessage";
|
|
218
223
|
export * from "./UpdateUserMessageContent";
|
|
219
224
|
export * from "./UpdateUserMessage";
|
|
@@ -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);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.133";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1094,6 +1094,77 @@ await client.tools.deleteMcpServer("mcp_server_name");
|
|
|
1094
1094
|
</dl>
|
|
1095
1095
|
</details>
|
|
1096
1096
|
|
|
1097
|
+
<details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">updateMcpServer</a>(mcpServerName, { ...params }) -> Letta.UpdateMcpServerResponse</code></summary>
|
|
1098
|
+
<dl>
|
|
1099
|
+
<dd>
|
|
1100
|
+
|
|
1101
|
+
#### 📝 Description
|
|
1102
|
+
|
|
1103
|
+
<dl>
|
|
1104
|
+
<dd>
|
|
1105
|
+
|
|
1106
|
+
<dl>
|
|
1107
|
+
<dd>
|
|
1108
|
+
|
|
1109
|
+
Update an existing MCP server configuration
|
|
1110
|
+
|
|
1111
|
+
</dd>
|
|
1112
|
+
</dl>
|
|
1113
|
+
</dd>
|
|
1114
|
+
</dl>
|
|
1115
|
+
|
|
1116
|
+
#### 🔌 Usage
|
|
1117
|
+
|
|
1118
|
+
<dl>
|
|
1119
|
+
<dd>
|
|
1120
|
+
|
|
1121
|
+
<dl>
|
|
1122
|
+
<dd>
|
|
1123
|
+
|
|
1124
|
+
```typescript
|
|
1125
|
+
await client.tools.updateMcpServer("mcp_server_name", {});
|
|
1126
|
+
```
|
|
1127
|
+
|
|
1128
|
+
</dd>
|
|
1129
|
+
</dl>
|
|
1130
|
+
</dd>
|
|
1131
|
+
</dl>
|
|
1132
|
+
|
|
1133
|
+
#### ⚙️ Parameters
|
|
1134
|
+
|
|
1135
|
+
<dl>
|
|
1136
|
+
<dd>
|
|
1137
|
+
|
|
1138
|
+
<dl>
|
|
1139
|
+
<dd>
|
|
1140
|
+
|
|
1141
|
+
**mcpServerName:** `string`
|
|
1142
|
+
|
|
1143
|
+
</dd>
|
|
1144
|
+
</dl>
|
|
1145
|
+
|
|
1146
|
+
<dl>
|
|
1147
|
+
<dd>
|
|
1148
|
+
|
|
1149
|
+
**request:** `Letta.UpdateMcpServerRequest`
|
|
1150
|
+
|
|
1151
|
+
</dd>
|
|
1152
|
+
</dl>
|
|
1153
|
+
|
|
1154
|
+
<dl>
|
|
1155
|
+
<dd>
|
|
1156
|
+
|
|
1157
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
1158
|
+
|
|
1159
|
+
</dd>
|
|
1160
|
+
</dl>
|
|
1161
|
+
</dd>
|
|
1162
|
+
</dl>
|
|
1163
|
+
|
|
1164
|
+
</dd>
|
|
1165
|
+
</dl>
|
|
1166
|
+
</details>
|
|
1167
|
+
|
|
1097
1168
|
## Sources
|
|
1098
1169
|
|
|
1099
1170
|
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">count</a>() -> number</code></summary>
|
|
@@ -3965,7 +4036,7 @@ await client.providers.modify("provider_id", {
|
|
|
3965
4036
|
</dl>
|
|
3966
4037
|
</details>
|
|
3967
4038
|
|
|
3968
|
-
<details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>(
|
|
4039
|
+
<details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>() -> unknown</code></summary>
|
|
3969
4040
|
<dl>
|
|
3970
4041
|
<dd>
|
|
3971
4042
|
|
|
@@ -3978,10 +4049,7 @@ await client.providers.modify("provider_id", {
|
|
|
3978
4049
|
<dd>
|
|
3979
4050
|
|
|
3980
4051
|
```typescript
|
|
3981
|
-
await client.providers.check(
|
|
3982
|
-
apiKey: "x-api-key",
|
|
3983
|
-
providerType: "anthropic",
|
|
3984
|
-
});
|
|
4052
|
+
await client.providers.check();
|
|
3985
4053
|
```
|
|
3986
4054
|
|
|
3987
4055
|
</dd>
|
|
@@ -3997,14 +4065,6 @@ await client.providers.check({
|
|
|
3997
4065
|
<dl>
|
|
3998
4066
|
<dd>
|
|
3999
4067
|
|
|
4000
|
-
**request:** `Letta.ProvidersCheckRequest`
|
|
4001
|
-
|
|
4002
|
-
</dd>
|
|
4003
|
-
</dl>
|
|
4004
|
-
|
|
4005
|
-
<dl>
|
|
4006
|
-
<dd>
|
|
4007
|
-
|
|
4008
4068
|
**requestOptions:** `Providers.RequestOptions`
|
|
4009
4069
|
|
|
4010
4070
|
</dd>
|
|
@@ -6753,19 +6813,17 @@ The actual processing happens in the background, and the status can be checked u
|
|
|
6753
6813
|
|
|
6754
6814
|
```typescript
|
|
6755
6815
|
await client.agents.messages.createAsync("agent_id", {
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
],
|
|
6768
|
-
},
|
|
6816
|
+
messages: [
|
|
6817
|
+
{
|
|
6818
|
+
role: "user",
|
|
6819
|
+
content: [
|
|
6820
|
+
{
|
|
6821
|
+
type: "text",
|
|
6822
|
+
text: "text",
|
|
6823
|
+
},
|
|
6824
|
+
],
|
|
6825
|
+
},
|
|
6826
|
+
],
|
|
6769
6827
|
});
|
|
6770
6828
|
```
|
|
6771
6829
|
|
|
@@ -6790,7 +6848,7 @@ await client.agents.messages.createAsync("agent_id", {
|
|
|
6790
6848
|
<dl>
|
|
6791
6849
|
<dd>
|
|
6792
6850
|
|
|
6793
|
-
**request:** `Letta.agents.
|
|
6851
|
+
**request:** `Letta.agents.LettaAsyncRequest`
|
|
6794
6852
|
|
|
6795
6853
|
</dd>
|
|
6796
6854
|
</dl>
|