@letta-ai/letta-client 0.1.206 → 0.1.207

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 (171) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  10. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  11. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  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 +4 -4
  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 +2 -2
  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.js +1 -1
  44. package/api/resources/templates/client/Client.js +9 -9
  45. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  46. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  47. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  48. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  49. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  50. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  51. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  52. package/api/resources/templates/types/index.d.ts +3 -1
  53. package/api/resources/templates/types/index.js +3 -1
  54. package/api/resources/tools/client/Client.js +20 -20
  55. package/api/resources/voice/client/Client.js +1 -1
  56. package/api/types/DeleteDeploymentResponse.d.ts +12 -0
  57. package/api/types/DeleteDeploymentResponse.js +5 -0
  58. package/api/types/DeploymentEntity.d.ts +12 -0
  59. package/api/types/DeploymentEntity.js +5 -0
  60. package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  61. package/api/types/ListDeploymentEntitiesResponse.js +5 -0
  62. package/api/types/index.d.ts +3 -0
  63. package/api/types/index.js +3 -0
  64. package/dist/api/resources/agents/client/Client.js +11 -11
  65. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  66. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  67. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  69. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  70. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  71. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  72. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  73. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  74. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  75. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  76. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  77. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  78. package/dist/api/resources/batches/client/Client.js +4 -4
  79. package/dist/api/resources/blocks/client/Client.js +6 -6
  80. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  81. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  82. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  83. package/dist/api/resources/folders/client/Client.js +9 -9
  84. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  85. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  86. package/dist/api/resources/groups/client/Client.js +6 -6
  87. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  88. package/dist/api/resources/health/client/Client.js +1 -1
  89. package/dist/api/resources/identities/client/Client.js +7 -7
  90. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  91. package/dist/api/resources/jobs/client/Client.js +5 -5
  92. package/dist/api/resources/messages/client/Client.js +1 -1
  93. package/dist/api/resources/models/client/Client.js +2 -2
  94. package/dist/api/resources/projects/client/Client.js +1 -1
  95. package/dist/api/resources/providers/client/Client.js +6 -6
  96. package/dist/api/resources/runs/client/Client.js +5 -5
  97. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  98. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  99. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  100. package/dist/api/resources/sources/client/Client.js +10 -10
  101. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  102. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  103. package/dist/api/resources/steps/client/Client.js +3 -3
  104. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  105. package/dist/api/resources/tags/client/Client.js +1 -1
  106. package/dist/api/resources/telemetry/client/Client.js +1 -1
  107. package/dist/api/resources/templates/client/Client.js +9 -9
  108. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  109. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  110. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  111. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  112. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  113. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  114. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  115. package/dist/api/resources/templates/types/index.d.ts +3 -1
  116. package/dist/api/resources/templates/types/index.js +3 -1
  117. package/dist/api/resources/tools/client/Client.js +20 -20
  118. package/dist/api/resources/voice/client/Client.js +1 -1
  119. package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
  120. package/dist/api/types/DeleteDeploymentResponse.js +5 -0
  121. package/dist/api/types/DeploymentEntity.d.ts +12 -0
  122. package/dist/api/types/DeploymentEntity.js +5 -0
  123. package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  124. package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
  125. package/dist/api/types/index.d.ts +3 -0
  126. package/dist/api/types/index.js +3 -0
  127. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  128. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  129. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  130. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  131. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  132. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  133. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  134. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  135. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  136. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  137. package/dist/serialization/resources/templates/types/index.d.ts +3 -1
  138. package/dist/serialization/resources/templates/types/index.js +3 -1
  139. package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  140. package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
  141. package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
  142. package/dist/serialization/types/DeploymentEntity.js +46 -0
  143. package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  144. package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  145. package/dist/serialization/types/index.d.ts +3 -0
  146. package/dist/serialization/types/index.js +3 -0
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +1 -1
  150. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  151. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  152. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  153. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  154. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  155. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  156. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  157. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  158. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  159. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  160. package/serialization/resources/templates/types/index.d.ts +3 -1
  161. package/serialization/resources/templates/types/index.js +3 -1
  162. package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  163. package/serialization/types/DeleteDeploymentResponse.js +46 -0
  164. package/serialization/types/DeploymentEntity.d.ts +15 -0
  165. package/serialization/types/DeploymentEntity.js +46 -0
  166. package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  167. package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  168. package/serialization/types/index.d.ts +3 -0
  169. package/serialization/types/index.js +3 -0
  170. package/version.d.ts +1 -1
  171. package/version.js +1 -1
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DeploymentEntity = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DeploymentEntity = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ type: core.serialization.string(),
44
+ name: core.serialization.string().optional(),
45
+ description: core.serialization.string().optional(),
46
+ });
@@ -0,0 +1,16 @@
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 { DeploymentEntity } from "./DeploymentEntity";
8
+ export declare const ListDeploymentEntitiesResponse: core.serialization.ObjectSchema<serializers.ListDeploymentEntitiesResponse.Raw, Letta.ListDeploymentEntitiesResponse>;
9
+ export declare namespace ListDeploymentEntitiesResponse {
10
+ interface Raw {
11
+ entities?: DeploymentEntity.Raw[] | null;
12
+ total_count: number;
13
+ deployment_id: string;
14
+ message: string;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ListDeploymentEntitiesResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const DeploymentEntity_1 = require("./DeploymentEntity");
42
+ exports.ListDeploymentEntitiesResponse = core.serialization.object({
43
+ entities: core.serialization.list(DeploymentEntity_1.DeploymentEntity).optional(),
44
+ totalCount: core.serialization.property("total_count", core.serialization.number()),
45
+ deploymentId: core.serialization.property("deployment_id", core.serialization.string()),
46
+ message: core.serialization.string(),
47
+ });
@@ -106,6 +106,8 @@ export * from "./CustomFormatGrammar";
106
106
  export * from "./CustomFormatGrammarGrammarSyntax";
107
107
  export * from "./CustomFormatGrammarGrammar";
108
108
  export * from "./CustomFormatText";
109
+ export * from "./DeleteDeploymentResponse";
110
+ export * from "./DeploymentEntity";
109
111
  export * from "./DuplicateFileHandling";
110
112
  export * from "./DynamicManager";
111
113
  export * from "./DynamicManagerUpdate";
@@ -178,6 +180,7 @@ export * from "./LettaStopReason";
178
180
  export * from "./LettaStreamingRequestMessagesItem";
179
181
  export * from "./LettaStreamingRequest";
180
182
  export * from "./LettaUsageStatistics";
183
+ export * from "./ListDeploymentEntitiesResponse";
181
184
  export * from "./LocalSandboxConfig";
182
185
  export * from "./McpServerSchema";
183
186
  export * from "./McpServerType";
@@ -122,6 +122,8 @@ __exportStar(require("./CustomFormatGrammar"), exports);
122
122
  __exportStar(require("./CustomFormatGrammarGrammarSyntax"), exports);
123
123
  __exportStar(require("./CustomFormatGrammarGrammar"), exports);
124
124
  __exportStar(require("./CustomFormatText"), exports);
125
+ __exportStar(require("./DeleteDeploymentResponse"), exports);
126
+ __exportStar(require("./DeploymentEntity"), exports);
125
127
  __exportStar(require("./DuplicateFileHandling"), exports);
126
128
  __exportStar(require("./DynamicManager"), exports);
127
129
  __exportStar(require("./DynamicManagerUpdate"), exports);
@@ -194,6 +196,7 @@ __exportStar(require("./LettaStopReason"), exports);
194
196
  __exportStar(require("./LettaStreamingRequestMessagesItem"), exports);
195
197
  __exportStar(require("./LettaStreamingRequest"), exports);
196
198
  __exportStar(require("./LettaUsageStatistics"), exports);
199
+ __exportStar(require("./ListDeploymentEntitiesResponse"), exports);
197
200
  __exportStar(require("./LocalSandboxConfig"), exports);
198
201
  __exportStar(require("./McpServerSchema"), exports);
199
202
  __exportStar(require("./McpServerType"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.206";
1
+ export declare const SDK_VERSION = "0.1.207";
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.206";
4
+ exports.SDK_VERSION = "0.1.207";