@letta-ai/letta-client 0.0.68641 → 0.0.68643

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 (244) 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 +9 -9
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  14. package/api/resources/batches/client/Client.d.ts +6 -3
  15. package/api/resources/batches/client/Client.js +34 -11
  16. package/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  17. package/api/resources/batches/client/requests/index.d.ts +1 -0
  18. package/api/resources/batches/index.d.ts +1 -0
  19. package/api/resources/batches/index.js +1 -0
  20. package/api/resources/batches/resources/messages/client/Client.js +5 -2
  21. package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  22. package/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  23. package/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  24. package/api/resources/batches/types/index.d.ts +1 -0
  25. package/api/resources/batches/types/index.js +17 -0
  26. package/api/resources/blocks/client/Client.js +6 -6
  27. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  28. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  29. package/api/resources/embeddingModels/client/Client.js +1 -1
  30. package/api/resources/folders/client/Client.js +9 -9
  31. package/api/resources/folders/resources/files/client/Client.js +3 -3
  32. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  33. package/api/resources/groups/client/Client.js +6 -6
  34. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  35. package/api/resources/health/client/Client.js +1 -1
  36. package/api/resources/identities/client/Client.js +7 -7
  37. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  38. package/api/resources/index.d.ts +4 -2
  39. package/api/resources/index.js +5 -3
  40. package/api/resources/jobs/client/Client.js +5 -5
  41. package/api/resources/models/client/Client.js +2 -2
  42. package/api/resources/projects/client/Client.js +1 -1
  43. package/api/resources/providers/client/Client.d.ts +6 -4
  44. package/api/resources/providers/client/Client.js +11 -9
  45. package/api/resources/runs/client/Client.js +5 -5
  46. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  47. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  48. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  49. package/api/resources/sources/client/Client.js +10 -10
  50. package/api/resources/sources/resources/files/client/Client.js +3 -3
  51. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  52. package/api/resources/steps/client/Client.d.ts +6 -13
  53. package/api/resources/steps/client/Client.js +14 -80
  54. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  55. package/api/resources/steps/resources/feedback/client/Client.js +3 -10
  56. package/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  57. package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  58. package/api/resources/steps/resources/index.d.ts +2 -0
  59. package/api/resources/steps/resources/index.js +3 -1
  60. package/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
  61. package/api/resources/steps/resources/metrics/client/Client.js +145 -0
  62. package/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
  63. package/api/resources/steps/resources/metrics/client/index.js +2 -0
  64. package/api/resources/steps/resources/metrics/index.d.ts +1 -0
  65. package/api/resources/steps/resources/metrics/index.js +17 -0
  66. package/api/resources/steps/resources/trace/client/Client.d.ts +47 -0
  67. package/api/resources/steps/resources/trace/client/Client.js +143 -0
  68. package/api/resources/steps/resources/trace/client/index.d.ts +1 -0
  69. package/api/resources/steps/resources/trace/client/index.js +2 -0
  70. package/api/resources/steps/resources/trace/index.d.ts +1 -0
  71. package/api/resources/steps/resources/trace/index.js +17 -0
  72. package/api/resources/tags/client/Client.d.ts +1 -1
  73. package/api/resources/tags/client/Client.js +15 -4
  74. package/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  75. package/api/resources/tags/index.d.ts +1 -0
  76. package/api/resources/tags/index.js +1 -0
  77. package/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  78. package/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  79. package/api/resources/tags/types/index.d.ts +1 -0
  80. package/api/resources/tags/types/index.js +17 -0
  81. package/api/resources/telemetry/client/Client.js +1 -1
  82. package/api/resources/templates/client/Client.js +9 -9
  83. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  84. package/api/resources/tools/client/Client.js +20 -20
  85. package/api/resources/voice/client/Client.js +1 -1
  86. package/dist/api/resources/agents/client/Client.js +11 -11
  87. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  88. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  89. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  90. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  91. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  92. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  93. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  94. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  95. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  96. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  97. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  98. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  99. package/dist/api/resources/batches/client/Client.d.ts +6 -3
  100. package/dist/api/resources/batches/client/Client.js +34 -11
  101. package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  102. package/dist/api/resources/batches/client/requests/BatchesListRequest.js +5 -0
  103. package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
  104. package/dist/api/resources/batches/index.d.ts +1 -0
  105. package/dist/api/resources/batches/index.js +1 -0
  106. package/dist/api/resources/batches/resources/messages/client/Client.js +5 -2
  107. package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  108. package/dist/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  109. package/dist/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  110. package/dist/api/resources/batches/types/index.d.ts +1 -0
  111. package/dist/api/resources/batches/types/index.js +17 -0
  112. package/dist/api/resources/blocks/client/Client.js +6 -6
  113. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  114. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  115. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  116. package/dist/api/resources/folders/client/Client.js +9 -9
  117. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  118. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  119. package/dist/api/resources/groups/client/Client.js +6 -6
  120. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  121. package/dist/api/resources/health/client/Client.js +1 -1
  122. package/dist/api/resources/identities/client/Client.js +7 -7
  123. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  124. package/dist/api/resources/index.d.ts +4 -2
  125. package/dist/api/resources/index.js +5 -3
  126. package/dist/api/resources/jobs/client/Client.js +5 -5
  127. package/dist/api/resources/models/client/Client.js +2 -2
  128. package/dist/api/resources/projects/client/Client.js +1 -1
  129. package/dist/api/resources/providers/client/Client.d.ts +6 -4
  130. package/dist/api/resources/providers/client/Client.js +11 -9
  131. package/dist/api/resources/runs/client/Client.js +5 -5
  132. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  133. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  134. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  135. package/dist/api/resources/sources/client/Client.js +10 -10
  136. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  137. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  138. package/dist/api/resources/steps/client/Client.d.ts +6 -13
  139. package/dist/api/resources/steps/client/Client.js +14 -80
  140. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  141. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -10
  142. package/dist/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  143. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +5 -0
  144. package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  145. package/dist/api/resources/steps/resources/index.d.ts +2 -0
  146. package/dist/api/resources/steps/resources/index.js +3 -1
  147. package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +49 -0
  148. package/dist/api/resources/steps/resources/metrics/client/Client.js +145 -0
  149. package/dist/api/resources/steps/resources/metrics/client/index.d.ts +1 -0
  150. package/dist/api/resources/steps/resources/metrics/client/index.js +2 -0
  151. package/dist/api/resources/steps/resources/metrics/index.d.ts +1 -0
  152. package/dist/api/resources/steps/resources/metrics/index.js +17 -0
  153. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +47 -0
  154. package/dist/api/resources/steps/resources/trace/client/Client.js +143 -0
  155. package/dist/api/resources/steps/resources/trace/client/index.d.ts +1 -0
  156. package/dist/api/resources/steps/resources/trace/client/index.js +2 -0
  157. package/dist/api/resources/steps/resources/trace/index.d.ts +1 -0
  158. package/dist/api/resources/steps/resources/trace/index.js +17 -0
  159. package/dist/api/resources/tags/client/Client.d.ts +1 -1
  160. package/dist/api/resources/tags/client/Client.js +15 -4
  161. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  162. package/dist/api/resources/tags/index.d.ts +1 -0
  163. package/dist/api/resources/tags/index.js +1 -0
  164. package/dist/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  165. package/dist/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  166. package/dist/api/resources/tags/types/index.d.ts +1 -0
  167. package/dist/api/resources/tags/types/index.js +17 -0
  168. package/dist/api/resources/telemetry/client/Client.js +1 -1
  169. package/dist/api/resources/templates/client/Client.js +9 -9
  170. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  171. package/dist/api/resources/tools/client/Client.js +20 -20
  172. package/dist/api/resources/voice/client/Client.js +1 -1
  173. package/dist/serialization/resources/batches/index.d.ts +1 -0
  174. package/dist/serialization/resources/batches/index.js +1 -0
  175. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  176. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  177. package/dist/serialization/resources/batches/types/index.d.ts +1 -0
  178. package/dist/serialization/resources/batches/types/index.js +17 -0
  179. package/dist/serialization/resources/index.d.ts +4 -2
  180. package/dist/serialization/resources/index.js +5 -3
  181. package/dist/serialization/resources/steps/index.d.ts +1 -0
  182. package/dist/serialization/resources/steps/index.js +1 -0
  183. package/dist/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  184. package/dist/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  185. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  186. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  187. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  188. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  189. package/dist/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  190. package/dist/serialization/resources/steps/resources/feedback/index.js +17 -0
  191. package/dist/serialization/resources/steps/resources/index.d.ts +3 -0
  192. package/dist/serialization/resources/steps/resources/index.js +42 -0
  193. package/dist/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  194. package/dist/serialization/resources/steps/resources/trace/client/index.js +37 -0
  195. package/dist/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  196. package/dist/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  197. package/dist/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  198. package/dist/serialization/resources/steps/resources/trace/index.js +17 -0
  199. package/dist/serialization/resources/tags/index.d.ts +1 -0
  200. package/dist/serialization/resources/tags/index.js +1 -0
  201. package/dist/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  202. package/dist/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  203. package/dist/serialization/resources/tags/types/index.d.ts +1 -0
  204. package/dist/serialization/resources/tags/types/index.js +17 -0
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +149 -72
  209. package/serialization/resources/batches/index.d.ts +1 -0
  210. package/serialization/resources/batches/index.js +1 -0
  211. package/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  212. package/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  213. package/serialization/resources/batches/types/index.d.ts +1 -0
  214. package/serialization/resources/batches/types/index.js +17 -0
  215. package/serialization/resources/index.d.ts +4 -2
  216. package/serialization/resources/index.js +5 -3
  217. package/serialization/resources/steps/index.d.ts +1 -0
  218. package/serialization/resources/steps/index.js +1 -0
  219. package/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  220. package/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  221. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  222. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  223. package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  224. package/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  225. package/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  226. package/serialization/resources/steps/resources/feedback/index.js +17 -0
  227. package/serialization/resources/steps/resources/index.d.ts +3 -0
  228. package/serialization/resources/steps/resources/index.js +42 -0
  229. package/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  230. package/serialization/resources/steps/resources/trace/client/index.js +37 -0
  231. package/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  232. package/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  233. package/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  234. package/serialization/resources/steps/resources/trace/index.js +17 -0
  235. package/serialization/resources/tags/index.d.ts +1 -0
  236. package/serialization/resources/tags/index.js +1 -0
  237. package/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  238. package/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  239. package/serialization/resources/tags/types/index.d.ts +1 -0
  240. package/serialization/resources/tags/types/index.js +17 -0
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
  243. /package/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → batches/client/requests/BatchesListRequest.js} +0 -0
  244. /package/{dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.js → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js} +0 -0
@@ -0,0 +1,42 @@
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
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.feedback = exports.trace = void 0;
40
+ exports.trace = __importStar(require("./trace"));
41
+ exports.feedback = __importStar(require("./feedback"));
42
+ __exportStar(require("./feedback/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as retrieve from "./retrieve";
@@ -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.retrieve = void 0;
37
+ exports.retrieve = __importStar(require("./retrieve"));
@@ -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.steps.trace.retrieve.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);
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -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 TagsListRequestOrder: core.serialization.Schema<serializers.TagsListRequestOrder.Raw, Letta.TagsListRequestOrder>;
8
+ export declare namespace TagsListRequestOrder {
9
+ type Raw = "asc" | "desc";
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.TagsListRequestOrder = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.TagsListRequestOrder = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1 @@
1
+ export * from "./TagsListRequestOrder";
@@ -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("./TagsListRequestOrder"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.68641";
1
+ export declare const SDK_VERSION = "0.0.68643";
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.0.68641";
4
+ exports.SDK_VERSION = "0.0.68643";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.0.68641",
3
+ "version": "0.0.68643",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -4892,7 +4892,7 @@ await client.health.check();
4892
4892
  <dl>
4893
4893
  <dd>
4894
4894
 
4895
- Get a list of all custom providers in the database
4895
+ Get a list of all custom providers.
4896
4896
 
4897
4897
  </dd>
4898
4898
  </dl>
@@ -4955,7 +4955,7 @@ await client.providers.list();
4955
4955
  <dl>
4956
4956
  <dd>
4957
4957
 
4958
- Create a new custom provider
4958
+ Create a new custom provider.
4959
4959
 
4960
4960
  </dd>
4961
4961
  </dl>
@@ -5022,7 +5022,7 @@ await client.providers.create({
5022
5022
  <dl>
5023
5023
  <dd>
5024
5024
 
5025
- Delete an existing custom provider
5025
+ Delete an existing custom provider.
5026
5026
 
5027
5027
  </dd>
5028
5028
  </dl>
@@ -5085,7 +5085,7 @@ await client.providers.delete("provider_id");
5085
5085
  <dl>
5086
5086
  <dd>
5087
5087
 
5088
- Update an existing custom provider
5088
+ Update an existing custom provider.
5089
5089
 
5090
5090
  </dd>
5091
5091
  </dl>
@@ -5150,6 +5150,21 @@ await client.providers.modify("provider_id", {
5150
5150
  <dl>
5151
5151
  <dd>
5152
5152
 
5153
+ #### 📝 Description
5154
+
5155
+ <dl>
5156
+ <dd>
5157
+
5158
+ <dl>
5159
+ <dd>
5160
+
5161
+ Verify the API key and additional parameters for a provider.
5162
+
5163
+ </dd>
5164
+ </dl>
5165
+ </dd>
5166
+ </dl>
5167
+
5153
5168
  #### 🔌 Usage
5154
5169
 
5155
5170
  <dl>
@@ -5639,69 +5654,6 @@ await client.steps.retrieve("step_id");
5639
5654
  </dl>
5640
5655
  </details>
5641
5656
 
5642
- <details><summary><code>client.steps.<a href="/src/api/resources/steps/client/Client.ts">retrieveStepMetrics</a>(stepId) -> Letta.StepMetrics</code></summary>
5643
- <dl>
5644
- <dd>
5645
-
5646
- #### 📝 Description
5647
-
5648
- <dl>
5649
- <dd>
5650
-
5651
- <dl>
5652
- <dd>
5653
-
5654
- Get step metrics by step ID.
5655
-
5656
- </dd>
5657
- </dl>
5658
- </dd>
5659
- </dl>
5660
-
5661
- #### 🔌 Usage
5662
-
5663
- <dl>
5664
- <dd>
5665
-
5666
- <dl>
5667
- <dd>
5668
-
5669
- ```typescript
5670
- await client.steps.retrieveStepMetrics("step_id");
5671
- ```
5672
-
5673
- </dd>
5674
- </dl>
5675
- </dd>
5676
- </dl>
5677
-
5678
- #### ⚙️ Parameters
5679
-
5680
- <dl>
5681
- <dd>
5682
-
5683
- <dl>
5684
- <dd>
5685
-
5686
- **stepId:** `string`
5687
-
5688
- </dd>
5689
- </dl>
5690
-
5691
- <dl>
5692
- <dd>
5693
-
5694
- **requestOptions:** `Steps.RequestOptions`
5695
-
5696
- </dd>
5697
- </dl>
5698
- </dd>
5699
- </dl>
5700
-
5701
- </dd>
5702
- </dl>
5703
- </details>
5704
-
5705
5657
  ## Tags
5706
5658
 
5707
5659
  <details><summary><code>client.tags.<a href="/src/api/resources/tags/client/Client.ts">list</a>({ ...params }) -> string[]</code></summary>
@@ -5716,7 +5668,7 @@ await client.steps.retrieveStepMetrics("step_id");
5716
5668
  <dl>
5717
5669
  <dd>
5718
5670
 
5719
- Get a list of all tags in the database
5671
+ Get a list of all agent tags in the database.
5720
5672
 
5721
5673
  </dd>
5722
5674
  </dl>
@@ -5819,7 +5771,7 @@ await client.telemetry.retrieveProviderTrace("step_id");
5819
5771
 
5820
5772
  ## Batches
5821
5773
 
5822
- <details><summary><code>client.batches.<a href="/src/api/resources/batches/client/Client.ts">list</a>() -> Letta.BatchJob[]</code></summary>
5774
+ <details><summary><code>client.batches.<a href="/src/api/resources/batches/client/Client.ts">list</a>({ ...params }) -> Letta.BatchJob[]</code></summary>
5823
5775
  <dl>
5824
5776
  <dd>
5825
5777
 
@@ -5863,6 +5815,14 @@ await client.batches.list();
5863
5815
  <dl>
5864
5816
  <dd>
5865
5817
 
5818
+ **request:** `Letta.BatchesListRequest`
5819
+
5820
+ </dd>
5821
+ </dl>
5822
+
5823
+ <dl>
5824
+ <dd>
5825
+
5866
5826
  **requestOptions:** `Batches.RequestOptions`
5867
5827
 
5868
5828
  </dd>
@@ -5886,8 +5846,10 @@ await client.batches.list();
5886
5846
  <dl>
5887
5847
  <dd>
5888
5848
 
5889
- Submit a batch of agent messages for asynchronous processing.
5849
+ Submit a batch of agent runs for asynchronous processing.
5850
+
5890
5851
  Creates a job that will fan out messages to all listed agents and process them in parallel.
5852
+ The request will be rejected if it exceeds 256MB.
5891
5853
 
5892
5854
  </dd>
5893
5855
  </dl>
@@ -5967,7 +5929,7 @@ await client.batches.create({
5967
5929
  <dl>
5968
5930
  <dd>
5969
5931
 
5970
- Get the status of a batch run.
5932
+ Retrieve the status and details of a batch run.
5971
5933
 
5972
5934
  </dd>
5973
5935
  </dl>
@@ -11379,6 +11341,121 @@ await client.sources.passages.list("source_id");
11379
11341
  </dl>
11380
11342
  </details>
11381
11343
 
11344
+ ## Steps Metrics
11345
+
11346
+ <details><summary><code>client.steps.metrics.<a href="/src/api/resources/steps/resources/metrics/client/Client.ts">retrieve</a>(stepId) -> Letta.StepMetrics</code></summary>
11347
+ <dl>
11348
+ <dd>
11349
+
11350
+ #### 📝 Description
11351
+
11352
+ <dl>
11353
+ <dd>
11354
+
11355
+ <dl>
11356
+ <dd>
11357
+
11358
+ Get step metrics by step ID.
11359
+
11360
+ </dd>
11361
+ </dl>
11362
+ </dd>
11363
+ </dl>
11364
+
11365
+ #### 🔌 Usage
11366
+
11367
+ <dl>
11368
+ <dd>
11369
+
11370
+ <dl>
11371
+ <dd>
11372
+
11373
+ ```typescript
11374
+ await client.steps.metrics.retrieve("step_id");
11375
+ ```
11376
+
11377
+ </dd>
11378
+ </dl>
11379
+ </dd>
11380
+ </dl>
11381
+
11382
+ #### ⚙️ Parameters
11383
+
11384
+ <dl>
11385
+ <dd>
11386
+
11387
+ <dl>
11388
+ <dd>
11389
+
11390
+ **stepId:** `string`
11391
+
11392
+ </dd>
11393
+ </dl>
11394
+
11395
+ <dl>
11396
+ <dd>
11397
+
11398
+ **requestOptions:** `Metrics.RequestOptions`
11399
+
11400
+ </dd>
11401
+ </dl>
11402
+ </dd>
11403
+ </dl>
11404
+
11405
+ </dd>
11406
+ </dl>
11407
+ </details>
11408
+
11409
+ ## Steps Trace
11410
+
11411
+ <details><summary><code>client.steps.trace.<a href="/src/api/resources/steps/resources/trace/client/Client.ts">retrieve</a>(stepId) -> Letta.ProviderTrace | undefined</code></summary>
11412
+ <dl>
11413
+ <dd>
11414
+
11415
+ #### 🔌 Usage
11416
+
11417
+ <dl>
11418
+ <dd>
11419
+
11420
+ <dl>
11421
+ <dd>
11422
+
11423
+ ```typescript
11424
+ await client.steps.trace.retrieve("step_id");
11425
+ ```
11426
+
11427
+ </dd>
11428
+ </dl>
11429
+ </dd>
11430
+ </dl>
11431
+
11432
+ #### ⚙️ Parameters
11433
+
11434
+ <dl>
11435
+ <dd>
11436
+
11437
+ <dl>
11438
+ <dd>
11439
+
11440
+ **stepId:** `string`
11441
+
11442
+ </dd>
11443
+ </dl>
11444
+
11445
+ <dl>
11446
+ <dd>
11447
+
11448
+ **requestOptions:** `Trace.RequestOptions`
11449
+
11450
+ </dd>
11451
+ </dl>
11452
+ </dd>
11453
+ </dl>
11454
+
11455
+ </dd>
11456
+ </dl>
11457
+ </details>
11458
+
11382
11459
  ## Steps Feedback
11383
11460
 
11384
11461
  <details><summary><code>client.steps.feedback.<a href="/src/api/resources/steps/resources/feedback/client/Client.ts">create</a>(stepId, { ...params }) -> Letta.Step</code></summary>
@@ -11433,7 +11510,7 @@ await client.steps.feedback.create("step_id");
11433
11510
  <dl>
11434
11511
  <dd>
11435
11512
 
11436
- **request:** `Letta.steps.FeedbackCreateRequest`
11513
+ **request:** `Letta.steps.AddFeedbackRequest`
11437
11514
 
11438
11515
  </dd>
11439
11516
  </dl>
@@ -1,2 +1,3 @@
1
+ export * from "./types";
1
2
  export * from "./resources";
2
3
  export * from "./client";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./resources"), exports);
18
19
  __exportStar(require("./client"), exports);
@@ -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 BatchesListRequestOrder: core.serialization.Schema<serializers.BatchesListRequestOrder.Raw, Letta.BatchesListRequestOrder>;
8
+ export declare namespace BatchesListRequestOrder {
9
+ type Raw = "asc" | "desc";
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.BatchesListRequestOrder = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.BatchesListRequestOrder = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1 @@
1
+ export * from "./BatchesListRequestOrder";
@@ -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("./BatchesListRequestOrder"), exports);
@@ -8,13 +8,16 @@ export * as runs from "./runs";
8
8
  export * from "./runs/types";
9
9
  export * as steps from "./steps";
10
10
  export * from "./steps/types";
11
+ export * as tags from "./tags";
12
+ export * from "./tags/types";
13
+ export * as batches from "./batches";
14
+ export * from "./batches/types";
11
15
  export * as templates from "./templates";
12
16
  export * from "./templates/types";
13
17
  export * as clientSideAccessTokens from "./clientSideAccessTokens";
14
18
  export * from "./clientSideAccessTokens/types";
15
19
  export * as projects from "./projects";
16
20
  export * from "./projects/types";
17
- export * as batches from "./batches";
18
21
  export * as sources from "./sources";
19
22
  export * as folders from "./folders";
20
23
  export * as identities from "./identities";
@@ -23,7 +26,6 @@ export * as embeddingModels from "./embeddingModels";
23
26
  export * as blocks from "./blocks";
24
27
  export * as jobs from "./jobs";
25
28
  export * as providers from "./providers";
26
- export * as tags from "./tags";
27
29
  export * as telemetry from "./telemetry";
28
30
  export * as voice from "./voice";
29
31
  export * from "./tools/client/requests";