Copilot Proxy v0.4.0
Copilot Proxy v0.4.0
This release focuses on improving server reliability and logging clarity, building upon the XDG compliance and service management features introduced in v0.3.0.
Changes Since v0.3.0
🐛 Bug Fixes
- Graceful server startup error handling: Fixed how server startup errors are reported to prevent immediate process termination via
log.Fatalfwithin goroutines. Errors are now centralized and checked before entering the main shutdown wait loop, ensuring clean exit on binding failures.
🔧 Improvements
- Improved logging clarity: Updated log messages in the serve command to provide more context during startup, shutdown, and failure scenarios, making server behavior easier to diagnose.
📦 Version Updates
- Updated CLI version from 0.3.0 to 0.4.0
Full Commit History Since v0.3.0
49a974b- refactor(logging): improve serve command logging clarity6242b7e- fix(serve): handle server startup errors gracefully7a4316d- chore: bump version to 0.4.0
Installation & Upgrade
New Installation:
make install
./scripts/copilot-proxy-ctl.sh installUpgrade from v0.3.0:
make install
./scripts/copilot-proxy-ctl.sh restartService Management (macOS)
The proxy includes launchd integration with automatic GOBIN detection. Use the control script for service management:
./scripts/copilot-proxy-ctl.sh status # Check service health
./scripts/copilot-proxy-ctl.sh restart # Apply updates
./scripts/copilot-proxy-ctl.sh logs # View service logsConfiguration Notes
- Configuration follows XDG Base Directory Specification (
~/.config/copilot-proxy/config.json) - Environment variables take precedence over config file
- Multiple API key environment variables supported:
ZAI_API_KEY,ZAI_CODING_API_KEY,GLM_API_KEY
API Compatibility
- CLI Version: 0.4.0
- API Version: 0.6.4 (maintains Ollama compatibility)
- Supported Models: GLM-4.6 (200k context), GLM-4.5 (128k context), GLM-4.5-Air