@letta-ai/letta-client 0.1.131 → 0.1.132
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/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/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/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 +4 -0
- package/api/types/index.js +4 -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/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/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/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 +4 -0
- package/dist/api/types/index.js +4 -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/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/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/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 +4 -0
- package/dist/serialization/types/index.js +4 -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/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/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/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 +4 -0
- package/serialization/types/index.js +4 -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
|
@@ -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
|
});
|
|
@@ -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,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,6 +159,7 @@ 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";
|
|
@@ -187,6 +188,7 @@ export * from "./Source";
|
|
|
187
188
|
export * from "./StdioServerConfig";
|
|
188
189
|
export * from "./Step";
|
|
189
190
|
export * from "./StopReasonType";
|
|
191
|
+
export * from "./StreamableHttpServerConfig";
|
|
190
192
|
export * from "./SupervisorManager";
|
|
191
193
|
export * from "./SupervisorManagerUpdate";
|
|
192
194
|
export * from "./SystemMessage";
|
|
@@ -214,6 +216,8 @@ export * from "./ToolType";
|
|
|
214
216
|
export * from "./UpdateAssistantMessageContent";
|
|
215
217
|
export * from "./UpdateAssistantMessage";
|
|
216
218
|
export * from "./UpdateReasoningMessage";
|
|
219
|
+
export * from "./UpdateSsemcpServer";
|
|
220
|
+
export * from "./UpdateStreamableHttpmcpServer";
|
|
217
221
|
export * from "./UpdateSystemMessage";
|
|
218
222
|
export * from "./UpdateUserMessageContent";
|
|
219
223
|
export * from "./UpdateUserMessage";
|
|
@@ -175,6 +175,7 @@ __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);
|
|
@@ -203,6 +204,7 @@ __exportStar(require("./Source"), exports);
|
|
|
203
204
|
__exportStar(require("./StdioServerConfig"), exports);
|
|
204
205
|
__exportStar(require("./Step"), exports);
|
|
205
206
|
__exportStar(require("./StopReasonType"), exports);
|
|
207
|
+
__exportStar(require("./StreamableHttpServerConfig"), exports);
|
|
206
208
|
__exportStar(require("./SupervisorManager"), exports);
|
|
207
209
|
__exportStar(require("./SupervisorManagerUpdate"), exports);
|
|
208
210
|
__exportStar(require("./SystemMessage"), exports);
|
|
@@ -230,6 +232,8 @@ __exportStar(require("./ToolType"), exports);
|
|
|
230
232
|
__exportStar(require("./UpdateAssistantMessageContent"), exports);
|
|
231
233
|
__exportStar(require("./UpdateAssistantMessage"), exports);
|
|
232
234
|
__exportStar(require("./UpdateReasoningMessage"), exports);
|
|
235
|
+
__exportStar(require("./UpdateSsemcpServer"), exports);
|
|
236
|
+
__exportStar(require("./UpdateStreamableHttpmcpServer"), exports);
|
|
233
237
|
__exportStar(require("./UpdateSystemMessage"), exports);
|
|
234
238
|
__exportStar(require("./UpdateUserMessageContent"), exports);
|
|
235
239
|
__exportStar(require("./UpdateUserMessage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.132";
|