From 4e1aa31dac277c5e0bed6b50fa8b185f2ec3ce3b Mon Sep 17 00:00:00 2001 From: BekahHW Date: Tue, 14 Oct 2025 09:21:08 -0400 Subject: [PATCH] Fix cookbooks to use --config --- docs/guides/chrome-devtools-mcp-performance.mdx | 4 ++-- docs/guides/continue-docs-mcp-cookbook.mdx | 6 +++--- docs/guides/dlt-mcp-continue-cookbook.mdx | 8 ++++---- docs/guides/doc-writing-agent-cli.mdx | 2 +- docs/guides/github-mcp-continue-cookbook.mdx | 6 +++--- docs/guides/posthog-github-continuous-ai.mdx | 2 +- docs/guides/sanity-mcp-continue-cookbook.mdx | 10 +++++----- docs/guides/sentry-mcp-error-monitoring.mdx | 2 +- docs/guides/snyk-mcp-continue-cookbook.mdx | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/guides/chrome-devtools-mcp-performance.mdx b/docs/guides/chrome-devtools-mcp-performance.mdx index 0d250c294..02a24edd3 100644 --- a/docs/guides/chrome-devtools-mcp-performance.mdx +++ b/docs/guides/chrome-devtools-mcp-performance.mdx @@ -68,7 +68,7 @@ After completing **Quick Setup** above, you have two paths to get started: Visit the [Chrome DevTools Continuous Agent](https://hub.continue.dev/continuedev/chrome-dev-continuous) on Continue Hub and click **"Install Agent"** or run: ```bash - cn --agent continuedev/chrome-dev-continuous + cn --config continuedev/chrome-dev-continuous ``` This agent includes: @@ -438,7 +438,7 @@ jobs: env: CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }} run: | - cn --agent continuedev/chrome-dev-continuous \ + cn --config continuedev/chrome-dev-continuous \ -p "Navigate to http://localhost:3000 and: 1. Record performance trace with reload 2. Extract LCP, FID, CLS values diff --git a/docs/guides/continue-docs-mcp-cookbook.mdx b/docs/guides/continue-docs-mcp-cookbook.mdx index 4c6475edc..e3218c605 100644 --- a/docs/guides/continue-docs-mcp-cookbook.mdx +++ b/docs/guides/continue-docs-mcp-cookbook.mdx @@ -31,7 +31,7 @@ Before starting, ensure you have: ```bash # From your Continue docs directory - cn --agent continuedev/docs-mintlify + cn --config continuedev/docs-mintlify ``` This agent includes: @@ -74,7 +74,7 @@ Cookbooks show how to use Continue CLI with specific tools or services. Here's h ```bash - cn --agent continuedev/docs-mintlify + cn --config continuedev/docs-mintlify ``` **Prompt:** @@ -395,7 +395,7 @@ jobs: If no updates needed, respond with 'NO_DOCS_NEEDED'. Be specific and concise." - cn --agent continuedev/docs-mintlify -p "$PROMPT" --auto > analysis.md || { + cn --config continuedev/docs-mintlify -p "$PROMPT" --auto > analysis.md || { echo "⚠️ Analysis failed" echo "needs_docs=false" >> $GITHUB_OUTPUT exit 0 diff --git a/docs/guides/dlt-mcp-continue-cookbook.mdx b/docs/guides/dlt-mcp-continue-cookbook.mdx index 5dca3c754..40bacb24d 100644 --- a/docs/guides/dlt-mcp-continue-cookbook.mdx +++ b/docs/guides/dlt-mcp-continue-cookbook.mdx @@ -53,7 +53,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s Navigate to your pipeline project directory and run: ```bash - cn --agent dlthub/dlt-assistant + cn --config dlthub/dlt-assistant ``` This agent includes: @@ -342,7 +342,7 @@ jobs: - name: Validate Pipeline Schema run: | echo "🔍 Validating pipeline schema..." - cn --agent dlthub/dlt-assistant \ + cn --config dlthub/dlt-assistant \ -p "Inspect the pipeline schema and verify all required tables and columns are present. Flag any missing or unexpected changes." \ --auto @@ -350,7 +350,7 @@ jobs: - name: Check Pipeline Health run: | echo "📊 Checking pipeline health..." - cn --agent dlthub/dlt-assistant \ + cn --config dlthub/dlt-assistant \ -p "Analyze the last pipeline run for errors or warnings. Report any issues that need attention." \ --auto @@ -360,7 +360,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - REPORT=$(cn --agent dlthub/dlt-assistant \ + REPORT=$(cn --config dlthub/dlt-assistant \ -p "Generate a concise summary (200 words or less) of: - Pipeline schemas and row counts - Any load errors or warnings diff --git a/docs/guides/doc-writing-agent-cli.mdx b/docs/guides/doc-writing-agent-cli.mdx index 800800cbc..622641d3b 100644 --- a/docs/guides/doc-writing-agent-cli.mdx +++ b/docs/guides/doc-writing-agent-cli.mdx @@ -202,7 +202,7 @@ jobs: - name: Generate documentation with Continue CLI run: | echo "Running Continue agent to generate documentation..." - cn --agent / \ + cn --config / \ --auto \ --allow Write \ -p \ diff --git a/docs/guides/github-mcp-continue-cookbook.mdx b/docs/guides/github-mcp-continue-cookbook.mdx index 8a9fd3c08..8ca9a83c0 100644 --- a/docs/guides/github-mcp-continue-cookbook.mdx +++ b/docs/guides/github-mcp-continue-cookbook.mdx @@ -62,7 +62,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s From your repo root: ```bash - cn --agent continuedev/github-manager-ai + cn --config continuedev/github-manager-ai ``` Now try: "List my open issues labeled bug and summarize priorities." @@ -305,7 +305,7 @@ jobs: - name: Weekly Issue Triage Summary if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' run: | - cn --agent continuedev/github-manager-ai \ + cn --config continuedev/github-manager-ai \ -p "List open issues updated in the last 14 days. Group by label and priority. Propose top 5 actions and include issue links." \ --auto > issue_summary.txt @@ -314,7 +314,7 @@ jobs: env: PR_NUMBER: ${{ github.event.pull_request.number }} run: | - REPORT=$(cn --agent continuedev/github-manager-ai \ + REPORT=$(cn --config continuedev/github-manager-ai \ -p "Summarize the context for PR #${PR_NUMBER}: related open issues, risk areas, and test suggestions. Keep under 200 words." \ --auto) gh pr comment ${PR_NUMBER} --body "$REPORT" diff --git a/docs/guides/posthog-github-continuous-ai.mdx b/docs/guides/posthog-github-continuous-ai.mdx index c147c7f5d..e4421f7ed 100644 --- a/docs/guides/posthog-github-continuous-ai.mdx +++ b/docs/guides/posthog-github-continuous-ai.mdx @@ -137,7 +137,7 @@ You only need to configure the PostHog MCP credential - it automatically handles Visit the [PostHog GitHub Continuous AI Agent](https://hub.continue.dev/continuedev/awesome-models-posthog-gh) on Continue Hub and click **"Install Agent"** or run: ```bash - cn --agent continuedev/awesome-models-posthog-gh + cn --config continuedev/awesome-models-posthog-gh ``` This agent includes: diff --git a/docs/guides/sanity-mcp-continue-cookbook.mdx b/docs/guides/sanity-mcp-continue-cookbook.mdx index 23d7ea524..3f28479d6 100644 --- a/docs/guides/sanity-mcp-continue-cookbook.mdx +++ b/docs/guides/sanity-mcp-continue-cookbook.mdx @@ -75,7 +75,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s Visit the [Sanity Agent Config](https://hub.continue.dev/continuedev/sanity-agent-config) on Continue Hub and click **"Install Agent"** or run: ```bash - cn --agent continuedev/sanity-agent-config + cn --config continuedev/sanity-agent-config ``` This agent includes: @@ -447,7 +447,7 @@ jobs: - name: Validate Schema Structure run: | echo "🔍 Validating schema structure..." - cn --agent continuedev/sanity-agent-config \ + cn --config continuedev/sanity-agent-config \ -p "Analyze the Sanity schema for any structural issues, missing required fields, or broken references between document types." \ --auto @@ -455,7 +455,7 @@ jobs: - name: Check Content Integrity run: | echo "📊 Checking content integrity..." - cn --agent continuedev/sanity-agent-config \ + cn --config continuedev/sanity-agent-config \ -p "Run GROQ queries to identify any orphaned documents, broken references, or missing required fields in the content." \ --auto @@ -463,7 +463,7 @@ jobs: - name: Generate Schema Documentation run: | echo "📝 Generating schema documentation..." - cn --agent continuedev/sanity-agent-config \ + cn --config continuedev/sanity-agent-config \ -p "Generate a markdown summary of all schema changes in this PR and their potential impact on existing content." \ --auto > schema-changes.md @@ -473,7 +473,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - REPORT=$(cn --agent continuedev/sanity-agent-config \ + REPORT=$(cn --config continuedev/sanity-agent-config \ -p "Generate a concise summary (200 words or less) of: - Schema validation results - Content integrity checks diff --git a/docs/guides/sentry-mcp-error-monitoring.mdx b/docs/guides/sentry-mcp-error-monitoring.mdx index 0df5fdc01..bcbe81f9c 100644 --- a/docs/guides/sentry-mcp-error-monitoring.mdx +++ b/docs/guides/sentry-mcp-error-monitoring.mdx @@ -141,7 +141,7 @@ First, you'll need to gather your Sentry and GitHub API credentials. Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai) on Continue Hub and click **"Install Agent"** or run: ```bash - cn --agent continuedev/sentry-continuous-ai + cn --config continuedev/sentry-continuous-ai ``` This agent includes: diff --git a/docs/guides/snyk-mcp-continue-cookbook.mdx b/docs/guides/snyk-mcp-continue-cookbook.mdx index 39dec20d6..b353f395b 100644 --- a/docs/guides/snyk-mcp-continue-cookbook.mdx +++ b/docs/guides/snyk-mcp-continue-cookbook.mdx @@ -65,7 +65,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s Navigate to your project directory and run: ```bash - cn --agent continuedev/snyk-continuous-ai + cn --config continuedev/snyk-continuous-ai ``` This agent includes: @@ -442,7 +442,7 @@ jobs: # Use Continue CLI to generate mitigation suggestions PROMPT="Analyze these Snyk security findings and provide specific, actionable mitigation steps for each issue. Focus on: 1) Root cause, 2) Immediate fix, 3) Long-term prevention. Findings: $FINDINGS_SUMMARY. Provide clear, prioritized recommendations." - cn --agent continuedev/snyk-continuous-ai -p "$PROMPT" --auto > mitigation-suggestions.md || { + cn --config continuedev/snyk-continuous-ai -p "$PROMPT" --auto > mitigation-suggestions.md || { echo "⚠️ Warning: Could not generate AI suggestions" exit 0 }