@letta-ai/letta-client 0.1.190 → 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.
Files changed (168) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
  3. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  6. package/api/resources/agents/resources/files/client/Client.js +4 -4
  7. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  8. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  11. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/blocks/client/Client.js +6 -6
  17. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  18. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  19. package/api/resources/embeddingModels/client/Client.js +1 -1
  20. package/api/resources/folders/client/Client.js +9 -9
  21. package/api/resources/folders/resources/files/client/Client.js +3 -3
  22. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  23. package/api/resources/groups/client/Client.js +6 -6
  24. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  25. package/api/resources/health/client/Client.js +1 -1
  26. package/api/resources/identities/client/Client.js +7 -7
  27. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  28. package/api/resources/jobs/client/Client.js +5 -5
  29. package/api/resources/messages/client/Client.js +1 -1
  30. package/api/resources/models/client/Client.js +1 -1
  31. package/api/resources/projects/client/Client.js +1 -1
  32. package/api/resources/providers/client/Client.js +6 -6
  33. package/api/resources/runs/client/Client.js +5 -5
  34. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  35. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  36. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  37. package/api/resources/sources/client/Client.js +10 -10
  38. package/api/resources/sources/resources/files/client/Client.js +3 -3
  39. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  40. package/api/resources/steps/client/Client.js +3 -3
  41. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  42. package/api/resources/tags/client/Client.js +1 -1
  43. package/api/resources/telemetry/client/Client.d.ts +1 -1
  44. package/api/resources/telemetry/client/Client.js +2 -2
  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 +11 -11
  59. package/dist/api/resources/agents/client/requests/AgentsExportFileRequest.d.ts +1 -1
  60. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  61. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  62. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  63. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  64. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  65. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  66. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  67. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  68. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  69. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  70. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  71. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  72. package/dist/api/resources/batches/client/Client.js +4 -4
  73. package/dist/api/resources/blocks/client/Client.js +6 -6
  74. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  75. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  76. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  77. package/dist/api/resources/folders/client/Client.js +9 -9
  78. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  79. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  80. package/dist/api/resources/groups/client/Client.js +6 -6
  81. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  82. package/dist/api/resources/health/client/Client.js +1 -1
  83. package/dist/api/resources/identities/client/Client.js +7 -7
  84. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  85. package/dist/api/resources/jobs/client/Client.js +5 -5
  86. package/dist/api/resources/messages/client/Client.js +1 -1
  87. package/dist/api/resources/models/client/Client.js +1 -1
  88. package/dist/api/resources/projects/client/Client.js +1 -1
  89. package/dist/api/resources/providers/client/Client.js +6 -6
  90. package/dist/api/resources/runs/client/Client.js +5 -5
  91. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  92. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  93. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  94. package/dist/api/resources/sources/client/Client.js +10 -10
  95. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  96. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  97. package/dist/api/resources/steps/client/Client.js +3 -3
  98. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  99. package/dist/api/resources/tags/client/Client.js +1 -1
  100. package/dist/api/resources/telemetry/client/Client.d.ts +1 -1
  101. package/dist/api/resources/telemetry/client/Client.js +2 -2
  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/resources/index.d.ts +1 -0
  116. package/dist/serialization/resources/index.js +2 -1
  117. package/dist/serialization/resources/telemetry/client/index.d.ts +1 -0
  118. package/dist/serialization/resources/telemetry/client/index.js +37 -0
  119. package/dist/serialization/resources/telemetry/client/retrieveProviderTrace.d.ts +11 -0
  120. package/dist/serialization/resources/telemetry/client/retrieveProviderTrace.js +8 -0
  121. package/dist/serialization/resources/telemetry/index.d.ts +1 -0
  122. package/dist/serialization/resources/telemetry/index.js +17 -0
  123. package/dist/serialization/types/AgentState.d.ts +2 -0
  124. package/dist/serialization/types/AgentState.js +2 -0
  125. package/dist/serialization/types/Block.d.ts +3 -0
  126. package/dist/serialization/types/Block.js +3 -0
  127. package/dist/serialization/types/BlockSchema.d.ts +3 -0
  128. package/dist/serialization/types/BlockSchema.js +3 -0
  129. package/dist/serialization/types/BlockUpdate.d.ts +3 -0
  130. package/dist/serialization/types/BlockUpdate.js +3 -0
  131. package/dist/serialization/types/CreateBlock.d.ts +3 -0
  132. package/dist/serialization/types/CreateBlock.js +3 -0
  133. package/dist/serialization/types/FileBlock.d.ts +3 -0
  134. package/dist/serialization/types/FileBlock.js +3 -0
  135. package/dist/serialization/types/Group.d.ts +3 -0
  136. package/dist/serialization/types/Group.js +3 -0
  137. package/dist/serialization/types/ProviderType.d.ts +1 -1
  138. package/dist/serialization/types/ProviderType.js +8 -7
  139. package/dist/version.d.ts +1 -1
  140. package/dist/version.js +1 -1
  141. package/package.json +1 -1
  142. package/reference.md +1 -1
  143. package/serialization/resources/index.d.ts +1 -0
  144. package/serialization/resources/index.js +2 -1
  145. package/serialization/resources/telemetry/client/index.d.ts +1 -0
  146. package/serialization/resources/telemetry/client/index.js +37 -0
  147. package/serialization/resources/telemetry/client/retrieveProviderTrace.d.ts +11 -0
  148. package/serialization/resources/telemetry/client/retrieveProviderTrace.js +8 -0
  149. package/serialization/resources/telemetry/index.d.ts +1 -0
  150. package/serialization/resources/telemetry/index.js +17 -0
  151. package/serialization/types/AgentState.d.ts +2 -0
  152. package/serialization/types/AgentState.js +2 -0
  153. package/serialization/types/Block.d.ts +3 -0
  154. package/serialization/types/Block.js +3 -0
  155. package/serialization/types/BlockSchema.d.ts +3 -0
  156. package/serialization/types/BlockSchema.js +3 -0
  157. package/serialization/types/BlockUpdate.d.ts +3 -0
  158. package/serialization/types/BlockUpdate.js +3 -0
  159. package/serialization/types/CreateBlock.d.ts +3 -0
  160. package/serialization/types/CreateBlock.js +3 -0
  161. package/serialization/types/FileBlock.d.ts +3 -0
  162. package/serialization/types/FileBlock.js +3 -0
  163. package/serialization/types/Group.d.ts +3 -0
  164. package/serialization/types/Group.js +3 -0
  165. package/serialization/types/ProviderType.d.ts +1 -1
  166. package/serialization/types/ProviderType.js +8 -7
  167. package/version.d.ts +1 -1
  168. 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
  };
@@ -23,6 +23,7 @@ export * as blocks from "./blocks";
23
23
  export * as jobs from "./jobs";
24
24
  export * as providers from "./providers";
25
25
  export * as tags from "./tags";
26
+ export * as telemetry from "./telemetry";
26
27
  export * as batches from "./batches";
27
28
  export * as voice from "./voice";
28
29
  export * from "./tools/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.voice = exports.batches = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
39
+ exports.voice = exports.batches = exports.telemetry = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = 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.blocks = __importStar(require("./blocks"));
62
62
  exports.jobs = __importStar(require("./jobs"));
63
63
  exports.providers = __importStar(require("./providers"));
64
64
  exports.tags = __importStar(require("./tags"));
65
+ exports.telemetry = __importStar(require("./telemetry"));
65
66
  exports.batches = __importStar(require("./batches"));
66
67
  exports.voice = __importStar(require("./voice"));
67
68
  __exportStar(require("./tools/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as retrieveProviderTrace from "./retrieveProviderTrace";
@@ -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.retrieveProviderTrace = void 0;
37
+ exports.retrieveProviderTrace = __importStar(require("./retrieveProviderTrace"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { ProviderTrace } from "../../../types/ProviderTrace";
8
+ export declare const Response: core.serialization.Schema<serializers.telemetry.retrieveProviderTrace.Response.Raw, Letta.ProviderTrace | undefined>;
9
+ export declare namespace Response {
10
+ type Raw = ProviderTrace.Raw | null | undefined;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Response = void 0;
7
+ const ProviderTrace_1 = require("../../../types/ProviderTrace");
8
+ exports.Response = ProviderTrace_1.ProviderTrace.optional();
@@ -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);
@@ -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.190";
1
+ export declare const SDK_VERSION = "0.1.192";
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.190";
4
+ exports.SDK_VERSION = "0.1.192";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.190",
3
+ "version": "0.1.192",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -5769,7 +5769,7 @@ await client.tags.list();
5769
5769
 
5770
5770
  ## Telemetry
5771
5771
 
5772
- <details><summary><code>client.telemetry.<a href="/src/api/resources/telemetry/client/Client.ts">retrieveProviderTrace</a>(stepId) -> Letta.ProviderTrace</code></summary>
5772
+ <details><summary><code>client.telemetry.<a href="/src/api/resources/telemetry/client/Client.ts">retrieveProviderTrace</a>(stepId) -> Letta.ProviderTrace | undefined</code></summary>
5773
5773
  <dl>
5774
5774
  <dd>
5775
5775
 
@@ -23,6 +23,7 @@ export * as blocks from "./blocks";
23
23
  export * as jobs from "./jobs";
24
24
  export * as providers from "./providers";
25
25
  export * as tags from "./tags";
26
+ export * as telemetry from "./telemetry";
26
27
  export * as batches from "./batches";
27
28
  export * as voice from "./voice";
28
29
  export * from "./tools/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.voice = exports.batches = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
39
+ exports.voice = exports.batches = exports.telemetry = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = 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.blocks = __importStar(require("./blocks"));
62
62
  exports.jobs = __importStar(require("./jobs"));
63
63
  exports.providers = __importStar(require("./providers"));
64
64
  exports.tags = __importStar(require("./tags"));
65
+ exports.telemetry = __importStar(require("./telemetry"));
65
66
  exports.batches = __importStar(require("./batches"));
66
67
  exports.voice = __importStar(require("./voice"));
67
68
  __exportStar(require("./tools/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as retrieveProviderTrace from "./retrieveProviderTrace";
@@ -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.retrieveProviderTrace = void 0;
37
+ exports.retrieveProviderTrace = __importStar(require("./retrieveProviderTrace"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { ProviderTrace } from "../../../types/ProviderTrace";
8
+ export declare const Response: core.serialization.Schema<serializers.telemetry.retrieveProviderTrace.Response.Raw, Letta.ProviderTrace | undefined>;
9
+ export declare namespace Response {
10
+ type Raw = ProviderTrace.Raw | null | undefined;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Response = void 0;
7
+ const ProviderTrace_1 = require("../../../types/ProviderTrace");
8
+ exports.Response = ProviderTrace_1.ProviderTrace.optional();
@@ -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);
@@ -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()),