@letta-ai/letta-client 0.1.206 → 0.1.208

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 (220) 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.d.ts +16 -0
  10. package/api/resources/agents/resources/messages/client/Client.js +88 -8
  11. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  12. package/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  13. package/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  14. package/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  15. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  16. package/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  17. package/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  18. package/api/resources/agents/resources/messages/types/index.js +1 -0
  19. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  20. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  21. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  22. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  23. package/api/resources/batches/client/Client.js +4 -4
  24. package/api/resources/blocks/client/Client.js +6 -6
  25. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  26. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  27. package/api/resources/embeddingModels/client/Client.js +1 -1
  28. package/api/resources/folders/client/Client.js +9 -9
  29. package/api/resources/folders/resources/files/client/Client.js +3 -3
  30. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  31. package/api/resources/groups/client/Client.js +6 -6
  32. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  33. package/api/resources/health/client/Client.js +1 -1
  34. package/api/resources/identities/client/Client.js +7 -7
  35. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  36. package/api/resources/jobs/client/Client.js +5 -5
  37. package/api/resources/messages/client/Client.js +1 -1
  38. package/api/resources/models/client/Client.js +2 -2
  39. package/api/resources/projects/client/Client.js +1 -1
  40. package/api/resources/providers/client/Client.js +6 -6
  41. package/api/resources/runs/client/Client.js +5 -5
  42. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  43. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  44. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  45. package/api/resources/sources/client/Client.js +10 -10
  46. package/api/resources/sources/resources/files/client/Client.js +3 -3
  47. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  48. package/api/resources/steps/client/Client.js +3 -3
  49. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  50. package/api/resources/tags/client/Client.js +1 -1
  51. package/api/resources/telemetry/client/Client.js +1 -1
  52. package/api/resources/templates/client/Client.js +9 -9
  53. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  54. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  55. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  56. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  57. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  58. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  59. package/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  60. package/api/resources/templates/types/index.d.ts +3 -1
  61. package/api/resources/templates/types/index.js +3 -1
  62. package/api/resources/tools/client/Client.js +20 -20
  63. package/api/resources/voice/client/Client.js +1 -1
  64. package/api/types/DeleteDeploymentResponse.d.ts +12 -0
  65. package/api/types/DeleteDeploymentResponse.js +5 -0
  66. package/api/types/DeploymentEntity.d.ts +12 -0
  67. package/api/types/DeploymentEntity.js +5 -0
  68. package/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  69. package/api/types/ListDeploymentEntitiesResponse.js +5 -0
  70. package/api/types/MessageSearchResult.d.ts +21 -0
  71. package/api/types/MessageSearchResult.js +5 -0
  72. package/api/types/index.d.ts +4 -0
  73. package/api/types/index.js +4 -0
  74. package/dist/api/resources/agents/client/Client.js +11 -11
  75. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  76. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  77. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  78. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  79. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  80. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  82. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +16 -0
  83. package/dist/api/resources/agents/resources/messages/client/Client.js +88 -8
  84. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +24 -0
  85. package/dist/api/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +5 -0
  86. package/dist/api/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +1 -1
  88. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +12 -0
  89. package/dist/api/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +11 -0
  90. package/dist/api/resources/agents/resources/messages/types/index.d.ts +1 -0
  91. package/dist/api/resources/agents/resources/messages/types/index.js +1 -0
  92. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  93. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  94. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  95. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  96. package/dist/api/resources/batches/client/Client.js +4 -4
  97. package/dist/api/resources/blocks/client/Client.js +6 -6
  98. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  99. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  100. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  101. package/dist/api/resources/folders/client/Client.js +9 -9
  102. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  103. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  104. package/dist/api/resources/groups/client/Client.js +6 -6
  105. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  106. package/dist/api/resources/health/client/Client.js +1 -1
  107. package/dist/api/resources/identities/client/Client.js +7 -7
  108. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  109. package/dist/api/resources/jobs/client/Client.js +5 -5
  110. package/dist/api/resources/messages/client/Client.js +1 -1
  111. package/dist/api/resources/models/client/Client.js +2 -2
  112. package/dist/api/resources/projects/client/Client.js +1 -1
  113. package/dist/api/resources/providers/client/Client.js +6 -6
  114. package/dist/api/resources/runs/client/Client.js +5 -5
  115. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  116. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  117. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  118. package/dist/api/resources/sources/client/Client.js +10 -10
  119. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  120. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  121. package/dist/api/resources/steps/client/Client.js +3 -3
  122. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  123. package/dist/api/resources/tags/client/Client.js +1 -1
  124. package/dist/api/resources/telemetry/client/Client.js +1 -1
  125. package/dist/api/resources/templates/client/Client.js +9 -9
  126. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  127. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +1 -1
  128. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +3 -0
  129. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  130. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +12 -0
  131. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +9 -0
  132. package/dist/api/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +11 -0
  133. package/dist/api/resources/templates/types/index.d.ts +3 -1
  134. package/dist/api/resources/templates/types/index.js +3 -1
  135. package/dist/api/resources/tools/client/Client.js +20 -20
  136. package/dist/api/resources/voice/client/Client.js +1 -1
  137. package/dist/api/types/DeleteDeploymentResponse.d.ts +12 -0
  138. package/dist/api/types/DeleteDeploymentResponse.js +5 -0
  139. package/dist/api/types/DeploymentEntity.d.ts +12 -0
  140. package/dist/api/types/DeploymentEntity.js +5 -0
  141. package/dist/api/types/ListDeploymentEntitiesResponse.d.ts +13 -0
  142. package/dist/api/types/ListDeploymentEntitiesResponse.js +5 -0
  143. package/dist/api/types/MessageSearchResult.d.ts +21 -0
  144. package/dist/api/types/MessageSearchResult.js +5 -0
  145. package/dist/api/types/index.d.ts +4 -0
  146. package/dist/api/types/index.js +4 -0
  147. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  148. package/dist/serialization/resources/agents/resources/messages/client/index.js +2 -1
  149. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  150. package/dist/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  151. package/dist/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  152. package/dist/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  153. package/dist/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  154. package/dist/serialization/resources/agents/resources/messages/client/search.js +42 -0
  155. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  156. package/dist/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  157. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  158. package/dist/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  159. package/dist/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  160. package/dist/serialization/resources/agents/resources/messages/types/index.js +1 -0
  161. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  162. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  163. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  164. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  165. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  166. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  167. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  168. package/dist/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  169. package/dist/serialization/resources/templates/types/index.d.ts +3 -1
  170. package/dist/serialization/resources/templates/types/index.js +3 -1
  171. package/dist/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  172. package/dist/serialization/types/DeleteDeploymentResponse.js +46 -0
  173. package/dist/serialization/types/DeploymentEntity.d.ts +15 -0
  174. package/dist/serialization/types/DeploymentEntity.js +46 -0
  175. package/dist/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  176. package/dist/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  177. package/dist/serialization/types/MessageSearchResult.d.ts +18 -0
  178. package/dist/serialization/types/MessageSearchResult.js +49 -0
  179. package/dist/serialization/types/index.d.ts +4 -0
  180. package/dist/serialization/types/index.js +4 -0
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +66 -0
  185. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  186. package/serialization/resources/agents/resources/messages/client/index.js +2 -1
  187. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.d.ts +20 -0
  188. package/serialization/resources/agents/resources/messages/client/requests/MessageSearchRequest.js +51 -0
  189. package/serialization/resources/agents/resources/messages/client/requests/index.d.ts +1 -0
  190. package/serialization/resources/agents/resources/messages/client/requests/index.js +3 -1
  191. package/serialization/resources/agents/resources/messages/client/search.d.ts +11 -0
  192. package/serialization/resources/agents/resources/messages/client/search.js +42 -0
  193. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.d.ts +4 -1
  194. package/serialization/resources/agents/resources/messages/types/LettaStreamingResponse.js +6 -0
  195. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.d.ts +10 -0
  196. package/serialization/resources/agents/resources/messages/types/MessageSearchRequestSearchMode.js +41 -0
  197. package/serialization/resources/agents/resources/messages/types/index.d.ts +1 -0
  198. package/serialization/resources/agents/resources/messages/types/index.js +1 -0
  199. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.d.ts +2 -2
  200. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItem.js +2 -2
  201. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.d.ts +4 -0
  202. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemProperties.js +4 -0
  203. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.d.ts +10 -0
  204. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.js +41 -0
  205. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.d.ts +10 -0
  206. package/serialization/resources/templates/types/TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.js +41 -0
  207. package/serialization/resources/templates/types/index.d.ts +3 -1
  208. package/serialization/resources/templates/types/index.js +3 -1
  209. package/serialization/types/DeleteDeploymentResponse.d.ts +15 -0
  210. package/serialization/types/DeleteDeploymentResponse.js +46 -0
  211. package/serialization/types/DeploymentEntity.d.ts +15 -0
  212. package/serialization/types/DeploymentEntity.js +46 -0
  213. package/serialization/types/ListDeploymentEntitiesResponse.d.ts +16 -0
  214. package/serialization/types/ListDeploymentEntitiesResponse.js +47 -0
  215. package/serialization/types/MessageSearchResult.d.ts +18 -0
  216. package/serialization/types/MessageSearchResult.js +49 -0
  217. package/serialization/types/index.d.ts +4 -0
  218. package/serialization/types/index.js +4 -0
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
@@ -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
+ });
@@ -0,0 +1,18 @@
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 { Message } from "./Message";
8
+ export declare const MessageSearchResult: core.serialization.ObjectSchema<serializers.MessageSearchResult.Raw, Letta.MessageSearchResult>;
9
+ export declare namespace MessageSearchResult {
10
+ interface Raw {
11
+ message: Message.Raw;
12
+ fts_score?: number | null;
13
+ fts_rank?: number | null;
14
+ vector_score?: number | null;
15
+ vector_rank?: number | null;
16
+ rrf_score: number;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.MessageSearchResult = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const Message_1 = require("./Message");
42
+ exports.MessageSearchResult = core.serialization.object({
43
+ message: Message_1.Message,
44
+ ftsScore: core.serialization.property("fts_score", core.serialization.number().optional()),
45
+ ftsRank: core.serialization.property("fts_rank", core.serialization.number().optional()),
46
+ vectorScore: core.serialization.property("vector_score", core.serialization.number().optional()),
47
+ vectorRank: core.serialization.property("vector_rank", core.serialization.number().optional()),
48
+ rrfScore: core.serialization.property("rrf_score", core.serialization.number()),
49
+ });
@@ -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";
@@ -194,6 +197,7 @@ export * from "./MessageCreateRole";
194
197
  export * from "./MessageCreateContent";
195
198
  export * from "./MessageCreate";
196
199
  export * from "./MessageRole";
200
+ export * from "./MessageSearchResult";
197
201
  export * from "./MessageType";
198
202
  export * from "./ModalSandboxConfigLanguage";
199
203
  export * from "./ModalSandboxConfig";
@@ -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);
@@ -210,6 +213,7 @@ __exportStar(require("./MessageCreateRole"), exports);
210
213
  __exportStar(require("./MessageCreateContent"), exports);
211
214
  __exportStar(require("./MessageCreate"), exports);
212
215
  __exportStar(require("./MessageRole"), exports);
216
+ __exportStar(require("./MessageSearchResult"), exports);
213
217
  __exportStar(require("./MessageType"), exports);
214
218
  __exportStar(require("./ModalSandboxConfigLanguage"), exports);
215
219
  __exportStar(require("./ModalSandboxConfig"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.206";
1
+ export declare const SDK_VERSION = "0.1.208";
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.206";
4
+ exports.SDK_VERSION = "0.1.208";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.206",
3
+ "version": "0.1.208",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -9428,6 +9428,72 @@ await client.agents.messages.cancel("agent_id");
9428
9428
  </dl>
9429
9429
  </details>
9430
9430
 
9431
+ <details><summary><code>client.agents.messages.<a href="/src/api/resources/agents/resources/messages/client/Client.ts">search</a>({ ...params }) -> Letta.MessageSearchResult[]</code></summary>
9432
+ <dl>
9433
+ <dd>
9434
+
9435
+ #### 📝 Description
9436
+
9437
+ <dl>
9438
+ <dd>
9439
+
9440
+ <dl>
9441
+ <dd>
9442
+
9443
+ Search messages across the entire organization with optional project filtering.
9444
+ Returns messages with FTS/vector ranks and total RRF score.
9445
+
9446
+ Requires message embedding and Turbopuffer to be enabled.
9447
+
9448
+ </dd>
9449
+ </dl>
9450
+ </dd>
9451
+ </dl>
9452
+
9453
+ #### 🔌 Usage
9454
+
9455
+ <dl>
9456
+ <dd>
9457
+
9458
+ <dl>
9459
+ <dd>
9460
+
9461
+ ```typescript
9462
+ await client.agents.messages.search();
9463
+ ```
9464
+
9465
+ </dd>
9466
+ </dl>
9467
+ </dd>
9468
+ </dl>
9469
+
9470
+ #### ⚙️ Parameters
9471
+
9472
+ <dl>
9473
+ <dd>
9474
+
9475
+ <dl>
9476
+ <dd>
9477
+
9478
+ **request:** `Letta.agents.MessageSearchRequest`
9479
+
9480
+ </dd>
9481
+ </dl>
9482
+
9483
+ <dl>
9484
+ <dd>
9485
+
9486
+ **requestOptions:** `Messages.RequestOptions`
9487
+
9488
+ </dd>
9489
+ </dl>
9490
+ </dd>
9491
+ </dl>
9492
+
9493
+ </dd>
9494
+ </dl>
9495
+ </details>
9496
+
9431
9497
  <details><summary><code>client.agents.messages.<a href="/src/api/resources/agents/resources/messages/client/Client.ts">createAsync</a>(agentId, { ...params }) -> Letta.Run</code></summary>
9432
9498
  <dl>
9433
9499
  <dd>
@@ -1,4 +1,5 @@
1
1
  export * as list from "./list";
2
2
  export * as cancel from "./cancel";
3
+ export * as search from "./search";
3
4
  export * as previewRawPayload from "./previewRawPayload";
4
5
  export * from "./requests";
@@ -36,8 +36,9 @@ 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.previewRawPayload = exports.cancel = exports.list = void 0;
39
+ exports.previewRawPayload = exports.search = exports.cancel = exports.list = void 0;
40
40
  exports.list = __importStar(require("./list"));
41
41
  exports.cancel = __importStar(require("./cancel"));
42
+ exports.search = __importStar(require("./search"));
42
43
  exports.previewRawPayload = __importStar(require("./previewRawPayload"));
43
44
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,20 @@
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 { MessageSearchRequestSearchMode } from "../../types/MessageSearchRequestSearchMode";
8
+ import { MessageRole } from "../../../../../../types/MessageRole";
9
+ export declare const MessageSearchRequest: core.serialization.Schema<serializers.agents.MessageSearchRequest.Raw, Letta.agents.MessageSearchRequest>;
10
+ export declare namespace MessageSearchRequest {
11
+ interface Raw {
12
+ query_text?: string | null;
13
+ search_mode?: MessageSearchRequestSearchMode.Raw | null;
14
+ roles?: MessageRole.Raw[] | null;
15
+ project_id?: string | null;
16
+ limit?: number | null;
17
+ start_date?: string | null;
18
+ end_date?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.MessageSearchRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const MessageSearchRequestSearchMode_1 = require("../../types/MessageSearchRequestSearchMode");
42
+ const MessageRole_1 = require("../../../../../../types/MessageRole");
43
+ exports.MessageSearchRequest = core.serialization.object({
44
+ queryText: core.serialization.property("query_text", core.serialization.string().optional()),
45
+ searchMode: core.serialization.property("search_mode", MessageSearchRequestSearchMode_1.MessageSearchRequestSearchMode.optional()),
46
+ roles: core.serialization.list(MessageRole_1.MessageRole).optional(),
47
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
48
+ limit: core.serialization.number().optional(),
49
+ startDate: core.serialization.property("start_date", core.serialization.date().optional()),
50
+ endDate: core.serialization.property("end_date", core.serialization.date().optional()),
51
+ });
@@ -1,2 +1,3 @@
1
1
  export { CancelAgentRunRequest } from "./CancelAgentRunRequest";
2
+ export { MessageSearchRequest } from "./MessageSearchRequest";
2
3
  export { LettaAsyncRequest } from "./LettaAsyncRequest";
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LettaAsyncRequest = exports.CancelAgentRunRequest = void 0;
3
+ exports.LettaAsyncRequest = exports.MessageSearchRequest = exports.CancelAgentRunRequest = void 0;
4
4
  var CancelAgentRunRequest_1 = require("./CancelAgentRunRequest");
5
5
  Object.defineProperty(exports, "CancelAgentRunRequest", { enumerable: true, get: function () { return CancelAgentRunRequest_1.CancelAgentRunRequest; } });
6
+ var MessageSearchRequest_1 = require("./MessageSearchRequest");
7
+ Object.defineProperty(exports, "MessageSearchRequest", { enumerable: true, get: function () { return MessageSearchRequest_1.MessageSearchRequest; } });
6
8
  var LettaAsyncRequest_1 = require("./LettaAsyncRequest");
7
9
  Object.defineProperty(exports, "LettaAsyncRequest", { enumerable: true, get: function () { return LettaAsyncRequest_1.LettaAsyncRequest; } });
@@ -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 { MessageSearchResult } from "../../../../../types/MessageSearchResult";
8
+ export declare const Response: core.serialization.Schema<serializers.agents.messages.search.Response.Raw, Letta.MessageSearchResult[]>;
9
+ export declare namespace Response {
10
+ type Raw = MessageSearchResult.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const MessageSearchResult_1 = require("../../../../../types/MessageSearchResult");
42
+ exports.Response = core.serialization.list(MessageSearchResult_1.MessageSearchResult);
@@ -7,13 +7,16 @@ import * as core from "../../../../../../core";
7
7
  import { SystemMessage } from "../../../../../types/SystemMessage";
8
8
  import { UserMessage } from "../../../../../types/UserMessage";
9
9
  import { ReasoningMessage } from "../../../../../types/ReasoningMessage";
10
+ import { HiddenReasoningMessage } from "../../../../../types/HiddenReasoningMessage";
10
11
  import { ToolCallMessage } from "../../../../../types/ToolCallMessage";
11
12
  import { ToolReturnMessage } from "../../../../../types/ToolReturnMessage";
12
13
  import { AssistantMessage } from "../../../../../types/AssistantMessage";
14
+ import { ApprovalRequestMessage } from "../../../../../types/ApprovalRequestMessage";
15
+ import { ApprovalResponseMessage } from "../../../../../types/ApprovalResponseMessage";
13
16
  import { LettaPing } from "../../../../../types/LettaPing";
14
17
  import { LettaStopReason } from "../../../../../types/LettaStopReason";
15
18
  import { LettaUsageStatistics } from "../../../../../types/LettaUsageStatistics";
16
19
  export declare const LettaStreamingResponse: core.serialization.Schema<serializers.agents.LettaStreamingResponse.Raw, Letta.agents.LettaStreamingResponse>;
17
20
  export declare namespace LettaStreamingResponse {
18
- type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
21
+ type Raw = SystemMessage.Raw | UserMessage.Raw | ReasoningMessage.Raw | HiddenReasoningMessage.Raw | ToolCallMessage.Raw | ToolReturnMessage.Raw | AssistantMessage.Raw | ApprovalRequestMessage.Raw | ApprovalResponseMessage.Raw | LettaPing.Raw | LettaStopReason.Raw | LettaUsageStatistics.Raw;
19
22
  }
@@ -41,9 +41,12 @@ const core = __importStar(require("../../../../../../core"));
41
41
  const SystemMessage_1 = require("../../../../../types/SystemMessage");
42
42
  const UserMessage_1 = require("../../../../../types/UserMessage");
43
43
  const ReasoningMessage_1 = require("../../../../../types/ReasoningMessage");
44
+ const HiddenReasoningMessage_1 = require("../../../../../types/HiddenReasoningMessage");
44
45
  const ToolCallMessage_1 = require("../../../../../types/ToolCallMessage");
45
46
  const ToolReturnMessage_1 = require("../../../../../types/ToolReturnMessage");
46
47
  const AssistantMessage_1 = require("../../../../../types/AssistantMessage");
48
+ const ApprovalRequestMessage_1 = require("../../../../../types/ApprovalRequestMessage");
49
+ const ApprovalResponseMessage_1 = require("../../../../../types/ApprovalResponseMessage");
47
50
  const LettaPing_1 = require("../../../../../types/LettaPing");
48
51
  const LettaStopReason_1 = require("../../../../../types/LettaStopReason");
49
52
  const LettaUsageStatistics_1 = require("../../../../../types/LettaUsageStatistics");
@@ -51,9 +54,12 @@ exports.LettaStreamingResponse = core.serialization.undiscriminatedUnion([
51
54
  SystemMessage_1.SystemMessage,
52
55
  UserMessage_1.UserMessage,
53
56
  ReasoningMessage_1.ReasoningMessage,
57
+ HiddenReasoningMessage_1.HiddenReasoningMessage,
54
58
  ToolCallMessage_1.ToolCallMessage,
55
59
  ToolReturnMessage_1.ToolReturnMessage,
56
60
  AssistantMessage_1.AssistantMessage,
61
+ ApprovalRequestMessage_1.ApprovalRequestMessage,
62
+ ApprovalResponseMessage_1.ApprovalResponseMessage,
57
63
  LettaPing_1.LettaPing,
58
64
  LettaStopReason_1.LettaStopReason,
59
65
  LettaUsageStatistics_1.LettaUsageStatistics,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const MessageSearchRequestSearchMode: core.serialization.Schema<serializers.agents.MessageSearchRequestSearchMode.Raw, Letta.agents.MessageSearchRequestSearchMode>;
8
+ export declare namespace MessageSearchRequestSearchMode {
9
+ type Raw = "vector" | "fts" | "hybrid";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.MessageSearchRequestSearchMode = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.MessageSearchRequestSearchMode = core.serialization.enum_(["vector", "fts", "hybrid"]);
@@ -1,5 +1,6 @@
1
1
  export * from "./MessagesModifyRequest";
2
2
  export * from "./MessagesModifyResponse";
3
3
  export * from "./LettaStreamingResponse";
4
+ export * from "./MessageSearchRequestSearchMode";
4
5
  export * from "./LettaAsyncRequestMessagesItem";
5
6
  export * from "./MessagesPreviewRawPayloadRequest";
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./MessagesModifyRequest"), exports);
18
18
  __exportStar(require("./MessagesModifyResponse"), exports);
19
19
  __exportStar(require("./LettaStreamingResponse"), exports);
20
+ __exportStar(require("./MessageSearchRequestSearchMode"), exports);
20
21
  __exportStar(require("./LettaAsyncRequestMessagesItem"), exports);
21
22
  __exportStar(require("./MessagesPreviewRawPayloadRequest"), exports);
@@ -4,11 +4,11 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
8
7
  import { TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables";
9
8
  import { TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables";
10
9
  import { TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem } from "./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem";
11
10
  import { TemplatesGetTemplateSnapshotResponseAgentsItemAgentType } from "./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType";
11
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemProperties } from "./TemplatesGetTemplateSnapshotResponseAgentsItemProperties";
12
12
  export declare const TemplatesGetTemplateSnapshotResponseAgentsItem: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItem.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItem>;
13
13
  export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
14
14
  interface Raw {
@@ -16,13 +16,13 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItem {
16
16
  systemPrompt: string;
17
17
  toolIds?: string[] | null;
18
18
  sourceIds?: string[] | null;
19
- properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
20
19
  memoryVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.Raw | null;
21
20
  toolVariables?: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.Raw | null;
22
21
  tags?: string[] | null;
23
22
  identityIds?: string[] | null;
24
23
  toolRules?: TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem.Raw[] | null;
25
24
  agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType.Raw;
25
+ properties?: TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw | null;
26
26
  entityId: string;
27
27
  name: string;
28
28
  }
@@ -38,23 +38,23 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TemplatesGetTemplateSnapshotResponseAgentsItem = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
42
41
  const TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables");
43
42
  const TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables");
44
43
  const TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem");
45
44
  const TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemAgentType");
45
+ const TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1 = require("./TemplatesGetTemplateSnapshotResponseAgentsItemProperties");
46
46
  exports.TemplatesGetTemplateSnapshotResponseAgentsItem = core.serialization.object({
47
47
  model: core.serialization.string(),
48
48
  systemPrompt: core.serialization.string(),
49
49
  toolIds: core.serialization.list(core.serialization.string()).optional(),
50
50
  sourceIds: core.serialization.list(core.serialization.string()).optional(),
51
- properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
52
51
  memoryVariables: TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemMemoryVariables.optional(),
53
52
  toolVariables: TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolVariables.optional(),
54
53
  tags: core.serialization.list(core.serialization.string()).optional(),
55
54
  identityIds: core.serialization.list(core.serialization.string()).optional(),
56
55
  toolRules: core.serialization.list(TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem_1.TemplatesGetTemplateSnapshotResponseAgentsItemToolRulesItem).optional(),
57
56
  agentType: TemplatesGetTemplateSnapshotResponseAgentsItemAgentType_1.TemplatesGetTemplateSnapshotResponseAgentsItemAgentType,
57
+ properties: TemplatesGetTemplateSnapshotResponseAgentsItemProperties_1.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.optional(),
58
58
  entityId: core.serialization.string(),
59
59
  name: core.serialization.string(),
60
60
  });
@@ -4,6 +4,8 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel";
8
+ import { TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort } from "./TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort";
7
9
  export declare const TemplatesGetTemplateSnapshotResponseAgentsItemProperties: core.serialization.ObjectSchema<serializers.TemplatesGetTemplateSnapshotResponseAgentsItemProperties.Raw, Letta.TemplatesGetTemplateSnapshotResponseAgentsItemProperties>;
8
10
  export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemProperties {
9
11
  interface Raw {
@@ -14,6 +16,8 @@ export declare namespace TemplatesGetTemplateSnapshotResponseAgentsItemPropertie
14
16
  max_reasoning_tokens?: number | null;
15
17
  max_files_open?: number | null;
16
18
  message_buffer_autoclear?: boolean | null;
19
+ verbosity_level?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesVerbosityLevel.Raw | null;
20
+ reasoning_effort?: TemplatesGetTemplateSnapshotResponseAgentsItemPropertiesReasoningEffort.Raw | null;
17
21
  per_file_view_window_char_limit?: number | null;
18
22
  temperature?: number | null;
19
23
  }