@dominusnode/openclaw-plugin 1.0.0 → 1.0.1
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 +12 -12
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.js +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Dominus Node OpenClaw Plugin
|
|
2
2
|
|
|
3
|
-
Route web requests through
|
|
3
|
+
Route web requests through Dominus Node's rotating proxy network directly from your OpenClaw AI coding sessions. Supports datacenter and residential proxy pools with geo-targeting across 195+ countries, agentic wallets for autonomous agent billing, and team collaboration with shared wallets.
|
|
4
4
|
|
|
5
|
-
## What is
|
|
5
|
+
## What is Dominus Node?
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Dominus Node is a rotating proxy-as-a-service (PaaS) platform. Users connect to Dominus Node, are automatically assigned a proxy IP from a managed pool, and their traffic is routed through it. Usage is metered by bandwidth and billed via a prepaid wallet system.
|
|
8
8
|
|
|
9
9
|
- **Datacenter proxies**: $3.00/GB (fastest, best for non-protected targets)
|
|
10
10
|
- **Residential proxies**: $5.00/GB (premium, harder to detect)
|
|
@@ -28,9 +28,9 @@ export DOMINUSNODE_BASE_URL="https://api.dominusnode.com" # optional, this is t
|
|
|
28
28
|
### Manual Setup
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
# Clone the
|
|
32
|
-
git clone https://github.com/Dominus-Node/
|
|
33
|
-
cd
|
|
31
|
+
# Clone the Dominus Node repo
|
|
32
|
+
git clone https://github.com/Dominus-Node/Dominus Node.git
|
|
33
|
+
cd Dominus Node/integrations/openclaw
|
|
34
34
|
|
|
35
35
|
# No npm install needed — the plugin uses only native fetch (Node 18+)
|
|
36
36
|
```
|
|
@@ -39,8 +39,8 @@ cd DomiNode/integrations/openclaw
|
|
|
39
39
|
|
|
40
40
|
| Environment Variable | Required | Default | Description |
|
|
41
41
|
|---|---|---|---|
|
|
42
|
-
| `DOMINUSNODE_API_KEY` | Yes | -- | Your
|
|
43
|
-
| `DOMINUSNODE_BASE_URL` | No | `https://api.dominusnode.com` | Base URL for the
|
|
42
|
+
| `DOMINUSNODE_API_KEY` | Yes | -- | Your Dominus Node API key (starts with `dn_live_` or `dn_test_`) |
|
|
43
|
+
| `DOMINUSNODE_BASE_URL` | No | `https://api.dominusnode.com` | Base URL for the Dominus Node REST API |
|
|
44
44
|
|
|
45
45
|
### Getting an API Key
|
|
46
46
|
|
|
@@ -176,7 +176,7 @@ Use proxied_fetch to get https://httpbin.org/ip through a US datacenter proxy
|
|
|
176
176
|
|
|
177
177
|
### Check your budget
|
|
178
178
|
```
|
|
179
|
-
Check my
|
|
179
|
+
Check my Dominus Node balance and tell me how much residential browsing I have left
|
|
180
180
|
```
|
|
181
181
|
|
|
182
182
|
### Set up a research team
|
|
@@ -191,7 +191,7 @@ Create an agentic wallet called "price-monitor" with a $5 spending limit, fund i
|
|
|
191
191
|
|
|
192
192
|
### View usage breakdown
|
|
193
193
|
```
|
|
194
|
-
Show my
|
|
194
|
+
Show my Dominus Node usage for the last 7 days
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
### Fetch with residential proxy and geo-targeting
|
|
@@ -241,7 +241,7 @@ The plugin implements comprehensive security measures:
|
|
|
241
241
|
|
|
242
242
|
- Node.js 18+ (uses native `fetch`)
|
|
243
243
|
- OpenClaw runtime with `jiti` support
|
|
244
|
-
-
|
|
244
|
+
- Dominus Node API key with funded wallet
|
|
245
245
|
|
|
246
246
|
## License
|
|
247
247
|
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Dominus Node OpenClaw Plugin
|
|
3
3
|
*
|
|
4
|
-
* Implements 24 tools for interacting with
|
|
4
|
+
* Implements 24 tools for interacting with Dominus Node's rotating proxy service
|
|
5
5
|
* directly from OpenClaw AI coding sessions.
|
|
6
6
|
*
|
|
7
7
|
* Uses native fetch (no external dependencies). Runs via jiti runtime.
|
package/dist/plugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Dominus Node OpenClaw Plugin
|
|
3
3
|
*
|
|
4
|
-
* Implements 24 tools for interacting with
|
|
4
|
+
* Implements 24 tools for interacting with Dominus Node's rotating proxy service
|
|
5
5
|
* directly from OpenClaw AI coding sessions.
|
|
6
6
|
*
|
|
7
7
|
* Uses native fetch (no external dependencies). Runs via jiti runtime.
|
|
@@ -36,7 +36,7 @@ function getApiKey() {
|
|
|
36
36
|
const key = process.env.DOMINUSNODE_API_KEY;
|
|
37
37
|
if (!key || typeof key !== "string" || key.trim().length === 0) {
|
|
38
38
|
throw new Error("DOMINUSNODE_API_KEY environment variable is required. " +
|
|
39
|
-
'Set it to your
|
|
39
|
+
'Set it to your Dominus Node API key (starts with "dn_live_" or "dn_test_").');
|
|
40
40
|
}
|
|
41
41
|
const trimmed = key.trim();
|
|
42
42
|
if (!trimmed.startsWith("dn_live_") && !trimmed.startsWith("dn_test_")) {
|
|
@@ -470,7 +470,7 @@ function formatCents(cents) {
|
|
|
470
470
|
// 1. proxied_fetch
|
|
471
471
|
const proxiedFetchTool = {
|
|
472
472
|
name: "proxied_fetch",
|
|
473
|
-
description: "Fetch a URL through
|
|
473
|
+
description: "Fetch a URL through Dominus Node's rotating proxy network. Supports geo-targeting " +
|
|
474
474
|
"by country. Returns status code, headers, and response body (truncated to 4000 chars).",
|
|
475
475
|
parameters: {
|
|
476
476
|
url: {
|
|
@@ -660,7 +660,7 @@ const proxiedFetchTool = {
|
|
|
660
660
|
// 2. check_balance
|
|
661
661
|
const checkBalanceTool = {
|
|
662
662
|
name: "check_balance",
|
|
663
|
-
description: "Check your
|
|
663
|
+
description: "Check your Dominus Node wallet balance and estimated remaining bandwidth at current pricing.",
|
|
664
664
|
parameters: {},
|
|
665
665
|
execute: async () => {
|
|
666
666
|
try {
|
|
@@ -726,7 +726,7 @@ const getProxyConfigTool = {
|
|
|
726
726
|
try {
|
|
727
727
|
const data = await apiGet("/api/proxy/config");
|
|
728
728
|
const lines = [
|
|
729
|
-
"
|
|
729
|
+
"Dominus Node Proxy Configuration",
|
|
730
730
|
"",
|
|
731
731
|
`Proxy Host: ${data.proxyHost ?? "proxy.dominusnode.com"}`,
|
|
732
732
|
`HTTP Proxy Port: ${data.httpProxyPort ?? 8080}`,
|
|
@@ -1422,7 +1422,7 @@ const updateTeamTool = {
|
|
|
1422
1422
|
// 21. topup_paypal
|
|
1423
1423
|
const topupPaypalTool = {
|
|
1424
1424
|
name: "topup_paypal",
|
|
1425
|
-
description: "Top up your
|
|
1425
|
+
description: "Top up your Dominus Node wallet balance via PayPal. Creates a PayPal order and returns an " +
|
|
1426
1426
|
"approval URL to complete payment. Minimum $5 (500 cents), maximum $1,000 (100000 cents).",
|
|
1427
1427
|
parameters: {
|
|
1428
1428
|
amount_cents: {
|
|
@@ -1632,7 +1632,7 @@ export const tools = [
|
|
|
1632
1632
|
export const plugin = {
|
|
1633
1633
|
name: "dominusnode-proxy",
|
|
1634
1634
|
version: "1.0.0",
|
|
1635
|
-
description: "Route web requests through
|
|
1635
|
+
description: "Route web requests through Dominus Node's rotating proxy network with geo-targeting, " +
|
|
1636
1636
|
"balance management, agentic wallets, and team collaboration.",
|
|
1637
1637
|
tools,
|
|
1638
1638
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dominusnode/openclaw-plugin",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Dominus Node proxy plugin for OpenClaw — route web requests through rotating proxy networks",
|
|
5
5
|
"main": "dist/plugin.js",
|
|
6
6
|
"types": "dist/plugin.d.ts",
|
|
7
7
|
"type": "module",
|