Terminal Integration
AI can run commands and capture output - with interactive approval and safety checks
Added in v2.2.4
What Is Terminal Integration?
HalCode can execute terminal commands and see the output, allowing AI to debug errors, run tests, install dependencies, and more - all with your approval!
Features
*
Interactive Approval - You approve commands before execution
*
Real-Time Streaming - See command output as it happens
*
Safety Checks - Prevents dangerous commands
*
Error Parsing - Automatically detects and highlights errors
*
Smart Detection - Auto-detects npm, yarn, pnpm, pip, cargo, etc.
How to Use
- 1.Ask AI to run a command - Like "Run the tests" or "Install dependencies"
- 2.Review the command - AI shows you the command it wants to run
- 3.Approve or reject - Click Run to execute or Cancel to reject
- 4.See the output - AI analyzes the output and suggests next steps
Common Commands
Run Tests
npm testAI runs your tests and analyzes failures
Install Dependencies
npm install lodashAI installs packages you need
Build Project
npm run buildAI builds your project and reports errors
Safety Features
HalCode blocks dangerous commands to protect your system
- Blocked: rm -rf / - Deletes everything
- Blocked: format C: - Formats drive
- Blocked: sudo rm -rf - Dangerous deletions
Free vs Pro
Free Tier
- 10 terminal commands per day
- Interactive approval
- Safety checks
Pro
- Unlimited terminal commands
- All safety features
- Advanced error analysis