# 🚀 CodeBuddy Code v2.80.0 Release

## ✨ New Features

### Native Windows PowerShell Support

Added native PowerShell command execution tool that automatically detects PowerShell 7+ and Windows PowerShell 5.1 versions with adapted syntax guidance. When Git Bash is not installed, PowerShell automatically becomes the sole shell tool without crashing. Includes 24 built-in security validations covering dangerous patterns such as code injection, download-and-execute, and privilege escalation.

### Memory System Overhaul

- Typed Memory enabled by default, using 4 memory types (user/feedback/project/reference) for structured cross-session memory management
- Automatically selects the most relevant memories based on user queries to inject into context, helping the AI better understand your project and preferences
- Memories older than 1 day include a staleness warning; file paths or function names from memories trigger a reminder to verify they still exist before use
- Supports automatic memory extraction after conversation ends (must be manually enabled in settings)

### GLM-5.1 Model

Added GLM-5.1 and GLM-5.1-ioa model configurations.

## 🔧 Improvements

- **Windows Process Management Enhancement**: Replaced simple kill with taskkill process tree termination, improving process cleanup reliability on Windows
- **Windows Exit Code Semantics**: Correctly interprets non-standard exit codes from Windows tools such as robocopy and xcopy
- **JSON Parameter Fix Enhancement**: Fixed the issue where `">` was incorrectly used as `":` in LLM output, causing tool call parameter parsing failures
- **Plugin Update Resilience**: Automatically detects or reinstalls when plugin installation path is missing, preventing update failures
- **Rating Panel Interaction**: Rating panel now only intercepts rating key presses when open, no longer disabling the entire input box
- **Request Compatibility**: Removed trailing assistant messages without tool_calls, improving compatibility with more OpenAI-compatible APIs
- **WeChat Work Group Chat Optimization**: Support for group chat messages prefixed with @bot-name for permission replies, auto-skip "next step suggestions" in group chats, differentiated welcome messages for group/private chats, and added [Please reply to confirm] prefix for permission confirmation messages

## 🐛 Bug Fixes

- **Terminal Resource Leak**: Fixed the issue where Web UI terminal PTY sessions were not cleaned up on process exit, preventing system PTY device exhaustion
- **AskUserQuestion Defensive Improvement**: Fixed incorrect handling of empty questions/options in the component, added automatic rejection of invalid questions and filtering of empty label options
