# 🚀 CodeBuddy Code v2.97.1 Release

## 🐛 Bug Fixes

### /ide Auto-Connect Stability Fix

Fixed an issue where the standalone binary build (`bun build --compile`) could throw `Unexpected server response: 101` when `/ide` attempted auto-connect.

The issue was caused by the IDE WebSocket handshake being incorrectly identified as a regular HTTP response in certain situations, preventing all matching IDEs from connecting. The standalone binary now uses Bun's native WebSocket to bypass the underlying compatibility issue; versions installed via npm continue to use the original implementation and are unaffected.

The auto-connect workspace matching logic has also been tightened:

- Auto-connect is only initiated when there is exactly one IDE whose workspace path covers the current directory
- If multiple matching IDEs exist, auto-connect is silently skipped, and you can manually choose via the `/ide` command
- Lock files left behind by exited IDE processes are automatically cleaned up before connecting, avoiding connections to invalid ports

### WeChat Reply Tool Field Format Fix

Fixed an issue where some models, when calling the `WeChatReply` tool, would incorrectly write the reply body content into the `chat_id` field, causing the tool to repeatedly throw "Either text or file_path is required" errors.

This release includes:

- Completed JSON call examples in the tool description and channel instructions, clarifying the meaning of each field
- When body content is detected being incorrectly placed in the `chat_id` field, a clear correction prompt is given, guiding the model to retry with the correct field name
