@blockrun/clawrouter 0.3.21 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +15 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -420,7 +420,7 @@ Agents shouldn't need a human to paste API keys. They should generate a wallet,
420
420
  ### Quick Checklist
421
421
 
422
422
  ```bash
423
- # 1. Check your version (should be 0.3.16+)
423
+ # 1. Check your version (should be 0.3.21+)
424
424
  cat ~/.openclaw/extensions/clawrouter/package.json | grep version
425
425
 
426
426
  # 2. Check proxy is running
@@ -431,11 +431,11 @@ openclaw logs --follow
431
431
  # Should see: gemini-2.5-flash $0.0012 (saved 99%)
432
432
  ```
433
433
 
434
- ### "Unknown model: blockrun/auto"
434
+ ### "Unknown model: blockrun/auto" or "Unknown model: auto"
435
435
 
436
436
  Plugin isn't loaded or outdated. **Don't change the model name** — `blockrun/auto` is correct.
437
437
 
438
- **Fix:** See [How to Update ClawRouter](#how-to-update-clawrouter) for clean reinstall steps.
438
+ **Fix:** Update to v0.3.21+ which handles both `blockrun/auto` and `auto` (OpenClaw strips provider prefix). See [How to Update ClawRouter](#how-to-update-clawrouter).
439
439
 
440
440
  ### "No API key found for provider blockrun"
441
441
 
@@ -469,11 +469,22 @@ lsof -i :8402
469
469
 
470
470
  ### How to Update ClawRouter
471
471
 
472
+ **Recommended:** Run the reinstall script (handles everything automatically):
473
+
472
474
  ```bash
473
475
  curl -fsSL https://raw.githubusercontent.com/BlockRunAI/ClawRouter/main/scripts/reinstall.sh | bash
474
- openclaw gateway restart
475
476
  ```
476
477
 
478
+ **Manual update:** If you prefer manual steps or the script fails:
479
+
480
+ ```bash
481
+ # Remove old plugin and reinstall
482
+ rm -rf ~/.openclaw/extensions/clawrouter
483
+ openclaw plugins install @blockrun/clawrouter
484
+ ```
485
+
486
+ **Note:** OpenClaw doesn't auto-update plugins. You must reinstall to get new versions.
487
+
477
488
  ### Verify Routing is Working
478
489
 
479
490
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Smart LLM router — save 78% on inference costs. 30+ models, one wallet, x402 micropayments.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",