@blockrun/clawrouter 0.10.3 â 0.10.5
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 +25 -19
- package/dist/cli.js +460 -30
- package/dist/cli.js.map +1 -1
- package/dist/index.js +418 -13
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
Route every request to the right model at the right price.<br>
|
|
8
8
|
15-dimension scoring, <1ms local routing, optimized for autonomous agents.<br>
|
|
9
|
-
One wallet,
|
|
9
|
+
One wallet, 41+ models, zero API keys.
|
|
10
10
|
|
|
11
11
|
<img src="https://img.shields.io/badge/ð_92%25_Cost_Savings-success?style=for-the-badge" alt="92% savings">
|
|
12
12
|
<img src="https://img.shields.io/badge/ð_Zero_API_Keys-blue?style=for-the-badge" alt="No API keys">
|
|
13
|
-
<img src="https://img.shields.io/badge/ðĪ
|
|
13
|
+
<img src="https://img.shields.io/badge/ðĪ_41+_Models-purple?style=for-the-badge" alt="38+ models">
|
|
14
14
|
<img src="https://img.shields.io/badge/ð°_Non--Custodial-orange?style=for-the-badge" alt="Non-custodial">
|
|
15
15
|
<img src="https://img.shields.io/badge/âĄ_<1ms_Routing-yellow?style=for-the-badge" alt="Fast routing">
|
|
16
16
|
|
|
@@ -33,18 +33,18 @@ One wallet, 38+ models, zero API keys.
|
|
|
33
33
|
|
|
34
34
|
## ð Quick Navigation
|
|
35
35
|
|
|
36
|
-
| Section | Description
|
|
37
|
-
| ----------------------------------------- |
|
|
38
|
-
| [Quick Start](#-quick-start) | Install in 2 minutes
|
|
39
|
-
| [Routing Profiles](#-routing-profiles) | eco / auto / premium / free
|
|
40
|
-
| [How It Works](#-how-it-works) | 15-dimension local routing
|
|
41
|
-
| [Models & Pricing](#-models--pricing) |
|
|
42
|
-
| [Screenshots](#-screenshots) | See it in action
|
|
43
|
-
| [Payment](#-payment) | x402 non-custodial USDC
|
|
44
|
-
| [Configuration](#%EF%B8%8F-configuration) | Environment variables
|
|
36
|
+
| Section | Description |
|
|
37
|
+
| ----------------------------------------- | ------------------------------- |
|
|
38
|
+
| [Quick Start](#-quick-start) | Install in 2 minutes |
|
|
39
|
+
| [Routing Profiles](#-routing-profiles) | eco / auto / premium / free |
|
|
40
|
+
| [How It Works](#-how-it-works) | 15-dimension local routing |
|
|
41
|
+
| [Models & Pricing](#-models--pricing) | 41+ models, full price list |
|
|
42
|
+
| [Screenshots](#-screenshots) | See it in action |
|
|
43
|
+
| [Payment](#-payment) | x402 non-custodial USDC |
|
|
44
|
+
| [Configuration](#%EF%B8%8F-configuration) | Environment variables |
|
|
45
45
|
| [Troubleshooting](#-troubleshooting) | `doctor` AI-powered diagnostics |
|
|
46
|
-
| [vs OpenRouter](#-vs-openrouter) | Why ClawRouter wins
|
|
47
|
-
| [Support](#-support) | Telegram, X, founders
|
|
46
|
+
| [vs OpenRouter](#-vs-openrouter) | Why ClawRouter wins |
|
|
47
|
+
| [Support](#-support) | Telegram, X, founders |
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
@@ -99,7 +99,7 @@ Request â Weighted Scorer (15 dimensions) â Tier â Cheapest Model â Resp
|
|
|
99
99
|
|
|
100
100
|
## ð° Models & Pricing
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
41+ models across 7 providers, one wallet:
|
|
103
103
|
|
|
104
104
|
<details>
|
|
105
105
|
<summary><strong>Click to expand full model list</strong></summary>
|
|
@@ -228,15 +228,14 @@ For basic usage, no configuration needed. For advanced options:
|
|
|
228
228
|
npx @blockrun/clawrouter doctor
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
This collects diagnostics and sends them to Claude
|
|
231
|
+
This collects diagnostics and sends them to Claude Sonnet for AI-powered analysis:
|
|
232
232
|
|
|
233
233
|
```
|
|
234
|
-
ðĐš BlockRun Doctor v0.10.
|
|
234
|
+
ðĐš BlockRun Doctor v0.10.4
|
|
235
235
|
|
|
236
236
|
System
|
|
237
237
|
â OS: darwin arm64
|
|
238
238
|
â Node: v20.11.0
|
|
239
|
-
â Memory: 8.2GB free / 16.0GB
|
|
240
239
|
|
|
241
240
|
Wallet
|
|
242
241
|
â Address: 0x1234...abcd
|
|
@@ -246,19 +245,26 @@ Network
|
|
|
246
245
|
â BlockRun API: reachable (142ms)
|
|
247
246
|
â Local proxy: not running on :8402
|
|
248
247
|
|
|
249
|
-
ðĪ Sending to Claude
|
|
248
|
+
ðĪ Sending to Claude Sonnet 4.6 (~$0.003)...
|
|
250
249
|
|
|
251
250
|
ðĪ AI Analysis:
|
|
252
251
|
The local proxy isn't running. Run `openclaw gateway restart` to fix.
|
|
253
252
|
```
|
|
254
253
|
|
|
254
|
+
**Use Opus for complex issues:**
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
npx @blockrun/clawrouter doctor opus
|
|
258
|
+
```
|
|
259
|
+
|
|
255
260
|
**Ask a specific question:**
|
|
256
261
|
|
|
257
262
|
```bash
|
|
258
263
|
npx @blockrun/clawrouter doctor "why is my request failing?"
|
|
264
|
+
npx @blockrun/clawrouter doctor opus "æ·ąåšĶåææįé
į―Ū"
|
|
259
265
|
```
|
|
260
266
|
|
|
261
|
-
**Cost:** ~$0.
|
|
267
|
+
**Cost:** Sonnet ~$0.003 (default) | Opus ~$0.01
|
|
262
268
|
|
|
263
269
|
---
|
|
264
270
|
|