claudish 1.4.0 → 1.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/package.json CHANGED
@@ -1,20 +1,36 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "CLI tool to run Claude Code with any OpenRouter model (Grok, GPT-5, MiniMax, etc.) via local Anthropic API-compatible proxy",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {
8
8
  "claudish": "dist/index.js"
9
9
  },
10
+ "scripts": {
11
+ "dev": "bun run src/index.ts",
12
+ "dev:grok": "bun run src/index.ts --interactive --model x-ai/grok-code-fast-1",
13
+ "dev:grok:debug": "bun run src/index.ts --interactive --debug --log-level info --model x-ai/grok-code-fast-1",
14
+ "dev:info": "bun run src/index.ts --interactive --monitor",
15
+ "build": "bun build src/index.ts --outdir dist --target node && chmod +x dist/index.js",
16
+ "link": "npm link",
17
+ "unlink": "npm unlink -g claudish",
18
+ "install-global": "bun run build && npm link",
19
+ "kill-all": "pkill -f 'bun.*claudish' || pkill -f 'claude.*claudish-settings' || echo 'No claudish processes found'",
20
+ "test": "bun test ./tests/comprehensive-model-test.ts",
21
+ "typecheck": "tsc --noEmit",
22
+ "lint": "biome check .",
23
+ "format": "biome format --write .",
24
+ "postinstall": "node scripts/postinstall.cjs"
25
+ },
10
26
  "dependencies": {
11
- "hono": "^4.9.0",
12
- "@hono/node-server": "^1.13.7"
27
+ "@hono/node-server": "^1.19.6",
28
+ "hono": "^4.10.6"
13
29
  },
14
30
  "devDependencies": {
15
31
  "@biomejs/biome": "^1.9.4",
16
32
  "@types/bun": "latest",
17
- "typescript": "^5.7.0"
33
+ "typescript": "^5.9.3"
18
34
  },
19
35
  "files": [
20
36
  "dist/",
@@ -34,22 +50,5 @@
34
50
  "ai"
35
51
  ],
36
52
  "author": "Jack Rudenko <i@madappgang.com>",
37
- "license": "MIT",
38
- "scripts": {
39
- "dev": "bun run src/index.ts",
40
- "dev:grok": "bun run src/index.ts --interactive --model x-ai/grok-code-fast-1",
41
- "dev:grok:debug": "bun run src/index.ts --interactive --debug --log-level info --model x-ai/grok-code-fast-1",
42
- "dev:info": "bun run src/index.ts --interactive --monitor",
43
- "build": "bun build src/index.ts --outdir dist --target node && chmod +x dist/index.js",
44
- "link": "npm link",
45
- "unlink": "npm unlink -g claudish",
46
- "install-global": "bun run build && npm link",
47
- "kill-all": "pkill -f 'bun.*claudish' || pkill -f 'claude.*claudish-settings' || echo 'No claudish processes found'",
48
- "test": "bun test ./tests/comprehensive-model-test.ts",
49
- "typecheck": "tsc --noEmit",
50
- "lint": "biome check .",
51
- "format": "biome format --write .",
52
- "install": "bun run build && bun link",
53
- "postinstall": "node scripts/postinstall.cjs"
54
- }
55
- }
53
+ "license": "MIT"
54
+ }
@@ -1,25 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { execSync } = require('child_process');
4
-
5
- try {
6
- // Check if bun is installed
7
- execSync('bun --version', { stdio: 'ignore' });
8
- console.log('\x1b[32m✓ Bun runtime detected\x1b[0m');
9
- console.log('\x1b[32m✓ Claudish installed successfully!\x1b[0m');
10
- console.log('');
11
- console.log('\x1b[1mUsage:\x1b[0m');
12
- console.log(' claudish --model x-ai/grok-code-fast-1 "your prompt"');
13
- console.log('');
14
- } catch (error) {
15
- console.error('\x1b[33m⚠ WARNING: Bun runtime not found!\x1b[0m');
16
- console.error('');
17
- console.error('Claudish requires Bun for optimal performance (10x faster than Node.js).');
18
- console.error('');
19
- console.error('\x1b[1mInstall Bun:\x1b[0m');
20
- console.error(' curl -fsSL https://bun.sh/install | bash');
21
- console.error('');
22
- console.error('Or visit: https://bun.sh');
23
- console.error('');
24
- process.exit(0); // Don't fail installation, just warn
25
- }
3
+ console.log('\x1b[32m✓ Claudish installed successfully!\x1b[0m');
4
+ console.log('');
5
+ console.log('\x1b[1mUsage:\x1b[0m');
6
+ console.log(' claudish --model x-ai/grok-code-fast-1 "your prompt"');
7
+ console.log(' claudish --interactive # Interactive model selection');
8
+ console.log(' claudish --list-models # List all available models');
9
+ console.log('');
10
+ console.log('\x1b[1mGet started:\x1b[0m');
11
+ console.log(' 1. Set OPENROUTER_API_KEY environment variable');
12
+ console.log(' 2. Run: claudish --interactive');
13
+ console.log('');