skalpel 2.0.12 → 2.0.13
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 +7 -2
- package/dist/cli/index.js +634 -314
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/proxy-runner.js +460 -86
- package/dist/cli/proxy-runner.js.map +1 -1
- package/dist/index.cjs +608 -132
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.js +608 -132
- package/dist/index.js.map +1 -1
- package/dist/proxy/index.cjs +492 -88
- package/dist/proxy/index.cjs.map +1 -1
- package/dist/proxy/index.d.cts +10 -0
- package/dist/proxy/index.d.ts +10 -0
- package/dist/proxy/index.js +492 -88
- package/dist/proxy/index.js.map +1 -1
- package/package.json +6 -13
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 ports 18100 (Anthropic) and 18101 (OpenAI)
|
|
30
30
|
- Detect coding agents on your machine
|
|
31
|
-
- Configure Claude Code automatically
|
|
31
|
+
- Configure Claude Code and Codex agents automatically
|
|
32
32
|
- Set shell environment variables in your `.bashrc`/`.zshrc`
|
|
33
33
|
- Begin optimizing API traffic immediately
|
|
34
34
|
|
|
@@ -68,6 +68,7 @@ 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"
|
|
71
72
|
# END SKALPEL PROXY
|
|
72
73
|
```
|
|
73
74
|
|
|
@@ -126,6 +127,10 @@ The proxy adds these headers to every request forwarded to the Skalpel backend:
|
|
|
126
127
|
|
|
127
128
|
The original `x-api-key` header (your Anthropic key) is forwarded as-is.
|
|
128
129
|
|
|
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
|
+
|
|
129
134
|
## SDK Integration
|
|
130
135
|
|
|
131
136
|
For programmatic use in your own applications:
|