@blockrun/clawrouter 0.10.10 → 0.10.12
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 +2 -2
- package/package.json +22 -22
- package/scripts/reinstall.sh +0 -0
- package/scripts/update.sh +0 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -6290
- package/dist/cli.js.map +0 -1
- package/dist/index.d.ts +0 -1094
- package/dist/index.js +0 -6712
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ One wallet, 41+ models, zero API keys.
|
|
|
10
10
|
|
|
11
11
|
<img src="https://img.shields.io/badge/🚀_92%25_Cost_Savings-success?style=for-the-badge" alt="92% savings">
|
|
12
12
|
<img src="https://img.shields.io/badge/🔑_Zero_API_Keys-blue?style=for-the-badge" alt="No API keys">
|
|
13
|
-
<img src="https://img.shields.io/badge/🤖_41+_Models-purple?style=for-the-badge" alt="
|
|
13
|
+
<img src="https://img.shields.io/badge/🤖_41+_Models-purple?style=for-the-badge" alt="41+ models">
|
|
14
14
|
<img src="https://img.shields.io/badge/💰_Non--Custodial-orange?style=for-the-badge" alt="Non-custodial">
|
|
15
15
|
<img src="https://img.shields.io/badge/⚡_<1ms_Routing-yellow?style=for-the-badge" alt="Fast routing">
|
|
16
16
|
|
|
@@ -120,7 +120,7 @@ Request → Weighted Scorer (15 dimensions) → Tier → Cheapest Model → Resp
|
|
|
120
120
|
| claude-sonnet-4.6 | $3.00 | $15.00 | 200K | \* |
|
|
121
121
|
| claude-haiku-4.5 | $1.00 | $5.00 | 200K | |
|
|
122
122
|
| **Google** | | | | |
|
|
123
|
-
| gemini-3.1-pro
|
|
123
|
+
| gemini-3.1-pro | $2.00 | $12.00 | 1M | \* |
|
|
124
124
|
| gemini-3-pro-preview | $2.00 | $12.00 | 1M | \* |
|
|
125
125
|
| gemini-3-flash-preview | $0.50 | $3.00 | 1M | |
|
|
126
126
|
| gemini-2.5-pro | $1.25 | $10.00 | 1M | \* |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/clawrouter",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.12",
|
|
4
4
|
"description": "Smart LLM router — save 92% on inference costs. 41+ models, one wallet, x402 micropayments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,6 +24,26 @@
|
|
|
24
24
|
"scripts",
|
|
25
25
|
"openclaw.plugin.json"
|
|
26
26
|
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"dev": "tsup --watch",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"lint": "eslint src/",
|
|
34
|
+
"format": "prettier --write .",
|
|
35
|
+
"format:check": "prettier --check .",
|
|
36
|
+
"test:resilience:errors": "tsx test/resilience-errors.ts",
|
|
37
|
+
"test:resilience:stability": "DURATION_MINUTES=5 tsx test/resilience-stability.ts",
|
|
38
|
+
"test:resilience:stability:full": "DURATION_MINUTES=240 tsx test/resilience-stability.ts",
|
|
39
|
+
"test:resilience:lifecycle": "tsx test/resilience-lifecycle.ts",
|
|
40
|
+
"test:resilience:quick": "npm run test:resilience:errors && npm run test:resilience:lifecycle",
|
|
41
|
+
"test:resilience:full": "npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full",
|
|
42
|
+
"test:e2e:tool-ids": "tsx test/e2e-tool-id-sanitization.ts",
|
|
43
|
+
"test:docker:install": "bash test/run-docker-test.sh",
|
|
44
|
+
"test:docker:edge-cases": "bash test/docker/run-edge-cases.sh",
|
|
45
|
+
"test:docker:integration": "docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration"
|
|
46
|
+
},
|
|
27
47
|
"keywords": [
|
|
28
48
|
"llm",
|
|
29
49
|
"router",
|
|
@@ -71,25 +91,5 @@
|
|
|
71
91
|
},
|
|
72
92
|
"engines": {
|
|
73
93
|
"node": ">=20"
|
|
74
|
-
},
|
|
75
|
-
"scripts": {
|
|
76
|
-
"build": "tsup",
|
|
77
|
-
"dev": "tsup --watch",
|
|
78
|
-
"test": "vitest run",
|
|
79
|
-
"test:watch": "vitest",
|
|
80
|
-
"typecheck": "tsc --noEmit",
|
|
81
|
-
"lint": "eslint src/",
|
|
82
|
-
"format": "prettier --write .",
|
|
83
|
-
"format:check": "prettier --check .",
|
|
84
|
-
"test:resilience:errors": "tsx test/resilience-errors.ts",
|
|
85
|
-
"test:resilience:stability": "DURATION_MINUTES=5 tsx test/resilience-stability.ts",
|
|
86
|
-
"test:resilience:stability:full": "DURATION_MINUTES=240 tsx test/resilience-stability.ts",
|
|
87
|
-
"test:resilience:lifecycle": "tsx test/resilience-lifecycle.ts",
|
|
88
|
-
"test:resilience:quick": "npm run test:resilience:errors && npm run test:resilience:lifecycle",
|
|
89
|
-
"test:resilience:full": "npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full",
|
|
90
|
-
"test:e2e:tool-ids": "tsx test/e2e-tool-id-sanitization.ts",
|
|
91
|
-
"test:docker:install": "bash test/run-docker-test.sh",
|
|
92
|
-
"test:docker:edge-cases": "bash test/docker/run-edge-cases.sh",
|
|
93
|
-
"test:docker:integration": "docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration"
|
|
94
94
|
}
|
|
95
|
-
}
|
|
95
|
+
}
|
package/scripts/reinstall.sh
CHANGED
|
File without changes
|
package/scripts/update.sh
CHANGED
|
File without changes
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|