@letta-ai/letta-client 1.0.0-alpha.6 → 1.0.0-alpha.7

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 (949) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/LICENSE +1 -1
  3. package/README.md +105 -54
  4. package/client.d.mts +48 -71
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +48 -71
  7. package/client.d.ts.map +1 -1
  8. package/client.js +69 -93
  9. package/client.js.map +1 -1
  10. package/client.mjs +67 -91
  11. package/client.mjs.map +1 -1
  12. package/core/api-promise.d.mts +2 -2
  13. package/core/api-promise.d.mts.map +1 -1
  14. package/core/api-promise.d.ts +2 -2
  15. package/core/api-promise.d.ts.map +1 -1
  16. package/core/api-promise.js.map +1 -1
  17. package/core/api-promise.mjs.map +1 -1
  18. package/core/error.d.mts +2 -2
  19. package/core/error.d.mts.map +1 -1
  20. package/core/error.d.ts +2 -2
  21. package/core/error.d.ts.map +1 -1
  22. package/core/error.js +4 -4
  23. package/core/error.js.map +1 -1
  24. package/core/error.mjs +2 -2
  25. package/core/error.mjs.map +1 -1
  26. package/core/resource.d.mts +3 -3
  27. package/core/resource.d.mts.map +1 -1
  28. package/core/resource.d.ts +3 -3
  29. package/core/resource.d.ts.map +1 -1
  30. package/core/resource.js.map +1 -1
  31. package/core/resource.mjs.map +1 -1
  32. package/index.d.mts +3 -3
  33. package/index.d.mts.map +1 -1
  34. package/index.d.ts +3 -3
  35. package/index.d.ts.map +1 -1
  36. package/index.js +4 -4
  37. package/index.js.map +1 -1
  38. package/index.mjs +3 -3
  39. package/index.mjs.map +1 -1
  40. package/internal/parse.d.mts +2 -2
  41. package/internal/parse.d.mts.map +1 -1
  42. package/internal/parse.d.ts +2 -2
  43. package/internal/parse.d.ts.map +1 -1
  44. package/internal/parse.js.map +1 -1
  45. package/internal/parse.mjs.map +1 -1
  46. package/internal/shims.js +1 -1
  47. package/internal/shims.js.map +1 -1
  48. package/internal/shims.mjs +1 -1
  49. package/internal/shims.mjs.map +1 -1
  50. package/internal/uploads.d.mts +4 -4
  51. package/internal/uploads.d.mts.map +1 -1
  52. package/internal/uploads.d.ts +4 -4
  53. package/internal/uploads.d.ts.map +1 -1
  54. package/internal/uploads.js.map +1 -1
  55. package/internal/uploads.mjs.map +1 -1
  56. package/internal/utils/base64.js +2 -2
  57. package/internal/utils/base64.js.map +1 -1
  58. package/internal/utils/base64.mjs +3 -3
  59. package/internal/utils/base64.mjs.map +1 -1
  60. package/internal/utils/log.d.mts +3 -3
  61. package/internal/utils/log.d.mts.map +1 -1
  62. package/internal/utils/log.d.ts +3 -3
  63. package/internal/utils/log.d.ts.map +1 -1
  64. package/internal/utils/log.js.map +1 -1
  65. package/internal/utils/log.mjs.map +1 -1
  66. package/internal/utils/path.js +1 -1
  67. package/internal/utils/path.js.map +1 -1
  68. package/internal/utils/path.mjs +2 -2
  69. package/internal/utils/path.mjs.map +1 -1
  70. package/internal/utils/values.js +5 -5
  71. package/internal/utils/values.js.map +1 -1
  72. package/internal/utils/values.mjs +6 -6
  73. package/internal/utils/values.mjs.map +1 -1
  74. package/package.json +3 -3
  75. package/resources/agents/agents.d.mts +312 -245
  76. package/resources/agents/agents.d.mts.map +1 -1
  77. package/resources/agents/agents.d.ts +312 -245
  78. package/resources/agents/agents.d.ts.map +1 -1
  79. package/resources/agents/agents.js +12 -71
  80. package/resources/agents/agents.js.map +1 -1
  81. package/resources/agents/agents.mjs +13 -72
  82. package/resources/agents/agents.mjs.map +1 -1
  83. package/resources/agents/{core-memory/blocks.d.mts → blocks.d.mts} +41 -7
  84. package/resources/agents/blocks.d.mts.map +1 -0
  85. package/resources/agents/{core-memory/blocks.d.ts → blocks.d.ts} +41 -7
  86. package/resources/agents/blocks.d.ts.map +1 -0
  87. package/resources/agents/{core-memory/blocks.js → blocks.js} +4 -4
  88. package/resources/agents/blocks.js.map +1 -0
  89. package/resources/agents/{core-memory/blocks.mjs → blocks.mjs} +4 -4
  90. package/resources/agents/blocks.mjs.map +1 -0
  91. package/resources/agents/files.d.mts +30 -4
  92. package/resources/agents/files.d.mts.map +1 -1
  93. package/resources/agents/files.d.ts +30 -4
  94. package/resources/agents/files.d.ts.map +1 -1
  95. package/resources/agents/files.js +1 -1
  96. package/resources/agents/files.mjs +1 -1
  97. package/resources/agents/folders.d.mts +95 -4
  98. package/resources/agents/folders.d.mts.map +1 -1
  99. package/resources/agents/folders.d.ts +95 -4
  100. package/resources/agents/folders.d.ts.map +1 -1
  101. package/resources/agents/folders.js +2 -2
  102. package/resources/agents/folders.js.map +1 -1
  103. package/resources/agents/folders.mjs +2 -2
  104. package/resources/agents/folders.mjs.map +1 -1
  105. package/resources/agents/groups.d.mts +44 -0
  106. package/resources/agents/groups.d.mts.map +1 -0
  107. package/resources/agents/groups.d.ts +44 -0
  108. package/resources/agents/groups.d.ts.map +1 -0
  109. package/resources/agents/groups.js +16 -0
  110. package/resources/agents/groups.js.map +1 -0
  111. package/resources/agents/groups.mjs +12 -0
  112. package/resources/agents/groups.mjs.map +1 -0
  113. package/resources/agents/index.d.mts +6 -7
  114. package/resources/agents/index.d.mts.map +1 -1
  115. package/resources/agents/index.d.ts +6 -7
  116. package/resources/agents/index.d.ts.map +1 -1
  117. package/resources/agents/index.js +5 -7
  118. package/resources/agents/index.js.map +1 -1
  119. package/resources/agents/index.mjs +2 -3
  120. package/resources/agents/index.mjs.map +1 -1
  121. package/resources/agents/messages.d.mts +323 -251
  122. package/resources/agents/messages.d.mts.map +1 -1
  123. package/resources/agents/messages.d.ts +323 -251
  124. package/resources/agents/messages.d.ts.map +1 -1
  125. package/resources/agents/messages.js +16 -19
  126. package/resources/agents/messages.js.map +1 -1
  127. package/resources/agents/messages.mjs +16 -19
  128. package/resources/agents/messages.mjs.map +1 -1
  129. package/resources/agents/tools.d.mts +49 -11
  130. package/resources/agents/tools.d.mts.map +1 -1
  131. package/resources/agents/tools.d.ts +49 -11
  132. package/resources/agents/tools.d.ts.map +1 -1
  133. package/resources/agents/tools.js +11 -7
  134. package/resources/agents/tools.js.map +1 -1
  135. package/resources/agents/tools.mjs +11 -7
  136. package/resources/agents/tools.mjs.map +1 -1
  137. package/resources/archives.d.mts +31 -6
  138. package/resources/archives.d.mts.map +1 -1
  139. package/resources/archives.d.ts +31 -6
  140. package/resources/archives.d.ts.map +1 -1
  141. package/resources/archives.js +21 -2
  142. package/resources/archives.js.map +1 -1
  143. package/resources/archives.mjs +21 -2
  144. package/resources/archives.mjs.map +1 -1
  145. package/resources/{messages → batches}/batches.d.mts +24 -43
  146. package/resources/batches/batches.d.mts.map +1 -0
  147. package/resources/{messages → batches}/batches.d.ts +24 -43
  148. package/resources/batches/batches.d.ts.map +1 -0
  149. package/resources/{messages → batches}/batches.js +8 -6
  150. package/resources/batches/batches.js.map +1 -0
  151. package/resources/{messages → batches}/batches.mjs +7 -6
  152. package/resources/batches/batches.mjs.map +1 -0
  153. package/resources/batches/index.d.mts +3 -0
  154. package/resources/batches/index.d.mts.map +1 -0
  155. package/resources/batches/index.d.ts +3 -0
  156. package/resources/batches/index.d.ts.map +1 -0
  157. package/resources/batches/index.js.map +1 -0
  158. package/resources/batches/index.mjs.map +1 -0
  159. package/resources/batches/messages.d.mts +46 -0
  160. package/resources/batches/messages.d.mts.map +1 -0
  161. package/resources/batches/messages.d.ts +46 -0
  162. package/resources/batches/messages.d.ts.map +1 -0
  163. package/resources/batches/messages.js +16 -0
  164. package/resources/batches/messages.js.map +1 -0
  165. package/resources/batches/messages.mjs +12 -0
  166. package/resources/batches/messages.mjs.map +1 -0
  167. package/resources/batches.d.mts +2 -0
  168. package/resources/batches.d.mts.map +1 -0
  169. package/resources/batches.d.ts +2 -0
  170. package/resources/batches.d.ts.map +1 -0
  171. package/resources/{sources.js → batches.js} +2 -2
  172. package/resources/batches.js.map +1 -0
  173. package/resources/{tools/mcp/servers.mjs → batches.mjs} +2 -2
  174. package/resources/batches.mjs.map +1 -0
  175. package/resources/blocks/agents.d.mts +53 -0
  176. package/resources/blocks/agents.d.mts.map +1 -0
  177. package/resources/blocks/agents.d.ts +53 -0
  178. package/resources/blocks/agents.d.ts.map +1 -0
  179. package/resources/blocks/agents.js +17 -0
  180. package/resources/blocks/agents.js.map +1 -0
  181. package/resources/blocks/agents.mjs +13 -0
  182. package/resources/blocks/agents.mjs.map +1 -0
  183. package/resources/blocks/blocks.d.mts +296 -0
  184. package/resources/blocks/blocks.d.mts.map +1 -0
  185. package/resources/blocks/blocks.d.ts +296 -0
  186. package/resources/blocks/blocks.d.ts.map +1 -0
  187. package/resources/blocks/blocks.js +54 -0
  188. package/resources/blocks/blocks.js.map +1 -0
  189. package/resources/blocks/blocks.mjs +49 -0
  190. package/resources/blocks/blocks.mjs.map +1 -0
  191. package/resources/blocks/index.d.mts +3 -0
  192. package/resources/blocks/index.d.mts.map +1 -0
  193. package/resources/blocks/index.d.ts +3 -0
  194. package/resources/blocks/index.d.ts.map +1 -0
  195. package/resources/{agents/core-memory → blocks}/index.js +3 -3
  196. package/resources/blocks/index.js.map +1 -0
  197. package/resources/{agents/core-memory → blocks}/index.mjs +1 -1
  198. package/resources/blocks/index.mjs.map +1 -0
  199. package/resources/blocks.d.mts +1 -329
  200. package/resources/blocks.d.mts.map +1 -1
  201. package/resources/blocks.d.ts +1 -329
  202. package/resources/blocks.d.ts.map +1 -1
  203. package/resources/blocks.js +2 -49
  204. package/resources/blocks.js.map +1 -1
  205. package/resources/blocks.mjs +1 -47
  206. package/resources/blocks.mjs.map +1 -1
  207. package/resources/folders/agents.d.mts +39 -0
  208. package/resources/folders/agents.d.mts.map +1 -0
  209. package/resources/folders/agents.d.ts +39 -0
  210. package/resources/folders/agents.d.ts.map +1 -0
  211. package/resources/folders/agents.js +16 -0
  212. package/resources/folders/agents.js.map +1 -0
  213. package/resources/folders/agents.mjs +12 -0
  214. package/resources/folders/agents.mjs.map +1 -0
  215. package/resources/folders/files.d.mts +216 -0
  216. package/resources/folders/files.d.mts.map +1 -0
  217. package/resources/folders/files.d.ts +216 -0
  218. package/resources/folders/files.d.ts.map +1 -0
  219. package/resources/folders/files.js +35 -0
  220. package/resources/folders/files.js.map +1 -0
  221. package/resources/folders/files.mjs +31 -0
  222. package/resources/folders/files.mjs.map +1 -0
  223. package/resources/folders/folders.d.mts +183 -0
  224. package/resources/folders/folders.d.mts.map +1 -0
  225. package/resources/folders/folders.d.ts +183 -0
  226. package/resources/folders/folders.d.ts.map +1 -0
  227. package/resources/folders/folders.js +58 -0
  228. package/resources/folders/folders.js.map +1 -0
  229. package/resources/folders/folders.mjs +53 -0
  230. package/resources/folders/folders.mjs.map +1 -0
  231. package/resources/folders/index.d.mts +4 -0
  232. package/resources/folders/index.d.mts.map +1 -0
  233. package/resources/folders/index.d.ts +4 -0
  234. package/resources/folders/index.d.ts.map +1 -0
  235. package/resources/folders/index.js +11 -0
  236. package/resources/folders/index.js.map +1 -0
  237. package/resources/folders/index.mjs +5 -0
  238. package/resources/folders/index.mjs.map +1 -0
  239. package/resources/folders.d.mts +1 -319
  240. package/resources/folders.d.mts.map +1 -1
  241. package/resources/folders.d.ts +1 -319
  242. package/resources/folders.d.ts.map +1 -1
  243. package/resources/folders.js +2 -103
  244. package/resources/folders.js.map +1 -1
  245. package/resources/folders.mjs +1 -101
  246. package/resources/folders.mjs.map +1 -1
  247. package/resources/groups/groups.d.mts +3 -8
  248. package/resources/groups/groups.d.mts.map +1 -1
  249. package/resources/groups/groups.d.ts +3 -8
  250. package/resources/groups/groups.d.ts.map +1 -1
  251. package/resources/groups/groups.js +0 -6
  252. package/resources/groups/groups.js.map +1 -1
  253. package/resources/groups/groups.mjs +0 -6
  254. package/resources/groups/groups.mjs.map +1 -1
  255. package/resources/groups/index.d.mts +2 -2
  256. package/resources/groups/index.d.mts.map +1 -1
  257. package/resources/groups/index.d.ts +2 -2
  258. package/resources/groups/index.d.ts.map +1 -1
  259. package/resources/groups/index.js.map +1 -1
  260. package/resources/groups/index.mjs.map +1 -1
  261. package/resources/groups/messages.d.mts +37 -22
  262. package/resources/groups/messages.d.mts.map +1 -1
  263. package/resources/groups/messages.d.ts +37 -22
  264. package/resources/groups/messages.d.ts.map +1 -1
  265. package/resources/groups/messages.js +7 -1
  266. package/resources/groups/messages.js.map +1 -1
  267. package/resources/groups/messages.mjs +7 -1
  268. package/resources/groups/messages.mjs.map +1 -1
  269. package/resources/identities/agents.d.mts +45 -0
  270. package/resources/identities/agents.d.mts.map +1 -0
  271. package/resources/identities/agents.d.ts +45 -0
  272. package/resources/identities/agents.d.ts.map +1 -0
  273. package/resources/identities/agents.js +16 -0
  274. package/resources/identities/agents.js.map +1 -0
  275. package/resources/identities/agents.mjs +12 -0
  276. package/resources/identities/agents.mjs.map +1 -0
  277. package/resources/identities/blocks.d.mts +40 -0
  278. package/resources/identities/blocks.d.mts.map +1 -0
  279. package/resources/identities/blocks.d.ts +40 -0
  280. package/resources/identities/blocks.d.ts.map +1 -0
  281. package/resources/identities/blocks.js +16 -0
  282. package/resources/identities/blocks.js.map +1 -0
  283. package/resources/identities/blocks.mjs +12 -0
  284. package/resources/identities/blocks.mjs.map +1 -0
  285. package/resources/identities/identities.d.mts +235 -0
  286. package/resources/identities/identities.d.mts.map +1 -0
  287. package/resources/identities/identities.d.ts +235 -0
  288. package/resources/identities/identities.d.ts.map +1 -0
  289. package/resources/identities/identities.js +85 -0
  290. package/resources/identities/identities.js.map +1 -0
  291. package/resources/identities/identities.mjs +80 -0
  292. package/resources/identities/identities.mjs.map +1 -0
  293. package/resources/identities/index.d.mts +5 -0
  294. package/resources/identities/index.d.mts.map +1 -0
  295. package/resources/identities/index.d.ts +5 -0
  296. package/resources/identities/index.d.ts.map +1 -0
  297. package/resources/identities/index.js +13 -0
  298. package/resources/identities/index.js.map +1 -0
  299. package/resources/identities/index.mjs +6 -0
  300. package/resources/identities/index.mjs.map +1 -0
  301. package/resources/identities/properties.d.mts +18 -0
  302. package/resources/identities/properties.d.mts.map +1 -0
  303. package/resources/identities/properties.d.ts +18 -0
  304. package/resources/identities/properties.d.ts.map +1 -0
  305. package/resources/identities/properties.js +17 -0
  306. package/resources/identities/properties.js.map +1 -0
  307. package/resources/identities/properties.mjs +13 -0
  308. package/resources/identities/properties.mjs.map +1 -0
  309. package/resources/identities.d.mts +1 -292
  310. package/resources/identities.d.mts.map +1 -1
  311. package/resources/identities.d.ts +1 -292
  312. package/resources/identities.d.ts.map +1 -1
  313. package/resources/identities.js +2 -84
  314. package/resources/identities.js.map +1 -1
  315. package/resources/identities.mjs +1 -82
  316. package/resources/identities.mjs.map +1 -1
  317. package/resources/index.d.mts +13 -22
  318. package/resources/index.d.mts.map +1 -1
  319. package/resources/index.d.ts +13 -22
  320. package/resources/index.d.ts.map +1 -1
  321. package/resources/index.js +11 -31
  322. package/resources/index.js.map +1 -1
  323. package/resources/index.mjs +9 -19
  324. package/resources/index.mjs.map +1 -1
  325. package/resources/models/embeddings.d.mts +16 -0
  326. package/resources/models/embeddings.d.mts.map +1 -0
  327. package/resources/models/embeddings.d.ts +16 -0
  328. package/resources/models/embeddings.d.ts.map +1 -0
  329. package/resources/models/embeddings.js +16 -0
  330. package/resources/models/embeddings.js.map +1 -0
  331. package/resources/models/embeddings.mjs +12 -0
  332. package/resources/models/embeddings.mjs.map +1 -0
  333. package/resources/models/index.d.mts +3 -0
  334. package/resources/models/index.d.mts.map +1 -0
  335. package/resources/models/index.d.ts +3 -0
  336. package/resources/models/index.d.ts.map +1 -0
  337. package/resources/models/index.js +9 -0
  338. package/resources/models/index.js.map +1 -0
  339. package/resources/models/index.mjs +4 -0
  340. package/resources/models/index.mjs.map +1 -0
  341. package/resources/models/models.d.mts +165 -0
  342. package/resources/models/models.d.mts.map +1 -0
  343. package/resources/models/models.d.ts +165 -0
  344. package/resources/models/models.d.ts.map +1 -0
  345. package/resources/models/models.js +24 -0
  346. package/resources/models/models.js.map +1 -0
  347. package/resources/models/models.mjs +19 -0
  348. package/resources/models/models.mjs.map +1 -0
  349. package/resources/models.d.mts +1 -159
  350. package/resources/models.d.mts.map +1 -1
  351. package/resources/models.d.ts +1 -159
  352. package/resources/models.d.ts.map +1 -1
  353. package/resources/models.js +2 -26
  354. package/resources/models.js.map +1 -1
  355. package/resources/models.mjs +1 -24
  356. package/resources/models.mjs.map +1 -1
  357. package/resources/runs/index.d.mts +5 -0
  358. package/resources/runs/index.d.mts.map +1 -0
  359. package/resources/runs/index.d.ts +5 -0
  360. package/resources/runs/index.d.ts.map +1 -0
  361. package/resources/runs/index.js +13 -0
  362. package/resources/runs/index.js.map +1 -0
  363. package/resources/runs/index.mjs +6 -0
  364. package/resources/runs/index.mjs.map +1 -0
  365. package/resources/runs/messages.d.mts +65 -0
  366. package/resources/runs/messages.d.mts.map +1 -0
  367. package/resources/runs/messages.d.ts +65 -0
  368. package/resources/runs/messages.d.ts.map +1 -0
  369. package/resources/runs/messages.js +22 -0
  370. package/resources/runs/messages.js.map +1 -0
  371. package/resources/runs/messages.mjs +18 -0
  372. package/resources/runs/messages.mjs.map +1 -0
  373. package/resources/runs/runs.d.mts +172 -0
  374. package/resources/runs/runs.d.mts.map +1 -0
  375. package/resources/runs/runs.d.ts +172 -0
  376. package/resources/runs/runs.d.ts.map +1 -0
  377. package/resources/runs/runs.js +38 -0
  378. package/resources/runs/runs.js.map +1 -0
  379. package/resources/runs/runs.mjs +33 -0
  380. package/resources/runs/runs.mjs.map +1 -0
  381. package/resources/runs/steps.d.mts +38 -0
  382. package/resources/runs/steps.d.mts.map +1 -0
  383. package/resources/runs/steps.d.ts +38 -0
  384. package/resources/runs/steps.d.ts.map +1 -0
  385. package/resources/runs/steps.js +16 -0
  386. package/resources/runs/steps.js.map +1 -0
  387. package/resources/runs/steps.mjs +12 -0
  388. package/resources/runs/steps.mjs.map +1 -0
  389. package/resources/runs/usage.d.mts +28 -0
  390. package/resources/runs/usage.d.mts.map +1 -0
  391. package/resources/runs/usage.d.ts +28 -0
  392. package/resources/runs/usage.d.ts.map +1 -0
  393. package/resources/runs/usage.js +16 -0
  394. package/resources/runs/usage.js.map +1 -0
  395. package/resources/runs/usage.mjs +12 -0
  396. package/resources/runs/usage.mjs.map +1 -0
  397. package/resources/runs.d.mts +1 -183
  398. package/resources/runs.d.mts.map +1 -1
  399. package/resources/runs.d.ts +1 -183
  400. package/resources/runs.d.ts.map +1 -1
  401. package/resources/runs.js +2 -69
  402. package/resources/runs.js.map +1 -1
  403. package/resources/runs.mjs +1 -67
  404. package/resources/runs.mjs.map +1 -1
  405. package/resources/steps/feedback.d.mts +24 -0
  406. package/resources/steps/feedback.d.mts.map +1 -0
  407. package/resources/steps/feedback.d.ts +24 -0
  408. package/resources/steps/feedback.d.ts.map +1 -0
  409. package/resources/steps/feedback.js +16 -0
  410. package/resources/steps/feedback.js.map +1 -0
  411. package/resources/steps/feedback.mjs +12 -0
  412. package/resources/steps/feedback.mjs.map +1 -0
  413. package/resources/steps/index.d.mts +6 -0
  414. package/resources/steps/index.d.mts.map +1 -0
  415. package/resources/steps/index.d.ts +6 -0
  416. package/resources/steps/index.d.ts.map +1 -0
  417. package/resources/steps/index.js +15 -0
  418. package/resources/steps/index.js.map +1 -0
  419. package/resources/steps/index.mjs +7 -0
  420. package/resources/steps/index.mjs.map +1 -0
  421. package/resources/steps/messages.d.mts +41 -0
  422. package/resources/steps/messages.d.mts.map +1 -0
  423. package/resources/steps/messages.d.ts +41 -0
  424. package/resources/steps/messages.d.ts.map +1 -0
  425. package/resources/steps/messages.js +16 -0
  426. package/resources/steps/messages.js.map +1 -0
  427. package/resources/steps/messages.mjs +12 -0
  428. package/resources/steps/messages.mjs.map +1 -0
  429. package/resources/steps/metrics.d.mts +63 -0
  430. package/resources/steps/metrics.d.mts.map +1 -0
  431. package/resources/steps/metrics.d.ts +63 -0
  432. package/resources/steps/metrics.d.ts.map +1 -0
  433. package/resources/steps/metrics.js +16 -0
  434. package/resources/steps/metrics.js.map +1 -0
  435. package/resources/steps/metrics.mjs +12 -0
  436. package/resources/steps/metrics.mjs.map +1 -0
  437. package/resources/steps/steps.d.mts +254 -0
  438. package/resources/steps/steps.d.mts.map +1 -0
  439. package/resources/steps/steps.d.ts +254 -0
  440. package/resources/steps/steps.d.ts.map +1 -0
  441. package/resources/steps/steps.js +51 -0
  442. package/resources/steps/steps.js.map +1 -0
  443. package/resources/steps/steps.mjs +46 -0
  444. package/resources/steps/steps.mjs.map +1 -0
  445. package/resources/steps/trace.d.mts +11 -0
  446. package/resources/steps/trace.d.mts.map +1 -0
  447. package/resources/steps/trace.d.ts +11 -0
  448. package/resources/steps/trace.d.ts.map +1 -0
  449. package/resources/steps/trace.js +16 -0
  450. package/resources/steps/trace.js.map +1 -0
  451. package/resources/steps/trace.mjs +12 -0
  452. package/resources/steps/trace.mjs.map +1 -0
  453. package/resources/steps.d.mts +1 -340
  454. package/resources/steps.d.mts.map +1 -1
  455. package/resources/steps.d.ts +1 -340
  456. package/resources/steps.d.ts.map +1 -1
  457. package/resources/steps.js +2 -51
  458. package/resources/steps.js.map +1 -1
  459. package/resources/steps.mjs +1 -49
  460. package/resources/steps.mjs.map +1 -1
  461. package/resources/templates/agents.d.mts +61 -0
  462. package/resources/templates/agents.d.mts.map +1 -0
  463. package/resources/templates/agents.d.ts +61 -0
  464. package/resources/templates/agents.d.ts.map +1 -0
  465. package/resources/templates/agents.js +22 -0
  466. package/resources/templates/agents.js.map +1 -0
  467. package/resources/templates/agents.mjs +18 -0
  468. package/resources/templates/agents.mjs.map +1 -0
  469. package/resources/templates/index.d.mts +3 -0
  470. package/resources/templates/index.d.mts.map +1 -0
  471. package/resources/templates/index.d.ts +3 -0
  472. package/resources/templates/index.d.ts.map +1 -0
  473. package/resources/templates/index.js +9 -0
  474. package/resources/templates/index.js.map +1 -0
  475. package/resources/templates/index.mjs +4 -0
  476. package/resources/templates/index.mjs.map +1 -0
  477. package/resources/templates/templates.d.mts +10 -0
  478. package/resources/templates/templates.d.mts.map +1 -0
  479. package/resources/templates/templates.d.ts +10 -0
  480. package/resources/templates/templates.d.ts.map +1 -0
  481. package/resources/templates/templates.js +17 -0
  482. package/resources/templates/templates.js.map +1 -0
  483. package/resources/templates/templates.mjs +12 -0
  484. package/resources/templates/templates.mjs.map +1 -0
  485. package/resources/templates.d.mts +1 -493
  486. package/resources/templates.d.mts.map +1 -1
  487. package/resources/templates.d.ts +1 -493
  488. package/resources/templates.d.ts.map +1 -1
  489. package/resources/templates.js +2 -81
  490. package/resources/templates.js.map +1 -1
  491. package/resources/templates.mjs +1 -79
  492. package/resources/templates.mjs.map +1 -1
  493. package/resources/tools.d.mts +499 -1
  494. package/resources/tools.d.mts.map +1 -1
  495. package/resources/tools.d.ts +499 -1
  496. package/resources/tools.d.ts.map +1 -1
  497. package/resources/tools.js +54 -2
  498. package/resources/tools.js.map +1 -1
  499. package/resources/tools.mjs +52 -1
  500. package/resources/tools.mjs.map +1 -1
  501. package/resources/top-level.d.mts +11 -0
  502. package/resources/top-level.d.mts.map +1 -0
  503. package/resources/top-level.d.ts +11 -0
  504. package/resources/top-level.d.ts.map +1 -0
  505. package/resources/{tools/mcp.js → top-level.js} +1 -3
  506. package/resources/top-level.js.map +1 -0
  507. package/{src/resources/agents/core-memory.ts → resources/top-level.mjs} +2 -2
  508. package/resources/top-level.mjs.map +1 -0
  509. package/src/client.ts +146 -425
  510. package/src/core/api-promise.ts +4 -4
  511. package/src/core/error.ts +2 -2
  512. package/src/core/resource.ts +3 -3
  513. package/src/index.ts +3 -3
  514. package/src/internal/parse.ts +2 -2
  515. package/src/internal/shims.ts +1 -1
  516. package/src/internal/uploads.ts +5 -5
  517. package/src/internal/utils/base64.ts +3 -3
  518. package/src/internal/utils/log.ts +3 -3
  519. package/src/internal/utils/path.ts +2 -2
  520. package/src/internal/utils/values.ts +6 -6
  521. package/src/resources/agents/agents.ts +408 -396
  522. package/src/resources/agents/{core-memory/blocks.ts → blocks.ts} +52 -8
  523. package/src/resources/agents/files.ts +34 -4
  524. package/src/resources/agents/folders.ts +114 -4
  525. package/src/resources/agents/groups.ts +61 -0
  526. package/src/resources/agents/index.ts +21 -37
  527. package/src/resources/agents/messages.ts +381 -298
  528. package/src/resources/agents/tools.ts +65 -15
  529. package/src/resources/archives.ts +49 -9
  530. package/src/resources/{messages → batches}/batches.ts +32 -57
  531. package/src/resources/{messages → batches}/index.ts +1 -3
  532. package/src/resources/batches/messages.ts +63 -0
  533. package/src/resources/{tools/mcp.ts → batches.ts} +1 -1
  534. package/src/resources/blocks/agents.ts +79 -0
  535. package/src/resources/blocks/blocks.ts +392 -0
  536. package/src/resources/blocks/index.ts +13 -0
  537. package/src/resources/blocks.ts +1 -436
  538. package/src/resources/folders/agents.ts +55 -0
  539. package/src/resources/folders/files.ts +295 -0
  540. package/src/resources/folders/folders.ts +264 -0
  541. package/src/resources/folders/index.ts +21 -0
  542. package/src/resources/folders.ts +1 -460
  543. package/src/resources/groups/groups.ts +6 -14
  544. package/src/resources/groups/index.ts +3 -3
  545. package/src/resources/groups/messages.ts +43 -23
  546. package/src/resources/identities/agents.ts +70 -0
  547. package/src/resources/identities/blocks.ts +56 -0
  548. package/src/resources/identities/identities.ts +354 -0
  549. package/src/resources/identities/index.ts +18 -0
  550. package/src/resources/identities/properties.ts +30 -0
  551. package/src/resources/identities.ts +1 -432
  552. package/src/resources/index.ts +27 -154
  553. package/src/resources/models/embeddings.ts +22 -0
  554. package/src/resources/models/index.ts +12 -0
  555. package/src/resources/models/models.ts +277 -0
  556. package/src/resources/models.ts +1 -276
  557. package/src/resources/runs/index.ts +12 -0
  558. package/src/resources/runs/messages.ts +98 -0
  559. package/src/resources/runs/runs.ts +246 -0
  560. package/src/resources/runs/steps.ts +54 -0
  561. package/src/resources/runs/usage.ts +41 -0
  562. package/src/resources/runs.ts +1 -282
  563. package/src/resources/steps/feedback.ts +32 -0
  564. package/src/resources/steps/index.ts +7 -0
  565. package/src/resources/steps/messages.ts +67 -0
  566. package/src/resources/steps/metrics.ts +81 -0
  567. package/src/resources/steps/steps.ts +334 -0
  568. package/src/resources/steps/trace.ts +16 -0
  569. package/src/resources/steps.ts +1 -455
  570. package/src/resources/templates/agents.ts +83 -0
  571. package/src/resources/templates/index.ts +4 -0
  572. package/src/resources/templates/templates.ts +15 -0
  573. package/src/resources/templates.ts +1 -783
  574. package/src/resources/tools.ts +641 -1
  575. package/src/resources/top-level.ts +14 -0
  576. package/src/version.ts +1 -1
  577. package/version.d.mts +1 -1
  578. package/version.d.ts +1 -1
  579. package/version.js +1 -1
  580. package/version.mjs +1 -1
  581. package/resources/-internal-templates/-internal-templates.d.mts +0 -324
  582. package/resources/-internal-templates/-internal-templates.d.mts.map +0 -1
  583. package/resources/-internal-templates/-internal-templates.d.ts +0 -324
  584. package/resources/-internal-templates/-internal-templates.d.ts.map +0 -1
  585. package/resources/-internal-templates/-internal-templates.js +0 -35
  586. package/resources/-internal-templates/-internal-templates.js.map +0 -1
  587. package/resources/-internal-templates/-internal-templates.mjs +0 -30
  588. package/resources/-internal-templates/-internal-templates.mjs.map +0 -1
  589. package/resources/-internal-templates/deployment.d.mts +0 -56
  590. package/resources/-internal-templates/deployment.d.mts.map +0 -1
  591. package/resources/-internal-templates/deployment.d.ts +0 -56
  592. package/resources/-internal-templates/deployment.d.ts.map +0 -1
  593. package/resources/-internal-templates/deployment.js +0 -24
  594. package/resources/-internal-templates/deployment.js.map +0 -1
  595. package/resources/-internal-templates/deployment.mjs +0 -20
  596. package/resources/-internal-templates/deployment.mjs.map +0 -1
  597. package/resources/-internal-templates/index.d.mts +0 -3
  598. package/resources/-internal-templates/index.d.mts.map +0 -1
  599. package/resources/-internal-templates/index.d.ts +0 -3
  600. package/resources/-internal-templates/index.d.ts.map +0 -1
  601. package/resources/-internal-templates/index.js +0 -9
  602. package/resources/-internal-templates/index.js.map +0 -1
  603. package/resources/-internal-templates/index.mjs +0 -4
  604. package/resources/-internal-templates/index.mjs.map +0 -1
  605. package/resources/-internal-templates.d.mts +0 -2
  606. package/resources/-internal-templates.d.mts.map +0 -1
  607. package/resources/-internal-templates.d.ts +0 -2
  608. package/resources/-internal-templates.d.ts.map +0 -1
  609. package/resources/-internal-templates.js +0 -6
  610. package/resources/-internal-templates.js.map +0 -1
  611. package/resources/-internal-templates.mjs +0 -3
  612. package/resources/-internal-templates.mjs.map +0 -1
  613. package/resources/agents/archival-memory.d.mts +0 -128
  614. package/resources/agents/archival-memory.d.mts.map +0 -1
  615. package/resources/agents/archival-memory.d.ts +0 -128
  616. package/resources/agents/archival-memory.d.ts.map +0 -1
  617. package/resources/agents/archival-memory.js +0 -41
  618. package/resources/agents/archival-memory.js.map +0 -1
  619. package/resources/agents/archival-memory.mjs +0 -37
  620. package/resources/agents/archival-memory.mjs.map +0 -1
  621. package/resources/agents/core-memory/blocks.d.mts.map +0 -1
  622. package/resources/agents/core-memory/blocks.d.ts.map +0 -1
  623. package/resources/agents/core-memory/blocks.js.map +0 -1
  624. package/resources/agents/core-memory/blocks.mjs.map +0 -1
  625. package/resources/agents/core-memory/core-memory.d.mts +0 -142
  626. package/resources/agents/core-memory/core-memory.d.mts.map +0 -1
  627. package/resources/agents/core-memory/core-memory.d.ts +0 -142
  628. package/resources/agents/core-memory/core-memory.d.ts.map +0 -1
  629. package/resources/agents/core-memory/core-memory.js +0 -31
  630. package/resources/agents/core-memory/core-memory.js.map +0 -1
  631. package/resources/agents/core-memory/core-memory.mjs +0 -26
  632. package/resources/agents/core-memory/core-memory.mjs.map +0 -1
  633. package/resources/agents/core-memory/index.d.mts +0 -3
  634. package/resources/agents/core-memory/index.d.mts.map +0 -1
  635. package/resources/agents/core-memory/index.d.ts +0 -3
  636. package/resources/agents/core-memory/index.d.ts.map +0 -1
  637. package/resources/agents/core-memory/index.js.map +0 -1
  638. package/resources/agents/core-memory/index.mjs.map +0 -1
  639. package/resources/agents/core-memory.d.mts +0 -2
  640. package/resources/agents/core-memory.d.mts.map +0 -1
  641. package/resources/agents/core-memory.d.ts +0 -2
  642. package/resources/agents/core-memory.d.ts.map +0 -1
  643. package/resources/agents/core-memory.js +0 -6
  644. package/resources/agents/core-memory.js.map +0 -1
  645. package/resources/agents/core-memory.mjs +0 -3
  646. package/resources/agents/core-memory.mjs.map +0 -1
  647. package/resources/agents/sources.d.mts +0 -30
  648. package/resources/agents/sources.d.mts.map +0 -1
  649. package/resources/agents/sources.d.ts +0 -30
  650. package/resources/agents/sources.d.ts.map +0 -1
  651. package/resources/agents/sources.js +0 -30
  652. package/resources/agents/sources.js.map +0 -1
  653. package/resources/agents/sources.mjs +0 -26
  654. package/resources/agents/sources.mjs.map +0 -1
  655. package/resources/client-side-access-tokens.d.mts +0 -105
  656. package/resources/client-side-access-tokens.d.mts.map +0 -1
  657. package/resources/client-side-access-tokens.d.ts +0 -105
  658. package/resources/client-side-access-tokens.d.ts.map +0 -1
  659. package/resources/client-side-access-tokens.js +0 -30
  660. package/resources/client-side-access-tokens.js.map +0 -1
  661. package/resources/client-side-access-tokens.mjs +0 -26
  662. package/resources/client-side-access-tokens.mjs.map +0 -1
  663. package/resources/embeddings.d.mts +0 -18
  664. package/resources/embeddings.d.mts.map +0 -1
  665. package/resources/embeddings.d.ts +0 -18
  666. package/resources/embeddings.d.ts.map +0 -1
  667. package/resources/embeddings.js +0 -24
  668. package/resources/embeddings.js.map +0 -1
  669. package/resources/embeddings.mjs +0 -20
  670. package/resources/embeddings.mjs.map +0 -1
  671. package/resources/health.d.mts +0 -20
  672. package/resources/health.d.mts.map +0 -1
  673. package/resources/health.d.ts +0 -20
  674. package/resources/health.d.ts.map +0 -1
  675. package/resources/health.js +0 -15
  676. package/resources/health.js.map +0 -1
  677. package/resources/health.mjs +0 -11
  678. package/resources/health.mjs.map +0 -1
  679. package/resources/jobs.d.mts +0 -165
  680. package/resources/jobs.d.mts.map +0 -1
  681. package/resources/jobs.d.ts +0 -165
  682. package/resources/jobs.d.ts.map +0 -1
  683. package/resources/jobs.js +0 -45
  684. package/resources/jobs.js.map +0 -1
  685. package/resources/jobs.mjs +0 -41
  686. package/resources/jobs.mjs.map +0 -1
  687. package/resources/messages/batches.d.mts.map +0 -1
  688. package/resources/messages/batches.d.ts.map +0 -1
  689. package/resources/messages/batches.js.map +0 -1
  690. package/resources/messages/batches.mjs.map +0 -1
  691. package/resources/messages/index.d.mts +0 -3
  692. package/resources/messages/index.d.mts.map +0 -1
  693. package/resources/messages/index.d.ts +0 -3
  694. package/resources/messages/index.d.ts.map +0 -1
  695. package/resources/messages/index.js.map +0 -1
  696. package/resources/messages/index.mjs.map +0 -1
  697. package/resources/messages/messages.d.mts +0 -10
  698. package/resources/messages/messages.d.mts.map +0 -1
  699. package/resources/messages/messages.d.ts +0 -10
  700. package/resources/messages/messages.d.ts.map +0 -1
  701. package/resources/messages/messages.js +0 -17
  702. package/resources/messages/messages.js.map +0 -1
  703. package/resources/messages/messages.mjs +0 -12
  704. package/resources/messages/messages.mjs.map +0 -1
  705. package/resources/messages.d.mts +0 -2
  706. package/resources/messages.d.mts.map +0 -1
  707. package/resources/messages.d.ts +0 -2
  708. package/resources/messages.d.ts.map +0 -1
  709. package/resources/messages.js +0 -6
  710. package/resources/messages.js.map +0 -1
  711. package/resources/messages.mjs +0 -3
  712. package/resources/messages.mjs.map +0 -1
  713. package/resources/projects.d.mts +0 -29
  714. package/resources/projects.d.mts.map +0 -1
  715. package/resources/projects.d.ts +0 -29
  716. package/resources/projects.d.ts.map +0 -1
  717. package/resources/projects.js +0 -15
  718. package/resources/projects.js.map +0 -1
  719. package/resources/projects.mjs +0 -11
  720. package/resources/projects.mjs.map +0 -1
  721. package/resources/providers.d.mts +0 -190
  722. package/resources/providers.d.mts.map +0 -1
  723. package/resources/providers.d.ts +0 -190
  724. package/resources/providers.d.ts.map +0 -1
  725. package/resources/providers.js +0 -46
  726. package/resources/providers.js.map +0 -1
  727. package/resources/providers.mjs +0 -42
  728. package/resources/providers.mjs.map +0 -1
  729. package/resources/sources/files.d.mts +0 -53
  730. package/resources/sources/files.d.mts.map +0 -1
  731. package/resources/sources/files.d.ts +0 -53
  732. package/resources/sources/files.d.ts.map +0 -1
  733. package/resources/sources/files.js +0 -27
  734. package/resources/sources/files.js.map +0 -1
  735. package/resources/sources/files.mjs +0 -23
  736. package/resources/sources/files.mjs.map +0 -1
  737. package/resources/sources/index.d.mts +0 -3
  738. package/resources/sources/index.d.mts.map +0 -1
  739. package/resources/sources/index.d.ts +0 -3
  740. package/resources/sources/index.d.ts.map +0 -1
  741. package/resources/sources/index.js +0 -9
  742. package/resources/sources/index.js.map +0 -1
  743. package/resources/sources/index.mjs +0 -4
  744. package/resources/sources/index.mjs.map +0 -1
  745. package/resources/sources/sources.d.mts +0 -530
  746. package/resources/sources/sources.d.mts.map +0 -1
  747. package/resources/sources/sources.d.ts +0 -530
  748. package/resources/sources/sources.d.ts.map +0 -1
  749. package/resources/sources/sources.js +0 -129
  750. package/resources/sources/sources.js.map +0 -1
  751. package/resources/sources/sources.mjs +0 -124
  752. package/resources/sources/sources.mjs.map +0 -1
  753. package/resources/sources.d.mts +0 -2
  754. package/resources/sources.d.mts.map +0 -1
  755. package/resources/sources.d.ts +0 -2
  756. package/resources/sources.d.ts.map +0 -1
  757. package/resources/sources.js.map +0 -1
  758. package/resources/sources.mjs +0 -3
  759. package/resources/sources.mjs.map +0 -1
  760. package/resources/telemetry.d.mts +0 -15
  761. package/resources/telemetry.d.mts.map +0 -1
  762. package/resources/telemetry.d.ts +0 -15
  763. package/resources/telemetry.d.ts.map +0 -1
  764. package/resources/telemetry.js +0 -20
  765. package/resources/telemetry.js.map +0 -1
  766. package/resources/telemetry.mjs +0 -16
  767. package/resources/telemetry.mjs.map +0 -1
  768. package/resources/tools/composio/apps.d.mts +0 -131
  769. package/resources/tools/composio/apps.d.mts.map +0 -1
  770. package/resources/tools/composio/apps.d.ts +0 -131
  771. package/resources/tools/composio/apps.d.ts.map +0 -1
  772. package/resources/tools/composio/apps.js +0 -22
  773. package/resources/tools/composio/apps.js.map +0 -1
  774. package/resources/tools/composio/apps.mjs +0 -18
  775. package/resources/tools/composio/apps.mjs.map +0 -1
  776. package/resources/tools/composio/composio.d.mts +0 -18
  777. package/resources/tools/composio/composio.d.mts.map +0 -1
  778. package/resources/tools/composio/composio.d.ts +0 -18
  779. package/resources/tools/composio/composio.d.ts.map +0 -1
  780. package/resources/tools/composio/composio.js +0 -25
  781. package/resources/tools/composio/composio.js.map +0 -1
  782. package/resources/tools/composio/composio.mjs +0 -20
  783. package/resources/tools/composio/composio.mjs.map +0 -1
  784. package/resources/tools/composio/index.d.mts +0 -3
  785. package/resources/tools/composio/index.d.mts.map +0 -1
  786. package/resources/tools/composio/index.d.ts +0 -3
  787. package/resources/tools/composio/index.d.ts.map +0 -1
  788. package/resources/tools/composio/index.js +0 -9
  789. package/resources/tools/composio/index.js.map +0 -1
  790. package/resources/tools/composio/index.mjs +0 -4
  791. package/resources/tools/composio/index.mjs.map +0 -1
  792. package/resources/tools/composio.d.mts +0 -2
  793. package/resources/tools/composio.d.mts.map +0 -1
  794. package/resources/tools/composio.d.ts +0 -2
  795. package/resources/tools/composio.d.ts.map +0 -1
  796. package/resources/tools/composio.js +0 -6
  797. package/resources/tools/composio.js.map +0 -1
  798. package/resources/tools/composio.mjs +0 -3
  799. package/resources/tools/composio.mjs.map +0 -1
  800. package/resources/tools/index.d.mts +0 -4
  801. package/resources/tools/index.d.mts.map +0 -1
  802. package/resources/tools/index.d.ts +0 -4
  803. package/resources/tools/index.d.ts.map +0 -1
  804. package/resources/tools/index.js +0 -11
  805. package/resources/tools/index.js.map +0 -1
  806. package/resources/tools/index.mjs +0 -5
  807. package/resources/tools/index.mjs.map +0 -1
  808. package/resources/tools/mcp/index.d.mts +0 -4
  809. package/resources/tools/mcp/index.d.mts.map +0 -1
  810. package/resources/tools/mcp/index.d.ts +0 -4
  811. package/resources/tools/mcp/index.d.ts.map +0 -1
  812. package/resources/tools/mcp/index.js +0 -11
  813. package/resources/tools/mcp/index.js.map +0 -1
  814. package/resources/tools/mcp/index.mjs +0 -5
  815. package/resources/tools/mcp/index.mjs.map +0 -1
  816. package/resources/tools/mcp/mcp.d.mts +0 -14
  817. package/resources/tools/mcp/mcp.d.mts.map +0 -1
  818. package/resources/tools/mcp/mcp.d.ts +0 -14
  819. package/resources/tools/mcp/mcp.d.ts.map +0 -1
  820. package/resources/tools/mcp/mcp.js +0 -21
  821. package/resources/tools/mcp/mcp.js.map +0 -1
  822. package/resources/tools/mcp/mcp.mjs +0 -16
  823. package/resources/tools/mcp/mcp.mjs.map +0 -1
  824. package/resources/tools/mcp/oauth.d.mts +0 -32
  825. package/resources/tools/mcp/oauth.d.mts.map +0 -1
  826. package/resources/tools/mcp/oauth.d.ts +0 -32
  827. package/resources/tools/mcp/oauth.d.ts.map +0 -1
  828. package/resources/tools/mcp/oauth.js +0 -16
  829. package/resources/tools/mcp/oauth.js.map +0 -1
  830. package/resources/tools/mcp/oauth.mjs +0 -12
  831. package/resources/tools/mcp/oauth.mjs.map +0 -1
  832. package/resources/tools/mcp/servers/index.d.mts +0 -3
  833. package/resources/tools/mcp/servers/index.d.mts.map +0 -1
  834. package/resources/tools/mcp/servers/index.d.ts +0 -3
  835. package/resources/tools/mcp/servers/index.d.ts.map +0 -1
  836. package/resources/tools/mcp/servers/index.js +0 -9
  837. package/resources/tools/mcp/servers/index.js.map +0 -1
  838. package/resources/tools/mcp/servers/index.mjs +0 -4
  839. package/resources/tools/mcp/servers/index.mjs.map +0 -1
  840. package/resources/tools/mcp/servers/servers.d.mts +0 -442
  841. package/resources/tools/mcp/servers/servers.d.mts.map +0 -1
  842. package/resources/tools/mcp/servers/servers.d.ts +0 -442
  843. package/resources/tools/mcp/servers/servers.d.ts.map +0 -1
  844. package/resources/tools/mcp/servers/servers.js +0 -80
  845. package/resources/tools/mcp/servers/servers.js.map +0 -1
  846. package/resources/tools/mcp/servers/servers.mjs +0 -75
  847. package/resources/tools/mcp/servers/servers.mjs.map +0 -1
  848. package/resources/tools/mcp/servers/tools.d.mts +0 -100
  849. package/resources/tools/mcp/servers/tools.d.mts.map +0 -1
  850. package/resources/tools/mcp/servers/tools.d.ts +0 -100
  851. package/resources/tools/mcp/servers/tools.d.ts.map +0 -1
  852. package/resources/tools/mcp/servers/tools.js +0 -27
  853. package/resources/tools/mcp/servers/tools.js.map +0 -1
  854. package/resources/tools/mcp/servers/tools.mjs +0 -23
  855. package/resources/tools/mcp/servers/tools.mjs.map +0 -1
  856. package/resources/tools/mcp/servers.d.mts +0 -2
  857. package/resources/tools/mcp/servers.d.mts.map +0 -1
  858. package/resources/tools/mcp/servers.d.ts +0 -2
  859. package/resources/tools/mcp/servers.d.ts.map +0 -1
  860. package/resources/tools/mcp/servers.js +0 -6
  861. package/resources/tools/mcp/servers.js.map +0 -1
  862. package/resources/tools/mcp/servers.mjs.map +0 -1
  863. package/resources/tools/mcp.d.mts +0 -2
  864. package/resources/tools/mcp.d.mts.map +0 -1
  865. package/resources/tools/mcp.d.ts +0 -2
  866. package/resources/tools/mcp.d.ts.map +0 -1
  867. package/resources/tools/mcp.js.map +0 -1
  868. package/resources/tools/mcp.mjs +0 -3
  869. package/resources/tools/mcp.mjs.map +0 -1
  870. package/resources/tools/tools.d.mts +0 -515
  871. package/resources/tools/tools.d.mts.map +0 -1
  872. package/resources/tools/tools.d.ts +0 -515
  873. package/resources/tools/tools.d.ts.map +0 -1
  874. package/resources/tools/tools.js +0 -76
  875. package/resources/tools/tools.js.map +0 -1
  876. package/resources/tools/tools.mjs +0 -71
  877. package/resources/tools/tools.mjs.map +0 -1
  878. package/resources/voice-beta/chat.d.mts +0 -19
  879. package/resources/voice-beta/chat.d.mts.map +0 -1
  880. package/resources/voice-beta/chat.d.ts +0 -19
  881. package/resources/voice-beta/chat.d.ts.map +0 -1
  882. package/resources/voice-beta/chat.js +0 -17
  883. package/resources/voice-beta/chat.js.map +0 -1
  884. package/resources/voice-beta/chat.mjs +0 -13
  885. package/resources/voice-beta/chat.mjs.map +0 -1
  886. package/resources/voice-beta/index.d.mts +0 -3
  887. package/resources/voice-beta/index.d.mts.map +0 -1
  888. package/resources/voice-beta/index.d.ts +0 -3
  889. package/resources/voice-beta/index.d.ts.map +0 -1
  890. package/resources/voice-beta/index.js +0 -9
  891. package/resources/voice-beta/index.js.map +0 -1
  892. package/resources/voice-beta/index.mjs +0 -4
  893. package/resources/voice-beta/index.mjs.map +0 -1
  894. package/resources/voice-beta/voice-beta.d.mts +0 -10
  895. package/resources/voice-beta/voice-beta.d.mts.map +0 -1
  896. package/resources/voice-beta/voice-beta.d.ts +0 -10
  897. package/resources/voice-beta/voice-beta.d.ts.map +0 -1
  898. package/resources/voice-beta/voice-beta.js +0 -17
  899. package/resources/voice-beta/voice-beta.js.map +0 -1
  900. package/resources/voice-beta/voice-beta.mjs +0 -12
  901. package/resources/voice-beta/voice-beta.mjs.map +0 -1
  902. package/resources/voice-beta.d.mts +0 -2
  903. package/resources/voice-beta.d.mts.map +0 -1
  904. package/resources/voice-beta.d.ts +0 -2
  905. package/resources/voice-beta.d.ts.map +0 -1
  906. package/resources/voice-beta.js +0 -6
  907. package/resources/voice-beta.js.map +0 -1
  908. package/resources/voice-beta.mjs +0 -3
  909. package/resources/voice-beta.mjs.map +0 -1
  910. package/src/resources/-internal-templates/-internal-templates.ts +0 -441
  911. package/src/resources/-internal-templates/deployment.ts +0 -88
  912. package/src/resources/-internal-templates/index.ts +0 -14
  913. package/src/resources/-internal-templates.ts +0 -3
  914. package/src/resources/agents/archival-memory.ts +0 -192
  915. package/src/resources/agents/core-memory/core-memory.ts +0 -201
  916. package/src/resources/agents/core-memory/index.ts +0 -13
  917. package/src/resources/agents/sources.ts +0 -59
  918. package/src/resources/client-side-access-tokens.ts +0 -166
  919. package/src/resources/embeddings.ts +0 -39
  920. package/src/resources/health.ts +0 -27
  921. package/src/resources/jobs.ts +0 -219
  922. package/src/resources/messages/messages.ts +0 -33
  923. package/src/resources/messages.ts +0 -3
  924. package/src/resources/projects.ts +0 -45
  925. package/src/resources/providers.ts +0 -261
  926. package/src/resources/sources/files.ts +0 -82
  927. package/src/resources/sources/index.ts +0 -26
  928. package/src/resources/sources/sources.ts +0 -702
  929. package/src/resources/sources.ts +0 -3
  930. package/src/resources/telemetry.ts +0 -20
  931. package/src/resources/tools/composio/apps.ts +0 -198
  932. package/src/resources/tools/composio/composio.ts +0 -31
  933. package/src/resources/tools/composio/index.ts +0 -4
  934. package/src/resources/tools/composio.ts +0 -3
  935. package/src/resources/tools/index.ts +0 -23
  936. package/src/resources/tools/mcp/index.ts +0 -24
  937. package/src/resources/tools/mcp/mcp.ts +0 -63
  938. package/src/resources/tools/mcp/oauth.ts +0 -50
  939. package/src/resources/tools/mcp/servers/index.ts +0 -23
  940. package/src/resources/tools/mcp/servers/servers.ts +0 -587
  941. package/src/resources/tools/mcp/servers/tools.ts +0 -130
  942. package/src/resources/tools/mcp/servers.ts +0 -3
  943. package/src/resources/tools/tools.ts +0 -663
  944. package/src/resources/voice-beta/chat.ts +0 -33
  945. package/src/resources/voice-beta/index.ts +0 -4
  946. package/src/resources/voice-beta/voice-beta.ts +0 -19
  947. package/src/resources/voice-beta.ts +0 -3
  948. /package/resources/{messages → batches}/index.js +0 -0
  949. /package/resources/{messages → batches}/index.mjs +0 -0
@@ -0,0 +1,216 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { type Uploadable } from "../../core/uploads.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ export declare class Files extends APIResource {
6
+ /**
7
+ * List paginated files associated with a data folder.
8
+ */
9
+ list(folderID: string, query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
10
+ /**
11
+ * Delete a file from a folder.
12
+ */
13
+ delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void>;
14
+ /**
15
+ * Upload a file to a data folder.
16
+ */
17
+ upload(folderID: string, params: FileUploadParams, options?: RequestOptions): APIPromise<FileUploadResponse>;
18
+ }
19
+ export type FileListResponse = Array<FileListResponse.FileListResponseItem>;
20
+ export declare namespace FileListResponse {
21
+ /**
22
+ * Representation of a single FileMetadata
23
+ */
24
+ interface FileListResponseItem {
25
+ /**
26
+ * The unique identifier of the source associated with the document.
27
+ */
28
+ source_id: string;
29
+ /**
30
+ * The human-friendly ID of the File
31
+ */
32
+ id?: string;
33
+ /**
34
+ * Number of chunks that have been embedded.
35
+ */
36
+ chunks_embedded?: number | null;
37
+ /**
38
+ * Optional full-text content of the file; only populated on demand due to its
39
+ * size.
40
+ */
41
+ content?: string | null;
42
+ /**
43
+ * The creation date of the file.
44
+ */
45
+ created_at?: string | null;
46
+ /**
47
+ * Optional error message if the file failed processing.
48
+ */
49
+ error_message?: string | null;
50
+ /**
51
+ * The creation date of the file.
52
+ */
53
+ file_creation_date?: string | null;
54
+ /**
55
+ * The last modified date of the file.
56
+ */
57
+ file_last_modified_date?: string | null;
58
+ /**
59
+ * The name of the file.
60
+ */
61
+ file_name?: string | null;
62
+ /**
63
+ * The path to the file.
64
+ */
65
+ file_path?: string | null;
66
+ /**
67
+ * The size of the file in bytes.
68
+ */
69
+ file_size?: number | null;
70
+ /**
71
+ * The type of the file (MIME type).
72
+ */
73
+ file_type?: string | null;
74
+ /**
75
+ * The original name of the file as uploaded.
76
+ */
77
+ original_file_name?: string | null;
78
+ /**
79
+ * The current processing status of the file (e.g. pending, parsing, embedding,
80
+ * completed, error).
81
+ */
82
+ processing_status?: 'pending' | 'parsing' | 'embedding' | 'completed' | 'error';
83
+ /**
84
+ * Total number of chunks for the file.
85
+ */
86
+ total_chunks?: number | null;
87
+ /**
88
+ * The update date of the file.
89
+ */
90
+ updated_at?: string | null;
91
+ }
92
+ }
93
+ /**
94
+ * Representation of a single FileMetadata
95
+ */
96
+ export interface FileUploadResponse {
97
+ /**
98
+ * The unique identifier of the source associated with the document.
99
+ */
100
+ source_id: string;
101
+ /**
102
+ * The human-friendly ID of the File
103
+ */
104
+ id?: string;
105
+ /**
106
+ * Number of chunks that have been embedded.
107
+ */
108
+ chunks_embedded?: number | null;
109
+ /**
110
+ * Optional full-text content of the file; only populated on demand due to its
111
+ * size.
112
+ */
113
+ content?: string | null;
114
+ /**
115
+ * The creation date of the file.
116
+ */
117
+ created_at?: string | null;
118
+ /**
119
+ * Optional error message if the file failed processing.
120
+ */
121
+ error_message?: string | null;
122
+ /**
123
+ * The creation date of the file.
124
+ */
125
+ file_creation_date?: string | null;
126
+ /**
127
+ * The last modified date of the file.
128
+ */
129
+ file_last_modified_date?: string | null;
130
+ /**
131
+ * The name of the file.
132
+ */
133
+ file_name?: string | null;
134
+ /**
135
+ * The path to the file.
136
+ */
137
+ file_path?: string | null;
138
+ /**
139
+ * The size of the file in bytes.
140
+ */
141
+ file_size?: number | null;
142
+ /**
143
+ * The type of the file (MIME type).
144
+ */
145
+ file_type?: string | null;
146
+ /**
147
+ * The original name of the file as uploaded.
148
+ */
149
+ original_file_name?: string | null;
150
+ /**
151
+ * The current processing status of the file (e.g. pending, parsing, embedding,
152
+ * completed, error).
153
+ */
154
+ processing_status?: 'pending' | 'parsing' | 'embedding' | 'completed' | 'error';
155
+ /**
156
+ * Total number of chunks for the file.
157
+ */
158
+ total_chunks?: number | null;
159
+ /**
160
+ * The update date of the file.
161
+ */
162
+ updated_at?: string | null;
163
+ }
164
+ export interface FileListParams {
165
+ /**
166
+ * File ID cursor for pagination. Returns files that come after this file ID in the
167
+ * specified sort order
168
+ */
169
+ after?: string | null;
170
+ /**
171
+ * File ID cursor for pagination. Returns files that come before this file ID in
172
+ * the specified sort order
173
+ */
174
+ before?: string | null;
175
+ /**
176
+ * Whether to include full file content
177
+ */
178
+ include_content?: boolean;
179
+ /**
180
+ * Maximum number of files to return
181
+ */
182
+ limit?: number | null;
183
+ /**
184
+ * Sort order for files by creation time. 'asc' for oldest first, 'desc' for newest
185
+ * first
186
+ */
187
+ order?: 'asc' | 'desc';
188
+ /**
189
+ * Field to sort by
190
+ */
191
+ order_by?: 'created_at';
192
+ }
193
+ export interface FileDeleteParams {
194
+ /**
195
+ * The ID of the source in the format 'source-<uuid4>'
196
+ */
197
+ folder_id: string;
198
+ }
199
+ export interface FileUploadParams {
200
+ /**
201
+ * Body param:
202
+ */
203
+ file: Uploadable;
204
+ /**
205
+ * Query param: How to handle duplicate filenames
206
+ */
207
+ duplicate_handling?: 'skip' | 'error' | 'suffix' | 'replace';
208
+ /**
209
+ * Query param: Optional custom name to override the uploaded file's name
210
+ */
211
+ name?: string | null;
212
+ }
213
+ export declare namespace Files {
214
+ export { type FileListResponse as FileListResponse, type FileUploadResponse as FileUploadResponse, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileUploadParams as FileUploadParams, };
215
+ }
216
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/folders/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ5F;;OAEG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAOlC;AAED,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE5E,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,oBAAoB;QACnC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,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;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IAE7D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Files = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const headers_1 = require("../../internal/headers.js");
7
+ const uploads_1 = require("../../internal/uploads.js");
8
+ const path_1 = require("../../internal/utils/path.js");
9
+ class Files extends resource_1.APIResource {
10
+ /**
11
+ * List paginated files associated with a data folder.
12
+ */
13
+ list(folderID, query = {}, options) {
14
+ return this._client.get((0, path_1.path) `/v1/folders/${folderID}/files`, { query, ...options });
15
+ }
16
+ /**
17
+ * Delete a file from a folder.
18
+ */
19
+ delete(fileID, params, options) {
20
+ const { folder_id } = params;
21
+ return this._client.delete((0, path_1.path) `/v1/folders/${folder_id}/${fileID}`, {
22
+ ...options,
23
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
24
+ });
25
+ }
26
+ /**
27
+ * Upload a file to a data folder.
28
+ */
29
+ upload(folderID, params, options) {
30
+ const { duplicate_handling, name, ...body } = params;
31
+ return this._client.post((0, path_1.path) `/v1/folders/${folderID}/upload`, (0, uploads_1.multipartFormRequestOptions)({ query: { duplicate_handling, name }, body, ...options }, this._client));
32
+ }
33
+ }
34
+ exports.Files = Files;
35
+ //# sourceMappingURL=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@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { buildHeaders } from "../../internal/headers.mjs";
4
+ import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
5
+ import { path } from "../../internal/utils/path.mjs";
6
+ export class Files extends APIResource {
7
+ /**
8
+ * List paginated files associated with a data folder.
9
+ */
10
+ list(folderID, query = {}, options) {
11
+ return this._client.get(path `/v1/folders/${folderID}/files`, { query, ...options });
12
+ }
13
+ /**
14
+ * Delete a file from a folder.
15
+ */
16
+ delete(fileID, params, options) {
17
+ const { folder_id } = params;
18
+ return this._client.delete(path `/v1/folders/${folder_id}/${fileID}`, {
19
+ ...options,
20
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
21
+ });
22
+ }
23
+ /**
24
+ * Upload a file to a data folder.
25
+ */
26
+ upload(folderID, params, options) {
27
+ const { duplicate_handling, name, ...body } = params;
28
+ return this._client.post(path `/v1/folders/${folderID}/upload`, multipartFormRequestOptions({ query: { duplicate_handling, name }, body, ...options }, this._client));
29
+ }
30
+ }
31
+ //# sourceMappingURL=files.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/folders/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,QAAgB,EAChB,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,SAAS,IAAI,MAAM,EAAE,EAAE;YACnE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,QAAgB,EAChB,MAAwB,EACxB,OAAwB;QAExB,MAAM,EAAE,kBAAkB,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAI,CAAA,eAAe,QAAQ,SAAS,EACpC,2BAA2B,CAAC,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CACrG,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,183 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as AgentsAPI from "./agents.mjs";
3
+ import { AgentListParams, AgentListResponse, Agents } from "./agents.mjs";
4
+ import * as FilesAPI from "./files.mjs";
5
+ import { FileDeleteParams, FileListParams, FileListResponse, FileUploadParams, FileUploadResponse, Files } from "./files.mjs";
6
+ import * as ModelsAPI from "../models/models.mjs";
7
+ import { APIPromise } from "../../core/api-promise.mjs";
8
+ import { RequestOptions } from "../../internal/request-options.mjs";
9
+ export declare class Folders extends APIResource {
10
+ files: FilesAPI.Files;
11
+ agents: AgentsAPI.Agents;
12
+ /**
13
+ * Create a new data folder.
14
+ */
15
+ create(body: FolderCreateParams, options?: RequestOptions): APIPromise<Folder>;
16
+ /**
17
+ * Get a folder by ID
18
+ */
19
+ retrieve(folderID: string, options?: RequestOptions): APIPromise<Folder>;
20
+ /**
21
+ * Update the name or documentation of an existing data folder.
22
+ */
23
+ update(folderID: string, body: FolderUpdateParams, options?: RequestOptions): APIPromise<Folder>;
24
+ /**
25
+ * List all data folders created by a user.
26
+ */
27
+ list(query?: FolderListParams | null | undefined, options?: RequestOptions): APIPromise<FolderListResponse>;
28
+ /**
29
+ * Delete a data folder.
30
+ */
31
+ delete(folderID: string, options?: RequestOptions): APIPromise<unknown>;
32
+ /**
33
+ * Count all data folders created by a user.
34
+ */
35
+ count(options?: RequestOptions): APIPromise<FolderCountResponse>;
36
+ }
37
+ /**
38
+ * Representation of a folder, which is a collection of files and passages.
39
+ *
40
+ * Parameters: id (str): The ID of the folder name (str): The name of the folder.
41
+ * embedding_config (EmbeddingConfig): The embedding configuration used by the
42
+ * folder. user_id (str): The ID of the user that created the folder. metadata
43
+ * (dict): Metadata associated with the folder. description (str): The description
44
+ * of the folder.
45
+ */
46
+ export interface Folder {
47
+ /**
48
+ * The embedding configuration used by the folder.
49
+ */
50
+ embedding_config: ModelsAPI.EmbeddingConfig;
51
+ /**
52
+ * The name of the folder.
53
+ */
54
+ name: string;
55
+ /**
56
+ * The human-friendly ID of the Source
57
+ */
58
+ id?: string;
59
+ /**
60
+ * The timestamp when the folder was created.
61
+ */
62
+ created_at?: string | null;
63
+ /**
64
+ * The id of the user that made this Tool.
65
+ */
66
+ created_by_id?: string | null;
67
+ /**
68
+ * The description of the folder.
69
+ */
70
+ description?: string | null;
71
+ /**
72
+ * Instructions for how to use the folder.
73
+ */
74
+ instructions?: string | null;
75
+ /**
76
+ * The id of the user that made this Tool.
77
+ */
78
+ last_updated_by_id?: string | null;
79
+ /**
80
+ * Metadata associated with the folder.
81
+ */
82
+ metadata?: {
83
+ [key: string]: unknown;
84
+ } | null;
85
+ /**
86
+ * The timestamp when the folder was last updated.
87
+ */
88
+ updated_at?: string | null;
89
+ }
90
+ export type FolderListResponse = Array<Folder>;
91
+ export type FolderDeleteResponse = unknown;
92
+ export type FolderCountResponse = number;
93
+ export interface FolderCreateParams {
94
+ /**
95
+ * The name of the source.
96
+ */
97
+ name: string;
98
+ /**
99
+ * The description of the source.
100
+ */
101
+ description?: string | null;
102
+ /**
103
+ * The handle for the embedding config used by the source.
104
+ */
105
+ embedding?: string | null;
106
+ /**
107
+ * The chunk size of the embedding.
108
+ */
109
+ embedding_chunk_size?: number | null;
110
+ /**
111
+ * Configuration for embedding model connection and processing parameters.
112
+ */
113
+ embedding_config?: ModelsAPI.EmbeddingConfig | null;
114
+ /**
115
+ * Instructions for how to use the source.
116
+ */
117
+ instructions?: string | null;
118
+ /**
119
+ * Metadata associated with the source.
120
+ */
121
+ metadata?: {
122
+ [key: string]: unknown;
123
+ } | null;
124
+ }
125
+ export interface FolderUpdateParams {
126
+ /**
127
+ * The description of the source.
128
+ */
129
+ description?: string | null;
130
+ /**
131
+ * Configuration for embedding model connection and processing parameters.
132
+ */
133
+ embedding_config?: ModelsAPI.EmbeddingConfig | null;
134
+ /**
135
+ * Instructions for how to use the source.
136
+ */
137
+ instructions?: string | null;
138
+ /**
139
+ * Metadata associated with the source.
140
+ */
141
+ metadata?: {
142
+ [key: string]: unknown;
143
+ } | null;
144
+ /**
145
+ * The name of the source.
146
+ */
147
+ name?: string | null;
148
+ }
149
+ export interface FolderListParams {
150
+ /**
151
+ * Folder ID cursor for pagination. Returns folders that come after this folder ID
152
+ * in the specified sort order
153
+ */
154
+ after?: string | null;
155
+ /**
156
+ * Folder ID cursor for pagination. Returns folders that come before this folder ID
157
+ * in the specified sort order
158
+ */
159
+ before?: string | null;
160
+ /**
161
+ * Maximum number of folders to return
162
+ */
163
+ limit?: number | null;
164
+ /**
165
+ * Folder name to filter by
166
+ */
167
+ name?: string | null;
168
+ /**
169
+ * Sort order for folders by creation time. 'asc' for oldest first, 'desc' for
170
+ * newest first
171
+ */
172
+ order?: 'asc' | 'desc';
173
+ /**
174
+ * Field to sort by
175
+ */
176
+ order_by?: 'created_at';
177
+ }
178
+ export declare namespace Folders {
179
+ export { type Folder as Folder, type FolderListResponse as FolderListResponse, type FolderDeleteResponse as FolderDeleteResponse, type FolderCountResponse as FolderCountResponse, type FolderCreateParams as FolderCreateParams, type FolderUpdateParams as FolderUpdateParams, type FolderListParams as FolderListParams, };
180
+ export { Files as Files, type FileListResponse as FileListResponse, type FileUploadResponse as FileUploadResponse, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileUploadParams as FileUploadParams, };
181
+ export { Agents as Agents, type AgentListResponse as AgentListResponse, type AgentListParams as AgentListParams, };
182
+ }
183
+ //# sourceMappingURL=folders.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folders.d.mts","sourceRoot":"","sources":["../../src/resources/folders/folders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC9C,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIxE;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIhG;;OAEG;IACH,IAAI,CACF,KAAK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,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,183 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as AgentsAPI from "./agents.js";
3
+ import { AgentListParams, AgentListResponse, Agents } from "./agents.js";
4
+ import * as FilesAPI from "./files.js";
5
+ import { FileDeleteParams, FileListParams, FileListResponse, FileUploadParams, FileUploadResponse, Files } from "./files.js";
6
+ import * as ModelsAPI from "../models/models.js";
7
+ import { APIPromise } from "../../core/api-promise.js";
8
+ import { RequestOptions } from "../../internal/request-options.js";
9
+ export declare class Folders extends APIResource {
10
+ files: FilesAPI.Files;
11
+ agents: AgentsAPI.Agents;
12
+ /**
13
+ * Create a new data folder.
14
+ */
15
+ create(body: FolderCreateParams, options?: RequestOptions): APIPromise<Folder>;
16
+ /**
17
+ * Get a folder by ID
18
+ */
19
+ retrieve(folderID: string, options?: RequestOptions): APIPromise<Folder>;
20
+ /**
21
+ * Update the name or documentation of an existing data folder.
22
+ */
23
+ update(folderID: string, body: FolderUpdateParams, options?: RequestOptions): APIPromise<Folder>;
24
+ /**
25
+ * List all data folders created by a user.
26
+ */
27
+ list(query?: FolderListParams | null | undefined, options?: RequestOptions): APIPromise<FolderListResponse>;
28
+ /**
29
+ * Delete a data folder.
30
+ */
31
+ delete(folderID: string, options?: RequestOptions): APIPromise<unknown>;
32
+ /**
33
+ * Count all data folders created by a user.
34
+ */
35
+ count(options?: RequestOptions): APIPromise<FolderCountResponse>;
36
+ }
37
+ /**
38
+ * Representation of a folder, which is a collection of files and passages.
39
+ *
40
+ * Parameters: id (str): The ID of the folder name (str): The name of the folder.
41
+ * embedding_config (EmbeddingConfig): The embedding configuration used by the
42
+ * folder. user_id (str): The ID of the user that created the folder. metadata
43
+ * (dict): Metadata associated with the folder. description (str): The description
44
+ * of the folder.
45
+ */
46
+ export interface Folder {
47
+ /**
48
+ * The embedding configuration used by the folder.
49
+ */
50
+ embedding_config: ModelsAPI.EmbeddingConfig;
51
+ /**
52
+ * The name of the folder.
53
+ */
54
+ name: string;
55
+ /**
56
+ * The human-friendly ID of the Source
57
+ */
58
+ id?: string;
59
+ /**
60
+ * The timestamp when the folder was created.
61
+ */
62
+ created_at?: string | null;
63
+ /**
64
+ * The id of the user that made this Tool.
65
+ */
66
+ created_by_id?: string | null;
67
+ /**
68
+ * The description of the folder.
69
+ */
70
+ description?: string | null;
71
+ /**
72
+ * Instructions for how to use the folder.
73
+ */
74
+ instructions?: string | null;
75
+ /**
76
+ * The id of the user that made this Tool.
77
+ */
78
+ last_updated_by_id?: string | null;
79
+ /**
80
+ * Metadata associated with the folder.
81
+ */
82
+ metadata?: {
83
+ [key: string]: unknown;
84
+ } | null;
85
+ /**
86
+ * The timestamp when the folder was last updated.
87
+ */
88
+ updated_at?: string | null;
89
+ }
90
+ export type FolderListResponse = Array<Folder>;
91
+ export type FolderDeleteResponse = unknown;
92
+ export type FolderCountResponse = number;
93
+ export interface FolderCreateParams {
94
+ /**
95
+ * The name of the source.
96
+ */
97
+ name: string;
98
+ /**
99
+ * The description of the source.
100
+ */
101
+ description?: string | null;
102
+ /**
103
+ * The handle for the embedding config used by the source.
104
+ */
105
+ embedding?: string | null;
106
+ /**
107
+ * The chunk size of the embedding.
108
+ */
109
+ embedding_chunk_size?: number | null;
110
+ /**
111
+ * Configuration for embedding model connection and processing parameters.
112
+ */
113
+ embedding_config?: ModelsAPI.EmbeddingConfig | null;
114
+ /**
115
+ * Instructions for how to use the source.
116
+ */
117
+ instructions?: string | null;
118
+ /**
119
+ * Metadata associated with the source.
120
+ */
121
+ metadata?: {
122
+ [key: string]: unknown;
123
+ } | null;
124
+ }
125
+ export interface FolderUpdateParams {
126
+ /**
127
+ * The description of the source.
128
+ */
129
+ description?: string | null;
130
+ /**
131
+ * Configuration for embedding model connection and processing parameters.
132
+ */
133
+ embedding_config?: ModelsAPI.EmbeddingConfig | null;
134
+ /**
135
+ * Instructions for how to use the source.
136
+ */
137
+ instructions?: string | null;
138
+ /**
139
+ * Metadata associated with the source.
140
+ */
141
+ metadata?: {
142
+ [key: string]: unknown;
143
+ } | null;
144
+ /**
145
+ * The name of the source.
146
+ */
147
+ name?: string | null;
148
+ }
149
+ export interface FolderListParams {
150
+ /**
151
+ * Folder ID cursor for pagination. Returns folders that come after this folder ID
152
+ * in the specified sort order
153
+ */
154
+ after?: string | null;
155
+ /**
156
+ * Folder ID cursor for pagination. Returns folders that come before this folder ID
157
+ * in the specified sort order
158
+ */
159
+ before?: string | null;
160
+ /**
161
+ * Maximum number of folders to return
162
+ */
163
+ limit?: number | null;
164
+ /**
165
+ * Folder name to filter by
166
+ */
167
+ name?: string | null;
168
+ /**
169
+ * Sort order for folders by creation time. 'asc' for oldest first, 'desc' for
170
+ * newest first
171
+ */
172
+ order?: 'asc' | 'desc';
173
+ /**
174
+ * Field to sort by
175
+ */
176
+ order_by?: 'created_at';
177
+ }
178
+ export declare namespace Folders {
179
+ export { type Folder as Folder, type FolderListResponse as FolderListResponse, type FolderDeleteResponse as FolderDeleteResponse, type FolderCountResponse as FolderCountResponse, type FolderCreateParams as FolderCreateParams, type FolderUpdateParams as FolderUpdateParams, type FolderListParams as FolderListParams, };
180
+ export { Files as Files, type FileListResponse as FileListResponse, type FileUploadResponse as FileUploadResponse, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileUploadParams as FileUploadParams, };
181
+ export { Agents as Agents, type AgentListResponse as AgentListResponse, type AgentListParams as AgentListParams, };
182
+ }
183
+ //# sourceMappingURL=folders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folders.d.ts","sourceRoot":"","sources":["../../src/resources/folders/folders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC9C,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIxE;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIhG;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAA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