@blockrun/clawrouter 0.12.274 → 0.12.275
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 +3 -0
- package/dist/index.js +3 -0
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -91947,6 +91947,8 @@ async function startProxy(options) {
|
|
|
91947
91947
|
console.warn(`[ClawRouter] or run "npx @blockrun/clawrouter chain base" to switch to EVM.`);
|
|
91948
91948
|
} else if (paymentChain === "solana") {
|
|
91949
91949
|
console.log(`[ClawRouter] Payment chain: Solana (${BLOCKRUN_SOLANA_API})`);
|
|
91950
|
+
} else {
|
|
91951
|
+
console.log(`[ClawRouter] Payment chain: Base (${apiBase})`);
|
|
91950
91952
|
}
|
|
91951
91953
|
void loadGatewayCatalog(apiBase, apiKey);
|
|
91952
91954
|
const listenPort = options.port ?? getProxyPort();
|
|
@@ -92123,6 +92125,7 @@ async function startProxy(options) {
|
|
|
92123
92125
|
} else {
|
|
92124
92126
|
response.wallet = account.address;
|
|
92125
92127
|
response.paymentChain = paymentChain;
|
|
92128
|
+
response.gateway = apiBase;
|
|
92126
92129
|
if (solanaAddress) {
|
|
92127
92130
|
response.solana = solanaAddress;
|
|
92128
92131
|
}
|
package/dist/index.js
CHANGED
|
@@ -91700,6 +91700,8 @@ async function startProxy(options) {
|
|
|
91700
91700
|
console.warn(`[ClawRouter] or run "npx @blockrun/clawrouter chain base" to switch to EVM.`);
|
|
91701
91701
|
} else if (paymentChain === "solana") {
|
|
91702
91702
|
console.log(`[ClawRouter] Payment chain: Solana (${BLOCKRUN_SOLANA_API})`);
|
|
91703
|
+
} else {
|
|
91704
|
+
console.log(`[ClawRouter] Payment chain: Base (${apiBase})`);
|
|
91703
91705
|
}
|
|
91704
91706
|
void loadGatewayCatalog(apiBase, apiKey);
|
|
91705
91707
|
const listenPort = options.port ?? getProxyPort();
|
|
@@ -91876,6 +91878,7 @@ async function startProxy(options) {
|
|
|
91876
91878
|
} else {
|
|
91877
91879
|
response.wallet = account.address;
|
|
91878
91880
|
response.paymentChain = paymentChain;
|
|
91881
|
+
response.gateway = apiBase;
|
|
91879
91882
|
if (solanaAddress) {
|
|
91880
91883
|
response.solana = solanaAddress;
|
|
91881
91884
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/clawrouter",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.275",
|
|
4
4
|
"description": "Smart LLM router — save 84% on inference costs. 76 models (7 free). Pay by credit card (API key) or USDC (x402 wallet).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"test:resilience:full": "npm run test:resilience:errors && npm run test:resilience:lifecycle && npm run test:resilience:stability:full",
|
|
59
59
|
"test:e2e": "tsx test/test-e2e.ts",
|
|
60
60
|
"test:e2e:tool-ids": "npm run build && tsx test/e2e-tool-id-sanitization.ts",
|
|
61
|
+
"test:e2e:openclaw-collision": "npm run build && tsx test/openclaw-plugin-collision-e2e.ts",
|
|
61
62
|
"test:docker:install": "bash test/run-docker-test.sh",
|
|
62
63
|
"test:docker:edge-cases": "bash test/docker/run-edge-cases.sh",
|
|
63
64
|
"test:docker:integration": "docker compose -f test/integration/docker-compose.yml up --build --abort-on-container-exit --exit-code-from integration"
|