claudish 4.0.2 → 4.0.3

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 +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30760,7 +30760,9 @@ async function findClaudeBinary() {
30760
30760
  "/opt/homebrew/bin/claude",
30761
30761
  join4(home, ".npm-global/bin/claude"),
30762
30762
  join4(home, ".local/bin/claude"),
30763
- join4(home, "node_modules/.bin/claude")
30763
+ join4(home, "node_modules/.bin/claude"),
30764
+ "/data/data/com.termux/files/usr/bin/claude",
30765
+ join4(home, "../usr/bin/claude")
30764
30766
  ];
30765
30767
  for (const path of commonPaths) {
30766
30768
  if (existsSync4(path)) {
@@ -30769,8 +30771,8 @@ async function findClaudeBinary() {
30769
30771
  }
30770
30772
  }
30771
30773
  try {
30772
- const command = isWindows2 ? "where" : "which";
30773
- const proc = spawn(command, ["claude"], {
30774
+ const shellCommand = isWindows2 ? "where claude" : "command -v claude";
30775
+ const proc = spawn(shellCommand, [], {
30774
30776
  stdio: "pipe",
30775
30777
  shell: true
30776
30778
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
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",