Local fork of continuedev/continue for auto-approve and full-access mode experiments
Fix service initialization race condition where getAllTools() would return all tools when ToolPermissionService wasn't ready, causing plan mode to incorrectly include excluded tools like Bash. The issue occurred in GitHub Actions where `cn -p` (plan mode) should exclude Bash tool, but due to timing issues, Bash was being presented to the LLM and then failing during execution with permission errors. Changes: - Fix getAllTools() to properly pass permissions to filterExcludedTools() - Throw descriptive error when service not initialized instead of fallback - Add comprehensive regression tests covering all modes and edge cases Fixes automated PR review failures in GitHub Actions workflows. |
||
|---|---|---|
| .continue | ||
| .github/workflows | ||
| .vscode | ||
| media | ||
| spec | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| .npmignore | ||
| .nvmrc | ||
| .releaserc.json | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| demo.md | ||
| example-permissions.yaml | ||
| jest.config.mjs | ||
| jest.resolver.cjs | ||
| jest.resolver.js | ||
| jest.setup.ts | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| REFACTOR_PLAN.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||
Continue CLI
The Continue CLI (cn) is a customizable command line coding agent.
Installation
npm i -g @continuedev/cli
Usage
cn
Headless Mode
cn -p "Generate a conventional commit name for the current git changes."
Session Management
The CLI automatically saves your chat history for each terminal session. You can resume where you left off:
# Resume the last session in this terminal
cn --resume
Command Line Options
-p: Run in headless mode (no TUI)--config <path>: Specify agent configuration path--resume: Resume the last session for this terminal<prompt>: Optional prompt to start with
