@blockrun/clawrouter 0.8.21 → 0.8.22

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
@@ -44,15 +44,15 @@ _The world's first hackathon run entirely by AI agents, powered by USDC_
44
44
 
45
45
  ## Quick Start (2 mins)
46
46
 
47
+ **Inspired by Andreas** — we've updated our installation script:
48
+
47
49
  ```bash
48
50
  # 1. Install with smart routing enabled by default
49
- curl -fsSL https://raw.githubusercontent.com/BlockRunAI/ClawRouter/main/scripts/reinstall.sh | bash
51
+ curl -fsSL https://blockrun.ai/ClawRouter-update | bash
52
+ openclaw gateway restart
50
53
 
51
54
  # 2. Fund your wallet with USDC on Base (address printed on install)
52
55
  # $5 is enough for thousands of requests
53
-
54
- # 3. Restart OpenClaw gateway
55
- openclaw gateway restart
56
56
  ```
57
57
 
58
58
  Done! Smart routing (`blockrun/auto`) is now your default model.
@@ -335,7 +335,7 @@ Agents shouldn't need a human to paste API keys. They should generate a wallet,
335
335
  Quick checklist:
336
336
 
337
337
  ```bash
338
- # Check version (should be 0.8.20+)
338
+ # Check version (should be 0.8.21+)
339
339
  cat ~/.openclaw/extensions/clawrouter/package.json | grep version
340
340
 
341
341
  # Check proxy running
@@ -343,6 +343,7 @@ curl http://localhost:8402/health
343
343
 
344
344
  # Update to latest version
345
345
  curl -fsSL https://blockrun.ai/ClawRouter-update | bash
346
+ openclaw gateway restart
346
347
  ```
347
348
 
348
349
  ClawRouter automatically checks for updates on startup and shows a notification if a newer version is available.
package/dist/cli.js CHANGED
@@ -1340,11 +1340,12 @@ var MODEL_ALIASES = {
1340
1340
  grok: "xai/grok-3",
1341
1341
  "grok-fast": "xai/grok-4-fast-reasoning",
1342
1342
  "grok-code": "xai/grok-code-fast-1",
1343
- // NVIDIA (free)
1343
+ // NVIDIA
1344
1344
  nvidia: "nvidia/gpt-oss-120b",
1345
1345
  "gpt-120b": "nvidia/gpt-oss-120b",
1346
- "gpt-20b": "nvidia/gpt-oss-20b",
1347
- free: "nvidia/gpt-oss-120b"
1346
+ "gpt-20b": "nvidia/gpt-oss-20b"
1347
+ // Note: auto, free, eco, premium are virtual routing profiles registered in BLOCKRUN_MODELS
1348
+ // They don't need aliases since they're already top-level model IDs
1348
1349
  };
1349
1350
  function resolveModelAlias(model) {
1350
1351
  const normalized = model.trim().toLowerCase();