Local fork of continuedev/continue for auto-approve and full-access mode experiments
- Mock the 'open' module to prevent actual URLs from opening during test runs - Add dedicated URL handling security tests to verify mocking behavior - Prevent potential security issues where tests could open arbitrary URLs - Verify URL construction logic without actual browser opening - Document security considerations around URL opening in tests - All tests pass with proper mocking in place Security improvement: Tests now cannot accidentally open malicious URLs during automated test runs, while still verifying the URL opening logic. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .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 | ||
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
