Local fork of continuedev/continue for auto-approve and full-access mode experiments
MCP tools now have context-aware permissions: - In headless mode: automatically allowed (no user to ask) - In TUI mode: require user confirmation (ask permission) Previously, MCP tools fell under the wildcard '*' policy which defaults to 'ask' permission. In headless mode, tools with 'ask' permission are filtered out to prevent the AI from seeing tools it cannot call. This caused MCP tools to be unavailable in headless mode unless explicitly allowed via command-line flags or agent file configuration. Implementation: - Added generateHeadlessPolicies() method to ToolPermissionService - Headless policies inject 'mcp__*' allow policy before other policies - Default policies keep MCP tools as 'ask' (appropriate for TUI mode) - Headless policy only applies when isHeadless flag is true Benefits: - ✅ MCP tools work in headless mode without explicit --allow flags - ✅ MCP tools still require confirmation in TUI mode for safety - ✅ Consistent with agent file behavior - ✅ Maintains security for other unmatched tools Changes: - Added generateHeadlessPolicies() in ToolPermissionService - Updated initializeSync to include headless policies - Added comprehensive tests for headless mode behavior - Updated documentation to reflect context-aware permissions Co-authored-by: dallin <dallin@continue.dev> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev> |
||
|---|---|---|
| .continue | ||
| .github | ||
| .husky | ||
| .idea | ||
| .vscode | ||
| actions | ||
| binary | ||
| core | ||
| docs | ||
| eval | ||
| extensions | ||
| gui | ||
| manual-testing-sandbox | ||
| media | ||
| packages | ||
| scripts | ||
| sync | ||
| .continueignore | ||
| .eslintrc.shared.json | ||
| .gitignore | ||
| .node-version | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| CLA.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| worktree-config.yaml | ||
Continue
Ship faster with Continuous AI
The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff
Get started in Mission Control, CLI (Headless Mode), or CLI (TUI mode)
Quick Install
npm i -g @continuedev/cli
cn
Cloud Agents
Set workflows to run automatically on PR opens, schedules, or any event trigger
CLI Agents
Watch workflows execute in real-time and approve decisions step-by-step from your terminal
IDE Agents
Trigger workflows from VS Code or JetBrains—let agents handle the refactoring while you keep coding
Contributing
Read the contributing guide, and join #contribute on Discord.



