@blockrun/clawrouter 0.11.5 → 0.11.7
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 +8 -7
- package/dist/cli.js +73 -39
- package/dist/cli.js.map +1 -1
- package/dist/index.js +81 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/reinstall.sh +9 -12
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) {
|