skalpel 1.2.0 → 2.0.0

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/README.md CHANGED
@@ -27,10 +27,10 @@ npx skalpel --api-key sk-skalpel-YOUR_KEY --auto
27
27
 
28
28
  This will:
29
29
  - Start the local proxy on ports 18100 (Anthropic) and 18101 (OpenAI)
30
- - Detect Claude Code on your machine
31
- - Configure `~/.claude/settings.json` with `ANTHROPIC_BASE_URL=http://localhost:18100`
30
+ - Detect coding agents on your machine
31
+ - Configure Claude Code and Codex agents automatically
32
32
  - Set shell environment variables in your `.bashrc`/`.zshrc`
33
- - Begin optimizing all Claude Code API traffic immediately
33
+ - Begin optimizing API traffic immediately
34
34
 
35
35
  ### Interactive Setup
36
36
 
@@ -57,17 +57,9 @@ npx skalpel doctor
57
57
 
58
58
  ## What Gets Configured
59
59
 
60
- ### Claude Code (`~/.claude/settings.json`)
60
+ ### Claude Code
61
61
 
62
- Skalpel adds an environment override so Claude Code routes API calls through the local proxy:
63
-
64
- ```json
65
- {
66
- "env": {
67
- "ANTHROPIC_BASE_URL": "http://localhost:18100"
68
- }
69
- }
70
- ```
62
+ Claude Code is auto-configured during setup. `ANTHROPIC_BASE_URL` is set in `~/.claude/settings.json` to route API calls through the proxy. Only API endpoints (`/v1/messages`, `/v1/complete`) are routed through Skalpel for optimization; auth endpoints pass directly to Anthropic.
71
63
 
72
64
  ### Shell Environment (`~/.bashrc`, `~/.zshrc`)
73
65
 
@@ -193,4 +185,4 @@ interface SkalpelClientOptions {
193
185
  npx skalpel uninstall
194
186
  ```
195
187
 
196
- This removes the proxy, restores `~/.claude/settings.json` from backup, and cleans up shell environment variables.
188
+ This removes the proxy and cleans up shell environment variables. If a previous version of Skalpel modified `~/.claude/settings.json`, uninstall will also clean up those changes.