# 🚀 CodeBuddy Code v2.97.2 Release

## 🔧 Improvements

- **Warning Suppression**: Suppressed unhelpful warnings such as DEP0040 (punycode), NODE_TLS_REJECT_UNAUTHORIZED, and AbortSignal MaxListenersExceeded for cleaner terminal output
- **Custom Agent Hooks Support**: Custom Agent frontmatter now supports hooks configuration, expanding the capability boundary of custom Agents
- **rm Command Risk Level Adjustment**: Non-recursive multi-file rm has been downgraded from HIGH to MEDIUM, reducing unnecessary permission confirmation prompts

## 🐛 Bug Fixes

- **MCP Tools Invisible in ACP Mode**: Fixed an issue where MCP tools could not be discovered or used in IDE embedded / Web UI / Workbuddy Desktop modes. Configuration changes now trigger automatic re-scanning, and connected servers will not establish duplicate connections
- **IDE-Integrated Sub-Agent Tool Calls**: Fixed an issue in IDE integration mode where sub-agent calls to Read / Write / Edit / Bash and other tools were rejected by the client due to session ID mismatches
- **Session Start Hook Consistency**: Unified the SessionStart hook trigger paths across all entry points to prevent the first prompt from missing context
- **Plugin Loading**: Fixed an issue where plugins specified via `--plugin-dir` could not be recognized in headless / ACP modes
- **Plugin Extraction Permissions**: Preserved executable bits when extracting plugin zip files, fixing the issue where bundled scripts could not be executed
- **Garbled Input in tmux**: Fixed an issue where Kitty keyboard protocol control sequences caused garbled characters in the input box under tmux
