From 2380a848590e2710dde27824e851365f33caeed3 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 1 Dec 2025 23:58:16 +0000 Subject: [PATCH 01/22] Add PostHog, Atlassian, and Netlify integration documentation - Created comprehensive documentation for PostHog integration covering analytics, feature flags, and data-driven development workflows - Created Atlassian integration docs for Jira and Confluence automation including issue management, sprint planning, and documentation sync - Created Netlify integration docs for deployment automation, environment management, and site monitoring - Updated integrations overview page to include all three new integrations - Added new integration pages to docs.json navigation All three integrations follow the established documentation style and include: - Overview with key capabilities - Detailed setup instructions - Multiple use case examples with specific agent tasks - Manual and automated workflow guidance - GitHub integration examples - Comprehensive troubleshooting section - Links to relevant cookbook guides Co-authored-by: bekah-hawrot-weigel --- docs/docs.json | 5 +- .../integrations/atlassian.mdx | 324 ++++++++++++++++++ docs/mission-control/integrations/index.mdx | 16 +- docs/mission-control/integrations/netlify.mdx | 324 ++++++++++++++++++ docs/mission-control/integrations/posthog.mdx | 297 ++++++++++++++++ 5 files changed, 963 insertions(+), 3 deletions(-) create mode 100644 docs/mission-control/integrations/atlassian.mdx create mode 100644 docs/mission-control/integrations/netlify.mdx create mode 100644 docs/mission-control/integrations/posthog.mdx diff --git a/docs/docs.json b/docs/docs.json index 9e61f5d6c..adf43cf31 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -37,7 +37,10 @@ "mission-control/integrations/github", "mission-control/integrations/sentry", "mission-control/integrations/snyk", - "mission-control/integrations/slack-agent" + "mission-control/integrations/slack-agent", + "mission-control/integrations/posthog", + "mission-control/integrations/atlassian", + "mission-control/integrations/netlify" ] }, "mission-control/metrics", diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx new file mode 100644 index 000000000..67230b234 --- /dev/null +++ b/docs/mission-control/integrations/atlassian.mdx @@ -0,0 +1,324 @@ +--- +title: "Atlassian Integration" +description: "Connect Jira and Confluence to automate project management and documentation with Continue Agents" +--- + +## Overview + +Connect Atlassian products (Jira and Confluence) to Continue Mission Control to enable agents to manage issues, track projects, and maintain documentation. When Atlassian is enabled, Continue can automate ticket creation, sync documentation, and streamline development workflows. + + + + - Automatically create and update Jira issues from code changes + - Sync documentation between Confluence and your codebase + - Generate release notes and project updates + - Track development progress across projects + - Automate sprint planning and backlog grooming + - Create PRs linked to Jira tickets + + + +## Setup + + + + + + Go to your [Integrations Settings](https://hub.continue.dev/integrations). + + + + + + Click "Connect" next to Atlassian. You'll need the following credentials: + + - **Atlassian Domain**: Your Atlassian domain (e.g., `your-company.atlassian.net`) + - **Email**: Your Atlassian account email + - **API Token**: Generate from Atlassian account settings + + + + + + To create an API token: + 1. Go to [Atlassian API Tokens](https://id.atlassian.com/manage-profile/security/api-tokens) + 2. Click "Create API token" + 3. Give it a descriptive name (e.g., "Continue Mission Control") + 4. Copy the token immediately (it won't be shown again) + + + + + + Paste your domain, email, and API token into the integration form and click "Create Connection" + + + + + + + + **Security Best Practice**: Create a dedicated API token for Continue rather than reusing existing tokens. This makes it easier to revoke access if needed. + + + +## Use Cases + +### Automated Issue Management + +Create agents that manage your Jira backlog: + + + + **Task Example**: "Create Jira tickets for all TODO comments in the codebase with priority based on code location" + + **What the Agent Does**: + - Scans codebase for TODO and FIXME comments + - Creates Jira issues with relevant context + - Links issues to code files and line numbers + - Assigns priority based on file criticality + + **Run in Mission Control**: Schedule weekly or after major releases + + + +### Sprint Planning Automation + +Streamline sprint planning with intelligent automation: + + + + **Task Example**: "Analyze backlog items and create a proposed sprint plan based on team velocity and priorities" + + **What the Agent Does**: + - Reviews open Jira issues and their estimates + - Considers team capacity and historical velocity + - Groups related tickets together + - Creates a proposed sprint with balanced workload + + **Run in Mission Control**: Run before sprint planning meetings + + + +### Documentation Sync + +Keep Confluence and code documentation in sync: + + + + **Task Example**: "Update Confluence API documentation to match current OpenAPI spec" + + **What the Agent Does**: + - Parses API specifications from codebase + - Compares with existing Confluence documentation + - Updates or creates Confluence pages with changes + - Notifies team of significant API changes + + **Run in Mission Control**: Trigger on API spec changes or schedule weekly + + + +### Release Management + +Automate release notes and changelog generation: + + + + **Task Example**: "Generate release notes from closed Jira tickets since last release and publish to Confluence" + + **What the Agent Does**: + - Queries Jira for tickets closed since last release + - Categorizes changes (features, fixes, improvements) + - Generates formatted release notes + - Creates or updates Confluence release page + + **Run in Mission Control**: Trigger manually before releases + + + +### Project Tracking + +Monitor development progress and blockers: + + + + **Task Example**: "Analyze current sprint progress and identify blocked or at-risk items" + + **What the Agent Does**: + - Reviews sprint board status + - Identifies tickets without recent updates + - Flags dependencies and blockers + - Generates summary report in Confluence + + **Run in Mission Control**: Schedule daily during active sprints + + + +### Code-to-Ticket Linking + +Maintain traceability between code and requirements: + + + + **Task Example**: "Review recent PRs and ensure they're linked to appropriate Jira tickets" + + **What the Agent Does**: + - Scans merged PRs without Jira ticket references + - Analyzes PR content to find related tickets + - Adds Jira ticket links to PRs and vice versa + - Reports PRs that may need ticket creation + + **Run in Mission Control**: Run daily or after PR merges + + + +## Running Atlassian Agents in Mission Control + +You can run Atlassian-connected agents in two ways: + +### 1. Manual Tasks + +Trigger agents on-demand for project management: + +1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +2. Select or create an Atlassian-enabled agent +3. Click "Run Agent" and provide your task description +4. Monitor progress and review results in real-time + +**Example Tasks:** +- "Summarize all critical bugs from the last sprint" +- "Create architecture decision records in Confluence for recent technical decisions" +- "Update the project roadmap based on current velocity" + +### 2. Automated Workflows + +Set up agents to run automatically: + +- **Scheduled**: Run daily standup summaries, weekly backlog reviews +- **Triggered**: Execute on Jira events (new critical bug, sprint completion) +- **Webhook**: Integrate with CI/CD to update tickets on deployments + + + + Start with manual tasks to refine your Jira queries and Confluence formatting, then convert successful patterns to automated workflows. + + + +## Integration with GitHub + +Combine Atlassian with GitHub for complete development workflow automation: + + + + + + Enable both Atlassian and GitHub integrations in Mission Control + + + + + + Build an agent that: + - Creates PRs for Jira tickets + - Updates ticket status based on PR state + - Links code changes to requirements + - Updates Confluence with technical decisions + + + + + + Configure the agent to run throughout the development lifecycle + + + + + +## Monitoring Agent Activity + +Track your agent's project management automation: + +1. **View in Mission Control**: See all agent runs and their outputs +2. **Check Jira**: Verify tickets are created and updated correctly +3. **Review Confluence**: Ensure documentation is accurate and well-formatted +4. **Monitor Metrics**: Track automation impact on team velocity + +## Troubleshooting + + + + **Problem**: Agent can't connect to Atlassian services + + **Solutions**: + - Verify API token hasn't expired + - Check that email matches the token's account + - Ensure domain includes `.atlassian.net` + - Regenerate token if necessary + + + + + + **Problem**: Agent can't create or update items + + **Solutions**: + - Verify your Atlassian account has appropriate permissions + - Check project-level permissions in Jira + - Ensure space permissions are correct in Confluence + - Contact your Atlassian admin if needed + + + + + + **Problem**: Agent reports Jira issues don't exist + + **Solutions**: + - Verify issue keys are correct (e.g., PROJECT-123) + - Check that you have access to the project + - Ensure issues aren't in a restricted project + - Verify your API token has read access + + + + + + **Problem**: Documentation changes aren't reflected in Confluence + + **Solutions**: + - Check that you have edit permissions for the space + - Verify page IDs are correct + - Ensure Confluence Cloud API is accessible + - Review agent logs for specific error messages + + + + + + **Problem**: Agent hits Atlassian API rate limits + + **Solutions**: + - Reduce frequency of automated workflows + - Batch operations where possible + - Implement exponential backoff in agent logic + - Consider upgrading Atlassian plan for higher limits + + + +## Support & Resources + + + + + + Comprehensive guide to project management automation with Atlassian and Continue + + + + + + Combine Atlassian with GitHub for complete DevOps automation + + + + diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 9bb796866..357401220 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -1,6 +1,6 @@ --- title: "Overview" -description: "Connect GitHub, Slack, Sentry, and Snyk to power richer Agents, Tasks, and Workflows." +description: "Connect GitHub, Slack, Sentry, Snyk, PostHog, Atlassian, and Netlify to power richer Agents, Tasks, and Workflows." sidebarTitle: "Overview" --- @@ -8,7 +8,7 @@ sidebarTitle: "Overview" Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more. -Mission Control currently supports four first-class integrations: +Mission Control currently supports seven first-class integrations: @@ -28,6 +28,18 @@ Mission Control currently supports four first-class integrations: Detect and fix security vulnerabilities automatically. + + Leverage product analytics and feature flags for data-driven development. + + + + Connect Jira and Confluence to automate project management and docs. + + + + Automate deployments and manage site configuration. + + diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx new file mode 100644 index 000000000..1020c08d8 --- /dev/null +++ b/docs/mission-control/integrations/netlify.mdx @@ -0,0 +1,324 @@ +--- +title: "Netlify Integration" +description: "Automate deployments and site management with Continue Agents connected to Netlify" +--- + +## Overview + +Connect Netlify to Continue Mission Control to enable agents to manage deployments, monitor site performance, and automate your continuous deployment pipeline. When Netlify is enabled, Continue can trigger builds, manage environments, and respond to deployment events. + + + + - Automatically trigger and monitor deployments + - Manage environment variables and build settings + - Create and test deploy previews + - Monitor site performance and uptime + - Automate rollback on errors or failed tests + - Generate deployment reports and notifications + + + +## Setup + + + + + + Go to your [Integrations Settings](https://hub.continue.dev/integrations). + + + + + + Click "Connect" next to Netlify. You'll need: + + - **Personal Access Token**: Generate from Netlify account settings + + + + + + To create a personal access token: + 1. Log into your [Netlify account](https://app.netlify.com) + 2. Go to **User Settings** β†’ **Applications** β†’ **Personal access tokens** + 3. Click "New access token" + 4. Give it a descriptive name (e.g., "Continue Mission Control") + 5. Copy the token immediately + + + + + + Paste your access token into the integration form and click "Create Connection" + + + + + + + + **Token Scope**: Personal access tokens have full access to your Netlify account. Create a token specifically for Continue to maintain security and easy revocation if needed. + + + +## Use Cases + +### Automated Deployment Management + +Create agents that manage your deployment pipeline: + + + + **Task Example**: "Deploy the staging branch to preview environment and run smoke tests" + + **What the Agent Does**: + - Triggers Netlify build for specified branch + - Monitors build progress and logs + - Runs automated tests on deploy preview + - Reports results and preview URL + + **Run in Mission Control**: Trigger on PR creation or manual request + + + +### Environment Configuration + +Automate environment variable management: + + + + **Task Example**: "Sync environment variables from .env.example to all Netlify sites" + + **What the Agent Does**: + - Reads environment variable definitions + - Updates Netlify site settings + - Verifies variables are set correctly + - Triggers rebuild if necessary + + **Run in Mission Control**: Run after config updates or schedule periodic audits + + + +### Performance Monitoring + +Track and respond to site performance issues: + + + + **Task Example**: "Monitor production deployment and rollback if Core Web Vitals degrade" + + **What the Agent Does**: + - Tracks deployment performance metrics + - Compares against baseline thresholds + - Automatically rolls back if issues detected + - Creates incident report with details + + **Run in Mission Control**: Set up as continuous monitoring for production + + + +### Deploy Preview Testing + +Automate testing of deploy previews: + + + + **Task Example**: "Run visual regression tests on deploy preview and comment results on PR" + + **What the Agent Does**: + - Waits for deploy preview to be ready + - Executes test suite against preview URL + - Captures screenshots and differences + - Posts results as PR comment + + **Run in Mission Control**: Trigger on deploy preview creation + + + +### Site Health Monitoring + +Proactively monitor site availability and health: + + + + **Task Example**: "Check all production sites every hour and create alerts for downtime or errors" + + **What the Agent Does**: + - Pings production sites to verify availability + - Checks for broken links or 500 errors + - Monitors SSL certificate expiration + - Creates incidents for issues found + + **Run in Mission Control**: Schedule hourly health checks + + + +### Automated Rollback + +Implement intelligent rollback strategies: + + + + **Task Example**: "Monitor error rates after deployment and rollback if errors exceed 1%" + + **What the Agent Does**: + - Tracks error metrics post-deployment + - Analyzes error patterns and severity + - Triggers rollback to previous version if threshold exceeded + - Notifies team with incident details + + **Run in Mission Control**: Set up as post-deployment monitoring + + + +## Running Netlify Agents in Mission Control + +You can run Netlify-connected agents in two ways: + +### 1. Manual Tasks + +Trigger agents on-demand for deployment operations: + +1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +2. Select or create a Netlify-enabled agent +3. Click "Run Agent" and provide your task description +4. Monitor progress and review results in real-time + +**Example Tasks:** +- "Create a new deploy preview for the feature/redesign branch" +- "List all sites and their current deployment status" +- "Update production environment variables for API endpoints" + +### 2. Automated Workflows + +Set up agents to run automatically: + +- **Event-triggered**: Execute on Git push, PR creation, or deployment completion +- **Scheduled**: Run daily site audits or weekly performance reviews +- **Threshold-based**: Trigger on metric anomalies or build failures + + + + Start with manual deployment tasks to validate your workflow, then automate repetitive deployment patterns and monitoring tasks. + + + +## Integration with GitHub + +Combine Netlify with GitHub for complete CI/CD automation: + + + + + + Enable both Netlify and GitHub integrations in Mission Control + + + + + + Build an agent that: + - Monitors GitHub for new PRs + - Triggers Netlify deploy previews + - Runs automated tests on preview + - Updates PR status and adds preview URL + - Manages production deployments on merge + + + + + + Configure the agent to handle the entire deployment workflow automatically + + + + + +## Monitoring Agent Activity + +Track your agent's deployment automation: + +1. **View in Mission Control**: See all agent runs and deployment actions +2. **Check Netlify Dashboard**: Verify builds and deployments +3. **Review Deploy Logs**: Ensure builds complete successfully +4. **Monitor Metrics**: Track deployment frequency and success rate + +## Troubleshooting + + + + **Problem**: Agent can't connect to Netlify API + + **Solutions**: + - Verify personal access token is correct + - Check that token hasn't been revoked + - Ensure token has necessary permissions + - Try regenerating the token + + + + + + **Problem**: Agent can't trigger Netlify builds + + **Solutions**: + - Verify you have deploy permissions for the site + - Check that the site exists and is accessible + - Ensure build hooks are configured if using webhooks + - Review Netlify API rate limits + + + + + + **Problem**: Can't update site environment variables + + **Solutions**: + - Confirm you have admin access to the site + - Check variable name format (no spaces or special chars) + - Ensure values are properly escaped + - Verify API token has write permissions + + + + + + **Problem**: Agent can't locate deploy previews + + **Solutions**: + - Verify branch name is correct + - Check that deploy previews are enabled for the site + - Ensure the commit has triggered a build + - Wait for build to complete before querying + + + + + + **Problem**: Can't retrieve site performance metrics + + **Solutions**: + - Verify Netlify Analytics is enabled for the site + - Check that your plan includes analytics access + - Ensure time range for queries is valid + - Review API documentation for metrics endpoints + + + +## Support & Resources + + + + + + Complete guide to continuous deployment automation with Netlify and Continue + + + + + + Combine Netlify with GitHub for end-to-end CI/CD automation + + + + diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx new file mode 100644 index 000000000..d0a1d953f --- /dev/null +++ b/docs/mission-control/integrations/posthog.mdx @@ -0,0 +1,297 @@ +--- +title: "PostHog Integration" +description: "Leverage product analytics and feature flags with Continue Agents connected to PostHog" +--- + +## Overview + +Connect PostHog to Continue Mission Control to enable agents to analyze user behavior, manage feature flags, and optimize product experiences. When PostHog is enabled, Continue can analyze product metrics, automate feature rollouts, and create data-driven development tasks. + + + + - Analyze user behavior patterns and create optimization tasks + - Manage feature flags and gradual rollouts + - Generate insights from product analytics + - Automate A/B test analysis and reporting + - Monitor conversion funnels and user journeys + - Create PRs based on analytics insights + + + +## Setup + + + + + + Go to your [Integrations Settings](https://hub.continue.dev/integrations). + + + + + + Click "Connect" next to PostHog. You'll need the following credentials: + + - **Project API Key**: Your PostHog project API key + - **Host URL**: Your PostHog instance URL (e.g., `https://app.posthog.com` or your self-hosted URL) + + + + + + In your PostHog account: + 1. Navigate to Project Settings + 2. Find your Project API Key + 3. Copy your PostHog instance URL + 4. Paste both values into Mission Control + + + + + + Click "Create Connection" and verify that Continue can access your PostHog data + + + + + + + + **How to get these credentials:** + 1. Log into your PostHog account + 2. Go to **Project Settings** β†’ **Project API Key** + 3. Copy your API key + 4. Note your instance URL (shown in the browser address bar) + + + +## Use Cases + +### Analytics-Driven Development + +Create agents that analyze user behavior and generate development tasks: + + + + **Task Example**: "Analyze the checkout flow conversion rate and identify areas for improvement" + + **What the Agent Does**: + - Retrieves funnel data from PostHog + - Identifies drop-off points in the user journey + - Analyzes user session recordings at problem areas + - Creates issues or PRs with optimization recommendations + + **Run in Mission Control**: Schedule weekly or trigger after significant traffic changes + + + +### Feature Flag Management + +Automate feature rollout based on metrics: + + + + **Task Example**: "Monitor new checkout feature performance and increase rollout percentage if metrics are positive" + + **What the Agent Does**: + - Tracks key metrics for the feature flag + - Compares performance against baseline + - Automatically adjusts rollout percentage + - Alerts team if anomalies are detected + + **Run in Mission Control**: Set up as continuous monitoring workflow + + + +### Performance Monitoring + +Track and respond to performance issues: + + + + **Task Example**: "Analyze page load times and create issues for pages slower than 3 seconds" + + **What the Agent Does**: + - Queries PostHog for performance metrics + - Identifies slow-loading pages + - Analyzes common characteristics of slow pages + - Creates prioritized issues with performance data + + **Run in Mission Control**: Schedule daily performance audits + + + +### A/B Test Analysis + +Automate experiment analysis and reporting: + + + + **Task Example**: "Analyze the results of the new homepage A/B test and determine statistical significance" + + **What the Agent Does**: + - Retrieves experiment data from PostHog + - Performs statistical analysis + - Generates comprehensive report with visualizations + - Creates recommendations for next steps + + **Run in Mission Control**: Trigger when experiment reaches sample size + + + +### User Feedback Loop + +Connect analytics insights to code improvements: + + + + **Task Example**: "Identify the top 5 most frustrating user experiences based on rage clicks and session replays" + + **What the Agent Does**: + - Analyzes user session data for frustration signals + - Reviews session replays of problematic interactions + - Identifies common UX issues + - Creates detailed bug reports with user context + + **Run in Mission Control**: Run weekly to catch emerging patterns + + + +## Running PostHog Agents in Mission Control + +You can run PostHog-connected agents in two ways: + +### 1. Manual Tasks + +Trigger agents on-demand for analytics insights: + +1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +2. Select or create a PostHog-enabled agent +3. Click "Run Agent" and provide your task description +4. Monitor progress and review results in real-time + +**Example Tasks:** +- "What are the most common user paths leading to checkout abandonment?" +- "Compare mobile vs desktop conversion rates for the last month" +- "Identify features with low adoption that we should sunset" + +### 2. Automated Workflows + +Set up agents to run automatically: + +- **Scheduled**: Run daily, weekly, or monthly analytics reviews +- **Metric-triggered**: Execute when KPIs cross thresholds +- **Event-based**: Trigger on feature flag changes or experiment completion + + + + Start with manual exploratory tasks to understand your data, then automate recurring analysis patterns with scheduled workflows. + + + +## Integration with GitHub + +Combine PostHog with GitHub integration for data-driven development: + + + + + + Enable both PostHog and GitHub integrations in Mission Control + + + + + + Build an agent that: + - Monitors PostHog metrics and user behavior + - Identifies optimization opportunities + - Creates issues or PRs with data-backed improvements + - Links PostHog dashboards in PR descriptions + + + + + + Configure the agent to run on a schedule or when metrics indicate action is needed + + + + + +## Monitoring Agent Activity + +Track your agent's analytics-driven development: + +1. **View in Mission Control**: See all agent runs and their insights +2. **Check PostHog**: Verify data accuracy and explore referenced metrics +3. **Review Issues/PRs**: Ensure recommendations are actionable +4. **Monitor Impact**: Track whether changes improve metrics + +## Troubleshooting + + + + **Problem**: Agent returns errors when trying to fetch analytics + + **Solutions**: + - Verify API key is correct and hasn't expired + - Check that the project API key has read permissions + - Ensure host URL includes protocol (https://) + - Confirm your PostHog plan includes API access + + + + + + **Problem**: Data retrieved doesn't match PostHog dashboard + + **Solutions**: + - Check that you're querying the correct time range + - Verify PostHog data is fully processed (may have slight delay) + - Ensure filters and breakdowns match your dashboard + - Review agent logs for query parameters + + + + + + **Problem**: Agent can't modify feature flags + + **Solutions**: + - Verify API key has write permissions + - Check that you're using a Personal API Key (not Project API Key) for modifications + - Ensure feature flag exists before attempting updates + - Review PostHog API documentation for flag management + + + + + + **Problem**: Can't connect to self-hosted PostHog instance + + **Solutions**: + - Verify host URL is accessible from Mission Control + - Check firewall rules allow Continue's IP addresses + - Ensure SSL certificate is valid if using HTTPS + - Test API access with curl or Postman first + + + +## Support & Resources + + + + + + Complete guide to building product-led development workflows with PostHog and Continue + + + + + + Combine PostHog with GitHub for data-driven development automation + + + + From 06eb95396963f4521eaf34971f7fd0e77aa5efc4 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Tue, 2 Dec 2025 00:01:49 +0000 Subject: [PATCH 02/22] Add bidirectional links between integration docs and cookbooks - Added Info callouts to cookbook guides referencing Mission Control integrations - Follows same pattern as Sentry integration documentation - Creates clear path for users from CLI workflows to Mission Control automation - PostHog: Links to product analytics integration - Atlassian: Links to Jira/Confluence integration - Netlify: Links to deployment automation integration Co-authored-by: nate Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- docs/guides/atlassian-mcp-continue-cookbook.mdx | 6 ++++++ docs/guides/netlify-mcp-continuous-deployment.mdx | 6 ++++++ docs/guides/posthog-github-continuous-ai.mdx | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/docs/guides/atlassian-mcp-continue-cookbook.mdx b/docs/guides/atlassian-mcp-continue-cookbook.mdx index dcfd64a99..5c00bc9de 100644 --- a/docs/guides/atlassian-mcp-continue-cookbook.mdx +++ b/docs/guides/atlassian-mcp-continue-cookbook.mdx @@ -13,6 +13,12 @@ sidebarTitle: "Atlassian Workflows with Continue" - Automate Atlassian workflows with headless CLI runs + + The new [Atlassian Mission Control Integration](/mission-control/integrations/atlassian) enables **[Continuous AI](/guides/continuous-ai)** for project management and documentation - where AI agents autonomously manage Jira issues, sync Confluence documentation, and streamline development workflows. This cookbook focuses on CLI-based workflows, but you can also deploy autonomous agents through Mission Control. + + **Get Started:** Use this cookbook to understand Atlassian MCP fundamentals, then [enable Mission Control](/mission-control/integrations/atlassian) to deploy autonomous project management agents across your organization. + + ## Prerequisites Before starting, ensure you have: diff --git a/docs/guides/netlify-mcp-continuous-deployment.mdx b/docs/guides/netlify-mcp-continuous-deployment.mdx index 830fcc730..11318a8da 100644 --- a/docs/guides/netlify-mcp-continuous-deployment.mdx +++ b/docs/guides/netlify-mcp-continuous-deployment.mdx @@ -10,6 +10,12 @@ sidebarTitle: "Using Netlify MCP for Performance Optimization" from Netlify Analytics + + The new [Netlify Mission Control Integration](/mission-control/integrations/netlify) enables **[Continuous AI](/guides/continuous-ai)** for deployment automation - where AI agents autonomously manage deployments, monitor site performance, and respond to deployment events. This cookbook focuses on CLI-based performance optimization workflows, but you can also deploy autonomous deployment agents through Mission Control. + + **Get Started:** Use this cookbook to understand Netlify MCP fundamentals, then [enable Mission Control](/mission-control/integrations/netlify) to deploy autonomous deployment management agents across your organization. + + **Did You Know?** Netlify is more than just static hosting! It offers: - [Split Testing](https://docs.netlify.com/site-deploys/split-testing/) for A/B testing branches diff --git a/docs/guides/posthog-github-continuous-ai.mdx b/docs/guides/posthog-github-continuous-ai.mdx index 157b3c823..6cd701820 100644 --- a/docs/guides/posthog-github-continuous-ai.mdx +++ b/docs/guides/posthog-github-continuous-ai.mdx @@ -9,6 +9,12 @@ sidebarTitle: "PostHog Analytics with Continue CLI" issues with the GitHub CLI. + + The new [PostHog Mission Control Integration](/mission-control/integrations/posthog) enables **[Continuous AI](/guides/continuous-ai)** for product analytics - where AI agents autonomously analyze user behavior, identify optimization opportunities, and create data-driven development tasks. This cookbook focuses on CLI-based workflows, but you can also deploy autonomous agents through Mission Control. + + **Get Started:** Use this cookbook to understand PostHog analytics fundamentals, then [enable Mission Control](/mission-control/integrations/posthog) to deploy autonomous analytics-driven agents across your organization. + + ## What You'll Learn This cookbook teaches you to: From ae53e08564b26a84313a90d7163c2dcd6cb727f8 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:09:36 -0500 Subject: [PATCH 03/22] Add additional integrations --- docs/mission-control/integrations/index.mdx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 357401220..92c04f2c7 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -8,7 +8,7 @@ sidebarTitle: "Overview" Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more. -Mission Control currently supports seven first-class integrations: +Mission Control currently supports these first-class integrations: @@ -39,7 +39,12 @@ Mission Control currently supports seven first-class integrations: Automate deployments and manage site configuration. - + + Set up workflows that validate content and schemas on every PR. + + + Monitor database performance, generate migrations, and optimize queries automatically. + From ac7967d5b8ea792cb949589122ecd7a3e7884e5e Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:14:16 -0500 Subject: [PATCH 04/22] Update icons --- docs/mission-control/integrations/index.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 92c04f2c7..bc38a89e8 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -20,7 +20,7 @@ Mission Control currently supports these first-class integrations: Mention @continue to kick off Agents directly from Slack. - + Trigger Agents automatically when new Sentry issues appear. @@ -36,13 +36,13 @@ Mission Control currently supports these first-class integrations: Connect Jira and Confluence to automate project management and docs. - + Automate deployments and manage site configuration. - + Set up workflows that validate content and schemas on every PR. - + Monitor database performance, generate migrations, and optimize queries automatically. From 87c12eb3ee1a5e40518366e3b4b184d31cc54642 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:22:43 -0500 Subject: [PATCH 05/22] Fix link to agents in the hub --- .github/workflows/run-continue-agent.yml | 2 +- README.md | 2 +- docs/agents/intro.mdx | 6 +++--- docs/agents/overview.mdx | 2 +- docs/mission-control/integrations/atlassian.mdx | 2 +- docs/mission-control/integrations/github.mdx | 2 +- docs/mission-control/integrations/netlify.mdx | 2 +- docs/mission-control/integrations/posthog.mdx | 2 +- docs/mission-control/integrations/sentry.mdx | 2 +- docs/mission-control/integrations/slack-agent.mdx | 2 +- extensions/intellij/README.md | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/run-continue-agent.yml b/.github/workflows/run-continue-agent.yml index 6194838fe..70b92dff5 100644 --- a/.github/workflows/run-continue-agent.yml +++ b/.github/workflows/run-continue-agent.yml @@ -39,4 +39,4 @@ jobs: "repoUrl": "https://github.com/${{ github.repository }}" }') id=$(echo $response | jq -r '.id') - echo "https://hub.continue.dev/agents/$id" + echo "https://hub.continue.dev/hub?type=agents/$id" diff --git a/README.md b/README.md index ccc192c52..6c9cc23ec 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ -Get started in [Mission Control](https://hub.continue.dev/agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) +Get started in [Mission Control](https://hub.continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) ## Cloud Agents diff --git a/docs/agents/intro.mdx b/docs/agents/intro.mdx index 10dcb9f55..9bb3c4966 100644 --- a/docs/agents/intro.mdx +++ b/docs/agents/intro.mdx @@ -23,7 +23,7 @@ Use Mission Control to kick off agents for: - Go to [hub.continue.dev/agents](https://hub.continue.dev/agents) and connect with your GitHub account. + Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. ![Mission Control Setup](/images/hub/workflows/images/workflows-setup.png) @@ -79,7 +79,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe - Go to [hub.continue.dev/agents](https://hub.continue.dev/agents) and: + Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and: - **Connect GitHub** and authorize Continue when prompted - This gives agents access to create PRs in your repositories @@ -203,7 +203,7 @@ Choose the method that fits your workflow: - Team collaboration - One-time tasks - Access at [hub.continue.dev/agents](https://hub.continue.dev/agents) + Access at [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index 037b91b14..acfda9a78 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -222,7 +222,7 @@ The practice of using cloud agents, which we call Continuous AI, requires foreth Learn to run agents from the command line - + Access the web interface to manage agents \ No newline at end of file diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index 67230b234..f502e6300 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -180,7 +180,7 @@ You can run Atlassian-connected agents in two ways: Trigger agents on-demand for project management: -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) 2. Select or create an Atlassian-enabled agent 3. Click "Run Agent" and provide your task description 4. Monitor progress and review results in real-time diff --git a/docs/mission-control/integrations/github.mdx b/docs/mission-control/integrations/github.mdx index 06f2a2cd2..168b098d6 100644 --- a/docs/mission-control/integrations/github.mdx +++ b/docs/mission-control/integrations/github.mdx @@ -166,7 +166,7 @@ You can run GitHub-connected agents in two ways: Trigger agents on-demand for specific tasks: -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) 2. Select or create a GitHub-enabled agent 3. Click "Run Agent" and provide your task description 4. Monitor progress and review results in real-time diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index 1020c08d8..7690aaf59 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -179,7 +179,7 @@ You can run Netlify-connected agents in two ways: Trigger agents on-demand for deployment operations: -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) 2. Select or create a Netlify-enabled agent 3. Click "Run Agent" and provide your task description 4. Monitor progress and review results in real-time diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index d0a1d953f..e40dc73a5 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -165,7 +165,7 @@ You can run PostHog-connected agents in two ways: Trigger agents on-demand for analytics insights: -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +1. Go to [Mission Control PostHog Agents](https://hub.continue.dev/hub?type=agents&q=posthog) 2. Select or create a PostHog-enabled agent 3. Click "Run Agent" and provide your task description 4. Monitor progress and review results in real-time diff --git a/docs/mission-control/integrations/sentry.mdx b/docs/mission-control/integrations/sentry.mdx index a02df6098..9e0d2de63 100644 --- a/docs/mission-control/integrations/sentry.mdx +++ b/docs/mission-control/integrations/sentry.mdx @@ -75,7 +75,7 @@ You can run Sentry-connected agents in two ways: Trigger agents on-demand for error analysis: -1. Go to [Mission Control Agents](https://hub.continue.dev/agents) +1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) 2. Select or create a Sentry-enabled agent 3. Click "Run Agent" and provide your task description 4. Monitor progress and review results in real-time diff --git a/docs/mission-control/integrations/slack-agent.mdx b/docs/mission-control/integrations/slack-agent.mdx index 1dbe29540..fc6ef9172 100644 --- a/docs/mission-control/integrations/slack-agent.mdx +++ b/docs/mission-control/integrations/slack-agent.mdx @@ -115,7 +115,7 @@ Continue will forward your message to the existing agent session instead of crea ## Monitoring Agent Progress -Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/agents). +Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/hub?type=agents). You can also click the Slack icon in the agents page to return to the Slack message. diff --git a/extensions/intellij/README.md b/extensions/intellij/README.md index 1eea37b85..3fcb09ddb 100644 --- a/extensions/intellij/README.md +++ b/extensions/intellij/README.md @@ -24,7 +24,7 @@ -Get started in [Mission Control](https://hub.continue.dev/agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) +Get started in [Mission Control](https://hub.continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) ## Agent From a008cd4dbe0350f5bd96f33c8c0b5790a0a64657 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:40:32 -0500 Subject: [PATCH 06/22] Add sanity --- docs/continue-overview.mdx | 1449 +++++++++++++++++ docs/mission-control/integrations/sanity.mdx | 361 ++++ .../mission-control/integrations/supabase.mdx | 0 3 files changed, 1810 insertions(+) create mode 100644 docs/continue-overview.mdx create mode 100644 docs/mission-control/integrations/sanity.mdx create mode 100644 docs/mission-control/integrations/supabase.mdx diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx new file mode 100644 index 000000000..d8ac91b04 --- /dev/null +++ b/docs/continue-overview.mdx @@ -0,0 +1,1449 @@ +--- +title: "Continue Agents Overview" +description: "Complete guide to AI agents in Continue" +--- + +# Continue Agents - Complete Guide + + + + Agents are custom AI workflows that combine a prompt, rules, and tools (MCPs and more) to complete specific, repeatable tasks. They live in the Continue Mission Control and can be executed from Mission Control (web interface), TUI mode, or headless automation. + + + +## Quick Start + + + + + Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. + + + + + + Select from pre-configured agents or create your own + + + + + + Enter a prompt and watch your agent work + + + + + +## What Are Agents? + +Agents let your team standardize common workflows like opening GitHub PRs, summarizing analytics, or auditing security. Each agent includes: + +### Agent Components + +| **Component** | **Description** | **Example** | +|----------------|-----------------|--------------| +| **Prompt** | The agent's main instruction that defines what it does and how it should behave | "Summarize ongoing work with status, blockers, and next steps" | +| **Rules** | Define consistent standards or behaviors that guide how the agent responds | "Always include related issue or PR links when summarizing work" | +| **Tools / MCPs** | External systems or integrations the agent can call to complete tasks | GitHub, PostHog, Supabase | +| **Model** | The large language model that powers the agent's reasoning | Claude Sonnet 4.5 | +| **Visibility** | Determines who can view or use the agent | Public, Organization, or Private | + +## Ways to Run Agents + + + + + **Interactive web interface** + + Trigger from the Continue Mission Control and review results in real-time. + + Perfect for: Interactive debugging, reviewing agent outputs, team collaboration + + + + + + **Interactive terminal mode** + + Launch from terminal for live interaction and testing. + + ```bash + cn --agent my-org/github-pr-agent + ``` + + Perfect for: Local development, testing prompts, quick one-off tasks + + + + + + **Automated execution** + + Run one-off or scheduled tasks automatically without interaction. + + ```bash + cn -p --agent my-org/snyk-agent "Run weekly security scan" --auto + ``` + + Perfect for: CI/CD pipelines, scheduled tasks, webhook integrations + + + + + +## Pre-configured Agents + +Skip the setup and use battle-tested agents from our cookbook collection: + + + + + `continuedev/snyk-continuous-ai-agent` + + Finds vulnerabilities and opens PRs with fixes + + + + + + `continuedev/github-project-manager-agent` + + Triages issues and manages project workflows + + + + + + `continuedev/posthog-continuous-ai-agent` + + Analyzes user data and creates actionable tasks + + + + + + `continuedev/netlify-continuous-ai-agent` + + Monitors Core Web Vitals and optimizes deployments + + + + + + `continuedev/supabase-agent` + + Audits RLS security and generates migrations + + + + + + `continuedev/dlt-agent` + + Inspects pipelines and debugs load errors + + + + +## Creating and Editing Agents + + + + You can only create and edit Agents through Mission Control in the Continue Mission Control web interface. This ensures proper validation, versioning, and team collaboration features. + + + +### Creating an Agent + + + + + From the Continue Mission Control top navigation bar, select **"+"** β†’ **"New Agent"**. + + + + + + Configure your agent with the following fields: + + | Field | What to Enter | Example | + |-------|---------------|---------| + | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | + | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | + | **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` | + | **Tools (MCPs)** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | + | **Rules** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | + | **Model** | Choose a default LLM | `Claude Sonnet 4.5` | + | **Owner + Slug** | Determines namespace | `my-org/github-pr-agent` | + | **Visibility** | Access level | `Public, Organization, or Private` | + + + + + + Click **"Create Agent"** to save and publish it. + + Your agent is immediately available to run in Mission Control, TUI mode, or headless mode. + + + + + +### Editing an Agent + +You can edit any agent you own or that belongs to your organization. + + + + + From the **Agents** page or Mission Control view, click your agent's name, then select **"Edit Agent"**. + + + + + + You can modify any of these components: + + - **Prompt**: Refine task behavior + - **Rules**: Enforce team standards + - **Tools (MCPs)**: Connect additional systems + - **Model & Visibility**: Adjust behavior and access + + + + + + Click **"Update Agent"** when finished. + + The updated version is instantly available to your team with automatic versioning for change tracking. + + + + + + + Test your agent thoroughly to ensure they interact as expected. + + + +## Example Workflow Tasks + +Here are some example tasks you can try with your agents: + + + + + - "Fix the TypeError in api/users.ts where the user object might be undefined" + - "Add null checks to all database query results in the services/ directory" + - "Fix all ESLint warnings in the components folder and open a PR" + - "Update deprecated React lifecycle methods to hooks in legacy components" + + + + + + - "Create a new REST endpoint for user profile updates with validation and error handling" + - "Add pagination to the products list page with previous/next buttons" + - "Implement dark mode toggle using Tailwind CSS classes across all pages" + - "Add unit tests for the authentication service using Jest" + + + + + + - "Run a complete security scan and create GitHub issues for critical vulnerabilities" + - "Scan the codebase for hardcoded API keys and move them to environment variables" + - "Add input sanitization to all user-facing form fields" + - "Update npm packages with security vulnerabilities and test compatibility" + + + + + + - "Add JSDoc comments to all exported functions in the utils/ directory" + - "Create a README.md for the new payment-processing module with setup instructions" + - "Generate TypeScript interfaces for all API response schemas" + - "Add error handling boilerplate to all async functions missing try-catch blocks" + + + + +## Best Practices + +The practice of using cloud agents, which we call Continuous AI, requires forethought to set up the right guardrails: + + + + + Begin with tasks you're confident Continue can handle, like fixing known bugs with simple solutions. + + + + + + Test with Continue CLI in TUI mode before deploying automation. + + + + + + Agents can run for extended periods - invest time in detailed prompts with all important context. + + + + + + Discuss agent usage and adjust code review habits for higher PR volumes. + + + + +## Monitoring + +You can monitor all activity for your Agents directly in **Mission Control**. + + + + + The **Inbox** shows every Task or Workflow run, and you can filter by Agent. + + + + + + Click any session in the Inbox to open the Detail page. + + Each session includes: + - **Summary** β€” what the agent did and why + - **Diff** β€” generated code changes + - **Logs** β€” full execution trace, tool calls, and reasoning + + + + + +--- + +# Mission Control + +## Overview + +Continue Mission Control is your command center for Continue. Create Tasks, set up Workflows, manage Agents, connect Integrations, and share with your teamβ€”all in one place. + +## What You Can Do in Mission Control + +Mission Control is where developers and teams use Continue to power everyday coding workflows. From quick one-off Tasks to fully automated pipelines, everything starts here. + + + + Trigger your AI Agents and review or approve the results. + + + Create, configure, and monitor your custom Agents across repositories. + + + Schedule recurring Tasks, connect webhooks to trigger Agents automatically, or add + + + Link GitHub, Slack, and Sentry to power your Tasks and Workflows. + + + +## Inbox: One Place to Triage, Assign, and Take Action + +The Inbox is your team's central queue for all AI-powered Tasks, agent activity, and first-class integrations like Sentry and Snyk. It gives developers a shared place to review work, delegate responsibility, and launch follow-up Tasksβ€”all without leaving Mission Control. + + + + See every incoming Task, Sentry alert, Snyk vulnerability, and workflow output in one place. + + + Slice the Inbox by Agent, repository, integration, creator, status, or time to surface what matters now. + + + Assign Sessions to teammates so responsibilities are explicit and reviews move forward. + + + Launch follow-up Tasks, investigate errors, or generate fixes directly from the Inboxβ€”no context switching. + + + +### First-Class Integration Tabs + +Some signals deserve their own dedicated view. When you connect integrations: + +- **Sentry**: See error events organized by project with occurrences, first/last seen timestamps, and one-click Solve actions +- **Snyk**: Review high-severity vulnerabilities, check CVSS scores, and trigger Agents to patch or upgrade dependencies + + +## Monitoring & Insights + +Track performance, share configurations across your organization, and monitor agent activity in real time. + + + + Measure success rates, PR activity, and intervention trends across Agents. + + + Share Agents and Workflows with teammates using built-in access controls. + + + View active runs, logs, and outcomes for every Agent session. + + + +## Components Behind Mission Control + +Agents are built from reusable components that you can create, share, and customize: + + + + Large Language Models from various providers (OpenAI, Anthropic, etc.) configured for specific roles like chat, autocomplete, or editing + + + Model Context Protocol servers that provide tools and capabilities like database access, web search, or custom functions + + + Guidelines that shape AI behavior - coding standards, constraints, or specific instructions for your domain + + + Reusable instructions for common tasks, optimized for specific workflows or coding patterns + + + +Components are the building blocks for agents that you can create new or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization. + +### Component Inputs + +Some components can receive values, including secrets, as inputs through templating. For values that the user needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their agent or config. + +**Choosing between `secrets.` and `inputs.`** + +When creating components for your Agent: +- Use `${{ inputs.INPUT_NAME }}` in your definition when you want users to be able to customize which secret is used +- Users will then map their own secrets using `${{ secrets.SECRET_NAME }}` in the `with` clause + +For personal or single-use configurations, you can skip the inputs layer and reference `${{ secrets.SECRET_NAME }}` directly. + + +## Tasks + +A Task is a unit of work shared between you and an agent. You trigger the task, the agent executes it, then you review or approve the results. Tasks can run **on demand**, **on triggers**, or **on schedules**. + +### Creating and Running a Task + + + + Select the **Agent** you want to use for this task. + + + Pick the **repository** and **branch** where the Agent will work. + + + Add your user input β€” clear instructions for what you want the agent to accomplish. + + Example prompts: + - Refactor unused React components and clean up imports + - Add error handling to all API endpoints in the /api directory + - Update README with installation instructions for the new CLI tool + + + Click the Submit button. The Agent will analyze your repository, execute the task, generate changes, and create a detailed session log. + + + Each Task run creates a Session with complete traceability including Summary, Diff, and Logs. + + + +## Workflows + +Workflows trigger agents on a schedule or when events occur. + +A Workflow automatically runs an Agent on a repository when: +- A schedule is reached (cron) +- An event occurs (webhook, e.g. GitHub PR) + +Use Workflows for recurring or event-driven tasks like: +- Daily vulnerability scans +- Weekly changelog generation +- Reacting to new pull requests or Sentry alerts + +### Creating a Workflow + + + + In Mission Control β†’ Workflows, create a new workflow. You can start with a blank workflow or use a template like "Update agents.md", "Draft Changelog Updates", or "Solve Snyk Vulnerabilities". + + + Give your Workflow a clear, descriptive name like "Morning status check" or "Weekly changelog draft". + + + Choose the repository (the codebase) and the Agent that should perform the work. + + + Pick how this Workflow should run: Cron (schedule) or Webhook (external system events). + + + For Cron: Select a schedule (daily, weekly, hourly, custom) + For Webhook: Set up Secret Header and Value, then receive a webhook URL + + + Click Create to activate your workflow. + + + +### Monitoring Workflow Runs + +Workflow runs show up just like Tasks - each execution creates a Session, workflows appear in your Inbox, and you can open the detail view to see the summary, diff, and logs. + + +## Metrics + +Metrics give you visibility into how your Agents and Workflows perform across your repositories. Use this page to understand activity patterns, identify bottlenecks, and measure success over time. + +### What Metrics Show + +- **Activity (Last 14 Days)**: A day-by-day graph of total Agent runs across your repositories +- **Agent Statistics**: Per-Agent breakdown of total runs, PR creation rate, PR status, and success vs. intervention rate +- **Workflow Impact**: Track which Workflows create the most tasks or PRs, and how often they complete successfully + +### Why Metrics Matter + +- **Improve Agent Reliability**: Identify which Agents need better rules, tools, or prompts +- **Measure Automation Value**: See how much work your automated Workflows are completing across your repos + +## Sharing + +You can share any Agent or Component (Models, Rules, Prompts, MCP Servers) by publishing it as Public or Organization-visible. Sharing makes it easy for teammatesβ€”or the entire communityβ€”to reuse your best workflows. + +### Where to Find Your Shareable Items + +Your personal and organization components live in your Profile. To access your profile: Open Mission Control β†’ Open the Organization Switcher in the top left sidebar nav β†’ Select the Profile Icon. + +Profiles look the same for personal users and organizations. The only difference is visibility options: personal profiles can create Public or Private items. Organizations can also create Organization-only items. + +### Sharing Options + +Each Agent or Component can be published with one of three visibility levels: + +- **Personal (Private)**: Only you can see and use the item. Great for prototypes or experiments. +- **Organization**: Visible to everyone in your organization. Ideal for internal workflows, standardized agents, and shared tooling. +- **Public**: Available to everyone in Continue Mission Control. Perfect for templates, community contributions, and reusable examples. + +### Community + +Join our Discord to connect with thousands of developers using Continue and share your experiences. Share your feedback in GitHub discussions to let us know what you think of Mission Control. + + +## Configs + +### Introduction to Configs + +Configs are flexible containers that combine multiple components to create powerful AI coding experiences using the Continue CLI or the Extensions. A single config can include: + +- **Models**: Large Language Models for chat, autocomplete, editing, and more +- **MCPs**: Model Context Protocol servers that provide tools and capabilities +- **Rules**: Guidelines that shape AI behavior and responses +- **Prompts**: Reusable instructions for common coding tasks + +### How Configs Work + +Think of configs as recipes for AI assistance. Each config defines: +- What models to use for different tasks (chat, autocomplete, code editing) +- Which tools are available through MCP servers +- How the AI behaves through rules and guidelines +- Pre-built prompts for common workflows + +This flexibility lets you create specialized setups for different contexts, like a Next.js config with React-specific rules and tools, or a data science config with Python analysis capabilities. + +### Config Permissions + +When creating configs, you can set visibility levels: +- **Personal**: Only you can see and use the config +- **Public**: Anyone can discover and use your config +- **Organization**: Members of your organization can access the config + +### Working with Configs + +You can interact with configs in three main ways: +- **Create**: Build a new config from scratch or start with a template +- **Edit**: Modify your existing configs by adding/removing components +- **Remix**: Take someone else's config and customize it for your needs + +### Getting Started with Configs + +1. Explore existing configs - Browse the Continue Mission Control to see what configs others have built +2. Add a config to your account - Click "Install Config" (+) on any config that interests you +3. Customize as needed - Add your API keys and customize components to match your workflow +4. Use in your IDE - Select the config from the dropdown in your Continue extension, type `/config` in the CLI, or use `--config` with the CLI commands + +All configs follow the `config.yaml` format, whether you're using Mission Control interface or editing files locally. + + +### How to Create a Config + +To create a config from scratch, select "New config" in the top bar. Choose a name, slug, description, and icon for your config. + +The easiest way to create a config is to click "Create config" with the default configuration and then add/remove blocks using the sidebar. Alternatively, you can edit the config YAML directly before clicking "Create config". + +You can also create a config by remixing an existing one. By clicking the "remix" button, you'll be taken to the "Create a remix" page where you can add or remove components from the config and change the name, description, icon, etc. + +### How to Edit a Config + +First, select a config either from Mission Control search or one that you've installed. While editing a config, you can explore Mission Control and click "+" to add it to your config. + +For tools or models that require secret values like API keys, you will see a small notification on its tile that will indicate if action is needed. To delete part of your config, you can remove it from the yaml. + +If a rule, prompt, or tool you want to use does not exist yet, you can create it. When you are done editing, click "Publish" to publish a new version of the config. Reload your terminal or IDE to use the latest version of the config in your agents. + +### How to Use a Custom Config + +Once you've found the configuration you want to use on Continue Mission Control: + +1. Click "Add Config" on its page +2. Add any required inputs (e.g. secrets like API keys) + +After saving, open the Continue CLI or IDE extension and: +- Select the configuration from the config dropdown in the Continue extension +- Type `/config` and select the configuration in the Continue CLI +- Begin using it for chat mode, agent mode, or other configured capabilities + + +## Governance + +### Creating an Organization + +To Create an Organization, click the organization selector in the top right and select the option to create a new org. + +1. Choose a name, which will be used as the display name for your organization throughout Mission Control +2. Add a slug, which will be used for your org URL and as the prefix to all organization configuration slugs +3. Select an icon for your organization using the image uploader +4. Finally, add a Biography, which will be displayed on your org Home Page + +You will then be signed in to your org and taken to the org home page. + +### Organization Permissions + +Users can have the following roles within an organization: + +1. **Admins** are users who can manage members, secrets, blocks, configs, etc. +2. **Members** are users who can use configs, blocks, secrets, etc. + +User permissions for each role depend on the pricing plan: Solo, Teams, or Enterprise. + +### Pricing + +**Solo** is best suited for individuals and small teams with "single-player" problems. You can read more about what Solo includes at hub.continue.dev/pricing. + +**Teams** is best suited for growing teams with "multiplayer" problems. You can read more about what Teams includes at hub.continue.dev/pricing. + +**Enterprise** is best suited for large teams with enterprise-grade requirements. You can read more about what Enterprise includes at hub.continue.dev/pricing. + +**Models Add-On**: The Models Add-On allows you to use a variety of frontier models for a flat monthly fee. It's designed to cover the usage of most developers. You can read more about usage limits and what models are included at hub.continue.dev/pricing. + +To try out Continue, we offer a free trial of the Models Add-On that allows you to use 50 Chat requests and 2,000 autocomplete requests. + + +## Integrations + +Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more. + +Mission Control currently supports four first-class integrations: + +### GitHub Integration + +Connect your GitHub account to Continue Mission Control to enable agents to interact with your repositories. Once connected, agents can read code, create pull requests, manage issues, and automate your development workflow. + +**What You Can Do with GitHub Integration:** +- Automatically create pull requests from 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 + +#### Setup + +1. Navigate to Integrations Settings at hub.continue.dev/integrations +2. Click "Connect" next to GitHub and authorize the Continue app in your GitHub account +3. Select Repository Access - Choose whether to grant access to all repositories or select specific ones +4. Confirm Permissions - Review and approve the requested permissions + +#### Use Cases + +**Automated Issue Resolution**: Create agents that automatically fix bugs and open PRs +**Pull Request Management**: Automate code reviews and PR maintenance +**Documentation Generation**: Keep your docs up-to-date automatically +**Project Management**: Automate issue triage and project organization +**Release Management**: Automate your release process +**Code Quality Monitoring**: Maintain code standards across your codebase + +#### Running GitHub Agents + +You can run GitHub-connected agents in two ways: + +1. **Manual Tasks**: Trigger agents on-demand for specific tasks in Mission Control +2. **Automated Workflows**: Set up agents to run automatically (Scheduled, Triggered, or Webhook) + +Start with manual tasks to test your agent's behavior, then convert successful workflows to automations once you're confident in the results. + + +### Sentry Integration + +Connect Sentry to Continue Mission Control to enable agents to automatically detect, analyze, and resolve production errors. When Sentry is enabled, Continue can generate PRs to fix issues, analyze error patterns, and maintain application health. + +**What You Can Do with Sentry Integration:** +- Automatically generate PRs to resolve new errors +- Analyze error patterns and identify root causes +- Prioritize issues based on impact and frequency +- Create detailed bug reports with stack traces +- Monitor error trends across releases + +#### Setup + +1. Navigate to Integrations Settings at hub.continue.dev/integrations +2. Click "Connect" and select Sentry. You'll need: + - Sentry Organization Slug: Your organization name (e.g., "my-company") + - Auth Token: Internal integration token from Sentry + - Client Secret: For webhook signature verification +3. Configure Sentry Internal Integration: + - Create a new internal integration in Sentry + - Set the webhook URL to `https://api.continue.dev/webhooks/sentry` + - Select "Read and Write" access for "Issue and Event" + - Select "issue" in the webhooks section and click Save Changes + - Copy the Auth Token and Client Secret +4. Add Credentials to Mission Control + +#### Running Sentry Agents + +1. **Manual Tasks**: Trigger agents on-demand for error analysis (e.g., "Analyze the top 10 errors from the last 24 hours") +2. **Automated Workflows**: Set up agents to run automatically (Webhook-triggered, Scheduled, or Threshold-based) + +Start with manual tasks to refine your prompts, then convert successful workflows to automations for continuous error monitoring. + +#### Integration with GitHub + +Combine Sentry with GitHub integration for a complete workflow: +1. Connect both Sentry and GitHub integrations in Mission Control +2. Create a Unified Agent that receives Sentry error notifications, analyzes the error, creates a PR with a fix, and adds the PR link to the Sentry issue +3. Set Up Automated Workflow to run automatically on new Sentry issues + +#### Troubleshooting + +- **Webhooks not triggering**: Verify webhook URL, check "issue" is selected, ensure Client Secret matches +- **Agent can't access Sentry data**: Verify Auth Token has correct permissions, check organization slug, ensure token hasn't expired +- **PRs not linking to Sentry issues**: Ensure both integrations are connected, verify permissions, check agent prompt includes linking instructions + + +### Slack Agent Integration + +Mention @Continue in any channel with a task description, and it will create a new development agent, clone and work on your Repository, generate code changes and create pull requests, and keep you updated on progress. + +**What It's Great For:** +- Quick bug fixes and feature implementations +- Code reviews and refactoring +- Documentation updates +- Automated development tasks + +#### Setup + +Continue's Slack Bot can be installed to a Slack workspace via Mission Control, from Integrations Settings at hub.continue.dev/integrations or Org Integrations Settings. + +**Note**: Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official. + +Steps: +1. Connect GitHub: Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with +2. Authorize Slack: Click the "Connect" button next to Slack and authorize the app in your workspace +3. Set Default Repository (Optional): Use the repository selector within the Slack tile to select a default repository + +#### Usage + +To kick off an agent, mention `@Continue` with a short task description. + +**Thread Context**: When you mention `@Continue` in a Slack thread, Continue automatically uses the entire conversation as context. If you start a new message (not a reply), Continue only sees that single message for context. + +Provide clear, detailed prompts to help Continue understand your requirements: +- βœ… Good: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.` +- ❌ Poor: `@Continue fix auth` + +**Repository Selection**: Continue determines which repository to work in with the following precedence: +1. Specify in message: Add `repo=repo-name` to your message +2. Default repo: Uses the default repository if set in the integration settings +3. Interactive selection: If no repository is found, Continue will follow up with a dropdown + +**Sending Follow-up Messages**: Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread. Continue will forward your message to the existing agent session instead of creating a new one. + +#### Monitoring Agent Progress + +Click the agent link in Slack to view the agent's progress in Mission Control. You can also click the Slack icon in the agents page to return to the Slack message. + +#### Disconnecting + +To remove the Slack integration: +1. Go to hub.continue.dev/settings/integrations +2. Find your Slack integration +3. Click "Disconnect" + +The Slack integration is in active development. Report issues on GitHub Issues and share feature requests in GitHub Discussions. + + +### Snyk Integration + +Connect Snyk to Continue Mission Control to enable agents to automatically detect, analyze, and resolve security vulnerabilities. When Snyk is enabled, Continue can generate PRs to fix vulnerabilities, analyze security patterns, and maintain application security posture. + +**What You Can Do with Snyk Integration:** +- Automatically generate PRs to fix security vulnerabilities +- Analyze dependency risks and suggest updates +- Monitor security posture across projects +- Create detailed vulnerability reports with remediation steps +- Track vulnerability trends and compliance status + +#### Setup + +1. Navigate to Integrations Settings at hub.continue.dev/integrations +2. Click "Connect" next to Snyk integration +3. Authorize with Snyk: Click the "Connect with Snyk" button to authorize Continue Mission Control + - You'll be redirected to Snyk's OAuth authorization page + - Review and approve the requested permissions + - You'll be automatically redirected back to the Snyk inbox view +4. Verify Connection: Once redirected back, you'll see a confirmation that Snyk is connected, your Snyk projects available for monitoring, and any active vulnerability alerts + +**OAuth Authorization**: No manual token configuration needed! Simply click the authorization button and Continue will securely handle the authentication flow with Snyk. + +#### Integration with GitHub + +Combine Snyk with GitHub integration for a complete security workflow: + +1. Connect Both Integrations: Enable both Snyk and GitHub integrations in Mission Control +2. Create a Security Agent: Build an agent that receives Snyk vulnerability alerts, analyzes the security issue, creates a PR with the security fix, and adds security impact analysis to the PR +3. Set Up Automated Security Workflow: Configure the agent to run automatically on new critical vulnerabilities + +#### Monitoring Agent Activity + +Track your agent's security remediation performance: +1. View in Inbox: Navigate to the Snyk view to see all Snyk-related agent activity +2. Check Snyk Dashboard: Verify that vulnerabilities are being addressed +3. Review PRs: Ensure quality and security of generated fixes +4. Monitor Metrics: Track mean time to remediation (MTTR) and fix rate + +#### Troubleshooting + +- **OAuth authorization fails**: Ensure you have appropriate permissions in your Snyk organization, check if your organization allows OAuth integrations, try logging out and back into Snyk before authorizing +- **Projects not appearing**: Verify you have access to projects in Snyk, check that projects are properly imported, refresh the integration connection +- **Agent can't access vulnerability data**: Verify the OAuth connection is still valid, re-authorize if the token has expired, check that the agent has the necessary Snyk context provider +- **Webhooks not triggering**: Verify webhook configuration, check webhook URL points to Continue Mission Control, ensure webhook events include vulnerability detection + + +--- + +# Getting Started + +## Extensions + +Continue is available as an extension for VS Code and JetBrains IDEs. The extensions provide AI-powered coding assistance directly in your IDE, including chat, autocomplete, and code editing capabilities. + +### VS Code Extension + +The Continue extension for VS Code integrates seamlessly with your development workflow, providing: + +- **AI Chat**: Ask questions about your codebase, get explanations, and receive coding suggestions +- **Autocomplete**: Get AI-powered code completions as you type +- **Code Editing**: Select code and use AI to refactor, improve, or transform it +- **Context Awareness**: Reference files, functions, and documentation with @ symbols +- **Slash Commands**: Quick access to common tasks with / commands +- **Multiple Model Support**: Switch between different AI models based on your needs + +#### Installation + +1. Open VS Code +2. Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) +3. Search for "Continue" +4. Click Install +5. Sign in with your Continue Mission Control account or configure locally + +#### Getting Started + +After installation: +1. Open the Continue sidebar (usually on the left) +2. Sign in to Continue Mission Control or set up a local configuration +3. Start chatting with AI or use autocomplete in your code +4. Try slash commands like `/edit`, `/comment`, or `/test` +5. Use @ to reference files, folders, or documentation + +### JetBrains Extension + +The Continue extension for JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, etc.) provides the same powerful AI assistance: + +- **AI Chat Panel**: Integrated chat interface for code discussions +- **Smart Autocomplete**: Context-aware code suggestions +- **Code Actions**: Refactor, document, and improve code with AI +- **Multi-language Support**: Works across all languages supported by your JetBrains IDE +- **Customizable Models**: Configure which AI models to use for different tasks + +#### Installation + +1. Open your JetBrains IDE +2. Go to Settings/Preferences β†’ Plugins +3. Search for "Continue" in the Marketplace +4. Click Install +5. Restart your IDE +6. Configure Continue through Settings β†’ Tools β†’ Continue + +#### Getting Started + +After installation: +1. Open the Continue tool window +2. Authenticate with Continue Mission Control or configure locally +3. Use the chat interface to ask questions +4. Enable autocomplete in settings for AI-powered suggestions +5. Right-click code to access Continue actions + +### Configuration Options + +Both extensions support two configuration modes: + +**Mission Control (Recommended)**: +- Cloud-managed configuration +- Easy setup with pre-configured models +- Share configurations across team +- Automatic updates and syncing +- Access to Continue's model offerings + +**Local Configuration**: +- Full control over your setup +- Use your own API keys +- Customize every aspect of behavior +- Work offline or in air-gapped environments +- Edit config.yaml directly + +### Common Features Across Both Extensions + +**Context Providers**: +- `@file` - Reference specific files +- `@folder` - Include entire directories +- `@code` - Reference specific code blocks +- `@docs` - Access documentation +- `@git` - Reference git history +- `@url` - Pull in web content + +**Slash Commands**: +- `/edit` - Modify selected code +- `/comment` - Add documentation +- `/test` - Generate tests +- `/fix` - Suggest fixes for errors +- `/explain` - Explain code functionality + +**Model Switching**: +- Use different models for different tasks +- Switch models mid-conversation +- Configure default models per task type +- Access multiple model providers + +### Tips for Getting the Most from Extensions + +1. **Use Context Effectively**: Reference relevant files and documentation with @ symbols +2. **Be Specific**: Clear, detailed prompts get better results +3. **Iterate**: Refine AI suggestions through conversation +4. **Learn Shortcuts**: Keyboard shortcuts speed up your workflow +5. **Customize Settings**: Adjust autocomplete sensitivity, model preferences, and more +6. **Try Different Models**: Some models excel at specific tasks + +### Keyboard Shortcuts + +**VS Code**: +- Open Continue: `Ctrl+L` / `Cmd+L` +- Accept autocomplete: `Tab` +- Dismiss autocomplete: `Esc` +- New chat: `Ctrl+Shift+L` / `Cmd+Shift+L` + +**JetBrains**: +- Open Continue: `Ctrl+Shift+J` / `Cmd+Shift+J` +- Accept autocomplete: `Tab` +- Dismiss autocomplete: `Esc` + +### Troubleshooting + +**Extension not appearing**: +- Verify installation completed successfully +- Restart your IDE +- Check for IDE updates + +**Authentication issues**: +- Ensure you're signed in to Continue Mission Control +- Check your internet connection +- Verify API keys if using local configuration + +**Autocomplete not working**: +- Check autocomplete is enabled in settings +- Verify model is configured for autocomplete +- Ensure you're in a supported file type + +**Performance issues**: +- Adjust autocomplete delay in settings +- Use smaller models for faster responses +- Check system resources + +For more help, visit the Continue documentation or join the Discord community. + + +--- + +# Continue CLI (cn) + +## Overview + +Continue CLI (`cn`) is a command-line interface for automated coding tasks, scripting, and headless development workflows with Continue's AI coding capabilities. + +**Continue enables developers to ship faster with Continuous AI.** + +Build features from descriptions. Debug and fix issues. Navigate any codebase. Automate tedious tasks. + +### Get started in 30 seconds + +Prerequisites: +- Node.js 18 or newer +- A Continue Mission Control account (recommended) or local configuration + +```bash +# Install Continue CLI +npm install -g @continuedev/cli + +# Navigate to your project +cd your-awesome-project + +# Start coding with Continue +cn + +# You'll be prompted to set up on first use +``` + +That's it! You're ready to start automating with Continue CLI. + +## Two Ways to Use Continue CLI + +Continue CLI offers two distinct modes designed for different workflows: + +### TUI Mode: Interactive Development + +**Perfect for exploration, debugging, and iterating on AI workflows** + +```bash +cn +> @src/components/UserProfile.js Review this component for security issues +> Generate comprehensive unit tests +> Suggest performance improvements +``` + +- **Interactive conversations** with your codebase +- **Iterate and refine** prompts and approaches +- **Explore and understand** complex codebases +- **Perfect for experimentation** and learning + +### Headless Mode: Production Automation + +**Perfect for CI/CD, automation, and reliable workflows** + +```bash +cn -p "Generate a conventional commit message for staged changes" +cn -p "Review pull request changes for security vulnerabilities" +cn -p "Update documentation based on recent code changes" +``` + +- **Single-command execution** for automation +- **Reliable, repeatable results** for production use +- **CI/CD and pipeline integration** +- **Git hooks and automated workflows** + +### 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. + +### Development Workflow: TUI β†’ Headless + +**Pro Tip**: Start in TUI mode to iterate on your AI agent. Once you have a workflow that works reliably, deploy it as a Continuous AI automation. + +1. **Experiment in TUI mode** to perfect your agent +2. **Test different approaches** interactively until you get consistent results +3. **Convert successful workflows** to automated Continuous AI commands +4. **Deploy in production** with confidence in your proven approach + + +## Why developers love Continue CLI + +- **Works in your terminal**: Not another chat window. Not another IDE. Continue CLI meets you where you already work, with the tools you already love. +- **Takes action**: Continue CLI can directly edit files, run commands, and create commits. Need more? Check out our MCPs. +- **Automate tasks**: Create issues from PostHog data, automatically assign labels to issues, and more. Do all this in a single command from your developer machines, or automatically in CI. +- **Flexible development flow**: Start interactive, then automate proven workflows. + +## Key Capabilities + +### Context Engineering + +- Use `@` to reference files and provide context +- Use `/` to run slash commands for specific tasks +- Access the same context providers as IDE extensions + +### Tool Integration + +- File editing and creation +- Terminal command execution +- Codebase understanding and analysis +- Git integration +- Web search and documentation access + +### Model Flexibility + +- Switch between models with `/model` command +- Use any model configured in your `config.yaml` +- Access Continue Mission Control models and configurations + +## Continue Mission Control Integration + +Continue CLI integrates seamlessly with Continue Mission Control for: + +### API Access + +Get an API key for automation workflows: + +1. Visit Continue Mission Control API Keys at hub.continue.dev/settings/api-keys +2. Create a new API key +3. Use with `cn login` or in your automation scripts + +### Secrets Management + +Store secure credentials for CLI workflows: + +1. Visit Continue Mission Control Secrets at hub.continue.dev/settings/secrets +2. Add your API keys and sensitive data +3. Reference in configurations with `${{ secrets.SECRET_NAME }}` + +### Configuration Sync + +- Cloud-managed configurations automatically sync +- Share configurations across team members +- Version control for your AI workflows + + +## Common Use Cases + +### TUI Mode Examples + +**Interactive development and exploration:** + +**Codebase Exploration** +```bash +# Start interactive session +cn +> @src/components Find all unused React components +> /explain How does authentication work in this codebase? +> @auth/ What security patterns are used here? +``` + +**Iterative Debugging** +```bash +# Debug issues interactively +cn +> @tests/auth.test.js This test is failing, help me understand why +> @src/auth/middleware.js Let's examine this middleware +> /debug What could be causing the timeout error? +``` + +**Workflow Development** +```bash +# Develop and test automation workflows +cn +> @package.json @CHANGELOG.md Generate a release notes template +> # Test and refine the approach +> # Once working, convert to: cn -p "Generate release notes" +``` + +### Headless Mode Examples + +**Production automation and scripting:** + +**Git Automation** +```bash +# Generate commit messages +cn -p "Generate a conventional commit message for the current changes" + +# Code review automation +cn -p "Review the current git changes for bugs and suggest improvements" +``` + +**CI/CD Integration** +```bash +# In your pipeline scripts +cn -p "Analyze test failures and suggest fixes" + +# Automated documentation updates +cn -p "@README.md Update this documentation based on recent changes" +``` + +**Issue Management** +```bash +# Create GitHub issues from PostHog data +cn -p "@posthog-data.json Create GitHub issues for UX problems found in this session data" + +# Automated security audits +cn -p "Scan the codebase for potential security vulnerabilities" +``` + + +## Install Continue CLI + +Make sure you have Node.js 18 or higher installed. + +### Installation + +Install Continue CLI globally using npm: + +```bash +npm i -g @continuedev/cli +``` + +### Two Ways to Use Continue CLI + +Continue CLI works in two modes - TUI for interactive conversations or headless for automated commands. + +**TUI Mode - Interactive development sessions** + +Start a conversation with AI in your terminal: + +```bash +cn +> @src/app.js Generate unit tests for this component +``` + +Perfect for exploration, debugging, and iterative development. + +**Headless Mode - Automation and scripting** + +Single commands that return results: + +```bash +cn -p "Generate a commit message for current changes" +cn -p "Review the last 5 commits for issues" +``` + +Perfect for CI/CD, git hooks, and automated workflows. + +### Setup + +**For TUI Mode** (interactive development and exploration): + +1. **Login to Continue CLI** +```bash +cn login +``` +This will open your browser to authenticate with Continue Mission Control. + +2. **Test TUI Mode** +Start an interactive session: +```bash +cn +``` + +Try asking a question: +``` +> Tell me about the CLI +``` + +**For Headless Mode** (automation workflows and scripting): + +1. **Get API Key for Automation** + - Visit Continue Mission Control API Keys at hub.continue.dev/settings/api-keys + - Click "New API Key" + - Copy the API key immediately (you won't see it again!) + - Login using your Continue account + +2. **Add Secrets for Workflows** + - Visit Continue Mission Control Secrets at hub.continue.dev/settings/secrets + - Add your API keys and sensitive data + - Reference in configurations with `${{ secrets.SECRET_NAME }}` + +3. **Test Headless Mode** +Try headless mode for automation: +```bash +cn -p "Generate a conventional commit message for the current git changes" +``` + +### Getting Help + +If you encounter issues: +- Ask for help in our discussions at github.com/continuedev/continue/discussions +- Report bugs on GitHub at github.com/continuedev/continue + + +## Continue CLI Quick Start + +Get hands-on experience with Continue CLI through practical development workflows. + +**TUI Mode** (`cn` command) is for **large development tasks** that require agentic workflows with human oversight. Perfect for complex refactors, feature implementation, or one-off automation tasks that need monitoring and iteration. + +**Headless Mode** (`-p` flag) is for **reliable, repeatable tasks** that no longer need constant supervision. Perfect for CI/CD pipelines, git hooks, and automated workflows you've already tested and refined. + +### TUI Mode: Large Development Tasks + +Make sure you have Continue CLI installed and are in a project directory. + +#### Example: Implementing a New Feature + +```bash +# Navigate to your project directory +cd your-awesome-project + +# Start TUI Mode for complex development work +cn +``` + +**Example workflow for adding authentication:** + +``` +> I need to add JWT authentication to this Express app. Let me start by showing you the current structure. + +> @src/app.js @package.json Here's my current setup. Can you implement JWT auth with middleware, login/register routes, and user model? + +> [Agent analyzes codebase and implements auth system] +> [You review changes, test, and provide feedback] +> [Agent iterates based on your input until the feature is complete] +``` + +#### Example: Complex Refactoring + +```bash +cn +``` + +**Refactoring a monolithic component:** + +``` +> @src/components/Dashboard.jsx This component is 800 lines and does too much. Help me break it into smaller, reusable components. + +> [Agent analyzes component structure] +> [Proposes component breakdown strategy] +> [You approve approach] +> [Agent implements the refactor with proper props and state management] +> [You test and request adjustments] +``` + +#### When to Use TUI Mode + +βœ… **Large development tasks** that need oversight +βœ… **Complex refactors** requiring multiple steps +βœ… **New feature implementation** with unknowns +βœ… **One-off automation tasks** you haven't done before +βœ… **Debugging complex issues** that need exploration + +### Headless Mode: Automated Workflows + +Once you've refined a workflow in TUI Mode, convert it to Continuous AI for automation. + +#### Example: From TUI β†’ Continuous AI + +**Step 1: Develop in TUI Mode** + +```bash +cn +> @package.json @CHANGELOG.md Generate release notes for version 2.1.0 +> [Test and refine the prompt until it works perfectly] +``` + +**Step 2: Convert to Continuous AI** + +```bash +# Now use the refined workflow in automation +cn -p "Generate release notes for the current version based on package.json and recent commits" +``` + +#### Common Continuous AI Workflows + +```bash +# Git automation +cn -p "Generate a conventional commit message for staged changes" +cn -p "Review the last 3 commits for potential issues" + +# Code quality +cn -p "Fix all TypeScript errors in the src/ directory" +cn -p "Update outdated dependencies and fix breaking changes" + +# Documentation +cn -p "@README.md Update documentation based on recent changes" +cn -p "Generate API documentation from JSDoc comments" + +# CI/CD integration +cn -p "Analyze test failures and create GitHub issue with findings" +cn -p "Update version numbers and create release branch" +``` + +#### When to Use Headless Mode + +βœ… **Proven workflows** you've tested in TUI Mode +βœ… **Repetitive tasks** that no longer need oversight +βœ… **CI/CD automation** in pipelines +βœ… **Git hooks** for automated checks +βœ… **Scheduled tasks** that run unattended + +**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. + + +### Available Slash Commands + +Common slash commands available in CLI: + +- `/clear` - Clear the chat history +- `/compact` - Summarize chat history into a compact form +- `/config` - Switch configuration or organization +- `/exit` - Exit the chat +- `/fork` - Start a forked chat session from the current history +- `/help` - Show help message +- `/info` - Show session information +- `/init` - Create an AGENTS.md file +- `/login` - Authenticate with your account +- `/logout` - Sign out of your current session +- `/mcp` - Manage MCP server connections +- `/model` - Switch between available chat models +- `/resume` - Resume a previous chat session +- `/whoami` - Check who you're currently logged in as + +Use `/help` to see all available commands. + +### The Development Workflow + +**Recommended Approach**: Start complex tasks in TUI Mode to iterate and refine your approach. Once you have a reliable workflow, convert it to Headless Mode for automation. + +#### Workflow Pattern + +1. **πŸ”¬ Experiment in TUI Mode** + - Try complex development tasks with human oversight + - Iterate on prompts and approaches until they work reliably + - Test edge cases and refine the agent's behavior + +2. **⚑ Automate with Continuous AI** + - Convert proven TUI workflows to single commands + - Deploy in CI/CD, git hooks, or scheduled tasks + - Run with confidence knowing the approach is tested + +## CLI Guides + +For detailed guides on specific CLI workflows, check out the CLI Workflows section in the guides documentation. You'll find task-specific tutorials and examples for: + +- Creating automated workflows +- Setting up CI/CD integration +- Building custom agents +- Integrating with external tools +- And much more + diff --git a/docs/mission-control/integrations/sanity.mdx b/docs/mission-control/integrations/sanity.mdx new file mode 100644 index 000000000..452d75cdb --- /dev/null +++ b/docs/mission-control/integrations/sanity.mdx @@ -0,0 +1,361 @@ +--- +title: "Sanity Integration" +description: "Automate content management and schema validation with Continue Agents connected to Sanity" +--- + +## Overview + +Connect Sanity to Continue Mission Control to enable agents to manage content, validate schemas, execute GROQ queries, and automate your content workflows. When Sanity is enabled, Continue can explore document types, update content, handle migrations, and maintain content quality across your projects. + + + + - Automatically validate content and schemas on every PR + - Execute GROQ queries to analyze and update content + - Generate documentation from your content model + - Manage content migrations between environments + - Monitor content quality and consistency + - Automate content creation and updates + + + +## Setup + + + + + + Go to [the Sanity Integrations](https://hub.continue.dev/integrations/sanity). + + + + + + Click Setup -> "Connect" next to Sanity. The integration uses OAuth authentication through the Sanity MCP. + + + + + + You'll be redirected to Sanity to authorize Continue: + 1. Select the Sanity organization and project to connect + 2. Review the requested permissions + 3. Click "Authorize" to complete the connection + + + + + + After connecting, set up your first workflow. The integration supports: + - **On PR open**: Validate schemas and content when PRs are created + - **Manual tasks**: Run content operations on-demand + - **Scheduled jobs**: Periodic content audits and maintenance + + + + + + +## Workflows + +### Update Sanity schema docs + +**Trigger**: On PR open +**Description**: Skip the GROQ lookup. Agents manage your content through conversation. + +When a pull request modifies schema files (`schemas/**/*.{ts,js,tsx,jsx}`, `schemaTypes/**/*`, or `sanity.config.{ts,js}`), this workflow automatically: + +1. **Connects to Sanity** - Fetches the complete current schema using Sanity MCP +2. **Analyzes Changes** - Identifies new, modified, or removed document types +3. **Updates Documentation** - Generates comprehensive documentation including: + - Complete field descriptions and validation rules + - Relationship diagrams between document types + - GROQ query examples for each type + - Usage guidance for developers and content teams +4. **Commits to PR Branch** - Adds documentation directly to the existing PR branch +5. **Posts PR Comment** - Provides a detailed summary of documented changes + + + + For each document type, the agent generates: + - **Field Reference**: Every field with type, validation, and description + - **Relationships**: Visual diagram showing references between types + - **Query Examples**: Practical GROQ queries for common operations + - **Studio Behavior**: How fields appear and function in Sanity Studio + - **Validation Rules**: All constraints and requirements + - **Usage Notes**: Important gotchas and best practices + + + + + + **Documentation Location**: By default, docs are created at `docs/content-model.md`. The agent searches for existing documentation in several standard locations and preserves your structure. + + + +#### Example PR Comment + +After updating the documentation, the agent posts a comprehensive comment like this: + +```markdown +## πŸ“ Schema Documentation Updated + +I've automatically updated the content model documentation based on the schema changes in this PR. + +### πŸ“‹ Changes Documented + +**New Document Types** (2) +- ✨ `product` - E-commerce product listings +- ✨ `review` - Customer product reviews + +**Modified Document Types** (1) +- πŸ“ `article` - Added `featured` boolean field, updated `title` validation + +### πŸ“„ Documentation Location + +πŸ“– [View Updated Documentation](./docs/content-model.md) + +### πŸ“Š Schema Overview + +- **Total Document Types**: 12 +- **Total Fields**: 87 +- **Types Modified in this PR**: 3 +- **New Fields Added**: 5 + +### πŸ”— Key Relationships Changed + +- `product` now references `review` (one-to-many) +- `article.featured` added for homepage curation +``` + +## Use Cases + +### Content Validation + +Automatically validate content structure and quality: + + + + **Task Example**: "Check all blog posts for required fields and broken references" + + **What the Agent Does**: + - Scans documents for missing required fields + - Validates references between documents + - Checks for orphaned content + - Reports inconsistencies and suggests fixes + + **Run in Mission Control**: Schedule daily or trigger on content updates + + + +### Schema Management + +Manage and evolve your content schemas: + + + + **Task Example**: "Analyze the product schema and suggest optimizations for better performance" + + **What the Agent Does**: + - Reviews document type definitions + - Identifies unused or redundant fields + - Suggests schema improvements + - Validates relationships and data integrity + + **Run in Mission Control**: Run before major schema changes + + + +### Content Migration + +Automate content structure changes: + + + + **Task Example**: "Migrate all blog posts from the old schema to the new format" + + **What the Agent Does**: + - Reads content from old schema structure + - Transforms data to match new schema + - Validates migrated content + - Creates migration report with any issues + + **Run in Mission Control**: Run manually for controlled migrations + + + +### GROQ Query Execution + +Run complex queries to analyze content: + + + + **Task Example**: "Find all articles published in Q4 2023 with over 10,000 views" + + **What the Agent Does**: + - Executes GROQ queries against your dataset + - Analyzes results and identifies patterns + - Generates reports and visualizations + - Exports data for further analysis + + **Run in Mission Control**: Run on-demand for content insights + + + +### Schema Documentation + +Automatically maintain comprehensive schema documentation: + + + + **Task Example**: "Generate comprehensive documentation for all document types and their relationships" + + **What the Agent Does**: + - Fetches complete schema from Sanity + - Documents every field with types, validation, and descriptions + - Creates Mermaid diagrams showing document relationships + - Includes practical GROQ query examples + - Preserves manual documentation sections + - Updates statistics (total types, field counts) + + **Run in Mission Control**: Triggered automatically on PR open when schema files change + + **Documentation Structure**: + - Table of contents with all document types + - Detailed field tables for each type + - Relationship diagrams + - Query examples for common operations + - Validation rules and Studio configurations + + + +### Content Localization + +Manage multi-language content: + + + + **Task Example**: "Verify all product pages have complete Spanish and French translations" + + **What the Agent Does**: + - Identifies missing translations + - Validates localized field structure + - Reports incomplete content + - Suggests content for translation + + **Run in Mission Control**: Schedule weekly translation audits + + + +## Running Sanity Agents in Mission Control + +You can run Sanity-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): + + + + + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. + + + + +## Monitoring Agent Activity + +Track your agent's content management performance: + +1. **View in Mission Control**: See all agent runs and content operations +2. **Check Sanity Studio**: Verify content updates and validations +3. **Review Query Results**: Ensure GROQ queries return expected data +4. **Monitor Metrics**: Track content quality trends over time + +## Troubleshooting + + + + **Problem**: Agent shows authentication errors + + **Solutions**: + - Re-authenticate through the integrations page (OAuth expires after 7 days) + - For CI/CD workflows, use environment variables instead + - Check that project permissions haven't changed + - Verify the Sanity project still exists + + + + + + **Problem**: Agent can't locate schema definitions + + **Solutions**: + - Verify schema files are in the correct location + - Check that the project ID is correct + - Ensure you're connected to the right dataset + - Confirm schema files are properly exported + + + + + + **Problem**: Queries fail or return unexpected results + + **Solutions**: + - Validate GROQ syntax in Sanity Vision + - Check that referenced fields exist + - Verify document types are spelled correctly + - Review query complexity and optimize if needed + + + + + + **Problem**: Agent reports content doesn't match schema + + **Solutions**: + - Check for recent schema changes + - Verify required fields are present + - Review field type mismatches + - Run migration to update content structure + + + + + + **Problem**: Content migration fails or produces errors + + **Solutions**: + - Test migration on a small subset first + - Validate both old and new schemas + - Check for data type conflicts + - Review migration logs for specific errors + - Use transactions for atomic updates + + + +## Support & Resources + + + + + + Complete guide to content management automation with Sanity and Continue + + + + + + Combine Sanity with GitHub for automated content workflows + + + + + + Official Sanity documentation and guides + + + + + + Learn GROQ query language for content queries + + + + \ No newline at end of file diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx new file mode 100644 index 000000000..e69de29bb From 5e168090b7da9db4a2e74fa32c1b3a0455e7b820 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:47:00 -0500 Subject: [PATCH 07/22] Add supabase cookbook --- .../mission-control/integrations/supabase.mdx | 570 ++++++++++++++++++ 1 file changed, 570 insertions(+) diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index e69de29bb..7932a4d4c 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -0,0 +1,570 @@ +--- +title: "Supabase Integration" +description: "Monitor database security, generate migrations, and optimize queries with Continue Agents connected to Supabase" +--- + +## Overview + +Connect Supabase to Continue Mission Control to enable AI-powered database workflows. When Supabase is enabled, Continue can audit Row Level Security (RLS) policies, generate secure migrations, optimize queries, and maintain database security automatically. + + + + - Automatically audit RLS policies on every PR + - Generate secure migrations for missing security policies + - Identify and fix critical security gaps + - Optimize database queries and schemas + - Monitor database performance and security + - Validate schema changes before deployment + + + +## Setup + + + + + + Go to the [Supabase Integration](https://hub.continue.dev/integrations/supabase). + + + + + + Click Setup -> "Connect" next to Supabase. + + + + + + You'll be redirected to Supabase to authorize Continue: + 1. Select the Supabase organization and project to connect + 2. Review the requested permissions + 3. Click "Authorize" to complete the connection + + + + + + After connecting, set up your first workflow. The integration supports: + - **On PR open**: Audit RLS policies when PRs are created + - **Manual tasks**: Run database operations on-demand + - **Scheduled jobs**: Periodic security audits and performance checks + + + + + +## Workflows + +### Supabase security review + +**Trigger**: On PR open +**Description**: Connect your Supabase workspace to agents that can explore schemas, run queries, create and update documents, and handle migrations using natural language + +When a pull request is opened, this security-focused workflow automatically: + +1. **Analyzes PR Changes** - Identifies affected tables from: + - Migration files (`supabase/migrations/*.sql`) + - SDK/library usage (`.from('table_name')` calls) + - Schema references in type definitions + +2. **Audits RLS Policies** - Uses Supabase MCP to inspect: + - Whether RLS is enabled on affected tables + - Existing policy configurations + - Potential security gaps + +3. **Classifies Security Risks** - Prioritizes findings by severity: + - πŸ”΄ **Critical**: No RLS on tables with sensitive data + - 🟠 **High**: Overly permissive policies (e.g., `USING (true)`) + - 🟑 **Medium**: Missing standard access patterns + - 🟒 **Low**: Policy optimization opportunities + +4. **Generates SQL Migrations** - Creates fixes for Critical/High/Medium issues: + - Enables RLS on unprotected tables + - Adds missing user-scoped policies + - Implements proper access controls + - Includes rollback commands + +5. **Commits Fixes to PR Branch** - Automatically pushes security fixes +6. **Posts Comprehensive Comment** - Explains all findings and changes + + + + Row Level Security (RLS) is Supabase's primary security mechanism. Without proper RLS policies: + - Users can access other users' private data + - Unauthorized modifications can occur + - Sensitive information may be exposed + + This workflow automatically catches these issues before they reach production. + + + + + + **Smart Scoping**: The agent only audits tables directly referenced in your PR changes, not your entire database. This keeps audits focused and efficient. + + + +#### Example PR Comment + +After auditing RLS policies, the agent posts a comprehensive comment like this: + +```markdown +## πŸ”’ Supabase RLS Policy Audit + +### Scope +This audit covers **3 tables** referenced in this PR: +- user_profiles (detected in: migration file) +- comments (detected in: SDK usage in src/api/comments.ts) +- posts (detected in: migration file) + +### Summary +- βœ… 1 table with proper RLS +- ⚠️ 2 tables requiring attention +- πŸ”΄ 1 critical security gap found + +### Findings + +| Table | Risk Level | Issue | Status | +|-------|------------|-------|--------| +| `user_profiles` | πŸ”΄ Critical | No RLS enabled | βœ… Fixed in commit abc123 | +| `comments` | 🟑 Medium | Missing delete policy | βœ… Fixed in commit abc123 | +| `posts` | 🟒 Low | Policy optimization possible | πŸ’‘ Recommendation | + +### Changes Made + +- Enabled RLS on `user_profiles` +- Added policies: `user_profiles_select_own`, `user_profiles_update_own`, `comments_delete_own` +- See full migration: `supabase/migrations/20241118120000_rls_security_fixes.sql` + +### Recommendations (Low Priority) + +- **posts table**: Consider renaming policy `posts_policy_1` to `posts_select_owner` for clarity + +### Policy Patterns Used + +**User-scoped access** (users access only their own data): +\```sql +USING (auth.uid() = user_id) +WITH CHECK (auth.uid() = user_id) +\``` + +### Next Steps + +- βœ… Review the migration file and committed changes +- βœ… Test the policies in your development environment +- βœ… Merge this PR once you've verified the security improvements +``` + +### Security Risk Levels Explained + + + + **What it means**: Tables with no RLS that contain sensitive data + + **Examples**: + - User profiles, emails, or authentication data + - Financial information or payment details + - Private messages or personal content + - New tables created without RLS + + **What the agent does**: Automatically enables RLS and adds basic policies + + + + + + **What it means**: Overly permissive policies that could allow unauthorized access + + **Examples**: + - Policies using `USING (true)` without justification + - Write access without proper validation + - Admin policies that don't verify admin status + - Missing `WITH CHECK` clauses + + **What the agent does**: Generates restrictive policies with proper checks + + + + + + **What it means**: Partial RLS coverage or missing standard patterns + + **Examples**: + - SELECT policy exists but no UPDATE/DELETE + - No user-scoped policies for personal data + - Missing public read policies where appropriate + - Incomplete CRUD policy coverage + + **What the agent does**: Adds missing policies following standard patterns + + + + + + **What it means**: Policies work but could be improved + + **Examples**: + - Poor policy naming conventions + - Inefficient policy logic + - Missing documentation + - Duplicate or redundant policies + + **What the agent does**: Suggests improvements in PR comment (no auto-fix) + + + +## Use Cases + +### Automated Security Audits + +Catch security issues before they reach production: + + + + **Task Example**: Automatically audit RLS on every PR that touches database schema or queries + + **What the Agent Does**: + - Scans PR for database-related changes + - Identifies all affected tables + - Checks RLS status and policies + - Generates fixes for security gaps + - Commits migrations to the PR branch + + **Run in Mission Control**: Triggered automatically on PR open + + + +### Database Migration Generation + +Create secure migrations automatically: + + + + **Task Example**: "Generate a migration to add RLS policies for the new messages table" + + **What the Agent Does**: + - Analyzes table structure and purpose + - Determines appropriate access patterns + - Generates SQL with RLS policies + - Includes proper naming and comments + - Adds rollback commands + + **Run in Mission Control**: Run manually or on schema changes + + + +### Query Optimization + +Improve database performance: + + + + **Task Example**: "Analyze slow queries and suggest optimizations" + + **What the Agent Does**: + - Identifies queries in your codebase + - Checks for missing indexes + - Suggests query rewrites + - Recommends schema changes + - Estimates performance impact + + **Run in Mission Control**: Schedule weekly performance reviews + + + +### Schema Validation + +Ensure schema changes follow best practices: + + + + **Task Example**: "Validate that all new tables follow our schema standards" + + **What the Agent Does**: + - Checks naming conventions + - Validates data types and constraints + - Ensures proper indexes exist + - Verifies RLS is enabled + - Reviews foreign key relationships + + **Run in Mission Control**: Triggered on migration file changes + + + +### Access Pattern Analysis + +Understand how your database is used: + + + + **Task Example**: "Analyze SDK usage patterns and suggest RLS policies" + + **What the Agent Does**: + - Scans codebase for Supabase client calls + - Identifies data access patterns + - Detects security anti-patterns + - Recommends appropriate RLS policies + - Generates migration files + + **Run in Mission Control**: Run before major releases + + + +### Development Environment Sync + +Keep dev and production schemas aligned: + + + + **Task Example**: "Compare dev and production schemas and generate sync migrations" + + **What the Agent Does**: + - Connects to multiple Supabase projects + - Compares schema definitions + - Identifies differences + - Generates sync migrations + - Validates compatibility + + **Run in Mission Control**: Schedule or run manually + + + +## Running Supabase Agents in Mission Control + +You can run Sanity-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): + + + + + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. + + + +## Integration with GitHub + +Combine Supabase with GitHub for complete database security automation: + + + + + + Enable both Supabase and GitHub integrations in Mission Control + + + + + + Build an agent that: + - Monitors PRs for database changes + - Audits RLS policies automatically + - Generates security fixes + - Commits migrations to the PR branch + - Posts detailed audit reports + + + + + + Configure the agent to run automatically on all PRs that modify: + - Migration files + - Database queries + - Schema definitions + - Supabase client usage + + + + + +## Common RLS Policy Patterns + +The agent recognizes and implements these standard security patterns: + +### User-Scoped Access + +Users can only access their own data: + +```sql +-- SELECT: Users can read their own records +CREATE POLICY "users_select_own" ON user_profiles +FOR SELECT USING (auth.uid() = user_id); + +-- UPDATE: Users can update their own records +CREATE POLICY "users_update_own" ON user_profiles +FOR UPDATE USING (auth.uid() = user_id) +WITH CHECK (auth.uid() = user_id); + +-- DELETE: Users can delete their own records +CREATE POLICY "users_delete_own" ON user_profiles +FOR DELETE USING (auth.uid() = user_id); +``` + +### Admin Override + +Admins can access all data while users access only their own: + +```sql +CREATE POLICY "posts_select_owner_or_admin" ON posts +FOR SELECT USING ( + auth.uid() = user_id OR + auth.jwt() ->> 'role' = 'admin' +); +``` + +### Public Read, Authenticated Write + +Anyone can read, only authenticated users can write: + +```sql +-- Public read access +CREATE POLICY "public_posts_select" ON public_posts +FOR SELECT USING (true); + +-- Authenticated insert only +CREATE POLICY "public_posts_insert_auth" ON public_posts +FOR INSERT WITH CHECK (auth.role() = 'authenticated'); +``` + +### Soft Delete Handling + +Exclude soft-deleted records from queries: + +```sql +CREATE POLICY "posts_select_not_deleted" ON posts +FOR SELECT USING ( + deleted_at IS NULL AND + (auth.uid() = user_id OR is_published = true) +); +``` + +## Monitoring Agent Activity + +Track your agent's database security performance: + +1. **View in Mission Control**: See all agent runs and security fixes +2. **Check PR Comments**: Review detailed audit reports on each PR +3. **Verify Migrations**: Ensure generated SQL follows best practices +4. **Monitor Metrics**: Track security gap trends over time + +## Troubleshooting + + + + **Problem**: Agent can't connect to Supabase + + **Solutions**: + - Re-authenticate through the integrations page + - Verify OAuth token hasn't expired (expires after 7 days) + - Check project permissions + - Ensure Supabase project is accessible + - For CI/CD, verify environment variables are set + + + + + + **Problem**: Agent reports no tables found to audit + + **Solutions**: + - Verify PR contains database-related changes + - Check that migration files use standard naming + - Ensure SDK calls use `.from('table_name')` pattern + - Review PR for schema/type definition changes + + + + + + **Problem**: Agent identifies issues but doesn't create fixes + + **Solutions**: + - Check if issues are Low priority (agent suggests only) + - Verify agent has write access to repository + - Review error messages in agent logs + - Ensure Supabase MCP connection is working + - Check if migration directory exists + + + + + + **Problem**: Auto-generated RLS policies block legitimate access + + **Solutions**: + - Review and adjust policies in the generated migration + - Add custom logic for your specific access patterns + - Mark tables for manual policy creation if needed + - Provide feedback to improve future policy generation + + + + + + **Problem**: Generated migration conflicts with existing changes + + **Solutions**: + - Review both migrations and merge manually + - Ensure migration timestamps are unique + - Check for duplicate policy names + - Adjust generated migration as needed + + + +## Security Best Practices + + + + **Development vs. Production**: + - Always test RLS policies in development first + - Use separate Supabase projects for dev/staging/prod + - Never disable RLS on production tables + - Review all generated policies before deploying + - Test policies with different user roles + + + + + + Before deploying RLS changes, verify: + - [ ] RLS is enabled on all sensitive tables + - [ ] Policies cover all CRUD operations (SELECT, INSERT, UPDATE, DELETE) + - [ ] User-scoped data includes `auth.uid()` checks + - [ ] Admin overrides verify admin role properly + - [ ] Public access is intentional and documented + - [ ] Policies include `WITH CHECK` clauses for writes + - [ ] Soft deletes filter out `deleted_at IS NOT NULL` + - [ ] Policy names follow naming conventions + - [ ] Rollback commands are included + - [ ] Policies are tested with different user scenarios + + + +## Support & Resources + + + + + + Complete guide to database security automation with Supabase and Continue + + + + + + Combine Supabase with GitHub for automated security workflows + + + + + + Official Supabase Row Level Security documentation + + + + + + Learn about the Supabase Model Context Protocol + + + + From 2e3f414b2e37b662b8dc36ffd13b27f7b79e6f79 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 11:54:59 -0500 Subject: [PATCH 08/22] Update atlassian based on agent prompt --- .../integrations/atlassian.mdx | 192 +++++++++++------- .../mission-control/integrations/supabase.mdx | 2 +- 2 files changed, 125 insertions(+), 69 deletions(-) diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index f502e6300..ef92ab201 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -1,20 +1,21 @@ --- title: "Atlassian Integration" -description: "Connect Jira and Confluence to automate project management and documentation with Continue Agents" +description: "Connect Jira, Confluence, and Compass to automate project management with Continue Agents" --- ## Overview -Connect Atlassian products (Jira and Confluence) to Continue Mission Control to enable agents to manage issues, track projects, and maintain documentation. When Atlassian is enabled, Continue can automate ticket creation, sync documentation, and streamline development workflows. +Connect Jira, Confluence, and Compass to Continue Mission Control to enable agents to manage issues, search tickets, summarize pages, and bulk-process tasks using natural language. When Atlassian is enabled, Continue can automatically translate technical code changes into business-friendly updates, keeping stakeholders informed. - + - - Automatically create and update Jira issues from code changes - - Sync documentation between Confluence and your codebase - - Generate release notes and project updates - - Track development progress across projects - - Automate sprint planning and backlog grooming - - Create PRs linked to Jira tickets + - Automatically update Jira tickets with business-friendly summaries on PR merge + - Search issues and create tickets using natural language + - Summarize Confluence pages and documentation + - Bulk-process tasks across multiple tickets + - Triage incoming issues automatically + - Generate documentation from code changes + - Track development progress with stakeholder-friendly language @@ -24,43 +25,75 @@ Connect Atlassian products (Jira and Confluence) to Continue Mission Control to - Go to your [Integrations Settings](https://hub.continue.dev/integrations). + Go to your [Atlassian Integration Settings](https://hub.continue.dev/integrations/atlassian). - Click "Connect" next to Atlassian. You'll need the following credentials: - - - **Atlassian Domain**: Your Atlassian domain (e.g., `your-company.atlassian.net`) - - **Email**: Your Atlassian account email - - **API Token**: Generate from Atlassian account settings + Click Setup -> "Connect" next to Atlassian. + - - - To create an API token: - 1. Go to [Atlassian API Tokens](https://id.atlassian.com/manage-profile/security/api-tokens) - 2. Click "Create API token" - 3. Give it a descriptive name (e.g., "Continue Mission Control") - 4. Copy the token immediately (it won't be shown again) - - - - - - Paste your domain, email, and API token into the integration form and click "Create Connection" - + In the Atlassian authorization screen: + 1. Log into your Atlassian account + 2. Review the requested permissions + 3. Click "Authorize" to complete the connection - - **Security Best Practice**: Create a dedicated API token for Continue rather than reusing existing tokens. This makes it easier to revoke access if needed. + ## Workflows - +### Update Jira Tickets + +**Trigger**: On PR merge +**Description**: Connect Jira, Confluence, and Compass to your agents. Search issues, create tickets, summarize pages, and bulk-process tasks with natural language. + +When a pull request is merged, this workflow automatically: + +1. **Extracts Jira Ticket ID** - Finds the ticket reference from: + - PR title (e.g., `[PROJ-123] Add feature`) + - Branch name (e.g., `feature/PROJ-123-description`) + - PR description or comments + +2. **Analyzes Code Changes** - Reviews the merged PR to identify: + - What changed (files, features, components) + - Why it matters (business value, problem solved) + - Impact (user-facing changes, performance improvements) + - Risk level (Low/Medium/High based on scope) + +3. **Creates Business Summary** - Translates technical changes into clear, non-technical language: + - Focuses on **outcomes over implementation** + - Highlights **business value** and user benefits + - Uses **plain language** avoiding technical jargon + - Explains who benefits and how + +4. **Updates Jira Ticket** - Posts a formatted comment with: + - Business-friendly summary of what was accomplished + - Key changes in business terms + - Impact on users or stakeholders + - Technical metadata (files changed, merge details, PR link) + +5. **Comments on PR** - Adds a link back to the updated Jira ticket + + + + Technical code changes are often difficult for stakeholders to understand. This workflow bridges the gap between development and business by: + - Keeping product managers informed without technical details + - Providing business stakeholders with clear progress updates + - Reducing manual ticket updates for developers + - Creating a clear audit trail of work completed + + + + + + **Smart Translation**: The agent automatically converts technical terms into business language. For example, "Refactored authentication module" becomes "Users can now stay logged in longer without interruptions." + + ## Use Cases @@ -156,51 +189,31 @@ Monitor development progress and blockers: ### Code-to-Ticket Linking -Maintain traceability between code and requirements: +Process multiple tickets with natural language commands: - - - **Task Example**: "Review recent PRs and ensure they're linked to appropriate Jira tickets" + + **Task Example**: "Update all tickets tagged 'needs-review' with current status from linked PRs" **What the Agent Does**: - - Scans merged PRs without Jira ticket references - - Analyzes PR content to find related tickets - - Adds Jira ticket links to PRs and vice versa - - Reports PRs that may need ticket creation - **Run in Mission Control**: Run daily or after PR merges + + + - Searches Jira using natural language queries + + **Run in Mission Control**: Run manually or on schedule ## Running Atlassian Agents in Mission Control -You can run Atlassian-connected agents in two ways: +## Running Supabase Agents in Mission Control -### 1. Manual Tasks +You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): -Trigger agents on-demand for project management: - -1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) -2. Select or create an Atlassian-enabled agent -3. Click "Run Agent" and provide your task description -4. Monitor progress and review results in real-time - -**Example Tasks:** -- "Summarize all critical bugs from the last sprint" -- "Create architecture decision records in Confluence for recent technical decisions" -- "Update the project roadmap based on current velocity" - -### 2. Automated Workflows - -Set up agents to run automatically: - -- **Scheduled**: Run daily standup summaries, weekly backlog reviews -- **Triggered**: Execute on Jira events (new critical bug, sprint completion) -- **Webhook**: Integrate with CI/CD to update tickets on deployments - Start with manual tasks to refine your Jira queries and Confluence formatting, then convert successful patterns to automated workflows. + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. @@ -219,21 +232,64 @@ Combine Atlassian with GitHub for complete development workflow automation: Build an agent that: - - Creates PRs for Jira tickets + - Extracts Jira ticket IDs from PRs automatically - Updates ticket status based on PR state - - Links code changes to requirements - - Updates Confluence with technical decisions + - Translates code changes into business summaries + - Posts bidirectional links between Jira and GitHub - + - Configure the agent to run throughout the development lifecycle + Configure the "Update Jira Tickets" workflow to run on every PR merge +## Optional Workflow Enhancements + +Extend the base workflow with these powerful features: + +### Smart Tagging + +Automatically add Jira labels based on code changes: + +- `frontend-update` - UI/UX changes detected +- `backend-update` - API or database changes +- `bugfix` - Resolves bugs or issues +- `feature` - New functionality added +- `security` - Security improvements +- `performance` - Performance optimizations + +### Stakeholder Mentions + +Tag relevant people in Jira based on components modified: + +- Payment processing changes β†’ `@finance-team` +- User interface changes β†’ `@product-manager` +- Security updates β†’ `@security-lead` +- API modifications β†’ `@api-architect` + +### Release Notes Generation + +Accumulate business-friendly summaries for release documentation: + +- Store formatted summaries in `.release-notes/{version}/` +- Automatically compile summaries into Confluence release pages +- Generate customer-facing changelog from Jira updates +- Include impact metrics and user benefits + +### Metrics Tracking + +Log metadata for reporting and analytics: + +- Time from ticket creation to PR merge +- Number of files changed per ticket +- Business impact category (high/medium/low) +- Stakeholder engagement (comments, mentions) +- Risk level distribution across releases + ## Monitoring Agent Activity Track your agent's project management automation: diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index 7932a4d4c..f7daadb67 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -332,7 +332,7 @@ Keep dev and production schemas aligned: ## Running Supabase Agents in Mission Control -You can run Sanity-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): +You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): From ce256b595d132367fdde96f9ce9d162516e74c82 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 13:46:59 -0500 Subject: [PATCH 09/22] Update netlify extension based on the agent prompt --- docs/mission-control/integrations/netlify.mdx | 342 ++++++++++++++---- 1 file changed, 267 insertions(+), 75 deletions(-) diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index 7690aaf59..d5b5277d9 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -1,20 +1,21 @@ --- title: "Netlify Integration" -description: "Automate deployments and site management with Continue Agents connected to Netlify" +description: "Give your agents access to Netlify's API and CLI to manage deployments and optimize website performance" --- ## Overview -Connect Netlify to Continue Mission Control to enable agents to manage deployments, monitor site performance, and automate your continuous deployment pipeline. When Netlify is enabled, Continue can trigger builds, manage environments, and respond to deployment events. +Connect Netlify to Continue Mission Control to give your agents access to Netlify's API and CLI. Create projects, deploy applications, configure domains, and manage infrastructure with natural language. When Netlify is enabled, Continue can analyze bundle sizes, audit performance, and prevent performance regressions. - + - - Automatically trigger and monitor deployments - - Manage environment variables and build settings - - Create and test deploy previews - - Monitor site performance and uptime - - Automate rollback on errors or failed tests - - Generate deployment reports and notifications + - Run Lighthouse audits on PR previews and production + - Compare bundle sizes and analyze performance regressions + - Automatically detect configuration issues (minification, caching, tree-shaking) + - Block PRs that introduce critical performance problems + - Generate detailed performance reports with actionable fixes + - Create projects and manage domains with natural language + - Configure build settings and environment variables @@ -61,113 +62,292 @@ Connect Netlify to Continue Mission Control to enable agents to manage deploymen +## Workflows + +### Optimize Website Performance + +**Trigger**: On PR merge +**Description**: Run Lighthouse audits on PR preview and production to compare performance + +When a pull request is merged, this performance-focused workflow automatically: + +1. **Retrieves Deployment Information** - Uses Netlify MCP to get: + - Production deploy URL and metadata + - Deploy preview URL for the PR branch + - Build artifacts and configuration + +2. **Analyzes Bundle Sizes** - Compares JavaScript and CSS bundles: + - Downloads and measures all asset files + - Calculates total bundle size for both deploys + - Identifies largest individual files + - Detects unminified or bloated assets + +3. **Reviews Build Configuration** - Examines: + - `vite.config.ts` or `webpack.config.js` for minification settings + - `netlify.toml` for cache headers and build commands + - `package.json` for redundant or oversized dependencies + +4. **Identifies Performance Issues** - Classifies problems by severity: + - πŸ”΄ **Critical**: Minification disabled, bundle size >50% increase, no caching + - ⚠️ **Warning**: No code splitting, large chunks >500KB, 20-50% bundle increase + - ℹ️ **Info**: Suboptimal configurations, bundle size less than 20% increase + +5. **Generates Actionable Report** - Posts to PR with: + - Bundle size comparison table + - Root cause analysis with file references and line numbers + - Code fixes that can be copy-pasted + - Merge recommendation (Approved/Review Needed/Blocked) + - Expected improvements from each fix + + + + Performance regressions often slip through code review because: + - Bundle size increases aren't visible in diffs + - Configuration errors (disabled minification) go unnoticed + - Redundant dependencies accumulate over time + + This workflow catches these issues automatically before they reach production. + + + + + + **Smart Analysis**: The agent doesn't just report bundle sizesβ€”it analyzes build configurations, identifies root causes, and provides specific code fixes with line numbers. + + + +#### Example Performance Report + +After analyzing a deploy preview, the agent posts a comprehensive PR comment like this: + +```markdown +## πŸ“Š Netlify Performance Analysis + +### Deploy Information +- **Production**: https://site.netlify.app + - Deployed: 2h ago + - Commit: abc1234 +- **Preview**: https://deploy-preview-123--site.netlify.app + - Deployed: 5m ago + - Branch: feature-branch-name + - Commit: def5678 + +### πŸ“¦ Bundle Size Analysis + +| Asset Type | Production | Preview | Change | Status | +|------------|-----------|---------|--------|--------| +| JavaScript | 245 KB | 671 KB | +426 KB (+174%) | πŸ”΄ Critical | +| CSS | 12 KB | 12 KB | 0 KB | βœ… | +| Images | 180 KB | 180 KB | 0 KB | βœ… | +| **Total** | **437 KB** | **863 KB** | **+426 KB (+97%)** | πŸ”΄ Critical | + +### πŸ” Root Cause Analysis + +**πŸ”΄ Critical Issue 1: Minification Disabled** +- **File**: `frontend/vite.config.ts:20` +- **Problem**: Build has `minify: false` +- **Impact**: 671 KB unminified JavaScript (should be ~200 KB minified) +- **Fix**: + \```typescript + // frontend/vite.config.ts + build: { + minify: 'terser', // Enable minification + } + \``` +- **Expected improvement**: -70% bundle size + +**πŸ”΄ Critical Issue 2: Redundant Dependencies** +- **Files**: `frontend/package.json:22-29` +- **Problem**: Multiple date libraries bundled + - lodash: 528 KB + - moment: 232 KB + - date-fns: 76 KB + - dayjs: 7 KB +- **Fix**: Remove redundant libraries: + \```bash + npm uninstall lodash moment date-fns + \``` +- **Expected improvement**: -800 KB bundle + +### 🎯 Verdict: πŸ”΄ BLOCK - Critical Performance Regression + +**Summary**: This PR introduces severe performance issues: +- Bundle size increased by 426 KB (+174%) +- No minification enabled +- Multiple redundant dependencies + +**Recommendation**: Do not merge until critical issues are resolved. + +### βœ… Action Plan + +**Must fix before merge:** +1. Enable minification in vite.config.ts +2. Remove lodash, moment, date-fns (keep only dayjs) +3. Enable tree-shaking +4. Configure proper Cache-Control headers + +**Expected results after fixes:** +- Bundle: ~250 KB (+5 KB from production, acceptable) +- All assets properly cached +- Fast initial and repeat visits +``` + +### Performance Issue Classification + +The agent categorizes issues by severity: + + + + **Issues that must be fixed before merging:** + - Minification disabled (`minify: false`) + - Tree-shaking disabled (`treeshake: false`) + - No caching headers (`Cache-Control: no-cache`) + - Production source maps enabled + - Bundle size increase >50% + - Redundant dependencies (lodash + underscore, moment + date-fns + dayjs) + + **Action**: Agent recommends blocking the merge + + + + + + **Issues that need attention:** + - No code splitting (single large bundle) + - Suboptimal cache headers (max-age too low) + - Large individual chunks (>500KB) + - Unoptimized images + - Bundle size increase 20-50% + + **Action**: Agent recommends careful review before merging + + + + + + **Non-blocking improvements:** + - Could use better code splitting + - Modern browser features could replace polyfills + - CSS not extracted/split + - Bundle size increase <20% + + **Action**: Agent approves merge but suggests optimizations + + + ## Use Cases -### Automated Deployment Management +### Infrastructure as Code -Create agents that manage your deployment pipeline: +Manage Netlify infrastructure with natural language: - + - **Task Example**: "Deploy the staging branch to preview environment and run smoke tests" + **Task Example**: "Create a new Netlify site for the marketing-site repo with custom domain marketing.company.com" **What the Agent Does**: - - Triggers Netlify build for specified branch - - Monitors build progress and logs - - Runs automated tests on deploy preview - - Reports results and preview URL + - Creates new Netlify project via API + - Connects to specified Git repository + - Configures build settings and commands + - Sets up custom domain and SSL + - Configures environment variables - **Run in Mission Control**: Trigger on PR creation or manual request + **Run in Mission Control**: Run manually when creating new projects -### Environment Configuration +### Build Configuration Optimization -Automate environment variable management: +Automatically optimize build settings: - + - **Task Example**: "Sync environment variables from .env.example to all Netlify sites" + **Task Example**: "Audit all Netlify sites for missing cache headers and suboptimal build configs" **What the Agent Does**: - - Reads environment variable definitions - - Updates Netlify site settings - - Verifies variables are set correctly - - Triggers rebuild if necessary + - Reviews `netlify.toml` and build settings + - Checks cache header configurations + - Identifies missing optimizations + - Generates recommended configuration changes + - Can apply fixes automatically - **Run in Mission Control**: Run after config updates or schedule periodic audits + **Run in Mission Control**: Run monthly or after adding new sites -### Performance Monitoring +### Performance Auditing -Track and respond to site performance issues: +Prevent performance regressions before deployment: - + - **Task Example**: "Monitor production deployment and rollback if Core Web Vitals degrade" + **Task Example**: "Analyze bundle sizes and configurations, block PRs with critical performance issues" **What the Agent Does**: - - Tracks deployment performance metrics - - Compares against baseline thresholds - - Automatically rolls back if issues detected - - Creates incident report with details + - Compares preview and production bundle sizes + - Detects disabled minification or tree-shaking + - Identifies redundant dependencies (lodash + underscore, multiple date libraries) + - Checks cache configuration + - Posts detailed report with fixes to PR + - Recommends approval, review, or blocking merge - **Run in Mission Control**: Set up as continuous monitoring for production + **Run in Mission Control**: Triggered automatically on PR merge -### Deploy Preview Testing +### Dependency Analysis -Automate testing of deploy previews: +Identify and fix problematic dependencies: - + - **Task Example**: "Run visual regression tests on deploy preview and comment results on PR" + **Task Example**: "Find redundant or oversized dependencies across all projects" **What the Agent Does**: - - Waits for deploy preview to be ready - - Executes test suite against preview URL - - Captures screenshots and differences - - Posts results as PR comment + - Scans `package.json` files in all Netlify sites + - Identifies duplicate functionality (multiple date/utility libraries) + - Finds oversized packages (>100KB) + - Suggests lightweight alternatives + - Calculates potential bundle size savings - **Run in Mission Control**: Trigger on deploy preview creation + **Run in Mission Control**: Run quarterly for dependency cleanup -### Site Health Monitoring +### Continuous Performance Monitoring -Proactively monitor site availability and health: +Track performance trends over time: - + - **Task Example**: "Check all production sites every hour and create alerts for downtime or errors" + **Task Example**: "Generate a performance trend report for the last 30 deploys" **What the Agent Does**: - - Pings production sites to verify availability - - Checks for broken links or 500 errors - - Monitors SSL certificate expiration - - Creates incidents for issues found + - Queries deploy history via Netlify MCP + - Tracks bundle size over time + - Identifies gradual performance degradation + - Highlights deploysthat introduced regressions + - Generates visualization of trends - **Run in Mission Control**: Schedule hourly health checks + **Run in Mission Control**: Schedule weekly for ongoing monitoring -### Automated Rollback +### Domain and SSL Management -Implement intelligent rollback strategies: +Manage domains using natural language: - + - **Task Example**: "Monitor error rates after deployment and rollback if errors exceed 1%" + **Task Example**: "Add www.example.com to my site and configure SSL" **What the Agent Does**: - - Tracks error metrics post-deployment - - Analyzes error patterns and severity - - Triggers rollback to previous version if threshold exceeded - - Notifies team with incident details + - Configures custom domains via Netlify API + - Sets up SSL certificates automatically + - Configures DNS records and redirects + - Verifies domain setup and SSL status - **Run in Mission Control**: Set up as post-deployment monitoring + **Run in Mission Control**: Run manually when adding domains @@ -193,13 +373,13 @@ Trigger agents on-demand for deployment operations: Set up agents to run automatically: -- **Event-triggered**: Execute on Git push, PR creation, or deployment completion -- **Scheduled**: Run daily site audits or weekly performance reviews -- **Threshold-based**: Trigger on metric anomalies or build failures +- **PR-triggered**: Audit performance when pull requests are merged +- **Scheduled**: Run weekly bundle size audits across all sites +- **Manual**: Analyze specific deploys or troubleshoot performance issues - Start with manual deployment tasks to validate your workflow, then automate repetitive deployment patterns and monitoring tasks. + Start with manual performance audits on specific PRs to refine your thresholds, then enable automated workflows to catch all performance regressions. @@ -257,9 +437,9 @@ Track your agent's deployment automation: - + - **Problem**: Agent can't trigger Netlify builds + **Problem**: Deploy preview is still building when agent tries to analyze **Solutions**: - Verify you have deploy permissions for the site @@ -269,15 +449,27 @@ Track your agent's deployment automation: - + - **Problem**: Can't update site environment variables + **Problem**: Agent can't find deploy preview for the branch **Solutions**: - - Confirm you have admin access to the site - - Check variable name format (no spaces or special chars) - - Ensure values are properly escaped - - Verify API token has write permissions + - Verify branch name is correct + - Check that PR has triggered a Netlify build + - Ensure deploy previews are enabled in Netlify settings + - Confirm the repository is connected to Netlify + + + + + + **Problem**: Agent can't download or analyze bundles + + **Solutions**: + - Verify deploy URLs are accessible + - Check for authentication requirements on preview + - Ensure assets are being generated correctly + - Review build logs for errors From 103033a4db5a0bfbbcc7bf0e0dfe17f6d121e673 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 14:07:34 -0500 Subject: [PATCH 10/22] Remove Connect with GH and monitoring sections --- .../integrations/atlassian.mdx | 37 ----------- docs/mission-control/integrations/netlify.mdx | 39 ----------- docs/mission-control/integrations/posthog.mdx | 38 ----------- docs/mission-control/integrations/sanity.mdx | 9 --- docs/mission-control/integrations/sentry.mdx | 65 +------------------ docs/mission-control/integrations/snyk.mdx | 38 ----------- .../mission-control/integrations/supabase.mdx | 44 ------------- 7 files changed, 2 insertions(+), 268 deletions(-) diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index ef92ab201..96fb84160 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -217,35 +217,6 @@ You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) o -## Integration with GitHub - -Combine Atlassian with GitHub for complete development workflow automation: - - - - - - Enable both Atlassian and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Extracts Jira ticket IDs from PRs automatically - - Updates ticket status based on PR state - - Translates code changes into business summaries - - Posts bidirectional links between Jira and GitHub - - - - - - Configure the "Update Jira Tickets" workflow to run on every PR merge - - - - ## Optional Workflow Enhancements @@ -290,14 +261,6 @@ Log metadata for reporting and analytics: - Stakeholder engagement (comments, mentions) - Risk level distribution across releases -## Monitoring Agent Activity - -Track your agent's project management automation: - -1. **View in Mission Control**: See all agent runs and their outputs -2. **Check Jira**: Verify tickets are created and updated correctly -3. **Review Confluence**: Ensure documentation is accurate and well-formatted -4. **Monitor Metrics**: Track automation impact on team velocity ## Troubleshooting diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index d5b5277d9..d887f6209 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -383,45 +383,6 @@ Set up agents to run automatically: -## Integration with GitHub - -Combine Netlify with GitHub for complete CI/CD automation: - - - - - - Enable both Netlify and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Monitors GitHub for new PRs - - Triggers Netlify deploy previews - - Runs automated tests on preview - - Updates PR status and adds preview URL - - Manages production deployments on merge - - - - - - Configure the agent to handle the entire deployment workflow automatically - - - - - -## Monitoring Agent Activity - -Track your agent's deployment automation: - -1. **View in Mission Control**: See all agent runs and deployment actions -2. **Check Netlify Dashboard**: Verify builds and deployments -3. **Review Deploy Logs**: Ensure builds complete successfully -4. **Monitor Metrics**: Track deployment frequency and success rate ## Troubleshooting diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index e40dc73a5..9d3072c35 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -189,44 +189,6 @@ Set up agents to run automatically: -## Integration with GitHub - -Combine PostHog with GitHub integration for data-driven development: - - - - - - Enable both PostHog and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Monitors PostHog metrics and user behavior - - Identifies optimization opportunities - - Creates issues or PRs with data-backed improvements - - Links PostHog dashboards in PR descriptions - - - - - - Configure the agent to run on a schedule or when metrics indicate action is needed - - - - - -## Monitoring Agent Activity - -Track your agent's analytics-driven development: - -1. **View in Mission Control**: See all agent runs and their insights -2. **Check PostHog**: Verify data accuracy and explore referenced metrics -3. **Review Issues/PRs**: Ensure recommendations are actionable -4. **Monitor Impact**: Track whether changes improve metrics ## Troubleshooting diff --git a/docs/mission-control/integrations/sanity.mdx b/docs/mission-control/integrations/sanity.mdx index 452d75cdb..eea5fa01f 100644 --- a/docs/mission-control/integrations/sanity.mdx +++ b/docs/mission-control/integrations/sanity.mdx @@ -258,15 +258,6 @@ You can run Sanity-connected agents in two ways as [one-off tasks](../tasks) or -## Monitoring Agent Activity - -Track your agent's content management performance: - -1. **View in Mission Control**: See all agent runs and content operations -2. **Check Sanity Studio**: Verify content updates and validations -3. **Review Query Results**: Ensure GROQ queries return expected data -4. **Monitor Metrics**: Track content quality trends over time - ## Troubleshooting diff --git a/docs/mission-control/integrations/sentry.mdx b/docs/mission-control/integrations/sentry.mdx index 9e0d2de63..bedaae984 100644 --- a/docs/mission-control/integrations/sentry.mdx +++ b/docs/mission-control/integrations/sentry.mdx @@ -69,75 +69,14 @@ Connect Sentry to Continue Mission Control to enable agents to automatically det ## Running Sentry Agents in Mission Control -You can run Sentry-connected agents in two ways: - -### 1. Manual Tasks - -Trigger agents on-demand for error analysis: - -1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) -2. Select or create a Sentry-enabled agent -3. Click "Run Agent" and provide your task description -4. Monitor progress and review results in real-time - -**Example Tasks:** -- "Analyze the top 10 errors from the last 24 hours" -- "Create a PR to fix the authentication timeout error" -- "Generate a report on errors affecting mobile users" - -### 2. Automated Workflows - -Set up agents to run automatically: - -- **Webhook-triggered**: Execute when new Sentry errors occur -- **Scheduled**: Run daily or weekly error analysis -- **Threshold-based**: Trigger when error rates exceed limits +You can run Sentry-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows). - Start with manual tasks to refine your prompts, then convert successful workflows to automations for continuous error monitoring. + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. -## Integration with GitHub - -Combine Sentry with GitHub integration for a complete workflow: - - - - - - Enable both Sentry and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Receives Sentry error notifications - - Analyzes the error and finds the problematic code - - Creates a PR with a fix - - Adds the PR link to the Sentry issue - - - - - - Configure the agent to run automatically on new Sentry issues - - - - - -## Monitoring Agent Activity - -Track your agent's error resolution performance: - -1. **View in Mission Control**: See all agent runs and their outcomes -2. **Check Sentry**: Verify that issues are being resolved -3. **Review PRs**: Ensure quality of generated fixes -4. **Monitor Metrics**: Track resolution time and success rate - ## Troubleshooting diff --git a/docs/mission-control/integrations/snyk.mdx b/docs/mission-control/integrations/snyk.mdx index 9969fa768..eacb94649 100644 --- a/docs/mission-control/integrations/snyk.mdx +++ b/docs/mission-control/integrations/snyk.mdx @@ -60,44 +60,6 @@ Connect Snyk to Continue Mission Control to enable agents to automatically detec -## Integration with GitHub - -Combine Snyk with GitHub integration for a complete security workflow: - - - - - - Enable both Snyk and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Receives Snyk vulnerability alerts - - Analyzes the security issue in your codebase - - Creates a PR with the security fix - - Adds security impact analysis to the PR - - - - - - Configure the agent to run automatically on new critical vulnerabilities - - - - - -## Monitoring Agent Activity - -Track your agent's security remediation performance: - -1. **View in Inbox**: Navigate to the [Snyk view](https://hub.continue.dev/inbox?view=snyk) to see all Snyk-related agent activity -2. **Check Snyk Dashboard**: Verify that vulnerabilities are being addressed -3. **Review PRs**: Ensure quality and security of generated fixes -4. **Monitor Metrics**: Track mean time to remediation (MTTR) and fix rate ## Troubleshooting diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index f7daadb67..9aee2a148 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -341,41 +341,6 @@ You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) o -## Integration with GitHub - -Combine Supabase with GitHub for complete database security automation: - - - - - - Enable both Supabase and GitHub integrations in Mission Control - - - - - - Build an agent that: - - Monitors PRs for database changes - - Audits RLS policies automatically - - Generates security fixes - - Commits migrations to the PR branch - - Posts detailed audit reports - - - - - - Configure the agent to run automatically on all PRs that modify: - - Migration files - - Database queries - - Schema definitions - - Supabase client usage - - - - - ## Common RLS Policy Patterns The agent recognizes and implements these standard security patterns: @@ -437,15 +402,6 @@ FOR SELECT USING ( ); ``` -## Monitoring Agent Activity - -Track your agent's database security performance: - -1. **View in Mission Control**: See all agent runs and security fixes -2. **Check PR Comments**: Review detailed audit reports on each PR -3. **Verify Migrations**: Ensure generated SQL follows best practices -4. **Monitor Metrics**: Track security gap trends over time - ## Troubleshooting From c634961d7834a6f44f68acf405fe5d04abac1588 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Mon, 8 Dec 2025 14:10:19 -0500 Subject: [PATCH 11/22] Remove verbose usage section --- docs/mission-control/integrations/netlify.mdx | 16 ++++-------- docs/mission-control/integrations/posthog.mdx | 25 ++----------------- 2 files changed, 7 insertions(+), 34 deletions(-) diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index d887f6209..f4d5452f7 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -353,21 +353,15 @@ Manage domains using natural language: ## Running Netlify Agents in Mission Control -You can run Netlify-connected agents in two ways: +You can run Netlify-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): -### 1. Manual Tasks -Trigger agents on-demand for deployment operations: + -1. Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) -2. Select or create a Netlify-enabled agent -3. Click "Run Agent" and provide your task description -4. Monitor progress and review results in real-time + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. + + -**Example Tasks:** -- "Create a new deploy preview for the feature/redesign branch" -- "List all sites and their current deployment status" -- "Update production environment variables for API endpoints" ### 2. Automated Workflows diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index 9d3072c35..bd9ad51e0 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -159,33 +159,12 @@ Connect analytics insights to code improvements: ## Running PostHog Agents in Mission Control -You can run PostHog-connected agents in two ways: +You can run PostHog-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): -### 1. Manual Tasks - -Trigger agents on-demand for analytics insights: - -1. Go to [Mission Control PostHog Agents](https://hub.continue.dev/hub?type=agents&q=posthog) -2. Select or create a PostHog-enabled agent -3. Click "Run Agent" and provide your task description -4. Monitor progress and review results in real-time - -**Example Tasks:** -- "What are the most common user paths leading to checkout abandonment?" -- "Compare mobile vs desktop conversion rates for the last month" -- "Identify features with low adoption that we should sunset" - -### 2. Automated Workflows - -Set up agents to run automatically: - -- **Scheduled**: Run daily, weekly, or monthly analytics reviews -- **Metric-triggered**: Execute when KPIs cross thresholds -- **Event-based**: Trigger on feature flag changes or experiment completion - Start with manual exploratory tasks to understand your data, then automate recurring analysis patterns with scheduled workflows. + Start with manual tasks to refine your content queries, then automate repetitive content management and validation tasks. From 02ad37d5bceacf4cadb484e30be8443fe717050c Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 11:58:55 -0500 Subject: [PATCH 12/22] Fix text for link --- docs/continue-overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx index d8ac91b04..fd55f7f3a 100644 --- a/docs/continue-overview.mdx +++ b/docs/continue-overview.mdx @@ -16,7 +16,7 @@ description: "Complete guide to AI agents in Continue" - Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. + Go to [the Hub agents page](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. From 2e548c8437051367ed3394324fb3066bfae66a8e Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 12:07:54 -0500 Subject: [PATCH 13/22] Fix links --- docs/continue-overview.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx index fd55f7f3a..fdab052d3 100644 --- a/docs/continue-overview.mdx +++ b/docs/continue-overview.mdx @@ -28,7 +28,7 @@ description: "Complete guide to AI agents in Continue" - Enter a prompt and watch your agent work + Enter additional instructions and watch your agent work @@ -82,7 +82,7 @@ Agents let your team standardize common workflows like opening GitHub PRs, summa Run one-off or scheduled tasks automatically without interaction. ```bash - cn -p --agent my-org/snyk-agent "Run weekly security scan" --auto + cn -p --agent my-org/snyk-agent "Run weekly security scan" ``` Perfect for: CI/CD pipelines, scheduled tasks, webhook integrations @@ -96,7 +96,7 @@ Agents let your team standardize common workflows like opening GitHub PRs, summa Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/snyk-continuous-ai-agent` @@ -104,7 +104,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/github-project-manager-agent` @@ -112,7 +112,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/posthog-continuous-ai-agent` @@ -120,7 +120,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/netlify-continuous-ai-agent` @@ -128,7 +128,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/supabase-agent` @@ -136,7 +136,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/dlt-agent` From 06c0d953de6612b1c0c33cac340d4993a7ca9644 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 12:11:51 -0500 Subject: [PATCH 14/22] Add more links --- docs/continue-overview.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx index fdab052d3..f20ad6c04 100644 --- a/docs/continue-overview.mdx +++ b/docs/continue-overview.mdx @@ -158,7 +158,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: - From the Continue Mission Control top navigation bar, select **"+"** β†’ **"New Agent"**. + From the Continue Mission Control top navigation bar, select **"+"** β†’ **"New Agent"** or navigate to the [New Agent page](https://hub.continue.dev/new?type=agent). @@ -171,9 +171,9 @@ Skip the setup and use battle-tested agents from our cookbook collection: | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | | **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` | - | **Tools (MCPs)** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | - | **Rules** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | - | **Model** | Choose a default LLM | `Claude Sonnet 4.5` | + | **Tools ([MCPs](https://hub.continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | + | **[Rules](https://hub.continue.dev/hub?type=rules)** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | + | **[Model](https://hub.continue.dev/hub?type=models)** | Choose a default LLM | `Claude Sonnet 4.5` | | **Owner + Slug** | Determines namespace | `my-org/github-pr-agent` | | **Visibility** | Access level | `Public, Organization, or Private` | From 32e0c16ab78660891a2467dfcb44a4b57b4e9ff3 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 13:37:51 -0500 Subject: [PATCH 15/22] Update links, outdated terminology --- docs/agents/create-and-edit.mdx | 13 ++++---- docs/agents/intro.mdx | 6 ++-- docs/agents/overview.mdx | 32 +++++++++++++++---- docs/continue-overview.mdx | 21 +++++------- .../configs/create-a-config.mdx | 2 +- docs/mission-control/configs/intro.mdx | 4 +-- docs/mission-control/index.mdx | 2 +- docs/mission-control/tasks.mdx | 2 +- 8 files changed, 47 insertions(+), 35 deletions(-) diff --git a/docs/agents/create-and-edit.mdx b/docs/agents/create-and-edit.mdx index e0bb50503..21f79c425 100644 --- a/docs/agents/create-and-edit.mdx +++ b/docs/agents/create-and-edit.mdx @@ -16,9 +16,9 @@ sidebarTitle: "Create & Edit" - From the Continue Mission Control top navigation bar, select **"+"** β†’ **"New Agent"**. + Navigate to the [New Agent page](https://hub.continue.dev/new?type=agent). - This opens the **Create an Agent (beta)** form with all required fields. + This opens the **Create an Agent** form with all required fields. @@ -30,9 +30,9 @@ sidebarTitle: "Create & Edit" | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | | **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` | - | **Tools (MCPs)** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | - | **Rules** | Add any organizational rules | `continuedev/gh-pr-commit-workflow, continuedev/summarization` | - | **Model** | Choose a default LLM | `Claude Sonnet 4.5` | + | **Tools ([MCPs](https://hub.continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | + | **[Rules](https://hub.continue.dev/hub?type=rules)** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | + | **[Model](https://hub.continue.dev/hub?type=models)** | Choose a default LLM | `Claude Sonnet 4.5` | | **Owner + Slug** | Determines namespace | `my-org/github-pr-agent` | | **Visibility** | Access level | `Public, Organization, or Private` | @@ -70,8 +70,7 @@ sidebarTitle: "Create & Edit" ## Editing an Agent -You can edit any agent you own or that belongs to your organization. - +You can edit any agent you own or that has Organization-level access. From the **Agents** page or Mission Control view, click your agent's name, then select **"Edit Agent"**. diff --git a/docs/agents/intro.mdx b/docs/agents/intro.mdx index 9bb3c4966..caad558b7 100644 --- a/docs/agents/intro.mdx +++ b/docs/agents/intro.mdx @@ -23,7 +23,7 @@ Use Mission Control to kick off agents for: - Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. + Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. ![Mission Control Setup](/images/hub/workflows/images/workflows-setup.png) @@ -45,7 +45,7 @@ Use Mission Control to kick off agents for: - Enter a prompt and watch your agent work: + Enter additional instructions and watch your agent work: ``` "Fix the TypeError in api/users.ts and open a PR with tests" @@ -79,7 +79,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe - Go to [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) and: + Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) and: - **Connect GitHub** and authorize Continue when prompted - This gives agents access to create PRs in your repositories diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index acfda9a78..a606351eb 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -67,7 +67,7 @@ You can run Agents in three main ways: Run one-off or scheduled tasks automatically without interaction. ```bash - cn -p --agent my-org/snyk-agent "Run weekly security scan" --auto + cn -p --agent my-org/snyk-agent "Run weekly security scan" ``` Perfect for: CI/CD pipelines, scheduled tasks, webhook integrations @@ -79,34 +79,52 @@ You can run Agents in three main ways: Skip the setup and use battle-tested agents from our cookbook collection: - + + `continuedev/snyk-continuous-ai-agent` + Finds vulnerabilities and opens PRs with fixes + - + + `continuedev/github-project-manager-agent` + Triages issues and manages project workflows + - + + `continuedev/posthog-continuous-ai-agent` + Analyzes user data and creates actionable tasks + - + + `continuedev/netlify-continuous-ai-agent` + Monitors Core Web Vitals and optimizes deployments + - + + `continuedev/supabase-agent` + Audits RLS security and generates migrations + - + + `continuedev/dlt-agent` + Inspects pipelines and debugs load errors + diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx index f20ad6c04..1651173b2 100644 --- a/docs/continue-overview.mdx +++ b/docs/continue-overview.mdx @@ -191,7 +191,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: ### Editing an Agent -You can edit any agent you own or that belongs to your organization. +You can edit any agent you own or that has Organization-level access. @@ -338,8 +338,8 @@ Mission Control is where developers and teams use Continue to power everyday cod Trigger your AI Agents and review or approve the results. - - Create, configure, and monitor your custom Agents across repositories. + + Create, configure, and monitor your custom Agents across repositories. Schedule recurring Tasks, connect webhooks to trigger Agents automatically, or add @@ -411,7 +411,7 @@ Agents are built from reusable components that you can create, share, and custom -Components are the building blocks for agents that you can create new or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization. +You can create new agent components or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization. ### Component Inputs @@ -437,7 +437,7 @@ A Task is a unit of work shared between you and an agent. You trigger the task, Select the **Agent** you want to use for this task. - Pick the **repository** and **branch** where the Agent will work. + Select the **repository** and **branch** the Agent will branch off of. Add your user input β€” clear instructions for what you want the agent to accomplish. @@ -530,11 +530,6 @@ Each Agent or Component can be published with one of three visibility levels: - **Organization**: Visible to everyone in your organization. Ideal for internal workflows, standardized agents, and shared tooling. - **Public**: Available to everyone in Continue Mission Control. Perfect for templates, community contributions, and reusable examples. -### Community - -Join our Discord to connect with thousands of developers using Continue and share your experiences. Share your feedback in GitHub discussions to let us know what you think of Mission Control. - - ## Configs ### Introduction to Configs @@ -548,7 +543,7 @@ Configs are flexible containers that combine multiple components to create power ### How Configs Work -Think of configs as recipes for AI assistance. Each config defines: +Each config defines: - What models to use for different tasks (chat, autocomplete, code editing) - Which tools are available through MCP servers - How the AI behaves through rules and guidelines @@ -559,7 +554,7 @@ This flexibility lets you create specialized setups for different contexts, like ### Config Permissions When creating configs, you can set visibility levels: -- **Personal**: Only you can see and use the config +- **Private**: Only you and your org admins can see the config - **Public**: Anyone can discover and use your config - **Organization**: Members of your organization can access the config @@ -582,7 +577,7 @@ All configs follow the `config.yaml` format, whether you're using Mission Contro ### How to Create a Config -To create a config from scratch, select "New config" in the top bar. Choose a name, slug, description, and icon for your config. +To create a config from scratch, navigate to [your config settings](https://hub.continue.dev/settings/configs). Choose a name, slug, description, and icon for your config. The easiest way to create a config is to click "Create config" with the default configuration and then add/remove blocks using the sidebar. Alternatively, you can edit the config YAML directly before clicking "Create config". diff --git a/docs/mission-control/configs/create-a-config.mdx b/docs/mission-control/configs/create-a-config.mdx index 33845b711..c9b7bd56e 100644 --- a/docs/mission-control/configs/create-a-config.mdx +++ b/docs/mission-control/configs/create-a-config.mdx @@ -6,7 +6,7 @@ sidebarTitle: "Create a Config" ## How to Create a Config from Scratch -To create an config from scratch, select β€œNew config” in the top bar. +To create a config from scratch, navigate to [your config settings](https://hub.continue.dev/settings/configs). Choose a name, slug, description, and icon for your config. diff --git a/docs/mission-control/configs/intro.mdx b/docs/mission-control/configs/intro.mdx index b812c5df1..3ebb7ce84 100644 --- a/docs/mission-control/configs/intro.mdx +++ b/docs/mission-control/configs/intro.mdx @@ -43,7 +43,7 @@ Configs are flexible containers that combine multiple components to create power ## How Configs Work -Think of configs as recipes for AI assistance. Each config defines: +Each config defines: - **What models** to use for different tasks (chat, autocomplete, code editing) - **Which tools** are available through MCP servers @@ -56,7 +56,7 @@ This flexibility lets you create specialized setups for different contexts, like When creating configs, you can set visibility levels: -- **Personal**: Only you can see and use the config +- **Private**: Only you (and your org admins) can see and use the config - **Public**: Anyone can discover and use your config - **Organization**: Members of your organization can access the config diff --git a/docs/mission-control/index.mdx b/docs/mission-control/index.mdx index e550aaf7d..54e011a9f 100644 --- a/docs/mission-control/index.mdx +++ b/docs/mission-control/index.mdx @@ -120,7 +120,7 @@ Agents are built from reusable components that you can create, share, and custom - Components are the building blocks for agents that you can create new or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization. + When you create a component for your agent in Mission Control, it becomes available according to the permissions you set: Personal, Public, or Organization. diff --git a/docs/mission-control/tasks.mdx b/docs/mission-control/tasks.mdx index 4dd58fb22..9efd78222 100644 --- a/docs/mission-control/tasks.mdx +++ b/docs/mission-control/tasks.mdx @@ -34,7 +34,7 @@ description: "A Task is a unit of work shared between you and an agent. You trig - Pick the **repository** and **branch** where the Agent will work. + Pick the **repository** and **branch** the Agent branch off of. From aa10e0e4cfa250b46a40c7a91aaacf843d0bb828 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 13:38:16 -0500 Subject: [PATCH 16/22] Send redirect page to hub pricing page --- docs/mission-control/governance/pricing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mission-control/governance/pricing.mdx b/docs/mission-control/governance/pricing.mdx index e56ef3517..ff21b8f26 100644 --- a/docs/mission-control/governance/pricing.mdx +++ b/docs/mission-control/governance/pricing.mdx @@ -1,6 +1,6 @@ --- title: "Pricing" -description: "Continue Mission Control pricing plans for individuals, teams, and enterprises, including the Models Add-On that provides access to frontier AI models for a flat monthly fee" +url: "https://hub.continue.dev/pricing" --- ## Solo From 8492fb2318dca4643cb413998f01c579c0016197 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 13:56:21 -0500 Subject: [PATCH 17/22] Update broken links and outdated descriptions --- docs/mission-control/integrations/atlassian.mdx | 2 +- docs/mission-control/integrations/index.mdx | 3 ++- docs/mission-control/integrations/netlify.mdx | 2 +- docs/mission-control/integrations/posthog.mdx | 2 +- docs/mission-control/integrations/sanity.mdx | 7 ++----- docs/mission-control/integrations/sentry.mdx | 7 ++++--- docs/mission-control/integrations/slack-agent.mdx | 5 +---- docs/mission-control/integrations/snyk.mdx | 2 +- docs/mission-control/integrations/supabase.mdx | 2 +- 9 files changed, 14 insertions(+), 18 deletions(-) diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index 96fb84160..aef110991 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -31,7 +31,7 @@ Connect Jira, Confluence, and Compass to Continue Mission Control to enable agen - Click Setup -> "Connect" next to Atlassian. + Click "Connect" to Atlassian. diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index bc38a89e8..a2908eb24 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -50,5 +50,6 @@ Mission Control currently supports these first-class integrations: ## Next Steps - + + Connect your favorite tools to Mission Control and unlock new Agent capabilities. \ No newline at end of file diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index f4d5452f7..db6835425 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -229,7 +229,7 @@ The agent categorizes issues by severity: - Could use better code splitting - Modern browser features could replace polyfills - CSS not extracted/split - - Bundle size increase <20% + - Bundle size increase less than 20% **Action**: Agent approves merge but suggests optimizations diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index bd9ad51e0..52f103792 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -59,7 +59,7 @@ Connect PostHog to Continue Mission Control to enable agents to analyze user beh **How to get these credentials:** 1. Log into your PostHog account - 2. Go to **Project Settings** β†’ **Project API Key** + 2. Go to **Settings** β†’ **Project API Key** 3. Copy your API key 4. Note your instance URL (shown in the browser address bar) diff --git a/docs/mission-control/integrations/sanity.mdx b/docs/mission-control/integrations/sanity.mdx index eea5fa01f..0a8a2ce83 100644 --- a/docs/mission-control/integrations/sanity.mdx +++ b/docs/mission-control/integrations/sanity.mdx @@ -30,16 +30,13 @@ Connect Sanity to Continue Mission Control to enable agents to manage content, v - Click Setup -> "Connect" next to Sanity. The integration uses OAuth authentication through the Sanity MCP. + "Connect" to Sanity. The integration uses OAuth authentication through the Sanity MCP. - You'll be redirected to Sanity to authorize Continue: - 1. Select the Sanity organization and project to connect - 2. Review the requested permissions - 3. Click "Authorize" to complete the connection + Select the Sanity organization and project to connect diff --git a/docs/mission-control/integrations/sentry.mdx b/docs/mission-control/integrations/sentry.mdx index bedaae984..72532310a 100644 --- a/docs/mission-control/integrations/sentry.mdx +++ b/docs/mission-control/integrations/sentry.mdx @@ -21,18 +21,19 @@ Connect Sentry to Continue Mission Control to enable agents to automatically det - + - Go to your [Integrations Settings](https://hub.continue.dev/integrations). + Go to [Sentry Integration](https://hub.continue.dev/integrations/sentry). - Click "Connect" and select Sentry. You'll need the following credentials: + Click "Connect". You'll need the following credentials: - **Sentry Organization Slug**: Your organization name (e.g., "my-company") - **Auth Token**: Internal integration token from Sentry - **Client Secret**: For webhook signature verification + - **API Key**: For MCP support diff --git a/docs/mission-control/integrations/slack-agent.mdx b/docs/mission-control/integrations/slack-agent.mdx index fc6ef9172..b386164e6 100644 --- a/docs/mission-control/integrations/slack-agent.mdx +++ b/docs/mission-control/integrations/slack-agent.mdx @@ -29,9 +29,6 @@ Mention @Continue in any channel with a task description, and it will: ## Setup -Continue's Slack Bot can be installed to a Slack workspace via Mission Control, from:[Integrations Settings](https://hub.continue.dev/integrations) -- Org Integrations Settings - `https://hub.continue.dev/organizations/{your-org}/settings/integrations` - Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official. @@ -48,7 +45,7 @@ Continue's Slack Bot can be installed to a Slack workspace via Mission Control, - Click the "Connect" button next to Slack and authorize the app in your workspace. + Click the "Connect" button next in [the Slack Integration ](https://hub.continue.dev/integrations/slack)and authorize the app in your workspace. diff --git a/docs/mission-control/integrations/snyk.mdx b/docs/mission-control/integrations/snyk.mdx index eacb94649..2cd981d53 100644 --- a/docs/mission-control/integrations/snyk.mdx +++ b/docs/mission-control/integrations/snyk.mdx @@ -23,7 +23,7 @@ Connect Snyk to Continue Mission Control to enable agents to automatically detec - Go to your [Integrations Settings](https://hub.continue.dev/integrations). + Go to the [Snyk Integration](https://hub.continue.dev/integrations/snyk). diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index 9aee2a148..f10852b4a 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -30,7 +30,7 @@ Connect Supabase to Continue Mission Control to enable AI-powered database workf - Click Setup -> "Connect" next to Supabase. + Click "Connect" to Supabase. From 15c8c1c6ad3e9bf485b259d9a8d039193f96b0e9 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 14:18:03 -0500 Subject: [PATCH 18/22] Add specificity and simplify view --- docs/continue-overview.mdx | 2 +- .../integrations/atlassian.mdx | 59 ++++--------------- 2 files changed, 14 insertions(+), 47 deletions(-) diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx index 1651173b2..d027c04bc 100644 --- a/docs/continue-overview.mdx +++ b/docs/continue-overview.mdx @@ -695,7 +695,7 @@ Connect Sentry to Continue Mission Control to enable agents to automatically det #### Setup -1. Navigate to Integrations Settings at hub.continue.dev/integrations +1. Navigate to the Sentry Integration at hub.continue.dev/integrations/sentry 2. Click "Connect" and select Sentry. You'll need: - Sentry Organization Slug: Your organization name (e.g., "my-company") - Auth Token: Internal integration token from Sentry diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index aef110991..d42c14b9d 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -97,10 +97,9 @@ When a pull request is merged, this workflow automatically: ## Use Cases -### Automated Issue Management - -Create agents that manage your Jira backlog: +You can also create your own Atlassian-connected agents in Mission Control. Here are some examples for these use cases: + **Task Example**: "Create Jira tickets for all TODO comments in the codebase with priority based on code location" @@ -115,7 +114,6 @@ Create agents that manage your Jira backlog: -### Sprint Planning Automation Streamline sprint planning with intelligent automation: @@ -133,10 +131,6 @@ Streamline sprint planning with intelligent automation: -### Documentation Sync - -Keep Confluence and code documentation in sync: - **Task Example**: "Update Confluence API documentation to match current OpenAPI spec" @@ -151,10 +145,6 @@ Keep Confluence and code documentation in sync: -### Release Management - -Automate release notes and changelog generation: - **Task Example**: "Generate release notes from closed Jira tickets since last release and publish to Confluence" @@ -169,10 +159,6 @@ Automate release notes and changelog generation: -### Project Tracking - -Monitor development progress and blockers: - **Task Example**: "Analyze current sprint progress and identify blocked or at-risk items" @@ -186,28 +172,9 @@ Monitor development progress and blockers: **Run in Mission Control**: Schedule daily during active sprints - -### Code-to-Ticket Linking - -Process multiple tickets with natural language commands: - - - - **Task Example**: "Update all tickets tagged 'needs-review' with current status from linked PRs" - **What the Agent Does**: - - - - - - Searches Jira using natural language queries - - **Run in Mission Control**: Run manually or on schedule - + ## Running Atlassian Agents in Mission Control - -## Running Supabase Agents in Mission Control - You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) or automated [workflows](../workflows): @@ -220,9 +187,8 @@ You can run Supabase-connected agents in two ways as [one-off tasks](../tasks) o ## Optional Workflow Enhancements -Extend the base workflow with these powerful features: - -### Smart Tagging + + Automatically add Jira labels based on code changes: @@ -232,8 +198,8 @@ Automatically add Jira labels based on code changes: - `feature` - New functionality added - `security` - Security improvements - `performance` - Performance optimizations - -### Stakeholder Mentions + + Tag relevant people in Jira based on components modified: @@ -241,8 +207,8 @@ Tag relevant people in Jira based on components modified: - User interface changes β†’ `@product-manager` - Security updates β†’ `@security-lead` - API modifications β†’ `@api-architect` - -### Release Notes Generation + + Accumulate business-friendly summaries for release documentation: @@ -250,8 +216,8 @@ Accumulate business-friendly summaries for release documentation: - Automatically compile summaries into Confluence release pages - Generate customer-facing changelog from Jira updates - Include impact metrics and user benefits - -### Metrics Tracking + + Log metadata for reporting and analytics: @@ -260,7 +226,8 @@ Log metadata for reporting and analytics: - Business impact category (high/medium/low) - Stakeholder engagement (comments, mentions) - Risk level distribution across releases - + + ## Troubleshooting From 35628d4f09e62c139cc740c9f13c0bf94966fe0d Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 14:19:08 -0500 Subject: [PATCH 19/22] Remove unneeded card --- docs/mission-control/integrations/atlassian.mdx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index d42c14b9d..46f6d0940 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -291,9 +291,8 @@ Log metadata for reporting and analytics: -## Support & Resources +## Resources - @@ -301,10 +300,3 @@ Log metadata for reporting and analytics: - - - Combine Atlassian with GitHub for complete DevOps automation - - - - From cf4fe967bee53da8251d160a435db97a774d7fff Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 14:24:54 -0500 Subject: [PATCH 20/22] Update integration short descriptions --- docs/mission-control/integrations/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index a2908eb24..b2475f919 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -29,7 +29,7 @@ Mission Control currently supports these first-class integrations: - Leverage product analytics and feature flags for data-driven development. + Detect telemetry changes in merged PRs and creates or updates corresponding dashboards. @@ -37,7 +37,7 @@ Mission Control currently supports these first-class integrations: - Automate deployments and manage site configuration. + Optimize site by comparing performance on PR preview and production Netlify deploys. Set up workflows that validate content and schemas on every PR. From 374d6d7232eaec77fd9015119e0d8d002538b9d8 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 14:25:34 -0500 Subject: [PATCH 21/22] Remove example --- docs/mission-control/integrations/netlify.mdx | 76 ------------------- 1 file changed, 76 deletions(-) diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index db6835425..28effdf80 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -116,82 +116,6 @@ When a pull request is merged, this performance-focused workflow automatically: -#### Example Performance Report - -After analyzing a deploy preview, the agent posts a comprehensive PR comment like this: - -```markdown -## πŸ“Š Netlify Performance Analysis - -### Deploy Information -- **Production**: https://site.netlify.app - - Deployed: 2h ago - - Commit: abc1234 -- **Preview**: https://deploy-preview-123--site.netlify.app - - Deployed: 5m ago - - Branch: feature-branch-name - - Commit: def5678 - -### πŸ“¦ Bundle Size Analysis - -| Asset Type | Production | Preview | Change | Status | -|------------|-----------|---------|--------|--------| -| JavaScript | 245 KB | 671 KB | +426 KB (+174%) | πŸ”΄ Critical | -| CSS | 12 KB | 12 KB | 0 KB | βœ… | -| Images | 180 KB | 180 KB | 0 KB | βœ… | -| **Total** | **437 KB** | **863 KB** | **+426 KB (+97%)** | πŸ”΄ Critical | - -### πŸ” Root Cause Analysis - -**πŸ”΄ Critical Issue 1: Minification Disabled** -- **File**: `frontend/vite.config.ts:20` -- **Problem**: Build has `minify: false` -- **Impact**: 671 KB unminified JavaScript (should be ~200 KB minified) -- **Fix**: - \```typescript - // frontend/vite.config.ts - build: { - minify: 'terser', // Enable minification - } - \``` -- **Expected improvement**: -70% bundle size - -**πŸ”΄ Critical Issue 2: Redundant Dependencies** -- **Files**: `frontend/package.json:22-29` -- **Problem**: Multiple date libraries bundled - - lodash: 528 KB - - moment: 232 KB - - date-fns: 76 KB - - dayjs: 7 KB -- **Fix**: Remove redundant libraries: - \```bash - npm uninstall lodash moment date-fns - \``` -- **Expected improvement**: -800 KB bundle - -### 🎯 Verdict: πŸ”΄ BLOCK - Critical Performance Regression - -**Summary**: This PR introduces severe performance issues: -- Bundle size increased by 426 KB (+174%) -- No minification enabled -- Multiple redundant dependencies - -**Recommendation**: Do not merge until critical issues are resolved. - -### βœ… Action Plan - -**Must fix before merge:** -1. Enable minification in vite.config.ts -2. Remove lodash, moment, date-fns (keep only dayjs) -3. Enable tree-shaking -4. Configure proper Cache-Control headers - -**Expected results after fixes:** -- Bundle: ~250 KB (+5 KB from production, acceptable) -- All assets properly cached -- Fast initial and repeat visits -``` - ### Performance Issue Classification The agent categorizes issues by severity: From 0a5281203b90e3c72bb122e0f04e30504e20a4b9 Mon Sep 17 00:00:00 2001 From: BekahHW Date: Thu, 11 Dec 2025 14:27:05 -0500 Subject: [PATCH 22/22] Remove extra file --- docs/continue-overview.mdx | 1444 ----------------- .../mission-control/integrations/supabase.mdx | 2 +- 2 files changed, 1 insertion(+), 1445 deletions(-) delete mode 100644 docs/continue-overview.mdx diff --git a/docs/continue-overview.mdx b/docs/continue-overview.mdx deleted file mode 100644 index d027c04bc..000000000 --- a/docs/continue-overview.mdx +++ /dev/null @@ -1,1444 +0,0 @@ ---- -title: "Continue Agents Overview" -description: "Complete guide to AI agents in Continue" ---- - -# Continue Agents - Complete Guide - - - - Agents are custom AI workflows that combine a prompt, rules, and tools (MCPs and more) to complete specific, repeatable tasks. They live in the Continue Mission Control and can be executed from Mission Control (web interface), TUI mode, or headless automation. - - - -## Quick Start - - - - - Go to [the Hub agents page](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. - - - - - - Select from pre-configured agents or create your own - - - - - - Enter additional instructions and watch your agent work - - - - - -## What Are Agents? - -Agents let your team standardize common workflows like opening GitHub PRs, summarizing analytics, or auditing security. Each agent includes: - -### Agent Components - -| **Component** | **Description** | **Example** | -|----------------|-----------------|--------------| -| **Prompt** | The agent's main instruction that defines what it does and how it should behave | "Summarize ongoing work with status, blockers, and next steps" | -| **Rules** | Define consistent standards or behaviors that guide how the agent responds | "Always include related issue or PR links when summarizing work" | -| **Tools / MCPs** | External systems or integrations the agent can call to complete tasks | GitHub, PostHog, Supabase | -| **Model** | The large language model that powers the agent's reasoning | Claude Sonnet 4.5 | -| **Visibility** | Determines who can view or use the agent | Public, Organization, or Private | - -## Ways to Run Agents - - - - - **Interactive web interface** - - Trigger from the Continue Mission Control and review results in real-time. - - Perfect for: Interactive debugging, reviewing agent outputs, team collaboration - - - - - - **Interactive terminal mode** - - Launch from terminal for live interaction and testing. - - ```bash - cn --agent my-org/github-pr-agent - ``` - - Perfect for: Local development, testing prompts, quick one-off tasks - - - - - - **Automated execution** - - Run one-off or scheduled tasks automatically without interaction. - - ```bash - cn -p --agent my-org/snyk-agent "Run weekly security scan" - ``` - - Perfect for: CI/CD pipelines, scheduled tasks, webhook integrations - - - - - -## Pre-configured Agents - -Skip the setup and use battle-tested agents from our cookbook collection: - - - - - `continuedev/snyk-continuous-ai-agent` - - Finds vulnerabilities and opens PRs with fixes - - - - - - `continuedev/github-project-manager-agent` - - Triages issues and manages project workflows - - - - - - `continuedev/posthog-continuous-ai-agent` - - Analyzes user data and creates actionable tasks - - - - - - `continuedev/netlify-continuous-ai-agent` - - Monitors Core Web Vitals and optimizes deployments - - - - - - `continuedev/supabase-agent` - - Audits RLS security and generates migrations - - - - - - `continuedev/dlt-agent` - - Inspects pipelines and debugs load errors - - - - -## Creating and Editing Agents - - - - You can only create and edit Agents through Mission Control in the Continue Mission Control web interface. This ensures proper validation, versioning, and team collaboration features. - - - -### Creating an Agent - - - - - From the Continue Mission Control top navigation bar, select **"+"** β†’ **"New Agent"** or navigate to the [New Agent page](https://hub.continue.dev/new?type=agent). - - - - - - Configure your agent with the following fields: - - | Field | What to Enter | Example | - |-------|---------------|---------| - | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | - | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | - | **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` | - | **Tools ([MCPs](https://hub.continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | - | **[Rules](https://hub.continue.dev/hub?type=rules)** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | - | **[Model](https://hub.continue.dev/hub?type=models)** | Choose a default LLM | `Claude Sonnet 4.5` | - | **Owner + Slug** | Determines namespace | `my-org/github-pr-agent` | - | **Visibility** | Access level | `Public, Organization, or Private` | - - - - - - Click **"Create Agent"** to save and publish it. - - Your agent is immediately available to run in Mission Control, TUI mode, or headless mode. - - - - - -### Editing an Agent - -You can edit any agent you own or that has Organization-level access. - - - - - From the **Agents** page or Mission Control view, click your agent's name, then select **"Edit Agent"**. - - - - - - You can modify any of these components: - - - **Prompt**: Refine task behavior - - **Rules**: Enforce team standards - - **Tools (MCPs)**: Connect additional systems - - **Model & Visibility**: Adjust behavior and access - - - - - - Click **"Update Agent"** when finished. - - The updated version is instantly available to your team with automatic versioning for change tracking. - - - - - - - Test your agent thoroughly to ensure they interact as expected. - - - -## Example Workflow Tasks - -Here are some example tasks you can try with your agents: - - - - - - "Fix the TypeError in api/users.ts where the user object might be undefined" - - "Add null checks to all database query results in the services/ directory" - - "Fix all ESLint warnings in the components folder and open a PR" - - "Update deprecated React lifecycle methods to hooks in legacy components" - - - - - - - "Create a new REST endpoint for user profile updates with validation and error handling" - - "Add pagination to the products list page with previous/next buttons" - - "Implement dark mode toggle using Tailwind CSS classes across all pages" - - "Add unit tests for the authentication service using Jest" - - - - - - - "Run a complete security scan and create GitHub issues for critical vulnerabilities" - - "Scan the codebase for hardcoded API keys and move them to environment variables" - - "Add input sanitization to all user-facing form fields" - - "Update npm packages with security vulnerabilities and test compatibility" - - - - - - - "Add JSDoc comments to all exported functions in the utils/ directory" - - "Create a README.md for the new payment-processing module with setup instructions" - - "Generate TypeScript interfaces for all API response schemas" - - "Add error handling boilerplate to all async functions missing try-catch blocks" - - - - -## Best Practices - -The practice of using cloud agents, which we call Continuous AI, requires forethought to set up the right guardrails: - - - - - Begin with tasks you're confident Continue can handle, like fixing known bugs with simple solutions. - - - - - - Test with Continue CLI in TUI mode before deploying automation. - - - - - - Agents can run for extended periods - invest time in detailed prompts with all important context. - - - - - - Discuss agent usage and adjust code review habits for higher PR volumes. - - - - -## Monitoring - -You can monitor all activity for your Agents directly in **Mission Control**. - - - - - The **Inbox** shows every Task or Workflow run, and you can filter by Agent. - - - - - - Click any session in the Inbox to open the Detail page. - - Each session includes: - - **Summary** β€” what the agent did and why - - **Diff** β€” generated code changes - - **Logs** β€” full execution trace, tool calls, and reasoning - - - - - ---- - -# Mission Control - -## Overview - -Continue Mission Control is your command center for Continue. Create Tasks, set up Workflows, manage Agents, connect Integrations, and share with your teamβ€”all in one place. - -## What You Can Do in Mission Control - -Mission Control is where developers and teams use Continue to power everyday coding workflows. From quick one-off Tasks to fully automated pipelines, everything starts here. - - - - Trigger your AI Agents and review or approve the results. - - - Create, configure, and monitor your custom Agents across repositories. - - - Schedule recurring Tasks, connect webhooks to trigger Agents automatically, or add - - - Link GitHub, Slack, and Sentry to power your Tasks and Workflows. - - - -## Inbox: One Place to Triage, Assign, and Take Action - -The Inbox is your team's central queue for all AI-powered Tasks, agent activity, and first-class integrations like Sentry and Snyk. It gives developers a shared place to review work, delegate responsibility, and launch follow-up Tasksβ€”all without leaving Mission Control. - - - - See every incoming Task, Sentry alert, Snyk vulnerability, and workflow output in one place. - - - Slice the Inbox by Agent, repository, integration, creator, status, or time to surface what matters now. - - - Assign Sessions to teammates so responsibilities are explicit and reviews move forward. - - - Launch follow-up Tasks, investigate errors, or generate fixes directly from the Inboxβ€”no context switching. - - - -### First-Class Integration Tabs - -Some signals deserve their own dedicated view. When you connect integrations: - -- **Sentry**: See error events organized by project with occurrences, first/last seen timestamps, and one-click Solve actions -- **Snyk**: Review high-severity vulnerabilities, check CVSS scores, and trigger Agents to patch or upgrade dependencies - - -## Monitoring & Insights - -Track performance, share configurations across your organization, and monitor agent activity in real time. - - - - Measure success rates, PR activity, and intervention trends across Agents. - - - Share Agents and Workflows with teammates using built-in access controls. - - - View active runs, logs, and outcomes for every Agent session. - - - -## Components Behind Mission Control - -Agents are built from reusable components that you can create, share, and customize: - - - - Large Language Models from various providers (OpenAI, Anthropic, etc.) configured for specific roles like chat, autocomplete, or editing - - - Model Context Protocol servers that provide tools and capabilities like database access, web search, or custom functions - - - Guidelines that shape AI behavior - coding standards, constraints, or specific instructions for your domain - - - Reusable instructions for common tasks, optimized for specific workflows or coding patterns - - - -You can create new agent components or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization. - -### Component Inputs - -Some components can receive values, including secrets, as inputs through templating. For values that the user needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their agent or config. - -**Choosing between `secrets.` and `inputs.`** - -When creating components for your Agent: -- Use `${{ inputs.INPUT_NAME }}` in your definition when you want users to be able to customize which secret is used -- Users will then map their own secrets using `${{ secrets.SECRET_NAME }}` in the `with` clause - -For personal or single-use configurations, you can skip the inputs layer and reference `${{ secrets.SECRET_NAME }}` directly. - - -## Tasks - -A Task is a unit of work shared between you and an agent. You trigger the task, the agent executes it, then you review or approve the results. Tasks can run **on demand**, **on triggers**, or **on schedules**. - -### Creating and Running a Task - - - - Select the **Agent** you want to use for this task. - - - Select the **repository** and **branch** the Agent will branch off of. - - - Add your user input β€” clear instructions for what you want the agent to accomplish. - - Example prompts: - - Refactor unused React components and clean up imports - - Add error handling to all API endpoints in the /api directory - - Update README with installation instructions for the new CLI tool - - - Click the Submit button. The Agent will analyze your repository, execute the task, generate changes, and create a detailed session log. - - - Each Task run creates a Session with complete traceability including Summary, Diff, and Logs. - - - -## Workflows - -Workflows trigger agents on a schedule or when events occur. - -A Workflow automatically runs an Agent on a repository when: -- A schedule is reached (cron) -- An event occurs (webhook, e.g. GitHub PR) - -Use Workflows for recurring or event-driven tasks like: -- Daily vulnerability scans -- Weekly changelog generation -- Reacting to new pull requests or Sentry alerts - -### Creating a Workflow - - - - In Mission Control β†’ Workflows, create a new workflow. You can start with a blank workflow or use a template like "Update agents.md", "Draft Changelog Updates", or "Solve Snyk Vulnerabilities". - - - Give your Workflow a clear, descriptive name like "Morning status check" or "Weekly changelog draft". - - - Choose the repository (the codebase) and the Agent that should perform the work. - - - Pick how this Workflow should run: Cron (schedule) or Webhook (external system events). - - - For Cron: Select a schedule (daily, weekly, hourly, custom) - For Webhook: Set up Secret Header and Value, then receive a webhook URL - - - Click Create to activate your workflow. - - - -### Monitoring Workflow Runs - -Workflow runs show up just like Tasks - each execution creates a Session, workflows appear in your Inbox, and you can open the detail view to see the summary, diff, and logs. - - -## Metrics - -Metrics give you visibility into how your Agents and Workflows perform across your repositories. Use this page to understand activity patterns, identify bottlenecks, and measure success over time. - -### What Metrics Show - -- **Activity (Last 14 Days)**: A day-by-day graph of total Agent runs across your repositories -- **Agent Statistics**: Per-Agent breakdown of total runs, PR creation rate, PR status, and success vs. intervention rate -- **Workflow Impact**: Track which Workflows create the most tasks or PRs, and how often they complete successfully - -### Why Metrics Matter - -- **Improve Agent Reliability**: Identify which Agents need better rules, tools, or prompts -- **Measure Automation Value**: See how much work your automated Workflows are completing across your repos - -## Sharing - -You can share any Agent or Component (Models, Rules, Prompts, MCP Servers) by publishing it as Public or Organization-visible. Sharing makes it easy for teammatesβ€”or the entire communityβ€”to reuse your best workflows. - -### Where to Find Your Shareable Items - -Your personal and organization components live in your Profile. To access your profile: Open Mission Control β†’ Open the Organization Switcher in the top left sidebar nav β†’ Select the Profile Icon. - -Profiles look the same for personal users and organizations. The only difference is visibility options: personal profiles can create Public or Private items. Organizations can also create Organization-only items. - -### Sharing Options - -Each Agent or Component can be published with one of three visibility levels: - -- **Personal (Private)**: Only you can see and use the item. Great for prototypes or experiments. -- **Organization**: Visible to everyone in your organization. Ideal for internal workflows, standardized agents, and shared tooling. -- **Public**: Available to everyone in Continue Mission Control. Perfect for templates, community contributions, and reusable examples. - -## Configs - -### Introduction to Configs - -Configs are flexible containers that combine multiple components to create powerful AI coding experiences using the Continue CLI or the Extensions. A single config can include: - -- **Models**: Large Language Models for chat, autocomplete, editing, and more -- **MCPs**: Model Context Protocol servers that provide tools and capabilities -- **Rules**: Guidelines that shape AI behavior and responses -- **Prompts**: Reusable instructions for common coding tasks - -### How Configs Work - -Each config defines: -- What models to use for different tasks (chat, autocomplete, code editing) -- Which tools are available through MCP servers -- How the AI behaves through rules and guidelines -- Pre-built prompts for common workflows - -This flexibility lets you create specialized setups for different contexts, like a Next.js config with React-specific rules and tools, or a data science config with Python analysis capabilities. - -### Config Permissions - -When creating configs, you can set visibility levels: -- **Private**: Only you and your org admins can see the config -- **Public**: Anyone can discover and use your config -- **Organization**: Members of your organization can access the config - -### Working with Configs - -You can interact with configs in three main ways: -- **Create**: Build a new config from scratch or start with a template -- **Edit**: Modify your existing configs by adding/removing components -- **Remix**: Take someone else's config and customize it for your needs - -### Getting Started with Configs - -1. Explore existing configs - Browse the Continue Mission Control to see what configs others have built -2. Add a config to your account - Click "Install Config" (+) on any config that interests you -3. Customize as needed - Add your API keys and customize components to match your workflow -4. Use in your IDE - Select the config from the dropdown in your Continue extension, type `/config` in the CLI, or use `--config` with the CLI commands - -All configs follow the `config.yaml` format, whether you're using Mission Control interface or editing files locally. - - -### How to Create a Config - -To create a config from scratch, navigate to [your config settings](https://hub.continue.dev/settings/configs). Choose a name, slug, description, and icon for your config. - -The easiest way to create a config is to click "Create config" with the default configuration and then add/remove blocks using the sidebar. Alternatively, you can edit the config YAML directly before clicking "Create config". - -You can also create a config by remixing an existing one. By clicking the "remix" button, you'll be taken to the "Create a remix" page where you can add or remove components from the config and change the name, description, icon, etc. - -### How to Edit a Config - -First, select a config either from Mission Control search or one that you've installed. While editing a config, you can explore Mission Control and click "+" to add it to your config. - -For tools or models that require secret values like API keys, you will see a small notification on its tile that will indicate if action is needed. To delete part of your config, you can remove it from the yaml. - -If a rule, prompt, or tool you want to use does not exist yet, you can create it. When you are done editing, click "Publish" to publish a new version of the config. Reload your terminal or IDE to use the latest version of the config in your agents. - -### How to Use a Custom Config - -Once you've found the configuration you want to use on Continue Mission Control: - -1. Click "Add Config" on its page -2. Add any required inputs (e.g. secrets like API keys) - -After saving, open the Continue CLI or IDE extension and: -- Select the configuration from the config dropdown in the Continue extension -- Type `/config` and select the configuration in the Continue CLI -- Begin using it for chat mode, agent mode, or other configured capabilities - - -## Governance - -### Creating an Organization - -To Create an Organization, click the organization selector in the top right and select the option to create a new org. - -1. Choose a name, which will be used as the display name for your organization throughout Mission Control -2. Add a slug, which will be used for your org URL and as the prefix to all organization configuration slugs -3. Select an icon for your organization using the image uploader -4. Finally, add a Biography, which will be displayed on your org Home Page - -You will then be signed in to your org and taken to the org home page. - -### Organization Permissions - -Users can have the following roles within an organization: - -1. **Admins** are users who can manage members, secrets, blocks, configs, etc. -2. **Members** are users who can use configs, blocks, secrets, etc. - -User permissions for each role depend on the pricing plan: Solo, Teams, or Enterprise. - -### Pricing - -**Solo** is best suited for individuals and small teams with "single-player" problems. You can read more about what Solo includes at hub.continue.dev/pricing. - -**Teams** is best suited for growing teams with "multiplayer" problems. You can read more about what Teams includes at hub.continue.dev/pricing. - -**Enterprise** is best suited for large teams with enterprise-grade requirements. You can read more about what Enterprise includes at hub.continue.dev/pricing. - -**Models Add-On**: The Models Add-On allows you to use a variety of frontier models for a flat monthly fee. It's designed to cover the usage of most developers. You can read more about usage limits and what models are included at hub.continue.dev/pricing. - -To try out Continue, we offer a free trial of the Models Add-On that allows you to use 50 Chat requests and 2,000 autocomplete requests. - - -## Integrations - -Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more. - -Mission Control currently supports four first-class integrations: - -### GitHub Integration - -Connect your GitHub account to Continue Mission Control to enable agents to interact with your repositories. Once connected, agents can read code, create pull requests, manage issues, and automate your development workflow. - -**What You Can Do with GitHub Integration:** -- Automatically create pull requests from 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 - -#### Setup - -1. Navigate to Integrations Settings at hub.continue.dev/integrations -2. Click "Connect" next to GitHub and authorize the Continue app in your GitHub account -3. Select Repository Access - Choose whether to grant access to all repositories or select specific ones -4. Confirm Permissions - Review and approve the requested permissions - -#### Use Cases - -**Automated Issue Resolution**: Create agents that automatically fix bugs and open PRs -**Pull Request Management**: Automate code reviews and PR maintenance -**Documentation Generation**: Keep your docs up-to-date automatically -**Project Management**: Automate issue triage and project organization -**Release Management**: Automate your release process -**Code Quality Monitoring**: Maintain code standards across your codebase - -#### Running GitHub Agents - -You can run GitHub-connected agents in two ways: - -1. **Manual Tasks**: Trigger agents on-demand for specific tasks in Mission Control -2. **Automated Workflows**: Set up agents to run automatically (Scheduled, Triggered, or Webhook) - -Start with manual tasks to test your agent's behavior, then convert successful workflows to automations once you're confident in the results. - - -### Sentry Integration - -Connect Sentry to Continue Mission Control to enable agents to automatically detect, analyze, and resolve production errors. When Sentry is enabled, Continue can generate PRs to fix issues, analyze error patterns, and maintain application health. - -**What You Can Do with Sentry Integration:** -- Automatically generate PRs to resolve new errors -- Analyze error patterns and identify root causes -- Prioritize issues based on impact and frequency -- Create detailed bug reports with stack traces -- Monitor error trends across releases - -#### Setup - -1. Navigate to the Sentry Integration at hub.continue.dev/integrations/sentry -2. Click "Connect" and select Sentry. You'll need: - - Sentry Organization Slug: Your organization name (e.g., "my-company") - - Auth Token: Internal integration token from Sentry - - Client Secret: For webhook signature verification -3. Configure Sentry Internal Integration: - - Create a new internal integration in Sentry - - Set the webhook URL to `https://api.continue.dev/webhooks/sentry` - - Select "Read and Write" access for "Issue and Event" - - Select "issue" in the webhooks section and click Save Changes - - Copy the Auth Token and Client Secret -4. Add Credentials to Mission Control - -#### Running Sentry Agents - -1. **Manual Tasks**: Trigger agents on-demand for error analysis (e.g., "Analyze the top 10 errors from the last 24 hours") -2. **Automated Workflows**: Set up agents to run automatically (Webhook-triggered, Scheduled, or Threshold-based) - -Start with manual tasks to refine your prompts, then convert successful workflows to automations for continuous error monitoring. - -#### Integration with GitHub - -Combine Sentry with GitHub integration for a complete workflow: -1. Connect both Sentry and GitHub integrations in Mission Control -2. Create a Unified Agent that receives Sentry error notifications, analyzes the error, creates a PR with a fix, and adds the PR link to the Sentry issue -3. Set Up Automated Workflow to run automatically on new Sentry issues - -#### Troubleshooting - -- **Webhooks not triggering**: Verify webhook URL, check "issue" is selected, ensure Client Secret matches -- **Agent can't access Sentry data**: Verify Auth Token has correct permissions, check organization slug, ensure token hasn't expired -- **PRs not linking to Sentry issues**: Ensure both integrations are connected, verify permissions, check agent prompt includes linking instructions - - -### Slack Agent Integration - -Mention @Continue in any channel with a task description, and it will create a new development agent, clone and work on your Repository, generate code changes and create pull requests, and keep you updated on progress. - -**What It's Great For:** -- Quick bug fixes and feature implementations -- Code reviews and refactoring -- Documentation updates -- Automated development tasks - -#### Setup - -Continue's Slack Bot can be installed to a Slack workspace via Mission Control, from Integrations Settings at hub.continue.dev/integrations or Org Integrations Settings. - -**Note**: Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official. - -Steps: -1. Connect GitHub: Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with -2. Authorize Slack: Click the "Connect" button next to Slack and authorize the app in your workspace -3. Set Default Repository (Optional): Use the repository selector within the Slack tile to select a default repository - -#### Usage - -To kick off an agent, mention `@Continue` with a short task description. - -**Thread Context**: When you mention `@Continue` in a Slack thread, Continue automatically uses the entire conversation as context. If you start a new message (not a reply), Continue only sees that single message for context. - -Provide clear, detailed prompts to help Continue understand your requirements: -- βœ… Good: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.` -- ❌ Poor: `@Continue fix auth` - -**Repository Selection**: Continue determines which repository to work in with the following precedence: -1. Specify in message: Add `repo=repo-name` to your message -2. Default repo: Uses the default repository if set in the integration settings -3. Interactive selection: If no repository is found, Continue will follow up with a dropdown - -**Sending Follow-up Messages**: Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread. Continue will forward your message to the existing agent session instead of creating a new one. - -#### Monitoring Agent Progress - -Click the agent link in Slack to view the agent's progress in Mission Control. You can also click the Slack icon in the agents page to return to the Slack message. - -#### Disconnecting - -To remove the Slack integration: -1. Go to hub.continue.dev/settings/integrations -2. Find your Slack integration -3. Click "Disconnect" - -The Slack integration is in active development. Report issues on GitHub Issues and share feature requests in GitHub Discussions. - - -### Snyk Integration - -Connect Snyk to Continue Mission Control to enable agents to automatically detect, analyze, and resolve security vulnerabilities. When Snyk is enabled, Continue can generate PRs to fix vulnerabilities, analyze security patterns, and maintain application security posture. - -**What You Can Do with Snyk Integration:** -- Automatically generate PRs to fix security vulnerabilities -- Analyze dependency risks and suggest updates -- Monitor security posture across projects -- Create detailed vulnerability reports with remediation steps -- Track vulnerability trends and compliance status - -#### Setup - -1. Navigate to Integrations Settings at hub.continue.dev/integrations -2. Click "Connect" next to Snyk integration -3. Authorize with Snyk: Click the "Connect with Snyk" button to authorize Continue Mission Control - - You'll be redirected to Snyk's OAuth authorization page - - Review and approve the requested permissions - - You'll be automatically redirected back to the Snyk inbox view -4. Verify Connection: Once redirected back, you'll see a confirmation that Snyk is connected, your Snyk projects available for monitoring, and any active vulnerability alerts - -**OAuth Authorization**: No manual token configuration needed! Simply click the authorization button and Continue will securely handle the authentication flow with Snyk. - -#### Integration with GitHub - -Combine Snyk with GitHub integration for a complete security workflow: - -1. Connect Both Integrations: Enable both Snyk and GitHub integrations in Mission Control -2. Create a Security Agent: Build an agent that receives Snyk vulnerability alerts, analyzes the security issue, creates a PR with the security fix, and adds security impact analysis to the PR -3. Set Up Automated Security Workflow: Configure the agent to run automatically on new critical vulnerabilities - -#### Monitoring Agent Activity - -Track your agent's security remediation performance: -1. View in Inbox: Navigate to the Snyk view to see all Snyk-related agent activity -2. Check Snyk Dashboard: Verify that vulnerabilities are being addressed -3. Review PRs: Ensure quality and security of generated fixes -4. Monitor Metrics: Track mean time to remediation (MTTR) and fix rate - -#### Troubleshooting - -- **OAuth authorization fails**: Ensure you have appropriate permissions in your Snyk organization, check if your organization allows OAuth integrations, try logging out and back into Snyk before authorizing -- **Projects not appearing**: Verify you have access to projects in Snyk, check that projects are properly imported, refresh the integration connection -- **Agent can't access vulnerability data**: Verify the OAuth connection is still valid, re-authorize if the token has expired, check that the agent has the necessary Snyk context provider -- **Webhooks not triggering**: Verify webhook configuration, check webhook URL points to Continue Mission Control, ensure webhook events include vulnerability detection - - ---- - -# Getting Started - -## Extensions - -Continue is available as an extension for VS Code and JetBrains IDEs. The extensions provide AI-powered coding assistance directly in your IDE, including chat, autocomplete, and code editing capabilities. - -### VS Code Extension - -The Continue extension for VS Code integrates seamlessly with your development workflow, providing: - -- **AI Chat**: Ask questions about your codebase, get explanations, and receive coding suggestions -- **Autocomplete**: Get AI-powered code completions as you type -- **Code Editing**: Select code and use AI to refactor, improve, or transform it -- **Context Awareness**: Reference files, functions, and documentation with @ symbols -- **Slash Commands**: Quick access to common tasks with / commands -- **Multiple Model Support**: Switch between different AI models based on your needs - -#### Installation - -1. Open VS Code -2. Go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) -3. Search for "Continue" -4. Click Install -5. Sign in with your Continue Mission Control account or configure locally - -#### Getting Started - -After installation: -1. Open the Continue sidebar (usually on the left) -2. Sign in to Continue Mission Control or set up a local configuration -3. Start chatting with AI or use autocomplete in your code -4. Try slash commands like `/edit`, `/comment`, or `/test` -5. Use @ to reference files, folders, or documentation - -### JetBrains Extension - -The Continue extension for JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, etc.) provides the same powerful AI assistance: - -- **AI Chat Panel**: Integrated chat interface for code discussions -- **Smart Autocomplete**: Context-aware code suggestions -- **Code Actions**: Refactor, document, and improve code with AI -- **Multi-language Support**: Works across all languages supported by your JetBrains IDE -- **Customizable Models**: Configure which AI models to use for different tasks - -#### Installation - -1. Open your JetBrains IDE -2. Go to Settings/Preferences β†’ Plugins -3. Search for "Continue" in the Marketplace -4. Click Install -5. Restart your IDE -6. Configure Continue through Settings β†’ Tools β†’ Continue - -#### Getting Started - -After installation: -1. Open the Continue tool window -2. Authenticate with Continue Mission Control or configure locally -3. Use the chat interface to ask questions -4. Enable autocomplete in settings for AI-powered suggestions -5. Right-click code to access Continue actions - -### Configuration Options - -Both extensions support two configuration modes: - -**Mission Control (Recommended)**: -- Cloud-managed configuration -- Easy setup with pre-configured models -- Share configurations across team -- Automatic updates and syncing -- Access to Continue's model offerings - -**Local Configuration**: -- Full control over your setup -- Use your own API keys -- Customize every aspect of behavior -- Work offline or in air-gapped environments -- Edit config.yaml directly - -### Common Features Across Both Extensions - -**Context Providers**: -- `@file` - Reference specific files -- `@folder` - Include entire directories -- `@code` - Reference specific code blocks -- `@docs` - Access documentation -- `@git` - Reference git history -- `@url` - Pull in web content - -**Slash Commands**: -- `/edit` - Modify selected code -- `/comment` - Add documentation -- `/test` - Generate tests -- `/fix` - Suggest fixes for errors -- `/explain` - Explain code functionality - -**Model Switching**: -- Use different models for different tasks -- Switch models mid-conversation -- Configure default models per task type -- Access multiple model providers - -### Tips for Getting the Most from Extensions - -1. **Use Context Effectively**: Reference relevant files and documentation with @ symbols -2. **Be Specific**: Clear, detailed prompts get better results -3. **Iterate**: Refine AI suggestions through conversation -4. **Learn Shortcuts**: Keyboard shortcuts speed up your workflow -5. **Customize Settings**: Adjust autocomplete sensitivity, model preferences, and more -6. **Try Different Models**: Some models excel at specific tasks - -### Keyboard Shortcuts - -**VS Code**: -- Open Continue: `Ctrl+L` / `Cmd+L` -- Accept autocomplete: `Tab` -- Dismiss autocomplete: `Esc` -- New chat: `Ctrl+Shift+L` / `Cmd+Shift+L` - -**JetBrains**: -- Open Continue: `Ctrl+Shift+J` / `Cmd+Shift+J` -- Accept autocomplete: `Tab` -- Dismiss autocomplete: `Esc` - -### Troubleshooting - -**Extension not appearing**: -- Verify installation completed successfully -- Restart your IDE -- Check for IDE updates - -**Authentication issues**: -- Ensure you're signed in to Continue Mission Control -- Check your internet connection -- Verify API keys if using local configuration - -**Autocomplete not working**: -- Check autocomplete is enabled in settings -- Verify model is configured for autocomplete -- Ensure you're in a supported file type - -**Performance issues**: -- Adjust autocomplete delay in settings -- Use smaller models for faster responses -- Check system resources - -For more help, visit the Continue documentation or join the Discord community. - - ---- - -# Continue CLI (cn) - -## Overview - -Continue CLI (`cn`) is a command-line interface for automated coding tasks, scripting, and headless development workflows with Continue's AI coding capabilities. - -**Continue enables developers to ship faster with Continuous AI.** - -Build features from descriptions. Debug and fix issues. Navigate any codebase. Automate tedious tasks. - -### Get started in 30 seconds - -Prerequisites: -- Node.js 18 or newer -- A Continue Mission Control account (recommended) or local configuration - -```bash -# Install Continue CLI -npm install -g @continuedev/cli - -# Navigate to your project -cd your-awesome-project - -# Start coding with Continue -cn - -# You'll be prompted to set up on first use -``` - -That's it! You're ready to start automating with Continue CLI. - -## Two Ways to Use Continue CLI - -Continue CLI offers two distinct modes designed for different workflows: - -### TUI Mode: Interactive Development - -**Perfect for exploration, debugging, and iterating on AI workflows** - -```bash -cn -> @src/components/UserProfile.js Review this component for security issues -> Generate comprehensive unit tests -> Suggest performance improvements -``` - -- **Interactive conversations** with your codebase -- **Iterate and refine** prompts and approaches -- **Explore and understand** complex codebases -- **Perfect for experimentation** and learning - -### Headless Mode: Production Automation - -**Perfect for CI/CD, automation, and reliable workflows** - -```bash -cn -p "Generate a conventional commit message for staged changes" -cn -p "Review pull request changes for security vulnerabilities" -cn -p "Update documentation based on recent code changes" -``` - -- **Single-command execution** for automation -- **Reliable, repeatable results** for production use -- **CI/CD and pipeline integration** -- **Git hooks and automated workflows** - -### 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. - -### Development Workflow: TUI β†’ Headless - -**Pro Tip**: Start in TUI mode to iterate on your AI agent. Once you have a workflow that works reliably, deploy it as a Continuous AI automation. - -1. **Experiment in TUI mode** to perfect your agent -2. **Test different approaches** interactively until you get consistent results -3. **Convert successful workflows** to automated Continuous AI commands -4. **Deploy in production** with confidence in your proven approach - - -## Why developers love Continue CLI - -- **Works in your terminal**: Not another chat window. Not another IDE. Continue CLI meets you where you already work, with the tools you already love. -- **Takes action**: Continue CLI can directly edit files, run commands, and create commits. Need more? Check out our MCPs. -- **Automate tasks**: Create issues from PostHog data, automatically assign labels to issues, and more. Do all this in a single command from your developer machines, or automatically in CI. -- **Flexible development flow**: Start interactive, then automate proven workflows. - -## Key Capabilities - -### Context Engineering - -- Use `@` to reference files and provide context -- Use `/` to run slash commands for specific tasks -- Access the same context providers as IDE extensions - -### Tool Integration - -- File editing and creation -- Terminal command execution -- Codebase understanding and analysis -- Git integration -- Web search and documentation access - -### Model Flexibility - -- Switch between models with `/model` command -- Use any model configured in your `config.yaml` -- Access Continue Mission Control models and configurations - -## Continue Mission Control Integration - -Continue CLI integrates seamlessly with Continue Mission Control for: - -### API Access - -Get an API key for automation workflows: - -1. Visit Continue Mission Control API Keys at hub.continue.dev/settings/api-keys -2. Create a new API key -3. Use with `cn login` or in your automation scripts - -### Secrets Management - -Store secure credentials for CLI workflows: - -1. Visit Continue Mission Control Secrets at hub.continue.dev/settings/secrets -2. Add your API keys and sensitive data -3. Reference in configurations with `${{ secrets.SECRET_NAME }}` - -### Configuration Sync - -- Cloud-managed configurations automatically sync -- Share configurations across team members -- Version control for your AI workflows - - -## Common Use Cases - -### TUI Mode Examples - -**Interactive development and exploration:** - -**Codebase Exploration** -```bash -# Start interactive session -cn -> @src/components Find all unused React components -> /explain How does authentication work in this codebase? -> @auth/ What security patterns are used here? -``` - -**Iterative Debugging** -```bash -# Debug issues interactively -cn -> @tests/auth.test.js This test is failing, help me understand why -> @src/auth/middleware.js Let's examine this middleware -> /debug What could be causing the timeout error? -``` - -**Workflow Development** -```bash -# Develop and test automation workflows -cn -> @package.json @CHANGELOG.md Generate a release notes template -> # Test and refine the approach -> # Once working, convert to: cn -p "Generate release notes" -``` - -### Headless Mode Examples - -**Production automation and scripting:** - -**Git Automation** -```bash -# Generate commit messages -cn -p "Generate a conventional commit message for the current changes" - -# Code review automation -cn -p "Review the current git changes for bugs and suggest improvements" -``` - -**CI/CD Integration** -```bash -# In your pipeline scripts -cn -p "Analyze test failures and suggest fixes" - -# Automated documentation updates -cn -p "@README.md Update this documentation based on recent changes" -``` - -**Issue Management** -```bash -# Create GitHub issues from PostHog data -cn -p "@posthog-data.json Create GitHub issues for UX problems found in this session data" - -# Automated security audits -cn -p "Scan the codebase for potential security vulnerabilities" -``` - - -## Install Continue CLI - -Make sure you have Node.js 18 or higher installed. - -### Installation - -Install Continue CLI globally using npm: - -```bash -npm i -g @continuedev/cli -``` - -### Two Ways to Use Continue CLI - -Continue CLI works in two modes - TUI for interactive conversations or headless for automated commands. - -**TUI Mode - Interactive development sessions** - -Start a conversation with AI in your terminal: - -```bash -cn -> @src/app.js Generate unit tests for this component -``` - -Perfect for exploration, debugging, and iterative development. - -**Headless Mode - Automation and scripting** - -Single commands that return results: - -```bash -cn -p "Generate a commit message for current changes" -cn -p "Review the last 5 commits for issues" -``` - -Perfect for CI/CD, git hooks, and automated workflows. - -### Setup - -**For TUI Mode** (interactive development and exploration): - -1. **Login to Continue CLI** -```bash -cn login -``` -This will open your browser to authenticate with Continue Mission Control. - -2. **Test TUI Mode** -Start an interactive session: -```bash -cn -``` - -Try asking a question: -``` -> Tell me about the CLI -``` - -**For Headless Mode** (automation workflows and scripting): - -1. **Get API Key for Automation** - - Visit Continue Mission Control API Keys at hub.continue.dev/settings/api-keys - - Click "New API Key" - - Copy the API key immediately (you won't see it again!) - - Login using your Continue account - -2. **Add Secrets for Workflows** - - Visit Continue Mission Control Secrets at hub.continue.dev/settings/secrets - - Add your API keys and sensitive data - - Reference in configurations with `${{ secrets.SECRET_NAME }}` - -3. **Test Headless Mode** -Try headless mode for automation: -```bash -cn -p "Generate a conventional commit message for the current git changes" -``` - -### Getting Help - -If you encounter issues: -- Ask for help in our discussions at github.com/continuedev/continue/discussions -- Report bugs on GitHub at github.com/continuedev/continue - - -## Continue CLI Quick Start - -Get hands-on experience with Continue CLI through practical development workflows. - -**TUI Mode** (`cn` command) is for **large development tasks** that require agentic workflows with human oversight. Perfect for complex refactors, feature implementation, or one-off automation tasks that need monitoring and iteration. - -**Headless Mode** (`-p` flag) is for **reliable, repeatable tasks** that no longer need constant supervision. Perfect for CI/CD pipelines, git hooks, and automated workflows you've already tested and refined. - -### TUI Mode: Large Development Tasks - -Make sure you have Continue CLI installed and are in a project directory. - -#### Example: Implementing a New Feature - -```bash -# Navigate to your project directory -cd your-awesome-project - -# Start TUI Mode for complex development work -cn -``` - -**Example workflow for adding authentication:** - -``` -> I need to add JWT authentication to this Express app. Let me start by showing you the current structure. - -> @src/app.js @package.json Here's my current setup. Can you implement JWT auth with middleware, login/register routes, and user model? - -> [Agent analyzes codebase and implements auth system] -> [You review changes, test, and provide feedback] -> [Agent iterates based on your input until the feature is complete] -``` - -#### Example: Complex Refactoring - -```bash -cn -``` - -**Refactoring a monolithic component:** - -``` -> @src/components/Dashboard.jsx This component is 800 lines and does too much. Help me break it into smaller, reusable components. - -> [Agent analyzes component structure] -> [Proposes component breakdown strategy] -> [You approve approach] -> [Agent implements the refactor with proper props and state management] -> [You test and request adjustments] -``` - -#### When to Use TUI Mode - -βœ… **Large development tasks** that need oversight -βœ… **Complex refactors** requiring multiple steps -βœ… **New feature implementation** with unknowns -βœ… **One-off automation tasks** you haven't done before -βœ… **Debugging complex issues** that need exploration - -### Headless Mode: Automated Workflows - -Once you've refined a workflow in TUI Mode, convert it to Continuous AI for automation. - -#### Example: From TUI β†’ Continuous AI - -**Step 1: Develop in TUI Mode** - -```bash -cn -> @package.json @CHANGELOG.md Generate release notes for version 2.1.0 -> [Test and refine the prompt until it works perfectly] -``` - -**Step 2: Convert to Continuous AI** - -```bash -# Now use the refined workflow in automation -cn -p "Generate release notes for the current version based on package.json and recent commits" -``` - -#### Common Continuous AI Workflows - -```bash -# Git automation -cn -p "Generate a conventional commit message for staged changes" -cn -p "Review the last 3 commits for potential issues" - -# Code quality -cn -p "Fix all TypeScript errors in the src/ directory" -cn -p "Update outdated dependencies and fix breaking changes" - -# Documentation -cn -p "@README.md Update documentation based on recent changes" -cn -p "Generate API documentation from JSDoc comments" - -# CI/CD integration -cn -p "Analyze test failures and create GitHub issue with findings" -cn -p "Update version numbers and create release branch" -``` - -#### When to Use Headless Mode - -βœ… **Proven workflows** you've tested in TUI Mode -βœ… **Repetitive tasks** that no longer need oversight -βœ… **CI/CD automation** in pipelines -βœ… **Git hooks** for automated checks -βœ… **Scheduled tasks** that run unattended - -**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. - - -### Available Slash Commands - -Common slash commands available in CLI: - -- `/clear` - Clear the chat history -- `/compact` - Summarize chat history into a compact form -- `/config` - Switch configuration or organization -- `/exit` - Exit the chat -- `/fork` - Start a forked chat session from the current history -- `/help` - Show help message -- `/info` - Show session information -- `/init` - Create an AGENTS.md file -- `/login` - Authenticate with your account -- `/logout` - Sign out of your current session -- `/mcp` - Manage MCP server connections -- `/model` - Switch between available chat models -- `/resume` - Resume a previous chat session -- `/whoami` - Check who you're currently logged in as - -Use `/help` to see all available commands. - -### The Development Workflow - -**Recommended Approach**: Start complex tasks in TUI Mode to iterate and refine your approach. Once you have a reliable workflow, convert it to Headless Mode for automation. - -#### Workflow Pattern - -1. **πŸ”¬ Experiment in TUI Mode** - - Try complex development tasks with human oversight - - Iterate on prompts and approaches until they work reliably - - Test edge cases and refine the agent's behavior - -2. **⚑ Automate with Continuous AI** - - Convert proven TUI workflows to single commands - - Deploy in CI/CD, git hooks, or scheduled tasks - - Run with confidence knowing the approach is tested - -## CLI Guides - -For detailed guides on specific CLI workflows, check out the CLI Workflows section in the guides documentation. You'll find task-specific tutorials and examples for: - -- Creating automated workflows -- Setting up CI/CD integration -- Building custom agents -- Integrating with external tools -- And much more - diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index f10852b4a..c29d35b6f 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -519,7 +519,7 @@ FOR SELECT USING ( - Learn about the Supabase Model Context Protocol + Learn about the Supabase MCP Server.