@blockrun/clawrouter 0.12.37 → 0.12.39
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 +1 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli.d.ts +0 -1
- package/dist/index.d.ts +0 -1389
package/dist/index.js
CHANGED
|
@@ -7328,16 +7328,7 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
7328
7328
|
|
|
7329
7329
|
`;
|
|
7330
7330
|
}
|
|
7331
|
-
|
|
7332
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
7333
|
-
model: freeModel,
|
|
7334
|
-
tier: "SIMPLE",
|
|
7335
|
-
cost: 0,
|
|
7336
|
-
baselineCost: 0,
|
|
7337
|
-
savings: 1,
|
|
7338
|
-
// 100% savings
|
|
7339
|
-
latencyMs: 0
|
|
7340
|
-
});
|
|
7331
|
+
routingDecision = { model: freeModel, tier: "SIMPLE", confidence: 1, method: "rules", reasoning: "free profile" };
|
|
7341
7332
|
} else {
|
|
7342
7333
|
effectiveSessionId = getSessionId(req.headers) ?? deriveSessionId(parsedMessages);
|
|
7343
7334
|
const existingSession = effectiveSessionId ? sessionStore.getSession(effectiveSessionId) : void 0;
|
|
@@ -9130,7 +9121,7 @@ Run \`openclaw plugins install @blockrun/clawrouter\` to generate a wallet.`,
|
|
|
9130
9121
|
"**Solana:**",
|
|
9131
9122
|
` Address: \`${solAddr}\``,
|
|
9132
9123
|
` ${solBalanceText}`,
|
|
9133
|
-
` Fund: https://solscan.io/account/${solAddr}`
|
|
9124
|
+
` Fund (USDC only): https://solscan.io/account/${solAddr}`
|
|
9134
9125
|
].join("\n");
|
|
9135
9126
|
}
|
|
9136
9127
|
}
|
|
@@ -9146,7 +9137,7 @@ Run \`openclaw plugins install @blockrun/clawrouter\` to generate a wallet.`,
|
|
|
9146
9137
|
"**Base (EVM):**",
|
|
9147
9138
|
` Address: \`${address}\``,
|
|
9148
9139
|
` ${evmBalanceText}`,
|
|
9149
|
-
` Fund: https://basescan.org/address/${address}`,
|
|
9140
|
+
` Fund (USDC only): https://basescan.org/address/${address}`,
|
|
9150
9141
|
solanaSection,
|
|
9151
9142
|
"",
|
|
9152
9143
|
`**Key File:** \`${WALLET_FILE}\``,
|