@letta-ai/letta-client 0.1.163 → 0.1.165

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 (240) hide show
  1. package/api/resources/agents/client/Client.d.ts +1 -1
  2. package/api/resources/agents/client/Client.js +11 -17
  3. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  6. package/api/resources/agents/resources/files/client/Client.js +3 -3
  7. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  8. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  9. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  10. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  11. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  15. package/api/resources/batches/client/Client.js +4 -4
  16. package/api/resources/blocks/client/Client.js +10 -7
  17. package/api/resources/blocks/client/requests/BlocksListRequest.d.ts +4 -0
  18. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  19. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  20. package/api/resources/embeddingModels/client/Client.js +1 -1
  21. package/api/resources/folders/client/Client.d.ts +5 -5
  22. package/api/resources/folders/client/Client.js +16 -16
  23. package/api/resources/folders/client/requests/index.d.ts +0 -2
  24. package/api/resources/folders/resources/files/client/Client.js +3 -3
  25. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  26. package/api/resources/groups/client/Client.js +6 -6
  27. package/api/resources/groups/client/requests/GroupCreate.d.ts +2 -0
  28. package/api/resources/groups/client/requests/GroupUpdate.d.ts +2 -0
  29. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  30. package/api/resources/health/client/Client.js +1 -1
  31. package/api/resources/identities/client/Client.js +7 -7
  32. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  33. package/api/resources/jobs/client/Client.js +5 -5
  34. package/api/resources/messages/client/Client.js +1 -1
  35. package/api/resources/models/client/Client.js +1 -1
  36. package/api/resources/projects/client/Client.js +1 -1
  37. package/api/resources/providers/client/Client.js +5 -5
  38. package/api/resources/runs/client/Client.js +4 -4
  39. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  40. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  41. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  42. package/api/resources/sources/client/Client.d.ts +2 -2
  43. package/api/resources/sources/client/Client.js +13 -13
  44. package/api/resources/sources/client/requests/index.d.ts +0 -2
  45. package/api/resources/sources/resources/files/client/Client.js +3 -3
  46. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  47. package/api/resources/steps/client/Client.js +2 -2
  48. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  49. package/api/resources/tags/client/Client.js +1 -1
  50. package/api/resources/telemetry/client/Client.js +1 -1
  51. package/api/resources/templates/client/Client.js +1 -1
  52. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  53. package/api/resources/tools/client/Client.d.ts +32 -2
  54. package/api/resources/tools/client/Client.js +165 -27
  55. package/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +25 -0
  56. package/api/resources/tools/client/requests/index.d.ts +1 -0
  57. package/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
  58. package/api/resources/tools/types/index.d.ts +1 -0
  59. package/api/resources/tools/types/index.js +1 -0
  60. package/api/resources/voice/client/Client.js +1 -1
  61. package/api/types/Block.d.ts +2 -0
  62. package/api/types/BlockUpdate.d.ts +2 -0
  63. package/api/types/CreateBlock.d.ts +2 -0
  64. package/api/types/FileBlock.d.ts +2 -0
  65. package/api/types/Folder.d.ts +1 -1
  66. package/api/types/Group.d.ts +2 -0
  67. package/{dist/api/resources/sources/client/requests → api/types}/SourceCreate.d.ts +2 -5
  68. package/{dist/api/resources/sources/client/requests → api/types}/SourceUpdate.d.ts +2 -3
  69. package/api/types/index.d.ts +2 -0
  70. package/api/types/index.js +2 -0
  71. package/dist/api/resources/agents/client/Client.d.ts +1 -1
  72. package/dist/api/resources/agents/client/Client.js +11 -17
  73. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  74. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  75. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  76. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  77. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  78. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  79. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  81. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  82. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  83. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  84. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  85. package/dist/api/resources/batches/client/Client.js +4 -4
  86. package/dist/api/resources/blocks/client/Client.js +10 -7
  87. package/dist/api/resources/blocks/client/requests/BlocksListRequest.d.ts +4 -0
  88. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  89. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  90. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  91. package/dist/api/resources/folders/client/Client.d.ts +5 -5
  92. package/dist/api/resources/folders/client/Client.js +16 -16
  93. package/dist/api/resources/folders/client/requests/index.d.ts +0 -2
  94. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  95. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  96. package/dist/api/resources/groups/client/Client.js +6 -6
  97. package/dist/api/resources/groups/client/requests/GroupCreate.d.ts +2 -0
  98. package/dist/api/resources/groups/client/requests/GroupUpdate.d.ts +2 -0
  99. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  100. package/dist/api/resources/health/client/Client.js +1 -1
  101. package/dist/api/resources/identities/client/Client.js +7 -7
  102. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  103. package/dist/api/resources/jobs/client/Client.js +5 -5
  104. package/dist/api/resources/messages/client/Client.js +1 -1
  105. package/dist/api/resources/models/client/Client.js +1 -1
  106. package/dist/api/resources/projects/client/Client.js +1 -1
  107. package/dist/api/resources/providers/client/Client.js +5 -5
  108. package/dist/api/resources/runs/client/Client.js +4 -4
  109. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  110. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  111. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  112. package/dist/api/resources/sources/client/Client.d.ts +2 -2
  113. package/dist/api/resources/sources/client/Client.js +13 -13
  114. package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
  115. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  116. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  117. package/dist/api/resources/steps/client/Client.js +2 -2
  118. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  119. package/dist/api/resources/tags/client/Client.js +1 -1
  120. package/dist/api/resources/telemetry/client/Client.js +1 -1
  121. package/dist/api/resources/templates/client/Client.js +1 -1
  122. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  123. package/dist/api/resources/tools/client/Client.d.ts +32 -2
  124. package/dist/api/resources/tools/client/Client.js +165 -27
  125. package/dist/api/resources/tools/client/requests/McpOauthCallbackRequest.d.ts +25 -0
  126. package/dist/api/resources/tools/client/requests/index.d.ts +1 -0
  127. package/dist/api/resources/tools/types/ConnectMcpServerRequest.d.ts +5 -0
  128. package/dist/api/resources/tools/types/index.d.ts +1 -0
  129. package/dist/api/resources/tools/types/index.js +1 -0
  130. package/dist/api/resources/voice/client/Client.js +1 -1
  131. package/dist/api/types/Block.d.ts +2 -0
  132. package/dist/api/types/BlockUpdate.d.ts +2 -0
  133. package/dist/api/types/CreateBlock.d.ts +2 -0
  134. package/dist/api/types/FileBlock.d.ts +2 -0
  135. package/dist/api/types/Folder.d.ts +1 -1
  136. package/dist/api/types/Group.d.ts +2 -0
  137. package/{api/resources/sources/client/requests → dist/api/types}/SourceCreate.d.ts +2 -5
  138. package/{api/resources/sources/client/requests → dist/api/types}/SourceUpdate.d.ts +2 -3
  139. package/dist/api/types/index.d.ts +2 -0
  140. package/dist/api/types/index.js +2 -0
  141. package/dist/serialization/resources/folders/client/index.d.ts +0 -1
  142. package/dist/serialization/resources/folders/client/index.js +0 -4
  143. package/dist/serialization/resources/groups/client/requests/GroupCreate.d.ts +1 -0
  144. package/dist/serialization/resources/groups/client/requests/GroupCreate.js +1 -0
  145. package/dist/serialization/resources/groups/client/requests/GroupUpdate.d.ts +1 -0
  146. package/dist/serialization/resources/groups/client/requests/GroupUpdate.js +1 -0
  147. package/dist/serialization/resources/index.d.ts +0 -2
  148. package/dist/serialization/resources/index.js +0 -2
  149. package/dist/serialization/resources/sources/client/index.d.ts +0 -1
  150. package/dist/serialization/resources/sources/client/index.js +0 -4
  151. package/dist/serialization/resources/tools/client/index.d.ts +0 -1
  152. package/dist/serialization/resources/tools/client/index.js +1 -2
  153. package/dist/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
  154. package/dist/serialization/resources/tools/{client/testMcpServer.js → types/ConnectMcpServerRequest.js} +5 -3
  155. package/dist/serialization/resources/tools/types/index.d.ts +1 -0
  156. package/dist/serialization/resources/tools/types/index.js +1 -0
  157. package/dist/serialization/types/Block.d.ts +1 -0
  158. package/dist/serialization/types/Block.js +1 -0
  159. package/dist/serialization/types/BlockUpdate.d.ts +1 -0
  160. package/dist/serialization/types/BlockUpdate.js +1 -0
  161. package/dist/serialization/types/CreateBlock.d.ts +1 -0
  162. package/dist/serialization/types/CreateBlock.js +1 -0
  163. package/dist/serialization/types/FileBlock.d.ts +1 -0
  164. package/dist/serialization/types/FileBlock.js +1 -0
  165. package/dist/serialization/types/Group.d.ts +1 -0
  166. package/dist/serialization/types/Group.js +1 -0
  167. package/dist/serialization/{resources/sources/client/requests → types}/SourceCreate.d.ts +5 -5
  168. package/dist/serialization/{resources/sources/client/requests → types}/SourceCreate.js +2 -2
  169. package/{serialization/resources/sources/client/requests → dist/serialization/types}/SourceUpdate.d.ts +5 -5
  170. package/dist/serialization/{resources/sources/client/requests → types}/SourceUpdate.js +2 -2
  171. package/dist/serialization/types/index.d.ts +2 -0
  172. package/dist/serialization/types/index.js +2 -0
  173. package/dist/version.d.ts +1 -1
  174. package/dist/version.js +1 -1
  175. package/package.json +1 -1
  176. package/reference.md +146 -7
  177. package/serialization/resources/folders/client/index.d.ts +0 -1
  178. package/serialization/resources/folders/client/index.js +0 -4
  179. package/serialization/resources/groups/client/requests/GroupCreate.d.ts +1 -0
  180. package/serialization/resources/groups/client/requests/GroupCreate.js +1 -0
  181. package/serialization/resources/groups/client/requests/GroupUpdate.d.ts +1 -0
  182. package/serialization/resources/groups/client/requests/GroupUpdate.js +1 -0
  183. package/serialization/resources/index.d.ts +0 -2
  184. package/serialization/resources/index.js +0 -2
  185. package/serialization/resources/sources/client/index.d.ts +0 -1
  186. package/serialization/resources/sources/client/index.js +0 -4
  187. package/serialization/resources/tools/client/index.d.ts +0 -1
  188. package/serialization/resources/tools/client/index.js +1 -2
  189. package/serialization/resources/tools/types/ConnectMcpServerRequest.d.ts +13 -0
  190. package/serialization/resources/tools/{client/testMcpServer.js → types/ConnectMcpServerRequest.js} +5 -3
  191. package/serialization/resources/tools/types/index.d.ts +1 -0
  192. package/serialization/resources/tools/types/index.js +1 -0
  193. package/serialization/types/Block.d.ts +1 -0
  194. package/serialization/types/Block.js +1 -0
  195. package/serialization/types/BlockUpdate.d.ts +1 -0
  196. package/serialization/types/BlockUpdate.js +1 -0
  197. package/serialization/types/CreateBlock.d.ts +1 -0
  198. package/serialization/types/CreateBlock.js +1 -0
  199. package/serialization/types/FileBlock.d.ts +1 -0
  200. package/serialization/types/FileBlock.js +1 -0
  201. package/serialization/types/Group.d.ts +1 -0
  202. package/serialization/types/Group.js +1 -0
  203. package/serialization/{resources/sources/client/requests → types}/SourceCreate.d.ts +5 -5
  204. package/serialization/{resources/sources/client/requests → types}/SourceCreate.js +2 -2
  205. package/{dist/serialization/resources/sources/client/requests → serialization/types}/SourceUpdate.d.ts +5 -5
  206. package/serialization/{resources/sources/client/requests → types}/SourceUpdate.js +2 -2
  207. package/serialization/types/index.d.ts +2 -0
  208. package/serialization/types/index.js +2 -0
  209. package/version.d.ts +1 -1
  210. package/version.js +1 -1
  211. package/api/resources/folders/client/requests/FolderCreate.d.ts +0 -26
  212. package/api/resources/folders/client/requests/FolderUpdate.d.ts +0 -20
  213. package/dist/api/resources/folders/client/requests/FolderCreate.d.ts +0 -26
  214. package/dist/api/resources/folders/client/requests/FolderUpdate.d.ts +0 -20
  215. package/dist/serialization/resources/folders/client/requests/FolderCreate.d.ts +0 -19
  216. package/dist/serialization/resources/folders/client/requests/FolderCreate.js +0 -50
  217. package/dist/serialization/resources/folders/client/requests/FolderUpdate.d.ts +0 -17
  218. package/dist/serialization/resources/folders/client/requests/FolderUpdate.js +0 -48
  219. package/dist/serialization/resources/folders/client/requests/index.d.ts +0 -2
  220. package/dist/serialization/resources/folders/client/requests/index.js +0 -7
  221. package/dist/serialization/resources/sources/client/requests/index.d.ts +0 -2
  222. package/dist/serialization/resources/sources/client/requests/index.js +0 -7
  223. package/dist/serialization/resources/tools/client/testMcpServer.d.ts +0 -11
  224. package/serialization/resources/folders/client/requests/FolderCreate.d.ts +0 -19
  225. package/serialization/resources/folders/client/requests/FolderCreate.js +0 -50
  226. package/serialization/resources/folders/client/requests/FolderUpdate.d.ts +0 -17
  227. package/serialization/resources/folders/client/requests/FolderUpdate.js +0 -48
  228. package/serialization/resources/folders/client/requests/index.d.ts +0 -2
  229. package/serialization/resources/folders/client/requests/index.js +0 -7
  230. package/serialization/resources/sources/client/requests/index.d.ts +0 -2
  231. package/serialization/resources/sources/client/requests/index.js +0 -7
  232. package/serialization/resources/tools/client/testMcpServer.d.ts +0 -11
  233. /package/api/resources/{folders/client/requests/FolderCreate.js → tools/client/requests/McpOauthCallbackRequest.js} +0 -0
  234. /package/api/resources/{folders/client/requests/FolderUpdate.js → tools/types/ConnectMcpServerRequest.js} +0 -0
  235. /package/api/{resources/sources/client/requests → types}/SourceCreate.js +0 -0
  236. /package/api/{resources/sources/client/requests → types}/SourceUpdate.js +0 -0
  237. /package/dist/api/resources/{folders/client/requests/FolderCreate.js → tools/client/requests/McpOauthCallbackRequest.js} +0 -0
  238. /package/dist/api/resources/{folders/client/requests/FolderUpdate.js → tools/types/ConnectMcpServerRequest.js} +0 -0
  239. /package/dist/api/{resources/sources/client/requests → types}/SourceCreate.js +0 -0
  240. /package/dist/api/{resources/sources/client/requests → types}/SourceUpdate.js +0 -0
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Response = void 0;
39
+ exports.ConnectMcpServerRequest = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
- const McpTool_1 = require("../../../types/McpTool");
42
- exports.Response = core.serialization.list(McpTool_1.McpTool);
41
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
+ const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
+ const StreamableHttpServerConfig_1 = require("../../../types/StreamableHttpServerConfig");
44
+ exports.ConnectMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig, StreamableHttpServerConfig_1.StreamableHttpServerConfig]);
@@ -5,3 +5,4 @@ export * from "./DeleteMcpServerResponseItem";
5
5
  export * from "./UpdateMcpServerRequest";
6
6
  export * from "./UpdateMcpServerResponse";
7
7
  export * from "./TestMcpServerRequest";
8
+ export * from "./ConnectMcpServerRequest";
@@ -21,3 +21,4 @@ __exportStar(require("./DeleteMcpServerResponseItem"), exports);
21
21
  __exportStar(require("./UpdateMcpServerRequest"), exports);
22
22
  __exportStar(require("./UpdateMcpServerResponse"), exports);
23
23
  __exportStar(require("./TestMcpServerRequest"), exports);
24
+ __exportStar(require("./ConnectMcpServerRequest"), exports);
@@ -9,6 +9,7 @@ export declare namespace Block {
9
9
  interface Raw {
10
10
  value: string;
11
11
  limit?: number | null;
12
+ project_id?: string | null;
12
13
  name?: string | null;
13
14
  is_template?: boolean | null;
14
15
  preserve_on_migration?: boolean | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  exports.Block = core.serialization.object({
42
42
  value: core.serialization.string(),
43
43
  limit: core.serialization.number().optional(),
44
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
44
45
  name: core.serialization.string().optional(),
45
46
  isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
46
47
  preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
@@ -9,6 +9,7 @@ export declare namespace BlockUpdate {
9
9
  interface Raw {
10
10
  value?: string | null;
11
11
  limit?: number | null;
12
+ project_id?: string | null;
12
13
  name?: string | null;
13
14
  is_template?: boolean | null;
14
15
  preserve_on_migration?: boolean | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  exports.BlockUpdate = core.serialization.object({
42
42
  value: core.serialization.string().optional(),
43
43
  limit: core.serialization.number().optional(),
44
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
44
45
  name: core.serialization.string().optional(),
45
46
  isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
46
47
  preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
@@ -9,6 +9,7 @@ export declare namespace CreateBlock {
9
9
  interface Raw {
10
10
  value: string;
11
11
  limit?: number | null;
12
+ project_id?: string | null;
12
13
  name?: string | null;
13
14
  is_template?: boolean | null;
14
15
  preserve_on_migration?: boolean | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  exports.CreateBlock = core.serialization.object({
42
42
  value: core.serialization.string(),
43
43
  limit: core.serialization.number().optional(),
44
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
44
45
  name: core.serialization.string().optional(),
45
46
  isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
46
47
  preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
@@ -9,6 +9,7 @@ export declare namespace FileBlock {
9
9
  interface Raw {
10
10
  value: string;
11
11
  limit?: number | null;
12
+ project_id?: string | null;
12
13
  name?: string | null;
13
14
  is_template?: boolean | null;
14
15
  preserve_on_migration?: boolean | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  exports.FileBlock = core.serialization.object({
42
42
  value: core.serialization.string(),
43
43
  limit: core.serialization.number().optional(),
44
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
44
45
  name: core.serialization.string().optional(),
45
46
  isTemplate: core.serialization.property("is_template", core.serialization.boolean().optional()),
46
47
  preserveOnMigration: core.serialization.property("preserve_on_migration", core.serialization.boolean().optional()),
@@ -12,6 +12,7 @@ export declare namespace Group {
12
12
  manager_type: ManagerType.Raw;
13
13
  agent_ids: string[];
14
14
  description: string;
15
+ project_id?: string | null;
15
16
  shared_block_ids?: string[] | null;
16
17
  manager_agent_id?: string | null;
17
18
  termination_token?: string | null;
@@ -44,6 +44,7 @@ exports.Group = core.serialization.object({
44
44
  managerType: core.serialization.property("manager_type", ManagerType_1.ManagerType),
45
45
  agentIds: core.serialization.property("agent_ids", core.serialization.list(core.serialization.string())),
46
46
  description: core.serialization.string(),
47
+ projectId: core.serialization.property("project_id", core.serialization.string().optional()),
47
48
  sharedBlockIds: core.serialization.property("shared_block_ids", core.serialization.list(core.serialization.string()).optional()),
48
49
  managerAgentId: core.serialization.property("manager_agent_id", core.serialization.string().optional()),
49
50
  terminationToken: core.serialization.property("termination_token", core.serialization.string().optional()),
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../index";
5
- import * as Letta from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const SourceCreate: core.serialization.Schema<serializers.SourceCreate.Raw, Letta.SourceCreate>;
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EmbeddingConfig } from "./EmbeddingConfig";
8
+ export declare const SourceCreate: core.serialization.ObjectSchema<serializers.SourceCreate.Raw, Letta.SourceCreate>;
9
9
  export declare namespace SourceCreate {
10
10
  interface Raw {
11
11
  name: string;
@@ -37,8 +37,8 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SourceCreate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
40
+ const core = __importStar(require("../../core"));
41
+ const EmbeddingConfig_1 = require("./EmbeddingConfig");
42
42
  exports.SourceCreate = core.serialization.object({
43
43
  name: core.serialization.string(),
44
44
  description: core.serialization.string().optional(),
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../../index";
5
- import * as Letta from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const SourceUpdate: core.serialization.Schema<serializers.SourceUpdate.Raw, Letta.SourceUpdate>;
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EmbeddingConfig } from "./EmbeddingConfig";
8
+ export declare const SourceUpdate: core.serialization.ObjectSchema<serializers.SourceUpdate.Raw, Letta.SourceUpdate>;
9
9
  export declare namespace SourceUpdate {
10
10
  interface Raw {
11
11
  name?: string | null;
@@ -37,8 +37,8 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SourceUpdate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
40
+ const core = __importStar(require("../../core"));
41
+ const EmbeddingConfig_1 = require("./EmbeddingConfig");
42
42
  exports.SourceUpdate = core.serialization.object({
43
43
  name: core.serialization.string().optional(),
44
44
  description: core.serialization.string().optional(),
@@ -195,7 +195,9 @@ export * from "./SandboxType";
195
195
  export * from "./SleeptimeManager";
196
196
  export * from "./SleeptimeManagerUpdate";
197
197
  export * from "./Source";
198
+ export * from "./SourceCreate";
198
199
  export * from "./SourceStats";
200
+ export * from "./SourceUpdate";
199
201
  export * from "./StdioServerConfig";
200
202
  export * from "./StepFeedback";
201
203
  export * from "./Step";
@@ -211,7 +211,9 @@ __exportStar(require("./SandboxType"), exports);
211
211
  __exportStar(require("./SleeptimeManager"), exports);
212
212
  __exportStar(require("./SleeptimeManagerUpdate"), exports);
213
213
  __exportStar(require("./Source"), exports);
214
+ __exportStar(require("./SourceCreate"), exports);
214
215
  __exportStar(require("./SourceStats"), exports);
216
+ __exportStar(require("./SourceUpdate"), exports);
215
217
  __exportStar(require("./StdioServerConfig"), exports);
216
218
  __exportStar(require("./StepFeedback"), exports);
217
219
  __exportStar(require("./Step"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.163";
1
+ export declare const SDK_VERSION = "0.1.165";
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.163";
4
+ exports.SDK_VERSION = "0.1.165";
@@ -1,26 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * name: "name"
9
- * }
10
- */
11
- export interface FolderCreate {
12
- /** The name of the folder. */
13
- name: string;
14
- /** The description of the folder. */
15
- description?: string;
16
- /** Instructions for how to use the folder. */
17
- instructions?: string;
18
- /** Metadata associated with the folder. */
19
- metadata?: Record<string, unknown>;
20
- /** The handle for the embedding config used by the folder. */
21
- embedding?: string;
22
- /** The chunk size of the embedding. */
23
- embeddingChunkSize?: number;
24
- /** (Legacy) The embedding configuration used by the folder. */
25
- embeddingConfig?: Letta.EmbeddingConfig;
26
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface FolderUpdate {
10
- /** The name of the folder. */
11
- name?: string;
12
- /** The description of the folder. */
13
- description?: string;
14
- /** Instructions for how to use the folder. */
15
- instructions?: string;
16
- /** Metadata associated with the folder. */
17
- metadata?: Record<string, unknown>;
18
- /** The embedding configuration used by the folder. */
19
- embeddingConfig?: Letta.EmbeddingConfig;
20
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * name: "name"
9
- * }
10
- */
11
- export interface FolderCreate {
12
- /** The name of the folder. */
13
- name: string;
14
- /** The description of the folder. */
15
- description?: string;
16
- /** Instructions for how to use the folder. */
17
- instructions?: string;
18
- /** Metadata associated with the folder. */
19
- metadata?: Record<string, unknown>;
20
- /** The handle for the embedding config used by the folder. */
21
- embedding?: string;
22
- /** The chunk size of the embedding. */
23
- embeddingChunkSize?: number;
24
- /** (Legacy) The embedding configuration used by the folder. */
25
- embeddingConfig?: Letta.EmbeddingConfig;
26
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Letta from "../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface FolderUpdate {
10
- /** The name of the folder. */
11
- name?: string;
12
- /** The description of the folder. */
13
- description?: string;
14
- /** Instructions for how to use the folder. */
15
- instructions?: string;
16
- /** Metadata associated with the folder. */
17
- metadata?: Record<string, unknown>;
18
- /** The embedding configuration used by the folder. */
19
- embeddingConfig?: Letta.EmbeddingConfig;
20
- }
@@ -1,19 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderCreate: core.serialization.Schema<serializers.FolderCreate.Raw, Letta.FolderCreate>;
9
- export declare namespace FolderCreate {
10
- interface Raw {
11
- name: string;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding?: string | null;
16
- embedding_chunk_size?: number | null;
17
- embedding_config?: EmbeddingConfig.Raw | null;
18
- }
19
- }
@@ -1,50 +0,0 @@
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.FolderCreate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderCreate = core.serialization.object({
43
- name: core.serialization.string(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embedding: core.serialization.string().optional(),
48
- embeddingChunkSize: core.serialization.property("embedding_chunk_size", core.serialization.number().optional()),
49
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
50
- });
@@ -1,17 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderUpdate: core.serialization.Schema<serializers.FolderUpdate.Raw, Letta.FolderUpdate>;
9
- export declare namespace FolderUpdate {
10
- interface Raw {
11
- name?: string | null;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding_config?: EmbeddingConfig.Raw | null;
16
- }
17
- }
@@ -1,48 +0,0 @@
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.FolderUpdate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderUpdate = core.serialization.object({
43
- name: core.serialization.string().optional(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
48
- });
@@ -1,2 +0,0 @@
1
- export { FolderUpdate } from "./FolderUpdate";
2
- export { FolderCreate } from "./FolderCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FolderCreate = exports.FolderUpdate = void 0;
4
- var FolderUpdate_1 = require("./FolderUpdate");
5
- Object.defineProperty(exports, "FolderUpdate", { enumerable: true, get: function () { return FolderUpdate_1.FolderUpdate; } });
6
- var FolderCreate_1 = require("./FolderCreate");
7
- Object.defineProperty(exports, "FolderCreate", { enumerable: true, get: function () { return FolderCreate_1.FolderCreate; } });
@@ -1,2 +0,0 @@
1
- export { SourceUpdate } from "./SourceUpdate";
2
- export { SourceCreate } from "./SourceCreate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceCreate = exports.SourceUpdate = void 0;
4
- var SourceUpdate_1 = require("./SourceUpdate");
5
- Object.defineProperty(exports, "SourceUpdate", { enumerable: true, get: function () { return SourceUpdate_1.SourceUpdate; } });
6
- var SourceCreate_1 = require("./SourceCreate");
7
- Object.defineProperty(exports, "SourceCreate", { enumerable: true, get: function () { return SourceCreate_1.SourceCreate; } });
@@ -1,11 +0,0 @@
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 { McpTool } from "../../../types/McpTool";
8
- export declare const Response: core.serialization.Schema<serializers.tools.testMcpServer.Response.Raw, Letta.McpTool[]>;
9
- export declare namespace Response {
10
- type Raw = McpTool.Raw[];
11
- }
@@ -1,19 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderCreate: core.serialization.Schema<serializers.FolderCreate.Raw, Letta.FolderCreate>;
9
- export declare namespace FolderCreate {
10
- interface Raw {
11
- name: string;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding?: string | null;
16
- embedding_chunk_size?: number | null;
17
- embedding_config?: EmbeddingConfig.Raw | null;
18
- }
19
- }
@@ -1,50 +0,0 @@
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.FolderCreate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderCreate = core.serialization.object({
43
- name: core.serialization.string(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embedding: core.serialization.string().optional(),
48
- embeddingChunkSize: core.serialization.property("embedding_chunk_size", core.serialization.number().optional()),
49
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
50
- });
@@ -1,17 +0,0 @@
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 { EmbeddingConfig } from "../../../../types/EmbeddingConfig";
8
- export declare const FolderUpdate: core.serialization.Schema<serializers.FolderUpdate.Raw, Letta.FolderUpdate>;
9
- export declare namespace FolderUpdate {
10
- interface Raw {
11
- name?: string | null;
12
- description?: string | null;
13
- instructions?: string | null;
14
- metadata?: Record<string, unknown> | null;
15
- embedding_config?: EmbeddingConfig.Raw | null;
16
- }
17
- }
@@ -1,48 +0,0 @@
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.FolderUpdate = void 0;
40
- const core = __importStar(require("../../../../../core"));
41
- const EmbeddingConfig_1 = require("../../../../types/EmbeddingConfig");
42
- exports.FolderUpdate = core.serialization.object({
43
- name: core.serialization.string().optional(),
44
- description: core.serialization.string().optional(),
45
- instructions: core.serialization.string().optional(),
46
- metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
- embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig.optional()),
48
- });
@@ -1,2 +0,0 @@
1
- export { FolderUpdate } from "./FolderUpdate";
2
- export { FolderCreate } from "./FolderCreate";