# 🚀 CodeBuddy Code v2.79.1 Release

## ✨ New Features

### Daemon Persistent Mode & Background Sessions

Added Daemon process support, manageable via `daemon start/stop/status/restart` commands for background-running CLI instances. Also supports the `--bg` parameter to start tasks in the background, with `ps/logs/attach/kill` commands for full lifecycle management of background tasks.

### Web UI Workers & Log Management

Web UI now includes a Workers page for visual management of all Worker processes and Daemons, supporting start/stop and terminate operations. A new standalone log viewer supports 4 log types (telemetry/process/debug/conversation) switching, keyword search, and syntax highlighting.

### System Monitoring View

Web UI now includes a Metrics page displaying system CPU, memory, and disk usage overview along with per-instance process-level resource metrics (RSS, Heap, uptime), with 8-second auto-polling refresh to help you stay on top of resource status.

### Editor Experience Overhaul

- **Tab Enhancements**: Support for drag-and-drop reordering, pinned tabs (Pin), overflow scroll arrows, and enhanced context menu (copy path, reveal in file tree, close to the right, close saved)
- **Breadcrumb Navigation**: File path hierarchy displayed at the top of the editor, click to quickly switch between sibling files
- **Quick Open**: Support for Cmd+P / Ctrl+P to quickly search and open files
- **File Preview**: Support for image preview (zoom/drag/checkerboard background), Markdown, PDF, SVG preview, and binary file info page
- **Status Bar**: Bottom bar displaying cursor position, selection info, language type, and other editor status
- **Recent Files**: Empty editor page shows a list of recently opened files

## 🔧 Improvements

- **Execution Phase Tracking**: Loading status bar now shows fine-grained execution phases (preparing / waiting for model / streaming / processing / running tool), helping you understand what the Agent is currently doing
- **Extended Background Task Support**: stream-json and headless modes now support background tasks; only print mode (`-p`) retains the original limitation
- **Settings Page Refactoring**: Refactored into a data-driven settings panel with REST API support for reading/writing user-level settings, including toggle, select, text input, and JSON editor controls, with save feedback notification after operations
- **Code Block Optimization**: Copy button changed to hover-floating display, language label bar removed for a cleaner interface
- **Menu Interaction Improvements**: Slash commands, @ file completion, and + function panel now support click-outside-to-close

## 🐛 Bug Fixes

- **Command Completion Menu**: Fixed the issue where the completion menu remained visible while typing command arguments; the menu now correctly closes when the cursor leaves the command name area
- **Metrics Collection**: Fixed circular API call issue with the metrics endpoint in multi-instance scenarios
- **Session Working Directory**: Fixed the issue where Web UI session working directory was set to a URL instead of the actual path

## 📝 Documentation Updates

- **Daemon Usage Guide**: Added comprehensive Daemon persistent mode usage guide
- **API Documentation**: Added documentation for new API endpoints including Workers, Daemon, and Metrics
- **ACP Protocol Documentation**: Updated ACP protocol documentation with new features such as Team status push
- **Release Notes Sync**: Synced v2.77.0 ~ v2.79.0 release notes to IDE documentation site
