-
Notifications
You must be signed in to change notification settings - Fork 634
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 3.78 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@blockrun/clawrouter",
"version": "0.12.240",
"description": "Smart LLM router — save 87% on inference costs. 65 models (7 free), one wallet, x402 micropayments.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"clawrouter": "./dist/cli.js"
},
"openclaw": {
"extensions": [
"./dist/index.js"
],
"compat": {
"pluginApiRange": ">=2026.3.24",
"minGatewayVersion": "2026.5.2"
}
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"!dist/**/*.map",
"docs/*.md",
"docs/*.png",
"scripts",
"!scripts/smoke-dist.mjs",
"skills",
"src/top-models.json",
"openclaw.plugin.json"
],
"scripts": {
"build": "tsup",
"postbuild": "node scripts/smoke-dist.mjs",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test:resilience:errors": "tsx test/resilience-errors.ts",
"test:resilience:stability": "DURATION_MINUTES=5 tsx test/resilience-stability.ts",
"test:resilience:stability:full": "DURATION_MINUTES=240 tsx test/resilience-stability.ts",
"test:resilience:lifecycle": "tsx test/resilience-lifecycle.ts",
"test:resilience:quick": "npm run test:resilience:errors && npm run test:resilience:lifecycle",
"test:resilience:full": "npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full",
"test:e2e": "tsx test/test-e2e.ts",
"test:e2e:tool-ids": "npm run build && tsx test/e2e-tool-id-sanitization.ts",
"test:docker:install": "bash test/run-docker-test.sh",
"test:docker:edge-cases": "bash test/docker/run-edge-cases.sh",
"test:docker:integration": "docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration"
},
"keywords": [
"llm",
"router",
"smart-routing",
"ai",
"openclaw",
"blockrun",
"x402",
"usdc",
"cost-optimization",
"openai",
"anthropic",
"gemini",
"deepseek",
"usdc-hackathon-winner",
"agentic-commerce"
],
"author": "BlockRun <hello@blockrun.ai>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/BlockRunAI/ClawRouter.git"
},
"dependencies": {
"@blockrun/llm": "^3.6.1",
"@noble/hashes": "^2.2.0",
"@polymarket/builder-relayer-client": "^0.0.10",
"@polymarket/builder-signing-sdk": "0.0.8",
"@polymarket/clob-client-v2": "1.0.8",
"@scure/bip32": "^2.0.1",
"@scure/bip39": "^1.5.0",
"@solana/kit": "^5.0.0",
"@x402/core": "^2.9.0",
"@x402/evm": "^2.9.0",
"@x402/fetch": "^2.9.0",
"@x402/svm": "^2.9.0",
"axios": "^1.18.1",
"https-proxy-agent": "^9.1.0",
"undici": "^8.10.0",
"viem": "^2.39.3"
},
"peerDependencies": {
"openclaw": ">=2025.1.0"
},
"peerDependenciesMeta": {
"openclaw": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.2.0",
"openclaw": "^2026.7.2-beta.7",
"prettier": "^3.8.1",
"tsup": "^8.0.0",
"tsx": "^4.21.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.58.1",
"vitest": "^4.1.3"
},
"overrides": {
"axios": "$axios",
"undici": "$undici",
"basic-ftp": "^5.3.1",
"ws": "^8.21.2",
"postcss": "^8.5.25",
"esbuild": "^0.28.1",
"brace-expansion": "^5.0.9",
"fast-uri": "^3.1.5",
"tar": "^7.5.22",
"hono": "^4.13.0",
"@hono/node-server": "^2.1.0",
"ip-address": "^10.4.0",
"jayson": {
"uuid": "^11.1.1"
}
},
"engines": {
"node": ">=22"
}
}