@letta-ai/letta-client 0.1.172 → 0.1.174

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 (197) hide show
  1. package/api/resources/agents/client/Client.js +20 -18
  2. package/api/resources/agents/client/requests/AgentsListRequest.d.ts +1 -1
  3. package/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +6 -12
  4. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  5. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  6. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  7. package/api/resources/agents/resources/context/client/Client.js +1 -1
  8. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  9. package/api/resources/agents/resources/files/client/Client.js +3 -3
  10. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  11. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  12. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  13. package/api/resources/agents/resources/messages/client/Client.js +8 -8
  14. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  15. package/api/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +2 -2
  16. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  17. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  18. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  19. package/api/resources/batches/client/Client.js +4 -4
  20. package/api/resources/blocks/client/Client.js +6 -6
  21. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  22. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  23. package/api/resources/embeddingModels/client/Client.js +1 -1
  24. package/api/resources/folders/client/Client.js +9 -9
  25. package/api/resources/folders/resources/files/client/Client.js +3 -3
  26. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  27. package/api/resources/groups/client/Client.js +6 -6
  28. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  29. package/api/resources/health/client/Client.js +1 -1
  30. package/api/resources/identities/client/Client.js +7 -7
  31. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  32. package/api/resources/jobs/client/Client.js +5 -5
  33. package/api/resources/messages/client/Client.js +1 -1
  34. package/api/resources/models/client/Client.js +1 -1
  35. package/api/resources/projects/client/Client.js +1 -1
  36. package/api/resources/providers/client/Client.js +5 -5
  37. package/api/resources/runs/client/Client.js +4 -4
  38. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  39. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  40. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  41. package/api/resources/sources/client/Client.js +10 -10
  42. package/api/resources/sources/resources/files/client/Client.js +3 -3
  43. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  44. package/api/resources/steps/client/Client.js +2 -2
  45. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  46. package/api/resources/tags/client/Client.js +1 -1
  47. package/api/resources/telemetry/client/Client.js +1 -1
  48. package/api/resources/templates/client/Client.js +1 -1
  49. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  50. package/api/resources/tools/client/Client.js +20 -20
  51. package/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  52. package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  53. package/api/resources/voice/client/Client.js +1 -1
  54. package/api/types/AgentState.d.ts +2 -0
  55. package/api/types/EmbeddingConfig.d.ts +1 -11
  56. package/api/types/LlmConfig.d.ts +1 -11
  57. package/api/types/ModalSandboxConfig.d.ts +4 -0
  58. package/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
  59. package/api/types/ModalSandboxConfigLanguage.js +10 -0
  60. package/api/types/NpmRequirement.d.ts +9 -0
  61. package/api/types/NpmRequirement.js +5 -0
  62. package/api/types/Passage.d.ts +4 -4
  63. package/api/types/Tool.d.ts +2 -0
  64. package/api/types/ToolCreate.d.ts +2 -0
  65. package/api/types/ToolType.d.ts +2 -1
  66. package/api/types/ToolType.js +1 -0
  67. package/api/types/index.d.ts +2 -0
  68. package/api/types/index.js +2 -0
  69. package/dist/api/resources/agents/client/Client.js +20 -18
  70. package/dist/api/resources/agents/client/requests/AgentsListRequest.d.ts +1 -1
  71. package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.d.ts +6 -12
  72. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  73. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  74. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  75. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  76. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  77. package/dist/api/resources/agents/resources/files/client/Client.js +3 -3
  78. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  79. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/messages/client/Client.js +8 -8
  82. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  83. package/dist/api/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +2 -2
  84. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  85. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  86. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  87. package/dist/api/resources/batches/client/Client.js +4 -4
  88. package/dist/api/resources/blocks/client/Client.js +6 -6
  89. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  90. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  91. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  92. package/dist/api/resources/folders/client/Client.js +9 -9
  93. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  94. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  95. package/dist/api/resources/groups/client/Client.js +6 -6
  96. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  97. package/dist/api/resources/health/client/Client.js +1 -1
  98. package/dist/api/resources/identities/client/Client.js +7 -7
  99. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  100. package/dist/api/resources/jobs/client/Client.js +5 -5
  101. package/dist/api/resources/messages/client/Client.js +1 -1
  102. package/dist/api/resources/models/client/Client.js +1 -1
  103. package/dist/api/resources/projects/client/Client.js +1 -1
  104. package/dist/api/resources/providers/client/Client.js +5 -5
  105. package/dist/api/resources/runs/client/Client.js +4 -4
  106. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  107. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  108. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  109. package/dist/api/resources/sources/client/Client.js +10 -10
  110. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  111. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  112. package/dist/api/resources/steps/client/Client.js +2 -2
  113. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  114. package/dist/api/resources/tags/client/Client.js +1 -1
  115. package/dist/api/resources/telemetry/client/Client.js +1 -1
  116. package/dist/api/resources/templates/client/Client.js +1 -1
  117. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  118. package/dist/api/resources/tools/client/Client.js +20 -20
  119. package/dist/api/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  120. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  121. package/dist/api/resources/voice/client/Client.js +1 -1
  122. package/dist/api/types/AgentState.d.ts +2 -0
  123. package/dist/api/types/EmbeddingConfig.d.ts +1 -11
  124. package/dist/api/types/LlmConfig.d.ts +1 -11
  125. package/dist/api/types/ModalSandboxConfig.d.ts +4 -0
  126. package/dist/api/types/ModalSandboxConfigLanguage.d.ts +8 -0
  127. package/dist/api/types/ModalSandboxConfigLanguage.js +10 -0
  128. package/dist/api/types/NpmRequirement.d.ts +9 -0
  129. package/dist/api/types/NpmRequirement.js +5 -0
  130. package/dist/api/types/Passage.d.ts +4 -4
  131. package/dist/api/types/Tool.d.ts +2 -0
  132. package/dist/api/types/ToolCreate.d.ts +2 -0
  133. package/dist/api/types/ToolType.d.ts +2 -1
  134. package/dist/api/types/ToolType.js +1 -0
  135. package/dist/api/types/index.d.ts +2 -0
  136. package/dist/api/types/index.js +2 -0
  137. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  138. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  139. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  140. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  141. package/dist/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +1 -1
  142. package/dist/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.js +1 -1
  143. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  144. package/dist/serialization/resources/tools/client/requests/ToolRunFromSource.js +2 -0
  145. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  146. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +2 -0
  147. package/dist/serialization/types/AgentState.d.ts +1 -0
  148. package/dist/serialization/types/AgentState.js +1 -0
  149. package/dist/serialization/types/ModalSandboxConfig.d.ts +3 -0
  150. package/dist/serialization/types/ModalSandboxConfig.js +3 -0
  151. package/dist/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
  152. package/dist/serialization/types/ModalSandboxConfigLanguage.js +41 -0
  153. package/dist/serialization/types/NpmRequirement.d.ts +13 -0
  154. package/dist/serialization/types/NpmRequirement.js +44 -0
  155. package/dist/serialization/types/Passage.d.ts +1 -1
  156. package/dist/serialization/types/Passage.js +1 -1
  157. package/dist/serialization/types/Tool.d.ts +2 -0
  158. package/dist/serialization/types/Tool.js +2 -0
  159. package/dist/serialization/types/ToolCreate.d.ts +2 -0
  160. package/dist/serialization/types/ToolCreate.js +2 -0
  161. package/dist/serialization/types/ToolType.d.ts +1 -1
  162. package/dist/serialization/types/ToolType.js +1 -0
  163. package/dist/serialization/types/index.d.ts +2 -0
  164. package/dist/serialization/types/index.js +2 -0
  165. package/dist/version.d.ts +1 -1
  166. package/dist/version.js +1 -1
  167. package/package.json +1 -1
  168. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  169. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  170. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  171. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  172. package/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.d.ts +1 -1
  173. package/serialization/resources/agents/resources/passages/client/requests/PassageUpdate.js +1 -1
  174. package/serialization/resources/tools/client/requests/ToolRunFromSource.d.ts +2 -0
  175. package/serialization/resources/tools/client/requests/ToolRunFromSource.js +2 -0
  176. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  177. package/serialization/resources/tools/client/requests/ToolUpdate.js +2 -0
  178. package/serialization/types/AgentState.d.ts +1 -0
  179. package/serialization/types/AgentState.js +1 -0
  180. package/serialization/types/ModalSandboxConfig.d.ts +3 -0
  181. package/serialization/types/ModalSandboxConfig.js +3 -0
  182. package/serialization/types/ModalSandboxConfigLanguage.d.ts +10 -0
  183. package/serialization/types/ModalSandboxConfigLanguage.js +41 -0
  184. package/serialization/types/NpmRequirement.d.ts +13 -0
  185. package/serialization/types/NpmRequirement.js +44 -0
  186. package/serialization/types/Passage.d.ts +1 -1
  187. package/serialization/types/Passage.js +1 -1
  188. package/serialization/types/Tool.d.ts +2 -0
  189. package/serialization/types/Tool.js +2 -0
  190. package/serialization/types/ToolCreate.d.ts +2 -0
  191. package/serialization/types/ToolCreate.js +2 -0
  192. package/serialization/types/ToolType.d.ts +1 -1
  193. package/serialization/types/ToolType.js +1 -0
  194. package/serialization/types/index.d.ts +2 -0
  195. package/serialization/types/index.js +2 -0
  196. package/version.d.ts +1 -1
  197. package/version.js +1 -1
@@ -81,7 +81,7 @@ class Tools {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -157,7 +157,7 @@ class Tools {
157
157
  method: "DELETE",
158
158
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
159
159
  ? yield core.Supplier.get(this._options.project)
160
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -225,7 +225,7 @@ class Tools {
225
225
  method: "PATCH",
226
226
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
227
227
  ? yield core.Supplier.get(this._options.project)
228
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
229
  contentType: "application/json",
230
230
  requestType: "json",
231
231
  body: serializers.ToolUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -307,7 +307,7 @@ class Tools {
307
307
  method: "GET",
308
308
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
309
309
  ? yield core.Supplier.get(this._options.project)
310
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
310
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
311
311
  contentType: "application/json",
312
312
  queryParameters: _queryParams,
313
313
  requestType: "json",
@@ -395,7 +395,7 @@ class Tools {
395
395
  method: "GET",
396
396
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
397
397
  ? yield core.Supplier.get(this._options.project)
398
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
398
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
399
399
  contentType: "application/json",
400
400
  queryParameters: _queryParams,
401
401
  requestType: "json",
@@ -474,7 +474,7 @@ class Tools {
474
474
  method: "POST",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
477
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
478
478
  contentType: "application/json",
479
479
  requestType: "json",
480
480
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -553,7 +553,7 @@ class Tools {
553
553
  method: "PUT",
554
554
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
555
555
  ? yield core.Supplier.get(this._options.project)
556
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
556
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
557
557
  contentType: "application/json",
558
558
  requestType: "json",
559
559
  body: serializers.ToolCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -629,7 +629,7 @@ class Tools {
629
629
  method: "POST",
630
630
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
631
631
  ? yield core.Supplier.get(this._options.project)
632
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
632
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
633
633
  contentType: "application/json",
634
634
  requestType: "json",
635
635
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -710,7 +710,7 @@ class Tools {
710
710
  method: "POST",
711
711
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
712
712
  ? yield core.Supplier.get(this._options.project)
713
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
713
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
714
714
  contentType: "application/json",
715
715
  requestType: "json",
716
716
  body: serializers.ToolRunFromSource.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -788,7 +788,7 @@ class Tools {
788
788
  method: "GET",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
792
792
  contentType: "application/json",
793
793
  requestType: "json",
794
794
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -864,7 +864,7 @@ class Tools {
864
864
  method: "GET",
865
865
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
866
866
  ? yield core.Supplier.get(this._options.project)
867
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
867
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
868
868
  contentType: "application/json",
869
869
  requestType: "json",
870
870
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -940,7 +940,7 @@ class Tools {
940
940
  method: "POST",
941
941
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
942
942
  ? yield core.Supplier.get(this._options.project)
943
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
943
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
944
944
  contentType: "application/json",
945
945
  requestType: "json",
946
946
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1017,7 +1017,7 @@ class Tools {
1017
1017
  method: "GET",
1018
1018
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1019
1019
  ? yield core.Supplier.get(this._options.project)
1020
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1020
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1021
1021
  contentType: "application/json",
1022
1022
  requestType: "json",
1023
1023
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1097,7 +1097,7 @@ class Tools {
1097
1097
  method: "PUT",
1098
1098
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1099
1099
  ? yield core.Supplier.get(this._options.project)
1100
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1100
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1101
1101
  contentType: "application/json",
1102
1102
  requestType: "json",
1103
1103
  body: serializers.AddMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1174,7 +1174,7 @@ class Tools {
1174
1174
  method: "GET",
1175
1175
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1176
1176
  ? yield core.Supplier.get(this._options.project)
1177
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1178
1178
  contentType: "application/json",
1179
1179
  requestType: "json",
1180
1180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1251,7 +1251,7 @@ class Tools {
1251
1251
  method: "POST",
1252
1252
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1253
1253
  ? yield core.Supplier.get(this._options.project)
1254
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1254
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1255
1255
  contentType: "application/json",
1256
1256
  requestType: "json",
1257
1257
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1327,7 +1327,7 @@ class Tools {
1327
1327
  method: "DELETE",
1328
1328
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1329
1329
  ? yield core.Supplier.get(this._options.project)
1330
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1330
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1331
1331
  contentType: "application/json",
1332
1332
  requestType: "json",
1333
1333
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1404,7 +1404,7 @@ class Tools {
1404
1404
  method: "PATCH",
1405
1405
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1406
1406
  ? yield core.Supplier.get(this._options.project)
1407
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1407
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1408
1408
  contentType: "application/json",
1409
1409
  requestType: "json",
1410
1410
  body: serializers.UpdateMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1486,7 +1486,7 @@ class Tools {
1486
1486
  method: "POST",
1487
1487
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1488
1488
  ? yield core.Supplier.get(this._options.project)
1489
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1489
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1490
1490
  contentType: "application/json",
1491
1491
  requestType: "json",
1492
1492
  body: serializers.TestMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1547,7 +1547,7 @@ class Tools {
1547
1547
  method: "POST",
1548
1548
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
1549
1549
  ? yield core.Supplier.get(this._options.project)
1550
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1550
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1551
1551
  contentType: "application/json",
1552
1552
  requestType: "json",
1553
1553
  body: serializers.ConnectMcpServerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -28,4 +28,6 @@ export interface ToolRunFromSource {
28
28
  jsonSchema?: Record<string, unknown>;
29
29
  /** Optional list of pip packages required by this tool. */
30
30
  pipRequirements?: Letta.PipRequirement[];
31
+ /** Optional list of npm packages required by this tool. */
32
+ npmRequirements?: Letta.NpmRequirement[];
31
33
  }
@@ -23,4 +23,6 @@ export interface ToolUpdate {
23
23
  returnCharLimit?: number;
24
24
  /** Optional list of pip packages required by this tool. */
25
25
  pipRequirements?: Letta.PipRequirement[];
26
+ /** Optional list of npm packages required by this tool. */
27
+ npmRequirements?: Letta.NpmRequirement[];
26
28
  }
@@ -85,7 +85,7 @@ class Voice {
85
85
  method: "POST",
86
86
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
87
87
  ? yield core.Supplier.get(this._options.project)
88
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "user-id": userId != null ? userId : undefined }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  requestType: "json",
91
91
  body: serializers.voice.createVoiceChatCompletions.Request.jsonOrThrow(_body, {
@@ -81,4 +81,6 @@ export interface AgentState {
81
81
  maxFilesOpen?: number;
82
82
  /** The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent. */
83
83
  perFileViewWindowCharLimit?: number;
84
+ /** If set to True, the agent will be hidden. */
85
+ hidden?: boolean;
84
86
  }
@@ -3,17 +3,7 @@
3
3
  */
4
4
  import * as Letta from "../index";
5
5
  /**
6
- * Embedding model configuration. This object specifies all the information necessary to access an embedding model to usage with Letta, except for secret keys.
7
- *
8
- * Attributes:
9
- * embedding_endpoint_type (str): The endpoint type for the model.
10
- * embedding_endpoint (str): The endpoint for the model.
11
- * embedding_model (str): The model for the embedding.
12
- * embedding_dim (int): The dimension of the embedding.
13
- * embedding_chunk_size (int): The chunk size of the embedding.
14
- * azure_endpoint (:obj:`str`, optional): The Azure endpoint for the model (Azure only).
15
- * azure_version (str): The Azure version for the model (Azure only).
16
- * azure_deployment (str): The Azure deployment for the model (Azure only).
6
+ * Configuration for embedding model connection and processing parameters.
17
7
  */
18
8
  export interface EmbeddingConfig {
19
9
  /** The endpoint type for the model. */
@@ -3,17 +3,7 @@
3
3
  */
4
4
  import * as Letta from "../index";
5
5
  /**
6
- * Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
7
- *
8
- * Attributes:
9
- * model (str): The name of the LLM model.
10
- * model_endpoint_type (str): The endpoint type for the model.
11
- * model_endpoint (str): The endpoint for the model.
12
- * model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
13
- * context_window (int): The context window size for the model.
14
- * put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
15
- * temperature (float): The temperature to use when generating text with the model. A higher temperature will result in more random text.
16
- * max_tokens (int): The maximum number of tokens to generate.
6
+ * Configuration for Language Model (LLM) connection and generation parameters.
17
7
  */
18
8
  export interface LlmConfig {
19
9
  /** LLM model name. */
@@ -1,9 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Letta from "../index";
4
5
  export interface ModalSandboxConfig {
5
6
  /** Time limit for the sandbox (in seconds). */
6
7
  timeout?: number;
7
8
  /** A list of pip packages to install in the Modal sandbox */
8
9
  pipRequirements?: string[];
10
+ /** A list of npm packages to install in the Modal sandbox */
11
+ npmRequirements?: string[];
12
+ language?: Letta.ModalSandboxConfigLanguage;
9
13
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ModalSandboxConfigLanguage = "python" | "typescript";
5
+ export declare const ModalSandboxConfigLanguage: {
6
+ readonly Python: "python";
7
+ readonly Typescript: "typescript";
8
+ };
@@ -0,0 +1,10 @@
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.ModalSandboxConfigLanguage = void 0;
7
+ exports.ModalSandboxConfigLanguage = {
8
+ Python: "python",
9
+ Typescript: "typescript",
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NpmRequirement {
5
+ /** Name of the npm package. */
6
+ name: string;
7
+ /** Optional version of the package, following semantic versioning. */
8
+ version?: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,8 +10,8 @@ import * as Letta from "../index";
10
10
  * embedding (List[float]): The embedding of the passage.
11
11
  * embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
12
12
  * created_at (datetime): The creation date of the passage.
13
- * user_id (str): The unique identifier of the user associated with the passage.
14
- * agent_id (str): The unique identifier of the agent associated with the passage.
13
+ * organization_id (str): The unique identifier of the organization associated with the passage.
14
+ * archive_id (str): The unique identifier of the archive containing this passage.
15
15
  * source_id (str): The data source of the passage.
16
16
  * file_id (str): The unique identifier of the file associated with the passage.
17
17
  */
@@ -26,8 +26,8 @@ export interface Passage {
26
26
  updatedAt?: Date;
27
27
  /** Whether this passage is deleted or not. */
28
28
  isDeleted?: boolean;
29
- /** The unique identifier of the agent associated with the passage. */
30
- agentId?: string;
29
+ /** The unique identifier of the archive containing this passage. */
30
+ archiveId?: string;
31
31
  /** The data source of the passage. */
32
32
  sourceId?: string;
33
33
  /** The unique identifier of the file associated with the passage. */
@@ -35,6 +35,8 @@ export interface Tool {
35
35
  returnCharLimit?: number;
36
36
  /** Optional list of pip packages required by this tool. */
37
37
  pipRequirements?: Letta.PipRequirement[];
38
+ /** Optional list of npm packages required by this tool. */
39
+ npmRequirements?: Letta.NpmRequirement[];
38
40
  /** The id of the user that made this Tool. */
39
41
  createdById?: string;
40
42
  /** The id of the user that made this Tool. */
@@ -19,4 +19,6 @@ export interface ToolCreate {
19
19
  returnCharLimit?: number;
20
20
  /** Optional list of pip packages required by this tool. */
21
21
  pipRequirements?: Letta.PipRequirement[];
22
+ /** Optional list of npm packages required by this tool. */
23
+ npmRequirements?: Letta.NpmRequirement[];
22
24
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ToolType = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "letta_builtin" | "letta_files_core" | "external_composio" | "external_mcp";
4
+ export type ToolType = "custom" | "letta_core" | "letta_memory_core" | "letta_multi_agent_core" | "letta_sleeptime_core" | "letta_voice_sleeptime_core" | "letta_builtin" | "letta_files_core" | "external_composio" | "external_langchain" | "external_mcp";
5
5
  export declare const ToolType: {
6
6
  readonly Custom: "custom";
7
7
  readonly LettaCore: "letta_core";
@@ -12,5 +12,6 @@ export declare const ToolType: {
12
12
  readonly LettaBuiltin: "letta_builtin";
13
13
  readonly LettaFilesCore: "letta_files_core";
14
14
  readonly ExternalComposio: "external_composio";
15
+ readonly ExternalLangchain: "external_langchain";
15
16
  readonly ExternalMcp: "external_mcp";
16
17
  };
@@ -14,5 +14,6 @@ exports.ToolType = {
14
14
  LettaBuiltin: "letta_builtin",
15
15
  LettaFilesCore: "letta_files_core",
16
16
  ExternalComposio: "external_composio",
17
+ ExternalLangchain: "external_langchain",
17
18
  ExternalMcp: "external_mcp",
18
19
  };
@@ -157,7 +157,9 @@ export * from "./MessageCreate";
157
157
  export * from "./MessageRole";
158
158
  export * from "./MessageSchema";
159
159
  export * from "./MessageType";
160
+ export * from "./ModalSandboxConfigLanguage";
160
161
  export * from "./ModalSandboxConfig";
162
+ export * from "./NpmRequirement";
161
163
  export * from "./OmittedReasoningContent";
162
164
  export * from "./Organization";
163
165
  export * from "./OrganizationCreate";
@@ -173,7 +173,9 @@ __exportStar(require("./MessageCreate"), exports);
173
173
  __exportStar(require("./MessageRole"), exports);
174
174
  __exportStar(require("./MessageSchema"), exports);
175
175
  __exportStar(require("./MessageType"), exports);
176
+ __exportStar(require("./ModalSandboxConfigLanguage"), exports);
176
177
  __exportStar(require("./ModalSandboxConfig"), exports);
178
+ __exportStar(require("./NpmRequirement"), exports);
177
179
  __exportStar(require("./OmittedReasoningContent"), exports);
178
180
  __exportStar(require("./Organization"), exports);
179
181
  __exportStar(require("./OrganizationCreate"), exports);
@@ -55,6 +55,7 @@ const Letta = __importStar(require("../../../index"));
55
55
  const url_join_1 = __importDefault(require("url-join"));
56
56
  const serializers = __importStar(require("../../../../serialization/index"));
57
57
  const errors = __importStar(require("../../../../errors/index"));
58
+ const json_1 = require("../../../../core/json");
58
59
  const Client_1 = require("../resources/context/client/Client");
59
60
  const Client_2 = require("../resources/tools/client/Client");
60
61
  const Client_3 = require("../resources/sources/client/Client");
@@ -206,7 +207,7 @@ class Agents {
206
207
  method: "GET",
207
208
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
208
209
  ? yield core.Supplier.get(this._options.project)
209
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
211
  contentType: "application/json",
211
212
  queryParameters: _queryParams,
212
213
  requestType: "json",
@@ -283,7 +284,7 @@ class Agents {
283
284
  method: "POST",
284
285
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
285
286
  ? yield core.Supplier.get(this._options.project)
286
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
288
  contentType: "application/json",
288
289
  requestType: "json",
289
290
  body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -359,7 +360,7 @@ class Agents {
359
360
  method: "GET",
360
361
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
361
362
  ? yield core.Supplier.get(this._options.project)
362
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
363
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
363
364
  contentType: "application/json",
364
365
  requestType: "json",
365
366
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -435,7 +436,7 @@ class Agents {
435
436
  method: "GET",
436
437
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
437
438
  ? yield core.Supplier.get(this._options.project)
438
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
439
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
439
440
  contentType: "application/json",
440
441
  requestType: "json",
441
442
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -507,29 +508,30 @@ class Agents {
507
508
  __importFile(file, request, requestOptions) {
508
509
  return __awaiter(this, void 0, void 0, function* () {
509
510
  var _a, _b, _c;
510
- const _queryParams = {};
511
+ const _request = yield core.newFormData();
512
+ yield _request.appendFile("file", file);
511
513
  if (request.appendCopySuffix != null) {
512
- _queryParams["append_copy_suffix"] = request.appendCopySuffix.toString();
514
+ _request.append("append_copy_suffix", request.appendCopySuffix.toString());
513
515
  }
514
516
  if (request.overrideExistingTools != null) {
515
- _queryParams["override_existing_tools"] = request.overrideExistingTools.toString();
517
+ _request.append("override_existing_tools", request.overrideExistingTools.toString());
516
518
  }
517
519
  if (request.projectId != null) {
518
- _queryParams["project_id"] = request.projectId;
520
+ _request.append("project_id", request.projectId);
519
521
  }
520
522
  if (request.stripMessages != null) {
521
- _queryParams["strip_messages"] = request.stripMessages.toString();
523
+ _request.append("strip_messages", request.stripMessages.toString());
524
+ }
525
+ if (request.envVars != null) {
526
+ _request.append("env_vars", (0, json_1.toJson)(request.envVars));
522
527
  }
523
- const _request = yield core.newFormData();
524
- yield _request.appendFile("file", file);
525
528
  const _maybeEncodedRequest = yield _request.getRequest();
526
529
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
527
530
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, "v1/agents/import"),
528
531
  method: "POST",
529
532
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
530
533
  ? yield core.Supplier.get(this._options.project)
531
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
532
- queryParameters: _queryParams,
534
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
533
535
  requestType: "file",
534
536
  duplex: _maybeEncodedRequest.duplex,
535
537
  body: _maybeEncodedRequest.body,
@@ -617,7 +619,7 @@ class Agents {
617
619
  method: "GET",
618
620
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
619
621
  ? yield core.Supplier.get(this._options.project)
620
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
622
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
621
623
  contentType: "application/json",
622
624
  queryParameters: _queryParams,
623
625
  requestType: "json",
@@ -694,7 +696,7 @@ class Agents {
694
696
  method: "DELETE",
695
697
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
696
698
  ? yield core.Supplier.get(this._options.project)
697
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
699
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
698
700
  contentType: "application/json",
699
701
  requestType: "json",
700
702
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -762,7 +764,7 @@ class Agents {
762
764
  method: "PATCH",
763
765
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
764
766
  ? yield core.Supplier.get(this._options.project)
765
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
767
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
766
768
  contentType: "application/json",
767
769
  requestType: "json",
768
770
  body: serializers.UpdateAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -848,7 +850,7 @@ class Agents {
848
850
  method: "POST",
849
851
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
850
852
  ? yield core.Supplier.get(this._options.project)
851
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
853
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
852
854
  contentType: "application/json",
853
855
  queryParameters: _queryParams,
854
856
  requestType: "json",
@@ -916,7 +918,7 @@ class Agents {
916
918
  method: "POST",
917
919
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
918
920
  ? yield core.Supplier.get(this._options.project)
919
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.172", "User-Agent": "@letta-ai/letta-client/0.1.172", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
921
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.1.174", "User-Agent": "@letta-ai/letta-client/0.1.174", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
920
922
  contentType: "application/json",
921
923
  requestType: "json",
922
924
  body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -35,7 +35,7 @@ export interface AgentsListRequest {
35
35
  */
36
36
  queryText?: string;
37
37
  /**
38
- * Search agents by project ID
38
+ * Search agents by project ID - this will default to your default project on cloud
39
39
  */
40
40
  projectId?: string;
41
41
  /**
@@ -6,20 +6,14 @@
6
6
  * {}
7
7
  */
8
8
  export interface BodyImportAgentSerialized {
9
- /**
10
- * If set to True, appends "_copy" to the end of the agent name.
11
- */
9
+ /** If set to True, appends "_copy" to the end of the agent name. */
12
10
  appendCopySuffix?: boolean;
13
- /**
14
- * If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
15
- */
11
+ /** If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally. */
16
12
  overrideExistingTools?: boolean;
17
- /**
18
- * The project ID to associate the uploaded agent with.
19
- */
13
+ /** The project ID to associate the uploaded agent with. */
20
14
  projectId?: string;
21
- /**
22
- * If set to True, strips all messages from the agent before importing.
23
- */
15
+ /** If set to True, strips all messages from the agent before importing. */
24
16
  stripMessages?: boolean;
17
+ /** Environment variables to pass to the agent for tool execution. */
18
+ envVars?: Record<string, unknown>;
25
19
  }