docs updates

This commit is contained in:
Nate 2026-02-16 13:19:21 -08:00
parent 5b7641614f
commit 71cd34b1bb
13 changed files with 103 additions and 174 deletions

View file

@ -258,7 +258,7 @@ The practice of using cloud agents, which we call Continuous AI, requires foreth
Browse pre-built agents for security, analytics, and more
</Card>
<Card title="CLI Guide" icon="terminal" href="/cli/overview">
<Card title="CLI Guide" icon="terminal" href="/cli/quickstart">
Learn to run agents from the command line
</Card>

View file

@ -1,46 +0,0 @@
---
title: "Install"
---
import { OSAutoDetect } from '/snippets/OSAutoDetect.jsx'
import CLIInstall from '/snippets/cli-install.mdx'
<OSAutoDetect />
<CLIInstall />
Verify the installation:
```bash
cn --version
```
## Authentication
### Log in with Continue
```bash
cn login
```
This opens your browser to authenticate with [Continue](https://continue.dev). Once authenticated, `cn` can use your configured assistants, models, and MCP servers from the platform.
### API key (headless / CI)
For automation environments where there's no browser, set the `CONTINUE_API_KEY` environment variable:
```bash
export CONTINUE_API_KEY=your-key-here
cn -p "your prompt"
```
Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys).
### Local API key
If you don't want to use Continue, you can use an Anthropic API key directly. On first launch, `cn` will prompt you to choose between logging in with Continue or entering an Anthropic API key.
## Requirements
- **Node.js 20+** — needed for the npm install path. The shell installer bundles its own runtime.
- A [Continue](https://continue.dev) account, or an Anthropic API key.

View file

@ -1,5 +1,5 @@
---
title: "Overview"
title: "Quickstart"
---
import { OSAutoDetect } from '/snippets/OSAutoDetect.jsx'
@ -17,6 +17,17 @@ Continue CLI (`cn`) is a terminal-based coding agent. It can edit files, run com
<CLIInstall />
Verify the installation:
```bash
cn --version
```
### Requirements
- **Node.js 20+** — needed for the npm install path. The shell installer bundles its own runtime.
- A [Continue](https://continue.dev) account, or an Anthropic API key.
## First run
```bash
@ -26,6 +37,31 @@ cn
On first launch you'll be asked to log in with [Continue](https://continue.dev) or enter an Anthropic API key. After that, you're in a session and can start typing.
## Authentication
### Log in with Continue
```bash
cn login
```
This opens your browser to authenticate with [Continue](https://continue.dev). Once authenticated, `cn` can use your configured assistants, models, and MCP servers from the platform.
### API key (headless / CI)
For automation environments where there's no browser, set the `CONTINUE_API_KEY` environment variable:
```bash
export CONTINUE_API_KEY=your-key-here
cn -p "your prompt"
```
Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys).
### Local API key
If you don't want to use Continue, you can use an Anthropic API key directly. On first launch, `cn` will prompt you to choose between logging in with Continue or entering an Anthropic API key.
## Two modes
**[TUI mode](/cli/tui-mode)** — run `cn` to start an interactive session. You type messages, reference files with `@`, approve tool calls, and iterate with the agent. This is the default.

View file

@ -132,7 +132,7 @@ Supported features:
## Setting up Continue CLI
1. Install Continue CLI
Follow the steps from the [official Continue docs](https://docs.continue.dev/cli/install).
Follow the steps from the [official Continue docs](https://docs.continue.dev/cli/quickstart).
2. Setting up a custom config for Ask Sage
Follow the steps in step 2 of the Overview above 👆.

View file

@ -45,8 +45,7 @@
"group": "CLI",
"icon": "terminal",
"pages": [
"cli/overview",
"cli/install",
"cli/quickstart",
"cli/tui-mode",
"cli/headless-mode",
"cli/configuration",
@ -327,6 +326,14 @@
"js": ["reo-tracking.js"]
},
"redirects": [
{
"source": "/cli/overview",
"destination": "/cli/quickstart"
},
{
"source": "/cli/install",
"destination": "/cli/quickstart"
},
{
"source": "/changelog",
"destination": "https://changelog.continue.dev"

View file

@ -70,7 +70,7 @@ The defining feature of a Cloud Agent isn't just *automation*; it is **availabil
### Human-in-the-Loop Approach
You can trigger agents manually (with Continue, use the [Continue CLI](../../cli/overview) or [Mission Control](../../mission-control)) when you need a one-off task that you want to review.
You can trigger agents manually (with Continue, use the [Continue CLI](../../cli/quickstart) or [Mission Control](../../mission-control)) when you need a one-off task that you want to review.
<Card title="Example: Refactor Task" icon="code">

View file

@ -273,7 +273,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad
### Create Workflow File
This workflow automatically validates your dlt data pipelines on pull requests using the Continue CLI in [headless mode](/cli/overview#headless-mode%3A-production-automation). It inspects pipeline schemas, checks for errors, and posts a summary report as a PR comment. The workflow can also be triggered manually via `workflow_dispatch`.
This workflow automatically validates your dlt data pipelines on pull requests using the Continue CLI in [headless mode](/cli/headless-mode). It inspects pipeline schemas, checks for errors, and posts a summary report as a PR comment. The workflow can also be triggered manually via `workflow_dispatch`.
Create `.github/workflows/dlt-pipeline-validation.yml` in your repository:

View file

@ -30,7 +30,7 @@ This guide teaches you to:
Before starting, ensure you have:
- [Continue CLI](https://docs.continue.dev/cli/overview) installed
- [Continue CLI](https://docs.continue.dev/cli/quickstart) installed
- A [Notion workspace](https://notion.so) with Editor (or higher) access
- Node.js 18+ installed locally
- [Continue account](https://continue.dev) with **Hub access**

View file

@ -20,7 +20,7 @@ description: "Set up version-controlled agents in your repository and run them w
Before starting, ensure you have:
- [Continue CLI installed](/cli/install)
- [Continue CLI installed](/cli/quickstart)
- `ANTHROPIC_API_KEY` environment variable set
- [GitHub CLI](https://cli.github.com/) installed locally if your agents interact with GitHub (pre-installed on GitHub-hosted runners)
@ -226,7 +226,7 @@ When running agents in CI/CD, follow the principle of least privilege:
--agent .continue/agents/analysis-only.md
```
Learn more in the [CLI documentation](/cli/overview#how-to-set-tool-permissions).
Learn more in the [CLI documentation](/cli/tool-permissions).
</Tab>
<Tab title="Environment Variables">
@ -359,7 +359,7 @@ your-repo/
Learn about agent components and capabilities
</Card>
<Card title="CLI Reference" icon="terminal" href="/cli/overview">
<Card title="CLI Reference" icon="terminal" href="/cli/quickstart">
Full Continue CLI documentation
</Card>

View file

@ -369,7 +369,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad
### Create Workflow File
This workflow automatically validates your Sanity schemas and content on pull requests using the Continue CLI in [headless mode](/cli/overview#headless-mode%3A-production-automation). It checks schema integrity, validates content relationships, and posts a summary report as a PR comment.
This workflow automatically validates your Sanity schemas and content on pull requests using the Continue CLI in [headless mode](/cli/headless-mode). It checks schema integrity, validates content relationships, and posts a summary report as a PR comment.
Create `.github/workflows/sanity-content-validation.yml` in your repository:

View file

@ -1,6 +1,6 @@
---
title: "What is Continue?"
description: "Run agents as CI checks on every PR"
description: "Source-controlled AI checks, enforceable in CI"
---
<video autoPlay muted loop playsInline className="rounded-xl" src="https://continue.dev/videos/demo.mp4" />

View file

@ -1,145 +1,77 @@
---
title: "GitHub Integration"
description: "Connect your GitHub account to Continue Mission Control to enable Cloud Agents to interact with your repositories. Once connected, Cloud Agents can read code, create pull requests, manage issues, and automate your development workflow."
title: "GitHub"
---
The GitHub integration connects your repositories to Mission Control so agents can read code, create pull requests, manage issues, and respond to repository events.
<Card title="Connect the GitHub Integration to:" icon="github" href="https://continue.dev/integrations/github"
>
[Connect GitHub in Mission Control](https://continue.dev/integrations/github)
- Automatically create pull requests from AI agent tasks
- Read and analyze repository code and issues
- Manage project workflows and milestones
- Automate code reviews and quality checks
- Generate release notes and documentation
## Access and permissions
</Card>
When connecting GitHub, you choose which repositories to grant access to and approve the requested permissions. These allow Continue to read repository data and open pull requests on your behalf.
You can change repository access or revoke the integration at any time from your GitHub settings or Mission Control.
## Official Workflow Templates for GitHub Cloud Agents in Continue
## Trigger events
The following **official workflow templates** are maintained by the Continue team and are available directly in the Mission Control Hub. These workflows are designed to work out of the box and represent the recommended ways to automate GitHub-based tasks.
Workflows can run automatically in response to GitHub events:
<CardGroup cols={2}>
<Card title="Update AGENTS.md" icon="robot">
Keeps your <code>AGENTS.md</code> file in sync with the agents and capabilities used in your repository.
</Card>
| Event | Description |
|-------|-------------|
| **PR Opened** | A new pull request is opened |
| **PR Merged** | A pull request is merged |
| **Label Added** | A label is added to an issue or PR |
| **Issue Opened** | A new issue is created |
| **PR Review Comment** | A review comment is added to a pull request |
| **Check Failed** | A CI check suite fails |
<Card title="Draft Changelog Updates" icon="list">
Creates draft changelog entries based on recent merged pull requests.
</Card>
<Card title="Explain Codebase" icon="code">
Generates a high-level explanation of your repository’s structure and architecture.
</Card>
<Card title="Refactor React Components" icon="toolbox">
Periodically identifies and refactors large or complex React components.
</Card>
<Card title="Improve Test Coverage" icon="shield-check">
Makes incremental improvements to test coverage on a recurring schedule.
</Card>
</CardGroup>
<Tip>Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → GitHub](https://continue.dev/integrations/github)**.</Tip>
## GitHub Trigger Event Types
When creating a workflow with a GitHub trigger, you can choose from the following event types:
| Event Type | Description |
|------------|-------------|
| **PR Opened** | Triggers when a new pull request is opened |
| **PR Merged** | Triggers when a pull request is merged |
| **Label Added** | Triggers when a specific label is added to an issue or PR |
| **Issue Opened** | Triggers when a new issue is created |
| **PR Review Comment** | Triggers when a review comment is added to a pull request |
| **Check Failed** | Triggers when a CI check suite fails |
A task kicked off by a trigger receives a summary of the event, which is appended to the Agent's prompt.
For example, an agent triggered by an `Issue Opened` trigger would see:
The agent receives a summary of the event appended to its prompt. For example, an agent triggered by `Issue Opened` sees:
```
Issue #123 was opened: Login page crashes on mobile devices
Issue URL: https://github.com/acme/webapp/issues/123
```
You can see the full initial prompt for a specific task in its logs.
The full initial prompt for a task is visible in its logs.
---
## Workflow templates
## Workflow: GitHub issue → pull request (Cloud Agent)
These templates are maintained by the Continue team and available in [Mission Control](https://continue.dev/integrations/github):
**Problem**: GitHub issues pile up because turning an issue into a tested PR takes time and context switching.
- **Update AGENTS.md** — keeps your `AGENTS.md` file in sync with agents used in the repo
- **Draft Changelog Updates** — creates draft changelog entries from recent merged pull requests
- **Explain Codebase** — generates a high-level explanation of repository structure
- **Refactor React Components** — identifies and refactors large React components on a schedule
- **Improve Test Coverage** — makes incremental test coverage improvements on a recurring schedule
**Solution**: Continue Mission Control Cloud Agents can watch issues (or be triggered by labels) and automatically open pull requests with code changes, tests, and a clear summary.
## Issue-to-PR automation
**Outcome**: Faster issue throughput, consistent PR quality, and an auditable trail from issue → commits → PR → CI results.
Agents can watch for new issues (or a specific label like `agent:fix`) and automatically open pull requests:
1. Trigger: issue opened or labeled (for example, `agent:fix`)
2. Agent gathers context: repo code + issue thread + relevant files
3. Agent implements the fix on a branch
4. Agent runs checks: tests/lint/security (your CI)
5. Agent opens a PR with:
- summary of changes
- test results / CI link
- references the original issue (closes #123)
- or whatever you specify in the agent instructions
1. Issue is opened or labeled
2. Agent gathers context from the repo, issue thread, and relevant files
3. Agent implements changes on a branch
4. CI runs (tests, lint, security)
5. Agent opens a PR referencing the original issue
## Advanced Use Cases
<Accordion title="Advanced: Custom GitHub Cloud Agent Workflow Ideas">
You can create custom workflows using Continue Cloud Agents to automate a variety of GitHub-related tasks. Here are some ideas to get you started:
- Automatically triage new issues with labels and suggested assignees
- Review pull requests for security or performance concerns
- Draft documentation updates based on code changes
- Detect deprecated APIs and open migration issues
- Summarize repository activity for weekly team updates
</Accordion>
---
## Access & Permissions
The PR content — summary, test results, issue references — is controlled by the agent's instructions. For a detailed walkthrough, see the [GitHub MCP Cookbook](/guides/github-mcp-continue-cookbook) or the [PR Review Bot guide](/guides/github-pr-review-bot).
When connecting GitHub, you’ll be asked to configure repository access and approve permissions.
- **Repository access**
Choose whether to grant access to all repositories or select specific ones. You can change this at any time in your GitHub settings.
- **Permissions**
Review and approve the requested permissions. These allow Continue to read repository data and perform automated actions like opening pull requests on your behalf.
You can revisit or revoke access at any time from GitHub or the Mission Control Hub.
---
You can also build custom workflows for other patterns: triaging issues with labels, reviewing PRs for security concerns, drafting documentation from code changes, detecting deprecated APIs, or summarizing weekly repository activity.
## FAQs
### Can Continue turn GitHub issues into ready-to-merge pull requests automatically?
Yes! You can set up workflows where Cloud Agents monitor issues (or specific labels) and create pull requests with code changes, tests, and summaries.
### How do I trigger an agent from a GitHub issue label?
You can configure a Cloud Agent that is triggered whenever an issue is labeled with a specific tag (e.g., `agent:fix`). The agent will then gather context and create a pull request based on the issue.
### Can agents create PRs from GitHub issues?
Configure a workflow with an `Issue Opened` or `Label Added` trigger. The agent gathers context and opens a pull request with code changes, tests, and a summary.
### How do I trigger an agent from an issue label?
Create a workflow with a `Label Added` trigger filtered to a specific tag (e.g., `agent:fix`).
### Can the agent run tests and include results in the PR?
Continue's Cloud Agents can be configured to run your tests and include the results in the pull request summary.
### How do I restrict which repos/issues agents can act on?
You can configure repository and issue filters within your workflows to control where agents operate.
## Support & Resources
<CardGroup cols={2}>
<Card title="GitHub MCP Cookbook" icon="book-open" href="/guides/github-mcp-continue-cookbook">
Comprehensive guide to using GitHub with Continue agents
</Card>
<Card title="GitHub PR Review Bot" icon="robot" href="/guides/github-pr-review-bot">
Automate code reviews with Continue
</Card>
</CardGroup>
Agents run your CI checks and can include results in the pull request summary.
### How do I restrict which repos or issues agents act on?
Configure repository and issue filters in your workflow settings.

View file

@ -1,6 +1,6 @@
---
title: "Overview"
description: "Run agents as CI checks on every PR"
description: "Source-controlled AI checks, enforceable in CI"
---
<Frame>
@ -80,7 +80,7 @@ You can go to [Mission Control Integrations](https://continue.dev/integrations)
<Card
title="TUI Mode"
icon="terminal"
href="/cli/overview#tui-mode%3A-interactive-development"
href="/cli/tui-mode"
>
Interactive Terminal User Interface for development workflows
@ -93,7 +93,7 @@ You can go to [Mission Control Integrations](https://continue.dev/integrations)
<Card
title="Headless Mode"
icon="server"
href="/cli/overview#headless-mode%3A-production-automation"
href="/cli/headless-mode"
>
Automated AI coding for CI/CD and server environments