@letta-ai/letta-client 1.0.0-alpha.17 → 1.0.0-alpha.19
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/CHANGELOG.md +35 -0
- package/README.md +5 -15
- package/client.d.mts +20 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -20
- package/client.d.ts.map +1 -1
- package/client.js +29 -23
- package/client.js.map +1 -1
- package/client.mjs +29 -23
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +319 -935
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +319 -935
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +12 -4
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +12 -4
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/archives.d.mts +31 -0
- package/resources/agents/archives.d.mts.map +1 -0
- package/resources/agents/archives.d.ts +31 -0
- package/resources/agents/archives.d.ts.map +1 -0
- package/resources/agents/archives.js +24 -0
- package/resources/agents/archives.js.map +1 -0
- package/resources/agents/archives.mjs +20 -0
- package/resources/agents/archives.mjs.map +1 -0
- package/resources/agents/folders.d.mts +1 -1
- package/resources/agents/folders.d.mts.map +1 -1
- package/resources/agents/folders.d.ts +1 -1
- package/resources/agents/folders.d.ts.map +1 -1
- package/resources/agents/identities.d.mts +31 -0
- package/resources/agents/identities.d.mts.map +1 -0
- package/resources/agents/identities.d.ts +31 -0
- package/resources/agents/identities.d.ts.map +1 -0
- package/resources/agents/identities.js +24 -0
- package/resources/agents/identities.js.map +1 -0
- package/resources/agents/identities.mjs +20 -0
- package/resources/agents/identities.mjs.map +1 -0
- package/resources/agents/index.d.mts +4 -2
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +4 -2
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js +5 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +2 -0
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/messages.d.mts +244 -284
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +244 -284
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/archives/archives.d.mts +111 -0
- package/resources/archives/archives.d.mts.map +1 -0
- package/resources/archives/archives.d.ts +111 -0
- package/resources/archives/archives.d.ts.map +1 -0
- package/resources/archives/archives.js +50 -0
- package/resources/archives/archives.js.map +1 -0
- package/resources/archives/archives.mjs +45 -0
- package/resources/archives/archives.mjs.map +1 -0
- package/resources/archives/index.d.mts +3 -0
- package/resources/archives/index.d.mts.map +1 -0
- package/resources/archives/index.d.ts +3 -0
- package/resources/archives/index.d.ts.map +1 -0
- package/resources/archives/index.js +9 -0
- package/resources/archives/index.js.map +1 -0
- package/resources/archives/index.mjs +4 -0
- package/resources/archives/index.mjs.map +1 -0
- package/resources/archives/passages.d.mts +112 -0
- package/resources/archives/passages.d.mts.map +1 -0
- package/resources/archives/passages.d.ts +112 -0
- package/resources/archives/passages.d.ts.map +1 -0
- package/resources/archives/passages.js +32 -0
- package/resources/archives/passages.js.map +1 -0
- package/resources/archives/passages.mjs +28 -0
- package/resources/archives/passages.mjs.map +1 -0
- package/resources/archives.d.mts +1 -106
- package/resources/archives.d.mts.map +1 -1
- package/resources/archives.d.ts +1 -106
- package/resources/archives.d.ts.map +1 -1
- package/resources/archives.js +2 -38
- package/resources/archives.js.map +1 -1
- package/resources/archives.mjs +1 -36
- package/resources/archives.mjs.map +1 -1
- package/resources/batches/messages.d.mts +3 -3
- package/resources/batches/messages.d.mts.map +1 -1
- package/resources/batches/messages.d.ts +3 -3
- package/resources/batches/messages.d.ts.map +1 -1
- package/resources/batches/messages.js.map +1 -1
- package/resources/batches/messages.mjs.map +1 -1
- package/resources/groups/messages.d.mts +3 -3
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +3 -3
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/groups/messages.js +4 -1
- package/resources/groups/messages.js.map +1 -1
- package/resources/groups/messages.mjs +4 -1
- package/resources/groups/messages.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/runs/messages.d.mts +3 -3
- package/resources/runs/messages.d.mts.map +1 -1
- package/resources/runs/messages.d.ts +3 -3
- package/resources/runs/messages.d.ts.map +1 -1
- package/resources/runs/messages.js +4 -1
- package/resources/runs/messages.js.map +1 -1
- package/resources/runs/messages.mjs +4 -1
- package/resources/runs/messages.mjs.map +1 -1
- package/resources/steps/steps.d.mts +1 -1
- package/resources/steps/steps.d.mts.map +1 -1
- package/resources/steps/steps.d.ts +1 -1
- package/resources/steps/steps.d.ts.map +1 -1
- package/src/client.ts +156 -130
- package/src/resources/agents/agents.ts +721 -1527
- package/src/resources/agents/archives.ts +51 -0
- package/src/resources/agents/folders.ts +1 -1
- package/src/resources/agents/identities.ts +51 -0
- package/src/resources/agents/index.ts +28 -3
- package/src/resources/agents/messages.ts +377 -424
- package/src/resources/archives/archives.ts +165 -0
- package/src/resources/archives/index.ts +17 -0
- package/src/resources/archives/passages.ts +149 -0
- package/src/resources/archives.ts +1 -150
- package/src/resources/batches/messages.ts +4 -4
- package/src/resources/groups/messages.ts +7 -8
- package/src/resources/index.ts +11 -1
- package/src/resources/runs/messages.ts +7 -8
- package/src/resources/steps/steps.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.19 (2025-11-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.0.0-alpha.18...v1.0.0-alpha.19](https://github.com/letta-ai/letta-node/compare/v1.0.0-alpha.18...v1.0.0-alpha.19)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* add approval return param to stainless ([7ec5ea3](https://github.com/letta-ai/letta-node/commit/7ec5ea3da042bae9d8a20d64ef4d301f778514a7))
|
|
10
|
+
* add attach detach methods for archives and identities to sdk ([f644e48](https://github.com/letta-ai/letta-node/commit/f644e487f079e2b136334f0b4e7586d97a978f69))
|
|
11
|
+
* add create memory for archive ([8414e07](https://github.com/letta-ai/letta-node/commit/8414e0785a5b4007107c8a38a4b38698ca3bb9f4))
|
|
12
|
+
* add model setting params to stainless config ([30e5ba2](https://github.com/letta-ai/letta-node/commit/30e5ba23a93427826406bdf5b3d84e188ac6b4bf))
|
|
13
|
+
* add passage deletion route to sdk ([a6656fe](https://github.com/letta-ai/letta-node/commit/a6656fe29a222d9558afb7da80135df9b59c3695))
|
|
14
|
+
* bring back model_settings and remove validation again ([916f8ea](https://github.com/letta-ai/letta-node/commit/916f8ea257dad7a4d413f855cc844f99d414bb8a))
|
|
15
|
+
* make api key optional in sdk ([2ad9913](https://github.com/letta-ai/letta-node/commit/2ad99135884527fcf1255205d6c6840fb2526084))
|
|
16
|
+
* rename message union and internal message ([25bd7a0](https://github.com/letta-ai/letta-node/commit/25bd7a0f12b29988e60dbe5640aff8133f015fef))
|
|
17
|
+
* revert model_settings ([6f9e60b](https://github.com/letta-ai/letta-node/commit/6f9e60b6a82e0f7e54a8b100d90a88a3053a45d1))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* api sync ([fce4f3a](https://github.com/letta-ai/letta-node/commit/fce4f3af9e6646cc9318cd122c2d1afdc9d16f7e))
|
|
23
|
+
* reorder stainless SDK ([7b390be](https://github.com/letta-ai/letta-node/commit/7b390be89c288ea33fdfcfbba6143590e58ebb14))
|
|
24
|
+
|
|
25
|
+
## 1.0.0-alpha.18 (2025-11-10)
|
|
26
|
+
|
|
27
|
+
Full Changelog: [v1.0.0-alpha.17...v1.0.0-alpha.18](https://github.com/letta-ai/letta-node/compare/v1.0.0-alpha.17...v1.0.0-alpha.18)
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add list support for query params in sdk ([3494a74](https://github.com/letta-ai/letta-node/commit/3494a746d05f9a5c24f912003ffafd667e3cbeca))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* prevent too many runs bug ([d4459ff](https://github.com/letta-ai/letta-node/commit/d4459ff324e183593c9a7a825ed1bd16faa6a903))
|
|
37
|
+
|
|
3
38
|
## 1.0.0-alpha.17 (2025-11-08)
|
|
4
39
|
|
|
5
40
|
Full Changelog: [v1.0.0-alpha.16...v1.0.0-alpha.17](https://github.com/letta-ai/letta-node/compare/v1.0.0-alpha.16...v1.0.0-alpha.17)
|
package/README.md
CHANGED
|
@@ -81,27 +81,17 @@ import Letta, { toFile } from '@letta-ai/letta-client';
|
|
|
81
81
|
const client = new Letta();
|
|
82
82
|
|
|
83
83
|
// If you have access to Node `fs` we recommend using `fs.createReadStream()`:
|
|
84
|
-
await client.
|
|
85
|
-
file: fs.createReadStream('/path/to/file'),
|
|
86
|
-
});
|
|
84
|
+
await client.agents.importFile({ file: fs.createReadStream('/path/to/file') });
|
|
87
85
|
|
|
88
86
|
// Or if you have the web `File` API you can pass a `File` instance:
|
|
89
|
-
await client.
|
|
90
|
-
file: new File(['my bytes'], 'file'),
|
|
91
|
-
});
|
|
87
|
+
await client.agents.importFile({ file: new File(['my bytes'], 'file') });
|
|
92
88
|
|
|
93
89
|
// You can also pass a `fetch` `Response`:
|
|
94
|
-
await client.
|
|
95
|
-
file: await fetch('https://somesite/file'),
|
|
96
|
-
});
|
|
90
|
+
await client.agents.importFile({ file: await fetch('https://somesite/file') });
|
|
97
91
|
|
|
98
92
|
// Finally, if none of the above are convenient, you can use our `toFile` helper:
|
|
99
|
-
await client.
|
|
100
|
-
|
|
101
|
-
});
|
|
102
|
-
await client.folders.files.upload('source-123e4567-e89b-42d3-8456-426614174000', {
|
|
103
|
-
file: await toFile(new Uint8Array([0, 1, 2]), 'file'),
|
|
104
|
-
});
|
|
93
|
+
await client.agents.importFile({ file: await toFile(Buffer.from('my bytes'), 'file') });
|
|
94
|
+
await client.agents.importFile({ file: await toFile(new Uint8Array([0, 1, 2]), 'file') });
|
|
105
95
|
```
|
|
106
96
|
|
|
107
97
|
## Handling errors
|
package/client.d.mts
CHANGED
|
@@ -10,10 +10,10 @@ import * as API from "./resources/index.mjs";
|
|
|
10
10
|
import * as TopLevelAPI from "./resources/top-level.mjs";
|
|
11
11
|
import { HealthResponse } from "./resources/top-level.mjs";
|
|
12
12
|
import { APIPromise } from "./core/api-promise.mjs";
|
|
13
|
-
import { Archive, ArchiveCreateParams, ArchiveListParams, ArchiveModifyParams, Archives, ArchivesArrayPage, VectorDBProvider } from "./resources/archives.mjs";
|
|
14
13
|
import { TagListParams, TagListResponse, Tags } from "./resources/tags.mjs";
|
|
15
14
|
import { NpmRequirement, PipRequirement, Tool, ToolCreate, ToolCreateParams, ToolDeleteResponse, ToolListParams, ToolModifyParams, ToolReturnMessage, ToolType, ToolUpsertBaseToolsResponse, ToolUpsertParams, Tools, ToolsArrayPage } from "./resources/tools.mjs";
|
|
16
|
-
import { AgentCreateParams, AgentDeleteResponse, AgentEnvironmentVariable, AgentExportFileParams, AgentExportFileResponse, AgentImportFileParams, AgentImportFileResponse, AgentListParams, AgentModifyParams, AgentRetrieveParams, AgentState, AgentStatesArrayPage, AgentType, Agents, ChildToolRule, ConditionalToolRule, ContinueToolRule, InitToolRule, JsonObjectResponseFormat, JsonSchemaResponseFormat, LettaMessageContentUnion, MaxCountPerStepToolRule, MessageCreate, ParentToolRule, RequiredBeforeExitToolRule, RequiresApprovalToolRule, TerminalToolRule, TextResponseFormat } from "./resources/agents/agents.mjs";
|
|
15
|
+
import { AgentCreateParams, AgentDeleteResponse, AgentEnvironmentVariable, AgentExportFileParams, AgentExportFileResponse, AgentImportFileParams, AgentImportFileResponse, AgentListParams, AgentModifyParams, AgentRetrieveParams, AgentState, AgentStatesArrayPage, AgentType, Agents, AnthropicModelSettings, AzureModelSettings, BedrockModelSettings, ChildToolRule, ConditionalToolRule, ContinueToolRule, DeepseekModelSettings, GoogleAIModelSettings, GoogleVertexModelSettings, GroqModelSettings, InitToolRule, JsonObjectResponseFormat, JsonSchemaResponseFormat, LettaMessageContentUnion, MaxCountPerStepToolRule, MessageCreate, OpenAIModelSettings, ParentToolRule, RequiredBeforeExitToolRule, RequiresApprovalToolRule, TerminalToolRule, TextResponseFormat, TogetherModelSettings, XaiModelSettings } from "./resources/agents/agents.mjs";
|
|
16
|
+
import { Archive, ArchiveCreateParams, ArchiveListParams, ArchiveModifyParams, Archives, ArchivesArrayPage, VectorDBProvider } from "./resources/archives/archives.mjs";
|
|
17
17
|
import { BatchCancelResponse, BatchCreateParams, BatchJob, BatchJobsArrayPage, BatchListParams, Batches } from "./resources/batches/batches.mjs";
|
|
18
18
|
import { BlockCreateParams, BlockDeleteResponse, BlockListParams, BlockModifyParams, BlockResponse, BlockResponsesArrayPage, Blocks, CreateBlock } from "./resources/blocks/blocks.mjs";
|
|
19
19
|
import { Folder, FolderCreateParams, FolderDeleteResponse, FolderListParams, FolderModifyParams, Folders, FoldersArrayPage } from "./resources/folders/folders.mjs";
|
|
@@ -37,7 +37,7 @@ export interface ClientOptions {
|
|
|
37
37
|
/**
|
|
38
38
|
* Defaults to process.env['LETTA_API_KEY'].
|
|
39
39
|
*/
|
|
40
|
-
apiKey?: string | undefined;
|
|
40
|
+
apiKey?: string | null | undefined;
|
|
41
41
|
projectID?: string | null | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Deprecated, please use project_id instead.
|
|
@@ -117,7 +117,7 @@ export interface ClientOptions {
|
|
|
117
117
|
*/
|
|
118
118
|
export declare class Letta {
|
|
119
119
|
#private;
|
|
120
|
-
apiKey: string;
|
|
120
|
+
apiKey: string | null;
|
|
121
121
|
projectID: string | null;
|
|
122
122
|
project: string | null;
|
|
123
123
|
baseURL: string;
|
|
@@ -132,7 +132,7 @@ export declare class Letta {
|
|
|
132
132
|
/**
|
|
133
133
|
* API Client for interfacing with the Letta API.
|
|
134
134
|
*
|
|
135
|
-
* @param {string | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ??
|
|
135
|
+
* @param {string | null | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ?? null]
|
|
136
136
|
* @param {string | null | undefined} [opts.projectID]
|
|
137
137
|
* @param {string | null | undefined} [opts.project]
|
|
138
138
|
* @param {Environment} [opts.environment=cloud] - Specifies the environment URL to use for the API.
|
|
@@ -150,7 +150,7 @@ export declare class Letta {
|
|
|
150
150
|
*/
|
|
151
151
|
withOptions(options: Partial<ClientOptions>): this;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Async health check endpoint.
|
|
154
154
|
*/
|
|
155
155
|
health(options?: RequestOptions): APIPromise<TopLevelAPI.HealthResponse>;
|
|
156
156
|
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
@@ -214,20 +214,20 @@ export declare class Letta {
|
|
|
214
214
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
215
215
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
216
216
|
static toFile: typeof Uploads.toFile;
|
|
217
|
-
|
|
217
|
+
agents: API.Agents;
|
|
218
218
|
tools: API.Tools;
|
|
219
|
+
blocks: API.Blocks;
|
|
220
|
+
archives: API.Archives;
|
|
219
221
|
folders: API.Folders;
|
|
220
|
-
agents: API.Agents;
|
|
221
|
-
groups: API.Groups;
|
|
222
|
-
identities: API.Identities;
|
|
223
222
|
models: API.Models;
|
|
224
|
-
|
|
223
|
+
mcpServers: API.McpServers;
|
|
225
224
|
runs: API.Runs;
|
|
226
225
|
steps: API.Steps;
|
|
226
|
+
templates: API.Templates;
|
|
227
227
|
tags: API.Tags;
|
|
228
|
+
identities: API.Identities;
|
|
229
|
+
groups: API.Groups;
|
|
228
230
|
batches: API.Batches;
|
|
229
|
-
templates: API.Templates;
|
|
230
|
-
mcpServers: API.McpServers;
|
|
231
231
|
}
|
|
232
232
|
export declare namespace Letta {
|
|
233
233
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -238,19 +238,19 @@ export declare namespace Letta {
|
|
|
238
238
|
export import NextFilesPage = Pagination.NextFilesPage;
|
|
239
239
|
export { type NextFilesPageParams as NextFilesPageParams, type NextFilesPageResponse as NextFilesPageResponse, };
|
|
240
240
|
export { type HealthResponse as HealthResponse };
|
|
241
|
-
export {
|
|
241
|
+
export { Agents as Agents, type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type AnthropicModelSettings as AnthropicModelSettings, type AzureModelSettings as AzureModelSettings, type BedrockModelSettings as BedrockModelSettings, type ChildToolRule as ChildToolRule, type ConditionalToolRule as ConditionalToolRule, type ContinueToolRule as ContinueToolRule, type DeepseekModelSettings as DeepseekModelSettings, type GoogleAIModelSettings as GoogleAIModelSettings, type GoogleVertexModelSettings as GoogleVertexModelSettings, type GroqModelSettings as GroqModelSettings, type InitToolRule as InitToolRule, type JsonObjectResponseFormat as JsonObjectResponseFormat, type JsonSchemaResponseFormat as JsonSchemaResponseFormat, type LettaMessageContentUnion as LettaMessageContentUnion, type MaxCountPerStepToolRule as MaxCountPerStepToolRule, type MessageCreate as MessageCreate, type OpenAIModelSettings as OpenAIModelSettings, type ParentToolRule as ParentToolRule, type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule, type RequiresApprovalToolRule as RequiresApprovalToolRule, type TerminalToolRule as TerminalToolRule, type TextResponseFormat as TextResponseFormat, type TogetherModelSettings as TogetherModelSettings, type XaiModelSettings as XaiModelSettings, type AgentDeleteResponse as AgentDeleteResponse, type AgentExportFileResponse as AgentExportFileResponse, type AgentImportFileResponse as AgentImportFileResponse, type AgentStatesArrayPage as AgentStatesArrayPage, type AgentCreateParams as AgentCreateParams, type AgentRetrieveParams as AgentRetrieveParams, type AgentListParams as AgentListParams, type AgentExportFileParams as AgentExportFileParams, type AgentImportFileParams as AgentImportFileParams, type AgentModifyParams as AgentModifyParams, };
|
|
242
242
|
export { Tools as Tools, type NpmRequirement as NpmRequirement, type PipRequirement as PipRequirement, type Tool as Tool, type ToolCreate as ToolCreate, type ToolReturnMessage as ToolReturnMessage, type ToolType as ToolType, type ToolDeleteResponse as ToolDeleteResponse, type ToolUpsertBaseToolsResponse as ToolUpsertBaseToolsResponse, type ToolsArrayPage as ToolsArrayPage, type ToolCreateParams as ToolCreateParams, type ToolListParams as ToolListParams, type ToolModifyParams as ToolModifyParams, type ToolUpsertParams as ToolUpsertParams, };
|
|
243
|
+
export { Blocks as Blocks, type BlockResponse as BlockResponse, type CreateBlock as CreateBlock, type BlockDeleteResponse as BlockDeleteResponse, type BlockResponsesArrayPage as BlockResponsesArrayPage, type BlockCreateParams as BlockCreateParams, type BlockListParams as BlockListParams, type BlockModifyParams as BlockModifyParams, };
|
|
244
|
+
export { Archives as Archives, type Archive as Archive, type VectorDBProvider as VectorDBProvider, type ArchivesArrayPage as ArchivesArrayPage, type ArchiveCreateParams as ArchiveCreateParams, type ArchiveListParams as ArchiveListParams, type ArchiveModifyParams as ArchiveModifyParams, };
|
|
243
245
|
export { Folders as Folders, type Folder as Folder, type FolderDeleteResponse as FolderDeleteResponse, type FoldersArrayPage as FoldersArrayPage, type FolderCreateParams as FolderCreateParams, type FolderListParams as FolderListParams, type FolderModifyParams as FolderModifyParams, };
|
|
244
|
-
export { Agents as Agents, type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type ChildToolRule as ChildToolRule, type ConditionalToolRule as ConditionalToolRule, type ContinueToolRule as ContinueToolRule, type InitToolRule as InitToolRule, type JsonObjectResponseFormat as JsonObjectResponseFormat, type JsonSchemaResponseFormat as JsonSchemaResponseFormat, type LettaMessageContentUnion as LettaMessageContentUnion, type MaxCountPerStepToolRule as MaxCountPerStepToolRule, type MessageCreate as MessageCreate, type ParentToolRule as ParentToolRule, type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule, type RequiresApprovalToolRule as RequiresApprovalToolRule, type TerminalToolRule as TerminalToolRule, type TextResponseFormat as TextResponseFormat, type AgentDeleteResponse as AgentDeleteResponse, type AgentExportFileResponse as AgentExportFileResponse, type AgentImportFileResponse as AgentImportFileResponse, type AgentStatesArrayPage as AgentStatesArrayPage, type AgentCreateParams as AgentCreateParams, type AgentRetrieveParams as AgentRetrieveParams, type AgentListParams as AgentListParams, type AgentExportFileParams as AgentExportFileParams, type AgentImportFileParams as AgentImportFileParams, type AgentModifyParams as AgentModifyParams, };
|
|
245
|
-
export { Groups as Groups, type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupDeleteResponse as GroupDeleteResponse, type GroupsArrayPage as GroupsArrayPage, type GroupCreateParams as GroupCreateParams, type GroupListParams as GroupListParams, type GroupModifyParams as GroupModifyParams, };
|
|
246
|
-
export { Identities as Identities, type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
247
246
|
export { Models as Models, type EmbeddingConfig as EmbeddingConfig, type EmbeddingModel as EmbeddingModel, type LlmConfig as LlmConfig, type Model as Model, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
|
|
248
|
-
export {
|
|
247
|
+
export { McpServers as McpServers, type CreateSseMcpServer as CreateSseMcpServer, type CreateStdioMcpServer as CreateStdioMcpServer, type CreateStreamableHTTPMcpServer as CreateStreamableHTTPMcpServer, type McpToolExecuteRequest as McpToolExecuteRequest, type SseMcpServer as SseMcpServer, type StdioMcpServer as StdioMcpServer, type StreamableHTTPMcpServer as StreamableHTTPMcpServer, type ToolExecutionResult as ToolExecutionResult, type UpdateSseMcpServer as UpdateSseMcpServer, type UpdateStdioMcpServer as UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer as UpdateStreamableHTTPMcpServer, type McpServerCreateResponse as McpServerCreateResponse, type McpServerRetrieveResponse as McpServerRetrieveResponse, type McpServerListResponse as McpServerListResponse, type McpServerConnectResponse as McpServerConnectResponse, type McpServerModifyResponse as McpServerModifyResponse, type McpServerRefreshResponse as McpServerRefreshResponse, type McpServerCreateParams as McpServerCreateParams, type McpServerModifyParams as McpServerModifyParams, type McpServerRefreshParams as McpServerRefreshParams, };
|
|
249
248
|
export { Runs as Runs, type Job as Job, type StopReasonType as StopReasonType, type RunListParams as RunListParams, };
|
|
250
249
|
export { Steps as Steps, type ProviderTrace as ProviderTrace, type Step as Step, type StepsArrayPage as StepsArrayPage, type StepListParams as StepListParams, };
|
|
250
|
+
export { Templates as Templates };
|
|
251
251
|
export { Tags as Tags, type TagListResponse as TagListResponse, type TagListParams as TagListParams };
|
|
252
|
+
export { Identities as Identities, type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
253
|
+
export { Groups as Groups, type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupDeleteResponse as GroupDeleteResponse, type GroupsArrayPage as GroupsArrayPage, type GroupCreateParams as GroupCreateParams, type GroupListParams as GroupListParams, type GroupModifyParams as GroupModifyParams, };
|
|
252
254
|
export { Batches as Batches, type BatchJob as BatchJob, type BatchCancelResponse as BatchCancelResponse, type BatchJobsArrayPage as BatchJobsArrayPage, type BatchCreateParams as BatchCreateParams, type BatchListParams as BatchListParams, };
|
|
253
|
-
export { Templates as Templates };
|
|
254
|
-
export { McpServers as McpServers, type CreateSseMcpServer as CreateSseMcpServer, type CreateStdioMcpServer as CreateStdioMcpServer, type CreateStreamableHTTPMcpServer as CreateStreamableHTTPMcpServer, type McpToolExecuteRequest as McpToolExecuteRequest, type SseMcpServer as SseMcpServer, type StdioMcpServer as StdioMcpServer, type StreamableHTTPMcpServer as StreamableHTTPMcpServer, type ToolExecutionResult as ToolExecutionResult, type UpdateSseMcpServer as UpdateSseMcpServer, type UpdateStdioMcpServer as UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer as UpdateStreamableHTTPMcpServer, type McpServerCreateResponse as McpServerCreateResponse, type McpServerRetrieveResponse as McpServerRetrieveResponse, type McpServerListResponse as McpServerListResponse, type McpServerConnectResponse as McpServerConnectResponse, type McpServerModifyResponse as McpServerModifyResponse, type McpServerRefreshResponse as McpServerRefreshResponse, type McpServerCreateParams as McpServerCreateParams, type McpServerModifyParams as McpServerModifyParams, type McpServerRefreshParams as McpServerRefreshParams, };
|
|
255
255
|
}
|
|
256
256
|
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MA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BAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAEL,KAAK,eAAe,EACpB,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,kBAAkB,EACnB;OACM,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,KAAK,WAAW;OAChB,EAAE,cAAc,EAAE;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE;OACxC,EACL,cAAc,EACd,cAAc,EACd,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,gBAAgB,EAChB,KAAK,EACL,cAAc,EACf;OACM,EACL,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,SAAS,EACT,MAAM,EACN,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd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,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
package/client.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ import * as API from "./resources/index.js";
|
|
|
10
10
|
import * as TopLevelAPI from "./resources/top-level.js";
|
|
11
11
|
import { HealthResponse } from "./resources/top-level.js";
|
|
12
12
|
import { APIPromise } from "./core/api-promise.js";
|
|
13
|
-
import { Archive, ArchiveCreateParams, ArchiveListParams, ArchiveModifyParams, Archives, ArchivesArrayPage, VectorDBProvider } from "./resources/archives.js";
|
|
14
13
|
import { TagListParams, TagListResponse, Tags } from "./resources/tags.js";
|
|
15
14
|
import { NpmRequirement, PipRequirement, Tool, ToolCreate, ToolCreateParams, ToolDeleteResponse, ToolListParams, ToolModifyParams, ToolReturnMessage, ToolType, ToolUpsertBaseToolsResponse, ToolUpsertParams, Tools, ToolsArrayPage } from "./resources/tools.js";
|
|
16
|
-
import { AgentCreateParams, AgentDeleteResponse, AgentEnvironmentVariable, AgentExportFileParams, AgentExportFileResponse, AgentImportFileParams, AgentImportFileResponse, AgentListParams, AgentModifyParams, AgentRetrieveParams, AgentState, AgentStatesArrayPage, AgentType, Agents, ChildToolRule, ConditionalToolRule, ContinueToolRule, InitToolRule, JsonObjectResponseFormat, JsonSchemaResponseFormat, LettaMessageContentUnion, MaxCountPerStepToolRule, MessageCreate, ParentToolRule, RequiredBeforeExitToolRule, RequiresApprovalToolRule, TerminalToolRule, TextResponseFormat } from "./resources/agents/agents.js";
|
|
15
|
+
import { AgentCreateParams, AgentDeleteResponse, AgentEnvironmentVariable, AgentExportFileParams, AgentExportFileResponse, AgentImportFileParams, AgentImportFileResponse, AgentListParams, AgentModifyParams, AgentRetrieveParams, AgentState, AgentStatesArrayPage, AgentType, Agents, AnthropicModelSettings, AzureModelSettings, BedrockModelSettings, ChildToolRule, ConditionalToolRule, ContinueToolRule, DeepseekModelSettings, GoogleAIModelSettings, GoogleVertexModelSettings, GroqModelSettings, InitToolRule, JsonObjectResponseFormat, JsonSchemaResponseFormat, LettaMessageContentUnion, MaxCountPerStepToolRule, MessageCreate, OpenAIModelSettings, ParentToolRule, RequiredBeforeExitToolRule, RequiresApprovalToolRule, TerminalToolRule, TextResponseFormat, TogetherModelSettings, XaiModelSettings } from "./resources/agents/agents.js";
|
|
16
|
+
import { Archive, ArchiveCreateParams, ArchiveListParams, ArchiveModifyParams, Archives, ArchivesArrayPage, VectorDBProvider } from "./resources/archives/archives.js";
|
|
17
17
|
import { BatchCancelResponse, BatchCreateParams, BatchJob, BatchJobsArrayPage, BatchListParams, Batches } from "./resources/batches/batches.js";
|
|
18
18
|
import { BlockCreateParams, BlockDeleteResponse, BlockListParams, BlockModifyParams, BlockResponse, BlockResponsesArrayPage, Blocks, CreateBlock } from "./resources/blocks/blocks.js";
|
|
19
19
|
import { Folder, FolderCreateParams, FolderDeleteResponse, FolderListParams, FolderModifyParams, Folders, FoldersArrayPage } from "./resources/folders/folders.js";
|
|
@@ -37,7 +37,7 @@ export interface ClientOptions {
|
|
|
37
37
|
/**
|
|
38
38
|
* Defaults to process.env['LETTA_API_KEY'].
|
|
39
39
|
*/
|
|
40
|
-
apiKey?: string | undefined;
|
|
40
|
+
apiKey?: string | null | undefined;
|
|
41
41
|
projectID?: string | null | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Deprecated, please use project_id instead.
|
|
@@ -117,7 +117,7 @@ export interface ClientOptions {
|
|
|
117
117
|
*/
|
|
118
118
|
export declare class Letta {
|
|
119
119
|
#private;
|
|
120
|
-
apiKey: string;
|
|
120
|
+
apiKey: string | null;
|
|
121
121
|
projectID: string | null;
|
|
122
122
|
project: string | null;
|
|
123
123
|
baseURL: string;
|
|
@@ -132,7 +132,7 @@ export declare class Letta {
|
|
|
132
132
|
/**
|
|
133
133
|
* API Client for interfacing with the Letta API.
|
|
134
134
|
*
|
|
135
|
-
* @param {string | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ??
|
|
135
|
+
* @param {string | null | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ?? null]
|
|
136
136
|
* @param {string | null | undefined} [opts.projectID]
|
|
137
137
|
* @param {string | null | undefined} [opts.project]
|
|
138
138
|
* @param {Environment} [opts.environment=cloud] - Specifies the environment URL to use for the API.
|
|
@@ -150,7 +150,7 @@ export declare class Letta {
|
|
|
150
150
|
*/
|
|
151
151
|
withOptions(options: Partial<ClientOptions>): this;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Async health check endpoint.
|
|
154
154
|
*/
|
|
155
155
|
health(options?: RequestOptions): APIPromise<TopLevelAPI.HealthResponse>;
|
|
156
156
|
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
@@ -214,20 +214,20 @@ export declare class Letta {
|
|
|
214
214
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
215
215
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
216
216
|
static toFile: typeof Uploads.toFile;
|
|
217
|
-
|
|
217
|
+
agents: API.Agents;
|
|
218
218
|
tools: API.Tools;
|
|
219
|
+
blocks: API.Blocks;
|
|
220
|
+
archives: API.Archives;
|
|
219
221
|
folders: API.Folders;
|
|
220
|
-
agents: API.Agents;
|
|
221
|
-
groups: API.Groups;
|
|
222
|
-
identities: API.Identities;
|
|
223
222
|
models: API.Models;
|
|
224
|
-
|
|
223
|
+
mcpServers: API.McpServers;
|
|
225
224
|
runs: API.Runs;
|
|
226
225
|
steps: API.Steps;
|
|
226
|
+
templates: API.Templates;
|
|
227
227
|
tags: API.Tags;
|
|
228
|
+
identities: API.Identities;
|
|
229
|
+
groups: API.Groups;
|
|
228
230
|
batches: API.Batches;
|
|
229
|
-
templates: API.Templates;
|
|
230
|
-
mcpServers: API.McpServers;
|
|
231
231
|
}
|
|
232
232
|
export declare namespace Letta {
|
|
233
233
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -238,19 +238,19 @@ export declare namespace Letta {
|
|
|
238
238
|
export import NextFilesPage = Pagination.NextFilesPage;
|
|
239
239
|
export { type NextFilesPageParams as NextFilesPageParams, type NextFilesPageResponse as NextFilesPageResponse, };
|
|
240
240
|
export { type HealthResponse as HealthResponse };
|
|
241
|
-
export {
|
|
241
|
+
export { Agents as Agents, type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type AnthropicModelSettings as AnthropicModelSettings, type AzureModelSettings as AzureModelSettings, type BedrockModelSettings as BedrockModelSettings, type ChildToolRule as ChildToolRule, type ConditionalToolRule as ConditionalToolRule, type ContinueToolRule as ContinueToolRule, type DeepseekModelSettings as DeepseekModelSettings, type GoogleAIModelSettings as GoogleAIModelSettings, type GoogleVertexModelSettings as GoogleVertexModelSettings, type GroqModelSettings as GroqModelSettings, type InitToolRule as InitToolRule, type JsonObjectResponseFormat as JsonObjectResponseFormat, type JsonSchemaResponseFormat as JsonSchemaResponseFormat, type LettaMessageContentUnion as LettaMessageContentUnion, type MaxCountPerStepToolRule as MaxCountPerStepToolRule, type MessageCreate as MessageCreate, type OpenAIModelSettings as OpenAIModelSettings, type ParentToolRule as ParentToolRule, type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule, type RequiresApprovalToolRule as RequiresApprovalToolRule, type TerminalToolRule as TerminalToolRule, type TextResponseFormat as TextResponseFormat, type TogetherModelSettings as TogetherModelSettings, type XaiModelSettings as XaiModelSettings, type AgentDeleteResponse as AgentDeleteResponse, type AgentExportFileResponse as AgentExportFileResponse, type AgentImportFileResponse as AgentImportFileResponse, type AgentStatesArrayPage as AgentStatesArrayPage, type AgentCreateParams as AgentCreateParams, type AgentRetrieveParams as AgentRetrieveParams, type AgentListParams as AgentListParams, type AgentExportFileParams as AgentExportFileParams, type AgentImportFileParams as AgentImportFileParams, type AgentModifyParams as AgentModifyParams, };
|
|
242
242
|
export { Tools as Tools, type NpmRequirement as NpmRequirement, type PipRequirement as PipRequirement, type Tool as Tool, type ToolCreate as ToolCreate, type ToolReturnMessage as ToolReturnMessage, type ToolType as ToolType, type ToolDeleteResponse as ToolDeleteResponse, type ToolUpsertBaseToolsResponse as ToolUpsertBaseToolsResponse, type ToolsArrayPage as ToolsArrayPage, type ToolCreateParams as ToolCreateParams, type ToolListParams as ToolListParams, type ToolModifyParams as ToolModifyParams, type ToolUpsertParams as ToolUpsertParams, };
|
|
243
|
+
export { Blocks as Blocks, type BlockResponse as BlockResponse, type CreateBlock as CreateBlock, type BlockDeleteResponse as BlockDeleteResponse, type BlockResponsesArrayPage as BlockResponsesArrayPage, type BlockCreateParams as BlockCreateParams, type BlockListParams as BlockListParams, type BlockModifyParams as BlockModifyParams, };
|
|
244
|
+
export { Archives as Archives, type Archive as Archive, type VectorDBProvider as VectorDBProvider, type ArchivesArrayPage as ArchivesArrayPage, type ArchiveCreateParams as ArchiveCreateParams, type ArchiveListParams as ArchiveListParams, type ArchiveModifyParams as ArchiveModifyParams, };
|
|
243
245
|
export { Folders as Folders, type Folder as Folder, type FolderDeleteResponse as FolderDeleteResponse, type FoldersArrayPage as FoldersArrayPage, type FolderCreateParams as FolderCreateParams, type FolderListParams as FolderListParams, type FolderModifyParams as FolderModifyParams, };
|
|
244
|
-
export { Agents as Agents, type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type ChildToolRule as ChildToolRule, type ConditionalToolRule as ConditionalToolRule, type ContinueToolRule as ContinueToolRule, type InitToolRule as InitToolRule, type JsonObjectResponseFormat as JsonObjectResponseFormat, type JsonSchemaResponseFormat as JsonSchemaResponseFormat, type LettaMessageContentUnion as LettaMessageContentUnion, type MaxCountPerStepToolRule as MaxCountPerStepToolRule, type MessageCreate as MessageCreate, type ParentToolRule as ParentToolRule, type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule, type RequiresApprovalToolRule as RequiresApprovalToolRule, type TerminalToolRule as TerminalToolRule, type TextResponseFormat as TextResponseFormat, type AgentDeleteResponse as AgentDeleteResponse, type AgentExportFileResponse as AgentExportFileResponse, type AgentImportFileResponse as AgentImportFileResponse, type AgentStatesArrayPage as AgentStatesArrayPage, type AgentCreateParams as AgentCreateParams, type AgentRetrieveParams as AgentRetrieveParams, type AgentListParams as AgentListParams, type AgentExportFileParams as AgentExportFileParams, type AgentImportFileParams as AgentImportFileParams, type AgentModifyParams as AgentModifyParams, };
|
|
245
|
-
export { Groups as Groups, type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupDeleteResponse as GroupDeleteResponse, type GroupsArrayPage as GroupsArrayPage, type GroupCreateParams as GroupCreateParams, type GroupListParams as GroupListParams, type GroupModifyParams as GroupModifyParams, };
|
|
246
|
-
export { Identities as Identities, type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
247
246
|
export { Models as Models, type EmbeddingConfig as EmbeddingConfig, type EmbeddingModel as EmbeddingModel, type LlmConfig as LlmConfig, type Model as Model, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
|
|
248
|
-
export {
|
|
247
|
+
export { McpServers as McpServers, type CreateSseMcpServer as CreateSseMcpServer, type CreateStdioMcpServer as CreateStdioMcpServer, type CreateStreamableHTTPMcpServer as CreateStreamableHTTPMcpServer, type McpToolExecuteRequest as McpToolExecuteRequest, type SseMcpServer as SseMcpServer, type StdioMcpServer as StdioMcpServer, type StreamableHTTPMcpServer as StreamableHTTPMcpServer, type ToolExecutionResult as ToolExecutionResult, type UpdateSseMcpServer as UpdateSseMcpServer, type UpdateStdioMcpServer as UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer as UpdateStreamableHTTPMcpServer, type McpServerCreateResponse as McpServerCreateResponse, type McpServerRetrieveResponse as McpServerRetrieveResponse, type McpServerListResponse as McpServerListResponse, type McpServerConnectResponse as McpServerConnectResponse, type McpServerModifyResponse as McpServerModifyResponse, type McpServerRefreshResponse as McpServerRefreshResponse, type McpServerCreateParams as McpServerCreateParams, type McpServerModifyParams as McpServerModifyParams, type McpServerRefreshParams as McpServerRefreshParams, };
|
|
249
248
|
export { Runs as Runs, type Job as Job, type StopReasonType as StopReasonType, type RunListParams as RunListParams, };
|
|
250
249
|
export { Steps as Steps, type ProviderTrace as ProviderTrace, type Step as Step, type StepsArrayPage as StepsArrayPage, type StepListParams as StepListParams, };
|
|
250
|
+
export { Templates as Templates };
|
|
251
251
|
export { Tags as Tags, type TagListResponse as TagListResponse, type TagListParams as TagListParams };
|
|
252
|
+
export { Identities as Identities, type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
253
|
+
export { Groups as Groups, type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupDeleteResponse as GroupDeleteResponse, type GroupsArrayPage as GroupsArrayPage, type GroupCreateParams as GroupCreateParams, type GroupListParams as GroupListParams, type GroupModifyParams as GroupModifyParams, };
|
|
252
254
|
export { Batches as Batches, type BatchJob as BatchJob, type BatchCancelResponse as BatchCancelResponse, type BatchJobsArrayPage as BatchJobsArrayPage, type BatchCreateParams as BatchCreateParams, type BatchListParams as BatchListParams, };
|
|
253
|
-
export { Templates as Templates };
|
|
254
|
-
export { McpServers as McpServers, type CreateSseMcpServer as CreateSseMcpServer, type CreateStdioMcpServer as CreateStdioMcpServer, type CreateStreamableHTTPMcpServer as CreateStreamableHTTPMcpServer, type McpToolExecuteRequest as McpToolExecuteRequest, type SseMcpServer as SseMcpServer, type StdioMcpServer as StdioMcpServer, type StreamableHTTPMcpServer as StreamableHTTPMcpServer, type ToolExecutionResult as ToolExecutionResult, type UpdateSseMcpServer as UpdateSseMcpServer, type UpdateStdioMcpServer as UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer as UpdateStreamableHTTPMcpServer, type McpServerCreateResponse as McpServerCreateResponse, type McpServerRetrieveResponse as McpServerRetrieveResponse, type McpServerListResponse as McpServerListResponse, type McpServerConnectResponse as McpServerConnectResponse, type McpServerModifyResponse as McpServerModifyResponse, type McpServerRefreshResponse as McpServerRefreshResponse, type McpServerCreateParams as McpServerCreateParams, type McpServerModifyParams as McpServerModifyParams, type McpServerRefreshParams as McpServerRefreshParams, };
|
|
255
255
|
}
|
|
256
256
|
//# sourceMappingURL=client.d.ts.map
|
package/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAEL,KAAK,eAAe,EACpB,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,kBAAkB,EACnB;OACM,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,KAAK,WAAW;OAChB,EAAE,cAAc,EAAE;OAClB,EAAE,UAAU,EAAE;OACd,EACL,OAAO,EACP,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EACjB;OACM,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE;OACxC,EACL,cAAc,EACd,cAAc,EACd,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,gBAAgB,EAChB,KAAK,EACL,cAAc,EACf;OACM,EACL,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB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,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
package/client.js
CHANGED
|
@@ -18,10 +18,10 @@ const Pagination = tslib_1.__importStar(require("./core/pagination.js"));
|
|
|
18
18
|
const Uploads = tslib_1.__importStar(require("./core/uploads.js"));
|
|
19
19
|
const API = tslib_1.__importStar(require("./resources/index.js"));
|
|
20
20
|
const api_promise_1 = require("./core/api-promise.js");
|
|
21
|
-
const archives_1 = require("./resources/archives.js");
|
|
22
21
|
const tags_1 = require("./resources/tags.js");
|
|
23
22
|
const tools_1 = require("./resources/tools.js");
|
|
24
23
|
const agents_1 = require("./resources/agents/agents.js");
|
|
24
|
+
const archives_1 = require("./resources/archives/archives.js");
|
|
25
25
|
const batches_1 = require("./resources/batches/batches.js");
|
|
26
26
|
const blocks_1 = require("./resources/blocks/blocks.js");
|
|
27
27
|
const folders_1 = require("./resources/folders/folders.js");
|
|
@@ -47,7 +47,7 @@ class Letta {
|
|
|
47
47
|
/**
|
|
48
48
|
* API Client for interfacing with the Letta API.
|
|
49
49
|
*
|
|
50
|
-
* @param {string | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ??
|
|
50
|
+
* @param {string | null | undefined} [opts.apiKey=process.env['LETTA_API_KEY'] ?? null]
|
|
51
51
|
* @param {string | null | undefined} [opts.projectID]
|
|
52
52
|
* @param {string | null | undefined} [opts.project]
|
|
53
53
|
* @param {Environment} [opts.environment=cloud] - Specifies the environment URL to use for the API.
|
|
@@ -59,26 +59,23 @@ class Letta {
|
|
|
59
59
|
* @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
|
|
60
60
|
* @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
|
|
61
61
|
*/
|
|
62
|
-
constructor({ baseURL = (0, env_1.readEnv)('LETTA_BASE_URL'), apiKey = (0, env_1.readEnv)('LETTA_API_KEY'), projectID = null, project = null, ...opts } = {}) {
|
|
62
|
+
constructor({ baseURL = (0, env_1.readEnv)('LETTA_BASE_URL'), apiKey = (0, env_1.readEnv)('LETTA_API_KEY') ?? null, projectID = null, project = null, ...opts } = {}) {
|
|
63
63
|
_Letta_instances.add(this);
|
|
64
64
|
_Letta_encoder.set(this, void 0);
|
|
65
|
-
this.
|
|
65
|
+
this.agents = new API.Agents(this);
|
|
66
66
|
this.tools = new API.Tools(this);
|
|
67
|
+
this.blocks = new API.Blocks(this);
|
|
68
|
+
this.archives = new API.Archives(this);
|
|
67
69
|
this.folders = new API.Folders(this);
|
|
68
|
-
this.agents = new API.Agents(this);
|
|
69
|
-
this.groups = new API.Groups(this);
|
|
70
|
-
this.identities = new API.Identities(this);
|
|
71
70
|
this.models = new API.Models(this);
|
|
72
|
-
this.
|
|
71
|
+
this.mcpServers = new API.McpServers(this);
|
|
73
72
|
this.runs = new API.Runs(this);
|
|
74
73
|
this.steps = new API.Steps(this);
|
|
74
|
+
this.templates = new API.Templates(this);
|
|
75
75
|
this.tags = new API.Tags(this);
|
|
76
|
+
this.identities = new API.Identities(this);
|
|
77
|
+
this.groups = new API.Groups(this);
|
|
76
78
|
this.batches = new API.Batches(this);
|
|
77
|
-
this.templates = new API.Templates(this);
|
|
78
|
-
this.mcpServers = new API.McpServers(this);
|
|
79
|
-
if (apiKey === undefined) {
|
|
80
|
-
throw new Errors.LettaError("The LETTA_API_KEY environment variable is missing or empty; either provide it, or instantiate the Letta client with an apiKey option, like new Letta({ apiKey: 'My API Key' }).");
|
|
81
|
-
}
|
|
82
79
|
const options = {
|
|
83
80
|
apiKey,
|
|
84
81
|
projectID,
|
|
@@ -131,7 +128,7 @@ class Letta {
|
|
|
131
128
|
return client;
|
|
132
129
|
}
|
|
133
130
|
/**
|
|
134
|
-
*
|
|
131
|
+
* Async health check endpoint.
|
|
135
132
|
*/
|
|
136
133
|
health(options) {
|
|
137
134
|
return this.get('/v1/health/', options);
|
|
@@ -140,13 +137,22 @@ class Letta {
|
|
|
140
137
|
return this._options.defaultQuery;
|
|
141
138
|
}
|
|
142
139
|
validateHeaders({ values, nulls }) {
|
|
143
|
-
|
|
140
|
+
if (this.apiKey && values.get('authorization')) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
if (nulls.has('authorization')) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
throw new Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "Authorization" headers to be explicitly omitted');
|
|
144
147
|
}
|
|
145
148
|
async authHeaders(opts) {
|
|
149
|
+
if (this.apiKey == null) {
|
|
150
|
+
return undefined;
|
|
151
|
+
}
|
|
146
152
|
return (0, headers_1.buildHeaders)([{ Authorization: `Bearer ${this.apiKey}` }]);
|
|
147
153
|
}
|
|
148
154
|
stringifyQuery(query) {
|
|
149
|
-
return qs.stringify(query, { arrayFormat: '
|
|
155
|
+
return qs.stringify(query, { allowDots: true, arrayFormat: 'repeat' });
|
|
150
156
|
}
|
|
151
157
|
getUserAgent() {
|
|
152
158
|
return `${this.constructor.name}/JS ${version_1.VERSION}`;
|
|
@@ -504,18 +510,18 @@ Letta.InternalServerError = Errors.InternalServerError;
|
|
|
504
510
|
Letta.PermissionDeniedError = Errors.PermissionDeniedError;
|
|
505
511
|
Letta.UnprocessableEntityError = Errors.UnprocessableEntityError;
|
|
506
512
|
Letta.toFile = Uploads.toFile;
|
|
507
|
-
Letta.
|
|
513
|
+
Letta.Agents = agents_1.Agents;
|
|
508
514
|
Letta.Tools = tools_1.Tools;
|
|
515
|
+
Letta.Blocks = blocks_1.Blocks;
|
|
516
|
+
Letta.Archives = archives_1.Archives;
|
|
509
517
|
Letta.Folders = folders_1.Folders;
|
|
510
|
-
Letta.Agents = agents_1.Agents;
|
|
511
|
-
Letta.Groups = groups_1.Groups;
|
|
512
|
-
Letta.Identities = identities_1.Identities;
|
|
513
518
|
Letta.Models = models_1.Models;
|
|
514
|
-
Letta.
|
|
519
|
+
Letta.McpServers = mcp_servers_1.McpServers;
|
|
515
520
|
Letta.Runs = runs_1.Runs;
|
|
516
521
|
Letta.Steps = steps_1.Steps;
|
|
522
|
+
Letta.Templates = templates_1.Templates;
|
|
517
523
|
Letta.Tags = tags_1.Tags;
|
|
524
|
+
Letta.Identities = identities_1.Identities;
|
|
525
|
+
Letta.Groups = groups_1.Groups;
|
|
518
526
|
Letta.Batches = batches_1.Batches;
|
|
519
|
-
Letta.Templates = templates_1.Templates;
|
|
520
|
-
Letta.McpServers = mcp_servers_1.McpServers;
|
|
521
527
|
//# sourceMappingURL=client.js.map
|