claudish 6.4.0 → 6.4.1

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/index.js CHANGED
@@ -30954,7 +30954,7 @@ async function fetchGLMCodingModels() {
30954
30954
  return [];
30955
30955
  }
30956
30956
  }
30957
- var __filename4, __dirname4, VERSION = "6.4.0", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
30957
+ var __filename4, __dirname4, VERSION = "6.4.1", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
30958
30958
  var init_cli = __esm(() => {
30959
30959
  init_config();
30960
30960
  init_model_loader();
@@ -94874,7 +94874,7 @@ class MtmDiagRunner {
94874
94874
  const quotedArgs = claudeArgs.map((a) => shellQuote(a)).join(" ");
94875
94875
  const claudeCmd = `${shellQuote(claudeCommand)} ${quotedArgs}`;
94876
94876
  const mergedEnv = { ...process.env, ...env2 };
94877
- this.mtmProc = spawn4(mtmBin, ["-e", claudeCmd, "-S", this.statusPath, "-L", this.logPath], {
94877
+ this.mtmProc = spawn4(mtmBin, ["-t", "xterm-256color", "-e", claudeCmd, "-S", this.statusPath, "-L", this.logPath], {
94878
94878
  stdio: "inherit",
94879
94879
  env: mergedEnv
94880
94880
  });
@@ -95039,14 +95039,18 @@ function renderStatusBar(state) {
95039
95039
  return parts.join("\t");
95040
95040
  }
95041
95041
  function parseLogMessage(msg) {
95042
- const providerMatch = msg.match(/\[(\w+)\]/);
95042
+ const providerMatch = msg.match(/\[(?!Fallback|Streaming|Auto-route|SSE)([^\]]+)\]/);
95043
95043
  const provider = providerMatch?.[1];
95044
+ if (msg.includes("All") && msg.includes("failed")) {
95045
+ const countMatch = msg.match(/All (\d+)/);
95046
+ return { isError: true, short: `all ${countMatch?.[1] || ""} providers failed`, provider };
95047
+ }
95044
95048
  if (msg.includes("[Fallback]")) {
95045
95049
  if (msg.includes("succeeded")) {
95046
95050
  const n = msg.match(/after (\d+)/)?.[1] || "?";
95047
95051
  return { isError: false, short: `succeeded after ${n} retries`, provider };
95048
95052
  }
95049
- const failMatch = msg.match(/(\w[\w\s]*?) failed/);
95053
+ const failMatch = msg.match(/\]\s*(.+?)\s+failed/);
95050
95054
  return { isError: false, short: failMatch ? `${failMatch[1]} failed, retrying` : "fallback", provider };
95051
95055
  }
95052
95056
  const httpMatch = msg.match(/HTTP (\d{3})/);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.2.0",
3
- "lastUpdated": "2026-03-27",
3
+ "lastUpdated": "2026-03-28",
4
4
  "source": "https://openrouter.ai/models?categories=programming&fmt=cards&order=top-weekly",
5
5
  "models": [
6
6
  {
@@ -34,12 +34,12 @@
34
34
  "category": "vision",
35
35
  "priority": 2,
36
36
  "pricing": {
37
- "input": "$0.45/1M",
38
- "output": "$2.20/1M",
39
- "average": "$1.32/1M"
37
+ "input": "$0.44/1M",
38
+ "output": "$2.22/1M",
39
+ "average": "$1.33/1M"
40
40
  },
41
41
  "context": "262K",
42
- "maxOutputTokens": 65535,
42
+ "maxOutputTokens": 262144,
43
43
  "modality": "text+image->text",
44
44
  "supportsTools": true,
45
45
  "supportsReasoning": true,