@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/clawrouter",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "description": "Smart LLM router — save 92% on inference costs. 41+ models, one wallet, x402 micropayments.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -255,18 +255,15 @@ try {
255
255
  console.log(' Added minimax model to blockrun provider catalog');
256
256
  }
257
257
 
258
- // Ensure minimax alias is present in model picker allowlist
259
- if (!config.agents) config.agents = {};
260
- if (!config.agents.defaults) config.agents.defaults = {};
261
- if (!config.agents.defaults.models || typeof config.agents.defaults.models !== 'object') {
262
- config.agents.defaults.models = {};
263
- changed = true;
264
- }
265
- const allowlist = config.agents.defaults.models;
266
- if (!allowlist['blockrun/minimax'] || allowlist['blockrun/minimax'].alias !== 'minimax') {
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 ""