@blockrun/clawrouter 0.12.23 → 0.12.25
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 +21 -15
- package/dist/index.js +0 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,8 @@ One wallet, 41+ models, zero API keys.
|
|
|
48
48
|
| [vs OpenRouter](#-vs-openrouter) | Why ClawRouter wins |
|
|
49
49
|
| [Support](#-support) | Telegram, X, founders |
|
|
50
50
|
|
|
51
|
+
**API Docs:** [Image Generation](docs/image-generation.md) · [Architecture](docs/architecture.md) · [Configuration](docs/configuration.md)
|
|
52
|
+
|
|
51
53
|
---
|
|
52
54
|
|
|
53
55
|
## 🚀 Quick Start
|
|
@@ -202,14 +204,17 @@ Request → 402 (price: $0.003) → wallet signs USDC → retry → response
|
|
|
202
204
|
|
|
203
205
|
USDC stays in your wallet until spent - non-custodial. Price is visible in the 402 header before signing.
|
|
204
206
|
|
|
205
|
-
**Dual-chain support:** Pay with USDC on **Base (EVM)** or **Solana
|
|
207
|
+
**Dual-chain support:** Pay with **USDC** on **Base (EVM)** or **USDC on Solana** — no SOL token accepted. Both wallets are derived from a single BIP-39 mnemonic on first run.
|
|
206
208
|
|
|
207
209
|
```bash
|
|
208
210
|
/wallet # Check balance and address (both chains)
|
|
209
|
-
/wallet export # Export
|
|
210
|
-
/wallet
|
|
211
|
-
/wallet
|
|
211
|
+
/wallet export # Export mnemonic + keys for backup
|
|
212
|
+
/wallet recover # Restore wallet from mnemonic on a new machine
|
|
213
|
+
/wallet solana # Switch to Solana USDC payments
|
|
214
|
+
/wallet base # Switch back to Base (EVM) USDC payments
|
|
215
|
+
/chain solana # Alias for /wallet solana
|
|
212
216
|
/stats # View usage and savings
|
|
217
|
+
/stats clear # Reset usage statistics
|
|
213
218
|
```
|
|
214
219
|
|
|
215
220
|
**Fund your wallet:**
|
|
@@ -262,7 +267,7 @@ npx @blockrun/clawrouter doctor
|
|
|
262
267
|
This collects diagnostics and sends them to Claude Sonnet for AI-powered analysis:
|
|
263
268
|
|
|
264
269
|
```
|
|
265
|
-
🩺 BlockRun Doctor v0.
|
|
270
|
+
🩺 BlockRun Doctor v0.12.24
|
|
266
271
|
|
|
267
272
|
System
|
|
268
273
|
✓ OS: darwin arm64
|
|
@@ -325,16 +330,17 @@ npm test
|
|
|
325
330
|
|
|
326
331
|
## 📚 More Resources
|
|
327
332
|
|
|
328
|
-
| Resource
|
|
329
|
-
|
|
|
330
|
-
| [Documentation](https://blockrun.ai/docs)
|
|
331
|
-
| [Model Pricing](https://blockrun.ai/models)
|
|
332
|
-
| [
|
|
333
|
-
| [
|
|
334
|
-
| [
|
|
335
|
-
| [
|
|
336
|
-
| [
|
|
337
|
-
| [
|
|
333
|
+
| Resource | Description |
|
|
334
|
+
| ------------------------------------------------- | ------------------------ |
|
|
335
|
+
| [Documentation](https://blockrun.ai/docs) | Full docs |
|
|
336
|
+
| [Model Pricing](https://blockrun.ai/models) | All models & prices |
|
|
337
|
+
| [Image Generation](docs/image-generation.md) | API examples, 5 models |
|
|
338
|
+
| [Routing Profiles](docs/routing-profiles.md) | ECO/AUTO/PREMIUM details |
|
|
339
|
+
| [Architecture](docs/architecture.md) | Technical deep dive |
|
|
340
|
+
| [Configuration](docs/configuration.md) | Environment variables |
|
|
341
|
+
| [vs OpenRouter](docs/vs-openrouter.md) | Why ClawRouter wins |
|
|
342
|
+
| [Features](docs/features.md) | All features |
|
|
343
|
+
| [Troubleshooting](docs/troubleshooting.md) | Common issues |
|
|
338
344
|
|
|
339
345
|
---
|
|
340
346
|
|
package/dist/index.js
CHANGED
|
@@ -8235,13 +8235,6 @@ function injectModelsConfig(logger) {
|
|
|
8235
8235
|
needsWrite = true;
|
|
8236
8236
|
}
|
|
8237
8237
|
const allowlist = defaults.models;
|
|
8238
|
-
const topSet = new Set(TOP_MODELS.map((id) => `blockrun/${id}`));
|
|
8239
|
-
for (const key of Object.keys(allowlist)) {
|
|
8240
|
-
if (key.startsWith("blockrun/") && !topSet.has(key)) {
|
|
8241
|
-
delete allowlist[key];
|
|
8242
|
-
needsWrite = true;
|
|
8243
|
-
}
|
|
8244
|
-
}
|
|
8245
8238
|
let addedCount = 0;
|
|
8246
8239
|
for (const id of TOP_MODELS) {
|
|
8247
8240
|
const key = `blockrun/${id}`;
|