Repository navigation
Releases: xenitV1/codex-anywhere-proxy
Releases · xenitV1/codex-anywhere-proxy
Release list
v1.4.3 — Systemd Crash Loop Fix
Fixed
Critical: Systemd crash loop when proxy already running
When a manually-started proxy was already listening on port 8765, the systemd service would fail with EADDRINUSE, exit(1), and retry every 3 seconds indefinitely — causing thousands of restarts per session (7,580 recorded in one boot cycle), inotify watch exhaustion, and system instability.
Three-layer fix
server.ts— Pre-flight health check before binding. If a healthy proxy is already on the port,exit(0)so systemd treats it as successsetupService(CLI) — AddedStartLimitIntervalSec=30+StartLimitBurst=5to systemd unit. Also skips auto-restart during install if proxy is already runningcmdStart(CLI) — Callssystemctl --user reset-failedbefore starting, clearing stuck failed state
Verified
NRestarts=0(previously 7,580)- Clean
exit(0)on port conflict — no crash loop - systemd correctly manages proxy lifecycle
Full Changelog: v1.4.2...v1.4.3
v1.4.2 — Auth Log Improvement
v1.4.2
Improvements
- Log message when configured API key overrides incoming Authorization header (
[AUTH] Using configured API key) - No API key values are ever exposed in logs
v1.4.1 — API Key Priority Fix
v1.4.1
Fixes
- Configured API key now takes priority over incoming Authorization header (fixes #1)
- Previously, Codex CLI sent system API keys via Authorization header, overriding the user's configured key
- Proxy now uses
KEYfrom config.toml first, falls back to auth header only when no key is configured
v1.4.0 — Content String Safety
v1.4.0
Fixes
- forceString for all message content fields
- Merge consecutive assistant + function_call messages
- Improved image handling in multi-modal messages
v1.3.0 — Image/File Content Handling
v1.3.0
Fixes
- Handle image/file content in messages for non-vision models
- Strip base64 data, add image placeholder
v1.2.9 — GLM/Z.AI Compatibility
v1.2.9
Fixes
- Replace
content:nullwith empty string for GLM/Z.AI compatibility
v1.2.8 — Proxy Log Fix
v1.2.8
Fixes
- Create proxy.log before systemd start
- journalctl logs fallback when log file missing
v1.2.7 — Collab & Namespace Fix
v1.2.7
Fixes
- Restore namespace on collab tool calls (fixes
unsupported call: spawn_agent) - spawn_agent diagnostics logging
v1.2.6 — Upgrade Command
v1.2.6
Features
codex-proxy upgradecommand — sync npm package files to ~/.codex-proxy (keeps config.toml)
v1.2.5 — Debug & Systemd Logging
v1.2.5
Features
- config.toml debug flag
- Systemd log routing