Merge pull request #8467 from continuedev/continuebot/con-4622

This commit is contained in:
BekahHW 2025-10-28 16:27:59 -04:00 • committed by GitHub
commit bc2ae94aec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 0 deletions

View file

@ -77,6 +77,21 @@ cn -p "Update documentation based on recent code changes"
- **CI/CD and pipeline integration**
- **Git hooks and automated workflows**
<Info>
**Tool Permissions in TUI vs Headless Mode**
Continue CLI tools have three permission levels:
- **allow**: Executes automatically without confirmation
- **ask**: Prompts for user confirmation before execution (e.g., `writeFile`, `runTerminalCommand`)
- **exclude**: Tool is not available to the AI
**In headless mode**, tools with "ask" permission are automatically excluded to prevent the AI from seeing tools it cannot call. This ensures reliable automation without user intervention.
**In TUI mode**, tools with "ask" permission are available and will prompt for confirmation when the AI attempts to use them.
💡 **Tip**: If your workflow requires tools that need confirmation (like file writes or terminal commands), use TUI mode. For fully automated workflows with read-only operations, use headless mode.
</Info>
### Development Workflow: TUI → Headless
<Tip>

View file

@ -121,6 +121,16 @@ cn -p "Update version numbers and create release branch"
✅ **Git hooks** for automated checks
✅ **Scheduled tasks** that run unattended
<Info>
**Tool Permission Differences Between Modes**
Tools requiring user confirmation ("ask" permission) like `writeFile` and `runTerminalCommand` are:
- **Available in TUI mode** - AI can use them with your approval
- **Excluded in headless mode** - AI cannot see or call them
This prevents the AI from attempting operations that require user interaction when running in automated environments. Choose TUI mode if your workflow needs tools that modify files or run commands.
</Info>
### Available Slash Commands
Common slash commands available in CLI: