# 🚀 CodeBuddy Code v2.47.0 Release

## ✨ New Features

### Cross-session Memory

New experimental memory feature that supports persistent memory across Agent sessions. You can enable this feature through the `/config` settings panel or the `memory.enabled` configuration. Team memory mode is also supported, storing memories in the project directory for team sharing.

## 🔧 Improvements

- **command:// URI handling**: Optimized command:// resource link handling in ACP protocol, correctly converting to slash command format and echoing original content blocks
- **Command push filtering**: Fixed issue where built-in commands were incorrectly pushed to IDE, now only pushing user-defined commands, skills, and specific built-in commands
- **File path search**: Optimized matching precision for duplicate character queries to avoid mismatching scattered characters
- **SSH remote clipboard**: Fixed Ctrl+Y copy to clipboard failure in Linux + SSH remote environments by implementing OSC 52 protocol support for remote terminal clipboard operations
- **Session resume history control**: Optimized history replay logic when SDK resumes sessions, using `hasPrompt` signal to let CLI intelligently determine whether to replay history messages, improving the resume experience

## 🐛 Bug Fixes

- **Pipe input**: Fixed issue where content could not be read when using pipe input (e.g., `cat file.txt | codebuddy -p "analyze"`)
- **Stop Hooks timing**: Fixed issue where Stop Hooks were incorrectly executed when tools required user confirmation, now only triggered when there are no pending approval tools
