@halilertekin/claude-code-router-config 1.3.3 → 1.3.4
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/NPM_README.md +10 -4
- package/README.md +14 -3
- package/cli/commands.js +1 -1
- package/package.json +1 -1
package/NPM_README.md
CHANGED
|
@@ -23,15 +23,21 @@ ccr-setup
|
|
|
23
23
|
|
|
24
24
|
## Installation
|
|
25
25
|
|
|
26
|
+
> [!IMPORTANT]
|
|
27
|
+
> Choose only ONE installation method (Homebrew OR NPM) to avoid conflicts.
|
|
28
|
+
|
|
29
|
+
### Option 1: Homebrew (Recommended for macOS)
|
|
30
|
+
|
|
26
31
|
```bash
|
|
27
|
-
|
|
28
|
-
ccr-setup
|
|
32
|
+
brew install halilertekin/tap/claude-code-router-config
|
|
29
33
|
```
|
|
30
34
|
|
|
31
|
-
### Option 2:
|
|
35
|
+
### Option 2: NPM / PNPM
|
|
32
36
|
|
|
33
37
|
```bash
|
|
34
|
-
|
|
38
|
+
npm install -g @halilertekin/claude-code-router-config
|
|
39
|
+
# or
|
|
40
|
+
pnpm add -g @halilertekin/claude-code-router-config
|
|
35
41
|
```
|
|
36
42
|
|
|
37
43
|
### Option 3: Manual
|
package/README.md
CHANGED
|
@@ -66,9 +66,15 @@ ccr config template balanced # Best of all worlds
|
|
|
66
66
|
|
|
67
67
|
## Installation
|
|
68
68
|
|
|
69
|
-
### Option 1: Homebrew (Recommended)
|
|
69
|
+
### Option 1: Homebrew (Recommended for macOS)
|
|
70
|
+
|
|
71
|
+
> [!CAUTION]
|
|
72
|
+
> **Conflict Warning**: Do NOT install using both Homebrew and PNPM/NPM simultaneously. Choose only ONE method to avoid command conflicts.
|
|
73
|
+
|
|
74
|
+
The easiest way to install and keep updated on macOS.
|
|
70
75
|
|
|
71
76
|
```bash
|
|
77
|
+
brew uninstall ccr # Remove old versions if present
|
|
72
78
|
brew install halilertekin/tap/claude-code-router-config
|
|
73
79
|
```
|
|
74
80
|
|
|
@@ -77,11 +83,16 @@ After installation, edit your API keys in `~/.env` and start the router:
|
|
|
77
83
|
ccr code
|
|
78
84
|
```
|
|
79
85
|
|
|
80
|
-
### PNPM
|
|
86
|
+
### Option 2: PNPM (Alternative)
|
|
87
|
+
|
|
88
|
+
Use this if you are on Linux or prefer using a Node package manager.
|
|
89
|
+
|
|
90
|
+
> [!WARNING]
|
|
91
|
+
> If you have previously installed via Homebrew, please uninstall it first: `brew uninstall claude-code-router-config`
|
|
81
92
|
|
|
82
93
|
```bash
|
|
83
94
|
pnpm add -g @halilertekin/claude-code-router-config
|
|
84
|
-
ccr
|
|
95
|
+
# System is ready! Run: ccr --help
|
|
85
96
|
```
|
|
86
97
|
|
|
87
98
|
### Option 3: Manual Setup
|
package/cli/commands.js
CHANGED
|
@@ -341,7 +341,7 @@ async function main() {
|
|
|
341
341
|
|
|
342
342
|
default:
|
|
343
343
|
// Handles 'help', '--help', '-h' and empty command
|
|
344
|
-
console.log(chalk.blue('Claude Code Router - Advanced CLI (v1.3.
|
|
344
|
+
console.log(chalk.blue('Claude Code Router - Advanced CLI (v1.3.4)'));
|
|
345
345
|
console.log(chalk.gray('─'.repeat(45)));
|
|
346
346
|
|
|
347
347
|
console.log(chalk.yellow('🚀 Advanced CLI Tools:'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halilertekin/claude-code-router-config",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Multi-provider configuration for Claude Code Router with intent-based routing, advanced CLI tools, analytics, and smart routing. Setup OpenAI, Anthropic, Gemini, Qwen, GLM, OpenRouter, and GitHub Copilot with intelligent routing.",
|
|
5
5
|
"main": "install.js",
|
|
6
6
|
"bin": {
|