🚀 What's New
E2B Sandbox CLI-Only Experience
The --sandbox e2b
command now provides a pure CLI experience with enhanced interactive features:
🎯 Key Features
- Interactive Agent Selection: When
--agent
is not provided, browse and select from 600+ available agents - Interactive Prompt Input: When
--prompt
is not provided, enter your requirements interactively - Execution Confirmation: Review execution details and confirm with Y/n before starting
- Real-time Monitoring: See execution logs in real-time with ability to cancel (ESC key)
- Direct File Downloads: Files download to current directory in
sandbox-xxxxx
folder
🔧 Improvements
- Separated
--studio
(web interface) from--sandbox
(CLI) for better automation support - Fixed file download location - now saves to user's current directory
- Updated timeout to 15 minutes for complex operations
- Enhanced error messages and user guidance
📖 Documentation
- Updated E2B sandbox blog post with accurate workflow information
- Added complete 12-step execution process documentation
- Clarified interactive features and file download behavior
💻 Usage Examples
# Interactive mode - let CLI guide you
npx claude-code-templates@latest --sandbox e2b \
--e2b-api-key your_key \
--anthropic-api-key your_key
# Direct execution with all parameters
npx claude-code-templates@latest --sandbox e2b \
--agent frontend-developer \
--prompt "Create a React app" \
--e2b-api-key your_key \
--anthropic-api-key your_key
🐛 Bug Fixes
- Fixed Python script execution working directory
- Resolved agent path resolution for nested agents
- Improved environment variable loading from .env files
Full Changelog: v1.20.3...v1.21.0