# CodeBuddy Code v2.64.0

## New Features

### Comprehensive Web UI Enhancements

The Web UI receives a comprehensive upgrade, delivering a brand-new user experience:

- **Redesigned Interface**: Redesigned sidebar navigation, status bar, and login page with a unified visual style and interaction experience
- **Multiple Views**: Added history sessions, task management, plugin management, and other views for better information organization
- **Brand Loading Animation**: New paw-print brand loading animation replacing the generic spinner
- **Terminal Improvements**: Support for terminal title display, with automatic theme color refresh on theme switch
- **Instance Management Enhancement**: Optimized instance management panel layout and interaction
- **Cross-Session Switching**: The `/resume` command supports cross-session switching, with Web UI synchronization

## Improvements

- **Large Tool Result Externalization**: When tool results exceed 50KB, they are automatically saved to disk with a summary retained in conversation history, preventing unbounded memory growth in long-running sessions
- **Agent Task Memory Cleanup**: Periodically cleans up completed task records and expired team member session references, fixing memory leaks in long-running scenarios
- **Diagnostics Panel Enhancement**: The `/doctor` panel now includes memory usage and task statistics for easier resource troubleshooting
- **TLS Verification Skip**: Fixed the issue where disabling TLS verification did not take effect in non-proxy scenarios
- **Sub-Agent Tool Rename**: Renamed the Task tool to Agent, with the name more accurately reflecting its functionality
- **ACP Stream Optimization**: Delayed POST stream closure mechanism to resolve notification loss in tunnel scenarios
- **Gateway Security Prompt**: Added risk warnings and network access configuration guidance
- **Message Queue Fix**: Preserve queue messages when canceling requests to avoid losing queued messages
- **Token Usage Fix**: Fixed inflated percentages after compression causing repeated compression
- **Rewind Fix**: Prioritize pre-modification file state for restoration, improving rollback accuracy

## Bug Fixes

- **Ask User Question Dialog Display**: Fixed an intermittent issue where the AskUserQuestion confirmation dialog was invisible, ensuring service readiness before navigation

## Documentation Updates

- Added release notes for 6 versions from v2.62.1 to v2.63.4
- Added environment variables reference documentation
- Updated HTTP API, settings, troubleshooting, and other documentation
