@blockrun/clawrouter 0.12.303 → 0.12.305
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/dist/cli.js +31337 -13753
- package/dist/index.js +31120 -13613
- package/docs/clawrouter-vs-openrouter-llm-routing-comparison.md +8 -8
- package/package.json +10 -6
|
@@ -77,20 +77,20 @@ OpenRouter uses nested model IDs: `openrouter/deepseek/deepseek-v3.2`. OpenClaw'
|
|
|
77
77
|
|
|
78
78
|
### How ClawRouter Solves This
|
|
79
79
|
|
|
80
|
-
ClawRouter uses clean aliases. You say `sonnet` and get `anthropic/claude-sonnet-4
|
|
80
|
+
ClawRouter uses clean aliases. You say `sonnet` and get `anthropic/claude-sonnet-4.6`. You say `flash` and get `google/gemini-2.5-flash`. No nested prefixes. No double-prefix bugs.
|
|
81
81
|
|
|
82
82
|
```typescript
|
|
83
83
|
// resolveModelAlias() handles all normalization
|
|
84
|
-
"sonnet" → "anthropic/claude-sonnet-4
|
|
85
|
-
"opus" → "anthropic/claude-opus-
|
|
84
|
+
"sonnet" → "anthropic/claude-sonnet-4.6"
|
|
85
|
+
"opus" → "anthropic/claude-opus-5"
|
|
86
86
|
"flash" → "google/gemini-2.5-flash"
|
|
87
|
-
"grok" → "xai/grok-4
|
|
88
|
-
"deepseek" → "deepseek/deepseek-
|
|
87
|
+
"grok" → "xai/grok-4.5"
|
|
88
|
+
"deepseek" → "deepseek/deepseek-v4.1-flash"
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
One canonical format. No mangling. No UI inconsistency.
|
|
92
92
|
|
|
93
|
-

|
|
94
94
|
|
|
95
95
|
---
|
|
96
96
|
|
|
@@ -244,8 +244,8 @@ ClawRouter maintains a curated catalog of <!-- br:models.chatVisible -->90<!-- /
|
|
|
244
244
|
|
|
245
245
|
```typescript
|
|
246
246
|
// Delisted models redirect automatically
|
|
247
|
-
"xai/grok-code-fast-1"
|
|
248
|
-
"google/gemini-
|
|
247
|
+
"xai/grok-code-fast-1" → "deepseek/deepseek-chat"
|
|
248
|
+
"google/gemini-3-pro-preview" → "google/gemini-3.1-pro"
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
No silent drops. No stale catalog. Models are benchmarked for speed, quality, and tool support before inclusion.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/clawrouter",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.305",
|
|
4
4
|
"description": "Smart LLM router — save 84% on inference costs. 90 models (7 free). Pay by credit card (API key) or USDC (x402 wallet).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
"@polymarket/clob-client-v2": "1.2.0",
|
|
96
96
|
"@scure/bip32": "^2.0.1",
|
|
97
97
|
"@scure/bip39": "^1.5.0",
|
|
98
|
-
"@solana/kit": "^8.
|
|
99
|
-
"@x402/core": "~2.
|
|
100
|
-
"@x402/evm": "~2.
|
|
101
|
-
"@x402/fetch": "~2.
|
|
102
|
-
"@x402/svm": "~2.
|
|
98
|
+
"@solana/kit": "^8.6.0",
|
|
99
|
+
"@x402/core": "~2.29.0",
|
|
100
|
+
"@x402/evm": "~2.29.0",
|
|
101
|
+
"@x402/fetch": "~2.29.0",
|
|
102
|
+
"@x402/svm": "~2.29.0",
|
|
103
103
|
"axios": "^1.20.0",
|
|
104
104
|
"bs58": "^6.0.0",
|
|
105
105
|
"https-proxy-agent": "^9.1.0",
|
|
@@ -145,6 +145,10 @@
|
|
|
145
145
|
"proxy-addr": "^2.0.8",
|
|
146
146
|
"@x402/svm": {
|
|
147
147
|
"@solana/program-client-core": "$@solana/kit"
|
|
148
|
+
},
|
|
149
|
+
"@blockrun/llm": {
|
|
150
|
+
"@x402/core": "$@x402/core",
|
|
151
|
+
"@x402/svm": "$@x402/svm"
|
|
148
152
|
}
|
|
149
153
|
},
|
|
150
154
|
"engines": {
|