@blockrun/clawrouter 0.8.31 → 0.9.1
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 +14 -12
- package/dist/cli.js +834 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.js +835 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,14 +78,15 @@ Done! Smart routing (`blockrun/auto`) is now your default model.
|
|
|
78
78
|
|
|
79
79
|
Choose your routing strategy with `/model <profile>`:
|
|
80
80
|
|
|
81
|
-
| Profile
|
|
82
|
-
|
|
83
|
-
| `/model auto`
|
|
84
|
-
| `/model eco`
|
|
85
|
-
| `/model premium` | Quality focused
|
|
86
|
-
| `/model free`
|
|
81
|
+
| Profile | Strategy | Savings | Use Case |
|
|
82
|
+
| ---------------- | ------------------ | --------- | ----------------------- |
|
|
83
|
+
| `/model auto` | Balanced (default) | 74-100% | Best overall balance |
|
|
84
|
+
| `/model eco` | Cost optimized | 95.9-100% | Maximum savings |
|
|
85
|
+
| `/model premium` | Quality focused | 0% | Best quality (Opus 4.5) |
|
|
86
|
+
| `/model free` | Free tier only | 100% | Zero cost |
|
|
87
87
|
|
|
88
88
|
**Other shortcuts:**
|
|
89
|
+
|
|
89
90
|
- **Model aliases:** `/model sonnet`, `/model grok`, `/model gpt5`, `/model o3`
|
|
90
91
|
- **Specific models:** `blockrun/openai/gpt-4o` or `blockrun/anthropic/claude-sonnet-4`
|
|
91
92
|
- **Bring your wallet:** `export BLOCKRUN_WALLET_KEY=0x...`
|
|
@@ -129,16 +130,17 @@ No external classifier calls. Ambiguous queries default to the MEDIUM tier (Grok
|
|
|
129
130
|
|
|
130
131
|
ClawRouter now offers 4 routing profiles to match different priorities:
|
|
131
132
|
|
|
132
|
-
| Profile
|
|
133
|
-
|
|
134
|
-
| **auto** (default) | Balanced quality + cost | 74-100%
|
|
135
|
-
| **eco**
|
|
136
|
-
| **premium**
|
|
137
|
-
| **free**
|
|
133
|
+
| Profile | Strategy | Savings vs Opus 4.5 | When to Use |
|
|
134
|
+
| ------------------ | ----------------------- | ------------------- | ----------------------------- |
|
|
135
|
+
| **auto** (default) | Balanced quality + cost | 74-100% | General use, best overall |
|
|
136
|
+
| **eco** | Maximum cost savings | 95.9-100% | Budget-conscious, high volume |
|
|
137
|
+
| **premium** | Best quality only | 0% | Mission-critical tasks |
|
|
138
|
+
| **free** | Free tier only | 100% | Testing, empty wallet |
|
|
138
139
|
|
|
139
140
|
Switch profiles anytime: `/model eco`, `/model premium`, `/model auto`
|
|
140
141
|
|
|
141
142
|
**Example:**
|
|
143
|
+
|
|
142
144
|
```
|
|
143
145
|
/model eco # Switch to cost-optimized routing
|
|
144
146
|
"Write a React component" # Routes to DeepSeek ($0.28/$0.42)
|