@nirvana-labs/nirvana-mcp 1.17.0

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 (990) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +462 -0
  3. package/code-tool-paths.cjs +6 -0
  4. package/code-tool-paths.cjs.map +1 -0
  5. package/code-tool-paths.d.cts +2 -0
  6. package/code-tool-paths.d.cts.map +1 -0
  7. package/code-tool-types.d.mts +14 -0
  8. package/code-tool-types.d.mts.map +1 -0
  9. package/code-tool-types.d.ts +14 -0
  10. package/code-tool-types.d.ts.map +1 -0
  11. package/code-tool-types.js +4 -0
  12. package/code-tool-types.js.map +1 -0
  13. package/code-tool-types.mjs +3 -0
  14. package/code-tool-types.mjs.map +1 -0
  15. package/code-tool-worker.d.mts +5 -0
  16. package/code-tool-worker.d.mts.map +1 -0
  17. package/code-tool-worker.d.ts +5 -0
  18. package/code-tool-worker.d.ts.map +1 -0
  19. package/code-tool-worker.js +45 -0
  20. package/code-tool-worker.js.map +1 -0
  21. package/code-tool-worker.mjs +40 -0
  22. package/code-tool-worker.mjs.map +1 -0
  23. package/code-tool.d.mts +12 -0
  24. package/code-tool.d.mts.map +1 -0
  25. package/code-tool.d.ts +12 -0
  26. package/code-tool.d.ts.map +1 -0
  27. package/code-tool.js +157 -0
  28. package/code-tool.js.map +1 -0
  29. package/code-tool.mjs +121 -0
  30. package/code-tool.mjs.map +1 -0
  31. package/compat.d.mts +58 -0
  32. package/compat.d.mts.map +1 -0
  33. package/compat.d.ts +58 -0
  34. package/compat.d.ts.map +1 -0
  35. package/compat.js +387 -0
  36. package/compat.js.map +1 -0
  37. package/compat.mjs +378 -0
  38. package/compat.mjs.map +1 -0
  39. package/dynamic-tools.d.mts +12 -0
  40. package/dynamic-tools.d.mts.map +1 -0
  41. package/dynamic-tools.d.ts +12 -0
  42. package/dynamic-tools.d.ts.map +1 -0
  43. package/dynamic-tools.js +135 -0
  44. package/dynamic-tools.js.map +1 -0
  45. package/dynamic-tools.mjs +132 -0
  46. package/dynamic-tools.mjs.map +1 -0
  47. package/filtering.d.mts +2 -0
  48. package/filtering.d.mts.map +1 -0
  49. package/filtering.d.ts +2 -0
  50. package/filtering.d.ts.map +1 -0
  51. package/filtering.js +20 -0
  52. package/filtering.js.map +1 -0
  53. package/filtering.mjs +13 -0
  54. package/filtering.mjs.map +1 -0
  55. package/headers.d.mts +4 -0
  56. package/headers.d.mts.map +1 -0
  57. package/headers.d.ts +4 -0
  58. package/headers.d.ts.map +1 -0
  59. package/headers.js +22 -0
  60. package/headers.js.map +1 -0
  61. package/headers.mjs +18 -0
  62. package/headers.mjs.map +1 -0
  63. package/http.d.mts +9 -0
  64. package/http.d.mts.map +1 -0
  65. package/http.d.ts +9 -0
  66. package/http.d.ts.map +1 -0
  67. package/http.js +108 -0
  68. package/http.js.map +1 -0
  69. package/http.mjs +100 -0
  70. package/http.mjs.map +1 -0
  71. package/index.d.mts +3 -0
  72. package/index.d.mts.map +1 -0
  73. package/index.d.ts +3 -0
  74. package/index.d.ts.map +1 -0
  75. package/index.js +91 -0
  76. package/index.js.map +1 -0
  77. package/index.mjs +89 -0
  78. package/index.mjs.map +1 -0
  79. package/options.d.mts +19 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +19 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +417 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +410 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +206 -0
  88. package/server.d.mts +35 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +35 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +170 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +156 -0
  95. package/server.mjs.map +1 -0
  96. package/src/code-tool-paths.cts +3 -0
  97. package/src/code-tool-types.ts +14 -0
  98. package/src/code-tool-worker.ts +46 -0
  99. package/src/code-tool.ts +146 -0
  100. package/src/compat.ts +483 -0
  101. package/src/dynamic-tools.ts +159 -0
  102. package/src/filtering.ts +14 -0
  103. package/src/headers.ts +23 -0
  104. package/src/http.ts +127 -0
  105. package/src/index.ts +108 -0
  106. package/src/options.ts +456 -0
  107. package/src/server.ts +204 -0
  108. package/src/stdio.ts +13 -0
  109. package/src/tools/api-keys/create-api-keys.ts +56 -0
  110. package/src/tools/api-keys/delete-api-keys.ts +40 -0
  111. package/src/tools/api-keys/get-api-keys.ts +47 -0
  112. package/src/tools/api-keys/list-api-keys.ts +44 -0
  113. package/src/tools/api-keys/update-api-keys.ts +49 -0
  114. package/src/tools/compute/vms/availability/create-vms-compute-availability.ts +161 -0
  115. package/src/tools/compute/vms/availability/update-vms-compute-availability.ts +85 -0
  116. package/src/tools/compute/vms/create-compute-vms.ts +159 -0
  117. package/src/tools/compute/vms/delete-compute-vms.ts +47 -0
  118. package/src/tools/compute/vms/get-compute-vms.ts +47 -0
  119. package/src/tools/compute/vms/list-compute-vms.ts +44 -0
  120. package/src/tools/compute/vms/os-images/list-vms-compute-os-images.ts +44 -0
  121. package/src/tools/compute/vms/restart-compute-vms.ts +45 -0
  122. package/src/tools/compute/vms/update-compute-vms.ts +83 -0
  123. package/src/tools/compute/vms/volumes/list-vms-compute-volumes.ts +47 -0
  124. package/src/tools/compute/volumes/availability/create-volumes-compute-availability.ts +56 -0
  125. package/src/tools/compute/volumes/availability/update-volumes-compute-availability.ts +55 -0
  126. package/src/tools/compute/volumes/create-compute-volumes.ts +54 -0
  127. package/src/tools/compute/volumes/delete-compute-volumes.ts +47 -0
  128. package/src/tools/compute/volumes/get-compute-volumes.ts +47 -0
  129. package/src/tools/compute/volumes/list-compute-volumes.ts +44 -0
  130. package/src/tools/compute/volumes/update-compute-volumes.ts +55 -0
  131. package/src/tools/connect/flux/get-connect-flux.ts +47 -0
  132. package/src/tools/connect/flux/list-connect-flux.ts +44 -0
  133. package/src/tools/index.ts +257 -0
  134. package/src/tools/networking/firewall-rules/create-networking-firewall-rules.ts +71 -0
  135. package/src/tools/networking/firewall-rules/delete-networking-firewall-rules.ts +52 -0
  136. package/src/tools/networking/firewall-rules/get-networking-firewall-rules.ts +52 -0
  137. package/src/tools/networking/firewall-rules/list-networking-firewall-rules.ts +49 -0
  138. package/src/tools/networking/firewall-rules/update-networking-firewall-rules.ts +74 -0
  139. package/src/tools/networking/vpcs/availability/create-vpcs-networking-availability.ts +71 -0
  140. package/src/tools/networking/vpcs/availability/update-vpcs-networking-availability.ts +55 -0
  141. package/src/tools/networking/vpcs/create-networking-vpcs.ts +69 -0
  142. package/src/tools/networking/vpcs/delete-networking-vpcs.ts +47 -0
  143. package/src/tools/networking/vpcs/get-networking-vpcs.ts +47 -0
  144. package/src/tools/networking/vpcs/list-networking-vpcs.ts +44 -0
  145. package/src/tools/networking/vpcs/update-networking-vpcs.ts +53 -0
  146. package/src/tools/operations/get-operations.ts +47 -0
  147. package/src/tools/operations/list-operations.ts +44 -0
  148. package/src/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.ts +46 -0
  149. package/src/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.ts +47 -0
  150. package/src/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.ts +44 -0
  151. package/src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts +44 -0
  152. package/src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts +47 -0
  153. package/src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts +44 -0
  154. package/src/tools/types.ts +103 -0
  155. package/src/tools/user/get-user.ts +44 -0
  156. package/src/tools/vektor/balances/list-historical-vektor-balances.ts +114 -0
  157. package/src/tools/vektor/balances/list-vektor-balances.ts +108 -0
  158. package/src/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.ts +105 -0
  159. package/src/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.ts +113 -0
  160. package/src/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.ts +81 -0
  161. package/src/tools/vektor/borrow/markets/list-borrow-vektor-markets.ts +141 -0
  162. package/src/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.ts +141 -0
  163. package/src/tools/vektor/borrow/positions/list-borrow-vektor-positions.ts +162 -0
  164. package/src/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.ts +162 -0
  165. package/src/tools/vektor/borrow/repay/create-borrow-vektor-repay.ts +73 -0
  166. package/src/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.ts +89 -0
  167. package/src/tools/vektor/buy/buy_/create-buy-vektor-buy.ts +89 -0
  168. package/src/tools/vektor/buy/quotes/list-buy-vektor-quotes.ts +89 -0
  169. package/src/tools/vektor/executions/get-vektor-executions.ts +39 -0
  170. package/src/tools/vektor/executions/list-vektor-executions.ts +34 -0
  171. package/src/tools/vektor/executions/steps/get-executions-vektor-steps.ts +42 -0
  172. package/src/tools/vektor/executions/steps/sign-executions-vektor-steps.ts +51 -0
  173. package/src/tools/vektor/incentivize/list-vektor-incentivize.ts +75 -0
  174. package/src/tools/vektor/lend/lend_/create-lend-vektor-lend.ts +81 -0
  175. package/src/tools/vektor/lend/markets/list-historical-lend-vektor-markets.ts +141 -0
  176. package/src/tools/vektor/lend/markets/list-lend-vektor-markets.ts +141 -0
  177. package/src/tools/vektor/lend/positions/list-historical-lend-vektor-positions.ts +162 -0
  178. package/src/tools/vektor/lend/positions/list-lend-vektor-positions.ts +162 -0
  179. package/src/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.ts +63 -0
  180. package/src/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.ts +73 -0
  181. package/src/tools/vektor/lock/markets/list-lock-vektor-markets.ts +78 -0
  182. package/src/tools/vektor/lock/positions/list-lock-vektor-positions.ts +91 -0
  183. package/src/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.ts +234 -0
  184. package/src/tools/vektor/lp/pools/list-historical-lp-vektor-pools.ts +138 -0
  185. package/src/tools/vektor/lp/pools/list-lp-vektor-pools.ts +138 -0
  186. package/src/tools/vektor/lp/positions/list-historical-lp-vektor-positions.ts +169 -0
  187. package/src/tools/vektor/lp/positions/list-lp-vektor-positions.ts +169 -0
  188. package/src/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.ts +188 -0
  189. package/src/tools/vektor/move/create-vektor-move.ts +71 -0
  190. package/src/tools/vektor/prices/list-historical-vektor-prices.ts +60 -0
  191. package/src/tools/vektor/prices/list-vektor-prices.ts +60 -0
  192. package/src/tools/vektor/registry/assets/list-registry-vektor-assets.ts +62 -0
  193. package/src/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.ts +54 -0
  194. package/src/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.ts +85 -0
  195. package/src/tools/vektor/registry/errors/list-registry-vektor-errors.ts +48 -0
  196. package/src/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.ts +85 -0
  197. package/src/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.ts +83 -0
  198. package/src/tools/vektor/registry/venues/list-registry-vektor-venues.ts +52 -0
  199. package/src/tools/vektor/sell/quotes/list-sell-vektor-quotes.ts +81 -0
  200. package/src/tools/vektor/sell/sell_/create-sell-vektor-sell.ts +89 -0
  201. package/src/tools/vektor/vote/markets/list-vote-vektor-markets.ts +75 -0
  202. package/src/tools/vektor/vote/rewards/list-vote-vektor-rewards.ts +88 -0
  203. package/src/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.ts +60 -0
  204. package/src/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.ts +60 -0
  205. package/src/tools.ts +1 -0
  206. package/src/tsconfig.json +11 -0
  207. package/stdio.d.mts +3 -0
  208. package/stdio.d.mts.map +1 -0
  209. package/stdio.d.ts +3 -0
  210. package/stdio.d.ts.map +1 -0
  211. package/stdio.js +14 -0
  212. package/stdio.js.map +1 -0
  213. package/stdio.mjs +10 -0
  214. package/stdio.mjs.map +1 -0
  215. package/tools/api-keys/create-api-keys.d.mts +45 -0
  216. package/tools/api-keys/create-api-keys.d.mts.map +1 -0
  217. package/tools/api-keys/create-api-keys.d.ts +45 -0
  218. package/tools/api-keys/create-api-keys.d.ts.map +1 -0
  219. package/tools/api-keys/create-api-keys.js +51 -0
  220. package/tools/api-keys/create-api-keys.js.map +1 -0
  221. package/tools/api-keys/create-api-keys.mjs +47 -0
  222. package/tools/api-keys/create-api-keys.mjs.map +1 -0
  223. package/tools/api-keys/delete-api-keys.d.mts +45 -0
  224. package/tools/api-keys/delete-api-keys.d.mts.map +1 -0
  225. package/tools/api-keys/delete-api-keys.d.ts +45 -0
  226. package/tools/api-keys/delete-api-keys.d.ts.map +1 -0
  227. package/tools/api-keys/delete-api-keys.js +37 -0
  228. package/tools/api-keys/delete-api-keys.js.map +1 -0
  229. package/tools/api-keys/delete-api-keys.mjs +33 -0
  230. package/tools/api-keys/delete-api-keys.mjs.map +1 -0
  231. package/tools/api-keys/get-api-keys.d.mts +45 -0
  232. package/tools/api-keys/get-api-keys.d.mts.map +1 -0
  233. package/tools/api-keys/get-api-keys.d.ts +45 -0
  234. package/tools/api-keys/get-api-keys.d.ts.map +1 -0
  235. package/tools/api-keys/get-api-keys.js +42 -0
  236. package/tools/api-keys/get-api-keys.js.map +1 -0
  237. package/tools/api-keys/get-api-keys.mjs +38 -0
  238. package/tools/api-keys/get-api-keys.mjs.map +1 -0
  239. package/tools/api-keys/list-api-keys.d.mts +45 -0
  240. package/tools/api-keys/list-api-keys.d.mts.map +1 -0
  241. package/tools/api-keys/list-api-keys.d.ts +45 -0
  242. package/tools/api-keys/list-api-keys.d.ts.map +1 -0
  243. package/tools/api-keys/list-api-keys.js +39 -0
  244. package/tools/api-keys/list-api-keys.js.map +1 -0
  245. package/tools/api-keys/list-api-keys.mjs +35 -0
  246. package/tools/api-keys/list-api-keys.mjs.map +1 -0
  247. package/tools/api-keys/update-api-keys.d.mts +45 -0
  248. package/tools/api-keys/update-api-keys.d.mts.map +1 -0
  249. package/tools/api-keys/update-api-keys.d.ts +45 -0
  250. package/tools/api-keys/update-api-keys.d.ts.map +1 -0
  251. package/tools/api-keys/update-api-keys.js +44 -0
  252. package/tools/api-keys/update-api-keys.js.map +1 -0
  253. package/tools/api-keys/update-api-keys.mjs +40 -0
  254. package/tools/api-keys/update-api-keys.mjs.map +1 -0
  255. package/tools/compute/vms/availability/create-vms-compute-availability.d.mts +45 -0
  256. package/tools/compute/vms/availability/create-vms-compute-availability.d.mts.map +1 -0
  257. package/tools/compute/vms/availability/create-vms-compute-availability.d.ts +45 -0
  258. package/tools/compute/vms/availability/create-vms-compute-availability.d.ts.map +1 -0
  259. package/tools/compute/vms/availability/create-vms-compute-availability.js +154 -0
  260. package/tools/compute/vms/availability/create-vms-compute-availability.js.map +1 -0
  261. package/tools/compute/vms/availability/create-vms-compute-availability.mjs +150 -0
  262. package/tools/compute/vms/availability/create-vms-compute-availability.mjs.map +1 -0
  263. package/tools/compute/vms/availability/update-vms-compute-availability.d.mts +45 -0
  264. package/tools/compute/vms/availability/update-vms-compute-availability.d.mts.map +1 -0
  265. package/tools/compute/vms/availability/update-vms-compute-availability.d.ts +45 -0
  266. package/tools/compute/vms/availability/update-vms-compute-availability.d.ts.map +1 -0
  267. package/tools/compute/vms/availability/update-vms-compute-availability.js +78 -0
  268. package/tools/compute/vms/availability/update-vms-compute-availability.js.map +1 -0
  269. package/tools/compute/vms/availability/update-vms-compute-availability.mjs +74 -0
  270. package/tools/compute/vms/availability/update-vms-compute-availability.mjs.map +1 -0
  271. package/tools/compute/vms/create-compute-vms.d.mts +45 -0
  272. package/tools/compute/vms/create-compute-vms.d.mts.map +1 -0
  273. package/tools/compute/vms/create-compute-vms.d.ts +45 -0
  274. package/tools/compute/vms/create-compute-vms.d.ts.map +1 -0
  275. package/tools/compute/vms/create-compute-vms.js +154 -0
  276. package/tools/compute/vms/create-compute-vms.js.map +1 -0
  277. package/tools/compute/vms/create-compute-vms.mjs +150 -0
  278. package/tools/compute/vms/create-compute-vms.mjs.map +1 -0
  279. package/tools/compute/vms/delete-compute-vms.d.mts +45 -0
  280. package/tools/compute/vms/delete-compute-vms.d.mts.map +1 -0
  281. package/tools/compute/vms/delete-compute-vms.d.ts +45 -0
  282. package/tools/compute/vms/delete-compute-vms.d.ts.map +1 -0
  283. package/tools/compute/vms/delete-compute-vms.js +42 -0
  284. package/tools/compute/vms/delete-compute-vms.js.map +1 -0
  285. package/tools/compute/vms/delete-compute-vms.mjs +38 -0
  286. package/tools/compute/vms/delete-compute-vms.mjs.map +1 -0
  287. package/tools/compute/vms/get-compute-vms.d.mts +45 -0
  288. package/tools/compute/vms/get-compute-vms.d.mts.map +1 -0
  289. package/tools/compute/vms/get-compute-vms.d.ts +45 -0
  290. package/tools/compute/vms/get-compute-vms.d.ts.map +1 -0
  291. package/tools/compute/vms/get-compute-vms.js +42 -0
  292. package/tools/compute/vms/get-compute-vms.js.map +1 -0
  293. package/tools/compute/vms/get-compute-vms.mjs +38 -0
  294. package/tools/compute/vms/get-compute-vms.mjs.map +1 -0
  295. package/tools/compute/vms/list-compute-vms.d.mts +45 -0
  296. package/tools/compute/vms/list-compute-vms.d.mts.map +1 -0
  297. package/tools/compute/vms/list-compute-vms.d.ts +45 -0
  298. package/tools/compute/vms/list-compute-vms.d.ts.map +1 -0
  299. package/tools/compute/vms/list-compute-vms.js +39 -0
  300. package/tools/compute/vms/list-compute-vms.js.map +1 -0
  301. package/tools/compute/vms/list-compute-vms.mjs +35 -0
  302. package/tools/compute/vms/list-compute-vms.mjs.map +1 -0
  303. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.mts +45 -0
  304. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.mts.map +1 -0
  305. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.ts +45 -0
  306. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.ts.map +1 -0
  307. package/tools/compute/vms/os-images/list-vms-compute-os-images.js +39 -0
  308. package/tools/compute/vms/os-images/list-vms-compute-os-images.js.map +1 -0
  309. package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs +35 -0
  310. package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs.map +1 -0
  311. package/tools/compute/vms/restart-compute-vms.d.mts +45 -0
  312. package/tools/compute/vms/restart-compute-vms.d.mts.map +1 -0
  313. package/tools/compute/vms/restart-compute-vms.d.ts +45 -0
  314. package/tools/compute/vms/restart-compute-vms.d.ts.map +1 -0
  315. package/tools/compute/vms/restart-compute-vms.js +40 -0
  316. package/tools/compute/vms/restart-compute-vms.js.map +1 -0
  317. package/tools/compute/vms/restart-compute-vms.mjs +36 -0
  318. package/tools/compute/vms/restart-compute-vms.mjs.map +1 -0
  319. package/tools/compute/vms/update-compute-vms.d.mts +45 -0
  320. package/tools/compute/vms/update-compute-vms.d.mts.map +1 -0
  321. package/tools/compute/vms/update-compute-vms.d.ts +45 -0
  322. package/tools/compute/vms/update-compute-vms.d.ts.map +1 -0
  323. package/tools/compute/vms/update-compute-vms.js +78 -0
  324. package/tools/compute/vms/update-compute-vms.js.map +1 -0
  325. package/tools/compute/vms/update-compute-vms.mjs +74 -0
  326. package/tools/compute/vms/update-compute-vms.mjs.map +1 -0
  327. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.mts +45 -0
  328. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.mts.map +1 -0
  329. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.ts +45 -0
  330. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.ts.map +1 -0
  331. package/tools/compute/vms/volumes/list-vms-compute-volumes.js +42 -0
  332. package/tools/compute/vms/volumes/list-vms-compute-volumes.js.map +1 -0
  333. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs +38 -0
  334. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs.map +1 -0
  335. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.mts +45 -0
  336. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.mts.map +1 -0
  337. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.ts +45 -0
  338. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.ts.map +1 -0
  339. package/tools/compute/volumes/availability/create-volumes-compute-availability.js +49 -0
  340. package/tools/compute/volumes/availability/create-volumes-compute-availability.js.map +1 -0
  341. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs +45 -0
  342. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs.map +1 -0
  343. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.mts +45 -0
  344. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.mts.map +1 -0
  345. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.ts +45 -0
  346. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.ts.map +1 -0
  347. package/tools/compute/volumes/availability/update-volumes-compute-availability.js +48 -0
  348. package/tools/compute/volumes/availability/update-volumes-compute-availability.js.map +1 -0
  349. package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs +44 -0
  350. package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs.map +1 -0
  351. package/tools/compute/volumes/create-compute-volumes.d.mts +45 -0
  352. package/tools/compute/volumes/create-compute-volumes.d.mts.map +1 -0
  353. package/tools/compute/volumes/create-compute-volumes.d.ts +45 -0
  354. package/tools/compute/volumes/create-compute-volumes.d.ts.map +1 -0
  355. package/tools/compute/volumes/create-compute-volumes.js +49 -0
  356. package/tools/compute/volumes/create-compute-volumes.js.map +1 -0
  357. package/tools/compute/volumes/create-compute-volumes.mjs +45 -0
  358. package/tools/compute/volumes/create-compute-volumes.mjs.map +1 -0
  359. package/tools/compute/volumes/delete-compute-volumes.d.mts +45 -0
  360. package/tools/compute/volumes/delete-compute-volumes.d.mts.map +1 -0
  361. package/tools/compute/volumes/delete-compute-volumes.d.ts +45 -0
  362. package/tools/compute/volumes/delete-compute-volumes.d.ts.map +1 -0
  363. package/tools/compute/volumes/delete-compute-volumes.js +42 -0
  364. package/tools/compute/volumes/delete-compute-volumes.js.map +1 -0
  365. package/tools/compute/volumes/delete-compute-volumes.mjs +38 -0
  366. package/tools/compute/volumes/delete-compute-volumes.mjs.map +1 -0
  367. package/tools/compute/volumes/get-compute-volumes.d.mts +45 -0
  368. package/tools/compute/volumes/get-compute-volumes.d.mts.map +1 -0
  369. package/tools/compute/volumes/get-compute-volumes.d.ts +45 -0
  370. package/tools/compute/volumes/get-compute-volumes.d.ts.map +1 -0
  371. package/tools/compute/volumes/get-compute-volumes.js +42 -0
  372. package/tools/compute/volumes/get-compute-volumes.js.map +1 -0
  373. package/tools/compute/volumes/get-compute-volumes.mjs +38 -0
  374. package/tools/compute/volumes/get-compute-volumes.mjs.map +1 -0
  375. package/tools/compute/volumes/list-compute-volumes.d.mts +45 -0
  376. package/tools/compute/volumes/list-compute-volumes.d.mts.map +1 -0
  377. package/tools/compute/volumes/list-compute-volumes.d.ts +45 -0
  378. package/tools/compute/volumes/list-compute-volumes.d.ts.map +1 -0
  379. package/tools/compute/volumes/list-compute-volumes.js +39 -0
  380. package/tools/compute/volumes/list-compute-volumes.js.map +1 -0
  381. package/tools/compute/volumes/list-compute-volumes.mjs +35 -0
  382. package/tools/compute/volumes/list-compute-volumes.mjs.map +1 -0
  383. package/tools/compute/volumes/update-compute-volumes.d.mts +45 -0
  384. package/tools/compute/volumes/update-compute-volumes.d.mts.map +1 -0
  385. package/tools/compute/volumes/update-compute-volumes.d.ts +45 -0
  386. package/tools/compute/volumes/update-compute-volumes.d.ts.map +1 -0
  387. package/tools/compute/volumes/update-compute-volumes.js +48 -0
  388. package/tools/compute/volumes/update-compute-volumes.js.map +1 -0
  389. package/tools/compute/volumes/update-compute-volumes.mjs +44 -0
  390. package/tools/compute/volumes/update-compute-volumes.mjs.map +1 -0
  391. package/tools/connect/flux/get-connect-flux.d.mts +45 -0
  392. package/tools/connect/flux/get-connect-flux.d.mts.map +1 -0
  393. package/tools/connect/flux/get-connect-flux.d.ts +45 -0
  394. package/tools/connect/flux/get-connect-flux.d.ts.map +1 -0
  395. package/tools/connect/flux/get-connect-flux.js +42 -0
  396. package/tools/connect/flux/get-connect-flux.js.map +1 -0
  397. package/tools/connect/flux/get-connect-flux.mjs +38 -0
  398. package/tools/connect/flux/get-connect-flux.mjs.map +1 -0
  399. package/tools/connect/flux/list-connect-flux.d.mts +45 -0
  400. package/tools/connect/flux/list-connect-flux.d.mts.map +1 -0
  401. package/tools/connect/flux/list-connect-flux.d.ts +45 -0
  402. package/tools/connect/flux/list-connect-flux.d.ts.map +1 -0
  403. package/tools/connect/flux/list-connect-flux.js +39 -0
  404. package/tools/connect/flux/list-connect-flux.js.map +1 -0
  405. package/tools/connect/flux/list-connect-flux.mjs +35 -0
  406. package/tools/connect/flux/list-connect-flux.mjs.map +1 -0
  407. package/tools/index.d.mts +10 -0
  408. package/tools/index.d.mts.map +1 -0
  409. package/tools/index.d.ts +10 -0
  410. package/tools/index.d.ts.map +1 -0
  411. package/tools/index.js +241 -0
  412. package/tools/index.js.map +1 -0
  413. package/tools/index.mjs +234 -0
  414. package/tools/index.mjs.map +1 -0
  415. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.mts +45 -0
  416. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.mts.map +1 -0
  417. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.ts +45 -0
  418. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.ts.map +1 -0
  419. package/tools/networking/firewall-rules/create-networking-firewall-rules.js +64 -0
  420. package/tools/networking/firewall-rules/create-networking-firewall-rules.js.map +1 -0
  421. package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs +60 -0
  422. package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs.map +1 -0
  423. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.mts +45 -0
  424. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.mts.map +1 -0
  425. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.ts +45 -0
  426. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.ts.map +1 -0
  427. package/tools/networking/firewall-rules/delete-networking-firewall-rules.js +45 -0
  428. package/tools/networking/firewall-rules/delete-networking-firewall-rules.js.map +1 -0
  429. package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs +41 -0
  430. package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs.map +1 -0
  431. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.mts +45 -0
  432. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.mts.map +1 -0
  433. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.ts +45 -0
  434. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.ts.map +1 -0
  435. package/tools/networking/firewall-rules/get-networking-firewall-rules.js +45 -0
  436. package/tools/networking/firewall-rules/get-networking-firewall-rules.js.map +1 -0
  437. package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs +41 -0
  438. package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs.map +1 -0
  439. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.mts +45 -0
  440. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.mts.map +1 -0
  441. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.ts +45 -0
  442. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.ts.map +1 -0
  443. package/tools/networking/firewall-rules/list-networking-firewall-rules.js +42 -0
  444. package/tools/networking/firewall-rules/list-networking-firewall-rules.js.map +1 -0
  445. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs +38 -0
  446. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs.map +1 -0
  447. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.mts +45 -0
  448. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.mts.map +1 -0
  449. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.ts +45 -0
  450. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.ts.map +1 -0
  451. package/tools/networking/firewall-rules/update-networking-firewall-rules.js +67 -0
  452. package/tools/networking/firewall-rules/update-networking-firewall-rules.js.map +1 -0
  453. package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs +63 -0
  454. package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs.map +1 -0
  455. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.mts +45 -0
  456. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.mts.map +1 -0
  457. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.ts +45 -0
  458. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.ts.map +1 -0
  459. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js +64 -0
  460. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js.map +1 -0
  461. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs +60 -0
  462. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs.map +1 -0
  463. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.mts +45 -0
  464. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.mts.map +1 -0
  465. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.ts +45 -0
  466. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.ts.map +1 -0
  467. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js +48 -0
  468. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js.map +1 -0
  469. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs +44 -0
  470. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs.map +1 -0
  471. package/tools/networking/vpcs/create-networking-vpcs.d.mts +45 -0
  472. package/tools/networking/vpcs/create-networking-vpcs.d.mts.map +1 -0
  473. package/tools/networking/vpcs/create-networking-vpcs.d.ts +45 -0
  474. package/tools/networking/vpcs/create-networking-vpcs.d.ts.map +1 -0
  475. package/tools/networking/vpcs/create-networking-vpcs.js +64 -0
  476. package/tools/networking/vpcs/create-networking-vpcs.js.map +1 -0
  477. package/tools/networking/vpcs/create-networking-vpcs.mjs +60 -0
  478. package/tools/networking/vpcs/create-networking-vpcs.mjs.map +1 -0
  479. package/tools/networking/vpcs/delete-networking-vpcs.d.mts +45 -0
  480. package/tools/networking/vpcs/delete-networking-vpcs.d.mts.map +1 -0
  481. package/tools/networking/vpcs/delete-networking-vpcs.d.ts +45 -0
  482. package/tools/networking/vpcs/delete-networking-vpcs.d.ts.map +1 -0
  483. package/tools/networking/vpcs/delete-networking-vpcs.js +42 -0
  484. package/tools/networking/vpcs/delete-networking-vpcs.js.map +1 -0
  485. package/tools/networking/vpcs/delete-networking-vpcs.mjs +38 -0
  486. package/tools/networking/vpcs/delete-networking-vpcs.mjs.map +1 -0
  487. package/tools/networking/vpcs/get-networking-vpcs.d.mts +45 -0
  488. package/tools/networking/vpcs/get-networking-vpcs.d.mts.map +1 -0
  489. package/tools/networking/vpcs/get-networking-vpcs.d.ts +45 -0
  490. package/tools/networking/vpcs/get-networking-vpcs.d.ts.map +1 -0
  491. package/tools/networking/vpcs/get-networking-vpcs.js +42 -0
  492. package/tools/networking/vpcs/get-networking-vpcs.js.map +1 -0
  493. package/tools/networking/vpcs/get-networking-vpcs.mjs +38 -0
  494. package/tools/networking/vpcs/get-networking-vpcs.mjs.map +1 -0
  495. package/tools/networking/vpcs/list-networking-vpcs.d.mts +45 -0
  496. package/tools/networking/vpcs/list-networking-vpcs.d.mts.map +1 -0
  497. package/tools/networking/vpcs/list-networking-vpcs.d.ts +45 -0
  498. package/tools/networking/vpcs/list-networking-vpcs.d.ts.map +1 -0
  499. package/tools/networking/vpcs/list-networking-vpcs.js +39 -0
  500. package/tools/networking/vpcs/list-networking-vpcs.js.map +1 -0
  501. package/tools/networking/vpcs/list-networking-vpcs.mjs +35 -0
  502. package/tools/networking/vpcs/list-networking-vpcs.mjs.map +1 -0
  503. package/tools/networking/vpcs/update-networking-vpcs.d.mts +45 -0
  504. package/tools/networking/vpcs/update-networking-vpcs.d.mts.map +1 -0
  505. package/tools/networking/vpcs/update-networking-vpcs.d.ts +45 -0
  506. package/tools/networking/vpcs/update-networking-vpcs.d.ts.map +1 -0
  507. package/tools/networking/vpcs/update-networking-vpcs.js +48 -0
  508. package/tools/networking/vpcs/update-networking-vpcs.js.map +1 -0
  509. package/tools/networking/vpcs/update-networking-vpcs.mjs +44 -0
  510. package/tools/networking/vpcs/update-networking-vpcs.mjs.map +1 -0
  511. package/tools/operations/get-operations.d.mts +45 -0
  512. package/tools/operations/get-operations.d.mts.map +1 -0
  513. package/tools/operations/get-operations.d.ts +45 -0
  514. package/tools/operations/get-operations.d.ts.map +1 -0
  515. package/tools/operations/get-operations.js +42 -0
  516. package/tools/operations/get-operations.js.map +1 -0
  517. package/tools/operations/get-operations.mjs +38 -0
  518. package/tools/operations/get-operations.mjs.map +1 -0
  519. package/tools/operations/list-operations.d.mts +45 -0
  520. package/tools/operations/list-operations.d.mts.map +1 -0
  521. package/tools/operations/list-operations.d.ts +45 -0
  522. package/tools/operations/list-operations.d.ts.map +1 -0
  523. package/tools/operations/list-operations.js +39 -0
  524. package/tools/operations/list-operations.js.map +1 -0
  525. package/tools/operations/list-operations.mjs +35 -0
  526. package/tools/operations/list-operations.mjs.map +1 -0
  527. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.mts +45 -0
  528. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.mts.map +1 -0
  529. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.ts +45 -0
  530. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.ts.map +1 -0
  531. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js +39 -0
  532. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js.map +1 -0
  533. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs +35 -0
  534. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs.map +1 -0
  535. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.mts +45 -0
  536. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.mts.map +1 -0
  537. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.ts +45 -0
  538. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.ts.map +1 -0
  539. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js +42 -0
  540. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js.map +1 -0
  541. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs +38 -0
  542. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs.map +1 -0
  543. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.mts +45 -0
  544. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.mts.map +1 -0
  545. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.ts +45 -0
  546. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.ts.map +1 -0
  547. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js +39 -0
  548. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js.map +1 -0
  549. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs +35 -0
  550. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs.map +1 -0
  551. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.mts +45 -0
  552. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.mts.map +1 -0
  553. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.ts +45 -0
  554. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.ts.map +1 -0
  555. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js +39 -0
  556. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js.map +1 -0
  557. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs +35 -0
  558. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs.map +1 -0
  559. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.mts +45 -0
  560. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.mts.map +1 -0
  561. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.ts +45 -0
  562. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.ts.map +1 -0
  563. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js +42 -0
  564. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js.map +1 -0
  565. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs +38 -0
  566. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs.map +1 -0
  567. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.mts +45 -0
  568. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.mts.map +1 -0
  569. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.ts +45 -0
  570. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.ts.map +1 -0
  571. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js +39 -0
  572. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js.map +1 -0
  573. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs +35 -0
  574. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs.map +1 -0
  575. package/tools/types.d.mts +51 -0
  576. package/tools/types.d.mts.map +1 -0
  577. package/tools/types.d.ts +51 -0
  578. package/tools/types.d.ts.map +1 -0
  579. package/tools/types.js +46 -0
  580. package/tools/types.js.map +1 -0
  581. package/tools/types.mjs +42 -0
  582. package/tools/types.mjs.map +1 -0
  583. package/tools/user/get-user.d.mts +45 -0
  584. package/tools/user/get-user.d.mts.map +1 -0
  585. package/tools/user/get-user.d.ts +45 -0
  586. package/tools/user/get-user.d.ts.map +1 -0
  587. package/tools/user/get-user.js +39 -0
  588. package/tools/user/get-user.js.map +1 -0
  589. package/tools/user/get-user.mjs +35 -0
  590. package/tools/user/get-user.mjs.map +1 -0
  591. package/tools/vektor/balances/list-historical-vektor-balances.d.mts +45 -0
  592. package/tools/vektor/balances/list-historical-vektor-balances.d.mts.map +1 -0
  593. package/tools/vektor/balances/list-historical-vektor-balances.d.ts +45 -0
  594. package/tools/vektor/balances/list-historical-vektor-balances.d.ts.map +1 -0
  595. package/tools/vektor/balances/list-historical-vektor-balances.js +109 -0
  596. package/tools/vektor/balances/list-historical-vektor-balances.js.map +1 -0
  597. package/tools/vektor/balances/list-historical-vektor-balances.mjs +105 -0
  598. package/tools/vektor/balances/list-historical-vektor-balances.mjs.map +1 -0
  599. package/tools/vektor/balances/list-vektor-balances.d.mts +45 -0
  600. package/tools/vektor/balances/list-vektor-balances.d.mts.map +1 -0
  601. package/tools/vektor/balances/list-vektor-balances.d.ts +45 -0
  602. package/tools/vektor/balances/list-vektor-balances.d.ts.map +1 -0
  603. package/tools/vektor/balances/list-vektor-balances.js +103 -0
  604. package/tools/vektor/balances/list-vektor-balances.js.map +1 -0
  605. package/tools/vektor/balances/list-vektor-balances.mjs +99 -0
  606. package/tools/vektor/balances/list-vektor-balances.mjs.map +1 -0
  607. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.mts +45 -0
  608. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.mts.map +1 -0
  609. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.ts +45 -0
  610. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.ts.map +1 -0
  611. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js +100 -0
  612. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js.map +1 -0
  613. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs +96 -0
  614. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs.map +1 -0
  615. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.mts +45 -0
  616. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.mts.map +1 -0
  617. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.ts +45 -0
  618. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.ts.map +1 -0
  619. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js +106 -0
  620. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js.map +1 -0
  621. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs +102 -0
  622. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs.map +1 -0
  623. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.d.mts +45 -0
  624. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.d.mts.map +1 -0
  625. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.d.ts +45 -0
  626. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.d.ts.map +1 -0
  627. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.js +78 -0
  628. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.js.map +1 -0
  629. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.mjs +74 -0
  630. package/tools/vektor/borrow/borrow_/create-borrow-vektor-borrow.mjs.map +1 -0
  631. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.d.mts +45 -0
  632. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.d.mts.map +1 -0
  633. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.d.ts +45 -0
  634. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.d.ts.map +1 -0
  635. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.js +138 -0
  636. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.js.map +1 -0
  637. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.mjs +134 -0
  638. package/tools/vektor/borrow/markets/list-borrow-vektor-markets.mjs.map +1 -0
  639. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.d.mts +45 -0
  640. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.d.mts.map +1 -0
  641. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.d.ts +45 -0
  642. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.d.ts.map +1 -0
  643. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.js +138 -0
  644. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.js.map +1 -0
  645. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.mjs +134 -0
  646. package/tools/vektor/borrow/markets/list-historical-borrow-vektor-markets.mjs.map +1 -0
  647. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.d.mts +45 -0
  648. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.d.mts.map +1 -0
  649. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.d.ts +45 -0
  650. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.d.ts.map +1 -0
  651. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.js +159 -0
  652. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.js.map +1 -0
  653. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.mjs +155 -0
  654. package/tools/vektor/borrow/positions/list-borrow-vektor-positions.mjs.map +1 -0
  655. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.d.mts +45 -0
  656. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.d.mts.map +1 -0
  657. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.d.ts +45 -0
  658. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.d.ts.map +1 -0
  659. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.js +159 -0
  660. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.js.map +1 -0
  661. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.mjs +155 -0
  662. package/tools/vektor/borrow/positions/list-historical-borrow-vektor-positions.mjs.map +1 -0
  663. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.d.mts +45 -0
  664. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.d.mts.map +1 -0
  665. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.d.ts +45 -0
  666. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.d.ts.map +1 -0
  667. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.js +70 -0
  668. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.js.map +1 -0
  669. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.mjs +66 -0
  670. package/tools/vektor/borrow/repay/create-borrow-vektor-repay.mjs.map +1 -0
  671. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.mts +45 -0
  672. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.mts.map +1 -0
  673. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.ts +45 -0
  674. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.ts.map +1 -0
  675. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js +84 -0
  676. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js.map +1 -0
  677. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs +80 -0
  678. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs.map +1 -0
  679. package/tools/vektor/buy/buy_/create-buy-vektor-buy.d.mts +45 -0
  680. package/tools/vektor/buy/buy_/create-buy-vektor-buy.d.mts.map +1 -0
  681. package/tools/vektor/buy/buy_/create-buy-vektor-buy.d.ts +45 -0
  682. package/tools/vektor/buy/buy_/create-buy-vektor-buy.d.ts.map +1 -0
  683. package/tools/vektor/buy/buy_/create-buy-vektor-buy.js +86 -0
  684. package/tools/vektor/buy/buy_/create-buy-vektor-buy.js.map +1 -0
  685. package/tools/vektor/buy/buy_/create-buy-vektor-buy.mjs +82 -0
  686. package/tools/vektor/buy/buy_/create-buy-vektor-buy.mjs.map +1 -0
  687. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.mts +45 -0
  688. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.mts.map +1 -0
  689. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.ts +45 -0
  690. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.ts.map +1 -0
  691. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js +84 -0
  692. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js.map +1 -0
  693. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs +80 -0
  694. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs.map +1 -0
  695. package/tools/vektor/executions/get-vektor-executions.d.mts +45 -0
  696. package/tools/vektor/executions/get-vektor-executions.d.mts.map +1 -0
  697. package/tools/vektor/executions/get-vektor-executions.d.ts +45 -0
  698. package/tools/vektor/executions/get-vektor-executions.d.ts.map +1 -0
  699. package/tools/vektor/executions/get-vektor-executions.js +36 -0
  700. package/tools/vektor/executions/get-vektor-executions.js.map +1 -0
  701. package/tools/vektor/executions/get-vektor-executions.mjs +32 -0
  702. package/tools/vektor/executions/get-vektor-executions.mjs.map +1 -0
  703. package/tools/vektor/executions/list-vektor-executions.d.mts +45 -0
  704. package/tools/vektor/executions/list-vektor-executions.d.mts.map +1 -0
  705. package/tools/vektor/executions/list-vektor-executions.d.ts +45 -0
  706. package/tools/vektor/executions/list-vektor-executions.d.ts.map +1 -0
  707. package/tools/vektor/executions/list-vektor-executions.js +31 -0
  708. package/tools/vektor/executions/list-vektor-executions.js.map +1 -0
  709. package/tools/vektor/executions/list-vektor-executions.mjs +27 -0
  710. package/tools/vektor/executions/list-vektor-executions.mjs.map +1 -0
  711. package/tools/vektor/executions/steps/get-executions-vektor-steps.d.mts +45 -0
  712. package/tools/vektor/executions/steps/get-executions-vektor-steps.d.mts.map +1 -0
  713. package/tools/vektor/executions/steps/get-executions-vektor-steps.d.ts +45 -0
  714. package/tools/vektor/executions/steps/get-executions-vektor-steps.d.ts.map +1 -0
  715. package/tools/vektor/executions/steps/get-executions-vektor-steps.js +39 -0
  716. package/tools/vektor/executions/steps/get-executions-vektor-steps.js.map +1 -0
  717. package/tools/vektor/executions/steps/get-executions-vektor-steps.mjs +35 -0
  718. package/tools/vektor/executions/steps/get-executions-vektor-steps.mjs.map +1 -0
  719. package/tools/vektor/executions/steps/sign-executions-vektor-steps.d.mts +45 -0
  720. package/tools/vektor/executions/steps/sign-executions-vektor-steps.d.mts.map +1 -0
  721. package/tools/vektor/executions/steps/sign-executions-vektor-steps.d.ts +45 -0
  722. package/tools/vektor/executions/steps/sign-executions-vektor-steps.d.ts.map +1 -0
  723. package/tools/vektor/executions/steps/sign-executions-vektor-steps.js +48 -0
  724. package/tools/vektor/executions/steps/sign-executions-vektor-steps.js.map +1 -0
  725. package/tools/vektor/executions/steps/sign-executions-vektor-steps.mjs +44 -0
  726. package/tools/vektor/executions/steps/sign-executions-vektor-steps.mjs.map +1 -0
  727. package/tools/vektor/incentivize/list-vektor-incentivize.d.mts +45 -0
  728. package/tools/vektor/incentivize/list-vektor-incentivize.d.mts.map +1 -0
  729. package/tools/vektor/incentivize/list-vektor-incentivize.d.ts +45 -0
  730. package/tools/vektor/incentivize/list-vektor-incentivize.d.ts.map +1 -0
  731. package/tools/vektor/incentivize/list-vektor-incentivize.js +72 -0
  732. package/tools/vektor/incentivize/list-vektor-incentivize.js.map +1 -0
  733. package/tools/vektor/incentivize/list-vektor-incentivize.mjs +68 -0
  734. package/tools/vektor/incentivize/list-vektor-incentivize.mjs.map +1 -0
  735. package/tools/vektor/lend/lend_/create-lend-vektor-lend.d.mts +45 -0
  736. package/tools/vektor/lend/lend_/create-lend-vektor-lend.d.mts.map +1 -0
  737. package/tools/vektor/lend/lend_/create-lend-vektor-lend.d.ts +45 -0
  738. package/tools/vektor/lend/lend_/create-lend-vektor-lend.d.ts.map +1 -0
  739. package/tools/vektor/lend/lend_/create-lend-vektor-lend.js +78 -0
  740. package/tools/vektor/lend/lend_/create-lend-vektor-lend.js.map +1 -0
  741. package/tools/vektor/lend/lend_/create-lend-vektor-lend.mjs +74 -0
  742. package/tools/vektor/lend/lend_/create-lend-vektor-lend.mjs.map +1 -0
  743. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.d.mts +45 -0
  744. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.d.mts.map +1 -0
  745. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.d.ts +45 -0
  746. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.d.ts.map +1 -0
  747. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.js +138 -0
  748. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.js.map +1 -0
  749. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.mjs +134 -0
  750. package/tools/vektor/lend/markets/list-historical-lend-vektor-markets.mjs.map +1 -0
  751. package/tools/vektor/lend/markets/list-lend-vektor-markets.d.mts +45 -0
  752. package/tools/vektor/lend/markets/list-lend-vektor-markets.d.mts.map +1 -0
  753. package/tools/vektor/lend/markets/list-lend-vektor-markets.d.ts +45 -0
  754. package/tools/vektor/lend/markets/list-lend-vektor-markets.d.ts.map +1 -0
  755. package/tools/vektor/lend/markets/list-lend-vektor-markets.js +138 -0
  756. package/tools/vektor/lend/markets/list-lend-vektor-markets.js.map +1 -0
  757. package/tools/vektor/lend/markets/list-lend-vektor-markets.mjs +134 -0
  758. package/tools/vektor/lend/markets/list-lend-vektor-markets.mjs.map +1 -0
  759. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.d.mts +45 -0
  760. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.d.mts.map +1 -0
  761. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.d.ts +45 -0
  762. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.d.ts.map +1 -0
  763. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.js +159 -0
  764. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.js.map +1 -0
  765. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.mjs +155 -0
  766. package/tools/vektor/lend/positions/list-historical-lend-vektor-positions.mjs.map +1 -0
  767. package/tools/vektor/lend/positions/list-lend-vektor-positions.d.mts +45 -0
  768. package/tools/vektor/lend/positions/list-lend-vektor-positions.d.mts.map +1 -0
  769. package/tools/vektor/lend/positions/list-lend-vektor-positions.d.ts +45 -0
  770. package/tools/vektor/lend/positions/list-lend-vektor-positions.d.ts.map +1 -0
  771. package/tools/vektor/lend/positions/list-lend-vektor-positions.js +159 -0
  772. package/tools/vektor/lend/positions/list-lend-vektor-positions.js.map +1 -0
  773. package/tools/vektor/lend/positions/list-lend-vektor-positions.mjs +155 -0
  774. package/tools/vektor/lend/positions/list-lend-vektor-positions.mjs.map +1 -0
  775. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.d.mts +45 -0
  776. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.d.mts.map +1 -0
  777. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.d.ts +45 -0
  778. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.d.ts.map +1 -0
  779. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.js +60 -0
  780. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.js.map +1 -0
  781. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.mjs +56 -0
  782. package/tools/vektor/lend/set-collateral/create-lend-vektor-set-collateral.mjs.map +1 -0
  783. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.d.mts +45 -0
  784. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.d.mts.map +1 -0
  785. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.d.ts +45 -0
  786. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.d.ts.map +1 -0
  787. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.js +70 -0
  788. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.js.map +1 -0
  789. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.mjs +66 -0
  790. package/tools/vektor/lend/withdraw/create-lend-vektor-withdraw.mjs.map +1 -0
  791. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.mts +45 -0
  792. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.mts.map +1 -0
  793. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.ts +45 -0
  794. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.ts.map +1 -0
  795. package/tools/vektor/lock/markets/list-lock-vektor-markets.js +73 -0
  796. package/tools/vektor/lock/markets/list-lock-vektor-markets.js.map +1 -0
  797. package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs +69 -0
  798. package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs.map +1 -0
  799. package/tools/vektor/lock/positions/list-lock-vektor-positions.d.mts +45 -0
  800. package/tools/vektor/lock/positions/list-lock-vektor-positions.d.mts.map +1 -0
  801. package/tools/vektor/lock/positions/list-lock-vektor-positions.d.ts +45 -0
  802. package/tools/vektor/lock/positions/list-lock-vektor-positions.d.ts.map +1 -0
  803. package/tools/vektor/lock/positions/list-lock-vektor-positions.js +86 -0
  804. package/tools/vektor/lock/positions/list-lock-vektor-positions.js.map +1 -0
  805. package/tools/vektor/lock/positions/list-lock-vektor-positions.mjs +82 -0
  806. package/tools/vektor/lock/positions/list-lock-vektor-positions.mjs.map +1 -0
  807. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.d.mts +45 -0
  808. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.d.mts.map +1 -0
  809. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.d.ts +45 -0
  810. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.d.ts.map +1 -0
  811. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.js +229 -0
  812. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.js.map +1 -0
  813. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.mjs +225 -0
  814. package/tools/vektor/lp/deposit-quote/create-lp-vektor-deposit-quote.mjs.map +1 -0
  815. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.d.mts +45 -0
  816. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.d.mts.map +1 -0
  817. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.d.ts +45 -0
  818. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.d.ts.map +1 -0
  819. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.js +135 -0
  820. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.js.map +1 -0
  821. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.mjs +131 -0
  822. package/tools/vektor/lp/pools/list-historical-lp-vektor-pools.mjs.map +1 -0
  823. package/tools/vektor/lp/pools/list-lp-vektor-pools.d.mts +45 -0
  824. package/tools/vektor/lp/pools/list-lp-vektor-pools.d.mts.map +1 -0
  825. package/tools/vektor/lp/pools/list-lp-vektor-pools.d.ts +45 -0
  826. package/tools/vektor/lp/pools/list-lp-vektor-pools.d.ts.map +1 -0
  827. package/tools/vektor/lp/pools/list-lp-vektor-pools.js +135 -0
  828. package/tools/vektor/lp/pools/list-lp-vektor-pools.js.map +1 -0
  829. package/tools/vektor/lp/pools/list-lp-vektor-pools.mjs +131 -0
  830. package/tools/vektor/lp/pools/list-lp-vektor-pools.mjs.map +1 -0
  831. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.d.mts +45 -0
  832. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.d.mts.map +1 -0
  833. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.d.ts +45 -0
  834. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.d.ts.map +1 -0
  835. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.js +166 -0
  836. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.js.map +1 -0
  837. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.mjs +162 -0
  838. package/tools/vektor/lp/positions/list-historical-lp-vektor-positions.mjs.map +1 -0
  839. package/tools/vektor/lp/positions/list-lp-vektor-positions.d.mts +45 -0
  840. package/tools/vektor/lp/positions/list-lp-vektor-positions.d.mts.map +1 -0
  841. package/tools/vektor/lp/positions/list-lp-vektor-positions.d.ts +45 -0
  842. package/tools/vektor/lp/positions/list-lp-vektor-positions.d.ts.map +1 -0
  843. package/tools/vektor/lp/positions/list-lp-vektor-positions.js +166 -0
  844. package/tools/vektor/lp/positions/list-lp-vektor-positions.js.map +1 -0
  845. package/tools/vektor/lp/positions/list-lp-vektor-positions.mjs +162 -0
  846. package/tools/vektor/lp/positions/list-lp-vektor-positions.mjs.map +1 -0
  847. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.d.mts +45 -0
  848. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.d.mts.map +1 -0
  849. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.d.ts +45 -0
  850. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.d.ts.map +1 -0
  851. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.js +185 -0
  852. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.js.map +1 -0
  853. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.mjs +181 -0
  854. package/tools/vektor/lp/withdraw-quote/create-lp-vektor-withdraw-quote.mjs.map +1 -0
  855. package/tools/vektor/move/create-vektor-move.d.mts +45 -0
  856. package/tools/vektor/move/create-vektor-move.d.mts.map +1 -0
  857. package/tools/vektor/move/create-vektor-move.d.ts +45 -0
  858. package/tools/vektor/move/create-vektor-move.d.ts.map +1 -0
  859. package/tools/vektor/move/create-vektor-move.js +68 -0
  860. package/tools/vektor/move/create-vektor-move.js.map +1 -0
  861. package/tools/vektor/move/create-vektor-move.mjs +64 -0
  862. package/tools/vektor/move/create-vektor-move.mjs.map +1 -0
  863. package/tools/vektor/prices/list-historical-vektor-prices.d.mts +45 -0
  864. package/tools/vektor/prices/list-historical-vektor-prices.d.mts.map +1 -0
  865. package/tools/vektor/prices/list-historical-vektor-prices.d.ts +45 -0
  866. package/tools/vektor/prices/list-historical-vektor-prices.d.ts.map +1 -0
  867. package/tools/vektor/prices/list-historical-vektor-prices.js +55 -0
  868. package/tools/vektor/prices/list-historical-vektor-prices.js.map +1 -0
  869. package/tools/vektor/prices/list-historical-vektor-prices.mjs +51 -0
  870. package/tools/vektor/prices/list-historical-vektor-prices.mjs.map +1 -0
  871. package/tools/vektor/prices/list-vektor-prices.d.mts +45 -0
  872. package/tools/vektor/prices/list-vektor-prices.d.mts.map +1 -0
  873. package/tools/vektor/prices/list-vektor-prices.d.ts +45 -0
  874. package/tools/vektor/prices/list-vektor-prices.d.ts.map +1 -0
  875. package/tools/vektor/prices/list-vektor-prices.js +55 -0
  876. package/tools/vektor/prices/list-vektor-prices.js.map +1 -0
  877. package/tools/vektor/prices/list-vektor-prices.mjs +51 -0
  878. package/tools/vektor/prices/list-vektor-prices.mjs.map +1 -0
  879. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.mts +45 -0
  880. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.mts.map +1 -0
  881. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.ts +45 -0
  882. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.ts.map +1 -0
  883. package/tools/vektor/registry/assets/list-registry-vektor-assets.js +57 -0
  884. package/tools/vektor/registry/assets/list-registry-vektor-assets.js.map +1 -0
  885. package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs +53 -0
  886. package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs.map +1 -0
  887. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.mts +45 -0
  888. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.mts.map +1 -0
  889. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.ts +45 -0
  890. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.ts.map +1 -0
  891. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js +47 -0
  892. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js.map +1 -0
  893. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs +43 -0
  894. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs.map +1 -0
  895. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.mts +45 -0
  896. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.mts.map +1 -0
  897. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.ts +45 -0
  898. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.ts.map +1 -0
  899. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js +78 -0
  900. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js.map +1 -0
  901. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs +74 -0
  902. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs.map +1 -0
  903. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.mts +45 -0
  904. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.mts.map +1 -0
  905. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.ts +45 -0
  906. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.ts.map +1 -0
  907. package/tools/vektor/registry/errors/list-registry-vektor-errors.js +43 -0
  908. package/tools/vektor/registry/errors/list-registry-vektor-errors.js.map +1 -0
  909. package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs +39 -0
  910. package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs.map +1 -0
  911. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.mts +45 -0
  912. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.mts.map +1 -0
  913. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.ts +45 -0
  914. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.ts.map +1 -0
  915. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js +78 -0
  916. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js.map +1 -0
  917. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs +74 -0
  918. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs.map +1 -0
  919. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.mts +45 -0
  920. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.mts.map +1 -0
  921. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.ts +45 -0
  922. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.ts.map +1 -0
  923. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js +78 -0
  924. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js.map +1 -0
  925. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs +74 -0
  926. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs.map +1 -0
  927. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.mts +45 -0
  928. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.mts.map +1 -0
  929. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.ts +45 -0
  930. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.ts.map +1 -0
  931. package/tools/vektor/registry/venues/list-registry-vektor-venues.js +47 -0
  932. package/tools/vektor/registry/venues/list-registry-vektor-venues.js.map +1 -0
  933. package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs +43 -0
  934. package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs.map +1 -0
  935. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.d.mts +45 -0
  936. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.d.mts.map +1 -0
  937. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.d.ts +45 -0
  938. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.d.ts.map +1 -0
  939. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.js +78 -0
  940. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.js.map +1 -0
  941. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.mjs +74 -0
  942. package/tools/vektor/sell/quotes/list-sell-vektor-quotes.mjs.map +1 -0
  943. package/tools/vektor/sell/sell_/create-sell-vektor-sell.d.mts +45 -0
  944. package/tools/vektor/sell/sell_/create-sell-vektor-sell.d.mts.map +1 -0
  945. package/tools/vektor/sell/sell_/create-sell-vektor-sell.d.ts +45 -0
  946. package/tools/vektor/sell/sell_/create-sell-vektor-sell.d.ts.map +1 -0
  947. package/tools/vektor/sell/sell_/create-sell-vektor-sell.js +86 -0
  948. package/tools/vektor/sell/sell_/create-sell-vektor-sell.js.map +1 -0
  949. package/tools/vektor/sell/sell_/create-sell-vektor-sell.mjs +82 -0
  950. package/tools/vektor/sell/sell_/create-sell-vektor-sell.mjs.map +1 -0
  951. package/tools/vektor/vote/markets/list-vote-vektor-markets.d.mts +45 -0
  952. package/tools/vektor/vote/markets/list-vote-vektor-markets.d.mts.map +1 -0
  953. package/tools/vektor/vote/markets/list-vote-vektor-markets.d.ts +45 -0
  954. package/tools/vektor/vote/markets/list-vote-vektor-markets.d.ts.map +1 -0
  955. package/tools/vektor/vote/markets/list-vote-vektor-markets.js +72 -0
  956. package/tools/vektor/vote/markets/list-vote-vektor-markets.js.map +1 -0
  957. package/tools/vektor/vote/markets/list-vote-vektor-markets.mjs +68 -0
  958. package/tools/vektor/vote/markets/list-vote-vektor-markets.mjs.map +1 -0
  959. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.d.mts +45 -0
  960. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.d.mts.map +1 -0
  961. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.d.ts +45 -0
  962. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.d.ts.map +1 -0
  963. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.js +85 -0
  964. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.js.map +1 -0
  965. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.mjs +81 -0
  966. package/tools/vektor/vote/rewards/list-vote-vektor-rewards.mjs.map +1 -0
  967. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.d.mts +45 -0
  968. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.d.mts.map +1 -0
  969. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.d.ts +45 -0
  970. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.d.ts.map +1 -0
  971. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.js +57 -0
  972. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.js.map +1 -0
  973. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.mjs +53 -0
  974. package/tools/vektor/wrap/unwrap/create-wrap-vektor-unwrap.mjs.map +1 -0
  975. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.d.mts +45 -0
  976. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.d.mts.map +1 -0
  977. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.d.ts +45 -0
  978. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.d.ts.map +1 -0
  979. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.js +57 -0
  980. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.js.map +1 -0
  981. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.mjs +53 -0
  982. package/tools/vektor/wrap/wrap_/create-wrap-vektor-wrap.mjs.map +1 -0
  983. package/tools.d.mts +2 -0
  984. package/tools.d.mts.map +1 -0
  985. package/tools.d.ts +2 -0
  986. package/tools.d.ts.map +1 -0
  987. package/tools.js +18 -0
  988. package/tools.js.map +1 -0
  989. package/tools.mjs +2 -0
  990. package/tools.mjs.map +1 -0
@@ -0,0 +1,14 @@
1
+ import { ClientOptions } from '@nirvana-labs/nirvana';
2
+ export type WorkerInput = {
3
+ opts: ClientOptions;
4
+ code: string;
5
+ };
6
+ export type WorkerSuccess = {
7
+ result: unknown | null;
8
+ logLines: string[];
9
+ errLines: string[];
10
+ };
11
+ export type WorkerError = {
12
+ message: string | undefined;
13
+ };
14
+ //# sourceMappingURL=code-tool-types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-types.d.mts","sourceRoot":"","sources":["src/code-tool-types.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ClientOptions } from '@nirvana-labs/nirvana';
2
+ export type WorkerInput = {
3
+ opts: ClientOptions;
4
+ code: string;
5
+ };
6
+ export type WorkerSuccess = {
7
+ result: unknown | null;
8
+ logLines: string[];
9
+ errLines: string[];
10
+ };
11
+ export type WorkerError = {
12
+ message: string | undefined;
13
+ };
14
+ //# sourceMappingURL=code-tool-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-types.d.ts","sourceRoot":"","sources":["src/code-tool-types.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC"}
@@ -0,0 +1,4 @@
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
+ //# sourceMappingURL=code-tool-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-types.js","sourceRoot":"","sources":["src/code-tool-types.ts"],"names":[],"mappings":";AAAA,sFAAsF"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export {};
3
+ //# sourceMappingURL=code-tool-types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-types.mjs","sourceRoot":"","sources":["src/code-tool-types.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ fetch: (req: Request) => Promise<Response>;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=code-tool-worker.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-worker.d.mts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBAM0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAuCrD,wBAAyB"}
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ fetch: (req: Request) => Promise<Response>;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=code-tool-worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-worker.d.ts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBAM0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAuCrD,wBAAyB"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const node_util_1 = __importDefault(require("node:util"));
8
+ const nirvana_1 = require("@nirvana-labs/nirvana");
9
+ const fetch = async (req) => {
10
+ const { opts, code } = (await req.json());
11
+ const client = new nirvana_1.NirvanaLabs({
12
+ ...opts,
13
+ });
14
+ const logLines = [];
15
+ const errLines = [];
16
+ const console = {
17
+ log: (...args) => {
18
+ logLines.push(node_util_1.default.format(...args));
19
+ },
20
+ error: (...args) => {
21
+ errLines.push(node_util_1.default.format(...args));
22
+ },
23
+ };
24
+ try {
25
+ let run_ = async (client) => { };
26
+ eval(`
27
+ ${code}
28
+ run_ = run;
29
+ `);
30
+ const result = await run_(client);
31
+ return Response.json({
32
+ result,
33
+ logLines,
34
+ errLines,
35
+ });
36
+ }
37
+ catch (e) {
38
+ const message = e instanceof Error ? e.message : undefined;
39
+ return Response.json({
40
+ message,
41
+ }, { status: 400, statusText: 'Code execution error' });
42
+ }
43
+ };
44
+ exports.default = { fetch };
45
+ //# sourceMappingURL=code-tool-worker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-worker.js","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAEtF,0DAA6B;AAE7B,mDAAoD;AAEpD,MAAM,KAAK,GAAG,KAAK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,CAAC"}
@@ -0,0 +1,40 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import util from 'node:util';
3
+ import { NirvanaLabs } from '@nirvana-labs/nirvana';
4
+ const fetch = async (req) => {
5
+ const { opts, code } = (await req.json());
6
+ const client = new NirvanaLabs({
7
+ ...opts,
8
+ });
9
+ const logLines = [];
10
+ const errLines = [];
11
+ const console = {
12
+ log: (...args) => {
13
+ logLines.push(util.format(...args));
14
+ },
15
+ error: (...args) => {
16
+ errLines.push(util.format(...args));
17
+ },
18
+ };
19
+ try {
20
+ let run_ = async (client) => { };
21
+ eval(`
22
+ ${code}
23
+ run_ = run;
24
+ `);
25
+ const result = await run_(client);
26
+ return Response.json({
27
+ result,
28
+ logLines,
29
+ errLines,
30
+ });
31
+ }
32
+ catch (e) {
33
+ const message = e instanceof Error ? e.message : undefined;
34
+ return Response.json({
35
+ message,
36
+ }, { status: 400, statusText: 'Code execution error' });
37
+ }
38
+ };
39
+ export default { fetch };
40
+ //# sourceMappingURL=code-tool-worker.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool-worker.mjs","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,IAAI,MAAM,WAAW;OAErB,EAAE,WAAW,EAAE,MAAM,uBAAuB;AAEnD,MAAM,KAAK,GAAG,KAAK,EAAE,GAAY,EAAqB,EAAE;IACtD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAgB,CAAC;IACzD,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC;QAC7B,GAAG,IAAI;KACR,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,OAAO,GAAG;QACd,GAAG,EAAE,CAAC,GAAG,IAAe,EAAE,EAAE;YAC1B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,EAAE,CAAC,GAAG,IAAe,EAAE,EAAE;YAC5B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACtC,CAAC;KACF,CAAC;IACF,IAAI,CAAC;QACH,IAAI,IAAI,GAAG,KAAK,EAAE,MAAW,EAAE,EAAE,GAAE,CAAC,CAAC;QACrC,IAAI,CAAC;QACD,IAAI;;KAEP,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;QAClC,OAAO,QAAQ,CAAC,IAAI,CAAC;YACnB,MAAM;YACN,QAAQ;YACR,QAAQ;SACe,CAAC,CAAC;IAC7B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,OAAO,GAAG,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;QAC3D,OAAO,QAAQ,CAAC,IAAI,CAClB;YACE,OAAO;SACc,EACvB,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,sBAAsB,EAAE,CACpD,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Endpoint } from "./tools/types.mjs";
2
+ /**
3
+ * A tool that runs code against a copy of the SDK.
4
+ *
5
+ * Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
6
+ * we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
7
+ * a generic endpoint that can be used to invoke any endpoint with the provided arguments.
8
+ *
9
+ * @param endpoints - The endpoints to include in the list.
10
+ */
11
+ export declare function codeTool(): Promise<Endpoint>;
12
+ //# sourceMappingURL=code-tool.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool.d.mts","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":"OAKO,EAAE,QAAQ,EAA0B;AAM3C;;;;;;;;GAQG;AACH,wBAAsB,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,CA6HlD"}
package/code-tool.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { Endpoint } from "./tools/types.js";
2
+ /**
3
+ * A tool that runs code against a copy of the SDK.
4
+ *
5
+ * Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
6
+ * we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
7
+ * a generic endpoint that can be used to invoke any endpoint with the provided arguments.
8
+ *
9
+ * @param endpoints - The endpoints to include in the list.
10
+ */
11
+ export declare function codeTool(): Promise<Endpoint>;
12
+ //# sourceMappingURL=code-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool.d.ts","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":"OAKO,EAAE,QAAQ,EAA0B;AAM3C;;;;;;;;GAQG;AACH,wBAAsB,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,CA6HlD"}
package/code-tool.js ADDED
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.codeTool = codeTool;
38
+ const node_path_1 = require("node:path");
39
+ const node_url_1 = require("node:url");
40
+ /**
41
+ * A tool that runs code against a copy of the SDK.
42
+ *
43
+ * Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
44
+ * we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
45
+ * a generic endpoint that can be used to invoke any endpoint with the provided arguments.
46
+ *
47
+ * @param endpoints - The endpoints to include in the list.
48
+ */
49
+ async function codeTool() {
50
+ const metadata = { resource: 'all', operation: 'write', tags: [] };
51
+ const tool = {
52
+ name: 'execute',
53
+ description: 'Runs Typescript code to interact with the API.\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client, and it will be run.\nDo not initialize a client, but instead use the client that you are given as a parameter.\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
54
+ inputSchema: { type: 'object', properties: { code: { type: 'string' } } },
55
+ };
56
+ // Import dynamically to avoid failing at import time in cases where the environment is not well-supported.
57
+ const { newDenoHTTPWorker } = await Promise.resolve().then(() => __importStar(require('@valtown/deno-http-worker')));
58
+ const { workerPath } = await Promise.resolve().then(() => __importStar(require('./code-tool-paths.cjs')));
59
+ const handler = async (client, args) => {
60
+ const baseURLHostname = new URL(client.baseURL).hostname;
61
+ const { code } = args;
62
+ const worker = await newDenoHTTPWorker((0, node_url_1.pathToFileURL)(workerPath), {
63
+ runFlags: [
64
+ `--node-modules-dir=manual`,
65
+ `--allow-read=code-tool-worker.mjs,${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, '$1')}/`,
66
+ `--allow-net=${baseURLHostname}`,
67
+ // Allow environment variables because instantiating the client will try to read from them,
68
+ // even though they are not set.
69
+ '--allow-env',
70
+ ],
71
+ printOutput: true,
72
+ spawnOptions: {
73
+ cwd: (0, node_path_1.dirname)(workerPath),
74
+ },
75
+ });
76
+ try {
77
+ const resp = await new Promise((resolve, reject) => {
78
+ worker.addEventListener('exit', (exitCode) => {
79
+ reject(new Error(`Worker exited with code ${exitCode}`));
80
+ });
81
+ const opts = {
82
+ baseURL: client.baseURL,
83
+ apiKey: client.apiKey,
84
+ defaultHeaders: {
85
+ 'X-Stainless-MCP': 'true',
86
+ },
87
+ };
88
+ const req = worker.request('http://localhost', {
89
+ headers: {
90
+ 'content-type': 'application/json',
91
+ },
92
+ method: 'POST',
93
+ }, (resp) => {
94
+ const body = [];
95
+ resp.on('error', (err) => {
96
+ reject(err);
97
+ });
98
+ resp.on('data', (chunk) => {
99
+ body.push(chunk);
100
+ });
101
+ resp.on('end', () => {
102
+ resolve(new Response(Buffer.concat(body).toString(), {
103
+ status: resp.statusCode ?? 200,
104
+ headers: resp.headers,
105
+ }));
106
+ });
107
+ });
108
+ const body = JSON.stringify({
109
+ opts,
110
+ code,
111
+ });
112
+ req.write(body, (err) => {
113
+ if (err !== null && err !== undefined) {
114
+ reject(err);
115
+ }
116
+ });
117
+ req.end();
118
+ });
119
+ if (resp.status === 200) {
120
+ const { result, logLines, errLines } = (await resp.json());
121
+ const returnOutput = result === null ? null
122
+ : result === undefined ? null
123
+ : {
124
+ type: 'text',
125
+ text: typeof result === 'string' ? result : JSON.stringify(result),
126
+ };
127
+ const logOutput = logLines.length === 0 ?
128
+ null
129
+ : {
130
+ type: 'text',
131
+ text: logLines.join('\n'),
132
+ };
133
+ const errOutput = errLines.length === 0 ?
134
+ null
135
+ : {
136
+ type: 'text',
137
+ text: 'Error output:\n' + errLines.join('\n'),
138
+ };
139
+ return {
140
+ content: [returnOutput, logOutput, errOutput].filter((block) => block !== null),
141
+ };
142
+ }
143
+ else {
144
+ const { message } = (await resp.json());
145
+ throw new Error(message);
146
+ }
147
+ }
148
+ catch (e) {
149
+ throw e;
150
+ }
151
+ finally {
152
+ worker.terminate();
153
+ }
154
+ };
155
+ return { metadata, tool, handler };
156
+ }
157
+ //# sourceMappingURL=code-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool.js","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBtF,4BA6HC;AA/ID,yCAAoC;AACpC,uCAAyC;AAQzC;;;;;;;;GAQG;AACI,KAAK,UAAU,QAAQ;IAC5B,MAAM,QAAQ,GAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IAC7E,MAAM,IAAI,GAAS;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,khCAAkhC;QACphC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;KAC1E,CAAC;IAEF,2GAA2G;IAC3G,MAAM,EAAE,iBAAiB,EAAE,GAAG,wDAAa,2BAA2B,GAAC,CAAC;IACxE,MAAM,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s ADDED
@@ -0,0 +1,121 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { dirname } from 'node:path';
3
+ import { pathToFileURL } from 'node:url';
4
+ /**
5
+ * A tool that runs code against a copy of the SDK.
6
+ *
7
+ * Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
8
+ * we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
9
+ * a generic endpoint that can be used to invoke any endpoint with the provided arguments.
10
+ *
11
+ * @param endpoints - The endpoints to include in the list.
12
+ */
13
+ export async function codeTool() {
14
+ const metadata = { resource: 'all', operation: 'write', tags: [] };
15
+ const tool = {
16
+ name: 'execute',
17
+ description: 'Runs Typescript code to interact with the API.\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client, and it will be run.\nDo not initialize a client, but instead use the client that you are given as a parameter.\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
18
+ inputSchema: { type: 'object', properties: { code: { type: 'string' } } },
19
+ };
20
+ // Import dynamically to avoid failing at import time in cases where the environment is not well-supported.
21
+ const { newDenoHTTPWorker } = await import('@valtown/deno-http-worker');
22
+ const { workerPath } = await import('./code-tool-paths.cjs');
23
+ const handler = async (client, args) => {
24
+ const baseURLHostname = new URL(client.baseURL).hostname;
25
+ const { code } = args;
26
+ const worker = await newDenoHTTPWorker(pathToFileURL(workerPath), {
27
+ runFlags: [
28
+ `--node-modules-dir=manual`,
29
+ `--allow-read=code-tool-worker.mjs,${workerPath.replace(/([\/\\]node_modules)[\/\\].+$/, '$1')}/`,
30
+ `--allow-net=${baseURLHostname}`,
31
+ // Allow environment variables because instantiating the client will try to read from them,
32
+ // even though they are not set.
33
+ '--allow-env',
34
+ ],
35
+ printOutput: true,
36
+ spawnOptions: {
37
+ cwd: dirname(workerPath),
38
+ },
39
+ });
40
+ try {
41
+ const resp = await new Promise((resolve, reject) => {
42
+ worker.addEventListener('exit', (exitCode) => {
43
+ reject(new Error(`Worker exited with code ${exitCode}`));
44
+ });
45
+ const opts = {
46
+ baseURL: client.baseURL,
47
+ apiKey: client.apiKey,
48
+ defaultHeaders: {
49
+ 'X-Stainless-MCP': 'true',
50
+ },
51
+ };
52
+ const req = worker.request('http://localhost', {
53
+ headers: {
54
+ 'content-type': 'application/json',
55
+ },
56
+ method: 'POST',
57
+ }, (resp) => {
58
+ const body = [];
59
+ resp.on('error', (err) => {
60
+ reject(err);
61
+ });
62
+ resp.on('data', (chunk) => {
63
+ body.push(chunk);
64
+ });
65
+ resp.on('end', () => {
66
+ resolve(new Response(Buffer.concat(body).toString(), {
67
+ status: resp.statusCode ?? 200,
68
+ headers: resp.headers,
69
+ }));
70
+ });
71
+ });
72
+ const body = JSON.stringify({
73
+ opts,
74
+ code,
75
+ });
76
+ req.write(body, (err) => {
77
+ if (err !== null && err !== undefined) {
78
+ reject(err);
79
+ }
80
+ });
81
+ req.end();
82
+ });
83
+ if (resp.status === 200) {
84
+ const { result, logLines, errLines } = (await resp.json());
85
+ const returnOutput = result === null ? null
86
+ : result === undefined ? null
87
+ : {
88
+ type: 'text',
89
+ text: typeof result === 'string' ? result : JSON.stringify(result),
90
+ };
91
+ const logOutput = logLines.length === 0 ?
92
+ null
93
+ : {
94
+ type: 'text',
95
+ text: logLines.join('\n'),
96
+ };
97
+ const errOutput = errLines.length === 0 ?
98
+ null
99
+ : {
100
+ type: 'text',
101
+ text: 'Error output:\n' + errLines.join('\n'),
102
+ };
103
+ return {
104
+ content: [returnOutput, logOutput, errOutput].filter((block) => block !== null),
105
+ };
106
+ }
107
+ else {
108
+ const { message } = (await resp.json());
109
+ throw new Error(message);
110
+ }
111
+ }
112
+ catch (e) {
113
+ throw e;
114
+ }
115
+ finally {
116
+ worker.terminate();
117
+ }
118
+ };
119
+ return { metadata, tool, handler };
120
+ }
121
+ //# sourceMappingURL=code-tool.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-tool.mjs","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE,MAAM,WAAW;OAC5B,EAAE,aAAa,EAAE,MAAM,UAAU;AAQxC;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ;IAC5B,MAAM,QAAQ,GAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IAC7E,MAAM,IAAI,GAAS;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,khCAAkhC;QACphC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;KAC1E,CAAC;IAEF,2GAA2G;IAC3G,MAAM,EAAE,iBAAiB,EAAE,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC;IACxE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAa,EAAE,EAAE;QAC3D,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC;QACzD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAwB,CAAC;QAE1C,MAAM,MAAM,GAAG,MAAM,iBAAiB,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE;YAChE,QAAQ,EAAE;gBACR,2BAA2B;gBAC3B,qCAAqC,UAAU,CAAC,OAAO,CAAC,+BAA+B,EAAE,IAAI,CAAC,GA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CAAC;gBACN,MAAM,SAAS,GACb,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;oBACrB,IAAI;oBACN,CAAC,CAAC;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;qBAC9C,CAAC;gBACN,OAAO;oBACL,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;iBAChF,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAgB,CAAC;gBACvD,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;YAC3B,CAAC;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,CAAC;QACV,CAAC;gBAAS,CAAC;YACT,MAAM,CAAC,SAAS,EAAE,CAAC;QACrB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AACrC,CAAC"}
package/compat.d.mts ADDED
@@ -0,0 +1,58 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import { z } from 'zod';
3
+ import { Endpoint } from "./tools.mjs";
4
+ export interface ClientCapabilities {
5
+ topLevelUnions: boolean;
6
+ validJson: boolean;
7
+ refs: boolean;
8
+ unions: boolean;
9
+ formats: boolean;
10
+ toolNameLength: number | undefined;
11
+ }
12
+ export declare const defaultClientCapabilities: ClientCapabilities;
13
+ export declare const ClientType: z.ZodEnum<["openai-agents", "claude", "claude-code", "cursor", "infer"]>;
14
+ export type ClientType = z.infer<typeof ClientType>;
15
+ export declare const knownClients: Record<Exclude<ClientType, 'infer'>, ClientCapabilities>;
16
+ /**
17
+ * Attempts to parse strings into JSON objects
18
+ */
19
+ export declare function parseEmbeddedJSON(args: Record<string, unknown>, schema: Record<string, unknown>): Record<string, unknown>;
20
+ export type JSONSchema = {
21
+ type?: string;
22
+ properties?: Record<string, JSONSchema>;
23
+ required?: string[];
24
+ anyOf?: JSONSchema[];
25
+ $ref?: string;
26
+ $defs?: Record<string, JSONSchema>;
27
+ [key: string]: any;
28
+ };
29
+ /**
30
+ * Truncates tool names to the specified length while ensuring uniqueness.
31
+ * If truncation would cause duplicate names, appends a number to make them unique.
32
+ */
33
+ export declare function truncateToolNames(names: string[], maxLength: number): Map<string, string>;
34
+ /**
35
+ * Removes top-level unions from a tool by splitting it into multiple tools,
36
+ * one for each variant in the union.
37
+ */
38
+ export declare function removeTopLevelUnions(tool: Tool): Tool[];
39
+ declare function findUsedDefs(schema: JSONSchema, defs: Record<string, JSONSchema>, visited?: Set<string>): Record<string, JSONSchema>;
40
+ export { findUsedDefs };
41
+ /**
42
+ * Inlines all $refs in a schema, eliminating $defs.
43
+ * If a circular reference is detected, the circular property is removed.
44
+ */
45
+ export declare function inlineRefs(schema: JSONSchema): JSONSchema;
46
+ /**
47
+ * Removes anyOf fields from a schema, using only the first variant.
48
+ */
49
+ export declare function removeAnyOf(schema: JSONSchema): JSONSchema;
50
+ /**
51
+ * Removes format fields from a schema and appends them to the description.
52
+ */
53
+ export declare function removeFormats(schema: JSONSchema, formatsCapability: boolean): JSONSchema;
54
+ /**
55
+ * Applies all compatibility transformations to the endpoints based on the provided capabilities.
56
+ */
57
+ export declare function applyCompatibilityTransformations(endpoints: Endpoint[], capabilities: ClientCapabilities): Endpoint[];
58
+ //# sourceMappingURL=compat.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compat.d.mts","sourceRoot":"","sources":["src/compat.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,EAAE,CAAC,EAAE,MAAM,KAAK;OAChB,EAAE,QAAQ,EAAE;AAEnB,MAAM,WAAW,kBAAk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BAAS,YAAY,CACnB,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EAChC,OAAO,GAAE,GAAG,CAAC,MAAM,CAAa,GAC/B,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CA6B5B;AAGD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAazD;AAoED;;GAEG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CA0C1D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,OAAO,GAAG,UAAU,CAkCxF;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,QAAQ,EAAE,EACrB,YAAY,EAAE,kBAAkB,GAC/B,QAAQ,EAAE,CAiEZ"}
package/compat.d.ts ADDED
@@ -0,0 +1,58 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import { z } from 'zod';
3
+ import { Endpoint } from "./tools.js";
4
+ export interface ClientCapabilities {
5
+ topLevelUnions: boolean;
6
+ validJson: boolean;
7
+ refs: boolean;
8
+ unions: boolean;
9
+ formats: boolean;
10
+ toolNameLength: number | undefined;
11
+ }
12
+ export declare const defaultClientCapabilities: ClientCapabilities;
13
+ export declare const ClientType: z.ZodEnum<["openai-agents", "claude", "claude-code", "cursor", "infer"]>;
14
+ export type ClientType = z.infer<typeof ClientType>;
15
+ export declare const knownClients: Record<Exclude<ClientType, 'infer'>, ClientCapabilities>;
16
+ /**
17
+ * Attempts to parse strings into JSON objects
18
+ */
19
+ export declare function parseEmbeddedJSON(args: Record<string, unknown>, schema: Record<string, unknown>): Record<string, unknown>;
20
+ export type JSONSchema = {
21
+ type?: string;
22
+ properties?: Record<string, JSONSchema>;
23
+ required?: string[];
24
+ anyOf?: JSONSchema[];
25
+ $ref?: string;
26
+ $defs?: Record<string, JSONSchema>;
27
+ [key: string]: any;
28
+ };
29
+ /**
30
+ * Truncates tool names to the specified length while ensuring uniqueness.
31
+ * If truncation would cause duplicate names, appends a number to make them unique.
32
+ */
33
+ export declare function truncateToolNames(names: string[], maxLength: number): Map<string, string>;
34
+ /**
35
+ * Removes top-level unions from a tool by splitting it into multiple tools,
36
+ * one for each variant in the union.
37
+ */
38
+ export declare function removeTopLevelUnions(tool: Tool): Tool[];
39
+ declare function findUsedDefs(schema: JSONSchema, defs: Record<string, JSONSchema>, visited?: Set<string>): Record<string, JSONSchema>;
40
+ export { findUsedDefs };
41
+ /**
42
+ * Inlines all $refs in a schema, eliminating $defs.
43
+ * If a circular reference is detected, the circular property is removed.
44
+ */
45
+ export declare function inlineRefs(schema: JSONSchema): JSONSchema;
46
+ /**
47
+ * Removes anyOf fields from a schema, using only the first variant.
48
+ */
49
+ export declare function removeAnyOf(schema: JSONSchema): JSONSchema;
50
+ /**
51
+ * Removes format fields from a schema and appends them to the description.
52
+ */
53
+ export declare function removeFormats(schema: JSONSchema, formatsCapability: boolean): JSONSchema;
54
+ /**
55
+ * Applies all compatibility transformations to the endpoints based on the provided capabilities.
56
+ */
57
+ export declare function applyCompatibilityTransformations(endpoints: Endpoint[], capabilities: ClientCapabilities): Endpoint[];
58
+ //# sourceMappingURL=compat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["src/compat.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,EAAE,CAAC,EAAE,MAAM,KAAK;OAChB,EAAE,QAAQ,EAAE;AAEnB,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM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