@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
package/src/compat.ts ADDED
@@ -0,0 +1,483 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import { z } from 'zod';
3
+ import { Endpoint } from './tools';
4
+
5
+ export interface ClientCapabilities {
6
+ topLevelUnions: boolean;
7
+ validJson: boolean;
8
+ refs: boolean;
9
+ unions: boolean;
10
+ formats: boolean;
11
+ toolNameLength: number | undefined;
12
+ }
13
+
14
+ export const defaultClientCapabilities: ClientCapabilities = {
15
+ topLevelUnions: true,
16
+ validJson: true,
17
+ refs: true,
18
+ unions: true,
19
+ formats: true,
20
+ toolNameLength: undefined,
21
+ };
22
+
23
+ export const ClientType = z.enum(['openai-agents', 'claude', 'claude-code', 'cursor', 'infer']);
24
+ export type ClientType = z.infer<typeof ClientType>;
25
+
26
+ // Client presets for compatibility
27
+ // Note that these could change over time as models get better, so this is
28
+ // a best effort.
29
+ export const knownClients: Record<Exclude<ClientType, 'infer'>, ClientCapabilities> = {
30
+ 'openai-agents': {
31
+ topLevelUnions: false,
32
+ validJson: true,
33
+ refs: true,
34
+ unions: true,
35
+ formats: true,
36
+ toolNameLength: undefined,
37
+ },
38
+ claude: {
39
+ topLevelUnions: true,
40
+ validJson: false,
41
+ refs: true,
42
+ unions: true,
43
+ formats: true,
44
+ toolNameLength: undefined,
45
+ },
46
+ 'claude-code': {
47
+ topLevelUnions: false,
48
+ validJson: true,
49
+ refs: true,
50
+ unions: true,
51
+ formats: true,
52
+ toolNameLength: undefined,
53
+ },
54
+ cursor: {
55
+ topLevelUnions: false,
56
+ validJson: true,
57
+ refs: false,
58
+ unions: false,
59
+ formats: false,
60
+ toolNameLength: 50,
61
+ },
62
+ };
63
+
64
+ /**
65
+ * Attempts to parse strings into JSON objects
66
+ */
67
+ export function parseEmbeddedJSON(args: Record<string, unknown>, schema: Record<string, unknown>) {
68
+ let updated = false;
69
+ const newArgs: Record<string, unknown> = Object.assign({}, args);
70
+
71
+ for (const [key, value] of Object.entries(newArgs)) {
72
+ if (typeof value === 'string') {
73
+ try {
74
+ const parsed = JSON.parse(value);
75
+ // Only parse if result is a plain object (not array, null, or primitive)
76
+ if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
77
+ newArgs[key] = parsed;
78
+ updated = true;
79
+ }
80
+ } catch (e) {
81
+ // Not valid JSON, leave as is
82
+ }
83
+ }
84
+ }
85
+
86
+ if (updated) {
87
+ return newArgs;
88
+ }
89
+
90
+ return args;
91
+ }
92
+
93
+ export type JSONSchema = {
94
+ type?: string;
95
+ properties?: Record<string, JSONSchema>;
96
+ required?: string[];
97
+ anyOf?: JSONSchema[];
98
+ $ref?: string;
99
+ $defs?: Record<string, JSONSchema>;
100
+ [key: string]: any;
101
+ };
102
+
103
+ /**
104
+ * Truncates tool names to the specified length while ensuring uniqueness.
105
+ * If truncation would cause duplicate names, appends a number to make them unique.
106
+ */
107
+ export function truncateToolNames(names: string[], maxLength: number): Map<string, string> {
108
+ if (maxLength <= 0) {
109
+ return new Map();
110
+ }
111
+
112
+ const renameMap = new Map<string, string>();
113
+ const usedNames = new Set<string>();
114
+
115
+ const toTruncate = names.filter((name) => name.length > maxLength);
116
+
117
+ if (toTruncate.length === 0) {
118
+ return renameMap;
119
+ }
120
+
121
+ const willCollide =
122
+ new Set(toTruncate.map((name) => name.slice(0, maxLength - 1))).size < toTruncate.length;
123
+
124
+ if (!willCollide) {
125
+ for (const name of toTruncate) {
126
+ const truncatedName = name.slice(0, maxLength);
127
+ renameMap.set(name, truncatedName);
128
+ }
129
+ } else {
130
+ const baseLength = maxLength - 1;
131
+
132
+ for (const name of toTruncate) {
133
+ const baseName = name.slice(0, baseLength);
134
+ let counter = 1;
135
+
136
+ while (usedNames.has(baseName + counter)) {
137
+ counter++;
138
+ }
139
+
140
+ const finalName = baseName + counter;
141
+ renameMap.set(name, finalName);
142
+ usedNames.add(finalName);
143
+ }
144
+ }
145
+
146
+ return renameMap;
147
+ }
148
+
149
+ /**
150
+ * Removes top-level unions from a tool by splitting it into multiple tools,
151
+ * one for each variant in the union.
152
+ */
153
+ export function removeTopLevelUnions(tool: Tool): Tool[] {
154
+ const inputSchema = tool.inputSchema as JSONSchema;
155
+ const variants = inputSchema.anyOf;
156
+
157
+ if (!variants || !Array.isArray(variants) || variants.length === 0) {
158
+ return [tool];
159
+ }
160
+
161
+ const defs = inputSchema.$defs || {};
162
+
163
+ return variants.map((variant, index) => {
164
+ const variantSchema: JSONSchema = {
165
+ ...inputSchema,
166
+ ...variant,
167
+ type: 'object',
168
+ properties: {
169
+ ...(inputSchema.properties || {}),
170
+ ...(variant.properties || {}),
171
+ },
172
+ };
173
+
174
+ delete variantSchema.anyOf;
175
+
176
+ if (!variantSchema['description']) {
177
+ variantSchema['description'] = tool.description;
178
+ }
179
+
180
+ const usedDefs = findUsedDefs(variant, defs);
181
+ if (Object.keys(usedDefs).length > 0) {
182
+ variantSchema.$defs = usedDefs;
183
+ } else {
184
+ delete variantSchema.$defs;
185
+ }
186
+
187
+ return {
188
+ ...tool,
189
+ name: `${tool.name}_${toSnakeCase(variant['title'] || `variant${index + 1}`)}`,
190
+ description: variant['description'] || tool.description,
191
+ inputSchema: variantSchema,
192
+ } as Tool;
193
+ });
194
+ }
195
+
196
+ function findUsedDefs(
197
+ schema: JSONSchema,
198
+ defs: Record<string, JSONSchema>,
199
+ visited: Set<string> = new Set(),
200
+ ): Record<string, JSONSchema> {
201
+ const usedDefs: Record<string, JSONSchema> = {};
202
+
203
+ if (typeof schema !== 'object' || schema === null) {
204
+ return usedDefs;
205
+ }
206
+
207
+ if (schema.$ref) {
208
+ const refParts = schema.$ref.split('/');
209
+ if (refParts[0] === '#' && refParts[1] === '$defs' && refParts[2]) {
210
+ const defName = refParts[2];
211
+ const def = defs[defName];
212
+ if (def && !visited.has(schema.$ref)) {
213
+ usedDefs[defName] = def;
214
+ visited.add(schema.$ref);
215
+ Object.assign(usedDefs, findUsedDefs(def, defs, visited));
216
+ visited.delete(schema.$ref);
217
+ }
218
+ }
219
+ return usedDefs;
220
+ }
221
+
222
+ for (const key in schema) {
223
+ if (key !== '$defs' && typeof schema[key] === 'object' && schema[key] !== null) {
224
+ Object.assign(usedDefs, findUsedDefs(schema[key] as JSONSchema, defs, visited));
225
+ }
226
+ }
227
+
228
+ return usedDefs;
229
+ }
230
+
231
+ // Export for testing
232
+ export { findUsedDefs };
233
+
234
+ /**
235
+ * Inlines all $refs in a schema, eliminating $defs.
236
+ * If a circular reference is detected, the circular property is removed.
237
+ */
238
+ export function inlineRefs(schema: JSONSchema): JSONSchema {
239
+ if (!schema || typeof schema !== 'object') {
240
+ return schema;
241
+ }
242
+
243
+ const clonedSchema = { ...schema };
244
+ const defs: Record<string, JSONSchema> = schema.$defs || {};
245
+
246
+ delete clonedSchema.$defs;
247
+
248
+ const result = inlineRefsRecursive(clonedSchema, defs, new Set<string>());
249
+ // The top level can never be null
250
+ return result === null ? {} : result;
251
+ }
252
+
253
+ function inlineRefsRecursive(
254
+ schema: JSONSchema,
255
+ defs: Record<string, JSONSchema>,
256
+ refPath: Set<string>,
257
+ ): JSONSchema | null {
258
+ if (!schema || typeof schema !== 'object') {
259
+ return schema;
260
+ }
261
+
262
+ if (Array.isArray(schema)) {
263
+ return schema.map((item) => {
264
+ const processed = inlineRefsRecursive(item, defs, refPath);
265
+ return processed === null ? {} : processed;
266
+ }) as JSONSchema;
267
+ }
268
+
269
+ const result = { ...schema };
270
+
271
+ if ('$ref' in result && typeof result.$ref === 'string') {
272
+ if (result.$ref.startsWith('#/$defs/')) {
273
+ const refName = result.$ref.split('/').pop() as string;
274
+ const def = defs[refName];
275
+
276
+ // If we've already seen this ref in our path, we have a circular reference
277
+ if (refPath.has(result.$ref)) {
278
+ // For circular references, we completely remove the property
279
+ // by returning null. The parent will remove it.
280
+ return null;
281
+ }
282
+
283
+ if (def) {
284
+ const newRefPath = new Set(refPath);
285
+ newRefPath.add(result.$ref);
286
+
287
+ const inlinedDef = inlineRefsRecursive({ ...def }, defs, newRefPath);
288
+
289
+ if (inlinedDef === null) {
290
+ return { ...result };
291
+ }
292
+
293
+ // Merge the inlined definition with the original schema's properties
294
+ // but preserve things like description, etc.
295
+ const { $ref, ...rest } = result;
296
+ return { ...inlinedDef, ...rest };
297
+ }
298
+ }
299
+
300
+ // Keep external refs as-is
301
+ return result;
302
+ }
303
+
304
+ for (const key in result) {
305
+ if (result[key] && typeof result[key] === 'object') {
306
+ const processed = inlineRefsRecursive(result[key] as JSONSchema, defs, refPath);
307
+ if (processed === null) {
308
+ // Remove properties that would cause circular references
309
+ delete result[key];
310
+ } else {
311
+ result[key] = processed;
312
+ }
313
+ }
314
+ }
315
+
316
+ return result;
317
+ }
318
+
319
+ /**
320
+ * Removes anyOf fields from a schema, using only the first variant.
321
+ */
322
+ export function removeAnyOf(schema: JSONSchema): JSONSchema {
323
+ if (!schema || typeof schema !== 'object') {
324
+ return schema;
325
+ }
326
+
327
+ if (Array.isArray(schema)) {
328
+ return schema.map((item) => removeAnyOf(item)) as JSONSchema;
329
+ }
330
+
331
+ const result = { ...schema };
332
+
333
+ if ('anyOf' in result && Array.isArray(result.anyOf) && result.anyOf.length > 0) {
334
+ const firstVariant = result.anyOf[0];
335
+
336
+ if (firstVariant && typeof firstVariant === 'object') {
337
+ // Special handling for properties to ensure deep merge
338
+ if (firstVariant.properties && result.properties) {
339
+ result.properties = {
340
+ ...result.properties,
341
+ ...(firstVariant.properties as Record<string, JSONSchema>),
342
+ };
343
+ } else if (firstVariant.properties) {
344
+ result.properties = { ...firstVariant.properties };
345
+ }
346
+
347
+ for (const key in firstVariant) {
348
+ if (key !== 'properties') {
349
+ result[key] = firstVariant[key];
350
+ }
351
+ }
352
+ }
353
+
354
+ delete result.anyOf;
355
+ }
356
+
357
+ for (const key in result) {
358
+ if (result[key] && typeof result[key] === 'object') {
359
+ result[key] = removeAnyOf(result[key] as JSONSchema);
360
+ }
361
+ }
362
+
363
+ return result;
364
+ }
365
+
366
+ /**
367
+ * Removes format fields from a schema and appends them to the description.
368
+ */
369
+ export function removeFormats(schema: JSONSchema, formatsCapability: boolean): JSONSchema {
370
+ if (formatsCapability) {
371
+ return schema;
372
+ }
373
+
374
+ if (!schema || typeof schema !== 'object') {
375
+ return schema;
376
+ }
377
+
378
+ if (Array.isArray(schema)) {
379
+ return schema.map((item) => removeFormats(item, formatsCapability)) as JSONSchema;
380
+ }
381
+
382
+ const result = { ...schema };
383
+
384
+ if ('format' in result && typeof result['format'] === 'string') {
385
+ const formatStr = `(format: "${result['format']}")`;
386
+
387
+ if ('description' in result && typeof result['description'] === 'string') {
388
+ result['description'] = `${result['description']} ${formatStr}`;
389
+ } else {
390
+ result['description'] = formatStr;
391
+ }
392
+
393
+ delete result['format'];
394
+ }
395
+
396
+ for (const key in result) {
397
+ if (result[key] && typeof result[key] === 'object') {
398
+ result[key] = removeFormats(result[key] as JSONSchema, formatsCapability);
399
+ }
400
+ }
401
+
402
+ return result;
403
+ }
404
+
405
+ /**
406
+ * Applies all compatibility transformations to the endpoints based on the provided capabilities.
407
+ */
408
+ export function applyCompatibilityTransformations(
409
+ endpoints: Endpoint[],
410
+ capabilities: ClientCapabilities,
411
+ ): Endpoint[] {
412
+ let transformedEndpoints = [...endpoints];
413
+
414
+ // Handle top-level unions first as this changes tool names
415
+ if (!capabilities.topLevelUnions) {
416
+ const newEndpoints: Endpoint[] = [];
417
+
418
+ for (const endpoint of transformedEndpoints) {
419
+ const variantTools = removeTopLevelUnions(endpoint.tool);
420
+
421
+ if (variantTools.length === 1) {
422
+ newEndpoints.push(endpoint);
423
+ } else {
424
+ for (const variantTool of variantTools) {
425
+ newEndpoints.push({
426
+ ...endpoint,
427
+ tool: variantTool,
428
+ });
429
+ }
430
+ }
431
+ }
432
+
433
+ transformedEndpoints = newEndpoints;
434
+ }
435
+
436
+ if (capabilities.toolNameLength) {
437
+ const toolNames = transformedEndpoints.map((endpoint) => endpoint.tool.name);
438
+ const renameMap = truncateToolNames(toolNames, capabilities.toolNameLength);
439
+
440
+ transformedEndpoints = transformedEndpoints.map((endpoint) => ({
441
+ ...endpoint,
442
+ tool: {
443
+ ...endpoint.tool,
444
+ name: renameMap.get(endpoint.tool.name) ?? endpoint.tool.name,
445
+ },
446
+ }));
447
+ }
448
+
449
+ if (!capabilities.refs || !capabilities.unions || !capabilities.formats) {
450
+ transformedEndpoints = transformedEndpoints.map((endpoint) => {
451
+ let schema = endpoint.tool.inputSchema as JSONSchema;
452
+
453
+ if (!capabilities.refs) {
454
+ schema = inlineRefs(schema);
455
+ }
456
+
457
+ if (!capabilities.unions) {
458
+ schema = removeAnyOf(schema);
459
+ }
460
+
461
+ if (!capabilities.formats) {
462
+ schema = removeFormats(schema, capabilities.formats);
463
+ }
464
+
465
+ return {
466
+ ...endpoint,
467
+ tool: {
468
+ ...endpoint.tool,
469
+ inputSchema: schema as typeof endpoint.tool.inputSchema,
470
+ },
471
+ };
472
+ });
473
+ }
474
+
475
+ return transformedEndpoints;
476
+ }
477
+
478
+ function toSnakeCase(str: string): string {
479
+ return str
480
+ .replace(/\s+/g, '_')
481
+ .replace(/([a-z])([A-Z])/g, '$1_$2')
482
+ .toLowerCase();
483
+ }
@@ -0,0 +1,159 @@
1
+ import NirvanaLabs from '@nirvana-labs/nirvana';
2
+ import { Endpoint, asTextContentResult, ToolCallResult } from './tools/types';
3
+ import { zodToJsonSchema } from 'zod-to-json-schema';
4
+ import { z } from 'zod';
5
+ import { Cabidela } from '@cloudflare/cabidela';
6
+
7
+ function zodToInputSchema(schema: z.ZodSchema) {
8
+ return {
9
+ type: 'object' as const,
10
+ ...(zodToJsonSchema(schema) as any),
11
+ };
12
+ }
13
+
14
+ /**
15
+ * A list of tools that expose all the endpoints in the API dynamically.
16
+ *
17
+ * Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
18
+ * we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
19
+ * a generic endpoint that can be used to invoke any endpoint with the provided arguments.
20
+ *
21
+ * @param endpoints - The endpoints to include in the list.
22
+ */
23
+ export function dynamicTools(endpoints: Endpoint[]): Endpoint[] {
24
+ const listEndpointsSchema = z.object({
25
+ search_query: z
26
+ .string()
27
+ .optional()
28
+ .describe(
29
+ 'An optional search query to filter the endpoints by. Provide a partial name, resource, operation, or tag to filter the endpoints returned.',
30
+ ),
31
+ });
32
+
33
+ const listEndpointsTool = {
34
+ metadata: {
35
+ resource: 'dynamic_tools',
36
+ operation: 'read' as const,
37
+ tags: [],
38
+ },
39
+ tool: {
40
+ name: 'list_api_endpoints',
41
+ description: 'List or search for all endpoints in the Nirvana Labs TypeScript API',
42
+ inputSchema: zodToInputSchema(listEndpointsSchema),
43
+ },
44
+ handler: async (
45
+ client: NirvanaLabs,
46
+ args: Record<string, unknown> | undefined,
47
+ ): Promise<ToolCallResult> => {
48
+ const query = args && listEndpointsSchema.parse(args).search_query?.trim();
49
+
50
+ const filteredEndpoints =
51
+ query && query.length > 0 ?
52
+ endpoints.filter((endpoint) => {
53
+ const fieldsToMatch = [
54
+ endpoint.tool.name,
55
+ endpoint.tool.description,
56
+ endpoint.metadata.resource,
57
+ endpoint.metadata.operation,
58
+ ...endpoint.metadata.tags,
59
+ ];
60
+ return fieldsToMatch.some((field) => field && field.toLowerCase().includes(query.toLowerCase()));
61
+ })
62
+ : endpoints;
63
+
64
+ return asTextContentResult({
65
+ tools: filteredEndpoints.map(({ tool, metadata }) => ({
66
+ name: tool.name,
67
+ description: tool.description,
68
+ resource: metadata.resource,
69
+ operation: metadata.operation,
70
+ tags: metadata.tags,
71
+ })),
72
+ });
73
+ },
74
+ };
75
+
76
+ const getEndpointSchema = z.object({
77
+ endpoint: z.string().describe('The name of the endpoint to get the schema for.'),
78
+ });
79
+ const getEndpointTool = {
80
+ metadata: {
81
+ resource: 'dynamic_tools',
82
+ operation: 'read' as const,
83
+ tags: [],
84
+ },
85
+ tool: {
86
+ name: 'get_api_endpoint_schema',
87
+ description:
88
+ 'Get the schema for an endpoint in the Nirvana Labs TypeScript API. You can use the schema returned by this tool to invoke an endpoint with the `invoke_api_endpoint` tool.',
89
+ inputSchema: zodToInputSchema(getEndpointSchema),
90
+ },
91
+ handler: async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
92
+ if (!args) {
93
+ throw new Error('No endpoint provided');
94
+ }
95
+ const endpointName = getEndpointSchema.parse(args).endpoint;
96
+
97
+ const endpoint = endpoints.find((e) => e.tool.name === endpointName);
98
+ if (!endpoint) {
99
+ throw new Error(`Endpoint ${endpointName} not found`);
100
+ }
101
+ return asTextContentResult(endpoint.tool);
102
+ },
103
+ };
104
+
105
+ const invokeEndpointSchema = z.object({
106
+ endpoint_name: z.string().describe('The name of the endpoint to invoke.'),
107
+ args: z
108
+ .record(z.string(), z.any())
109
+ .describe(
110
+ 'The arguments to pass to the endpoint. This must match the schema returned by the `get_api_endpoint_schema` tool.',
111
+ ),
112
+ });
113
+
114
+ const invokeEndpointTool = {
115
+ metadata: {
116
+ resource: 'dynamic_tools',
117
+ operation: 'write' as const,
118
+ tags: [],
119
+ },
120
+ tool: {
121
+ name: 'invoke_api_endpoint',
122
+ description:
123
+ 'Invoke an endpoint in the Nirvana Labs TypeScript API. Note: use the `list_api_endpoints` tool to get the list of endpoints and `get_api_endpoint_schema` tool to get the schema for an endpoint.',
124
+ inputSchema: zodToInputSchema(invokeEndpointSchema),
125
+ },
126
+ handler: async (
127
+ client: NirvanaLabs,
128
+ args: Record<string, unknown> | undefined,
129
+ ): Promise<ToolCallResult> => {
130
+ if (!args) {
131
+ throw new Error('No endpoint provided');
132
+ }
133
+ const { success, data, error } = invokeEndpointSchema.safeParse(args);
134
+ if (!success) {
135
+ throw new Error(`Invalid arguments for endpoint. ${error?.format()}`);
136
+ }
137
+ const { endpoint_name, args: endpointArgs } = data;
138
+
139
+ const endpoint = endpoints.find((e) => e.tool.name === endpoint_name);
140
+ if (!endpoint) {
141
+ throw new Error(
142
+ `Endpoint ${endpoint_name} not found. Use the \`list_api_endpoints\` tool to get the list of available endpoints.`,
143
+ );
144
+ }
145
+
146
+ try {
147
+ // Try to validate the arguments for a better error message
148
+ const cabidela = new Cabidela(endpoint.tool.inputSchema, { fullErrors: true });
149
+ cabidela.validate(endpointArgs);
150
+ } catch (error) {
151
+ throw new Error(`Invalid arguments for endpoint ${endpoint_name}:\n${error}`);
152
+ }
153
+
154
+ return await endpoint.handler(client, endpointArgs);
155
+ },
156
+ };
157
+
158
+ return [getEndpointTool, listEndpointsTool, invokeEndpointTool];
159
+ }
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+ import initJq from 'jq-web';
3
+
4
+ export async function maybeFilter(jqFilter: unknown | undefined, response: any): Promise<any> {
5
+ if (jqFilter && typeof jqFilter === 'string') {
6
+ return await jq(response, jqFilter);
7
+ } else {
8
+ return response;
9
+ }
10
+ }
11
+
12
+ async function jq(json: any, jqFilter: string) {
13
+ return (await initJq).json(json, jqFilter);
14
+ }
package/src/headers.ts ADDED
@@ -0,0 +1,23 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { IncomingMessage } from 'node:http';
4
+ import { ClientOptions } from '@nirvana-labs/nirvana';
5
+
6
+ export const parseAuthHeaders = (req: IncomingMessage): Partial<ClientOptions> => {
7
+ if (req.headers.authorization) {
8
+ const scheme = req.headers.authorization.split(' ')[0]!;
9
+ const value = req.headers.authorization.slice(scheme.length + 1);
10
+ switch (scheme) {
11
+ case 'Bearer':
12
+ return { apiKey: req.headers.authorization.slice('Bearer '.length) };
13
+ default:
14
+ throw new Error(`Unsupported authorization scheme`);
15
+ }
16
+ }
17
+
18
+ const apiKey =
19
+ Array.isArray(req.headers['x-nirvana-labs-api-key']) ?
20
+ req.headers['x-nirvana-labs-api-key'][0]
21
+ : req.headers['x-nirvana-labs-api-key'];
22
+ return { apiKey };
23
+ };