Skip to content

🚀 CodeBuddy Code v2.51.0 Release

🎉 New Features

Memory Directory Summary

Added memory file list summary in the system prompt, displaying file names, sizes, modification dates, and first-line titles. The AI assistant can now see at a glance which memory files you have and load relevant content on demand, avoiding stuffing all memory file contents into the context and significantly reducing Token consumption.

Automatic Memory File Cleanup

Memory files are now cleaned up alongside session history cleanup, reusing the same retention period configuration. No more worrying about the .codebuddy/memories/ directory growing indefinitely.

🔧 Improvements

  • Skills Support Inline Shell Commands: Skills' SKILL.md now supports !`command` syntax to execute Shell commands, maintaining a consistent processing pipeline with slash commands, making Skills authoring more flexible
  • Skill Slash Command Dispatch: Support invoking registered Skills directly via /skill-name or skill-name, with automatic fallback to Skill lookup when no built-in command matches, improving command usage fluency
  • Slash Command Menu Optimization: Descriptions are automatically truncated when too long, preventing menu items from spanning multiple lines for a cleaner interface
  • YAML Parsing Enhancement: Support for folded block scalar syntax (>-, >+), correctly folding multi-line descriptions into a single line
  • Model Coefficient Update: Updated billing coefficients for all models to the latest values, added support for additional models, ensuring more accurate billing

🐛 Bug Fixes

  • Confirmation Dialog Scroll Fix: Fixed an issue where the scrollbar would automatically jump to the top when permission confirmation dialogs, plan confirmation dialogs, and edit confirmation dialogs exceeded the terminal height, providing a smoother experience for confirming long content
  • Custom Sub-agent Tool Inheritance: Fixed an issue where custom sub-agents would inherit the ability to create sub-agents when no tool list was configured, preventing unintended recursive calls