@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
@@ -1,320 +1,2 @@
1
- import { APIResource } from "../core/resource.js";
2
- import * as ModelsAPI from "./models.js";
3
- import * as SourcesAPI from "./sources/sources.js";
4
- import { APIPromise } from "../core/api-promise.js";
5
- import { type Uploadable } from "../core/uploads.js";
6
- import { RequestOptions } from "../internal/request-options.js";
7
- export declare class Folders extends APIResource {
8
- /**
9
- * Create a new data folder.
10
- */
11
- create(body: FolderCreateParams, options?: RequestOptions): APIPromise<Folder>;
12
- /**
13
- * Get a folder by ID
14
- */
15
- retrieve(folderID: string, options?: RequestOptions): APIPromise<Folder>;
16
- /**
17
- * Update the name or documentation of an existing data folder.
18
- */
19
- update(folderID: string, body: FolderUpdateParams, options?: RequestOptions): APIPromise<Folder>;
20
- /**
21
- * List all data folders created by a user.
22
- */
23
- list(query?: FolderListParams | null | undefined, options?: RequestOptions): APIPromise<FolderListResponse>;
24
- /**
25
- * Delete a data folder.
26
- */
27
- delete(folderID: string, options?: RequestOptions): APIPromise<unknown>;
28
- /**
29
- * Count all data folders created by a user.
30
- */
31
- count(options?: RequestOptions): APIPromise<FolderCountResponse>;
32
- /**
33
- * Delete a file from a folder.
34
- */
35
- deleteFile(fileID: string, params: FolderDeleteFileParams, options?: RequestOptions): APIPromise<void>;
36
- /**
37
- * **Deprecated**: Please use the list endpoint `GET /v1/folders?name=` instead.
38
- *
39
- * Get a folder by name.
40
- *
41
- * @deprecated
42
- */
43
- getByName(folderName: string, options?: RequestOptions): APIPromise<string>;
44
- /**
45
- * Get all agent IDs that have the specified folder attached.
46
- */
47
- listAgents(folderID: string, query?: FolderListAgentsParams | null | undefined, options?: RequestOptions): APIPromise<FolderListAgentsResponse>;
48
- /**
49
- * List paginated files associated with a data folder.
50
- */
51
- listFiles(folderID: string, query?: FolderListFilesParams | null | undefined, options?: RequestOptions): APIPromise<FolderListFilesResponse>;
52
- /**
53
- * List all passages associated with a data folder.
54
- */
55
- listPassages(folderID: string, query?: FolderListPassagesParams | null | undefined, options?: RequestOptions): APIPromise<FolderListPassagesResponse>;
56
- /**
57
- * Get aggregated metadata for all folders in an organization.
58
- *
59
- * Returns structured metadata including:
60
- *
61
- * - Total number of folders
62
- * - Total number of files across all folders
63
- * - Total size of all files
64
- * - Per-source breakdown with file details (file_name, file_size per file) if
65
- * include_detailed_per_source_metadata is True
66
- */
67
- retrieveMetadata(query?: FolderRetrieveMetadataParams | null | undefined, options?: RequestOptions): APIPromise<SourcesAPI.OrganizationSourcesStats>;
68
- /**
69
- * Upload a file to a data folder.
70
- */
71
- uploadFile(folderID: string, params: FolderUploadFileParams, options?: RequestOptions): APIPromise<SourcesAPI.FileMetadata>;
72
- }
73
- /**
74
- * Representation of a folder, which is a collection of files and passages.
75
- *
76
- * Parameters: id (str): The ID of the folder name (str): The name of the folder.
77
- * embedding_config (EmbeddingConfig): The embedding configuration used by the
78
- * folder. user_id (str): The ID of the user that created the folder. metadata
79
- * (dict): Metadata associated with the folder. description (str): The description
80
- * of the folder.
81
- */
82
- export interface Folder {
83
- /**
84
- * The embedding configuration used by the folder.
85
- */
86
- embedding_config: ModelsAPI.EmbeddingConfig;
87
- /**
88
- * The name of the folder.
89
- */
90
- name: string;
91
- /**
92
- * The human-friendly ID of the Source
93
- */
94
- id?: string;
95
- /**
96
- * The timestamp when the folder was created.
97
- */
98
- created_at?: string | null;
99
- /**
100
- * The id of the user that made this Tool.
101
- */
102
- created_by_id?: string | null;
103
- /**
104
- * The description of the folder.
105
- */
106
- description?: string | null;
107
- /**
108
- * Instructions for how to use the folder.
109
- */
110
- instructions?: string | null;
111
- /**
112
- * The id of the user that made this Tool.
113
- */
114
- last_updated_by_id?: string | null;
115
- /**
116
- * Metadata associated with the folder.
117
- */
118
- metadata?: {
119
- [key: string]: unknown;
120
- } | null;
121
- /**
122
- * The timestamp when the folder was last updated.
123
- */
124
- updated_at?: string | null;
125
- }
126
- export type FolderListResponse = Array<Folder>;
127
- export type FolderDeleteResponse = unknown;
128
- export type FolderCountResponse = number;
129
- export type FolderGetByNameResponse = string;
130
- export type FolderListAgentsResponse = Array<string>;
131
- export type FolderListFilesResponse = Array<SourcesAPI.FileMetadata>;
132
- export type FolderListPassagesResponse = Array<SourcesAPI.Passage>;
133
- export interface FolderCreateParams {
134
- /**
135
- * The name of the source.
136
- */
137
- name: string;
138
- /**
139
- * The description of the source.
140
- */
141
- description?: string | null;
142
- /**
143
- * The handle for the embedding config used by the source.
144
- */
145
- embedding?: string | null;
146
- /**
147
- * The chunk size of the embedding.
148
- */
149
- embedding_chunk_size?: number | null;
150
- /**
151
- * Configuration for embedding model connection and processing parameters.
152
- */
153
- embedding_config?: ModelsAPI.EmbeddingConfig | null;
154
- /**
155
- * Instructions for how to use the source.
156
- */
157
- instructions?: string | null;
158
- /**
159
- * Metadata associated with the source.
160
- */
161
- metadata?: {
162
- [key: string]: unknown;
163
- } | null;
164
- }
165
- export interface FolderUpdateParams {
166
- /**
167
- * The description of the source.
168
- */
169
- description?: string | null;
170
- /**
171
- * Configuration for embedding model connection and processing parameters.
172
- */
173
- embedding_config?: ModelsAPI.EmbeddingConfig | null;
174
- /**
175
- * Instructions for how to use the source.
176
- */
177
- instructions?: string | null;
178
- /**
179
- * Metadata associated with the source.
180
- */
181
- metadata?: {
182
- [key: string]: unknown;
183
- } | null;
184
- /**
185
- * The name of the source.
186
- */
187
- name?: string | null;
188
- }
189
- export interface FolderListParams {
190
- /**
191
- * Folder ID cursor for pagination. Returns folders that come after this folder ID
192
- * in the specified sort order
193
- */
194
- after?: string | null;
195
- /**
196
- * Folder ID cursor for pagination. Returns folders that come before this folder ID
197
- * in the specified sort order
198
- */
199
- before?: string | null;
200
- /**
201
- * Maximum number of folders to return
202
- */
203
- limit?: number | null;
204
- /**
205
- * Folder name to filter by
206
- */
207
- name?: string | null;
208
- /**
209
- * Sort order for folders by creation time. 'asc' for oldest first, 'desc' for
210
- * newest first
211
- */
212
- order?: 'asc' | 'desc';
213
- /**
214
- * Field to sort by
215
- */
216
- order_by?: 'created_at';
217
- }
218
- export interface FolderDeleteFileParams {
219
- folder_id: string;
220
- }
221
- export interface FolderListAgentsParams {
222
- /**
223
- * Agent ID cursor for pagination. Returns agents that come after this agent ID in
224
- * the specified sort order
225
- */
226
- after?: string | null;
227
- /**
228
- * Agent ID cursor for pagination. Returns agents that come before this agent ID in
229
- * the specified sort order
230
- */
231
- before?: string | null;
232
- /**
233
- * Maximum number of agents to return
234
- */
235
- limit?: number | null;
236
- /**
237
- * Sort order for agents by creation time. 'asc' for oldest first, 'desc' for
238
- * newest first
239
- */
240
- order?: 'asc' | 'desc';
241
- /**
242
- * Field to sort by
243
- */
244
- order_by?: 'created_at';
245
- }
246
- export interface FolderListFilesParams {
247
- /**
248
- * File ID cursor for pagination. Returns files that come after this file ID in the
249
- * specified sort order
250
- */
251
- after?: string | null;
252
- /**
253
- * File ID cursor for pagination. Returns files that come before this file ID in
254
- * the specified sort order
255
- */
256
- before?: string | null;
257
- /**
258
- * Whether to include full file content
259
- */
260
- include_content?: boolean;
261
- /**
262
- * Maximum number of files to return
263
- */
264
- limit?: number | null;
265
- /**
266
- * Sort order for files by creation time. 'asc' for oldest first, 'desc' for newest
267
- * first
268
- */
269
- order?: 'asc' | 'desc';
270
- /**
271
- * Field to sort by
272
- */
273
- order_by?: 'created_at';
274
- }
275
- export interface FolderListPassagesParams {
276
- /**
277
- * Passage ID cursor for pagination. Returns passages that come after this passage
278
- * ID in the specified sort order
279
- */
280
- after?: string | null;
281
- /**
282
- * Passage ID cursor for pagination. Returns passages that come before this passage
283
- * ID in the specified sort order
284
- */
285
- before?: string | null;
286
- /**
287
- * Maximum number of passages to return
288
- */
289
- limit?: number | null;
290
- /**
291
- * Sort order for passages by creation time. 'asc' for oldest first, 'desc' for
292
- * newest first
293
- */
294
- order?: 'asc' | 'desc';
295
- /**
296
- * Field to sort by
297
- */
298
- order_by?: 'created_at';
299
- }
300
- export interface FolderRetrieveMetadataParams {
301
- include_detailed_per_source_metadata?: boolean;
302
- }
303
- export interface FolderUploadFileParams {
304
- /**
305
- * Body param:
306
- */
307
- file: Uploadable;
308
- /**
309
- * Query param: How to handle duplicate filenames
310
- */
311
- duplicate_handling?: SourcesAPI.DuplicateFileHandling;
312
- /**
313
- * Query param: Optional custom name to override the uploaded file's name
314
- */
315
- name?: string | null;
316
- }
317
- export declare namespace Folders {
318
- export { type Folder as Folder, type FolderListResponse as FolderListResponse, type FolderDeleteResponse as FolderDeleteResponse, type FolderCountResponse as FolderCountResponse, type FolderGetByNameResponse as FolderGetByNameResponse, type FolderListAgentsResponse as FolderListAgentsResponse, type FolderListFilesResponse as FolderListFilesResponse, type FolderListPassagesResponse as FolderListPassagesResponse, type FolderCreateParams as FolderCreateParams, type FolderUpdateParams as FolderUpdateParams, type FolderListParams as FolderListParams, type FolderDeleteFileParams as FolderDeleteFileParams, type FolderListAgentsParams as FolderListAgentsParams, type FolderListFilesParams as FolderListFilesParams, type FolderListPassagesParams as FolderListPassagesParams, type FolderRetrieveMetadataParams as FolderRetrieveMetadataParams, type FolderUploadFileParams as FolderUploadFileParams, };
319
- }
1
+ export * from "./folders/index.js";
320
2
  //# sourceMappingURL=folders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"folders.d.ts","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;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,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIvE;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQtG;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,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I,0BAA0B,EAC7D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
1
+ {"version":3,"file":"folders.d.ts","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":""}
@@ -1,107 +1,6 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Folders = 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 Folders extends resource_1.APIResource {
10
- /**
11
- * Create a new data folder.
12
- */
13
- create(body, options) {
14
- return this._client.post('/v1/folders/', { body, ...options });
15
- }
16
- /**
17
- * Get a folder by ID
18
- */
19
- retrieve(folderID, options) {
20
- return this._client.get((0, path_1.path) `/v1/folders/${folderID}`, options);
21
- }
22
- /**
23
- * Update the name or documentation of an existing data folder.
24
- */
25
- update(folderID, body, options) {
26
- return this._client.patch((0, path_1.path) `/v1/folders/${folderID}`, { body, ...options });
27
- }
28
- /**
29
- * List all data folders created by a user.
30
- */
31
- list(query = {}, options) {
32
- return this._client.get('/v1/folders/', { query, ...options });
33
- }
34
- /**
35
- * Delete a data folder.
36
- */
37
- delete(folderID, options) {
38
- return this._client.delete((0, path_1.path) `/v1/folders/${folderID}`, options);
39
- }
40
- /**
41
- * Count all data folders created by a user.
42
- */
43
- count(options) {
44
- return this._client.get('/v1/folders/count', options);
45
- }
46
- /**
47
- * Delete a file from a folder.
48
- */
49
- deleteFile(fileID, params, options) {
50
- const { folder_id } = params;
51
- return this._client.delete((0, path_1.path) `/v1/folders/${folder_id}/${fileID}`, {
52
- ...options,
53
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
54
- });
55
- }
56
- /**
57
- * **Deprecated**: Please use the list endpoint `GET /v1/folders?name=` instead.
58
- *
59
- * Get a folder by name.
60
- *
61
- * @deprecated
62
- */
63
- getByName(folderName, options) {
64
- return this._client.get((0, path_1.path) `/v1/folders/name/${folderName}`, options);
65
- }
66
- /**
67
- * Get all agent IDs that have the specified folder attached.
68
- */
69
- listAgents(folderID, query = {}, options) {
70
- return this._client.get((0, path_1.path) `/v1/folders/${folderID}/agents`, { query, ...options });
71
- }
72
- /**
73
- * List paginated files associated with a data folder.
74
- */
75
- listFiles(folderID, query = {}, options) {
76
- return this._client.get((0, path_1.path) `/v1/folders/${folderID}/files`, { query, ...options });
77
- }
78
- /**
79
- * List all passages associated with a data folder.
80
- */
81
- listPassages(folderID, query = {}, options) {
82
- return this._client.get((0, path_1.path) `/v1/folders/${folderID}/passages`, { query, ...options });
83
- }
84
- /**
85
- * Get aggregated metadata for all folders in an organization.
86
- *
87
- * Returns structured metadata including:
88
- *
89
- * - Total number of folders
90
- * - Total number of files across all folders
91
- * - Total size of all files
92
- * - Per-source breakdown with file details (file_name, file_size per file) if
93
- * include_detailed_per_source_metadata is True
94
- */
95
- retrieveMetadata(query = {}, options) {
96
- return this._client.get('/v1/folders/metadata', { query, ...options });
97
- }
98
- /**
99
- * Upload a file to a data folder.
100
- */
101
- uploadFile(folderID, params, options) {
102
- const { duplicate_handling, name, ...body } = params;
103
- return this._client.post((0, path_1.path) `/v1/folders/${folderID}/upload`, (0, uploads_1.multipartFormRequestOptions)({ query: { duplicate_handling, name }, body, ...options }, this._client));
104
- }
105
- }
106
- exports.Folders = Folders;
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./folders/index.js"), exports);
107
6
  //# sourceMappingURL=folders.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"folders.js","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,oDAAmD;AAEnD,oDAAkE;AAClE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAwB,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAwB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAA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,CAAC;IACzF,CAAC;IAED;;;;;;;;;;OAUG;IACH,gBAAgB,CACd,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,UAAU,CACR,QAAgB,EAChB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,kBAAkB,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,eAAe,QAAQ,SAAS,EACpC,IAAA,qCAA2B,EAAC,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CACrG,CAAC;IACJ,CAAC;CACF;AArID,0BAqIC"}
1
+ {"version":3,"file":"folders.js","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
@@ -1,103 +1,3 @@
1
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 Folders extends APIResource {
7
- /**
8
- * Create a new data folder.
9
- */
10
- create(body, options) {
11
- return this._client.post('/v1/folders/', { body, ...options });
12
- }
13
- /**
14
- * Get a folder by ID
15
- */
16
- retrieve(folderID, options) {
17
- return this._client.get(path `/v1/folders/${folderID}`, options);
18
- }
19
- /**
20
- * Update the name or documentation of an existing data folder.
21
- */
22
- update(folderID, body, options) {
23
- return this._client.patch(path `/v1/folders/${folderID}`, { body, ...options });
24
- }
25
- /**
26
- * List all data folders created by a user.
27
- */
28
- list(query = {}, options) {
29
- return this._client.get('/v1/folders/', { query, ...options });
30
- }
31
- /**
32
- * Delete a data folder.
33
- */
34
- delete(folderID, options) {
35
- return this._client.delete(path `/v1/folders/${folderID}`, options);
36
- }
37
- /**
38
- * Count all data folders created by a user.
39
- */
40
- count(options) {
41
- return this._client.get('/v1/folders/count', options);
42
- }
43
- /**
44
- * Delete a file from a folder.
45
- */
46
- deleteFile(fileID, params, options) {
47
- const { folder_id } = params;
48
- return this._client.delete(path `/v1/folders/${folder_id}/${fileID}`, {
49
- ...options,
50
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
51
- });
52
- }
53
- /**
54
- * **Deprecated**: Please use the list endpoint `GET /v1/folders?name=` instead.
55
- *
56
- * Get a folder by name.
57
- *
58
- * @deprecated
59
- */
60
- getByName(folderName, options) {
61
- return this._client.get(path `/v1/folders/name/${folderName}`, options);
62
- }
63
- /**
64
- * Get all agent IDs that have the specified folder attached.
65
- */
66
- listAgents(folderID, query = {}, options) {
67
- return this._client.get(path `/v1/folders/${folderID}/agents`, { query, ...options });
68
- }
69
- /**
70
- * List paginated files associated with a data folder.
71
- */
72
- listFiles(folderID, query = {}, options) {
73
- return this._client.get(path `/v1/folders/${folderID}/files`, { query, ...options });
74
- }
75
- /**
76
- * List all passages associated with a data folder.
77
- */
78
- listPassages(folderID, query = {}, options) {
79
- return this._client.get(path `/v1/folders/${folderID}/passages`, { query, ...options });
80
- }
81
- /**
82
- * Get aggregated metadata for all folders in an organization.
83
- *
84
- * Returns structured metadata including:
85
- *
86
- * - Total number of folders
87
- * - Total number of files across all folders
88
- * - Total size of all files
89
- * - Per-source breakdown with file details (file_name, file_size per file) if
90
- * include_detailed_per_source_metadata is True
91
- */
92
- retrieveMetadata(query = {}, options) {
93
- return this._client.get('/v1/folders/metadata', { query, ...options });
94
- }
95
- /**
96
- * Upload a file to a data folder.
97
- */
98
- uploadFile(folderID, params, options) {
99
- const { duplicate_handling, name, ...body } = params;
100
- return this._client.post(path `/v1/folders/${folderID}/upload`, multipartFormRequestOptions({ query: { duplicate_handling, name }, body, ...options }, this._client));
101
- }
102
- }
2
+ export * from "./folders/index.mjs";
103
3
  //# sourceMappingURL=folders.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"folders.mjs","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAwB,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE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AAC,IAAI,CAAA,eAAe,QAAQ,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;OAUG;IACH,gBAAgB,CACd,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,UAAU,CACR,QAAgB,EAChB,MAA8B,EAC9B,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"}
1
+ {"version":3,"file":"folders.mjs","sourceRoot":"","sources":["../src/resources/folders.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -1,6 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as MessagesAPI from "./messages.mjs";
3
- import { MessageListParams, MessageListResponse, MessageSendParams, MessageSendStreamParams, MessageSendStreamResponse, MessageUpdateParams, MessageUpdateResponse, Messages } from "./messages.mjs";
3
+ import { MessageListParams, MessageListResponse, MessageResetResponse, MessageSendParams, MessageStreamParams, MessageStreamResponse, MessageUpdateParams, MessageUpdateResponse, Messages } from "./messages.mjs";
4
4
  import { APIPromise } from "../../core/api-promise.mjs";
5
5
  import { RequestOptions } from "../../internal/request-options.mjs";
6
6
  export declare class Groups extends APIResource {
@@ -29,10 +29,6 @@ export declare class Groups extends APIResource {
29
29
  * Get the count of all groups associated with a given user.
30
30
  */
31
31
  count(options?: RequestOptions): APIPromise<GroupCountResponse>;
32
- /**
33
- * Delete the group messages for all agents that are part of the multi-agent group.
34
- */
35
- resetMessages(groupID: string, options?: RequestOptions): APIPromise<unknown>;
36
32
  }
37
33
  export interface DynamicManager {
38
34
  manager_agent_id: string;
@@ -119,7 +115,6 @@ export interface VoiceSleeptimeManager {
119
115
  export type GroupListResponse = Array<Group>;
120
116
  export type GroupDeleteResponse = unknown;
121
117
  export type GroupCountResponse = number;
122
- export type GroupResetMessagesResponse = unknown;
123
118
  export interface GroupCreateParams {
124
119
  /**
125
120
  * Body param:
@@ -246,7 +241,7 @@ export interface GroupListParams {
246
241
  project_id?: string | null;
247
242
  }
248
243
  export declare namespace Groups {
249
- export { type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupListResponse as GroupListResponse, type GroupDeleteResponse as GroupDeleteResponse, type GroupCountResponse as GroupCountResponse, type GroupResetMessagesResponse as GroupResetMessagesResponse, type GroupCreateParams as GroupCreateParams, type GroupUpdateParams as GroupUpdateParams, type GroupListParams as GroupListParams, };
250
- export { Messages as Messages, type MessageUpdateResponse as MessageUpdateResponse, type MessageListResponse as MessageListResponse, type MessageSendStreamResponse as MessageSendStreamResponse, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageSendParams as MessageSendParams, type MessageSendStreamParams as MessageSendStreamParams, };
244
+ export { type DynamicManager as DynamicManager, type Group as Group, type ManagerType as ManagerType, type RoundRobinManager as RoundRobinManager, type SleeptimeManager as SleeptimeManager, type SupervisorManager as SupervisorManager, type VoiceSleeptimeManager as VoiceSleeptimeManager, type GroupListResponse as GroupListResponse, type GroupDeleteResponse as GroupDeleteResponse, type GroupCountResponse as GroupCountResponse, type GroupCreateParams as GroupCreateParams, type GroupUpdateParams as GroupUpdateParams, type GroupListParams as GroupListParams, };
245
+ export { Messages as Messages, type MessageUpdateResponse as MessageUpdateResponse, type MessageListResponse as MessageListResponse, type MessageResetResponse as MessageResetResponse, type MessageStreamResponse as MessageStreamResponse, type MessageUpdateParams as MessageUpdateParams, type MessageListParams as MessageListParams, type MessageSendParams as MessageSendParams, type MessageStreamParams as MessageStreamParams, };
251
246
  }
252
247
  //# sourceMappingURL=groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"groups.d.mts","sourceRoot":"","sources":["../../src/resources/groups/groups.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAY9E;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAItE;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAY/F;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAIhC;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,C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