Repository navigation
v0.7.20
API Switch v0.7.20
🚀 New Features
- Claude same-protocol passthrough: Claude → Claude requests pass
through directly without protocol conversion, preserving
mid-conversation system and other Claude-specific fields - Cross-protocol blacklist defaults: All exit builders (OpenAI /
Gemini / Azure / Claude cross-protocol) use unified blacklist defaults
to prevent field loss - Headless build support: GUI-free Linux builds via gui Cargo feature
(~5MB), suitable for servers / Termux - Full platform bundling: Enabled bundle packaging for all platforms
(.exe/.msi/.dmg/.AppImage) - Real model name on Claude passthrough: Passthrough streams now
display the actual model name instead of a placeholder - Web Admin auto-write for connection apps: Headless environments can
auto-write connection app configs via Web Admin
🐛 Bug Fixes
- Anthropic cache token accounting: Prompt usage stats now correctly
include cache tokens - Claude passthrough stream usage extraction: Usage tokens are now
properly extracted from passthrough streams - Protocol field filtering fix: Anthropic-specific fields are filtered
at exit (not entry), avoiding blocking non-Claude streams - Intermediate protocol conversion cleanup: Claude → OpenAI conversion
now correctly drops Claude-specific fields - Web Admin login/logout fixes: Fixed logout hanging and redundant
/admin path in access URLs - CI build stability: Fixed aarch64 AppImage dependency missing,
release upload retry on transient failures
🧹 Cleanup
- Removed non-functional CC identity spoofing diagnostics
- Claude CLI identity headers properly forwarded in passthrough
Downloads
Portable binaries (no install needed, just run):
api-switch-windows-x64.exe— Windowsapi-switch-macos-x64— macOS Intelapi-switch-macos-arm64— macOS Apple Siliconapi-switch-linux-x64— Linux x64api-switch-linux-arm64— Linux ARM64api-switch-linux-x64-headless— Linux x64 (无 GUI,体积更小,适合服务器/Termux)api-switch-linux-arm64-headless— Linux ARM64 (无 GUI,适合服务器/Termux)
Installers (system integration):
*.msi/*.exe— Windows installer*.dmg— macOS disk image*.AppImage— Linux AppImage
Usage
- Download and run (or install via installer)
- Database is auto-created in the same directory
- Point your client to
http://127.0.0.1:9090