@letta-ai/letta-client 0.1.191 → 0.1.193

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.
Files changed (151) hide show
  1. package/api/resources/agents/client/Client.js +14 -11
  2. package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
  3. package/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +2 -0
  4. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  5. package/api/resources/agents/resources/context/client/Client.js +1 -1
  6. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  7. package/api/resources/agents/resources/files/client/Client.js +4 -4
  8. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  9. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  10. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  11. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  12. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  13. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  14. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  15. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  16. package/api/resources/batches/client/Client.js +4 -4
  17. package/api/resources/blocks/client/Client.js +6 -6
  18. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  19. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  20. package/api/resources/embeddingModels/client/Client.js +1 -1
  21. package/api/resources/folders/client/Client.js +9 -9
  22. package/api/resources/folders/resources/files/client/Client.js +3 -3
  23. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  24. package/api/resources/groups/client/Client.js +6 -6
  25. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  26. package/api/resources/health/client/Client.js +1 -1
  27. package/api/resources/identities/client/Client.js +7 -7
  28. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  29. package/api/resources/jobs/client/Client.js +5 -5
  30. package/api/resources/messages/client/Client.js +1 -1
  31. package/api/resources/models/client/Client.js +1 -1
  32. package/api/resources/projects/client/Client.js +1 -1
  33. package/api/resources/providers/client/Client.js +6 -6
  34. package/api/resources/runs/client/Client.js +5 -5
  35. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  36. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  37. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  38. package/api/resources/sources/client/Client.js +10 -10
  39. package/api/resources/sources/resources/files/client/Client.js +3 -3
  40. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  41. package/api/resources/steps/client/Client.js +3 -3
  42. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  43. package/api/resources/tags/client/Client.js +1 -1
  44. package/api/resources/telemetry/client/Client.js +1 -1
  45. package/api/resources/templates/client/Client.js +8 -8
  46. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  47. package/api/resources/tools/client/Client.js +20 -20
  48. package/api/resources/voice/client/Client.js +1 -1
  49. package/api/types/AgentState.d.ts +4 -0
  50. package/api/types/Block.d.ts +7 -1
  51. package/api/types/BlockSchema.d.ts +7 -1
  52. package/api/types/BlockUpdate.d.ts +7 -1
  53. package/api/types/CreateBlock.d.ts +7 -1
  54. package/api/types/FileBlock.d.ts +7 -1
  55. package/api/types/Group.d.ts +6 -0
  56. package/api/types/ProviderType.d.ts +9 -8
  57. package/api/types/ProviderType.js +8 -7
  58. package/dist/api/resources/agents/client/Client.js +14 -11
  59. package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
  60. package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +2 -0
  61. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  62. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  63. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  64. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  65. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  66. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  67. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  69. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  70. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  71. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  72. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  73. package/dist/api/resources/batches/client/Client.js +4 -4
  74. package/dist/api/resources/blocks/client/Client.js +6 -6
  75. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  76. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  77. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  78. package/dist/api/resources/folders/client/Client.js +9 -9
  79. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  80. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  81. package/dist/api/resources/groups/client/Client.js +6 -6
  82. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  83. package/dist/api/resources/health/client/Client.js +1 -1
  84. package/dist/api/resources/identities/client/Client.js +7 -7
  85. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  86. package/dist/api/resources/jobs/client/Client.js +5 -5
  87. package/dist/api/resources/messages/client/Client.js +1 -1
  88. package/dist/api/resources/models/client/Client.js +1 -1
  89. package/dist/api/resources/projects/client/Client.js +1 -1
  90. package/dist/api/resources/providers/client/Client.js +6 -6
  91. package/dist/api/resources/runs/client/Client.js +5 -5
  92. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  93. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  94. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  95. package/dist/api/resources/sources/client/Client.js +10 -10
  96. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  97. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  98. package/dist/api/resources/steps/client/Client.js +3 -3
  99. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  100. package/dist/api/resources/tags/client/Client.js +1 -1
  101. package/dist/api/resources/telemetry/client/Client.js +1 -1
  102. package/dist/api/resources/templates/client/Client.js +8 -8
  103. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  104. package/dist/api/resources/tools/client/Client.js +20 -20
  105. package/dist/api/resources/voice/client/Client.js +1 -1
  106. package/dist/api/types/AgentState.d.ts +4 -0
  107. package/dist/api/types/Block.d.ts +7 -1
  108. package/dist/api/types/BlockSchema.d.ts +7 -1
  109. package/dist/api/types/BlockUpdate.d.ts +7 -1
  110. package/dist/api/types/CreateBlock.d.ts +7 -1
  111. package/dist/api/types/FileBlock.d.ts +7 -1
  112. package/dist/api/types/Group.d.ts +6 -0
  113. package/dist/api/types/ProviderType.d.ts +9 -8
  114. package/dist/api/types/ProviderType.js +8 -7
  115. package/dist/serialization/types/AgentState.d.ts +2 -0
  116. package/dist/serialization/types/AgentState.js +2 -0
  117. package/dist/serialization/types/Block.d.ts +3 -0
  118. package/dist/serialization/types/Block.js +3 -0
  119. package/dist/serialization/types/BlockSchema.d.ts +3 -0
  120. package/dist/serialization/types/BlockSchema.js +3 -0
  121. package/dist/serialization/types/BlockUpdate.d.ts +3 -0
  122. package/dist/serialization/types/BlockUpdate.js +3 -0
  123. package/dist/serialization/types/CreateBlock.d.ts +3 -0
  124. package/dist/serialization/types/CreateBlock.js +3 -0
  125. package/dist/serialization/types/FileBlock.d.ts +3 -0
  126. package/dist/serialization/types/FileBlock.js +3 -0
  127. package/dist/serialization/types/Group.d.ts +3 -0
  128. package/dist/serialization/types/Group.js +3 -0
  129. package/dist/serialization/types/ProviderType.d.ts +1 -1
  130. package/dist/serialization/types/ProviderType.js +8 -7
  131. package/dist/version.d.ts +1 -1
  132. package/dist/version.js +1 -1
  133. package/package.json +1 -1
  134. package/serialization/types/AgentState.d.ts +2 -0
  135. package/serialization/types/AgentState.js +2 -0
  136. package/serialization/types/Block.d.ts +3 -0
  137. package/serialization/types/Block.js +3 -0
  138. package/serialization/types/BlockSchema.d.ts +3 -0
  139. package/serialization/types/BlockSchema.js +3 -0
  140. package/serialization/types/BlockUpdate.d.ts +3 -0
  141. package/serialization/types/BlockUpdate.js +3 -0
  142. package/serialization/types/CreateBlock.d.ts +3 -0
  143. package/serialization/types/CreateBlock.js +3 -0
  144. package/serialization/types/FileBlock.d.ts +3 -0
  145. package/serialization/types/FileBlock.js +3 -0
  146. package/serialization/types/Group.d.ts +3 -0
  147. package/serialization/types/Group.js +3 -0
  148. package/serialization/types/ProviderType.d.ts +1 -1
  149. package/serialization/types/ProviderType.js +8 -7
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
@@ -11,9 +11,15 @@ export interface BlockSchema {
11
11
  limit?: number;
12
12
  /** The associated project id. */
13
13
  projectId?: string;
14
- /** Name of the block if it is a template. */
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. */
@@ -11,10 +11,16 @@ export interface BlockUpdate {
11
11
  limit?: number;
12
12
  /** The associated project id. */
13
13
  projectId?: string;
14
- /** Name of the block if it is a template. */
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
- /** Name of the block if it is a template. */
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
- /** Name of the block if it is a template. */
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" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "cerebras" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
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 Openai: "openai";
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 Groq: "groq";
19
+ readonly Openai: "openai";
18
20
  readonly Together: "together";
19
- readonly Azure: "azure";
20
21
  readonly Vllm: "vllm";
21
- readonly Bedrock: "bedrock";
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
- Openai: "openai",
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
- Groq: "groq",
21
+ Openai: "openai",
20
22
  Together: "together",
21
- Azure: "azure",
22
23
  Vllm: "vllm",
23
- Bedrock: "bedrock",
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" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "cerebras" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
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
- "openai",
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
- "groq",
55
+ "openai",
54
56
  "together",
55
- "azure",
56
57
  "vllm",
57
- "bedrock",
58
+ "xai",
58
59
  ]);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.191";
1
+ export declare const SDK_VERSION = "0.1.193";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.191";
4
+ exports.SDK_VERSION = "0.1.193";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.191",
3
+ "version": "0.1.193",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
@@ -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" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "cerebras" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
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
- "openai",
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
- "groq",
55
+ "openai",
54
56
  "together",
55
- "azure",
56
57
  "vllm",
57
- "bedrock",
58
+ "xai",
58
59
  ]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.191";
1
+ export declare const SDK_VERSION = "0.1.193";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.191";
4
+ exports.SDK_VERSION = "0.1.193";