skalpel 2.0.10 → 2.0.12
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 +2 -7
- package/dist/cli/index.js +309 -249
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/proxy-runner.js +43 -29
- package/dist/cli/proxy-runner.js.map +1 -1
- package/dist/index.cjs +44 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +44 -31
- package/dist/index.js.map +1 -1
- package/dist/proxy/index.cjs +44 -31
- package/dist/proxy/index.cjs.map +1 -1
- package/dist/proxy/index.d.cts +0 -3
- package/dist/proxy/index.d.ts +0 -3
- package/dist/proxy/index.js +44 -31
- package/dist/proxy/index.js.map +1 -1
- package/package.json +14 -5
package/README.md
CHANGED
|
@@ -26,9 +26,9 @@ npx skalpel --api-key sk-skalpel-YOUR_KEY --auto
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
This will:
|
|
29
|
-
- Start the local proxy on
|
|
29
|
+
- Start the local proxy on port 18100 (Anthropic)
|
|
30
30
|
- Detect coding agents on your machine
|
|
31
|
-
- Configure Claude Code
|
|
31
|
+
- Configure Claude Code automatically
|
|
32
32
|
- Set shell environment variables in your `.bashrc`/`.zshrc`
|
|
33
33
|
- Begin optimizing API traffic immediately
|
|
34
34
|
|
|
@@ -68,7 +68,6 @@ Environment variables are added for tools that read them directly:
|
|
|
68
68
|
```bash
|
|
69
69
|
# BEGIN SKALPEL PROXY - do not edit manually
|
|
70
70
|
export ANTHROPIC_BASE_URL="http://localhost:18100"
|
|
71
|
-
export OPENAI_BASE_URL="http://localhost:18101"
|
|
72
71
|
# END SKALPEL PROXY
|
|
73
72
|
```
|
|
74
73
|
|
|
@@ -127,10 +126,6 @@ The proxy adds these headers to every request forwarded to the Skalpel backend:
|
|
|
127
126
|
|
|
128
127
|
The original `x-api-key` header (your Anthropic key) is forwarded as-is.
|
|
129
128
|
|
|
130
|
-
## Codex Support
|
|
131
|
-
|
|
132
|
-
Skalpel also supports OpenAI Codex on port 18101. The same `--auto` flow detects and configures both agents if present.
|
|
133
|
-
|
|
134
129
|
## SDK Integration
|
|
135
130
|
|
|
136
131
|
For programmatic use in your own applications:
|