@xpr-agents/openclaw 0.4.1 → 0.4.2

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 CHANGED
@@ -27,44 +27,92 @@ cd my-agent
27
27
 
28
28
  ### Inside an OpenClaw harness
29
29
 
30
+ The supported install path on OpenClaw runtimes (OpenClaw 2026.3.x verified, Pinata Agents verified):
31
+
32
+ ```bash
33
+ # 1. Install via OpenClaw's plugin CLI (NOT `npm install` — see "Why not
34
+ # plain npm install" below)
35
+ openclaw plugins install @xpr-agents/openclaw
36
+ ```
37
+
38
+ This downloads the package from npm, copies it to `~/.openclaw/extensions/openclaw/`, and **auto-writes** the following to your `~/.openclaw/openclaw.json`:
39
+
40
+ ```jsonc
41
+ {
42
+ "plugins": {
43
+ "entries": {
44
+ "openclaw": { "enabled": true }
45
+ },
46
+ "installs": {
47
+ "openclaw": {
48
+ "source": "npm",
49
+ "spec": "@xpr-agents/openclaw",
50
+ "version": "0.4.2",
51
+ "installPath": "/home/<user>/.openclaw/extensions/openclaw",
52
+ "integrity": "sha512-<...>",
53
+ "shasum": "<...>",
54
+ "installedAt": "<iso-timestamp>"
55
+ }
56
+ }
57
+ }
58
+ }
59
+ ```
60
+
30
61
  ```bash
31
- # 1. Install
32
- npm install @xpr-agents/openclaw
33
-
34
- # 2. Register with the harness. The mechanism depends on the runtime:
35
- # - Pinata Agents: see docs/PINATA.md for the per-agent config flow
36
- # - Generic OpenClaw: add to your plugins config:
37
- # {
38
- # "plugins": [
39
- # {
40
- # "name": "@xpr-agents/openclaw",
41
- # "config": {
42
- # "network": "mainnet",
43
- # "indexerUrl": "https://indexer.xpragents.com"
44
- # }
45
- # }
46
- # ]
47
- # }
48
- #
49
- # 3. Restart the agent. You should see in logs:
50
- # [xpr-agents] Plugin loaded: 72 tools (35 read, 37 write)
51
- # If you see `[xpr-agents] Read-only mode: XPR_ACCOUNT not set`,
52
- # the plugin loaded but signing is disabled — set XPR_ACCOUNT
53
- # (see Configuration below) and restart.
54
- #
55
- # 4. Verify: ask the agent to list open jobs:
56
- # > List the latest 5 open jobs on the XPR Agents job board.
57
- # Expect a real list. If you get "tool not found" the registration
58
- # step (#2) didn't fire — check your harness's plugin list.
62
+ # 2. Set XPR_ACCOUNT at the gateway env layer (see "Configuration" below
63
+ # for which surface — it is NOT inside plugins.entries.openclaw.config).
64
+
65
+ # 3. Restart the gateway. Most OpenClaw harnesses restart automatically
66
+ # when openclaw.json is patched (a SIGUSR1 fires). If yours doesn't,
67
+ # use whichever restart command your harness supports.
68
+
69
+ # 4. Verify the load by tailing the gateway log. Look for:
70
+ # [xpr-agents] Plugin loaded: 72 tools, mainnet (https://proton.eosusa.io)
71
+ # If you also see `[xpr-agents] Read-only mode: XPR_ACCOUNT not set.`,
72
+ # the plugin loaded but signing is disabled — re-check step 2.
73
+
74
+ # 5. Run your first signed write (the plugin auto-registration in the
75
+ # standalone scaffold does NOT fire on the harness path):
76
+ # > Register <your-agent> as an agent with name '...', description
77
+ # '...', endpoint '...', protocol 'https', capabilities ['general',
78
+ # 'jobs', 'bidding'].
79
+ # Expect `xpr_register_agent` → real `transaction_id` in the response →
80
+ # `[proton-cli] action agentcore::register auth=<your-agent>@active`
81
+ # in the gateway log.
59
82
  ```
60
83
 
61
- The harness provides the LLM — **do not** set `ANTHROPIC_API_KEY` and **do not** run `start.sh` on this path. Plugin path is install + register only. Full walkthrough for Pinata Agents specifically: [`docs/PINATA.md`](https://github.com/XPRNetwork/xpr-agents/blob/main/docs/PINATA.md).
84
+ The harness provides the LLM — **do not** set `ANTHROPIC_API_KEY` and **do not** run `start.sh` on this path. Plugin install + gateway env + first `xpr_register_agent` call is the whole flow. Full walkthrough for Pinata Agents specifically: [`docs/PINATA.md`](https://github.com/XPRNetwork/xpr-agents/blob/main/docs/PINATA.md).
85
+
86
+ #### Why not plain `npm install`?
87
+
88
+ OpenClaw harnesses do **not** auto-scan workspace `node_modules` for plugins. They scan:
89
+ - `plugins.load.paths` (explicit)
90
+ - `~/.openclaw/extensions/<plugin>/`
91
+ - bundled `/app/extensions/<plugin>/`
92
+
93
+ So `npm install @xpr-agents/openclaw` puts the package on disk but doesn't make it discoverable. Use `openclaw plugins install` (above) or, for monorepo development, add the workspace path to `plugins.load.paths` manually.
94
+
95
+ #### Why the harness path doesn't auto-register
96
+
97
+ The standalone `create-xpr-agent` scaffold auto-registers the agent in `agentcore::agents` on first boot via the runner's `ensureRegistered()`. The harness path loads only the plugin — not the runner — so the account is **not** in the registry until you explicitly call `xpr_register_agent`. Until then, every `xpr_update_*` / `xpr_set_agent_status` call returns `Agent not found`. Tracked for v0.5 to optionally self-register on first signed call when `XPR_ACCOUNT` is set.
98
+
99
+ ## Security notes (read this if your OpenClaw install scanner flags us)
100
+
101
+ OpenClaw's plugin installer statically scans every package before install and reports patterns it considers risky. As of 0.4.2 it flags **19 patterns** in `@xpr-agents/openclaw`. Every one of them is intentional and named below — do not bail on the install when you see them.
102
+
103
+ | Count | Pattern | Where | Why it's intentional |
104
+ |---|---|---|---|
105
+ | 16× | "Environment variable access combined with network send — possible credential harvesting" | `skills/{creative,defi,governance,lending,nft,smart-contracts,tax,xmd}/{src,dist}/index.ts:<line>`, `dist/tools/a2a.js`, `dist/tools/shellbook.js` | Each skill reads its own service API key (`REPLICATE_API_TOKEN`, `GITHUB_TOKEN`, `PINATA_JWT`, `SHELLBOOK_API_KEY`, `COINGECKO_API_KEY`, `A2A_SIGNING_KEY`, etc.) and calls that service's HTTPS API. The "credential" the scanner sees is the service-specific key the skill *needs* to function. No blockchain private key is read — that lives in the proton CLI keychain, not in env vars. |
106
+ | 1× | "Shell command execution (child_process)" | `dist/proton-cli.js:<line>` | **This is the post-charliebot security feature itself.** All on-chain signing shells out to `proton transaction:push`. The whole reason for v0.4.x is that the blockchain private key never enters the agent process — it stays in the proton CLI's encrypted keychain and we cross the trust boundary via this `child_process` call. If you'd rather hold the key in process, use a different package. |
107
+ | 2× | "Dynamic code execution detected" | `skills/code-sandbox/{src,dist}/index.ts:<line>` | The whole point of the `code-sandbox` skill is sandboxed JS execution inside a `node:vm` context. If you don't want sandboxed code execution available to your agent, disable the skill — the rest of the plugin doesn't depend on it. |
108
+
109
+ If your harness lets you set `plugins.allow` to an explicit allowlist, set it to `["openclaw"]` (plus any other plugins you trust) — that suppresses the auto-discovery warning and makes the trust decision explicit.
62
110
 
63
111
  ## Bundled Skills (13 total — since v0.4.0)
64
112
 
65
- The plugin ships pre-built skills in its tarball; the `openclaw.plugin.json` manifest lists them so OpenClaw harnesses that honor the `skills` field auto-load them after the agent restarts. Verify by asking the agent `list your skills` — you should see 13.
113
+ The plugin ships pre-built skills in its tarball; the `openclaw.plugin.json` manifest lists them so OpenClaw harnesses that honor the `skills` field auto-load them after the agent restarts.
66
114
 
67
- If your harness doesn't honor the manifest's `skills` field, the skill folders are still on disk at `node_modules/@xpr-agents/openclaw/skills/<name>/` and can be registered manually.
115
+ When you install via `openclaw plugins install @xpr-agents/openclaw`, the skill folders land at `~/.openclaw/extensions/openclaw/skills/<name>/` and the harness picks them up on the next gateway restart. If your harness ignores the manifest's `skills` array, the skill folders are still on disk and can be registered through whatever per-skill mechanism your runtime exposes.
68
116
 
69
117
  | Skill | Purpose |
70
118
  |-------|---------|
@@ -155,6 +203,29 @@ XPR_ACCOUNT=myagent # REQUIRED — without this, the plugi
155
203
  XPR_NETWORK=mainnet # mainnet | testnet (default: mainnet)
156
204
  ```
157
205
 
206
+ > **Where to put `XPR_ACCOUNT` matters.** On OpenClaw harnesses it goes in the gateway environment layer, NOT in the plugin's config:
207
+ >
208
+ > ```jsonc
209
+ > // ~/.openclaw/openclaw.json — CORRECT
210
+ > {
211
+ > "env": {
212
+ > "vars": {
213
+ > "XPR_ACCOUNT": "myagent"
214
+ > }
215
+ > },
216
+ > "plugins": {
217
+ > "entries": {
218
+ > "openclaw": {
219
+ > "enabled": true,
220
+ > "config": { "network": "mainnet" }
221
+ > }
222
+ > }
223
+ > }
224
+ > }
225
+ > ```
226
+ >
227
+ > Putting `XPR_ACCOUNT` inside `plugins.entries.openclaw.config` does NOT work — the plugin reads it from `process.env`, which is populated from `env.vars`, not from per-plugin config. We verified this empirically on OpenClaw 2026.3.x.
228
+
158
229
  ### Optional environment variables
159
230
 
160
231
  ```env
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAUH,OAAO,KAAK,EAAE,SAAS,EAAgC,MAAM,SAAS,CAAC;AAGvE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1E,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAElG;;;GAGG;AACH,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,YAAY,CAAC,IAAI,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;QACpB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,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AM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;QACpB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;YAChE,OAAO,EAAE,KAAK,CAAC;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,IAAI,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC,CAAC;SACjD,CAAC,CAAC;KACJ,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AA0BD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,GAAG,IAAI,CAyEpF"}
package/dist/index.js CHANGED
@@ -98,17 +98,28 @@ function xprAgentsPlugin(realApi) {
98
98
  confirmHighRisk: rawConfig.confirmHighRisk !== false,
99
99
  maxTransferAmount: rawConfig.maxTransferAmount || 10000000,
100
100
  };
101
- // Register all tool groups
102
- (0, agent_1.registerAgentTools)(api, config);
103
- (0, feedback_1.registerFeedbackTools)(api, config);
104
- (0, validation_1.registerValidationTools)(api, config);
105
- (0, escrow_1.registerEscrowTools)(api, config);
106
- (0, indexer_1.registerIndexerTools)(api, config);
107
- (0, a2a_1.registerA2ATools)(api, config);
108
- (0, shellbook_1.registerShellbookTools)(api);
101
+ // Register all tool groups. Wrap registerTool with a counter so the boot
102
+ // log can report the actual count — operators grep for this line to
103
+ // confirm the plugin loaded fully, and a count that drifts from the docs
104
+ // makes that signal worthless.
105
+ let toolCount = 0;
106
+ const countingApi = {
107
+ ...api,
108
+ registerTool: (tool) => {
109
+ toolCount++;
110
+ return api.registerTool(tool);
111
+ },
112
+ };
113
+ (0, agent_1.registerAgentTools)(countingApi, config);
114
+ (0, feedback_1.registerFeedbackTools)(countingApi, config);
115
+ (0, validation_1.registerValidationTools)(countingApi, config);
116
+ (0, escrow_1.registerEscrowTools)(countingApi, config);
117
+ (0, indexer_1.registerIndexerTools)(countingApi, config);
118
+ (0, a2a_1.registerA2ATools)(countingApi, config);
119
+ (0, shellbook_1.registerShellbookTools)(countingApi);
109
120
  if (!hasCredentials) {
110
121
  console.log('[xpr-agents] Read-only mode: XPR_ACCOUNT not set. Write tools will fail.');
111
122
  }
112
- console.log(`[xpr-agents] Plugin loaded: ${config.network} (${rpcEndpoint})`);
123
+ console.log(`[xpr-agents] Plugin loaded: ${toolCount} tools, ${config.network} (${rpcEndpoint})`);
113
124
  }
114
125
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA0EH,kCA8DC;AAtID,uCAA6D;AAC7D,yCAAmD;AACnD,+CAAyD;AACzD,mDAA6D;AAC7D,2CAAqD;AACrD,6CAAuD;AACvD,qCAA+C;AAC/C,iDAA2D;AAO3D,sEAAsE;AACtE,wEAAwE;AACxE,6CAA+D;AAAtD,+GAAA,gBAAgB,OAAA;AAAE,2GAAA,YAAY,OAAA;AAEvC,2CAOsB;AANpB,wGAAA,UAAU,OAAA;AACV,iHAAA,mBAAmB,OAAA;AACnB,0GAAA,YAAY,OAAA;AACZ,4GAAA,cAAc,OAAA;AACd,oHAAA,sBAAsB,OAAA;AACtB,4GAAA,cAAc,OAAA;AAwBhB;;;GAGG;AACH,SAAS,aAAa,CAAC,OAA0B;IAC/C,OAAO;QACL,YAAY,CAAC,IAAoB;YAC/B,OAAO,CAAC,YAAY,CAAC;gBACnB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,WAAW,EAAE,IAAI,CAAC,WAAW;gBAC7B,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,KAAK,CAAC,OAAO,CAAC,GAAW,EAAE,MAA+B;oBACxD,MAAM,MAAM,GAAG,MAAM,I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C;QACpB,OAAO,CAAC,GAAG,CAAC,0EAA0E,CAAC,CAAC;IAC1F,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,+BAA+B,SAAS,WAAW,MAAM,CAAC,OAAO,KAAK,WAAW,GAAG,CAAC,CAAC;AACpG,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpr-agents/openclaw",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "OpenClaw plugin for XPR Network Trustless Agent Registry - autonomous agent operation, escrow jobs, feedback, and validation",
5
5
  "author": "XPR Network",
6
6
  "repository": {