← Catalog

@dominusnode/pi-extension

DominusNode pi extension: 19 standard v2 tools for the AI-agent relay network, built on @dominusnode/sdk

Package

Install

Install with PiG

pig install npm:@dominusnode/pi-extension

Install with Pi

pi install npm:@dominusnode/pi-extension
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 2.3.0 (README.md). PiG does not review it.

@dominusnode/pi-extension

pi coding-agent extension for the DominusNode relay network: AI agents fetch the web through residential, datacenter and mobile IPs contributed by node operators, pay per GB from a prepaid wallet, and can earn credit by contributing their own IP.

Built on @dominusnode/sdk v2: the integration only describes tools for the model and maps arguments to SDK calls.

Install

pi install npm:@dominusnode/pi-extension
# or, as a plain dependency: npm install @dominusnode/pi-extension@2

Configure

export DOMINUSNODE_API_KEY=dn_live_...          # required for account tools
export DOMINUSNODE_BASE_URL=https://api.dominusnode.com   # optional
export DOMINUSNODE_PROXY_HOST=proxy.dominusnode.com       # optional
export DOMINUSNODE_PROXY_URL=https://proxy.dominusnode.com:8443  # optional; TLS proxy

Usage

package.json declares pi.extensions (./dist/index.js) and pi.skills (./skills). The default export dominusNodeExtension(pi) calls pi.registerTool({ name, label, description, parameters, execute }) for each tool, with TypeBox (typebox 1.x) schemas. execute(toolCallId, params, signal, onUpdate, ctx) returns { content: [{ type: "text", text }], details }.

The skill skills/use-dominus-proxy.md tells the agent when and how to use the tools.

The 19 tools

Tool names are dominusnode_<name> (e.g. dominusnode_fetch).

#ToolSDK callWhat it does
1fetchproxy.fetchGET/HEAD a public URL through the relay (country, ip_class, session_id, allow_http)
2proxy_urlproxy.buildUrlProxy URL for other clients; the key is replaced by ${DOMINUSNODE_API_KEY}
3network_policynetwork.policyAcceptable-use policy and node floor guarantees (public)
4network_pricingnetwork.pricingLive per-GB prices per IP class and node revenue shares (public)
5network_statsnetwork.statsOnline nodes by class and country (public)
6balancewallet.getBalancePrepaid wallet balance
7transactionswallet.getTransactionsWallet transaction history
8topup_cryptowallet.topUpCryptoCreate a crypto top-up invoice
9check_paymentwallet.getCryptoStatusCrypto invoice status
10usageusage.getBandwidth/cost summary for a date range
11active_sessionssessions.getActiveOpen relay sessions
12report_sessionsessions.reportReport a misbehaving exit node
13node_listnodes.listYour contributed relay nodes
14node_tiernodes.tierYour node-operator tier and progress
15node_setup_guidestaticHow to earn by contributing an IP with the node agent
16credits_balancecredits.balanceNode earnings (pending/available/frozen)
17credits_convertnone (signed flow)Points to the MCP server or SDK (needs a wallet signature)
18payouts_listpayouts.listPayout history
19x402_infox402.getInfox402 micropayment info (public)

Security is enforced by @dominusnode/sdk: SSRF and DNS-rebinding checks on every resolved address, GET/HEAD only, ports 80/443, no redirects, 10 MB cap, OFAC countries (CU, IR, KP, RU, SY) refused, plaintext http:// only with allow_http (visible to the exit node). Every error and result is scrubbed of dn_live_/dn_test_/dn_node_/dn_proxy_ keys and JWTs. The API key is read from DOMINUSNODE_API_KEY (or the framework's credentials store) and is never a tool argument or part of a tool result.

Prices are never hardcoded: ask the agent to call network_pricing.

Signed flows (node registration, withdrawals, payout wallet) are not exposed as LLM tools. Use the DominusNode MCP server or @dominusnode/sdk with a local signer key file.

Upgrading from 1.x

2.0 is a breaking release. Removed: Stripe/PayPal top-ups, plans, slots, email/password and MFA flows, API key / team / agentic-wallet management tools, dc-/residential- pool prefixes, hardcoded $/GB prices and the integration's own HTTP/SSRF code. Exit selection is now country + ip_class (residential, dc, mobile) on the relay network.