Use Claude Code with your ChatGPT, Kimi, Cursor or Grok subscription via a local Anthropic-compatible proxy
Rust
quiet debug proxy startup and cleanup
Raine Virtad2680dd2ee9e
diff --git a/scripts/debug-proxy b/scripts/debug-proxyindex 61f69f4..fe5337e 100755--- a/scripts/debug-proxy+++ b/scripts/debug-proxy@@ -56,7 +56,9 @@ cleanup() {fiprintf '\nDebug artifacts: %s\n' "$run_dir"}-trap cleanup EXIT INT TERM+trap cleanup EXIT+trap 'exit 130' INT+trap 'exit 143' TERMcd "$repo_root"cargo build --quiet --bin claude-code-proxy@@ -80,8 +82,8 @@ for _attempt in {1..20}; doproxy_pid=""breakfi- if curl --fail --silent --show-error \- "http://127.0.0.1:$proxy_port/healthz" >/dev/null; then+ if curl --fail --silent \+ "http://127.0.0.1:$proxy_port/healthz" >/dev/null 2>&1; thenbreak 2fisleep 0.1