Skip to content

Releases: xenitV1/codex-anywhere-proxy

v1.4.3 — Systemd Crash Loop Fix

Choose a tag to compare

@xenitV1 xenitV1 released this 01 Jun 21:18

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

  1. server.ts — Pre-flight health check before binding. If a healthy proxy is already on the port, exit(0) so systemd treats it as success
  2. setupService (CLI) — Added StartLimitIntervalSec=30 + StartLimitBurst=5 to systemd unit. Also skips auto-restart during install if proxy is already running
  3. cmdStart (CLI) — Calls systemctl --user reset-failed before 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

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 23:01

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

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

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 KEY from config.toml first, falls back to auth header only when no key is configured

v1.4.0 — Content String Safety

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

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

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

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

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

v1.2.9

Fixes

  • Replace content:null with empty string for GLM/Z.AI compatibility

v1.2.8 — Proxy Log Fix

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

v1.2.8

Fixes

  • Create proxy.log before systemd start
  • journalctl logs fallback when log file missing

v1.2.7 — Collab & Namespace Fix

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

v1.2.7

Fixes

  • Restore namespace on collab tool calls (fixes unsupported call: spawn_agent)
  • spawn_agent diagnostics logging

v1.2.6 — Upgrade Command

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

v1.2.6

Features

  • codex-proxy upgrade command — sync npm package files to ~/.codex-proxy (keeps config.toml)

v1.2.5 — Debug & Systemd Logging

Choose a tag to compare

@xenitV1 xenitV1 released this 30 May 22:33

v1.2.5

Features

  • config.toml debug flag
  • Systemd log routing