@letta-ai/letta-client 0.1.62 → 0.1.64

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 (222) hide show
  1. package/api/resources/agents/client/Client.d.ts +7 -7
  2. package/api/resources/agents/client/Client.js +28 -22
  3. package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
  4. package/api/resources/agents/client/requests/index.d.ts +1 -1
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/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 +5 -5
  10. package/api/resources/agents/resources/passages/client/Client.js +3 -3
  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 +3 -3
  14. package/api/resources/blocks/client/Client.js +6 -6
  15. package/api/resources/groups/client/Client.js +7 -7
  16. package/api/resources/health/client/Client.js +1 -1
  17. package/api/resources/identities/client/Client.js +6 -6
  18. package/api/resources/jobs/client/Client.js +4 -4
  19. package/api/resources/models/client/Client.js +2 -2
  20. package/api/resources/providers/client/Client.js +4 -4
  21. package/api/resources/runs/client/Client.js +7 -7
  22. package/api/resources/sources/client/Client.js +6 -6
  23. package/api/resources/sources/resources/files/client/Client.js +3 -3
  24. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  25. package/api/resources/steps/client/Client.js +2 -2
  26. package/api/resources/tag/client/Client.js +1 -1
  27. package/api/resources/templates/client/Client.js +1 -1
  28. package/api/resources/tools/client/Client.d.ts +29 -1
  29. package/api/resources/tools/client/Client.js +150 -15
  30. package/api/resources/tools/types/AddMcpServerRequest.d.ts +5 -0
  31. package/api/resources/tools/types/AddMcpServerResponseItem.d.ts +5 -0
  32. package/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +5 -0
  33. package/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  34. package/api/resources/tools/types/index.d.ts +3 -0
  35. package/api/resources/tools/types/index.js +3 -0
  36. package/api/resources/voice/client/Client.js +1 -1
  37. package/api/types/AgentSchema.d.ts +27 -0
  38. package/api/types/AgentSchema.js +5 -0
  39. package/api/types/CoreMemoryBlockSchema.d.ts +16 -0
  40. package/api/types/CoreMemoryBlockSchema.js +5 -0
  41. package/api/types/McpServerType.d.ts +2 -2
  42. package/api/types/McpServerType.js +1 -1
  43. package/api/types/MessageSchema.d.ts +16 -0
  44. package/api/types/MessageSchema.js +5 -0
  45. package/api/types/ParameterProperties.d.ts +7 -0
  46. package/api/types/ParameterProperties.js +5 -0
  47. package/api/types/ParametersSchema.d.ts +9 -0
  48. package/api/types/ParametersSchema.js +5 -0
  49. package/api/types/{LocalServerConfig.d.ts → StdioServerConfig.d.ts} +3 -1
  50. package/api/types/StdioServerConfig.js +5 -0
  51. package/api/types/TagSchema.d.ts +6 -0
  52. package/api/types/TagSchema.js +5 -0
  53. package/api/types/ToolEnvVarSchema.d.ts +11 -0
  54. package/api/types/ToolEnvVarSchema.js +5 -0
  55. package/api/types/ToolJsonSchema.d.ts +11 -0
  56. package/api/types/ToolJsonSchema.js +5 -0
  57. package/api/types/ToolRuleSchema.d.ts +7 -0
  58. package/api/types/ToolRuleSchema.js +5 -0
  59. package/api/types/ToolSchema.d.ts +18 -0
  60. package/api/types/ToolSchema.js +5 -0
  61. package/api/types/index.d.ts +11 -1
  62. package/api/types/index.js +11 -1
  63. package/dist/api/resources/agents/client/Client.d.ts +7 -7
  64. package/dist/api/resources/agents/client/Client.js +28 -22
  65. package/dist/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
  66. package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.js +5 -0
  67. package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
  68. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  69. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  70. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  71. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  72. package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
  73. package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
  74. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  75. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  76. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  77. package/dist/api/resources/blocks/client/Client.js +6 -6
  78. package/dist/api/resources/groups/client/Client.js +7 -7
  79. package/dist/api/resources/health/client/Client.js +1 -1
  80. package/dist/api/resources/identities/client/Client.js +6 -6
  81. package/dist/api/resources/jobs/client/Client.js +4 -4
  82. package/dist/api/resources/models/client/Client.js +2 -2
  83. package/dist/api/resources/providers/client/Client.js +4 -4
  84. package/dist/api/resources/runs/client/Client.js +7 -7
  85. package/dist/api/resources/sources/client/Client.js +6 -6
  86. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  87. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  88. package/dist/api/resources/steps/client/Client.js +2 -2
  89. package/dist/api/resources/tag/client/Client.js +1 -1
  90. package/dist/api/resources/templates/client/Client.js +1 -1
  91. package/dist/api/resources/tools/client/Client.d.ts +29 -1
  92. package/dist/api/resources/tools/client/Client.js +150 -15
  93. package/dist/api/resources/tools/types/AddMcpServerRequest.d.ts +5 -0
  94. package/dist/api/resources/tools/types/AddMcpServerRequest.js +5 -0
  95. package/dist/api/resources/tools/types/AddMcpServerResponseItem.d.ts +5 -0
  96. package/dist/api/resources/tools/types/AddMcpServerResponseItem.js +5 -0
  97. package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.d.ts +5 -0
  98. package/dist/api/resources/tools/types/DeleteMcpServerResponseItem.js +5 -0
  99. package/dist/api/resources/tools/types/ListMcpServersResponseValue.d.ts +1 -1
  100. package/dist/api/resources/tools/types/index.d.ts +3 -0
  101. package/dist/api/resources/tools/types/index.js +3 -0
  102. package/dist/api/resources/voice/client/Client.js +1 -1
  103. package/dist/api/types/AgentSchema.d.ts +27 -0
  104. package/dist/api/types/AgentSchema.js +5 -0
  105. package/dist/api/types/CoreMemoryBlockSchema.d.ts +16 -0
  106. package/dist/api/types/CoreMemoryBlockSchema.js +5 -0
  107. package/dist/api/types/McpServerType.d.ts +2 -2
  108. package/dist/api/types/McpServerType.js +1 -1
  109. package/dist/api/types/MessageSchema.d.ts +16 -0
  110. package/dist/api/types/MessageSchema.js +5 -0
  111. package/dist/api/types/ParameterProperties.d.ts +7 -0
  112. package/dist/api/types/ParameterProperties.js +5 -0
  113. package/dist/api/types/ParametersSchema.d.ts +9 -0
  114. package/dist/api/types/ParametersSchema.js +5 -0
  115. package/dist/api/types/{LocalServerConfig.d.ts → StdioServerConfig.d.ts} +3 -1
  116. package/dist/api/types/StdioServerConfig.js +5 -0
  117. package/dist/api/types/TagSchema.d.ts +6 -0
  118. package/dist/api/types/TagSchema.js +5 -0
  119. package/dist/api/types/ToolEnvVarSchema.d.ts +11 -0
  120. package/dist/api/types/ToolEnvVarSchema.js +5 -0
  121. package/dist/api/types/ToolJsonSchema.d.ts +11 -0
  122. package/dist/api/types/ToolJsonSchema.js +5 -0
  123. package/dist/api/types/ToolRuleSchema.d.ts +7 -0
  124. package/dist/api/types/ToolRuleSchema.js +5 -0
  125. package/dist/api/types/ToolSchema.d.ts +18 -0
  126. package/dist/api/types/ToolSchema.js +5 -0
  127. package/dist/api/types/index.d.ts +11 -1
  128. package/dist/api/types/index.js +11 -1
  129. package/dist/serialization/resources/tools/client/addMcpServer.d.ts +11 -0
  130. package/dist/serialization/resources/tools/client/addMcpServer.js +42 -0
  131. package/dist/serialization/resources/tools/client/deleteMcpServer.d.ts +11 -0
  132. package/dist/serialization/resources/tools/client/deleteMcpServer.js +42 -0
  133. package/dist/serialization/resources/tools/client/index.d.ts +2 -0
  134. package/dist/serialization/resources/tools/client/index.js +3 -1
  135. package/dist/serialization/resources/tools/types/AddMcpServerRequest.d.ts +12 -0
  136. package/dist/serialization/resources/tools/types/AddMcpServerRequest.js +43 -0
  137. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +12 -0
  138. package/dist/serialization/resources/tools/types/AddMcpServerResponseItem.js +43 -0
  139. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +12 -0
  140. package/dist/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +43 -0
  141. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -2
  142. package/dist/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -2
  143. package/dist/serialization/resources/tools/types/index.d.ts +3 -0
  144. package/dist/serialization/resources/tools/types/index.js +3 -0
  145. package/dist/serialization/types/AgentSchema.d.ts +40 -0
  146. package/dist/serialization/types/AgentSchema.js +71 -0
  147. package/dist/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
  148. package/dist/serialization/types/CoreMemoryBlockSchema.js +53 -0
  149. package/dist/serialization/types/McpServerType.d.ts +1 -1
  150. package/dist/serialization/types/McpServerType.js +1 -1
  151. package/dist/serialization/types/MessageSchema.d.ts +22 -0
  152. package/dist/serialization/types/MessageSchema.js +53 -0
  153. package/dist/serialization/types/ParameterProperties.d.ts +13 -0
  154. package/dist/serialization/types/ParameterProperties.js +44 -0
  155. package/dist/serialization/types/ParametersSchema.d.ts +15 -0
  156. package/dist/serialization/types/ParametersSchema.js +46 -0
  157. package/dist/serialization/types/{LocalServerConfig.d.ts → StdioServerConfig.d.ts} +3 -2
  158. package/dist/serialization/types/{LocalServerConfig.js → StdioServerConfig.js} +3 -2
  159. package/dist/serialization/types/TagSchema.d.ts +12 -0
  160. package/dist/serialization/types/TagSchema.js +43 -0
  161. package/dist/serialization/types/ToolEnvVarSchema.d.ts +17 -0
  162. package/dist/serialization/types/ToolEnvVarSchema.js +48 -0
  163. package/dist/serialization/types/ToolJsonSchema.d.ts +17 -0
  164. package/dist/serialization/types/ToolJsonSchema.js +48 -0
  165. package/dist/serialization/types/ToolRuleSchema.d.ts +13 -0
  166. package/dist/serialization/types/ToolRuleSchema.js +44 -0
  167. package/dist/serialization/types/ToolSchema.d.ts +24 -0
  168. package/dist/serialization/types/ToolSchema.js +55 -0
  169. package/dist/serialization/types/index.d.ts +11 -1
  170. package/dist/serialization/types/index.js +11 -1
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/package.json +1 -1
  174. package/reference.md +138 -8
  175. package/serialization/resources/tools/client/addMcpServer.d.ts +11 -0
  176. package/serialization/resources/tools/client/addMcpServer.js +42 -0
  177. package/serialization/resources/tools/client/deleteMcpServer.d.ts +11 -0
  178. package/serialization/resources/tools/client/deleteMcpServer.js +42 -0
  179. package/serialization/resources/tools/client/index.d.ts +2 -0
  180. package/serialization/resources/tools/client/index.js +3 -1
  181. package/serialization/resources/tools/types/AddMcpServerRequest.d.ts +12 -0
  182. package/serialization/resources/tools/types/AddMcpServerRequest.js +43 -0
  183. package/serialization/resources/tools/types/AddMcpServerResponseItem.d.ts +12 -0
  184. package/serialization/resources/tools/types/AddMcpServerResponseItem.js +43 -0
  185. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.d.ts +12 -0
  186. package/serialization/resources/tools/types/DeleteMcpServerResponseItem.js +43 -0
  187. package/serialization/resources/tools/types/ListMcpServersResponseValue.d.ts +2 -2
  188. package/serialization/resources/tools/types/ListMcpServersResponseValue.js +2 -2
  189. package/serialization/resources/tools/types/index.d.ts +3 -0
  190. package/serialization/resources/tools/types/index.js +3 -0
  191. package/serialization/types/AgentSchema.d.ts +40 -0
  192. package/serialization/types/AgentSchema.js +71 -0
  193. package/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
  194. package/serialization/types/CoreMemoryBlockSchema.js +53 -0
  195. package/serialization/types/McpServerType.d.ts +1 -1
  196. package/serialization/types/McpServerType.js +1 -1
  197. package/serialization/types/MessageSchema.d.ts +22 -0
  198. package/serialization/types/MessageSchema.js +53 -0
  199. package/serialization/types/ParameterProperties.d.ts +13 -0
  200. package/serialization/types/ParameterProperties.js +44 -0
  201. package/serialization/types/ParametersSchema.d.ts +15 -0
  202. package/serialization/types/ParametersSchema.js +46 -0
  203. package/serialization/types/{LocalServerConfig.d.ts → StdioServerConfig.d.ts} +3 -2
  204. package/serialization/types/{LocalServerConfig.js → StdioServerConfig.js} +3 -2
  205. package/serialization/types/TagSchema.d.ts +12 -0
  206. package/serialization/types/TagSchema.js +43 -0
  207. package/serialization/types/ToolEnvVarSchema.d.ts +17 -0
  208. package/serialization/types/ToolEnvVarSchema.js +48 -0
  209. package/serialization/types/ToolJsonSchema.d.ts +17 -0
  210. package/serialization/types/ToolJsonSchema.js +48 -0
  211. package/serialization/types/ToolRuleSchema.d.ts +13 -0
  212. package/serialization/types/ToolRuleSchema.js +44 -0
  213. package/serialization/types/ToolSchema.d.ts +24 -0
  214. package/serialization/types/ToolSchema.js +55 -0
  215. package/serialization/types/index.d.ts +11 -1
  216. package/serialization/types/index.js +11 -1
  217. package/version.d.ts +1 -1
  218. package/version.js +1 -1
  219. /package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.js → BodyImportAgentSerialized.js} +0 -0
  220. /package/api/{types/LocalServerConfig.js → resources/tools/types/AddMcpServerRequest.js} +0 -0
  221. /package/{dist/api/resources/agents/client/requests/BodyUploadAgentSerialized.js → api/resources/tools/types/AddMcpServerResponseItem.js} +0 -0
  222. /package/{dist/api/types/LocalServerConfig.js → api/resources/tools/types/DeleteMcpServerResponseItem.js} +0 -0
@@ -0,0 +1,43 @@
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.AddMcpServerRequest = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
+ const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
+ exports.AddMcpServerRequest = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
@@ -0,0 +1,12 @@
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 { StdioServerConfig } from "../../../types/StdioServerConfig";
8
+ import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ export declare const AddMcpServerResponseItem: core.serialization.Schema<serializers.AddMcpServerResponseItem.Raw, Letta.AddMcpServerResponseItem>;
10
+ export declare namespace AddMcpServerResponseItem {
11
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
12
+ }
@@ -0,0 +1,43 @@
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.AddMcpServerResponseItem = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
+ const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
+ exports.AddMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
@@ -0,0 +1,12 @@
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 { StdioServerConfig } from "../../../types/StdioServerConfig";
8
+ import { SseServerConfig } from "../../../types/SseServerConfig";
9
+ export declare const DeleteMcpServerResponseItem: core.serialization.Schema<serializers.DeleteMcpServerResponseItem.Raw, Letta.DeleteMcpServerResponseItem>;
10
+ export declare namespace DeleteMcpServerResponseItem {
11
+ type Raw = StdioServerConfig.Raw | SseServerConfig.Raw;
12
+ }
@@ -0,0 +1,43 @@
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.DeleteMcpServerResponseItem = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
42
+ const SseServerConfig_1 = require("../../../types/SseServerConfig");
43
+ exports.DeleteMcpServerResponseItem = core.serialization.undiscriminatedUnion([StdioServerConfig_1.StdioServerConfig, SseServerConfig_1.SseServerConfig]);
@@ -5,8 +5,8 @@ import * as serializers from "../../../index";
5
5
  import * as Letta from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { SseServerConfig } from "../../../types/SseServerConfig";
8
- import { LocalServerConfig } from "../../../types/LocalServerConfig";
8
+ import { StdioServerConfig } from "../../../types/StdioServerConfig";
9
9
  export declare const ListMcpServersResponseValue: core.serialization.Schema<serializers.ListMcpServersResponseValue.Raw, Letta.ListMcpServersResponseValue>;
10
10
  export declare namespace ListMcpServersResponseValue {
11
- type Raw = SseServerConfig.Raw | LocalServerConfig.Raw;
11
+ type Raw = SseServerConfig.Raw | StdioServerConfig.Raw;
12
12
  }
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ListMcpServersResponseValue = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const SseServerConfig_1 = require("../../../types/SseServerConfig");
42
- const LocalServerConfig_1 = require("../../../types/LocalServerConfig");
43
- exports.ListMcpServersResponseValue = core.serialization.undiscriminatedUnion([SseServerConfig_1.SseServerConfig, LocalServerConfig_1.LocalServerConfig]);
42
+ const StdioServerConfig_1 = require("../../../types/StdioServerConfig");
43
+ exports.ListMcpServersResponseValue = core.serialization.undiscriminatedUnion([SseServerConfig_1.SseServerConfig, StdioServerConfig_1.StdioServerConfig]);
@@ -1 +1,4 @@
1
1
  export * from "./ListMcpServersResponseValue";
2
+ export * from "./AddMcpServerRequest";
3
+ export * from "./AddMcpServerResponseItem";
4
+ export * from "./DeleteMcpServerResponseItem";
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ListMcpServersResponseValue"), exports);
18
+ __exportStar(require("./AddMcpServerRequest"), exports);
19
+ __exportStar(require("./AddMcpServerResponseItem"), exports);
20
+ __exportStar(require("./DeleteMcpServerResponseItem"), exports);
@@ -0,0 +1,40 @@
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 { CoreMemoryBlockSchema } from "./CoreMemoryBlockSchema";
8
+ import { EmbeddingConfig } from "./EmbeddingConfig";
9
+ import { LlmConfig } from "./LlmConfig";
10
+ import { MessageSchema } from "./MessageSchema";
11
+ import { TagSchema } from "./TagSchema";
12
+ import { ToolEnvVarSchema } from "./ToolEnvVarSchema";
13
+ import { ToolRuleSchema } from "./ToolRuleSchema";
14
+ import { ToolSchema } from "./ToolSchema";
15
+ export declare const AgentSchema: core.serialization.ObjectSchema<serializers.AgentSchema.Raw, Letta.AgentSchema>;
16
+ export declare namespace AgentSchema {
17
+ interface Raw {
18
+ agent_type: string;
19
+ core_memory: CoreMemoryBlockSchema.Raw[];
20
+ created_at: string;
21
+ description: string;
22
+ embedding_config: EmbeddingConfig.Raw;
23
+ groups: unknown[];
24
+ identities: unknown[];
25
+ is_deleted: boolean;
26
+ llm_config: LlmConfig.Raw;
27
+ message_buffer_autoclear: boolean;
28
+ messages: MessageSchema.Raw[];
29
+ metadata_: Record<string, unknown>;
30
+ multi_agent_group?: unknown;
31
+ name: string;
32
+ system: string;
33
+ tags: TagSchema.Raw[];
34
+ tool_exec_environment_variables: ToolEnvVarSchema.Raw[];
35
+ tool_rules: ToolRuleSchema.Raw[];
36
+ tools: ToolSchema.Raw[];
37
+ updated_at: string;
38
+ version: string;
39
+ }
40
+ }
@@ -0,0 +1,71 @@
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.AgentSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const CoreMemoryBlockSchema_1 = require("./CoreMemoryBlockSchema");
42
+ const EmbeddingConfig_1 = require("./EmbeddingConfig");
43
+ const LlmConfig_1 = require("./LlmConfig");
44
+ const MessageSchema_1 = require("./MessageSchema");
45
+ const TagSchema_1 = require("./TagSchema");
46
+ const ToolEnvVarSchema_1 = require("./ToolEnvVarSchema");
47
+ const ToolRuleSchema_1 = require("./ToolRuleSchema");
48
+ const ToolSchema_1 = require("./ToolSchema");
49
+ exports.AgentSchema = core.serialization.object({
50
+ agentType: core.serialization.property("agent_type", core.serialization.string()),
51
+ coreMemory: core.serialization.property("core_memory", core.serialization.list(CoreMemoryBlockSchema_1.CoreMemoryBlockSchema)),
52
+ createdAt: core.serialization.property("created_at", core.serialization.string()),
53
+ description: core.serialization.string(),
54
+ embeddingConfig: core.serialization.property("embedding_config", EmbeddingConfig_1.EmbeddingConfig),
55
+ groups: core.serialization.list(core.serialization.unknown()),
56
+ identities: core.serialization.list(core.serialization.unknown()),
57
+ isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
58
+ llmConfig: core.serialization.property("llm_config", LlmConfig_1.LlmConfig),
59
+ messageBufferAutoclear: core.serialization.property("message_buffer_autoclear", core.serialization.boolean()),
60
+ messages: core.serialization.list(MessageSchema_1.MessageSchema),
61
+ metadata: core.serialization.property("metadata_", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
62
+ multiAgentGroup: core.serialization.property("multi_agent_group", core.serialization.unknown()),
63
+ name: core.serialization.string(),
64
+ system: core.serialization.string(),
65
+ tags: core.serialization.list(TagSchema_1.TagSchema),
66
+ toolExecEnvironmentVariables: core.serialization.property("tool_exec_environment_variables", core.serialization.list(ToolEnvVarSchema_1.ToolEnvVarSchema)),
67
+ toolRules: core.serialization.property("tool_rules", core.serialization.list(ToolRuleSchema_1.ToolRuleSchema)),
68
+ tools: core.serialization.list(ToolSchema_1.ToolSchema),
69
+ updatedAt: core.serialization.property("updated_at", core.serialization.string()),
70
+ version: core.serialization.string(),
71
+ });
@@ -0,0 +1,22 @@
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 CoreMemoryBlockSchema: core.serialization.ObjectSchema<serializers.CoreMemoryBlockSchema.Raw, Letta.CoreMemoryBlockSchema>;
8
+ export declare namespace CoreMemoryBlockSchema {
9
+ interface Raw {
10
+ created_at: string;
11
+ description?: string | null;
12
+ identities: unknown[];
13
+ is_deleted: boolean;
14
+ is_template: boolean;
15
+ label: string;
16
+ limit: number;
17
+ metadata_?: Record<string, unknown> | null;
18
+ template_name?: string | null;
19
+ updated_at: string;
20
+ value: string;
21
+ }
22
+ }
@@ -0,0 +1,53 @@
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.CoreMemoryBlockSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.CoreMemoryBlockSchema = core.serialization.object({
42
+ createdAt: core.serialization.property("created_at", core.serialization.string()),
43
+ description: core.serialization.string().optional(),
44
+ identities: core.serialization.list(core.serialization.unknown()),
45
+ isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
46
+ isTemplate: core.serialization.property("is_template", core.serialization.boolean()),
47
+ label: core.serialization.string(),
48
+ limit: core.serialization.number(),
49
+ metadata: core.serialization.property("metadata_", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
50
+ templateName: core.serialization.property("template_name", core.serialization.string().optional()),
51
+ updatedAt: core.serialization.property("updated_at", core.serialization.string()),
52
+ value: core.serialization.string(),
53
+ });
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const McpServerType: core.serialization.Schema<serializers.McpServerType.Raw, Letta.McpServerType>;
8
8
  export declare namespace McpServerType {
9
- type Raw = "sse" | "local";
9
+ type Raw = "sse" | "stdio";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.McpServerType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.McpServerType = core.serialization.enum_(["sse", "local"]);
41
+ exports.McpServerType = core.serialization.enum_(["sse", "stdio"]);
@@ -0,0 +1,22 @@
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 MessageSchema: core.serialization.ObjectSchema<serializers.MessageSchema.Raw, Letta.MessageSchema>;
8
+ export declare namespace MessageSchema {
9
+ interface Raw {
10
+ created_at: string;
11
+ group_id?: string | null;
12
+ in_context: boolean;
13
+ model?: string | null;
14
+ name?: string | null;
15
+ role: string;
16
+ text: string;
17
+ tool_call_id?: string | null;
18
+ tool_calls: unknown[];
19
+ tool_returns: unknown[];
20
+ updated_at: string;
21
+ }
22
+ }
@@ -0,0 +1,53 @@
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.MessageSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.MessageSchema = core.serialization.object({
42
+ createdAt: core.serialization.property("created_at", core.serialization.string()),
43
+ groupId: core.serialization.property("group_id", core.serialization.string().optional()),
44
+ inContext: core.serialization.property("in_context", core.serialization.boolean()),
45
+ model: core.serialization.string().optional(),
46
+ name: core.serialization.string().optional(),
47
+ role: core.serialization.string(),
48
+ text: core.serialization.string(),
49
+ toolCallId: core.serialization.property("tool_call_id", core.serialization.string().optional()),
50
+ toolCalls: core.serialization.property("tool_calls", core.serialization.list(core.serialization.unknown())),
51
+ toolReturns: core.serialization.property("tool_returns", core.serialization.list(core.serialization.unknown())),
52
+ updatedAt: core.serialization.property("updated_at", core.serialization.string()),
53
+ });
@@ -0,0 +1,13 @@
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 ParameterProperties: core.serialization.ObjectSchema<serializers.ParameterProperties.Raw, Letta.ParameterProperties>;
8
+ export declare namespace ParameterProperties {
9
+ interface Raw {
10
+ type: string;
11
+ description?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
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.ParameterProperties = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ParameterProperties = core.serialization.object({
42
+ type: core.serialization.string(),
43
+ description: core.serialization.string().optional(),
44
+ });
@@ -0,0 +1,15 @@
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 { ParameterProperties } from "./ParameterProperties";
8
+ export declare const ParametersSchema: core.serialization.ObjectSchema<serializers.ParametersSchema.Raw, Letta.ParametersSchema>;
9
+ export declare namespace ParametersSchema {
10
+ interface Raw {
11
+ type?: string | null;
12
+ properties: Record<string, ParameterProperties.Raw>;
13
+ required?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ParametersSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ParameterProperties_1 = require("./ParameterProperties");
42
+ exports.ParametersSchema = core.serialization.object({
43
+ type: core.serialization.string().optional(),
44
+ properties: core.serialization.record(core.serialization.string(), ParameterProperties_1.ParameterProperties),
45
+ required: core.serialization.list(core.serialization.string()).optional(),
46
+ });
@@ -5,12 +5,13 @@ import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { McpServerType } from "./McpServerType";
8
- export declare const LocalServerConfig: core.serialization.ObjectSchema<serializers.LocalServerConfig.Raw, Letta.LocalServerConfig>;
9
- export declare namespace LocalServerConfig {
8
+ export declare const StdioServerConfig: core.serialization.ObjectSchema<serializers.StdioServerConfig.Raw, Letta.StdioServerConfig>;
9
+ export declare namespace StdioServerConfig {
10
10
  interface Raw {
11
11
  server_name: string;
12
12
  type?: McpServerType.Raw | null;
13
13
  command: string;
14
14
  args: string[];
15
+ env?: Record<string, string | null | undefined> | null;
15
16
  }
16
17
  }
@@ -36,12 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LocalServerConfig = void 0;
39
+ exports.StdioServerConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const McpServerType_1 = require("./McpServerType");
42
- exports.LocalServerConfig = core.serialization.object({
42
+ exports.StdioServerConfig = core.serialization.object({
43
43
  serverName: core.serialization.property("server_name", core.serialization.string()),
44
44
  type: McpServerType_1.McpServerType.optional(),
45
45
  command: core.serialization.string(),
46
46
  args: core.serialization.list(core.serialization.string()),
47
+ env: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
47
48
  });
@@ -0,0 +1,12 @@
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 TagSchema: core.serialization.ObjectSchema<serializers.TagSchema.Raw, Letta.TagSchema>;
8
+ export declare namespace TagSchema {
9
+ interface Raw {
10
+ tag: string;
11
+ }
12
+ }