# 🚀 CodeBuddy Code v2.57.0 Release

## ✨ New Features

### Remote Gateway (Beta)

A brand-new remote control feature that allows you to remotely access your CodeBuddy Code CLI session from any device via Cloudflare Tunnel. It comes with a full-featured Web UI, including:

- Remote terminal panel with split-screen layout and real-time WebSocket communication
- Interactive Q&A panel for answering Agent questions directly from the Web UI
- Visual display of conversation compression and Team progress
- Secure authentication and multi-client synchronization

### Scheduled Tasks

Create scheduled tasks to let CodeBuddy automatically perform repetitive work on a set schedule. Simply define execution intervals using cron expressions, with support for viewing and canceling created tasks.

## 🔧 Improvements

- **Hook Output Collapse Configuration**: Added the `hookOutputCollapsed` setting, which can be configured via the `/config` panel to control whether Hook output is collapsed by default
- **First Token Timeout Detection Optimization**: Now detects meaningful model output instead of raw responses, preventing server heartbeats from invalidating timeout detection, with enhanced retry mechanism stability
- **Sub-agent MCP Inheritance**: Sub-agents can now correctly use MCP server tools configured by the parent agent
- **Fish Shell Keyboard Compatibility**: Fixed unresponsive key input in Fish shell 3.4+ when used with terminals supporting the Kitty keyboard protocol
- **Tool Search Parameter Optimization**: Enhanced parameter descriptions to provide better usage guidance

## 🐛 Bug Fixes

- **API Error Response Handling**: Fixed an issue where the UI would freeze when the API returned errors (e.g., rate limiting)
- **MCP OAuth Authentication**: Fixed OAuth Provider cache lookup failures to ensure a stable and reliable authentication flow
- **Memory Leak Warning**: Fixed MaxListenersExceededWarning caused by abort listeners exceeding the limit during long-running sessions
- **Streaming Output Format**: Fixed formatting and completeness issues with JSON output
- **Hooks Chinese Encoding**: Fixed garbled Chinese characters when Hooks modified tool parameters on Windows
