Download Latest Version ProxyPal_aarch64.app.tar.gz (23.7 MB)
Email in envelope

Get an email when there's a new version of ProxyPal

Home / v0.4.23
Name Modified Size InfoDownloads / Week
Parent folder
ProxyPal_v0.4.23_x64_portable.zip 2026-04-10 9.6 MB
latest.json 2026-04-10 6.3 kB
ProxyPal_0.4.23_x64-setup.exe.sig 2026-04-10 420 Bytes
ProxyPal_0.4.23_x64-setup.exe 2026-04-10 18.9 MB
ProxyPal_x64.app.tar.gz.sig 2026-04-10 408 Bytes
ProxyPal_x64.app.tar.gz 2026-04-10 28.3 MB
ProxyPal_0.4.23_x64.dmg 2026-04-10 28.4 MB
ProxyPal_0.4.23_amd64.AppImage.sig 2026-04-10 420 Bytes
ProxyPal-0.4.23-1.x86_64.rpm.sig 2026-04-10 420 Bytes
ProxyPal_0.4.23_amd64.AppImage 2026-04-10 105.5 MB
ProxyPal-0.4.23-1.x86_64.rpm 2026-04-10 28.6 MB
ProxyPal_0.4.23_amd64.deb.sig 2026-04-10 416 Bytes
ProxyPal_0.4.23_amd64.deb 2026-04-10 28.6 MB
ProxyPal_aarch64.app.tar.gz.sig 2026-04-10 408 Bytes
ProxyPal_aarch64.app.tar.gz 2026-04-10 27.1 MB
ProxyPal_0.4.23_aarch64.dmg 2026-04-10 27.0 MB
README.md 2026-04-10 1.8 kB
v0.4.23 -- Fix ECONNRESET in Claude Code (issue #205) source code.tar.gz 2026-04-10 4.3 MB
v0.4.23 -- Fix ECONNRESET in Claude Code (issue #205) source code.zip 2026-04-10 4.4 MB
Totals: 19 Items   310.8 MB 0

Bug Fix: Claude Code ECONNRESET (#205)

Root Cause

When ProxyPal's Configure button was used with only Copilot as a provider, the Claude Code settings.json was written with gpt-5.3-codex (or another full gpt-5.X-codex model) assigned to all five model env vars including ANTHROPIC_SMALL_FAST_MODEL / ANTHROPIC_DEFAULT_HAIKU_MODEL.

These codex models are heavyweight Copilot models routed internally through copilot-api on localhost:4141. If copilot-api is not running, the sidecar closes the TCP connection mid-request and Claude Code receives ECONNRESET on every lightweight background call (auto-compact, context summaries, tool use, etc.).

Fixes Applied

1. Haiku/SMALL_FAST tier: removed bare "gpt-5" fallback pattern

  • Old code: find_model(&["claude-3-5-haiku", ..., "gpt-5"]) — matched any GPT-5 model including full codex variants
  • New code: only matches explicit mini/nano variants: gpt-5.4-mini, gpt-5.4-nano, gpt-5-mini, gpt-5-codex-mini
  • Falls back to claude-3-5-haiku-20241022 if none found (safe default)

2. ANTHROPIC_SMALL_FAST_MODEL was silently missing from generated config

  • Was absent from the env_config JSON object entirely
  • Was absent from the merge block when updating existing settings.json
  • Claude Code fell back to its default or kept a stale value → caused ECONNRESET on background calls

Workaround (for existing affected users)

Re-run Configure on the Claude Code agent in ProxyPal. This will rewrite ~/.claude/settings.json with correct model assignments. Alternatively, manually edit ~/.claude/settings.json and set:

:::json
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-3-5-haiku-20241022",
"ANTHROPIC_SMALL_FAST_MODEL": "claude-3-5-haiku-20241022"

(or any lightweight model your provider supports)

Source: README.md, updated 2026-04-10