Source: official Claude Code CHANGELOG (2.1.331). Note: the CHANGELOG says the compression flag is not advised yet for self-hosted runners or Remote Control.
https://t.co/vRyzKywcmE
Claude Code 2.1.331 (Nov 23 UTC):
- claude doctor now checks API connectivity
- Fix: MCP tool calls hanging up to 30 min on malformed local/WebSocket replies
- New CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION for proxies that cut compressed replies
CHANGELOG checked Nov 24
Claude Code tip: Stop hooks fire after every response, not only at task end. Block every time and Claude keeps getting sent back.
Check stop_hook_active first:
true: exit 0 (already continued)
false: run your check, block with a reason
Our test: at most one send-back per stop.
Source: Claude Code hooks guide ("Stop hook hits the block cap") + hooks reference (use last_assistant_message on Stop, not the transcript), checked Nov 21, Claude Code 2.1.330
https://t.co/IhA59e6dtU
Gemini CLI tip: if the API takes >60s to start responding (long thinking, big context), the request is aborted and retried from scratch.
Since v0.69.0, raise it in settings.json:
"model": { "requestTimeoutMs": 180000 }
or set GEMINI_API_HEADERS_TIMEOUT_MS (env wins). Restart.