Tags: coder/claudecode.nvim
Tags
fix: improve connection reliability with better handshake detection (#… …133) # Improve Claude connection reliability and queue processing This PR enhances the connection handling and queue processing for Claude Code: - Increases the connection wait delay from 200ms to 600ms to ensure Claude is fully ready before sending queued mentions - Implements a more robust connection check that verifies WebSocket handshake completion - Adds progressive polling after connection to ensure handshake is complete - Increases the delay between sequential message sends to 25ms (from 10ms) to prevent overwhelming the WebSocket connection - Adds more detailed logging for connection and queue processing states - Implements a retry mechanism that polls until handshake completes when triggered by a new connection These changes should significantly improve reliability when sending multiple mentions to Claude, especially immediately after connection.