@letta-ai/letta-client 0.1.106 → 0.1.107
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 +9 -9
- 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.js +6 -6
- 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 +4 -4
- package/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -1
- package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +7 -0
- package/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +9 -0
- package/api/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/api/resources/agents/resources/templates/types/index.js +1 -0
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +5 -5
- 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/embeddings/client/Client.d.ts +6 -2
- package/api/resources/embeddings/client/Client.js +33 -10
- package/api/resources/groups/client/Client.js +5 -5
- 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/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +4 -4
- 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 +3 -3
- package/api/resources/tags/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.js +17 -17
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentType.d.ts +3 -1
- package/api/types/AgentType.js +2 -0
- package/api/types/LocalSandboxConfig.d.ts +2 -2
- package/api/types/Message.d.ts +9 -4
- package/api/types/ToolType.d.ts +2 -1
- package/api/types/ToolType.js +1 -0
- package/dist/api/resources/agents/client/Client.js +9 -9
- 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.js +6 -6
- 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 +4 -4
- package/dist/api/resources/agents/resources/templates/client/requests/TemplatesCreateVersionRequest.d.ts +2 -1
- package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +7 -0
- package/dist/api/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +9 -0
- package/dist/api/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/dist/api/resources/agents/resources/templates/types/index.js +1 -0
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +5 -5
- 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/embeddings/client/Client.d.ts +6 -2
- package/dist/api/resources/embeddings/client/Client.js +33 -10
- package/dist/api/resources/groups/client/Client.js +5 -5
- 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/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +4 -4
- 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 +3 -3
- package/dist/api/resources/tags/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.js +17 -17
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentType.d.ts +3 -1
- package/dist/api/types/AgentType.js +2 -0
- package/dist/api/types/LocalSandboxConfig.d.ts +2 -2
- package/dist/api/types/Message.d.ts +9 -4
- package/dist/api/types/ToolType.d.ts +2 -1
- package/dist/api/types/ToolType.js +1 -0
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +10 -0
- package/dist/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +41 -0
- package/dist/serialization/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/dist/serialization/resources/agents/resources/templates/types/index.js +1 -0
- package/dist/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.d.ts +9 -0
- package/dist/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.js +41 -0
- package/dist/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/client/index.js +37 -0
- package/dist/serialization/resources/embeddings/index.d.ts +1 -0
- package/dist/serialization/resources/embeddings/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/types/AgentType.d.ts +1 -1
- package/dist/serialization/types/AgentType.js +7 -1
- package/dist/serialization/types/LocalSandboxConfig.d.ts +1 -1
- package/dist/serialization/types/LocalSandboxConfig.js +1 -1
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +17 -2
- package/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.d.ts +10 -0
- package/serialization/resources/agents/resources/templates/types/TemplatesCreateVersionRequestReturnAgentState.js +41 -0
- package/serialization/resources/agents/resources/templates/types/index.d.ts +1 -0
- package/serialization/resources/agents/resources/templates/types/index.js +1 -0
- package/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.d.ts +9 -0
- package/serialization/resources/embeddings/client/getEmbeddingsTotalStorageSize.js +41 -0
- package/serialization/resources/embeddings/client/index.d.ts +1 -0
- package/serialization/resources/embeddings/client/index.js +37 -0
- package/serialization/resources/embeddings/index.d.ts +1 -0
- package/serialization/resources/embeddings/index.js +17 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/types/AgentType.d.ts +1 -1
- package/serialization/types/AgentType.js +7 -1
- package/serialization/types/LocalSandboxConfig.d.ts +1 -1
- package/serialization/types/LocalSandboxConfig.js +1 -1
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
39
|
+
exports.embeddings = exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
40
40
|
exports.tools = __importStar(require("./tools"));
|
|
41
41
|
__exportStar(require("./tools/types"), exports);
|
|
42
42
|
exports.agents = __importStar(require("./agents"));
|
|
@@ -62,6 +62,7 @@ exports.runs = __importStar(require("./runs"));
|
|
|
62
62
|
exports.steps = __importStar(require("./steps"));
|
|
63
63
|
exports.tags = __importStar(require("./tags"));
|
|
64
64
|
exports.batches = __importStar(require("./batches"));
|
|
65
|
+
exports.embeddings = __importStar(require("./embeddings"));
|
|
65
66
|
__exportStar(require("./tools/client/requests"), exports);
|
|
66
67
|
__exportStar(require("./sources/client/requests"), exports);
|
|
67
68
|
__exportStar(require("./agents/client/requests"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
|
|
8
8
|
export declare namespace AgentType {
|
|
9
|
-
type Raw = "memgpt_agent" | "split_thread_agent" | "sleeptime_agent";
|
|
9
|
+
type Raw = "memgpt_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
10
|
}
|
|
@@ -38,4 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AgentType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AgentType = core.serialization.enum_([
|
|
41
|
+
exports.AgentType = core.serialization.enum_([
|
|
42
|
+
"memgpt_agent",
|
|
43
|
+
"split_thread_agent",
|
|
44
|
+
"sleeptime_agent",
|
|
45
|
+
"voice_convo_agent",
|
|
46
|
+
"voice_sleeptime_agent",
|
|
47
|
+
]);
|
|
@@ -9,7 +9,7 @@ export declare const LocalSandboxConfig: core.serialization.ObjectSchema<seriali
|
|
|
9
9
|
export declare namespace LocalSandboxConfig {
|
|
10
10
|
interface Raw {
|
|
11
11
|
sandbox_dir?: string | null;
|
|
12
|
-
|
|
12
|
+
use_venv?: boolean | null;
|
|
13
13
|
venv_name?: string | null;
|
|
14
14
|
pip_requirements?: PipRequirement.Raw[] | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const PipRequirement_1 = require("./PipRequirement");
|
|
42
42
|
exports.LocalSandboxConfig = core.serialization.object({
|
|
43
43
|
sandboxDir: core.serialization.property("sandbox_dir", core.serialization.string().optional()),
|
|
44
|
-
|
|
44
|
+
useVenv: core.serialization.property("use_venv", core.serialization.boolean().optional()),
|
|
45
45
|
venvName: core.serialization.property("venv_name", core.serialization.string().optional()),
|
|
46
46
|
pipRequirements: core.serialization.property("pip_requirements", core.serialization.list(PipRequirement_1.PipRequirement).optional()),
|
|
47
47
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ToolType: core.serialization.Schema<serializers.ToolType.Raw, Letta.ToolType>;
|
|
8
8
|
export declare namespace ToolType {
|
|
9
|
-
type Raw = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "external_composio" | "external_langchain" | "external_mcp";
|
|
9
|
+
type Raw = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "external_composio" | "external_langchain" | "external_mcp";
|
|
10
10
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.107";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4546,10 +4546,25 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4546
4546
|
|
|
4547
4547
|
## Embeddings
|
|
4548
4548
|
|
|
4549
|
-
<details><summary><code>client.embeddings.<a href="/src/api/resources/embeddings/client/Client.ts">
|
|
4549
|
+
<details><summary><code>client.embeddings.<a href="/src/api/resources/embeddings/client/Client.ts">getEmbeddingsTotalStorageSize</a>() -> number</code></summary>
|
|
4550
4550
|
<dl>
|
|
4551
4551
|
<dd>
|
|
4552
4552
|
|
|
4553
|
+
#### 📝 Description
|
|
4554
|
+
|
|
4555
|
+
<dl>
|
|
4556
|
+
<dd>
|
|
4557
|
+
|
|
4558
|
+
<dl>
|
|
4559
|
+
<dd>
|
|
4560
|
+
|
|
4561
|
+
Get the total size of all embeddings in the database for a user in the storage unit given.
|
|
4562
|
+
|
|
4563
|
+
</dd>
|
|
4564
|
+
</dl>
|
|
4565
|
+
</dd>
|
|
4566
|
+
</dl>
|
|
4567
|
+
|
|
4553
4568
|
#### 🔌 Usage
|
|
4554
4569
|
|
|
4555
4570
|
<dl>
|
|
@@ -4559,7 +4574,7 @@ await client.voice.createVoiceChatCompletions("agent_id", {
|
|
|
4559
4574
|
<dd>
|
|
4560
4575
|
|
|
4561
4576
|
```typescript
|
|
4562
|
-
await client.embeddings.
|
|
4577
|
+
await client.embeddings.getEmbeddingsTotalStorageSize();
|
|
4563
4578
|
```
|
|
4564
4579
|
|
|
4565
4580
|
</dd>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as Letta from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TemplatesCreateVersionRequestReturnAgentState: core.serialization.Schema<serializers.agents.TemplatesCreateVersionRequestReturnAgentState.Raw, Letta.agents.TemplatesCreateVersionRequestReturnAgentState>;
|
|
8
|
+
export declare namespace TemplatesCreateVersionRequestReturnAgentState {
|
|
9
|
+
type Raw = "true";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplatesCreateVersionRequestReturnAgentState = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.TemplatesCreateVersionRequestReturnAgentState = core.serialization.enum_(["true"]);
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TemplatesCreateVersionRequestReturnAgentState"), exports);
|
|
17
18
|
__exportStar(require("./TemplatesMigrateResponse"), exports);
|
|
18
19
|
__exportStar(require("./TemplatesCreateResponse"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.embeddings.getEmbeddingsTotalStorageSize.Response.Raw, number>;
|
|
7
|
+
export declare namespace Response {
|
|
8
|
+
type Raw = number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Response = core.serialization.number();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as getEmbeddingsTotalStorageSize from "./getEmbeddingsTotalStorageSize";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.getEmbeddingsTotalStorageSize = void 0;
|
|
37
|
+
exports.getEmbeddingsTotalStorageSize = __importStar(require("./getEmbeddingsTotalStorageSize"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -23,6 +23,7 @@ export * as runs from "./runs";
|
|
|
23
23
|
export * as steps from "./steps";
|
|
24
24
|
export * as tags from "./tags";
|
|
25
25
|
export * as batches from "./batches";
|
|
26
|
+
export * as embeddings from "./embeddings";
|
|
26
27
|
export * from "./tools/client/requests";
|
|
27
28
|
export * from "./sources/client/requests";
|
|
28
29
|
export * from "./agents/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
39
|
+
exports.embeddings = exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.voice = exports.groups = exports.agents = exports.tools = void 0;
|
|
40
40
|
exports.tools = __importStar(require("./tools"));
|
|
41
41
|
__exportStar(require("./tools/types"), exports);
|
|
42
42
|
exports.agents = __importStar(require("./agents"));
|
|
@@ -62,6 +62,7 @@ exports.runs = __importStar(require("./runs"));
|
|
|
62
62
|
exports.steps = __importStar(require("./steps"));
|
|
63
63
|
exports.tags = __importStar(require("./tags"));
|
|
64
64
|
exports.batches = __importStar(require("./batches"));
|
|
65
|
+
exports.embeddings = __importStar(require("./embeddings"));
|
|
65
66
|
__exportStar(require("./tools/client/requests"), exports);
|
|
66
67
|
__exportStar(require("./sources/client/requests"), exports);
|
|
67
68
|
__exportStar(require("./agents/client/requests"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
|
|
8
8
|
export declare namespace AgentType {
|
|
9
|
-
type Raw = "memgpt_agent" | "split_thread_agent" | "sleeptime_agent";
|
|
9
|
+
type Raw = "memgpt_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
10
|
}
|
|
@@ -38,4 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AgentType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AgentType = core.serialization.enum_([
|
|
41
|
+
exports.AgentType = core.serialization.enum_([
|
|
42
|
+
"memgpt_agent",
|
|
43
|
+
"split_thread_agent",
|
|
44
|
+
"sleeptime_agent",
|
|
45
|
+
"voice_convo_agent",
|
|
46
|
+
"voice_sleeptime_agent",
|
|
47
|
+
]);
|
|
@@ -9,7 +9,7 @@ export declare const LocalSandboxConfig: core.serialization.ObjectSchema<seriali
|
|
|
9
9
|
export declare namespace LocalSandboxConfig {
|
|
10
10
|
interface Raw {
|
|
11
11
|
sandbox_dir?: string | null;
|
|
12
|
-
|
|
12
|
+
use_venv?: boolean | null;
|
|
13
13
|
venv_name?: string | null;
|
|
14
14
|
pip_requirements?: PipRequirement.Raw[] | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const PipRequirement_1 = require("./PipRequirement");
|
|
42
42
|
exports.LocalSandboxConfig = core.serialization.object({
|
|
43
43
|
sandboxDir: core.serialization.property("sandbox_dir", core.serialization.string().optional()),
|
|
44
|
-
|
|
44
|
+
useVenv: core.serialization.property("use_venv", core.serialization.boolean().optional()),
|
|
45
45
|
venvName: core.serialization.property("venv_name", core.serialization.string().optional()),
|
|
46
46
|
pipRequirements: core.serialization.property("pip_requirements", core.serialization.list(PipRequirement_1.PipRequirement).optional()),
|
|
47
47
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ToolType: core.serialization.Schema<serializers.ToolType.Raw, Letta.ToolType>;
|
|
8
8
|
export declare namespace ToolType {
|
|
9
|
-
type Raw = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "external_composio" | "external_langchain" | "external_mcp";
|
|
9
|
+
type Raw = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "external_composio" | "external_langchain" | "external_mcp";
|
|
10
10
|
}
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.107";
|
package/version.js
CHANGED