@blockrun/clawrouter 0.12.43 → 0.12.44
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 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/reinstall.sh +1 -1
package/dist/index.js
CHANGED
|
@@ -996,6 +996,7 @@ var MODEL_ALIASES = {
|
|
|
996
996
|
o3: "openai/o3",
|
|
997
997
|
// DeepSeek
|
|
998
998
|
deepseek: "deepseek/deepseek-chat",
|
|
999
|
+
"deepseek-chat": "deepseek/deepseek-chat",
|
|
999
1000
|
reasoner: "deepseek/deepseek-reasoner",
|
|
1000
1001
|
// Kimi / Moonshot
|
|
1001
1002
|
kimi: "moonshot/kimi-k2.5",
|
|
@@ -8710,7 +8711,9 @@ function injectModelsConfig(logger) {
|
|
|
8710
8711
|
"anthropic/claude-sonnet-4.6",
|
|
8711
8712
|
"anthropic/claude-opus-4.6",
|
|
8712
8713
|
"anthropic/claude-haiku-4.5",
|
|
8714
|
+
"openai/gpt-5.4",
|
|
8713
8715
|
"openai/gpt-5.3",
|
|
8716
|
+
"openai/gpt-5.3-codex",
|
|
8714
8717
|
"openai/gpt-4o",
|
|
8715
8718
|
"openai/o3",
|
|
8716
8719
|
"google/gemini-3.1-pro",
|
|
@@ -8919,6 +8922,12 @@ async function createWalletCommand() {
|
|
|
8919
8922
|
acceptsArgs: true,
|
|
8920
8923
|
requireAuth: true,
|
|
8921
8924
|
handler: async (ctx) => {
|
|
8925
|
+
const primary = String(
|
|
8926
|
+
ctx.config?.agents?.defaults?.model?.primary ?? ""
|
|
8927
|
+
);
|
|
8928
|
+
if (!primary.startsWith("blockrun/")) {
|
|
8929
|
+
return {};
|
|
8930
|
+
}
|
|
8922
8931
|
const subcommand = ctx.args?.trim().toLowerCase() || "status";
|
|
8923
8932
|
let walletKey;
|
|
8924
8933
|
let address;
|