@blockrun/clawrouter 0.12.265 → 0.12.267
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 +15 -1
- package/dist/cli.js +1389 -417
- package/dist/index.d.ts +52 -23
- package/dist/index.js +1107 -388
- package/docs/clawrouter-cuts-llm-api-costs-500x.md +1 -1
- package/docs/configuration.md +26 -24
- package/docs/troubleshooting.md +6 -2
- package/openclaw.plugin.json +2 -1
- package/package.json +3 -2
- package/scripts/reinstall.sh +181 -77
- package/scripts/uninstall.sh +53 -8
- package/scripts/update.ps1 +215 -33
- package/scripts/update.sh +223 -86
package/README.md
CHANGED
|
@@ -80,6 +80,15 @@ This is the stack that lets agents operate autonomously: **x402 + USDC + local r
|
|
|
80
80
|
|
|
81
81
|
> **No wallet? <!-- br:models.free -->7<!-- /br:models.free --> models work free out of the box.** Install, run, and pin `free/nemotron-3.5-lightning` (or any of the <!-- br:models.free -->7<!-- /br:models.free -->) — no crypto, no signup, no balance required. Add USDC later when you want paid models.
|
|
82
82
|
|
|
83
|
+
### Desktop control plane (macOS)
|
|
84
|
+
|
|
85
|
+
The Electron app in [`apps/desktop`](apps/desktop) provides one-click connections
|
|
86
|
+
for OpenClaw, Codex, Hermes, DeepSeek Harness, and Pi, plus model pricing/context,
|
|
87
|
+
wallet balances, Base/Solana switching, and Coinbase Onramp. It snapshots each
|
|
88
|
+
agent's existing config before changing it and restores the original bytes when
|
|
89
|
+
you disconnect. Wallets are shared through `~/.blockrun`; older ClawRouter
|
|
90
|
+
wallets are copied there automatically without overwriting existing Core files.
|
|
91
|
+
|
|
83
92
|
### Option A — OpenClaw Agent
|
|
84
93
|
|
|
85
94
|
[OpenClaw](https://openclaw.ai) is an AI coding agent. If you're using it, ClawRouter installs as a plugin. **Two paths:**
|
|
@@ -93,6 +102,11 @@ openclaw gateway restart
|
|
|
93
102
|
|
|
94
103
|
This handles everything: registration, models config, auth profile, wallet setup. Smart routing (`blockrun/auto`) is now your default model.
|
|
95
104
|
|
|
105
|
+
> OpenClaw now also bundles an unrelated plugin named `clawrouter`
|
|
106
|
+
> (`@openclaw/clawrouter`). BlockRun uses the distinct plugin id
|
|
107
|
+
> `blockrun-clawrouter`; the installer preserves the official plugin and allows
|
|
108
|
+
> both products to coexist.
|
|
109
|
+
|
|
96
110
|
**A2. If you prefer pure npm:**
|
|
97
111
|
|
|
98
112
|
```bash
|
|
@@ -101,7 +115,7 @@ clawrouter setup # finishes OpenClaw integration — REQUIRED
|
|
|
101
115
|
openclaw gateway restart
|
|
102
116
|
```
|
|
103
117
|
|
|
104
|
-
> ⚠️ **Skipping `clawrouter setup` will leave you broken.** Bare `npm install -g` only puts the package on disk; it does NOT register the plugin with OpenClaw, sync the models allowlist, or write the auth profile. Symptom: `/models` in your bot shows only
|
|
118
|
+
> ⚠️ **Skipping `clawrouter setup` will leave you broken.** Bare `npm install -g` only puts the package on disk; it does NOT register the plugin with OpenClaw, sync the models allowlist, or write the auth profile. Symptom: `/models` in your bot shows only OpenClaw's defaults instead of the 55 BlockRun models. Run `clawrouter setup` to repair, or use path A1 to begin with.
|
|
105
119
|
|
|
106
120
|
### Option B — Standalone (continue.dev, Cursor, VS Code, any OpenAI-compatible client)
|
|
107
121
|
|