@nirvana-labs/nirvana-mcp 1.22.1 → 1.24.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 (559) hide show
  1. package/README.md +8 -0
  2. package/code-tool-worker.d.mts.map +1 -1
  3. package/code-tool-worker.d.ts.map +1 -1
  4. package/code-tool-worker.js +5 -0
  5. package/code-tool-worker.js.map +1 -1
  6. package/code-tool-worker.mjs +5 -0
  7. package/code-tool-worker.mjs.map +1 -1
  8. package/code-tool.js +1 -1
  9. package/code-tool.mjs +1 -1
  10. package/filtering.d.mts +1 -0
  11. package/filtering.d.mts.map +1 -1
  12. package/filtering.d.ts +1 -0
  13. package/filtering.d.ts.map +1 -1
  14. package/filtering.js +4 -0
  15. package/filtering.js.map +1 -1
  16. package/filtering.mjs +3 -0
  17. package/filtering.mjs.map +1 -1
  18. package/headers.d.mts.map +1 -1
  19. package/headers.d.ts.map +1 -1
  20. package/headers.js +1 -1
  21. package/headers.js.map +1 -1
  22. package/headers.mjs +1 -1
  23. package/headers.mjs.map +1 -1
  24. package/http.js +2 -2
  25. package/http.js.map +1 -1
  26. package/http.mjs +2 -2
  27. package/http.mjs.map +1 -1
  28. package/package.json +3 -3
  29. package/server.js +1 -1
  30. package/server.mjs +1 -1
  31. package/src/code-tool-worker.ts +5 -0
  32. package/src/code-tool.ts +1 -1
  33. package/src/filtering.ts +4 -0
  34. package/src/headers.ts +3 -1
  35. package/src/http.ts +2 -2
  36. package/src/server.ts +1 -1
  37. package/src/tools/api-keys/create-api-keys.ts +10 -3
  38. package/src/tools/api-keys/get-api-keys.ts +10 -3
  39. package/src/tools/api-keys/list-api-keys.ts +10 -3
  40. package/src/tools/api-keys/update-api-keys.ts +10 -3
  41. package/src/tools/compute/vms/availability/create-vms-compute-availability.ts +12 -5
  42. package/src/tools/compute/vms/availability/update-vms-compute-availability.ts +12 -5
  43. package/src/tools/compute/vms/create-compute-vms.ts +10 -3
  44. package/src/tools/compute/vms/delete-compute-vms.ts +10 -3
  45. package/src/tools/compute/vms/get-compute-vms.ts +10 -3
  46. package/src/tools/compute/vms/list-compute-vms.ts +10 -3
  47. package/src/tools/compute/vms/os-images/list-vms-compute-os-images.ts +10 -3
  48. package/src/tools/compute/vms/restart-compute-vms.ts +10 -3
  49. package/src/tools/compute/vms/update-compute-vms.ts +10 -3
  50. package/src/tools/compute/vms/volumes/list-vms-compute-volumes.ts +10 -3
  51. package/src/tools/compute/volumes/availability/create-volumes-compute-availability.ts +12 -5
  52. package/src/tools/compute/volumes/availability/update-volumes-compute-availability.ts +12 -5
  53. package/src/tools/compute/volumes/create-compute-volumes.ts +10 -3
  54. package/src/tools/compute/volumes/delete-compute-volumes.ts +10 -3
  55. package/src/tools/compute/volumes/get-compute-volumes.ts +10 -3
  56. package/src/tools/compute/volumes/list-compute-volumes.ts +10 -3
  57. package/src/tools/compute/volumes/update-compute-volumes.ts +12 -5
  58. package/src/tools/index.ts +10 -0
  59. package/src/tools/networking/connect/connections/create-connect-networking-connections.ts +14 -7
  60. package/src/tools/networking/connect/connections/delete-connect-networking-connections.ts +12 -5
  61. package/src/tools/networking/connect/connections/get-connect-networking-connections.ts +12 -5
  62. package/src/tools/networking/connect/connections/list-connect-networking-connections.ts +10 -3
  63. package/src/tools/networking/connect/connections/update-connect-networking-connections.ts +12 -5
  64. package/src/tools/networking/connect/routes/list-connect-networking-routes.ts +10 -3
  65. package/src/tools/networking/firewall-rules/create-networking-firewall-rules.ts +16 -7
  66. package/src/tools/networking/firewall-rules/delete-networking-firewall-rules.ts +12 -5
  67. package/src/tools/networking/firewall-rules/get-networking-firewall-rules.ts +12 -5
  68. package/src/tools/networking/firewall-rules/list-networking-firewall-rules.ts +10 -3
  69. package/src/tools/networking/firewall-rules/update-networking-firewall-rules.ts +16 -7
  70. package/src/tools/networking/vpcs/availability/create-vpcs-networking-availability.ts +12 -5
  71. package/src/tools/networking/vpcs/availability/update-vpcs-networking-availability.ts +12 -5
  72. package/src/tools/networking/vpcs/create-networking-vpcs.ts +10 -3
  73. package/src/tools/networking/vpcs/delete-networking-vpcs.ts +10 -3
  74. package/src/tools/networking/vpcs/get-networking-vpcs.ts +10 -3
  75. package/src/tools/networking/vpcs/list-networking-vpcs.ts +10 -3
  76. package/src/tools/networking/vpcs/update-networking-vpcs.ts +12 -3
  77. package/src/tools/operations/get-operations.ts +10 -3
  78. package/src/tools/operations/list-operations.ts +10 -3
  79. package/src/tools/projects/create-projects.ts +60 -0
  80. package/src/tools/projects/delete-projects.ts +40 -0
  81. package/src/tools/projects/get-projects.ts +54 -0
  82. package/src/tools/projects/list-projects.ts +60 -0
  83. package/src/tools/projects/update-projects.ts +63 -0
  84. package/src/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.ts +10 -3
  85. package/src/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.ts +11 -4
  86. package/src/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.ts +15 -4
  87. package/src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts +10 -3
  88. package/src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts +16 -5
  89. package/src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts +11 -4
  90. package/src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts +15 -4
  91. package/src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts +13 -4
  92. package/src/tools/types.ts +12 -0
  93. package/src/tools/user/get-user.ts +10 -3
  94. package/src/tools/vektor/balances/list-historical-vektor-balances.ts +12 -3
  95. package/src/tools/vektor/balances/list-vektor-balances.ts +10 -3
  96. package/src/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.ts +10 -3
  97. package/src/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.ts +12 -5
  98. package/src/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.ts +10 -3
  99. package/src/tools/vektor/buy/quotes/list-buy-vektor-quotes.ts +10 -3
  100. package/src/tools/vektor/lock/markets/list-lock-vektor-markets.ts +10 -3
  101. package/src/tools/vektor/prices/list-historical-vektor-prices.ts +10 -3
  102. package/src/tools/vektor/prices/list-vektor-prices.ts +10 -3
  103. package/src/tools/vektor/registry/assets/list-registry-vektor-assets.ts +10 -3
  104. package/src/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.ts +12 -5
  105. package/src/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.ts +12 -5
  106. package/src/tools/vektor/registry/errors/list-registry-vektor-errors.ts +10 -3
  107. package/src/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.ts +12 -5
  108. package/src/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.ts +10 -3
  109. package/src/tools/vektor/registry/venues/list-registry-vektor-venues.ts +10 -3
  110. package/tools/api-keys/create-api-keys.d.mts.map +1 -1
  111. package/tools/api-keys/create-api-keys.d.ts.map +1 -1
  112. package/tools/api-keys/create-api-keys.js +9 -1
  113. package/tools/api-keys/create-api-keys.js.map +1 -1
  114. package/tools/api-keys/create-api-keys.mjs +11 -3
  115. package/tools/api-keys/create-api-keys.mjs.map +1 -1
  116. package/tools/api-keys/get-api-keys.d.mts.map +1 -1
  117. package/tools/api-keys/get-api-keys.d.ts.map +1 -1
  118. package/tools/api-keys/get-api-keys.js +9 -1
  119. package/tools/api-keys/get-api-keys.js.map +1 -1
  120. package/tools/api-keys/get-api-keys.mjs +11 -3
  121. package/tools/api-keys/get-api-keys.mjs.map +1 -1
  122. package/tools/api-keys/list-api-keys.d.mts.map +1 -1
  123. package/tools/api-keys/list-api-keys.d.ts.map +1 -1
  124. package/tools/api-keys/list-api-keys.js +9 -1
  125. package/tools/api-keys/list-api-keys.js.map +1 -1
  126. package/tools/api-keys/list-api-keys.mjs +11 -3
  127. package/tools/api-keys/list-api-keys.mjs.map +1 -1
  128. package/tools/api-keys/update-api-keys.d.mts.map +1 -1
  129. package/tools/api-keys/update-api-keys.d.ts.map +1 -1
  130. package/tools/api-keys/update-api-keys.js +9 -1
  131. package/tools/api-keys/update-api-keys.js.map +1 -1
  132. package/tools/api-keys/update-api-keys.mjs +11 -3
  133. package/tools/api-keys/update-api-keys.mjs.map +1 -1
  134. package/tools/compute/vms/availability/create-vms-compute-availability.d.mts.map +1 -1
  135. package/tools/compute/vms/availability/create-vms-compute-availability.d.ts.map +1 -1
  136. package/tools/compute/vms/availability/create-vms-compute-availability.js +9 -1
  137. package/tools/compute/vms/availability/create-vms-compute-availability.js.map +1 -1
  138. package/tools/compute/vms/availability/create-vms-compute-availability.mjs +11 -3
  139. package/tools/compute/vms/availability/create-vms-compute-availability.mjs.map +1 -1
  140. package/tools/compute/vms/availability/update-vms-compute-availability.d.mts.map +1 -1
  141. package/tools/compute/vms/availability/update-vms-compute-availability.d.ts.map +1 -1
  142. package/tools/compute/vms/availability/update-vms-compute-availability.js +9 -1
  143. package/tools/compute/vms/availability/update-vms-compute-availability.js.map +1 -1
  144. package/tools/compute/vms/availability/update-vms-compute-availability.mjs +11 -3
  145. package/tools/compute/vms/availability/update-vms-compute-availability.mjs.map +1 -1
  146. package/tools/compute/vms/create-compute-vms.d.mts.map +1 -1
  147. package/tools/compute/vms/create-compute-vms.d.ts.map +1 -1
  148. package/tools/compute/vms/create-compute-vms.js +9 -1
  149. package/tools/compute/vms/create-compute-vms.js.map +1 -1
  150. package/tools/compute/vms/create-compute-vms.mjs +11 -3
  151. package/tools/compute/vms/create-compute-vms.mjs.map +1 -1
  152. package/tools/compute/vms/delete-compute-vms.d.mts.map +1 -1
  153. package/tools/compute/vms/delete-compute-vms.d.ts.map +1 -1
  154. package/tools/compute/vms/delete-compute-vms.js +9 -1
  155. package/tools/compute/vms/delete-compute-vms.js.map +1 -1
  156. package/tools/compute/vms/delete-compute-vms.mjs +11 -3
  157. package/tools/compute/vms/delete-compute-vms.mjs.map +1 -1
  158. package/tools/compute/vms/get-compute-vms.d.mts.map +1 -1
  159. package/tools/compute/vms/get-compute-vms.d.ts.map +1 -1
  160. package/tools/compute/vms/get-compute-vms.js +9 -1
  161. package/tools/compute/vms/get-compute-vms.js.map +1 -1
  162. package/tools/compute/vms/get-compute-vms.mjs +11 -3
  163. package/tools/compute/vms/get-compute-vms.mjs.map +1 -1
  164. package/tools/compute/vms/list-compute-vms.d.mts.map +1 -1
  165. package/tools/compute/vms/list-compute-vms.d.ts.map +1 -1
  166. package/tools/compute/vms/list-compute-vms.js +9 -1
  167. package/tools/compute/vms/list-compute-vms.js.map +1 -1
  168. package/tools/compute/vms/list-compute-vms.mjs +11 -3
  169. package/tools/compute/vms/list-compute-vms.mjs.map +1 -1
  170. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.mts.map +1 -1
  171. package/tools/compute/vms/os-images/list-vms-compute-os-images.d.ts.map +1 -1
  172. package/tools/compute/vms/os-images/list-vms-compute-os-images.js +9 -1
  173. package/tools/compute/vms/os-images/list-vms-compute-os-images.js.map +1 -1
  174. package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs +11 -3
  175. package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs.map +1 -1
  176. package/tools/compute/vms/restart-compute-vms.d.mts.map +1 -1
  177. package/tools/compute/vms/restart-compute-vms.d.ts.map +1 -1
  178. package/tools/compute/vms/restart-compute-vms.js +9 -1
  179. package/tools/compute/vms/restart-compute-vms.js.map +1 -1
  180. package/tools/compute/vms/restart-compute-vms.mjs +11 -3
  181. package/tools/compute/vms/restart-compute-vms.mjs.map +1 -1
  182. package/tools/compute/vms/update-compute-vms.d.mts.map +1 -1
  183. package/tools/compute/vms/update-compute-vms.d.ts.map +1 -1
  184. package/tools/compute/vms/update-compute-vms.js +9 -1
  185. package/tools/compute/vms/update-compute-vms.js.map +1 -1
  186. package/tools/compute/vms/update-compute-vms.mjs +11 -3
  187. package/tools/compute/vms/update-compute-vms.mjs.map +1 -1
  188. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.mts.map +1 -1
  189. package/tools/compute/vms/volumes/list-vms-compute-volumes.d.ts.map +1 -1
  190. package/tools/compute/vms/volumes/list-vms-compute-volumes.js +9 -1
  191. package/tools/compute/vms/volumes/list-vms-compute-volumes.js.map +1 -1
  192. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs +11 -3
  193. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs.map +1 -1
  194. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.mts.map +1 -1
  195. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.ts.map +1 -1
  196. package/tools/compute/volumes/availability/create-volumes-compute-availability.js +9 -1
  197. package/tools/compute/volumes/availability/create-volumes-compute-availability.js.map +1 -1
  198. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs +11 -3
  199. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs.map +1 -1
  200. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.mts.map +1 -1
  201. package/tools/compute/volumes/availability/update-volumes-compute-availability.d.ts.map +1 -1
  202. package/tools/compute/volumes/availability/update-volumes-compute-availability.js +9 -1
  203. package/tools/compute/volumes/availability/update-volumes-compute-availability.js.map +1 -1
  204. package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs +11 -3
  205. package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs.map +1 -1
  206. package/tools/compute/volumes/create-compute-volumes.d.mts.map +1 -1
  207. package/tools/compute/volumes/create-compute-volumes.d.ts.map +1 -1
  208. package/tools/compute/volumes/create-compute-volumes.js +9 -1
  209. package/tools/compute/volumes/create-compute-volumes.js.map +1 -1
  210. package/tools/compute/volumes/create-compute-volumes.mjs +11 -3
  211. package/tools/compute/volumes/create-compute-volumes.mjs.map +1 -1
  212. package/tools/compute/volumes/delete-compute-volumes.d.mts.map +1 -1
  213. package/tools/compute/volumes/delete-compute-volumes.d.ts.map +1 -1
  214. package/tools/compute/volumes/delete-compute-volumes.js +9 -1
  215. package/tools/compute/volumes/delete-compute-volumes.js.map +1 -1
  216. package/tools/compute/volumes/delete-compute-volumes.mjs +11 -3
  217. package/tools/compute/volumes/delete-compute-volumes.mjs.map +1 -1
  218. package/tools/compute/volumes/get-compute-volumes.d.mts.map +1 -1
  219. package/tools/compute/volumes/get-compute-volumes.d.ts.map +1 -1
  220. package/tools/compute/volumes/get-compute-volumes.js +9 -1
  221. package/tools/compute/volumes/get-compute-volumes.js.map +1 -1
  222. package/tools/compute/volumes/get-compute-volumes.mjs +11 -3
  223. package/tools/compute/volumes/get-compute-volumes.mjs.map +1 -1
  224. package/tools/compute/volumes/list-compute-volumes.d.mts.map +1 -1
  225. package/tools/compute/volumes/list-compute-volumes.d.ts.map +1 -1
  226. package/tools/compute/volumes/list-compute-volumes.js +9 -1
  227. package/tools/compute/volumes/list-compute-volumes.js.map +1 -1
  228. package/tools/compute/volumes/list-compute-volumes.mjs +11 -3
  229. package/tools/compute/volumes/list-compute-volumes.mjs.map +1 -1
  230. package/tools/compute/volumes/update-compute-volumes.d.mts.map +1 -1
  231. package/tools/compute/volumes/update-compute-volumes.d.ts.map +1 -1
  232. package/tools/compute/volumes/update-compute-volumes.js +9 -1
  233. package/tools/compute/volumes/update-compute-volumes.js.map +1 -1
  234. package/tools/compute/volumes/update-compute-volumes.mjs +11 -3
  235. package/tools/compute/volumes/update-compute-volumes.mjs.map +1 -1
  236. package/tools/index.d.mts.map +1 -1
  237. package/tools/index.d.ts.map +1 -1
  238. package/tools/index.js +10 -0
  239. package/tools/index.js.map +1 -1
  240. package/tools/index.mjs +10 -0
  241. package/tools/index.mjs.map +1 -1
  242. package/tools/networking/connect/connections/create-connect-networking-connections.d.mts.map +1 -1
  243. package/tools/networking/connect/connections/create-connect-networking-connections.d.ts.map +1 -1
  244. package/tools/networking/connect/connections/create-connect-networking-connections.js +11 -3
  245. package/tools/networking/connect/connections/create-connect-networking-connections.js.map +1 -1
  246. package/tools/networking/connect/connections/create-connect-networking-connections.mjs +13 -5
  247. package/tools/networking/connect/connections/create-connect-networking-connections.mjs.map +1 -1
  248. package/tools/networking/connect/connections/delete-connect-networking-connections.d.mts.map +1 -1
  249. package/tools/networking/connect/connections/delete-connect-networking-connections.d.ts.map +1 -1
  250. package/tools/networking/connect/connections/delete-connect-networking-connections.js +9 -1
  251. package/tools/networking/connect/connections/delete-connect-networking-connections.js.map +1 -1
  252. package/tools/networking/connect/connections/delete-connect-networking-connections.mjs +11 -3
  253. package/tools/networking/connect/connections/delete-connect-networking-connections.mjs.map +1 -1
  254. package/tools/networking/connect/connections/get-connect-networking-connections.d.mts.map +1 -1
  255. package/tools/networking/connect/connections/get-connect-networking-connections.d.ts.map +1 -1
  256. package/tools/networking/connect/connections/get-connect-networking-connections.js +9 -1
  257. package/tools/networking/connect/connections/get-connect-networking-connections.js.map +1 -1
  258. package/tools/networking/connect/connections/get-connect-networking-connections.mjs +11 -3
  259. package/tools/networking/connect/connections/get-connect-networking-connections.mjs.map +1 -1
  260. package/tools/networking/connect/connections/list-connect-networking-connections.d.mts.map +1 -1
  261. package/tools/networking/connect/connections/list-connect-networking-connections.d.ts.map +1 -1
  262. package/tools/networking/connect/connections/list-connect-networking-connections.js +9 -1
  263. package/tools/networking/connect/connections/list-connect-networking-connections.js.map +1 -1
  264. package/tools/networking/connect/connections/list-connect-networking-connections.mjs +11 -3
  265. package/tools/networking/connect/connections/list-connect-networking-connections.mjs.map +1 -1
  266. package/tools/networking/connect/connections/update-connect-networking-connections.d.mts.map +1 -1
  267. package/tools/networking/connect/connections/update-connect-networking-connections.d.ts.map +1 -1
  268. package/tools/networking/connect/connections/update-connect-networking-connections.js +9 -1
  269. package/tools/networking/connect/connections/update-connect-networking-connections.js.map +1 -1
  270. package/tools/networking/connect/connections/update-connect-networking-connections.mjs +11 -3
  271. package/tools/networking/connect/connections/update-connect-networking-connections.mjs.map +1 -1
  272. package/tools/networking/connect/routes/list-connect-networking-routes.d.mts.map +1 -1
  273. package/tools/networking/connect/routes/list-connect-networking-routes.d.ts.map +1 -1
  274. package/tools/networking/connect/routes/list-connect-networking-routes.js +9 -1
  275. package/tools/networking/connect/routes/list-connect-networking-routes.js.map +1 -1
  276. package/tools/networking/connect/routes/list-connect-networking-routes.mjs +11 -3
  277. package/tools/networking/connect/routes/list-connect-networking-routes.mjs.map +1 -1
  278. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.mts.map +1 -1
  279. package/tools/networking/firewall-rules/create-networking-firewall-rules.d.ts.map +1 -1
  280. package/tools/networking/firewall-rules/create-networking-firewall-rules.js +11 -3
  281. package/tools/networking/firewall-rules/create-networking-firewall-rules.js.map +1 -1
  282. package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs +13 -5
  283. package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs.map +1 -1
  284. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.mts.map +1 -1
  285. package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.ts.map +1 -1
  286. package/tools/networking/firewall-rules/delete-networking-firewall-rules.js +9 -1
  287. package/tools/networking/firewall-rules/delete-networking-firewall-rules.js.map +1 -1
  288. package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs +11 -3
  289. package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs.map +1 -1
  290. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.mts.map +1 -1
  291. package/tools/networking/firewall-rules/get-networking-firewall-rules.d.ts.map +1 -1
  292. package/tools/networking/firewall-rules/get-networking-firewall-rules.js +9 -1
  293. package/tools/networking/firewall-rules/get-networking-firewall-rules.js.map +1 -1
  294. package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs +11 -3
  295. package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs.map +1 -1
  296. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.mts.map +1 -1
  297. package/tools/networking/firewall-rules/list-networking-firewall-rules.d.ts.map +1 -1
  298. package/tools/networking/firewall-rules/list-networking-firewall-rules.js +9 -1
  299. package/tools/networking/firewall-rules/list-networking-firewall-rules.js.map +1 -1
  300. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs +11 -3
  301. package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs.map +1 -1
  302. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.mts.map +1 -1
  303. package/tools/networking/firewall-rules/update-networking-firewall-rules.d.ts.map +1 -1
  304. package/tools/networking/firewall-rules/update-networking-firewall-rules.js +11 -3
  305. package/tools/networking/firewall-rules/update-networking-firewall-rules.js.map +1 -1
  306. package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs +13 -5
  307. package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs.map +1 -1
  308. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.mts.map +1 -1
  309. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.ts.map +1 -1
  310. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js +9 -1
  311. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js.map +1 -1
  312. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs +11 -3
  313. package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs.map +1 -1
  314. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.mts.map +1 -1
  315. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.ts.map +1 -1
  316. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js +9 -1
  317. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js.map +1 -1
  318. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs +11 -3
  319. package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs.map +1 -1
  320. package/tools/networking/vpcs/create-networking-vpcs.d.mts.map +1 -1
  321. package/tools/networking/vpcs/create-networking-vpcs.d.ts.map +1 -1
  322. package/tools/networking/vpcs/create-networking-vpcs.js +9 -1
  323. package/tools/networking/vpcs/create-networking-vpcs.js.map +1 -1
  324. package/tools/networking/vpcs/create-networking-vpcs.mjs +11 -3
  325. package/tools/networking/vpcs/create-networking-vpcs.mjs.map +1 -1
  326. package/tools/networking/vpcs/delete-networking-vpcs.d.mts.map +1 -1
  327. package/tools/networking/vpcs/delete-networking-vpcs.d.ts.map +1 -1
  328. package/tools/networking/vpcs/delete-networking-vpcs.js +9 -1
  329. package/tools/networking/vpcs/delete-networking-vpcs.js.map +1 -1
  330. package/tools/networking/vpcs/delete-networking-vpcs.mjs +11 -3
  331. package/tools/networking/vpcs/delete-networking-vpcs.mjs.map +1 -1
  332. package/tools/networking/vpcs/get-networking-vpcs.d.mts.map +1 -1
  333. package/tools/networking/vpcs/get-networking-vpcs.d.ts.map +1 -1
  334. package/tools/networking/vpcs/get-networking-vpcs.js +9 -1
  335. package/tools/networking/vpcs/get-networking-vpcs.js.map +1 -1
  336. package/tools/networking/vpcs/get-networking-vpcs.mjs +11 -3
  337. package/tools/networking/vpcs/get-networking-vpcs.mjs.map +1 -1
  338. package/tools/networking/vpcs/list-networking-vpcs.d.mts.map +1 -1
  339. package/tools/networking/vpcs/list-networking-vpcs.d.ts.map +1 -1
  340. package/tools/networking/vpcs/list-networking-vpcs.js +9 -1
  341. package/tools/networking/vpcs/list-networking-vpcs.js.map +1 -1
  342. package/tools/networking/vpcs/list-networking-vpcs.mjs +11 -3
  343. package/tools/networking/vpcs/list-networking-vpcs.mjs.map +1 -1
  344. package/tools/networking/vpcs/update-networking-vpcs.d.mts.map +1 -1
  345. package/tools/networking/vpcs/update-networking-vpcs.d.ts.map +1 -1
  346. package/tools/networking/vpcs/update-networking-vpcs.js +9 -1
  347. package/tools/networking/vpcs/update-networking-vpcs.js.map +1 -1
  348. package/tools/networking/vpcs/update-networking-vpcs.mjs +11 -3
  349. package/tools/networking/vpcs/update-networking-vpcs.mjs.map +1 -1
  350. package/tools/operations/get-operations.d.mts.map +1 -1
  351. package/tools/operations/get-operations.d.ts.map +1 -1
  352. package/tools/operations/get-operations.js +9 -1
  353. package/tools/operations/get-operations.js.map +1 -1
  354. package/tools/operations/get-operations.mjs +11 -3
  355. package/tools/operations/get-operations.mjs.map +1 -1
  356. package/tools/operations/list-operations.d.mts.map +1 -1
  357. package/tools/operations/list-operations.d.ts.map +1 -1
  358. package/tools/operations/list-operations.js +9 -1
  359. package/tools/operations/list-operations.js.map +1 -1
  360. package/tools/operations/list-operations.mjs +11 -3
  361. package/tools/operations/list-operations.mjs.map +1 -1
  362. package/tools/projects/create-projects.d.mts +51 -0
  363. package/tools/projects/create-projects.d.mts.map +1 -0
  364. package/tools/projects/create-projects.d.ts +51 -0
  365. package/tools/projects/create-projects.d.ts.map +1 -0
  366. package/tools/projects/create-projects.js +56 -0
  367. package/tools/projects/create-projects.js.map +1 -0
  368. package/tools/projects/create-projects.mjs +52 -0
  369. package/tools/projects/create-projects.mjs.map +1 -0
  370. package/tools/projects/delete-projects.d.mts +51 -0
  371. package/tools/projects/delete-projects.d.mts.map +1 -0
  372. package/tools/projects/delete-projects.d.ts +51 -0
  373. package/tools/projects/delete-projects.d.ts.map +1 -0
  374. package/tools/projects/delete-projects.js +37 -0
  375. package/tools/projects/delete-projects.js.map +1 -0
  376. package/tools/projects/delete-projects.mjs +33 -0
  377. package/tools/projects/delete-projects.mjs.map +1 -0
  378. package/tools/projects/get-projects.d.mts +51 -0
  379. package/tools/projects/get-projects.d.mts.map +1 -0
  380. package/tools/projects/get-projects.d.ts +51 -0
  381. package/tools/projects/get-projects.d.ts.map +1 -0
  382. package/tools/projects/get-projects.js +50 -0
  383. package/tools/projects/get-projects.js.map +1 -0
  384. package/tools/projects/get-projects.mjs +46 -0
  385. package/tools/projects/get-projects.mjs.map +1 -0
  386. package/tools/projects/list-projects.d.mts +51 -0
  387. package/tools/projects/list-projects.d.mts.map +1 -0
  388. package/tools/projects/list-projects.d.ts +51 -0
  389. package/tools/projects/list-projects.d.ts.map +1 -0
  390. package/tools/projects/list-projects.js +56 -0
  391. package/tools/projects/list-projects.js.map +1 -0
  392. package/tools/projects/list-projects.mjs +52 -0
  393. package/tools/projects/list-projects.mjs.map +1 -0
  394. package/tools/projects/update-projects.d.mts +51 -0
  395. package/tools/projects/update-projects.d.mts.map +1 -0
  396. package/tools/projects/update-projects.d.ts +51 -0
  397. package/tools/projects/update-projects.d.ts.map +1 -0
  398. package/tools/projects/update-projects.js +59 -0
  399. package/tools/projects/update-projects.js.map +1 -0
  400. package/tools/projects/update-projects.mjs +55 -0
  401. package/tools/projects/update-projects.mjs.map +1 -0
  402. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.mts.map +1 -1
  403. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.ts.map +1 -1
  404. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js +9 -1
  405. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js.map +1 -1
  406. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs +11 -3
  407. package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs.map +1 -1
  408. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.mts.map +1 -1
  409. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.ts.map +1 -1
  410. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js +10 -2
  411. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js.map +1 -1
  412. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs +12 -4
  413. package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs.map +1 -1
  414. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.mts.map +1 -1
  415. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.ts.map +1 -1
  416. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js +14 -2
  417. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js.map +1 -1
  418. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs +16 -4
  419. package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs.map +1 -1
  420. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.mts.map +1 -1
  421. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.ts.map +1 -1
  422. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js +9 -1
  423. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js.map +1 -1
  424. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs +11 -3
  425. package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs.map +1 -1
  426. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.mts.map +1 -1
  427. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.ts.map +1 -1
  428. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js +15 -3
  429. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js.map +1 -1
  430. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs +17 -5
  431. package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs.map +1 -1
  432. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.mts.map +1 -1
  433. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.ts.map +1 -1
  434. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js +10 -2
  435. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js.map +1 -1
  436. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs +12 -4
  437. package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs.map +1 -1
  438. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.mts.map +1 -1
  439. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.ts.map +1 -1
  440. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js +14 -2
  441. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js.map +1 -1
  442. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs +16 -4
  443. package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs.map +1 -1
  444. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.mts.map +1 -1
  445. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.ts.map +1 -1
  446. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js +10 -2
  447. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js.map +1 -1
  448. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs +12 -4
  449. package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs.map +1 -1
  450. package/tools/types.d.mts +1 -0
  451. package/tools/types.d.mts.map +1 -1
  452. package/tools/types.d.ts +1 -0
  453. package/tools/types.d.ts.map +1 -1
  454. package/tools/types.js +12 -0
  455. package/tools/types.js.map +1 -1
  456. package/tools/types.mjs +11 -0
  457. package/tools/types.mjs.map +1 -1
  458. package/tools/user/get-user.d.mts.map +1 -1
  459. package/tools/user/get-user.d.ts.map +1 -1
  460. package/tools/user/get-user.js +9 -1
  461. package/tools/user/get-user.js.map +1 -1
  462. package/tools/user/get-user.mjs +11 -3
  463. package/tools/user/get-user.mjs.map +1 -1
  464. package/tools/vektor/balances/list-historical-vektor-balances.d.mts.map +1 -1
  465. package/tools/vektor/balances/list-historical-vektor-balances.d.ts.map +1 -1
  466. package/tools/vektor/balances/list-historical-vektor-balances.js +9 -1
  467. package/tools/vektor/balances/list-historical-vektor-balances.js.map +1 -1
  468. package/tools/vektor/balances/list-historical-vektor-balances.mjs +11 -3
  469. package/tools/vektor/balances/list-historical-vektor-balances.mjs.map +1 -1
  470. package/tools/vektor/balances/list-vektor-balances.d.mts.map +1 -1
  471. package/tools/vektor/balances/list-vektor-balances.d.ts.map +1 -1
  472. package/tools/vektor/balances/list-vektor-balances.js +9 -1
  473. package/tools/vektor/balances/list-vektor-balances.js.map +1 -1
  474. package/tools/vektor/balances/list-vektor-balances.mjs +11 -3
  475. package/tools/vektor/balances/list-vektor-balances.mjs.map +1 -1
  476. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.mts.map +1 -1
  477. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.ts.map +1 -1
  478. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js +9 -1
  479. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js.map +1 -1
  480. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs +11 -3
  481. package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs.map +1 -1
  482. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.mts.map +1 -1
  483. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.ts.map +1 -1
  484. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js +9 -1
  485. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js.map +1 -1
  486. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs +11 -3
  487. package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs.map +1 -1
  488. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.mts.map +1 -1
  489. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.ts.map +1 -1
  490. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js +9 -1
  491. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js.map +1 -1
  492. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs +11 -3
  493. package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs.map +1 -1
  494. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.mts.map +1 -1
  495. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.ts.map +1 -1
  496. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js +9 -1
  497. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js.map +1 -1
  498. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs +11 -3
  499. package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs.map +1 -1
  500. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.mts.map +1 -1
  501. package/tools/vektor/lock/markets/list-lock-vektor-markets.d.ts.map +1 -1
  502. package/tools/vektor/lock/markets/list-lock-vektor-markets.js +9 -1
  503. package/tools/vektor/lock/markets/list-lock-vektor-markets.js.map +1 -1
  504. package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs +11 -3
  505. package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs.map +1 -1
  506. package/tools/vektor/prices/list-historical-vektor-prices.d.mts.map +1 -1
  507. package/tools/vektor/prices/list-historical-vektor-prices.d.ts.map +1 -1
  508. package/tools/vektor/prices/list-historical-vektor-prices.js +9 -1
  509. package/tools/vektor/prices/list-historical-vektor-prices.js.map +1 -1
  510. package/tools/vektor/prices/list-historical-vektor-prices.mjs +11 -3
  511. package/tools/vektor/prices/list-historical-vektor-prices.mjs.map +1 -1
  512. package/tools/vektor/prices/list-vektor-prices.d.mts.map +1 -1
  513. package/tools/vektor/prices/list-vektor-prices.d.ts.map +1 -1
  514. package/tools/vektor/prices/list-vektor-prices.js +9 -1
  515. package/tools/vektor/prices/list-vektor-prices.js.map +1 -1
  516. package/tools/vektor/prices/list-vektor-prices.mjs +11 -3
  517. package/tools/vektor/prices/list-vektor-prices.mjs.map +1 -1
  518. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.mts.map +1 -1
  519. package/tools/vektor/registry/assets/list-registry-vektor-assets.d.ts.map +1 -1
  520. package/tools/vektor/registry/assets/list-registry-vektor-assets.js +9 -1
  521. package/tools/vektor/registry/assets/list-registry-vektor-assets.js.map +1 -1
  522. package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs +11 -3
  523. package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs.map +1 -1
  524. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.mts.map +1 -1
  525. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.ts.map +1 -1
  526. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js +9 -1
  527. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js.map +1 -1
  528. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs +11 -3
  529. package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs.map +1 -1
  530. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.mts.map +1 -1
  531. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.ts.map +1 -1
  532. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js +9 -1
  533. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js.map +1 -1
  534. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs +11 -3
  535. package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs.map +1 -1
  536. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.mts.map +1 -1
  537. package/tools/vektor/registry/errors/list-registry-vektor-errors.d.ts.map +1 -1
  538. package/tools/vektor/registry/errors/list-registry-vektor-errors.js +9 -1
  539. package/tools/vektor/registry/errors/list-registry-vektor-errors.js.map +1 -1
  540. package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs +11 -3
  541. package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs.map +1 -1
  542. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.mts.map +1 -1
  543. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.ts.map +1 -1
  544. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js +9 -1
  545. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js.map +1 -1
  546. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs +11 -3
  547. package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs.map +1 -1
  548. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.mts.map +1 -1
  549. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.ts.map +1 -1
  550. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js +9 -1
  551. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js.map +1 -1
  552. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs +11 -3
  553. package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs.map +1 -1
  554. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.mts.map +1 -1
  555. package/tools/vektor/registry/venues/list-registry-vektor-venues.d.ts.map +1 -1
  556. package/tools/vektor/registry/venues/list-registry-vektor-venues.js +9 -1
  557. package/tools/vektor/registry/venues/list-registry-vektor-venues.js.map +1 -1
  558. package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs +11 -3
  559. package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs.map +1 -1
package/README.md CHANGED
@@ -255,6 +255,14 @@ The following tools are available in this MCP server.
255
255
  - `list_operations` (`read`): List all operations
256
256
  - `get_operations` (`read`): Get details about a specific operation
257
257
 
258
+ ### Resource `projects`:
259
+
260
+ - `create_projects` (`write`): Create a new project
261
+ - `update_projects` (`write`): Update an existing project
262
+ - `list_projects` (`read`): List all projects for the authenticated user
263
+ - `delete_projects` (`write`): Delete a project
264
+ - `get_projects` (`read`): Get details about a project
265
+
258
266
  ### Resource `compute.vms`:
259
267
 
260
268
  - `create_compute_vms` (`write`): Create a VM
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool-worker.d.mts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBA8O0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAwDrD,wBAAyB"}
1
+ {"version":3,"file":"code-tool-worker.d.mts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBAmP0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAwDrD,wBAAyB"}
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool-worker.d.ts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBA8O0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAwDrD,wBAAyB"}
1
+ {"version":3,"file":"code-tool-worker.d.ts","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";iBAmP0B,OAAO,KAAG,OAAO,CAAC,QAAQ,CAAC;;AAwDrD,wBAAyB"}
@@ -41,6 +41,11 @@ const fuse = new fuse_js_1.default([
41
41
  'client.apiKeys.update',
42
42
  'client.operations.get',
43
43
  'client.operations.list',
44
+ 'client.projects.create',
45
+ 'client.projects.delete',
46
+ 'client.projects.get',
47
+ 'client.projects.list',
48
+ 'client.projects.update',
44
49
  'client.compute.vms.create',
45
50
  'client.compute.vms.delete',
46
51
  'client.compute.vms.get',
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool-worker.js","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAEtF,0DAA6B;AAE7B,sDAA2B;AAC3B,4DAA4B;AAG5B,mDAAoD;AAEpD,SAAS,kBAAkB,CACzB,IAAY;IAEZ,MAAM,UAAU,GAAG,oBAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAE,oBAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEtF,KAAK,MAAM,SAAS,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QAC9C,4CAA4C;QAC5C,IAAI,oBAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK,EAAE,CAAC;gBACnC,OAAO,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;QAED,qFAAqF;QACrF,IAAI,oBAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC,EAAE,CAAC;YACtC,KAAK,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AC,CAAC;AAEF,kBAAe,EAAE,KAAK,EAAE,CAAC"}
@@ -36,6 +36,11 @@ const fuse = new Fuse([
36
36
  'client.apiKeys.update',
37
37
  'client.operations.get',
38
38
  'client.operations.list',
39
+ 'client.projects.create',
40
+ 'client.projects.delete',
41
+ 'client.projects.get',
42
+ 'client.projects.list',
43
+ 'client.projects.update',
39
44
  'client.compute.vms.create',
40
45
  'client.compute.vms.delete',
41
46
  'client.compute.vms.get',
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool-worker.mjs","sourceRoot":"","sources":["src/code-tool-worker.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,IAAI,MAAM,WAAW;OAErB,IAAI,MAAM,SAAS;OACnB,EAAE,MAAM,YAAY;OAGpB,EAAE,WAAW,EAAE,MAAM,uBAAuB;AAEnD,SAAS,kBAAkB,CACzB,IAAY;IAEZ,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEtF,KAAK,MAAM,SAAS,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QAC9C,4CAA4C;QAC5C,IAAI,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK,EAAE,CAAC;gBACnC,OAAO,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;QAED,qFAAqF;QACrF,IAAI,EAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC,EAAE,CAAC;YACtC,KAAK,MAAM,WAAW,IAAI,SAAS,CAAC,eAAe,CAAC,YAAY,EAAE,CAAC;gBACjE,IAAI,EAAE,CAAC,YAAY,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;oBACzE,4CAA4C;oBAC5C,IACE,WAAW,CAAC,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AW,CAAC;QAC7B,GAAG,IAAI;KACR,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,OAAO,GAAG;QACd,GAAG,EAAE,CAAC,GAAG,IAAe,EAAE,EAAE;YAC1B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,EAAE,CAAC,GAAG,IAAe,EAAE,EAAE;YAC5B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACtC,CAAC;KACF,CAAC;IACF,IAAI,CAAC;QACH,IAAI,IAAI,GAAG,KAAK,EAAE,MAAW,EAAE,EAAE,GAAE,CAAC,CAAC;QACrC,IAAI,CAAC,GAAG,IAAI,eAAe,CAAC,CAAC;QAC7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;QACtE,OAAO,QAAQ,CAAC,IAAI,CAAC;YACnB,MAAM;YACN,QAAQ;YACR,QAAQ;SACe,CAAC,CAAC;IAC7B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,QAAQ,CAAC,IAAI,CAClB;YACE,OAAO,EAAE,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC;SACP,EACvB,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,sBAAsB,EAAE,CACpD,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,KAAK,EAAE,CAAC"}
package/code-tool.js CHANGED
@@ -50,7 +50,7 @@ async function codeTool() {
50
50
  const metadata = { resource: 'all', operation: 'write', tags: [] };
51
51
  const tool = {
52
52
  name: 'execute',
53
- description: 'Runs TypeScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
53
+ description: 'Runs JavaScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
54
54
  inputSchema: { type: 'object', properties: { code: { type: 'string' } } },
55
55
  };
56
56
  // Import dynamically to avoid failing at import time in cases where the environment is not well-supported.
package/code-tool.mjs CHANGED
@@ -14,7 +14,7 @@ export async function codeTool() {
14
14
  const metadata = { resource: 'all', operation: 'write', tags: [] };
15
15
  const tool = {
16
16
  name: 'execute',
17
- description: 'Runs TypeScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
17
+ description: 'Runs JavaScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
18
18
  inputSchema: { type: 'object', properties: { code: { type: 'string' } } },
19
19
  };
20
20
  // Import dynamically to avoid failing at import time in cases where the environment is not well-supported.
package/filtering.d.mts CHANGED
@@ -1,2 +1,3 @@
1
1
  export declare function maybeFilter(jqFilter: unknown | undefined, response: any): Promise<any>;
2
+ export declare function isJqError(error: any): error is Error;
2
3
  //# sourceMappingURL=filtering.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filtering.d.mts","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"AAGA,wBAAsB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAM5F"}
1
+ {"version":3,"file":"filtering.d.mts","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"AAGA,wBAAsB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAM5F;AAMD,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,KAAK,CAEpD"}
package/filtering.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export declare function maybeFilter(jqFilter: unknown | undefined, response: any): Promise<any>;
2
+ export declare function isJqError(error: any): error is Error;
2
3
  //# sourceMappingURL=filtering.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"AAGA,wBAAsB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAM5F"}
1
+ {"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"AAGA,wBAAsB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAM5F;AAMD,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,KAAK,CAEpD"}
package/filtering.js CHANGED
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.maybeFilter = maybeFilter;
7
+ exports.isJqError = isJqError;
7
8
  // @ts-nocheck
8
9
  const jq_web_1 = __importDefault(require("jq-web"));
9
10
  async function maybeFilter(jqFilter, response) {
@@ -17,4 +18,7 @@ async function maybeFilter(jqFilter, response) {
17
18
  async function jq(json, jqFilter) {
18
19
  return (await jq_web_1.default).json(json, jqFilter);
19
20
  }
21
+ function isJqError(error) {
22
+ return error instanceof Error && 'stderr' in error;
23
+ }
20
24
  //# sourceMappingURL=filtering.js.map
package/filtering.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"filtering.js","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":";;;;;AAGA,kCAMC;AATD,cAAc;AACd,oDAA4B;AAErB,KAAK,UAAU,WAAW,CAAC,QAA6B,EAAE,QAAa;IAC5E,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,OAAO,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC,IAAS,EAAE,QAAgB;IAC3C,OAAO,CAAC,MAAM,gBAAM,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"filtering.js","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":";;;;;AAGA,kCAMC;AAMD,8BAEC;AAjBD,cAAc;AACd,oDAA4B;AAErB,KAAK,UAAU,WAAW,CAAC,QAA6B,EAAE,QAAa;IAC5E,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,OAAO,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC,IAAS,EAAE,QAAgB;IAC3C,OAAO,CAAC,MAAM,gBAAM,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC;AAED,SAAgB,SAAS,CAAC,KAAU;IAClC,OAAO,KAAK,YAAY,KAAK,IAAI,QAAQ,IAAI,KAAK,CAAC;AACrD,CAAC"}
package/filtering.mjs CHANGED
@@ -10,4 +10,7 @@ export async function maybeFilter(jqFilter, response) {
10
10
  async function jq(json, jqFilter) {
11
11
  return (await initJq).json(json, jqFilter);
12
12
  }
13
+ export function isJqError(error) {
14
+ return error instanceof Error && 'stderr' in error;
15
+ }
13
16
  //# sourceMappingURL=filtering.mjs.map
package/filtering.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"filtering.mjs","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"OACO,MAAM,MAAM,QAAQ;AAE3B,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,QAA6B,EAAE,QAAa;IAC5E,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,OAAO,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC,IAAS,EAAE,QAAgB;IAC3C,OAAO,CAAC,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"filtering.mjs","sourceRoot":"","sources":["src/filtering.ts"],"names":[],"mappings":"OACO,MAAM,MAAM,QAAQ;AAE3B,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,QAA6B,EAAE,QAAa;IAC5E,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,OAAO,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC,IAAS,EAAE,QAAgB;IAC3C,OAAO,CAAC,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAU;IAClC,OAAO,KAAK,YAAY,KAAK,IAAI,QAAQ,IAAI,KAAK,CAAC;AACrD,CAAC"}
package/headers.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"headers.d.mts","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,WAAW;OACpC,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,eAAO,MAAM,gBAAgB,GAAI,KAAK,eAAe,KAAG,OAAO,CAAC,aAAa,CAiB5E,CAAC"}
1
+ {"version":3,"file":"headers.d.mts","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,WAAW;OACpC,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,eAAO,MAAM,gBAAgB,GAAI,KAAK,eAAe,KAAG,OAAO,CAAC,aAAa,CAmB5E,CAAC"}
package/headers.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,WAAW;OACpC,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,eAAO,MAAM,gBAAgB,GAAI,KAAK,eAAe,KAAG,OAAO,CAAC,aAAa,CAiB5E,CAAC"}
1
+ {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,WAAW;OACpC,EAAE,aAAa,EAAE,MAAM,uBAAuB;AAErD,eAAO,MAAM,gBAAgB,GAAI,KAAK,eAAe,KAAG,OAAO,CAAC,aAAa,CAmB5E,CAAC"}
package/headers.js CHANGED
@@ -10,7 +10,7 @@ const parseAuthHeaders = (req) => {
10
10
  case 'Bearer':
11
11
  return { apiKey: req.headers.authorization.slice('Bearer '.length) };
12
12
  default:
13
- throw new Error(`Unsupported authorization scheme`);
13
+ throw new Error('Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).');
14
14
  }
15
15
  }
16
16
  const apiKey = Array.isArray(req.headers['x-nirvana-labs-api-key']) ?
package/headers.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"headers.js","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAK/E,MAAM,gBAAgB,GAAG,CAAC,GAAoB,EA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,MAAM,GAAG,CAAC,CAAC,CAAC;QACjE,QAAQ,MAAM,EAAE,CAAC;YACf,KAAK,QAAQ;gBACX,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;YACvE;gBACE,MAAM,IAAI,KAAK,CACb,0GAA0G,CAC3G,CAAC;QACN,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GACV,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;QACpD,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;QAC1C,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC1C,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC;AAnBW,QAAA,gBAAgB,oBAmB3B"}
package/headers.mjs CHANGED
@@ -7,7 +7,7 @@ export const parseAuthHeaders = (req) => {
7
7
  case 'Bearer':
8
8
  return { apiKey: req.headers.authorization.slice('Bearer '.length) };
9
9
  default:
10
- throw new Error(`Unsupported authorization scheme`);
10
+ throw new Error('Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).');
11
11
  }
12
12
  }
13
13
  const apiKey = Array.isArray(req.headers['x-nirvana-labs-api-key']) ?
package/headers.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"headers.mjs","sourceRoot":"","sources":["src/headers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAKtF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAoB,EAA0B,EAAE;IAC/E,IAAI,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,CAAC;QACxD,MAAM,KAAK,G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AAI,KAAK,CACb,0GAA0G,CAC3G,CAAC;QACN,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GACV,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;QACpD,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;QAC1C,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC1C,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC"}
package/http.js CHANGED
@@ -38,12 +38,12 @@ const newServer = ({ clientOptions, mcpOptions: defaultMcpOptions, req, res, })
38
38
  mcpOptions,
39
39
  });
40
40
  }
41
- catch {
41
+ catch (error) {
42
42
  res.status(401).json({
43
43
  jsonrpc: '2.0',
44
44
  error: {
45
45
  code: -32000,
46
- message: 'Unauthorized',
46
+ message: `Unauthorized: ${error instanceof Error ? error.message : error}`,
47
47
  },
48
48
  });
49
49
  return null;
package/http.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"http.js","sourceRoot":"","sources":["src/http.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;AAGtF,0FAAmG;AAEnG,sDAA8B;AAC9B,gDAAoD;AACpD,0CAA0D;AAC1D,wCAAsE;AACtE,0CAA6C;AAE7C,MAAM,SAAS,GAAG,CAAC,EACjB,aAAa,EACb,UAAU,EAAE,iBAAiB,EAC7B,GAAG,EACH,GAAG,GAMJ,EAAoB,EAAE;IACrB,MAAM,MAAM,GAAG,IAAA,qBAAY,GAAE,CAAC;IAE9B,IAAI,UAAsB,CAAC;IAC3B,IAAI,CAAC;QACH,UAAU,GAAG,IAAA,2BAAiB,EAAC,iBAAiB,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACnB,OAAO,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AAC;IAChC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC;IAEjC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,4CAA4C,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;SAAM,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC5B,OAAO,CAAC,KAAK,CAAC,iDAAiD,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;IACjF,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,KAAK,CAAC,iDAAiD,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,0BAA0B,8BAYrC"}
package/http.mjs CHANGED
@@ -32,12 +32,12 @@ const newServer = ({ clientOptions, mcpOptions: defaultMcpOptions, req, res, })
32
32
  mcpOptions,
33
33
  });
34
34
  }
35
- catch {
35
+ catch (error) {
36
36
  res.status(401).json({
37
37
  jsonrpc: '2.0',
38
38
  error: {
39
39
  code: -32000,
40
- message: 'Unauthorized',
40
+ message: `Unauthorized: ${error instanceof Error ? error.message : error}`,
41
41
  },
42
42
  });
43
43
  return null;
package/http.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"http.mjs","sourceRoot":"","sources":["src/http.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,6BAA6B,EAAE,MAAM,oDAAoD;OAE3F,OAAO,MAAM,SAAS;OACtB,EAAE,SAAS,EAAE,MAAM,yBAAyB;OAC5C,EAAc,iBAAiB,EAAE;OACjC,EAAiB,aAAa,EAAE,YAAY,EAAE;OAC9C,EAAE,gBAAgB,EAAE;AAE3B,MAAM,SAAS,GAAG,CAAC,EACjB,aAAa,EACb,UAAU,EAAE,iBAAiB,EAC7B,GAAG,EACH,GAAG,GAMJ,EAAoB,EAAE;IACrB,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,IAAI,UAAsB,CAAC;IAC3B,IAAI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E,OAAmB,EAAE,IAAiC,EAAE,EAAE;IACzG,MAAM,GAAG,GAAG,iBAAiB,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC;IAEjC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,4CAA4C,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;SAAM,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QAC5B,OAAO,CAAC,KAAK,CAAC,iDAAiD,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;IACjF,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,KAAK,CAAC,iDAAiD,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;AACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nirvana-labs/nirvana-mcp",
3
- "version": "1.22.1",
3
+ "version": "1.24.0",
4
4
  "description": "The official MCP Server for the Nirvana Labs API",
5
5
  "author": "Nirvana Labs <engineering@nirvanalabs.io>",
6
6
  "types": "./index.d.ts",
@@ -18,14 +18,14 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@nirvana-labs/nirvana": "^1.22.1",
21
+ "@nirvana-labs/nirvana": "^1.24.0",
22
22
  "@cloudflare/cabidela": "^0.2.4",
23
23
  "@modelcontextprotocol/sdk": "^1.11.5",
24
24
  "@valtown/deno-http-worker": "^0.0.21",
25
25
  "cors": "^2.8.5",
26
26
  "express": "^5.1.0",
27
27
  "fuse.js": "^7.1.0",
28
- "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.6/jq-web.tar.gz",
28
+ "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz",
29
29
  "qs": "^6.14.0",
30
30
  "typescript": "5.8.3",
31
31
  "yargs": "^17.7.2",
package/server.js CHANGED
@@ -22,7 +22,7 @@ var tools_2 = require("./tools.js");
22
22
  Object.defineProperty(exports, "endpoints", { enumerable: true, get: function () { return tools_2.endpoints; } });
23
23
  const newMcpServer = () => new mcp_js_1.McpServer({
24
24
  name: 'nirvana_labs_nirvana_api',
25
- version: '1.22.1',
25
+ version: '1.24.0',
26
26
  }, { capabilities: { tools: {}, logging: {} } });
27
27
  exports.newMcpServer = newMcpServer;
28
28
  // Create server instance
package/server.mjs CHANGED
@@ -11,7 +11,7 @@ export { ClientType } from "./compat.mjs";
11
11
  export { endpoints } from "./tools.mjs";
12
12
  export const newMcpServer = () => new McpServer({
13
13
  name: 'nirvana_labs_nirvana_api',
14
- version: '1.22.1',
14
+ version: '1.24.0',
15
15
  }, { capabilities: { tools: {}, logging: {} } });
16
16
  // Create server instance
17
17
  export const server = newMcpServer();
@@ -50,6 +50,11 @@ const fuse = new Fuse(
50
50
  'client.apiKeys.update',
51
51
  'client.operations.get',
52
52
  'client.operations.list',
53
+ 'client.projects.create',
54
+ 'client.projects.delete',
55
+ 'client.projects.get',
56
+ 'client.projects.list',
57
+ 'client.projects.update',
53
58
  'client.compute.vms.create',
54
59
  'client.compute.vms.delete',
55
60
  'client.compute.vms.get',
package/src/code-tool.ts CHANGED
@@ -23,7 +23,7 @@ export async function codeTool(): Promise<Endpoint> {
23
23
  const tool: Tool = {
24
24
  name: 'execute',
25
25
  description:
26
- 'Runs TypeScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
26
+ 'Runs JavaScript code to interact with the API.\n\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client named "client", and it will be run.\nWrite code within this template:\n\n```\nasync function run(client) {\n // Fill this out\n}\n```\n\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
27
27
  inputSchema: { type: 'object', properties: { code: { type: 'string' } } },
28
28
  };
29
29
 
package/src/filtering.ts CHANGED
@@ -12,3 +12,7 @@ export async function maybeFilter(jqFilter: unknown | undefined, response: any):
12
12
  async function jq(json: any, jqFilter: string) {
13
13
  return (await initJq).json(json, jqFilter);
14
14
  }
15
+
16
+ export function isJqError(error: any): error is Error {
17
+ return error instanceof Error && 'stderr' in error;
18
+ }
package/src/headers.ts CHANGED
@@ -11,7 +11,9 @@ export const parseAuthHeaders = (req: IncomingMessage): Partial<ClientOptions> =
11
11
  case 'Bearer':
12
12
  return { apiKey: req.headers.authorization.slice('Bearer '.length) };
13
13
  default:
14
- throw new Error(`Unsupported authorization scheme`);
14
+ throw new Error(
15
+ 'Unsupported authorization scheme. Expected the "Authorization" header to be a supported scheme (Bearer).',
16
+ );
15
17
  }
16
18
  }
17
19
 
package/src/http.ts CHANGED
@@ -46,12 +46,12 @@ const newServer = ({
46
46
  },
47
47
  mcpOptions,
48
48
  });
49
- } catch {
49
+ } catch (error) {
50
50
  res.status(401).json({
51
51
  jsonrpc: '2.0',
52
52
  error: {
53
53
  code: -32000,
54
- message: 'Unauthorized',
54
+ message: `Unauthorized: ${error instanceof Error ? error.message : error}`,
55
55
  },
56
56
  });
57
57
  return null;
package/src/server.ts CHANGED
@@ -34,7 +34,7 @@ export const newMcpServer = () =>
34
34
  new McpServer(
35
35
  {
36
36
  name: 'nirvana_labs_nirvana_api',
37
- version: '1.22.1',
37
+ version: '1.24.0',
38
38
  },
39
39
  { capabilities: { tools: {}, logging: {} } },
40
40
  );
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -57,7 +57,14 @@ export const tool: Tool = {
57
57
 
58
58
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
59
59
  const { jq_filter, ...body } = args as any;
60
- return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.create(body)));
60
+ try {
61
+ return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.create(body)));
62
+ } catch (error) {
63
+ if (isJqError(error)) {
64
+ return asErrorResult(error.message);
65
+ }
66
+ throw error;
67
+ }
61
68
  };
62
69
 
63
70
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -41,7 +41,14 @@ export const tool: Tool = {
41
41
 
42
42
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
43
43
  const { api_key_id, jq_filter, ...body } = args as any;
44
- return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.get(api_key_id)));
44
+ try {
45
+ return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.get(api_key_id)));
46
+ } catch (error) {
47
+ if (isJqError(error)) {
48
+ return asErrorResult(error.message);
49
+ }
50
+ throw error;
51
+ }
45
52
  };
46
53
 
47
54
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -47,7 +47,14 @@ export const tool: Tool = {
47
47
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
48
48
  const { jq_filter, ...body } = args as any;
49
49
  const response = await client.apiKeys.list(body).asResponse();
50
- return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
50
+ try {
51
+ return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
52
+ } catch (error) {
53
+ if (isJqError(error)) {
54
+ return asErrorResult(error.message);
55
+ }
56
+ throw error;
57
+ }
51
58
  };
52
59
 
53
60
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -50,7 +50,14 @@ export const tool: Tool = {
50
50
 
51
51
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
52
52
  const { api_key_id, jq_filter, ...body } = args as any;
53
- return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.update(api_key_id, body)));
53
+ try {
54
+ return asTextContentResult(await maybeFilter(jq_filter, await client.apiKeys.update(api_key_id, body)));
55
+ } catch (error) {
56
+ if (isJqError(error)) {
57
+ return asErrorResult(error.message);
58
+ }
59
+ throw error;
60
+ }
54
61
  };
55
62
 
56
63
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -174,9 +174,16 @@ export const tool: Tool = {
174
174
 
175
175
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
176
176
  const { jq_filter, ...body } = args as any;
177
- return asTextContentResult(
178
- await maybeFilter(jq_filter, await client.compute.vms.availability.create(body)),
179
- );
177
+ try {
178
+ return asTextContentResult(
179
+ await maybeFilter(jq_filter, await client.compute.vms.availability.create(body)),
180
+ );
181
+ } catch (error) {
182
+ if (isJqError(error)) {
183
+ return asErrorResult(error.message);
184
+ }
185
+ throw error;
186
+ }
180
187
  };
181
188
 
182
189
  export default { metadata, tool, handler };
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
- import { Metadata, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
5
5
 
6
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
7
7
  import NirvanaLabs from '@nirvana-labs/nirvana';
@@ -84,9 +84,16 @@ export const tool: Tool = {
84
84
 
85
85
  export const handler = async (client: NirvanaLabs, args: Record<string, unknown> | undefined) => {
86
86
  const { vm_id, jq_filter, ...body } = args as any;
87
- return asTextContentResult(
88
- await maybeFilter(jq_filter, await client.compute.vms.availability.update(vm_id, body)),
89
- );
87
+ try {
88
+ return asTextContentResult(
89
+ await maybeFilter(jq_filter, await client.compute.vms.availability.update(vm_id, body)),
90
+ );
91
+ } catch (error) {
92
+ if (isJqError(error)) {
93
+ return asErrorResult(error.message);
94
+ }
95
+ throw error;
96
+ }
90
97
  };
91
98
 
92
99
  export default { metadata, tool, handler };