claudish 3.7.8 → 3.7.9

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -61812,8 +61812,15 @@ async function parseArgs(args) {
61812
61812
  console.log("[claudish] Ensure you are logged in to Claude Code (claude auth login)");
61813
61813
  }
61814
61814
  } else {
61815
- const usingLocalModel = isLocalModel(config3.model);
61816
- if (!usingLocalModel) {
61815
+ const allModels = [
61816
+ config3.model,
61817
+ config3.modelOpus,
61818
+ config3.modelSonnet,
61819
+ config3.modelHaiku,
61820
+ config3.modelSubagent
61821
+ ];
61822
+ const hasNonLocalModel = allModels.some((m) => m && !isLocalModel(m));
61823
+ if (hasNonLocalModel) {
61817
61824
  const apiKey = process.env[ENV.OPENROUTER_API_KEY];
61818
61825
  if (!apiKey) {
61819
61826
  if (!config3.interactive) {
@@ -62684,7 +62691,7 @@ function printAvailableModelsJSON() {
62684
62691
  console.log(JSON.stringify(output, null, 2));
62685
62692
  }
62686
62693
  }
62687
- var __filename6, __dirname6, VERSION = "3.7.8", CACHE_MAX_AGE_DAYS3 = 2, MODELS_JSON_PATH, ALL_MODELS_JSON_PATH2;
62694
+ var __filename6, __dirname6, VERSION = "3.7.9", CACHE_MAX_AGE_DAYS3 = 2, MODELS_JSON_PATH, ALL_MODELS_JSON_PATH2;
62688
62695
  var init_cli = __esm(() => {
62689
62696
  init_dist3();
62690
62697
  init_model_loader2();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "3.7.8",
3
+ "version": "3.7.9",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",