# 🚀 CodeBuddy Code v2.79.0 Release

## ✨ New Features

### Daemon Mode & Background Sessions

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

### Web UI Workers & Log Management

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

### System Monitoring View

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

### Editor Experience Major Upgrade

- **Tab Enhancements**: Support drag-to-reorder, pinned tabs (Pin), overflow scroll arrows, and an 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 Cmd+P / Ctrl+P to quickly search and open files
- **File Preview**: Support image preview (zoom/drag/checkerboard background), Markdown, PDF, SVG preview, and binary file info pages
- **Status Bar**: Bottom bar displays cursor position, selection info, language type, and other editing status
- **Recent Files**: Empty editor page shows a list of recently opened files

## 🔧 Improvements

- **Execution Phase Tracking**: The 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
- **Background Task Support Expansion**: stream-json and headless modes now support background tasks; only print mode (`-p`) retains its original limitation
- **Settings Page Refactor**: Refactored into a data-driven settings panel with REST API support for reading and writing user-level settings, including toggle, select, text input, and JSON editor controls, with save feedback prompts after operations
- **Code Block Optimization**: Copy button now appears as a floating button on hover, language label bar removed for a cleaner interface
- **Menu Interaction Improvement**: Slash commands, @ file completion, and + feature panel now support clicking outside to auto-close

## 🐛 Bug Fixes

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