@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.
- package/README.md +8 -0
- package/code-tool-worker.d.mts.map +1 -1
- package/code-tool-worker.d.ts.map +1 -1
- package/code-tool-worker.js +5 -0
- package/code-tool-worker.js.map +1 -1
- package/code-tool-worker.mjs +5 -0
- package/code-tool-worker.mjs.map +1 -1
- package/code-tool.js +1 -1
- package/code-tool.mjs +1 -1
- package/filtering.d.mts +1 -0
- package/filtering.d.mts.map +1 -1
- package/filtering.d.ts +1 -0
- package/filtering.d.ts.map +1 -1
- package/filtering.js +4 -0
- package/filtering.js.map +1 -1
- package/filtering.mjs +3 -0
- package/filtering.mjs.map +1 -1
- package/headers.d.mts.map +1 -1
- package/headers.d.ts.map +1 -1
- package/headers.js +1 -1
- package/headers.js.map +1 -1
- package/headers.mjs +1 -1
- package/headers.mjs.map +1 -1
- package/http.js +2 -2
- package/http.js.map +1 -1
- package/http.mjs +2 -2
- package/http.mjs.map +1 -1
- package/package.json +3 -3
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/code-tool-worker.ts +5 -0
- package/src/code-tool.ts +1 -1
- package/src/filtering.ts +4 -0
- package/src/headers.ts +3 -1
- package/src/http.ts +2 -2
- package/src/server.ts +1 -1
- package/src/tools/api-keys/create-api-keys.ts +10 -3
- package/src/tools/api-keys/get-api-keys.ts +10 -3
- package/src/tools/api-keys/list-api-keys.ts +10 -3
- package/src/tools/api-keys/update-api-keys.ts +10 -3
- package/src/tools/compute/vms/availability/create-vms-compute-availability.ts +12 -5
- package/src/tools/compute/vms/availability/update-vms-compute-availability.ts +12 -5
- package/src/tools/compute/vms/create-compute-vms.ts +10 -3
- package/src/tools/compute/vms/delete-compute-vms.ts +10 -3
- package/src/tools/compute/vms/get-compute-vms.ts +10 -3
- package/src/tools/compute/vms/list-compute-vms.ts +10 -3
- package/src/tools/compute/vms/os-images/list-vms-compute-os-images.ts +10 -3
- package/src/tools/compute/vms/restart-compute-vms.ts +10 -3
- package/src/tools/compute/vms/update-compute-vms.ts +10 -3
- package/src/tools/compute/vms/volumes/list-vms-compute-volumes.ts +10 -3
- package/src/tools/compute/volumes/availability/create-volumes-compute-availability.ts +12 -5
- package/src/tools/compute/volumes/availability/update-volumes-compute-availability.ts +12 -5
- package/src/tools/compute/volumes/create-compute-volumes.ts +10 -3
- package/src/tools/compute/volumes/delete-compute-volumes.ts +10 -3
- package/src/tools/compute/volumes/get-compute-volumes.ts +10 -3
- package/src/tools/compute/volumes/list-compute-volumes.ts +10 -3
- package/src/tools/compute/volumes/update-compute-volumes.ts +12 -5
- package/src/tools/index.ts +10 -0
- package/src/tools/networking/connect/connections/create-connect-networking-connections.ts +14 -7
- package/src/tools/networking/connect/connections/delete-connect-networking-connections.ts +12 -5
- package/src/tools/networking/connect/connections/get-connect-networking-connections.ts +12 -5
- package/src/tools/networking/connect/connections/list-connect-networking-connections.ts +10 -3
- package/src/tools/networking/connect/connections/update-connect-networking-connections.ts +12 -5
- package/src/tools/networking/connect/routes/list-connect-networking-routes.ts +10 -3
- package/src/tools/networking/firewall-rules/create-networking-firewall-rules.ts +16 -7
- package/src/tools/networking/firewall-rules/delete-networking-firewall-rules.ts +12 -5
- package/src/tools/networking/firewall-rules/get-networking-firewall-rules.ts +12 -5
- package/src/tools/networking/firewall-rules/list-networking-firewall-rules.ts +10 -3
- package/src/tools/networking/firewall-rules/update-networking-firewall-rules.ts +16 -7
- package/src/tools/networking/vpcs/availability/create-vpcs-networking-availability.ts +12 -5
- package/src/tools/networking/vpcs/availability/update-vpcs-networking-availability.ts +12 -5
- package/src/tools/networking/vpcs/create-networking-vpcs.ts +10 -3
- package/src/tools/networking/vpcs/delete-networking-vpcs.ts +10 -3
- package/src/tools/networking/vpcs/get-networking-vpcs.ts +10 -3
- package/src/tools/networking/vpcs/list-networking-vpcs.ts +10 -3
- package/src/tools/networking/vpcs/update-networking-vpcs.ts +12 -3
- package/src/tools/operations/get-operations.ts +10 -3
- package/src/tools/operations/list-operations.ts +10 -3
- package/src/tools/projects/create-projects.ts +60 -0
- package/src/tools/projects/delete-projects.ts +40 -0
- package/src/tools/projects/get-projects.ts +54 -0
- package/src/tools/projects/list-projects.ts +60 -0
- package/src/tools/projects/update-projects.ts +63 -0
- package/src/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.ts +10 -3
- package/src/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.ts +11 -4
- package/src/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.ts +15 -4
- package/src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts +10 -3
- package/src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts +16 -5
- package/src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts +11 -4
- package/src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts +15 -4
- package/src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts +13 -4
- package/src/tools/types.ts +12 -0
- package/src/tools/user/get-user.ts +10 -3
- package/src/tools/vektor/balances/list-historical-vektor-balances.ts +12 -3
- package/src/tools/vektor/balances/list-vektor-balances.ts +10 -3
- package/src/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.ts +10 -3
- package/src/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.ts +12 -5
- package/src/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.ts +10 -3
- package/src/tools/vektor/buy/quotes/list-buy-vektor-quotes.ts +10 -3
- package/src/tools/vektor/lock/markets/list-lock-vektor-markets.ts +10 -3
- package/src/tools/vektor/prices/list-historical-vektor-prices.ts +10 -3
- package/src/tools/vektor/prices/list-vektor-prices.ts +10 -3
- package/src/tools/vektor/registry/assets/list-registry-vektor-assets.ts +10 -3
- package/src/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.ts +12 -5
- package/src/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.ts +12 -5
- package/src/tools/vektor/registry/errors/list-registry-vektor-errors.ts +10 -3
- package/src/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.ts +12 -5
- package/src/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.ts +10 -3
- package/src/tools/vektor/registry/venues/list-registry-vektor-venues.ts +10 -3
- package/tools/api-keys/create-api-keys.d.mts.map +1 -1
- package/tools/api-keys/create-api-keys.d.ts.map +1 -1
- package/tools/api-keys/create-api-keys.js +9 -1
- package/tools/api-keys/create-api-keys.js.map +1 -1
- package/tools/api-keys/create-api-keys.mjs +11 -3
- package/tools/api-keys/create-api-keys.mjs.map +1 -1
- package/tools/api-keys/get-api-keys.d.mts.map +1 -1
- package/tools/api-keys/get-api-keys.d.ts.map +1 -1
- package/tools/api-keys/get-api-keys.js +9 -1
- package/tools/api-keys/get-api-keys.js.map +1 -1
- package/tools/api-keys/get-api-keys.mjs +11 -3
- package/tools/api-keys/get-api-keys.mjs.map +1 -1
- package/tools/api-keys/list-api-keys.d.mts.map +1 -1
- package/tools/api-keys/list-api-keys.d.ts.map +1 -1
- package/tools/api-keys/list-api-keys.js +9 -1
- package/tools/api-keys/list-api-keys.js.map +1 -1
- package/tools/api-keys/list-api-keys.mjs +11 -3
- package/tools/api-keys/list-api-keys.mjs.map +1 -1
- package/tools/api-keys/update-api-keys.d.mts.map +1 -1
- package/tools/api-keys/update-api-keys.d.ts.map +1 -1
- package/tools/api-keys/update-api-keys.js +9 -1
- package/tools/api-keys/update-api-keys.js.map +1 -1
- package/tools/api-keys/update-api-keys.mjs +11 -3
- package/tools/api-keys/update-api-keys.mjs.map +1 -1
- package/tools/compute/vms/availability/create-vms-compute-availability.d.mts.map +1 -1
- package/tools/compute/vms/availability/create-vms-compute-availability.d.ts.map +1 -1
- package/tools/compute/vms/availability/create-vms-compute-availability.js +9 -1
- package/tools/compute/vms/availability/create-vms-compute-availability.js.map +1 -1
- package/tools/compute/vms/availability/create-vms-compute-availability.mjs +11 -3
- package/tools/compute/vms/availability/create-vms-compute-availability.mjs.map +1 -1
- package/tools/compute/vms/availability/update-vms-compute-availability.d.mts.map +1 -1
- package/tools/compute/vms/availability/update-vms-compute-availability.d.ts.map +1 -1
- package/tools/compute/vms/availability/update-vms-compute-availability.js +9 -1
- package/tools/compute/vms/availability/update-vms-compute-availability.js.map +1 -1
- package/tools/compute/vms/availability/update-vms-compute-availability.mjs +11 -3
- package/tools/compute/vms/availability/update-vms-compute-availability.mjs.map +1 -1
- package/tools/compute/vms/create-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/create-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/create-compute-vms.js +9 -1
- package/tools/compute/vms/create-compute-vms.js.map +1 -1
- package/tools/compute/vms/create-compute-vms.mjs +11 -3
- package/tools/compute/vms/create-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/delete-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/delete-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/delete-compute-vms.js +9 -1
- package/tools/compute/vms/delete-compute-vms.js.map +1 -1
- package/tools/compute/vms/delete-compute-vms.mjs +11 -3
- package/tools/compute/vms/delete-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/get-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/get-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/get-compute-vms.js +9 -1
- package/tools/compute/vms/get-compute-vms.js.map +1 -1
- package/tools/compute/vms/get-compute-vms.mjs +11 -3
- package/tools/compute/vms/get-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/list-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/list-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/list-compute-vms.js +9 -1
- package/tools/compute/vms/list-compute-vms.js.map +1 -1
- package/tools/compute/vms/list-compute-vms.mjs +11 -3
- package/tools/compute/vms/list-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/os-images/list-vms-compute-os-images.d.mts.map +1 -1
- package/tools/compute/vms/os-images/list-vms-compute-os-images.d.ts.map +1 -1
- package/tools/compute/vms/os-images/list-vms-compute-os-images.js +9 -1
- package/tools/compute/vms/os-images/list-vms-compute-os-images.js.map +1 -1
- package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs +11 -3
- package/tools/compute/vms/os-images/list-vms-compute-os-images.mjs.map +1 -1
- package/tools/compute/vms/restart-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/restart-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/restart-compute-vms.js +9 -1
- package/tools/compute/vms/restart-compute-vms.js.map +1 -1
- package/tools/compute/vms/restart-compute-vms.mjs +11 -3
- package/tools/compute/vms/restart-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/update-compute-vms.d.mts.map +1 -1
- package/tools/compute/vms/update-compute-vms.d.ts.map +1 -1
- package/tools/compute/vms/update-compute-vms.js +9 -1
- package/tools/compute/vms/update-compute-vms.js.map +1 -1
- package/tools/compute/vms/update-compute-vms.mjs +11 -3
- package/tools/compute/vms/update-compute-vms.mjs.map +1 -1
- package/tools/compute/vms/volumes/list-vms-compute-volumes.d.mts.map +1 -1
- package/tools/compute/vms/volumes/list-vms-compute-volumes.d.ts.map +1 -1
- package/tools/compute/vms/volumes/list-vms-compute-volumes.js +9 -1
- package/tools/compute/vms/volumes/list-vms-compute-volumes.js.map +1 -1
- package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs +11 -3
- package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs.map +1 -1
- package/tools/compute/volumes/availability/create-volumes-compute-availability.d.mts.map +1 -1
- package/tools/compute/volumes/availability/create-volumes-compute-availability.d.ts.map +1 -1
- package/tools/compute/volumes/availability/create-volumes-compute-availability.js +9 -1
- package/tools/compute/volumes/availability/create-volumes-compute-availability.js.map +1 -1
- package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs +11 -3
- package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs.map +1 -1
- package/tools/compute/volumes/availability/update-volumes-compute-availability.d.mts.map +1 -1
- package/tools/compute/volumes/availability/update-volumes-compute-availability.d.ts.map +1 -1
- package/tools/compute/volumes/availability/update-volumes-compute-availability.js +9 -1
- package/tools/compute/volumes/availability/update-volumes-compute-availability.js.map +1 -1
- package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs +11 -3
- package/tools/compute/volumes/availability/update-volumes-compute-availability.mjs.map +1 -1
- package/tools/compute/volumes/create-compute-volumes.d.mts.map +1 -1
- package/tools/compute/volumes/create-compute-volumes.d.ts.map +1 -1
- package/tools/compute/volumes/create-compute-volumes.js +9 -1
- package/tools/compute/volumes/create-compute-volumes.js.map +1 -1
- package/tools/compute/volumes/create-compute-volumes.mjs +11 -3
- package/tools/compute/volumes/create-compute-volumes.mjs.map +1 -1
- package/tools/compute/volumes/delete-compute-volumes.d.mts.map +1 -1
- package/tools/compute/volumes/delete-compute-volumes.d.ts.map +1 -1
- package/tools/compute/volumes/delete-compute-volumes.js +9 -1
- package/tools/compute/volumes/delete-compute-volumes.js.map +1 -1
- package/tools/compute/volumes/delete-compute-volumes.mjs +11 -3
- package/tools/compute/volumes/delete-compute-volumes.mjs.map +1 -1
- package/tools/compute/volumes/get-compute-volumes.d.mts.map +1 -1
- package/tools/compute/volumes/get-compute-volumes.d.ts.map +1 -1
- package/tools/compute/volumes/get-compute-volumes.js +9 -1
- package/tools/compute/volumes/get-compute-volumes.js.map +1 -1
- package/tools/compute/volumes/get-compute-volumes.mjs +11 -3
- package/tools/compute/volumes/get-compute-volumes.mjs.map +1 -1
- package/tools/compute/volumes/list-compute-volumes.d.mts.map +1 -1
- package/tools/compute/volumes/list-compute-volumes.d.ts.map +1 -1
- package/tools/compute/volumes/list-compute-volumes.js +9 -1
- package/tools/compute/volumes/list-compute-volumes.js.map +1 -1
- package/tools/compute/volumes/list-compute-volumes.mjs +11 -3
- package/tools/compute/volumes/list-compute-volumes.mjs.map +1 -1
- package/tools/compute/volumes/update-compute-volumes.d.mts.map +1 -1
- package/tools/compute/volumes/update-compute-volumes.d.ts.map +1 -1
- package/tools/compute/volumes/update-compute-volumes.js +9 -1
- package/tools/compute/volumes/update-compute-volumes.js.map +1 -1
- package/tools/compute/volumes/update-compute-volumes.mjs +11 -3
- package/tools/compute/volumes/update-compute-volumes.mjs.map +1 -1
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +10 -0
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +10 -0
- package/tools/index.mjs.map +1 -1
- package/tools/networking/connect/connections/create-connect-networking-connections.d.mts.map +1 -1
- package/tools/networking/connect/connections/create-connect-networking-connections.d.ts.map +1 -1
- package/tools/networking/connect/connections/create-connect-networking-connections.js +11 -3
- package/tools/networking/connect/connections/create-connect-networking-connections.js.map +1 -1
- package/tools/networking/connect/connections/create-connect-networking-connections.mjs +13 -5
- package/tools/networking/connect/connections/create-connect-networking-connections.mjs.map +1 -1
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.mts.map +1 -1
- package/tools/networking/connect/connections/delete-connect-networking-connections.d.ts.map +1 -1
- package/tools/networking/connect/connections/delete-connect-networking-connections.js +9 -1
- package/tools/networking/connect/connections/delete-connect-networking-connections.js.map +1 -1
- package/tools/networking/connect/connections/delete-connect-networking-connections.mjs +11 -3
- package/tools/networking/connect/connections/delete-connect-networking-connections.mjs.map +1 -1
- package/tools/networking/connect/connections/get-connect-networking-connections.d.mts.map +1 -1
- package/tools/networking/connect/connections/get-connect-networking-connections.d.ts.map +1 -1
- package/tools/networking/connect/connections/get-connect-networking-connections.js +9 -1
- package/tools/networking/connect/connections/get-connect-networking-connections.js.map +1 -1
- package/tools/networking/connect/connections/get-connect-networking-connections.mjs +11 -3
- package/tools/networking/connect/connections/get-connect-networking-connections.mjs.map +1 -1
- package/tools/networking/connect/connections/list-connect-networking-connections.d.mts.map +1 -1
- package/tools/networking/connect/connections/list-connect-networking-connections.d.ts.map +1 -1
- package/tools/networking/connect/connections/list-connect-networking-connections.js +9 -1
- package/tools/networking/connect/connections/list-connect-networking-connections.js.map +1 -1
- package/tools/networking/connect/connections/list-connect-networking-connections.mjs +11 -3
- package/tools/networking/connect/connections/list-connect-networking-connections.mjs.map +1 -1
- package/tools/networking/connect/connections/update-connect-networking-connections.d.mts.map +1 -1
- package/tools/networking/connect/connections/update-connect-networking-connections.d.ts.map +1 -1
- package/tools/networking/connect/connections/update-connect-networking-connections.js +9 -1
- package/tools/networking/connect/connections/update-connect-networking-connections.js.map +1 -1
- package/tools/networking/connect/connections/update-connect-networking-connections.mjs +11 -3
- package/tools/networking/connect/connections/update-connect-networking-connections.mjs.map +1 -1
- package/tools/networking/connect/routes/list-connect-networking-routes.d.mts.map +1 -1
- package/tools/networking/connect/routes/list-connect-networking-routes.d.ts.map +1 -1
- package/tools/networking/connect/routes/list-connect-networking-routes.js +9 -1
- package/tools/networking/connect/routes/list-connect-networking-routes.js.map +1 -1
- package/tools/networking/connect/routes/list-connect-networking-routes.mjs +11 -3
- package/tools/networking/connect/routes/list-connect-networking-routes.mjs.map +1 -1
- package/tools/networking/firewall-rules/create-networking-firewall-rules.d.mts.map +1 -1
- package/tools/networking/firewall-rules/create-networking-firewall-rules.d.ts.map +1 -1
- package/tools/networking/firewall-rules/create-networking-firewall-rules.js +11 -3
- package/tools/networking/firewall-rules/create-networking-firewall-rules.js.map +1 -1
- package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs +13 -5
- package/tools/networking/firewall-rules/create-networking-firewall-rules.mjs.map +1 -1
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.mts.map +1 -1
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.d.ts.map +1 -1
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.js +9 -1
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.js.map +1 -1
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs +11 -3
- package/tools/networking/firewall-rules/delete-networking-firewall-rules.mjs.map +1 -1
- package/tools/networking/firewall-rules/get-networking-firewall-rules.d.mts.map +1 -1
- package/tools/networking/firewall-rules/get-networking-firewall-rules.d.ts.map +1 -1
- package/tools/networking/firewall-rules/get-networking-firewall-rules.js +9 -1
- package/tools/networking/firewall-rules/get-networking-firewall-rules.js.map +1 -1
- package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs +11 -3
- package/tools/networking/firewall-rules/get-networking-firewall-rules.mjs.map +1 -1
- package/tools/networking/firewall-rules/list-networking-firewall-rules.d.mts.map +1 -1
- package/tools/networking/firewall-rules/list-networking-firewall-rules.d.ts.map +1 -1
- package/tools/networking/firewall-rules/list-networking-firewall-rules.js +9 -1
- package/tools/networking/firewall-rules/list-networking-firewall-rules.js.map +1 -1
- package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs +11 -3
- package/tools/networking/firewall-rules/list-networking-firewall-rules.mjs.map +1 -1
- package/tools/networking/firewall-rules/update-networking-firewall-rules.d.mts.map +1 -1
- package/tools/networking/firewall-rules/update-networking-firewall-rules.d.ts.map +1 -1
- package/tools/networking/firewall-rules/update-networking-firewall-rules.js +11 -3
- package/tools/networking/firewall-rules/update-networking-firewall-rules.js.map +1 -1
- package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs +13 -5
- package/tools/networking/firewall-rules/update-networking-firewall-rules.mjs.map +1 -1
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.mts.map +1 -1
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.d.ts.map +1 -1
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js +9 -1
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.js.map +1 -1
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs +11 -3
- package/tools/networking/vpcs/availability/create-vpcs-networking-availability.mjs.map +1 -1
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.mts.map +1 -1
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.d.ts.map +1 -1
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js +9 -1
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.js.map +1 -1
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs +11 -3
- package/tools/networking/vpcs/availability/update-vpcs-networking-availability.mjs.map +1 -1
- package/tools/networking/vpcs/create-networking-vpcs.d.mts.map +1 -1
- package/tools/networking/vpcs/create-networking-vpcs.d.ts.map +1 -1
- package/tools/networking/vpcs/create-networking-vpcs.js +9 -1
- package/tools/networking/vpcs/create-networking-vpcs.js.map +1 -1
- package/tools/networking/vpcs/create-networking-vpcs.mjs +11 -3
- package/tools/networking/vpcs/create-networking-vpcs.mjs.map +1 -1
- package/tools/networking/vpcs/delete-networking-vpcs.d.mts.map +1 -1
- package/tools/networking/vpcs/delete-networking-vpcs.d.ts.map +1 -1
- package/tools/networking/vpcs/delete-networking-vpcs.js +9 -1
- package/tools/networking/vpcs/delete-networking-vpcs.js.map +1 -1
- package/tools/networking/vpcs/delete-networking-vpcs.mjs +11 -3
- package/tools/networking/vpcs/delete-networking-vpcs.mjs.map +1 -1
- package/tools/networking/vpcs/get-networking-vpcs.d.mts.map +1 -1
- package/tools/networking/vpcs/get-networking-vpcs.d.ts.map +1 -1
- package/tools/networking/vpcs/get-networking-vpcs.js +9 -1
- package/tools/networking/vpcs/get-networking-vpcs.js.map +1 -1
- package/tools/networking/vpcs/get-networking-vpcs.mjs +11 -3
- package/tools/networking/vpcs/get-networking-vpcs.mjs.map +1 -1
- package/tools/networking/vpcs/list-networking-vpcs.d.mts.map +1 -1
- package/tools/networking/vpcs/list-networking-vpcs.d.ts.map +1 -1
- package/tools/networking/vpcs/list-networking-vpcs.js +9 -1
- package/tools/networking/vpcs/list-networking-vpcs.js.map +1 -1
- package/tools/networking/vpcs/list-networking-vpcs.mjs +11 -3
- package/tools/networking/vpcs/list-networking-vpcs.mjs.map +1 -1
- package/tools/networking/vpcs/update-networking-vpcs.d.mts.map +1 -1
- package/tools/networking/vpcs/update-networking-vpcs.d.ts.map +1 -1
- package/tools/networking/vpcs/update-networking-vpcs.js +9 -1
- package/tools/networking/vpcs/update-networking-vpcs.js.map +1 -1
- package/tools/networking/vpcs/update-networking-vpcs.mjs +11 -3
- package/tools/networking/vpcs/update-networking-vpcs.mjs.map +1 -1
- package/tools/operations/get-operations.d.mts.map +1 -1
- package/tools/operations/get-operations.d.ts.map +1 -1
- package/tools/operations/get-operations.js +9 -1
- package/tools/operations/get-operations.js.map +1 -1
- package/tools/operations/get-operations.mjs +11 -3
- package/tools/operations/get-operations.mjs.map +1 -1
- package/tools/operations/list-operations.d.mts.map +1 -1
- package/tools/operations/list-operations.d.ts.map +1 -1
- package/tools/operations/list-operations.js +9 -1
- package/tools/operations/list-operations.js.map +1 -1
- package/tools/operations/list-operations.mjs +11 -3
- package/tools/operations/list-operations.mjs.map +1 -1
- package/tools/projects/create-projects.d.mts +51 -0
- package/tools/projects/create-projects.d.mts.map +1 -0
- package/tools/projects/create-projects.d.ts +51 -0
- package/tools/projects/create-projects.d.ts.map +1 -0
- package/tools/projects/create-projects.js +56 -0
- package/tools/projects/create-projects.js.map +1 -0
- package/tools/projects/create-projects.mjs +52 -0
- package/tools/projects/create-projects.mjs.map +1 -0
- package/tools/projects/delete-projects.d.mts +51 -0
- package/tools/projects/delete-projects.d.mts.map +1 -0
- package/tools/projects/delete-projects.d.ts +51 -0
- package/tools/projects/delete-projects.d.ts.map +1 -0
- package/tools/projects/delete-projects.js +37 -0
- package/tools/projects/delete-projects.js.map +1 -0
- package/tools/projects/delete-projects.mjs +33 -0
- package/tools/projects/delete-projects.mjs.map +1 -0
- package/tools/projects/get-projects.d.mts +51 -0
- package/tools/projects/get-projects.d.mts.map +1 -0
- package/tools/projects/get-projects.d.ts +51 -0
- package/tools/projects/get-projects.d.ts.map +1 -0
- package/tools/projects/get-projects.js +50 -0
- package/tools/projects/get-projects.js.map +1 -0
- package/tools/projects/get-projects.mjs +46 -0
- package/tools/projects/get-projects.mjs.map +1 -0
- package/tools/projects/list-projects.d.mts +51 -0
- package/tools/projects/list-projects.d.mts.map +1 -0
- package/tools/projects/list-projects.d.ts +51 -0
- package/tools/projects/list-projects.d.ts.map +1 -0
- package/tools/projects/list-projects.js +56 -0
- package/tools/projects/list-projects.js.map +1 -0
- package/tools/projects/list-projects.mjs +52 -0
- package/tools/projects/list-projects.mjs.map +1 -0
- package/tools/projects/update-projects.d.mts +51 -0
- package/tools/projects/update-projects.d.mts.map +1 -0
- package/tools/projects/update-projects.d.ts +51 -0
- package/tools/projects/update-projects.d.ts.map +1 -0
- package/tools/projects/update-projects.js +59 -0
- package/tools/projects/update-projects.js.map +1 -0
- package/tools/projects/update-projects.mjs +55 -0
- package/tools/projects/update-projects.mjs.map +1 -0
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.mts.map +1 -1
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.d.ts.map +1 -1
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js +9 -1
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.js.map +1 -1
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs +11 -3
- package/tools/rpc-nodes/dedicated/blockchains/list-dedicated-rpc-nodes-blockchains.mjs.map +1 -1
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.mts.map +1 -1
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.d.ts.map +1 -1
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js +10 -2
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.js.map +1 -1
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs +12 -4
- package/tools/rpc-nodes/dedicated/get-rpc-nodes-dedicated.mjs.map +1 -1
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.mts.map +1 -1
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.d.ts.map +1 -1
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js +14 -2
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.js.map +1 -1
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs +16 -4
- package/tools/rpc-nodes/dedicated/list-rpc-nodes-dedicated.mjs.map +1 -1
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js +9 -1
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.js.map +1 -1
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs +11 -3
- package/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.mjs.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js +15 -3
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs +17 -5
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs.map +1 -1
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js +10 -2
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.js.map +1 -1
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs +12 -4
- package/tools/rpc-nodes/flex/get-rpc-nodes-flex.mjs.map +1 -1
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js +14 -2
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.js.map +1 -1
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs +16 -4
- package/tools/rpc-nodes/flex/list-rpc-nodes-flex.mjs.map +1 -1
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js +10 -2
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.js.map +1 -1
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs +12 -4
- package/tools/rpc-nodes/flex/update-rpc-nodes-flex.mjs.map +1 -1
- package/tools/types.d.mts +1 -0
- package/tools/types.d.mts.map +1 -1
- package/tools/types.d.ts +1 -0
- package/tools/types.d.ts.map +1 -1
- package/tools/types.js +12 -0
- package/tools/types.js.map +1 -1
- package/tools/types.mjs +11 -0
- package/tools/types.mjs.map +1 -1
- package/tools/user/get-user.d.mts.map +1 -1
- package/tools/user/get-user.d.ts.map +1 -1
- package/tools/user/get-user.js +9 -1
- package/tools/user/get-user.js.map +1 -1
- package/tools/user/get-user.mjs +11 -3
- package/tools/user/get-user.mjs.map +1 -1
- package/tools/vektor/balances/list-historical-vektor-balances.d.mts.map +1 -1
- package/tools/vektor/balances/list-historical-vektor-balances.d.ts.map +1 -1
- package/tools/vektor/balances/list-historical-vektor-balances.js +9 -1
- package/tools/vektor/balances/list-historical-vektor-balances.js.map +1 -1
- package/tools/vektor/balances/list-historical-vektor-balances.mjs +11 -3
- package/tools/vektor/balances/list-historical-vektor-balances.mjs.map +1 -1
- package/tools/vektor/balances/list-vektor-balances.d.mts.map +1 -1
- package/tools/vektor/balances/list-vektor-balances.d.ts.map +1 -1
- package/tools/vektor/balances/list-vektor-balances.js +9 -1
- package/tools/vektor/balances/list-vektor-balances.js.map +1 -1
- package/tools/vektor/balances/list-vektor-balances.mjs +11 -3
- package/tools/vektor/balances/list-vektor-balances.mjs.map +1 -1
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.mts.map +1 -1
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.d.ts.map +1 -1
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js +9 -1
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.js.map +1 -1
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs +11 -3
- package/tools/vektor/borrow/accounts/list-borrow-vektor-accounts.mjs.map +1 -1
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.mts.map +1 -1
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.d.ts.map +1 -1
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js +9 -1
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.js.map +1 -1
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs +11 -3
- package/tools/vektor/borrow/accounts/list-historical-borrow-vektor-accounts.mjs.map +1 -1
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.mts.map +1 -1
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.d.ts.map +1 -1
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js +9 -1
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.js.map +1 -1
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs +11 -3
- package/tools/vektor/bridge/quotes/list-bridge-vektor-quotes.mjs.map +1 -1
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.mts.map +1 -1
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.d.ts.map +1 -1
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js +9 -1
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.js.map +1 -1
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs +11 -3
- package/tools/vektor/buy/quotes/list-buy-vektor-quotes.mjs.map +1 -1
- package/tools/vektor/lock/markets/list-lock-vektor-markets.d.mts.map +1 -1
- package/tools/vektor/lock/markets/list-lock-vektor-markets.d.ts.map +1 -1
- package/tools/vektor/lock/markets/list-lock-vektor-markets.js +9 -1
- package/tools/vektor/lock/markets/list-lock-vektor-markets.js.map +1 -1
- package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs +11 -3
- package/tools/vektor/lock/markets/list-lock-vektor-markets.mjs.map +1 -1
- package/tools/vektor/prices/list-historical-vektor-prices.d.mts.map +1 -1
- package/tools/vektor/prices/list-historical-vektor-prices.d.ts.map +1 -1
- package/tools/vektor/prices/list-historical-vektor-prices.js +9 -1
- package/tools/vektor/prices/list-historical-vektor-prices.js.map +1 -1
- package/tools/vektor/prices/list-historical-vektor-prices.mjs +11 -3
- package/tools/vektor/prices/list-historical-vektor-prices.mjs.map +1 -1
- package/tools/vektor/prices/list-vektor-prices.d.mts.map +1 -1
- package/tools/vektor/prices/list-vektor-prices.d.ts.map +1 -1
- package/tools/vektor/prices/list-vektor-prices.js +9 -1
- package/tools/vektor/prices/list-vektor-prices.js.map +1 -1
- package/tools/vektor/prices/list-vektor-prices.mjs +11 -3
- package/tools/vektor/prices/list-vektor-prices.mjs.map +1 -1
- package/tools/vektor/registry/assets/list-registry-vektor-assets.d.mts.map +1 -1
- package/tools/vektor/registry/assets/list-registry-vektor-assets.d.ts.map +1 -1
- package/tools/vektor/registry/assets/list-registry-vektor-assets.js +9 -1
- package/tools/vektor/registry/assets/list-registry-vektor-assets.js.map +1 -1
- package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs +11 -3
- package/tools/vektor/registry/assets/list-registry-vektor-assets.mjs.map +1 -1
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.mts.map +1 -1
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.d.ts.map +1 -1
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js +9 -1
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.js.map +1 -1
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs +11 -3
- package/tools/vektor/registry/blockchains/list-registry-vektor-blockchains.mjs.map +1 -1
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.mts.map +1 -1
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.d.ts.map +1 -1
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js +9 -1
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.js.map +1 -1
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs +11 -3
- package/tools/vektor/registry/borrow-markets/list-registry-vektor-borrow-markets.mjs.map +1 -1
- package/tools/vektor/registry/errors/list-registry-vektor-errors.d.mts.map +1 -1
- package/tools/vektor/registry/errors/list-registry-vektor-errors.d.ts.map +1 -1
- package/tools/vektor/registry/errors/list-registry-vektor-errors.js +9 -1
- package/tools/vektor/registry/errors/list-registry-vektor-errors.js.map +1 -1
- package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs +11 -3
- package/tools/vektor/registry/errors/list-registry-vektor-errors.mjs.map +1 -1
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.mts.map +1 -1
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.d.ts.map +1 -1
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js +9 -1
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.js.map +1 -1
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs +11 -3
- package/tools/vektor/registry/lend-markets/list-registry-vektor-lend-markets.mjs.map +1 -1
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.mts.map +1 -1
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.d.ts.map +1 -1
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js +9 -1
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.js.map +1 -1
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs +11 -3
- package/tools/vektor/registry/lp-pools/list-registry-vektor-lp-pools.mjs.map +1 -1
- package/tools/vektor/registry/venues/list-registry-vektor-venues.d.mts.map +1 -1
- package/tools/vektor/registry/venues/list-registry-vektor-venues.d.ts.map +1 -1
- package/tools/vektor/registry/venues/list-registry-vektor-venues.js +9 -1
- package/tools/vektor/registry/venues/list-registry-vektor-venues.js.map +1 -1
- package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs +11 -3
- package/tools/vektor/registry/venues/list-registry-vektor-venues.mjs.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'rpc_nodes.flex.blockchains',
|
|
6
6
|
operation: 'read',
|
|
@@ -38,7 +38,15 @@ export const tool = {
|
|
|
38
38
|
export const handler = async (client, args) => {
|
|
39
39
|
const { jq_filter, ...body } = args;
|
|
40
40
|
const response = await client.rpcNodes.flex.blockchains.list(body).asResponse();
|
|
41
|
-
|
|
41
|
+
try {
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
43
|
+
}
|
|
44
|
+
catch (error) {
|
|
45
|
+
if (isJqError(error)) {
|
|
46
|
+
return asErrorResult(error.message);
|
|
47
|
+
}
|
|
48
|
+
throw error;
|
|
49
|
+
}
|
|
42
50
|
};
|
|
43
51
|
export default { metadata, tool, handler };
|
|
44
52
|
//# sourceMappingURL=list-flex-rpc-nodes-blockchains.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-flex-rpc-nodes-blockchains.mjs","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;
|
|
1
|
+
{"version":3,"file":"list-flex-rpc-nodes-blockchains.mjs","sourceRoot":"","sources":["../../../../src/tools/rpc-nodes/flex/blockchains/list-flex-rpc-nodes-blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,iCAAiC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,w/CAAw/C;IAC1/C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;aAChE;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,mCAAmC;aACjD;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAChF,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAClF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -14,7 +14,7 @@ exports.metadata = {
|
|
|
14
14
|
};
|
|
15
15
|
exports.tool = {
|
|
16
16
|
name: 'create_rpc_nodes_flex',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nCreate a new RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nCreate a new RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
18
18
|
inputSchema: {
|
|
19
19
|
type: 'object',
|
|
20
20
|
properties: {
|
|
@@ -30,6 +30,10 @@ exports.tool = {
|
|
|
30
30
|
type: 'string',
|
|
31
31
|
description: 'Network type (e.g., mainnet, testnet).',
|
|
32
32
|
},
|
|
33
|
+
project_id: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
description: 'Project ID to associate with the RPC Node Flex.',
|
|
36
|
+
},
|
|
33
37
|
tags: {
|
|
34
38
|
type: 'array',
|
|
35
39
|
description: 'Tags to attach to the RPC Node Flex (optional, max 50).',
|
|
@@ -43,13 +47,21 @@ exports.tool = {
|
|
|
43
47
|
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
44
48
|
},
|
|
45
49
|
},
|
|
46
|
-
required: ['blockchain', 'name', 'network'],
|
|
50
|
+
required: ['blockchain', 'name', 'network', 'project_id'],
|
|
47
51
|
},
|
|
48
52
|
annotations: {},
|
|
49
53
|
};
|
|
50
54
|
const handler = async (client, args) => {
|
|
51
55
|
const { jq_filter, ...body } = args;
|
|
52
|
-
|
|
56
|
+
try {
|
|
57
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.rpcNodes.flex.create(body)));
|
|
58
|
+
}
|
|
59
|
+
catch (error) {
|
|
60
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
61
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
62
|
+
}
|
|
63
|
+
throw error;
|
|
64
|
+
}
|
|
53
65
|
};
|
|
54
66
|
exports.handler = handler;
|
|
55
67
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,0wDAA0wD;IAC5wD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,aAAa;aAC3B;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;aAC1C;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yDAAyD;gBACtE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,CAAC;KAC1D;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'rpc_nodes.flex',
|
|
6
6
|
operation: 'write',
|
|
@@ -11,7 +11,7 @@ export const metadata = {
|
|
|
11
11
|
};
|
|
12
12
|
export const tool = {
|
|
13
13
|
name: 'create_rpc_nodes_flex',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nCreate a new RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nCreate a new RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
15
15
|
inputSchema: {
|
|
16
16
|
type: 'object',
|
|
17
17
|
properties: {
|
|
@@ -27,6 +27,10 @@ export const tool = {
|
|
|
27
27
|
type: 'string',
|
|
28
28
|
description: 'Network type (e.g., mainnet, testnet).',
|
|
29
29
|
},
|
|
30
|
+
project_id: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'Project ID to associate with the RPC Node Flex.',
|
|
33
|
+
},
|
|
30
34
|
tags: {
|
|
31
35
|
type: 'array',
|
|
32
36
|
description: 'Tags to attach to the RPC Node Flex (optional, max 50).',
|
|
@@ -40,13 +44,21 @@ export const tool = {
|
|
|
40
44
|
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
41
45
|
},
|
|
42
46
|
},
|
|
43
|
-
required: ['blockchain', 'name', 'network'],
|
|
47
|
+
required: ['blockchain', 'name', 'network', 'project_id'],
|
|
44
48
|
},
|
|
45
49
|
annotations: {},
|
|
46
50
|
};
|
|
47
51
|
export const handler = async (client, args) => {
|
|
48
52
|
const { jq_filter, ...body } = args;
|
|
49
|
-
|
|
53
|
+
try {
|
|
54
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.flex.create(body)));
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
if (isJqError(error)) {
|
|
58
|
+
return asErrorResult(error.message);
|
|
59
|
+
}
|
|
60
|
+
throw error;
|
|
61
|
+
}
|
|
50
62
|
};
|
|
51
63
|
export default { metadata, tool, handler };
|
|
52
64
|
//# sourceMappingURL=create-rpc-nodes-flex.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,0wDAA0wD;IAC5wD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,aAAa;aAC3B;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;aAC1C;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;aAC/D;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yDAAyD;gBACtE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,CAAC;KAC1D;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"get-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"get-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -14,7 +14,7 @@ exports.metadata = {
|
|
|
14
14
|
};
|
|
15
15
|
exports.tool = {
|
|
16
16
|
name: 'get_rpc_nodes_flex',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet details about an RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet details about an RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
18
18
|
inputSchema: {
|
|
19
19
|
type: 'object',
|
|
20
20
|
properties: {
|
|
@@ -35,7 +35,15 @@ exports.tool = {
|
|
|
35
35
|
};
|
|
36
36
|
const handler = async (client, args) => {
|
|
37
37
|
const { node_id, jq_filter, ...body } = args;
|
|
38
|
-
|
|
38
|
+
try {
|
|
39
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.rpcNodes.flex.get(node_id)));
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
43
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
44
|
+
}
|
|
45
|
+
throw error;
|
|
46
|
+
}
|
|
39
47
|
};
|
|
40
48
|
exports.handler = handler;
|
|
41
49
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"get-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,oBAAoB;CAClC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EACT,kxDAAkxD;IACpxD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpD,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'rpc_nodes.flex',
|
|
6
6
|
operation: 'read',
|
|
@@ -11,7 +11,7 @@ export const metadata = {
|
|
|
11
11
|
};
|
|
12
12
|
export const tool = {
|
|
13
13
|
name: 'get_rpc_nodes_flex',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet details about an RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet details about an RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
15
15
|
inputSchema: {
|
|
16
16
|
type: 'object',
|
|
17
17
|
properties: {
|
|
@@ -32,7 +32,15 @@ export const tool = {
|
|
|
32
32
|
};
|
|
33
33
|
export const handler = async (client, args) => {
|
|
34
34
|
const { node_id, jq_filter, ...body } = args;
|
|
35
|
-
|
|
35
|
+
try {
|
|
36
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.flex.get(node_id)));
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
if (isJqError(error)) {
|
|
40
|
+
return asErrorResult(error.message);
|
|
41
|
+
}
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
36
44
|
};
|
|
37
45
|
export default { metadata, tool, handler };
|
|
38
46
|
//# sourceMappingURL=get-rpc-nodes-flex.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/get-rpc-n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M,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"list-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAW3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAXoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAa5F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"list-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAW3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAXoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAa5F,wBAA2C"}
|
|
@@ -14,7 +14,7 @@ exports.metadata = {
|
|
|
14
14
|
};
|
|
15
15
|
exports.tool = {
|
|
16
16
|
name: 'list_rpc_nodes_flex',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
|
|
18
18
|
inputSchema: {
|
|
19
19
|
type: 'object',
|
|
20
20
|
properties: {
|
|
@@ -26,6 +26,10 @@ exports.tool = {
|
|
|
26
26
|
type: 'integer',
|
|
27
27
|
description: 'Maximum number of items to return',
|
|
28
28
|
},
|
|
29
|
+
project_id: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
description: 'Project ID of resources to request',
|
|
32
|
+
},
|
|
29
33
|
jq_filter: {
|
|
30
34
|
type: 'string',
|
|
31
35
|
title: 'jq Filter',
|
|
@@ -41,7 +45,15 @@ exports.tool = {
|
|
|
41
45
|
const handler = async (client, args) => {
|
|
42
46
|
const { jq_filter, ...body } = args;
|
|
43
47
|
const response = await client.rpcNodes.flex.list(body).asResponse();
|
|
44
|
-
|
|
48
|
+
try {
|
|
49
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await response.json()));
|
|
50
|
+
}
|
|
51
|
+
catch (error) {
|
|
52
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
53
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
54
|
+
}
|
|
55
|
+
throw error;
|
|
56
|
+
}
|
|
45
57
|
};
|
|
46
58
|
exports.handler = handler;
|
|
47
59
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"list-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EA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AO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAXW,QAAA,OAAO,WAWlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'rpc_nodes.flex',
|
|
6
6
|
operation: 'read',
|
|
@@ -11,7 +11,7 @@ export const metadata = {
|
|
|
11
11
|
};
|
|
12
12
|
export const tool = {
|
|
13
13
|
name: 'list_rpc_nodes_flex',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all RPC Node Flex you created\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex_list',\n $defs: {\n flex_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/flex'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
|
|
15
15
|
inputSchema: {
|
|
16
16
|
type: 'object',
|
|
17
17
|
properties: {
|
|
@@ -23,6 +23,10 @@ export const tool = {
|
|
|
23
23
|
type: 'integer',
|
|
24
24
|
description: 'Maximum number of items to return',
|
|
25
25
|
},
|
|
26
|
+
project_id: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: 'Project ID of resources to request',
|
|
29
|
+
},
|
|
26
30
|
jq_filter: {
|
|
27
31
|
type: 'string',
|
|
28
32
|
title: 'jq Filter',
|
|
@@ -38,7 +42,15 @@ export const tool = {
|
|
|
38
42
|
export const handler = async (client, args) => {
|
|
39
43
|
const { jq_filter, ...body } = args;
|
|
40
44
|
const response = await client.rpcNodes.flex.list(body).asResponse();
|
|
41
|
-
|
|
45
|
+
try {
|
|
46
|
+
return asTextContentResult(await maybeFilter(jq_filter, await response.json()));
|
|
47
|
+
}
|
|
48
|
+
catch (error) {
|
|
49
|
+
if (isJqError(error)) {
|
|
50
|
+
return asErrorResult(error.message);
|
|
51
|
+
}
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
42
54
|
};
|
|
43
55
|
export default { metadata, tool, handler };
|
|
44
56
|
//# sourceMappingURL=list-rpc-nodes-flex.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/list-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OA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,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IACpE,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAClF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"update-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"update-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
|
|
@@ -14,7 +14,7 @@ exports.metadata = {
|
|
|
14
14
|
};
|
|
15
15
|
exports.tool = {
|
|
16
16
|
name: 'update_rpc_nodes_flex',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate an existing RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate an existing RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
18
18
|
inputSchema: {
|
|
19
19
|
type: 'object',
|
|
20
20
|
properties: {
|
|
@@ -44,7 +44,15 @@ exports.tool = {
|
|
|
44
44
|
};
|
|
45
45
|
const handler = async (client, args) => {
|
|
46
46
|
const { node_id, jq_filter, ...body } = args;
|
|
47
|
-
|
|
47
|
+
try {
|
|
48
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.rpcNodes.flex.update(node_id, body)));
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
52
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
53
|
+
}
|
|
54
|
+
throw error;
|
|
55
|
+
}
|
|
48
56
|
};
|
|
49
57
|
exports.handler = handler;
|
|
50
58
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"update-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,gxDAAgxD;IAClxD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;aAC1C;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yDAAyD;gBACtE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpD,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAC/E,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,OAAO,WAYlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@nirvana-labs/nirvana-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@nirvana-labs/nirvana-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'rpc_nodes.flex',
|
|
6
6
|
operation: 'write',
|
|
@@ -11,7 +11,7 @@ export const metadata = {
|
|
|
11
11
|
};
|
|
12
12
|
export const tool = {
|
|
13
13
|
name: 'update_rpc_nodes_flex',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate an existing RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate an existing RPC Node Flex\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/flex',\n $defs: {\n flex: {\n type: 'object',\n description: 'RPC Node Flex details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the RPC Node Flex.'\n },\n blockchain: {\n type: 'string',\n description: 'Blockchain type.'\n },\n created_at: {\n type: 'string',\n description: 'When the RPC Node Flex was created.',\n format: 'date-time'\n },\n endpoint: {\n type: 'string',\n description: 'RPC endpoint URL.'\n },\n name: {\n type: 'string',\n description: 'Name of the RPC Node Flex.'\n },\n network: {\n type: 'string',\n description: 'Network type (e.g., mainnet, testnet).'\n },\n project_id: {\n type: 'string',\n description: 'Project identifier associated with the RPC Node Flex.'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the RPC Node Flex.',\n items: {\n type: 'string'\n }\n },\n updated_at: {\n type: 'string',\n description: 'When the RPC Node Flex was updated.',\n format: 'date-time'\n }\n },\n required: [ 'id',\n 'blockchain',\n 'created_at',\n 'endpoint',\n 'name',\n 'network',\n 'project_id',\n 'tags',\n 'updated_at'\n ]\n }\n }\n}\n```",
|
|
15
15
|
inputSchema: {
|
|
16
16
|
type: 'object',
|
|
17
17
|
properties: {
|
|
@@ -41,7 +41,15 @@ export const tool = {
|
|
|
41
41
|
};
|
|
42
42
|
export const handler = async (client, args) => {
|
|
43
43
|
const { node_id, jq_filter, ...body } = args;
|
|
44
|
-
|
|
44
|
+
try {
|
|
45
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.rpcNodes.flex.update(node_id, body)));
|
|
46
|
+
}
|
|
47
|
+
catch (error) {
|
|
48
|
+
if (isJqError(error)) {
|
|
49
|
+
return asErrorResult(error.message);
|
|
50
|
+
}
|
|
51
|
+
throw error;
|
|
52
|
+
}
|
|
45
53
|
};
|
|
46
54
|
export default { metadata, tool, handler };
|
|
47
55
|
//# sourceMappingURL=update-rpc-nodes-flex.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,qCAAqC;
|
|
1
|
+
{"version":3,"file":"update-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/update-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,S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AAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
package/tools/types.d.mts
CHANGED
|
@@ -34,6 +34,7 @@ export type ToolCallResult = {
|
|
|
34
34
|
export type HandlerFunction = (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<ToolCallResult>;
|
|
35
35
|
export declare function asTextContentResult(result: unknown): ToolCallResult;
|
|
36
36
|
export declare function asBinaryContentResult(response: Response): Promise<ToolCallResult>;
|
|
37
|
+
export declare function asErrorResult(message: string): ToolCallResult;
|
|
37
38
|
export type Metadata = {
|
|
38
39
|
resource: string;
|
|
39
40
|
operation: 'read' | 'write';
|
package/tools/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,WAAW,MAAM,uBAAuB;OACxC,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EACJ;QACE,GAAG,EAAE,MAAM,CAA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MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC"}
|
package/tools/types.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export type ToolCallResult = {
|
|
|
34
34
|
export type HandlerFunction = (client: NirvanaLabs, args: Record<string, unknown> | undefined) => Promise<ToolCallResult>;
|
|
35
35
|
export declare function asTextContentResult(result: unknown): ToolCallResult;
|
|
36
36
|
export declare function asBinaryContentResult(response: Response): Promise<ToolCallResult>;
|
|
37
|
+
export declare function asErrorResult(message: string): ToolCallResult;
|
|
37
38
|
export type Metadata = {
|
|
38
39
|
resource: string;
|
|
39
40
|
operation: 'read' | 'write';
|
package/tools/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/tools/types.ts"],"names":[],"mappings":"OAEO,WAAW,MAAM,uBAAuB;OACxC,EAAE,IAAI,EAAE,MAAM,oCAAoC;AAEzD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,C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