@letta-ai/letta-client 0.1.191 → 0.1.192
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 +11 -11
- package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
- 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/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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 +8 -8
- 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/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 +3 -3
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/folders/client/Client.js +9 -9
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/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 +5 -5
- 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.js +6 -6
- package/api/resources/runs/client/Client.js +5 -5
- 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 +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- 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 +8 -8
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentState.d.ts +4 -0
- package/api/types/Block.d.ts +7 -1
- package/api/types/BlockSchema.d.ts +7 -1
- package/api/types/BlockUpdate.d.ts +7 -1
- package/api/types/CreateBlock.d.ts +7 -1
- package/api/types/FileBlock.d.ts +7 -1
- package/api/types/Group.d.ts +6 -0
- package/api/types/ProviderType.d.ts +9 -8
- package/api/types/ProviderType.js +8 -7
- package/dist/api/resources/agents/client/Client.js +11 -11
- package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
- 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/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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 +8 -8
- 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/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 +3 -3
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/folders/client/Client.js +9 -9
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/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 +5 -5
- 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.js +6 -6
- package/dist/api/resources/runs/client/Client.js +5 -5
- 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 +10 -10
- 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/steps/resources/feedback/client/Client.js +1 -1
- 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 +8 -8
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentState.d.ts +4 -0
- package/dist/api/types/Block.d.ts +7 -1
- package/dist/api/types/BlockSchema.d.ts +7 -1
- package/dist/api/types/BlockUpdate.d.ts +7 -1
- package/dist/api/types/CreateBlock.d.ts +7 -1
- package/dist/api/types/FileBlock.d.ts +7 -1
- package/dist/api/types/Group.d.ts +6 -0
- package/dist/api/types/ProviderType.d.ts +9 -8
- package/dist/api/types/ProviderType.js +8 -7
- package/dist/serialization/types/AgentState.d.ts +2 -0
- package/dist/serialization/types/AgentState.js +2 -0
- package/dist/serialization/types/Block.d.ts +3 -0
- package/dist/serialization/types/Block.js +3 -0
- package/dist/serialization/types/BlockSchema.d.ts +3 -0
- package/dist/serialization/types/BlockSchema.js +3 -0
- package/dist/serialization/types/BlockUpdate.d.ts +3 -0
- package/dist/serialization/types/BlockUpdate.js +3 -0
- package/dist/serialization/types/CreateBlock.d.ts +3 -0
- package/dist/serialization/types/CreateBlock.js +3 -0
- package/dist/serialization/types/FileBlock.d.ts +3 -0
- package/dist/serialization/types/FileBlock.js +3 -0
- package/dist/serialization/types/Group.d.ts +3 -0
- package/dist/serialization/types/Group.js +3 -0
- package/dist/serialization/types/ProviderType.d.ts +1 -1
- package/dist/serialization/types/ProviderType.js +8 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/AgentState.d.ts +2 -0
- package/serialization/types/AgentState.js +2 -0
- package/serialization/types/Block.d.ts +3 -0
- package/serialization/types/Block.js +3 -0
- package/serialization/types/BlockSchema.d.ts +3 -0
- package/serialization/types/BlockSchema.js +3 -0
- package/serialization/types/BlockUpdate.d.ts +3 -0
- package/serialization/types/BlockUpdate.js +3 -0
- package/serialization/types/CreateBlock.d.ts +3 -0
- package/serialization/types/CreateBlock.js +3 -0
- package/serialization/types/FileBlock.d.ts +3 -0
- package/serialization/types/FileBlock.js +3 -0
- package/serialization/types/Group.d.ts +3 -0
- package/serialization/types/Group.js +3 -0
- package/serialization/types/ProviderType.d.ts +1 -1
- package/serialization/types/ProviderType.js +8 -7
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -11,10 +11,16 @@ export interface BlockUpdate {
|
|
|
11
11
|
limit?: number;
|
|
12
12
|
/** The associated project id. */
|
|
13
13
|
projectId?: string;
|
|
14
|
-
/**
|
|
14
|
+
/** The id of the template. */
|
|
15
15
|
name?: string;
|
|
16
16
|
/** Whether the block is a template (e.g. saved human/persona options). */
|
|
17
17
|
isTemplate?: boolean;
|
|
18
|
+
/** The base template id of the block. */
|
|
19
|
+
baseTemplateId?: string;
|
|
20
|
+
/** The id of the deployment. */
|
|
21
|
+
deploymentId?: string;
|
|
22
|
+
/** The id of the entity within the template. */
|
|
23
|
+
entityId?: string;
|
|
18
24
|
/** Preserve the block on template migration. */
|
|
19
25
|
preserveOnMigration?: boolean;
|
|
20
26
|
/** Label of the block (e.g. 'human', 'persona') in the context window. */
|
|
@@ -11,9 +11,15 @@ export interface CreateBlock {
|
|
|
11
11
|
limit?: number;
|
|
12
12
|
/** The associated project id. */
|
|
13
13
|
projectId?: string;
|
|
14
|
-
/**
|
|
14
|
+
/** The id of the template. */
|
|
15
15
|
name?: string;
|
|
16
16
|
isTemplate?: boolean;
|
|
17
|
+
/** The base template id of the block. */
|
|
18
|
+
baseTemplateId?: string;
|
|
19
|
+
/** The id of the deployment. */
|
|
20
|
+
deploymentId?: string;
|
|
21
|
+
/** The id of the entity within the template. */
|
|
22
|
+
entityId?: string;
|
|
17
23
|
/** Preserve the block on template migration. */
|
|
18
24
|
preserveOnMigration?: boolean;
|
|
19
25
|
/** Label of the block. */
|
|
@@ -8,10 +8,16 @@ export interface FileBlock {
|
|
|
8
8
|
limit?: number;
|
|
9
9
|
/** The associated project id. */
|
|
10
10
|
projectId?: string;
|
|
11
|
-
/**
|
|
11
|
+
/** The id of the template. */
|
|
12
12
|
name?: string;
|
|
13
13
|
/** Whether the block is a template (e.g. saved human/persona options). */
|
|
14
14
|
isTemplate?: boolean;
|
|
15
|
+
/** The base template id of the block. */
|
|
16
|
+
baseTemplateId?: string;
|
|
17
|
+
/** The id of the deployment. */
|
|
18
|
+
deploymentId?: string;
|
|
19
|
+
/** The id of the entity within the template. */
|
|
20
|
+
entityId?: string;
|
|
15
21
|
/** Preserve the block on template migration. */
|
|
16
22
|
preserveOnMigration?: boolean;
|
|
17
23
|
/** Label of the block (e.g. 'human', 'persona') in the context window. */
|
|
@@ -13,6 +13,12 @@ export interface Group {
|
|
|
13
13
|
description: string;
|
|
14
14
|
/** The associated project id. */
|
|
15
15
|
projectId?: string;
|
|
16
|
+
/** The id of the template. */
|
|
17
|
+
templateId?: string;
|
|
18
|
+
/** The base template id. */
|
|
19
|
+
baseTemplateId?: string;
|
|
20
|
+
/** The id of the deployment. */
|
|
21
|
+
deploymentId?: string;
|
|
16
22
|
/** */
|
|
17
23
|
sharedBlockIds?: string[];
|
|
18
24
|
/** */
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ProviderType = "anthropic" | "
|
|
4
|
+
export type ProviderType = "anthropic" | "azure" | "bedrock" | "cerebras" | "deepseek" | "google_ai" | "google_vertex" | "groq" | "hugging-face" | "letta" | "lmstudio_openai" | "mistral" | "ollama" | "openai" | "together" | "vllm" | "xai";
|
|
5
5
|
export declare const ProviderType: {
|
|
6
6
|
readonly Anthropic: "anthropic";
|
|
7
|
+
readonly Azure: "azure";
|
|
8
|
+
readonly Bedrock: "bedrock";
|
|
9
|
+
readonly Cerebras: "cerebras";
|
|
10
|
+
readonly Deepseek: "deepseek";
|
|
7
11
|
readonly GoogleAi: "google_ai";
|
|
8
12
|
readonly GoogleVertex: "google_vertex";
|
|
9
|
-
readonly
|
|
13
|
+
readonly Groq: "groq";
|
|
14
|
+
readonly HuggingFace: "hugging-face";
|
|
10
15
|
readonly Letta: "letta";
|
|
11
|
-
readonly Deepseek: "deepseek";
|
|
12
|
-
readonly Cerebras: "cerebras";
|
|
13
16
|
readonly LmstudioOpenai: "lmstudio_openai";
|
|
14
|
-
readonly Xai: "xai";
|
|
15
17
|
readonly Mistral: "mistral";
|
|
16
18
|
readonly Ollama: "ollama";
|
|
17
|
-
readonly
|
|
19
|
+
readonly Openai: "openai";
|
|
18
20
|
readonly Together: "together";
|
|
19
|
-
readonly Azure: "azure";
|
|
20
21
|
readonly Vllm: "vllm";
|
|
21
|
-
readonly
|
|
22
|
+
readonly Xai: "xai";
|
|
22
23
|
};
|
|
@@ -6,19 +6,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ProviderType = void 0;
|
|
7
7
|
exports.ProviderType = {
|
|
8
8
|
Anthropic: "anthropic",
|
|
9
|
+
Azure: "azure",
|
|
10
|
+
Bedrock: "bedrock",
|
|
11
|
+
Cerebras: "cerebras",
|
|
12
|
+
Deepseek: "deepseek",
|
|
9
13
|
GoogleAi: "google_ai",
|
|
10
14
|
GoogleVertex: "google_vertex",
|
|
11
|
-
|
|
15
|
+
Groq: "groq",
|
|
16
|
+
HuggingFace: "hugging-face",
|
|
12
17
|
Letta: "letta",
|
|
13
|
-
Deepseek: "deepseek",
|
|
14
|
-
Cerebras: "cerebras",
|
|
15
18
|
LmstudioOpenai: "lmstudio_openai",
|
|
16
|
-
Xai: "xai",
|
|
17
19
|
Mistral: "mistral",
|
|
18
20
|
Ollama: "ollama",
|
|
19
|
-
|
|
21
|
+
Openai: "openai",
|
|
20
22
|
Together: "together",
|
|
21
|
-
Azure: "azure",
|
|
22
23
|
Vllm: "vllm",
|
|
23
|
-
|
|
24
|
+
Xai: "xai",
|
|
24
25
|
};
|
|
@@ -40,6 +40,8 @@ export declare namespace AgentState {
|
|
|
40
40
|
project_id?: string | null;
|
|
41
41
|
template_id?: string | null;
|
|
42
42
|
base_template_id?: string | null;
|
|
43
|
+
deployment_id?: string | null;
|
|
44
|
+
entity_id?: string | null;
|
|
43
45
|
identity_ids?: string[] | null;
|
|
44
46
|
message_buffer_autoclear?: boolean | null;
|
|
45
47
|
enable_sleeptime?: boolean | null;
|
|
@@ -72,6 +72,8 @@ exports.AgentState = core.serialization.object({
|
|
|
72
72
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
73
73
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
74
74
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
75
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
76
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
75
77
|
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
76
78
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
77
79
|
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace Block {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.Block = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace BlockSchema {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label: string;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.BlockSchema = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace BlockUpdate {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.BlockUpdate = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace CreateBlock {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label: string;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.CreateBlock = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace FileBlock {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.FileBlock = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -13,6 +13,9 @@ export declare namespace Group {
|
|
|
13
13
|
agent_ids: string[];
|
|
14
14
|
description: string;
|
|
15
15
|
project_id?: string | null;
|
|
16
|
+
template_id?: string | null;
|
|
17
|
+
base_template_id?: string | null;
|
|
18
|
+
deployment_id?: string | null;
|
|
16
19
|
shared_block_ids?: string[] | null;
|
|
17
20
|
manager_agent_id?: string | null;
|
|
18
21
|
termination_token?: string | null;
|
|
@@ -45,6 +45,9 @@ exports.Group = core.serialization.object({
|
|
|
45
45
|
agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string())),
|
|
46
46
|
description: core.serialization.string(),
|
|
47
47
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
48
|
+
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
49
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
50
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
48
51
|
sharedBlockIds: core.serialization.property("shared_block_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
49
52
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
50
53
|
terminationToken: core.serialization.property("termination_token", core.serialization.string().optional()),
|
|
@@ -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" | "azure" | "bedrock" | "cerebras" | "deepseek" | "google_ai" | "google_vertex" | "groq" | "hugging-face" | "letta" | "lmstudio_openai" | "mistral" | "ollama" | "openai" | "together" | "vllm" | "xai";
|
|
10
10
|
}
|
|
@@ -40,19 +40,20 @@ exports.ProviderType = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ProviderType = core.serialization.enum_([
|
|
42
42
|
"anthropic",
|
|
43
|
+
"azure",
|
|
44
|
+
"bedrock",
|
|
45
|
+
"cerebras",
|
|
46
|
+
"deepseek",
|
|
43
47
|
"google_ai",
|
|
44
48
|
"google_vertex",
|
|
45
|
-
"
|
|
49
|
+
"groq",
|
|
50
|
+
"hugging-face",
|
|
46
51
|
"letta",
|
|
47
|
-
"deepseek",
|
|
48
|
-
"cerebras",
|
|
49
52
|
"lmstudio_openai",
|
|
50
|
-
"xai",
|
|
51
53
|
"mistral",
|
|
52
54
|
"ollama",
|
|
53
|
-
"
|
|
55
|
+
"openai",
|
|
54
56
|
"together",
|
|
55
|
-
"azure",
|
|
56
57
|
"vllm",
|
|
57
|
-
"
|
|
58
|
+
"xai",
|
|
58
59
|
]);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.192";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -40,6 +40,8 @@ export declare namespace AgentState {
|
|
|
40
40
|
project_id?: string | null;
|
|
41
41
|
template_id?: string | null;
|
|
42
42
|
base_template_id?: string | null;
|
|
43
|
+
deployment_id?: string | null;
|
|
44
|
+
entity_id?: string | null;
|
|
43
45
|
identity_ids?: string[] | null;
|
|
44
46
|
message_buffer_autoclear?: boolean | null;
|
|
45
47
|
enable_sleeptime?: boolean | null;
|
|
@@ -72,6 +72,8 @@ exports.AgentState = core.serialization.object({
|
|
|
72
72
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
73
73
|
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
74
74
|
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
75
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
76
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
75
77
|
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
76
78
|
messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean().optional()),
|
|
77
79
|
enableSleeptime: core.serialization.property("enable_sleeptime", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace Block {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.Block = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace BlockSchema {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label: string;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.BlockSchema = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace BlockUpdate {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.BlockUpdate = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace CreateBlock {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label: string;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.CreateBlock = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -12,6 +12,9 @@ export declare namespace FileBlock {
|
|
|
12
12
|
project_id?: string | null;
|
|
13
13
|
name?: string | null;
|
|
14
14
|
is_template?: boolean | null;
|
|
15
|
+
base_template_id?: string | null;
|
|
16
|
+
deployment_id?: string | null;
|
|
17
|
+
entity_id?: string | null;
|
|
15
18
|
preserve_on_migration?: boolean | null;
|
|
16
19
|
label?: string | null;
|
|
17
20
|
read_only?: boolean | null;
|
|
@@ -44,6 +44,9 @@ exports.FileBlock = core.serialization.object({
|
|
|
44
44
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
45
45
|
name: core.serialization.string().optional(),
|
|
46
46
|
isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
|
|
47
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
48
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
49
|
+
entityId: core.serialization.property("entity_id", core.serialization.string().optional()),
|
|
47
50
|
preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
|
|
48
51
|
label: core.serialization.string().optional(),
|
|
49
52
|
readOnly: core.serialization.property("read_only", core.serialization.boolean().optional()),
|
|
@@ -13,6 +13,9 @@ export declare namespace Group {
|
|
|
13
13
|
agent_ids: string[];
|
|
14
14
|
description: string;
|
|
15
15
|
project_id?: string | null;
|
|
16
|
+
template_id?: string | null;
|
|
17
|
+
base_template_id?: string | null;
|
|
18
|
+
deployment_id?: string | null;
|
|
16
19
|
shared_block_ids?: string[] | null;
|
|
17
20
|
manager_agent_id?: string | null;
|
|
18
21
|
termination_token?: string | null;
|
|
@@ -45,6 +45,9 @@ exports.Group = core.serialization.object({
|
|
|
45
45
|
agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string())),
|
|
46
46
|
description: core.serialization.string(),
|
|
47
47
|
projectId: core.serialization.property("project_id", core.serialization.string().optional()),
|
|
48
|
+
templateId: core.serialization.property("template_id", core.serialization.string().optional()),
|
|
49
|
+
baseTemplateId: core.serialization.property("base_template_id", core.serialization.string().optional()),
|
|
50
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
48
51
|
sharedBlockIds: core.serialization.property("shared_block_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
49
52
|
managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
|
|
50
53
|
terminationToken: core.serialization.property("termination_token", core.serialization.string().optional()),
|
|
@@ -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" | "azure" | "bedrock" | "cerebras" | "deepseek" | "google_ai" | "google_vertex" | "groq" | "hugging-face" | "letta" | "lmstudio_openai" | "mistral" | "ollama" | "openai" | "together" | "vllm" | "xai";
|
|
10
10
|
}
|
|
@@ -40,19 +40,20 @@ exports.ProviderType = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ProviderType = core.serialization.enum_([
|
|
42
42
|
"anthropic",
|
|
43
|
+
"azure",
|
|
44
|
+
"bedrock",
|
|
45
|
+
"cerebras",
|
|
46
|
+
"deepseek",
|
|
43
47
|
"google_ai",
|
|
44
48
|
"google_vertex",
|
|
45
|
-
"
|
|
49
|
+
"groq",
|
|
50
|
+
"hugging-face",
|
|
46
51
|
"letta",
|
|
47
|
-
"deepseek",
|
|
48
|
-
"cerebras",
|
|
49
52
|
"lmstudio_openai",
|
|
50
|
-
"xai",
|
|
51
53
|
"mistral",
|
|
52
54
|
"ollama",
|
|
53
|
-
"
|
|
55
|
+
"openai",
|
|
54
56
|
"together",
|
|
55
|
-
"azure",
|
|
56
57
|
"vllm",
|
|
57
|
-
"
|
|
58
|
+
"xai",
|
|
58
59
|
]);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.192";
|
package/version.js
CHANGED