Delta CLI v0.4.5-alpha Release Notes
Release Date: 2025-06-20
๐ฏ Release Overview
Delta CLI v0.4.5-alpha introduces Interactive Safety Features as part of our Command Validation System Phase 4 implementation. This release focuses on user education and safety, providing smart confirmation prompts, educational explanations, and safer alternatives for dangerous commands.
โจ Major Features
๐ก๏ธ Interactive Safety System
Smart Confirmation Prompts
- Interactive prompts for risky operations with multiple options
- User can proceed, cancel, modify, or mark commands as safe
- Risk-based prompting (only Medium/High/Critical risks trigger prompts)
Educational Content
- Comprehensive explanations of command risks
- Shows potential consequences of dangerous operations
- Provides safer alternatives with practical examples
- Links to documentation for further learning
Safety Decision Tracking
- Records all safety decisions for analysis
- View statistics with
:validation stats
- Review history with
:validation history
- Learn from user behavior patterns
๐ง Configuration Options
New validation settings available:
validation.enabled
- Master switch for validationvalidation.interactive_safety
- Enable/disable promptsvalidation.educational_info
- Show/hide educational contentvalidation.auto_deny_critical
- Auto-block critical commandsvalidation.bypass_trusted_paths
- Skip prompts in safe directories
Configure with: :validation config set <key> <value>
๐ Trusted Path Detection
Automatically bypasses safety prompts in trusted directories:
~/projects
~/dev
~/code
~/src
Work freely in your development directories without interruption!
๐ Example Use Cases
Dangerous Command Protection
Fork Bomb Detection
Risky Network Operations
๐ New Commands
:validation stats
- View safety decision statistics:validation history
- View recent safety decisions:validation config
- Manage validation configuration:validation config set <key> <value>
- Update settings:validation config get <key>
- Check current value:validation config reset
- Reset to defaults
๐ Improvements
- Commands are validated automatically before execution
- Both interactive and direct command modes are covered
- Non-blocking for safe operations (Low risk)
- Configuration persists across sessions
- Async validation for better performance
๐ Bug Fixes
- Fixed configuration persistence in ConfigManager
- Added missing SetConfig/GetConfig methods
- Improved error handling in validation flow
๐ Documentation
- Updated CLAUDE.md with validation system details
- Created comprehensive CHANGELOG.md
- Updated TASKS.md to reflect completed Phase 4
๐ What's Next
Phase 5: Advanced Features (v0.5.0-alpha)
- AI-powered obfuscation detection
- Custom rule engine with DSL
- Git-aware safety checks
- CI/CD pipeline integration
๐ป Installation
๐ Acknowledgments
Special thanks to all contributors and users who provided feedback on command safety. Your input has been invaluable in creating a safer command-line experience.
๐ Learn More
- Documentation: https://deltacli.dev/docs
- GitHub: https://github.com/deltacli/delta
- Discord: https://discord.gg/deltacli
Note: This is an alpha release. Please report any issues or suggestions on our GitHub repository.