@blockrun/clawrouter 0.11.4 → 0.11.6
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 +24 -0
- package/dist/cli.js +135 -39
- package/dist/cli.js.map +1 -1
- package/dist/index.js +73 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/reinstall.sh +14 -12
- package/scripts/update.sh +6 -0
package/package.json
CHANGED
package/scripts/reinstall.sh
CHANGED
|
@@ -255,18 +255,15 @@ try {
|
|
|
255
255
|
console.log(' Added minimax model to blockrun provider catalog');
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
//
|
|
259
|
-
|
|
260
|
-
if (
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
allowlist['blockrun/minimax'] = { alias: 'minimax' };
|
|
268
|
-
changed = true;
|
|
269
|
-
console.log(' Added minimax to model picker allowlist');
|
|
258
|
+
// Clean up broken allowlist: if it only has blockrun/ entries, delete it entirely
|
|
259
|
+
// (previous versions accidentally created an allowlist that hid all non-blockrun models)
|
|
260
|
+
if (config.agents?.defaults?.models && typeof config.agents.defaults.models === 'object') {
|
|
261
|
+
const keys = Object.keys(config.agents.defaults.models);
|
|
262
|
+
if (keys.length > 0 && keys.every(k => k.startsWith('blockrun/'))) {
|
|
263
|
+
delete config.agents.defaults.models;
|
|
264
|
+
changed = true;
|
|
265
|
+
console.log(' Removed blockrun-only allowlist (was hiding other models)');
|
|
266
|
+
}
|
|
270
267
|
}
|
|
271
268
|
|
|
272
269
|
if (changed) {
|
|
@@ -347,5 +344,10 @@ echo " /model codex → openai/gpt-5.2-codex"
|
|
|
347
344
|
echo " /model deepseek → deepseek/deepseek-chat"
|
|
348
345
|
echo " /model minimax → minimax/minimax-m2.5"
|
|
349
346
|
echo " /model free → gpt-oss-120b (FREE)"
|
|
347
|
+
echo "CLI commands:"
|
|
348
|
+
echo " npx @blockrun/clawrouter report # daily usage report"
|
|
349
|
+
echo " npx @blockrun/clawrouter report weekly # weekly report"
|
|
350
|
+
echo " npx @blockrun/clawrouter report monthly # monthly report"
|
|
351
|
+
echo " npx @blockrun/clawrouter doctor # AI diagnostics"
|
|
350
352
|
echo ""
|
|
351
353
|
echo "To uninstall: bash ~/.openclaw/extensions/clawrouter/scripts/uninstall.sh"
|
package/scripts/update.sh
CHANGED
|
@@ -245,5 +245,11 @@ fi
|
|
|
245
245
|
echo ""
|
|
246
246
|
echo " Run: openclaw gateway restart"
|
|
247
247
|
echo ""
|
|
248
|
+
echo " Commands:"
|
|
249
|
+
echo " npx @blockrun/clawrouter report # daily usage report"
|
|
250
|
+
echo " npx @blockrun/clawrouter report weekly # weekly report"
|
|
251
|
+
echo " npx @blockrun/clawrouter report monthly # monthly report"
|
|
252
|
+
echo " npx @blockrun/clawrouter doctor # AI diagnostics"
|
|
253
|
+
echo ""
|
|
248
254
|
echo " ⚠ Back up your wallet key: /wallet export (in OpenClaw)"
|
|
249
255
|
echo ""
|