# CodeBuddy Code v2.70.0 Release

## New Features

### Model-Driven Built-in Command Invocation

AI models can now directly execute certain built-in slash commands (such as /clear, /model, /config, /resume, /gateway, etc.) through the Skill tool, enabling model-proxied command execution in non-terminal scenarios like WebChat and WeChat without requiring users to manually type slash commands.

- Commands like /model, /config, /resume now support a `list` subcommand to display available options in text format
- The `disableModelInvocation` field provides unified control over whether built-in and custom commands can be invoked by the model

## Improvements

- **Instance Registration URL Simplification**: Merged localUrl/tunnelUrl into a unified url field, with the backend automatically determining the best reachable address, simplifying configuration
- **Permission Dialog Stability**: Replaced the useEffect subscription pattern with useSyncExternalStore, completely resolving the race condition that occasionally prevented permission dialogs from appearing
- **Session Permission Mode Persistence**: Fixed the issue where permission mode was reset when switching sessions in multi-instance scenarios
