Merge branch 'main' into rule-add-dialog
2
.github/workflows/auto-fix-failed-tests.yml
vendored
|
|
@ -89,7 +89,7 @@ jobs:
|
|||
|
||||
- name: Checkout repository
|
||||
if: steps.workflow-details.outputs.has_failed_tests == 'true'
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
|
|
|||
4
.github/workflows/auto-release.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
contents: write # Needed for creating releases
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Get version from package.json
|
||||
id: get_version
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
contents: write # Needed for creating releases
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
|||
4
.github/workflows/beta-release.yml
vendored
|
|
@ -16,9 +16,11 @@ jobs:
|
|||
beta-release:
|
||||
name: Beta Release
|
||||
runs-on: ubuntu-latest
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|
||||
|
|
|
|||
2
.github/workflows/cla.yaml
vendored
|
|
@ -27,5 +27,5 @@ jobs:
|
|||
path-to-document: "https://github.com/continuedev/continue/blob/main/CLA.md"
|
||||
branch: cla-signatures
|
||||
# Bots and CLAs signed outside of GitHub
|
||||
allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,agent@continue.dev,action@github.com,snyk-bot
|
||||
allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,agent@continue.dev,action@github.com,snyk-bot,noreply@continue.dev
|
||||
signed-commit-message: "CLA signed in $pullRequestNo"
|
||||
|
|
|
|||
6
.github/workflows/cli-pr-checks.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: github.run_attempt > 1
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Track workflow rerun
|
||||
uses: ./.github/actions/track-rerun
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v6
|
||||
|
|
|
|||
4
.github/workflows/compliance.yaml
vendored
|
|
@ -101,7 +101,7 @@ jobs:
|
|||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
|
@ -134,7 +134,7 @@ jobs:
|
|||
if: ${{ !github.event.pull_request.draft }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Check required files
|
||||
run: |
|
||||
|
|
|
|||
14
.github/workflows/jetbrains-release.yaml
vendored
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
# steps:
|
||||
# # 0. Setup git
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v5
|
||||
# uses: actions/checkout@v6
|
||||
|
||||
# - name: Set up Git
|
||||
# run: |
|
||||
|
|
@ -102,7 +102,7 @@ jobs:
|
|||
steps:
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.event.release.tag_name }}
|
||||
|
||||
|
|
@ -366,7 +366,7 @@ jobs:
|
|||
steps:
|
||||
# 1. Check-out repository
|
||||
- name: Check-out repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# 2. Install npm dependencies
|
||||
- name: Use Node.js from .nvmrc
|
||||
|
|
@ -433,7 +433,7 @@ jobs:
|
|||
steps:
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Set up Java environment for the next steps
|
||||
- name: Setup Java
|
||||
|
|
@ -480,7 +480,7 @@ jobs:
|
|||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Set up Java environment for the next steps
|
||||
- name: Setup Java
|
||||
|
|
@ -491,7 +491,7 @@ jobs:
|
|||
|
||||
# Run Qodana inspections
|
||||
- name: Qodana - Code Inspection
|
||||
uses: JetBrains/qodana-action@v2025.2.1
|
||||
uses: JetBrains/qodana-action@v2025.2.2
|
||||
with:
|
||||
cache-default-branch-only: true
|
||||
|
||||
|
|
@ -511,7 +511,7 @@ jobs:
|
|||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
# Set up Java environment for the next steps
|
||||
- name: Setup Java
|
||||
|
|
|
|||
2
.github/workflows/label-merged-prs.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Check if author is in tier list
|
||||
id: check-author
|
||||
|
|
|
|||
2
.github/workflows/main-build.yaml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
matrix:
|
||||
platform: [Linux, macOS]
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 2 # Get the last 2 commits to find the merge commit
|
||||
|
||||
|
|
|
|||
8
.github/workflows/main.yaml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0 # This ensures all tags are fetched
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
arch: arm64
|
||||
npm_config_arch: arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ jobs:
|
|||
- build
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
steps:
|
||||
# 0. Setup git
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/metrics.yaml
vendored
|
|
@ -16,6 +16,8 @@ jobs:
|
|||
build:
|
||||
name: issue metrics
|
||||
runs-on: ubuntu-latest
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: read
|
||||
|
|
|
|||
2
.github/workflows/pr-build-upload-vsix.yaml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
runner: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
|||
24
.github/workflows/pr-checks.yaml
vendored
|
|
@ -15,14 +15,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: github.run_attempt > 1
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Track workflow rerun
|
||||
uses: ./.github/actions/track-rerun
|
||||
|
||||
prettier-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
core-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0 # Needed for git diff to work
|
||||
- name: Setup packages
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
gui-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Setup packages
|
||||
uses: ./.github/actions/setup-packages
|
||||
- name: Setup core component
|
||||
|
|
@ -121,7 +121,7 @@ jobs:
|
|||
binary-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Setup packages
|
||||
uses: ./.github/actions/setup-packages
|
||||
- name: Setup core component
|
||||
|
|
@ -143,7 +143,7 @@ jobs:
|
|||
vscode-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Setup packages
|
||||
uses: ./.github/actions/setup-packages
|
||||
- name: Setup core component
|
||||
|
|
@ -176,7 +176,7 @@ jobs:
|
|||
outputs:
|
||||
packages: ${{ steps.get-packages.outputs.packages }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Get package list
|
||||
id: get-packages
|
||||
run: |
|
||||
|
|
@ -191,7 +191,7 @@ jobs:
|
|||
matrix:
|
||||
package: ${{ fromJson(needs.get-packages-matrix.outputs.packages) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0 # Needed for git diff to work
|
||||
- name: Setup packages
|
||||
|
|
@ -228,7 +228,7 @@ jobs:
|
|||
outputs:
|
||||
test_file_matrix: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
|
@ -288,7 +288,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -320,7 +320,7 @@ jobs:
|
|||
test_file: ${{ fromJson(needs.vscode-get-test-file-matrix.outputs.test_file_matrix) }}
|
||||
command: ["e2e:ci:run", "e2e:ci:run-yaml"]
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run VS Code E2E test
|
||||
uses: ./.github/actions/run-vscode-e2e-test
|
||||
with:
|
||||
|
|
@ -345,7 +345,7 @@ jobs:
|
|||
docker-images: true
|
||||
swap-storage: true
|
||||
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run JetBrains tests
|
||||
uses: ./.github/actions/run-jetbrains-tests
|
||||
with:
|
||||
|
|
|
|||
6
.github/workflows/preview.yaml
vendored
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
arch: arm64
|
||||
npm_config_arch: arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
- build
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
|
@ -131,7 +131,7 @@ jobs:
|
|||
steps:
|
||||
# 0. Setup git
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/release-config-yaml.yml
vendored
|
|
@ -16,6 +16,8 @@ permissions:
|
|||
|
||||
jobs:
|
||||
release:
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
uses: ./.github/workflows/reusable-release.yml
|
||||
with:
|
||||
package-name: "config-yaml"
|
||||
|
|
|
|||
2
.github/workflows/release-fetch.yml
vendored
|
|
@ -16,6 +16,8 @@ permissions:
|
|||
|
||||
jobs:
|
||||
release:
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
uses: ./.github/workflows/reusable-release.yml
|
||||
with:
|
||||
package-name: "fetch"
|
||||
|
|
|
|||
2
.github/workflows/release-llm-info.yml
vendored
|
|
@ -15,6 +15,8 @@ permissions:
|
|||
|
||||
jobs:
|
||||
release:
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
uses: ./.github/workflows/reusable-release.yml
|
||||
with:
|
||||
package-name: "llm-info"
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ permissions:
|
|||
|
||||
jobs:
|
||||
release:
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
uses: ./.github/workflows/reusable-release.yml
|
||||
with:
|
||||
package-name: "openai-adapters"
|
||||
|
|
|
|||
2
.github/workflows/reusable-release.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
working-directory: ${{ inputs.package-path }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
|||
15
.github/workflows/run-continue-agent.yml
vendored
|
|
@ -4,14 +4,15 @@ on:
|
|||
workflow_call:
|
||||
inputs:
|
||||
prompt:
|
||||
description: "The prompt to send to the Continue agent"
|
||||
required: true
|
||||
type: string
|
||||
config:
|
||||
description: "The config to use (e.g., continuedev/default-background-agent)"
|
||||
description: "Additional prompting to send to the Continue agent"
|
||||
required: false
|
||||
type: string
|
||||
default: "continuedev/default-background-agent"
|
||||
default: ""
|
||||
agent:
|
||||
description: "The agent to use (e.g., continuedev/github-pr-agent)"
|
||||
required: true
|
||||
type: string
|
||||
default: "continuedev/github-pr-agent"
|
||||
branch_name:
|
||||
description: "The base branch name to work from"
|
||||
required: false
|
||||
|
|
@ -33,7 +34,7 @@ jobs:
|
|||
-H "Authorization: Bearer ${{ secrets.CONTINUE_API_KEY }}" \
|
||||
-d '{
|
||||
"prompt": "${{ inputs.prompt }}",
|
||||
"config": "${{ inputs.config }}",
|
||||
"agent": "${{ inputs.agent }}",
|
||||
"branchName": "${{ inputs.branch_name }}",
|
||||
"repoUrl": "https://github.com/${{ github.repository }}"
|
||||
}')
|
||||
|
|
|
|||
2
.github/workflows/similar-issues.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout deja-view
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
repository: "bdougie/deja-view"
|
||||
# Option 1: Pin to specific commit (most secure)
|
||||
|
|
|
|||
4
.github/workflows/snyk-agent.yaml
vendored
|
|
@ -9,9 +9,11 @@ on:
|
|||
jobs:
|
||||
run-cn-task:
|
||||
runs-on: ubuntu-latest
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
|
|
|||
4
.github/workflows/stable-release.yml
vendored
|
|
@ -32,9 +32,11 @@ jobs:
|
|||
stable-release:
|
||||
name: Stable Release
|
||||
runs-on: ubuntu-latest
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -10,9 +10,11 @@ permissions:
|
|||
jobs:
|
||||
dependency-submission:
|
||||
runs-on: ubuntu-latest
|
||||
# Only run this workflow on the main repository (continuedev/continue)
|
||||
if: github.repository == 'continuedev/continue'
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
|
|
|
|||
3
.github/workflows/tidy-up-codebase.yml
vendored
|
|
@ -10,8 +10,7 @@ jobs:
|
|||
run-cn-task:
|
||||
uses: ./.github/workflows/run-continue-agent.yml
|
||||
with:
|
||||
prompt: "Review every Markdown documentation file and verify that descriptions, examples, or behavior outlines accurately reflect the current code. Only update documentation; do not modify code. Check the corresponding code to confirm behavior before making changes. Correct any inaccuracies or outdated information in descriptions, examples, or behavior outlines. Preserve existing Markdown formatting, style, and structure. Do not add new sections, speculative explanations, or details not present in the code. Only update statements that are clearly incorrect or misleading; do not rewrite text for style or preference. Keep edits minimal and focused, ensuring that the Markdown matches what the code actually does. If verification against the code is ambiguous, leave the documentation unchanged. Use branch name bot/cleanup-<YYMMDD>-<HHMM>"
|
||||
config: continuedev/default-background-agent
|
||||
agent: continuedev/tidy-up-markdown-agent
|
||||
branch_name: main
|
||||
secrets:
|
||||
CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}
|
||||
|
|
|
|||
2
.github/workflows/vscode-prerelease.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ inputs.main_commit_sha || 'main' }}
|
||||
fetch-depth: 0
|
||||
|
|
|
|||
2
.github/workflows/vscode-version-bump.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0 # Fetch all history and tags
|
||||
|
||||
|
|
|
|||
144
binary/package-lock.json
generated
|
|
@ -9,7 +9,7 @@
|
|||
"version": "1.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@octokit/rest": "^20.0.2",
|
||||
"@octokit/rest": "^20.1.2",
|
||||
"adm-zip": "^0.5.16",
|
||||
"commander": "^12.0.0",
|
||||
"core": "file:../core",
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
"posthog-node": "^3.6.3",
|
||||
"system-ca": "^1.0.2",
|
||||
"tar": "^7.5.1",
|
||||
"undici": "^7.10.0",
|
||||
"undici": "^7.16.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vectordb": "^0.4.20",
|
||||
"win-ca": "^3.5.1"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
"fastest-levenshtein": "^1.0.16",
|
||||
"filtrex": "^3.1.0",
|
||||
"follow-redirects": "^1.15.5",
|
||||
"google-auth-library": "^9.14.2",
|
||||
"google-auth-library": "^10.4.1",
|
||||
"handlebars": "^4.7.8",
|
||||
"http-proxy-agent": "^7.0.1",
|
||||
"https-proxy-agent": "^7.0.3",
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
"pg": "^8.11.3",
|
||||
"plist": "^3.1.0",
|
||||
"posthog-node": "^3.6.3",
|
||||
"puppeteer": "^22.4.0",
|
||||
"puppeteer": "^24.15.0",
|
||||
"puppeteer-chromium-resolver": "^23.0.0",
|
||||
"quick-lru": "^7.0.0",
|
||||
"replicate": "^0.26.0",
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
"winston": "^3.17.0",
|
||||
"workerpool": "^9.1.3",
|
||||
"yaml": "^2.4.2",
|
||||
"zod": "^3.24.2"
|
||||
"zod": "^3.25.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.24.7",
|
||||
|
|
@ -15515,7 +15515,9 @@
|
|||
}
|
||||
},
|
||||
"../core/node_modules/tar/node_modules/glob": {
|
||||
"version": "10.4.5",
|
||||
"version": "10.5.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
||||
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"foreground-child": "^3.1.0",
|
||||
|
|
@ -17251,8 +17253,8 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/config-types": "^1.0.14",
|
||||
"yaml": "^2.6.1",
|
||||
"zod": "^3.24.2"
|
||||
"yaml": "^2.8.1",
|
||||
"zod": "^3.25.76"
|
||||
},
|
||||
"bin": {
|
||||
"config-yaml": "dist/cli.js"
|
||||
|
|
@ -42087,29 +42089,29 @@
|
|||
"@aws-sdk/client-bedrock-runtime": "^3.842.0",
|
||||
"@aws-sdk/credential-providers": "^3.913.0",
|
||||
"@continuedev/config-types": "^1.0.14",
|
||||
"@continuedev/config-yaml": "^1.29.0",
|
||||
"@continuedev/config-yaml": "^1.33.0",
|
||||
"@continuedev/fetch": "^1.5.0",
|
||||
"dotenv": "^16.5.0",
|
||||
"google-auth-library": "^10.1.0",
|
||||
"google-auth-library": "^10.4.1",
|
||||
"json-schema": "^0.4.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"openai": "^5.13.1",
|
||||
"openai": "^5.23.2",
|
||||
"uuid": "^11.1.0",
|
||||
"zod": "^3.24.2"
|
||||
"zod": "^3.25.76"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^11.0.3",
|
||||
"@semantic-release/npm": "^12.0.2",
|
||||
"@semantic-release/npm": "^13.1.2",
|
||||
"@semantic-release/release-notes-generator": "^14.0.3",
|
||||
"@types/follow-redirects": "^1.14.4",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"@types/node": "^24.3.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"semantic-release": "^24.2.7",
|
||||
"semantic-release": "^25.0.2",
|
||||
"ts-jest": "^29.2.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"vitest": "^3.2.4"
|
||||
|
|
@ -48407,7 +48409,9 @@
|
|||
}
|
||||
},
|
||||
"../packages/openai-adapters/node_modules/glob": {
|
||||
"version": "10.4.5",
|
||||
"version": "10.5.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
||||
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"peer": true,
|
||||
|
|
@ -57705,6 +57709,8 @@
|
|||
},
|
||||
"node_modules/@isaacs/cliui": {
|
||||
"version": "8.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
||||
"integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -58230,14 +58236,18 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@octokit/openapi-types": {
|
||||
"version": "22.2.0",
|
||||
"version": "24.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz",
|
||||
"integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@octokit/plugin-paginate-rest": {
|
||||
"version": "11.3.1",
|
||||
"version": "11.4.4-cjs.2",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.4.4-cjs.2.tgz",
|
||||
"integrity": "sha512-2dK6z8fhs8lla5PaOTgqfCGBxgAv/le+EhPs27KklPhm1bKObpu6lXzwfUEQ16ajXzqNrKMujsFyo9K2eaoISw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/types": "^13.5.0"
|
||||
"@octokit/types": "^13.7.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
|
|
@ -58257,10 +58267,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
||||
"version": "13.2.2",
|
||||
"version": "13.3.2-cjs.1",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.3.2-cjs.1.tgz",
|
||||
"integrity": "sha512-VUjIjOOvF2oELQmiFpWA1aOPdawpyaCUqcEBc/UOUnj3Xp6DJGrJ1+bjUIIDzdHjnFNO6q57ODMfdEZnoBkCwQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/types": "^13.5.0"
|
||||
"@octokit/types": "^13.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
|
|
@ -58295,27 +58307,33 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@octokit/rest": {
|
||||
"version": "20.1.1",
|
||||
"version": "20.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-20.1.2.tgz",
|
||||
"integrity": "sha512-GmYiltypkHHtihFwPRxlaorG5R9VAHuk/vbszVoRTGXnAsY60wYLkh/E2XiFmdZmqrisw+9FaazS1i5SbdWYgA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/core": "^5.0.2",
|
||||
"@octokit/plugin-paginate-rest": "11.3.1",
|
||||
"@octokit/plugin-paginate-rest": "11.4.4-cjs.2",
|
||||
"@octokit/plugin-request-log": "^4.0.0",
|
||||
"@octokit/plugin-rest-endpoint-methods": "13.2.2"
|
||||
"@octokit/plugin-rest-endpoint-methods": "13.3.2-cjs.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/types": {
|
||||
"version": "13.5.0",
|
||||
"version": "13.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz",
|
||||
"integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^22.2.0"
|
||||
"@octokit/openapi-types": "^24.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@pkgjs/parseargs": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||
"integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
|
|
@ -58547,7 +58565,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/ansi-regex": {
|
||||
"version": "6.0.1",
|
||||
"version": "6.2.2",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
|
||||
"integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -59365,6 +59385,8 @@
|
|||
},
|
||||
"node_modules/eastasianwidth": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
|
||||
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
@ -59386,6 +59408,8 @@
|
|||
},
|
||||
"node_modules/emoji-regex": {
|
||||
"version": "9.2.2",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
|
||||
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
|
|
@ -59848,22 +59872,22 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/glob": {
|
||||
"version": "10.3.15",
|
||||
"version": "10.5.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
||||
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"foreground-child": "^3.1.0",
|
||||
"jackspeak": "^2.3.6",
|
||||
"minimatch": "^9.0.1",
|
||||
"minipass": "^7.0.4",
|
||||
"path-scurry": "^1.11.0"
|
||||
"jackspeak": "^3.1.2",
|
||||
"minimatch": "^9.0.4",
|
||||
"minipass": "^7.1.2",
|
||||
"package-json-from-dist": "^1.0.0",
|
||||
"path-scurry": "^1.11.1"
|
||||
},
|
||||
"bin": {
|
||||
"glob": "dist/esm/bin.mjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.18"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
|
|
@ -60252,15 +60276,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/jackspeak": {
|
||||
"version": "2.3.6",
|
||||
"version": "3.4.3",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
|
||||
"integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
|
||||
"dev": true,
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
},
|
||||
|
|
@ -61466,6 +61489,13 @@
|
|||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/package-json-from-dist": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
|
||||
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
|
||||
"dev": true,
|
||||
"license": "BlueOak-1.0.0"
|
||||
},
|
||||
"node_modules/pad-left": {
|
||||
"version": "2.1.0",
|
||||
"license": "MIT",
|
||||
|
|
@ -62146,6 +62176,8 @@
|
|||
},
|
||||
"node_modules/string-width": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
|
||||
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62163,6 +62195,8 @@
|
|||
"node_modules/string-width-cjs": {
|
||||
"name": "string-width",
|
||||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
||||
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62176,6 +62210,8 @@
|
|||
},
|
||||
"node_modules/string-width-cjs/node_modules/ansi-regex": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -62184,11 +62220,15 @@
|
|||
},
|
||||
"node_modules/string-width-cjs/node_modules/emoji-regex": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/string-width-cjs/node_modules/strip-ansi": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62199,7 +62239,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/strip-ansi": {
|
||||
"version": "7.1.0",
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
|
||||
"integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62215,6 +62257,8 @@
|
|||
"node_modules/strip-ansi-cjs": {
|
||||
"name": "strip-ansi",
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62226,6 +62270,8 @@
|
|||
},
|
||||
"node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -62583,7 +62629,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/undici": {
|
||||
"version": "7.10.0",
|
||||
"version": "7.16.0",
|
||||
"resolved": "https://registry.npmjs.org/undici/-/undici-7.16.0.tgz",
|
||||
"integrity": "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=20.18.1"
|
||||
|
|
@ -62751,6 +62799,8 @@
|
|||
},
|
||||
"node_modules/wrap-ansi": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
|
||||
"integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62768,6 +62818,8 @@
|
|||
"node_modules/wrap-ansi-cjs": {
|
||||
"name": "wrap-ansi",
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
||||
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62784,6 +62836,8 @@
|
|||
},
|
||||
"node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
|
||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -62792,11 +62846,15 @@
|
|||
},
|
||||
"node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/wrap-ansi-cjs/node_modules/string-width": {
|
||||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
|
||||
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62810,6 +62868,8 @@
|
|||
},
|
||||
"node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
|
||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -62820,7 +62880,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/wrap-ansi/node_modules/ansi-styles": {
|
||||
"version": "6.2.1",
|
||||
"version": "6.2.3",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
|
||||
"integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
"typescript": "^5.6.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@octokit/rest": "^20.0.2",
|
||||
"@octokit/rest": "^20.1.2",
|
||||
"adm-zip": "^0.5.16",
|
||||
"commander": "^12.0.0",
|
||||
"core": "file:../core",
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
"posthog-node": "^3.6.3",
|
||||
"system-ca": "^1.0.2",
|
||||
"tar": "^7.5.1",
|
||||
"undici": "^7.10.0",
|
||||
"undici": "^7.16.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vectordb": "^0.4.20",
|
||||
"win-ca": "^3.5.1"
|
||||
|
|
|
|||
|
|
@ -502,11 +502,13 @@ export class ConfigHandler {
|
|||
this.totalConfigReloads += 1;
|
||||
// console.log(`Reloading config (#${this.totalConfigLoads}): ${reason}`); // Uncomment to see config loading logs
|
||||
if (!this.currentProfile) {
|
||||
return {
|
||||
const out = {
|
||||
config: undefined,
|
||||
errors: injectErrors,
|
||||
configLoadInterrupted: true,
|
||||
};
|
||||
this.notifyConfigListeners(out);
|
||||
return out;
|
||||
}
|
||||
|
||||
for (const org of this.organizations) {
|
||||
|
|
|
|||
|
|
@ -348,7 +348,12 @@ export default async function doLoadConfig(options: {
|
|||
}
|
||||
});
|
||||
|
||||
if (newConfig.allowAnonymousTelemetry !== false) {
|
||||
// VS Code has an IDE telemetry setting
|
||||
// Since it's a security concern we use OR behavior on false
|
||||
if (
|
||||
newConfig.allowAnonymousTelemetry !== false &&
|
||||
ideInfo.ideType === "vscode"
|
||||
) {
|
||||
if ((await ide.isTelemetryEnabled()) === false) {
|
||||
newConfig.allowAnonymousTelemetry = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,7 +97,12 @@ export class LocalPlatformClient implements PlatformClient {
|
|||
return [];
|
||||
}
|
||||
|
||||
const results = await this.client.resolveFQSNs(fqsns, this.orgScopeId);
|
||||
let results: (SecretResult | undefined)[] = [];
|
||||
try {
|
||||
results = await this.client.resolveFQSNs(fqsns, this.orgScopeId);
|
||||
} catch (e) {
|
||||
console.error("Error getting secrets from control plane", e);
|
||||
}
|
||||
|
||||
// For any secret that isn't found, look in .env files, then process.env
|
||||
for (let i = 0; i < results.length; i++) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import {
|
|||
ModelRole,
|
||||
PackageIdentifier,
|
||||
RegistryClient,
|
||||
TEMPLATE_VAR_REGEX,
|
||||
unrollAssistant,
|
||||
validateConfigYaml,
|
||||
} from "@continuedev/config-yaml";
|
||||
|
|
@ -237,22 +236,6 @@ export async function configYamlToContinueConfig(options: {
|
|||
sourceFile: doc.sourceFile,
|
||||
}));
|
||||
|
||||
config.mcpServers?.forEach((mcpServer) => {
|
||||
if ("args" in mcpServer) {
|
||||
const mcpArgVariables =
|
||||
mcpServer.args?.filter((arg) => TEMPLATE_VAR_REGEX.test(arg)) ?? [];
|
||||
|
||||
if (mcpArgVariables.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
localErrors.push({
|
||||
fatal: false,
|
||||
message: `MCP server "${mcpServer.name}" has unsubstituted variables in args: ${mcpArgVariables.join(", ")}. Please refer to https://docs.continue.dev/hub/secrets/secret-types for managing hub secrets.`,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Prompt files -
|
||||
try {
|
||||
const promptFiles = await getAllPromptFiles(ide, undefined, true);
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|||
import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
import {
|
||||
decodeSecretLocation,
|
||||
getTemplateVariables,
|
||||
} from "@continuedev/config-yaml";
|
||||
import {
|
||||
SSEClientTransport,
|
||||
SseError,
|
||||
|
|
@ -163,6 +167,24 @@ class MCPConnection {
|
|||
}
|
||||
}
|
||||
|
||||
const vars = getTemplateVariables(JSON.stringify(this.options));
|
||||
const unrendered = vars.map((v) => {
|
||||
const stripped = v.replace("secrets.", "");
|
||||
try {
|
||||
return decodeSecretLocation(stripped).secretName;
|
||||
} catch {
|
||||
return stripped;
|
||||
}
|
||||
});
|
||||
|
||||
if (unrendered.length > 0) {
|
||||
this.errors.push(
|
||||
`${this.options.name} MCP Server has unresolved secrets: ${unrendered.join(", ")}.
|
||||
For personal use you can set the secret in the hub at https://hub.continue.dev/settings/secrets.
|
||||
Org-level secrets can only be used for MCP by Background Agents (https://docs.continue.dev/hub/agents/overview) when \"Include in Env\" is enabled.`,
|
||||
);
|
||||
}
|
||||
|
||||
this.connectionPromise = Promise.race([
|
||||
// If aborted by a refresh or other, cancel and don't do anything
|
||||
new Promise((resolve) => {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ import {
|
|||
} from "../../index.js";
|
||||
import { safeParseToolCallArgs } from "../../tools/parseArgs.js";
|
||||
import { renderChatMessage, stripImages } from "../../util/messageContent.js";
|
||||
import { extractBase64FromDataUrl } from "../../util/url.js";
|
||||
import { DEFAULT_REASONING_TOKENS } from "../constants.js";
|
||||
import { BaseLLM } from "../index.js";
|
||||
|
||||
|
|
@ -105,14 +106,22 @@ class Anthropic extends BaseLLM {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
parts.push({
|
||||
type: "image",
|
||||
source: {
|
||||
type: "base64",
|
||||
media_type: getAnthropicMediaTypeFromDataUrl(part.imageUrl.url),
|
||||
data: part.imageUrl.url.split(",")[1],
|
||||
},
|
||||
});
|
||||
const base64Data = extractBase64FromDataUrl(part.imageUrl.url);
|
||||
if (base64Data) {
|
||||
parts.push({
|
||||
type: "image",
|
||||
source: {
|
||||
type: "base64",
|
||||
media_type: getAnthropicMediaTypeFromDataUrl(part.imageUrl.url),
|
||||
data: base64Data,
|
||||
},
|
||||
});
|
||||
} else {
|
||||
console.warn(
|
||||
"Anthropic: skipping image with invalid data URL format",
|
||||
part.imageUrl.url,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import type { CompletionOptions } from "../../index.js";
|
|||
import { ChatMessage, Chunk, LLMOptions, MessageContent } from "../../index.js";
|
||||
import { safeParseToolCallArgs } from "../../tools/parseArgs.js";
|
||||
import { renderChatMessage, stripImages } from "../../util/messageContent.js";
|
||||
import { parseDataUrl } from "../../util/url.js";
|
||||
import { BaseLLM } from "../index.js";
|
||||
import { PROVIDER_TOOL_SUPPORT } from "../toolSupport.js";
|
||||
import { getSecureID } from "../utils/getSecureID.js";
|
||||
|
|
@ -545,8 +546,9 @@ class Bedrock extends BaseLLM {
|
|||
if (part.type === "text") {
|
||||
blocks.push({ text: part.text });
|
||||
} else if (part.type === "imageUrl" && part.imageUrl) {
|
||||
try {
|
||||
const [mimeType, base64Data] = part.imageUrl.url.split(",");
|
||||
const parsed = parseDataUrl(part.imageUrl.url);
|
||||
if (parsed) {
|
||||
const { mimeType, base64Data } = parsed;
|
||||
const format = mimeType.split("/")[1]?.split(";")[0] || "jpeg";
|
||||
if (
|
||||
format === ImageFormat.JPEG ||
|
||||
|
|
@ -568,8 +570,8 @@ class Bedrock extends BaseLLM {
|
|||
part,
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
console.warn("Bedrock: failed to process image part", error, part);
|
||||
} else {
|
||||
console.warn("Bedrock: failed to process image part", part);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import {
|
|||
} from "../../index.js";
|
||||
import { safeParseToolCallArgs } from "../../tools/parseArgs.js";
|
||||
import { renderChatMessage, stripImages } from "../../util/messageContent.js";
|
||||
import { extractBase64FromDataUrl } from "../../util/url.js";
|
||||
import { BaseLLM } from "../index.js";
|
||||
import {
|
||||
GeminiChatContent,
|
||||
|
|
@ -184,16 +185,31 @@ class Gemini extends BaseLLM {
|
|||
}
|
||||
|
||||
continuePartToGeminiPart(part: MessagePart): GeminiChatContentPart {
|
||||
return part.type === "text"
|
||||
? {
|
||||
text: part.text,
|
||||
}
|
||||
: {
|
||||
inlineData: {
|
||||
mimeType: "image/jpeg",
|
||||
data: part.imageUrl?.url.split(",")[1],
|
||||
},
|
||||
};
|
||||
if (part.type === "text") {
|
||||
return {
|
||||
text: part.text,
|
||||
};
|
||||
}
|
||||
|
||||
let data = "";
|
||||
if (part.imageUrl?.url) {
|
||||
const extracted = extractBase64FromDataUrl(part.imageUrl.url);
|
||||
if (extracted) {
|
||||
data = extracted;
|
||||
} else {
|
||||
console.warn(
|
||||
"Gemini: skipping image with invalid data URL format",
|
||||
part.imageUrl.url,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
inlineData: {
|
||||
mimeType: "image/jpeg",
|
||||
data,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
public prepareBody(
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import {
|
|||
} from "../../index.js";
|
||||
import { renderChatMessage } from "../../util/messageContent.js";
|
||||
import { getRemoteModelInfo } from "../../util/ollamaHelper.js";
|
||||
import { extractBase64FromDataUrl } from "../../util/url.js";
|
||||
import { BaseLLM } from "../index.js";
|
||||
|
||||
type OllamaChatMessage = {
|
||||
|
|
@ -114,6 +115,18 @@ type OllamaErrorResponse = {
|
|||
error: string;
|
||||
};
|
||||
|
||||
type N8nChatReponse = {
|
||||
type: string;
|
||||
content?: string;
|
||||
metadata: {
|
||||
nodeId: string;
|
||||
nodeName: string;
|
||||
itemIndex: number;
|
||||
runIndex: number;
|
||||
timestamps: number;
|
||||
};
|
||||
};
|
||||
|
||||
type OllamaRawResponse =
|
||||
| OllamaErrorResponse
|
||||
| (OllamaBaseResponse & {
|
||||
|
|
@ -124,7 +137,8 @@ type OllamaChatResponse =
|
|||
| OllamaErrorResponse
|
||||
| (OllamaBaseResponse & {
|
||||
message: OllamaChatMessage;
|
||||
});
|
||||
})
|
||||
| N8nChatReponse;
|
||||
|
||||
interface OllamaTool {
|
||||
type: "function";
|
||||
|
|
@ -303,9 +317,16 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
const images: string[] = [];
|
||||
message.content.forEach((part) => {
|
||||
if (part.type === "imageUrl" && part.imageUrl) {
|
||||
const image = part.imageUrl?.url.split(",").at(-1);
|
||||
const image = part.imageUrl?.url
|
||||
? extractBase64FromDataUrl(part.imageUrl.url)
|
||||
: undefined;
|
||||
if (image) {
|
||||
images.push(image);
|
||||
} else if (part.imageUrl?.url) {
|
||||
console.warn(
|
||||
"Ollama: skipping image with invalid data URL format",
|
||||
part.imageUrl.url,
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -427,12 +448,47 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
body: JSON.stringify(chatOptions),
|
||||
signal,
|
||||
});
|
||||
let isThinking: boolean = false;
|
||||
|
||||
function convertChatMessage(res: OllamaChatResponse): ChatMessage[] {
|
||||
if ("error" in res) {
|
||||
throw new Error(res.error);
|
||||
}
|
||||
|
||||
if ("type" in res) {
|
||||
const { content } = res;
|
||||
|
||||
if (content === "<think>") {
|
||||
isThinking = true;
|
||||
}
|
||||
|
||||
if (isThinking && content) {
|
||||
// TODO better support for streaming thinking chunks, or remove this and depend on redux <think/> parsing logic
|
||||
const thinkingMessage: ThinkingChatMessage = {
|
||||
role: "thinking",
|
||||
content: content,
|
||||
};
|
||||
|
||||
if (thinkingMessage) {
|
||||
// could cause issues with termination if chunk doesn't match this exactly
|
||||
if (content === "</think>") {
|
||||
isThinking = false;
|
||||
}
|
||||
// When Streaming you can't have both thinking and content
|
||||
return [thinkingMessage];
|
||||
}
|
||||
}
|
||||
|
||||
if (content) {
|
||||
const chatMessage: ChatMessage = {
|
||||
role: "assistant",
|
||||
content: content,
|
||||
};
|
||||
return [chatMessage];
|
||||
}
|
||||
return [];
|
||||
}
|
||||
|
||||
const { role, content, thinking, tool_calls: toolCalls } = res.message;
|
||||
|
||||
if (role === "tool") {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
import {
|
||||
extractBase64FromDataUrl as extractBase64FromDataUrlFromAdapter,
|
||||
parseDataUrl as parseDataUrlFromAdapter,
|
||||
} from "@continuedev/openai-adapters";
|
||||
|
||||
export function canParseUrl(url: string): boolean {
|
||||
if ((URL as any)?.canParse) {
|
||||
return (URL as any).canParse(url);
|
||||
|
|
@ -9,3 +14,6 @@ export function canParseUrl(url: string): boolean {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export const parseDataUrl = parseDataUrlFromAdapter;
|
||||
export const extractBase64FromDataUrl = extractBase64FromDataUrlFromAdapter;
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
title: "Customization Overview"
|
||||
description: "Learn how to customize Continue with model providers, slash commands, and tools"
|
||||
---
|
||||
|
||||
Continue can be deeply customized to fit your specific development workflow and preferences. This guide covers the main ways you can customize Continue to enhance your coding experience.
|
||||
|
||||
## Change Your Model Provider
|
||||
|
||||
Continue allows you to choose your favorite or even add multiple model providers. This allows you to use different models for different tasks, or to try another model if you're not happy with the results from your current model. Continue supports all of the popular model providers, including OpenAI, Anthropic, Microsoft/Azure, Mistral, and more. You can even self host your own model provider if you'd like. Learn more about [model providers](/customize/model-providers/top-level/openai).
|
||||
|
||||
## Select Different Models for Specific Tasks
|
||||
|
||||
Different Continue features can use different models. We call these _model roles_. For example, you can use a different model for Chat mode than you do for Autocomplete. Learn more about [model roles](/customize/model-roles).
|
||||
|
||||
## Create a Slash Command
|
||||
|
||||
Slash commands allow you to easily add custom prompts to Continue. Learn more about [slash commands](/customize/deep-dives/prompts).
|
||||
|
||||
## Call External Tools and Functions
|
||||
|
||||
Unchain your LLM with the power of tools using [Agent mode](/ide-extensions/agent/quick-start). Add custom tools using [MCP Servers](/customization/mcp-tools)
|
||||
|
||||
Whatever you choose, you'll probably start by editing your configuration.
|
||||
|
||||
## Edit Your Configuration
|
||||
|
||||
You can easily access your configuration from the Continue Chat sidebar. Open the sidebar by pressing `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) and click the Agent selector above the main chat input. Then, you can hover over an agent and click the `new window` (hub agents) or `gear` (local agents) icon.
|
||||
|
||||

|
||||
|
||||
## Manage Your Configuration
|
||||
|
||||
- See [Editing Hub Configurations](/hub/configs/edit-a-config) for more details on managing your hub configuration
|
||||
- See the [Config Deep Dive](/reference) for more details on local configurations
|
||||
|
|
@ -7,10 +7,6 @@ As an example, say you are working on solving a new GitHub Issue. You type '@Iss
|
|||
|
||||

|
||||
|
||||
## How Do Context Blocks Work?
|
||||
|
||||
Explore available context blocks in [the hub](https://hub.continue.dev/explore/context).
|
||||
|
||||
## Built-in Context Providers
|
||||
|
||||
You can add any built-in context-providers in your config file as shown below:
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ You'll then be able to type "@" and see "MCP" in the context providers dropdown.
|
|||
|
||||
<Note>
|
||||
To provide conext beyond the built-in context providers, we now recommend
|
||||
using [MCP Servers](/customization/mcp-tools)
|
||||
using [MCP Servers](/customize/mcp-tools)
|
||||
</Note>
|
||||
|
||||
View the [deprecated context providers](/reference/deprecated-context-providers) for documentation on:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ These servers make it possible to:
|
|||
- **Allow partners** to contribute specialized functionality
|
||||
- **Connect to databases** to understand schema and data models during development
|
||||
|
||||

|
||||

|
||||
|
||||
## Learn More About MCP servers
|
||||
|
||||
|
|
@ -82,5 +82,8 @@ models:
|
|||
- edit
|
||||
- apply
|
||||
```
|
||||
|
||||
For more detailed configuration, visit the specific provider pages linked above.
|
||||
|
||||
## Change Your Model Provider
|
||||
|
||||
Continue allows you to choose your favorite or even add multiple model providers. This allows you to use different models for different tasks, or to try another model if you’re not happy with the results from your current model. Continue supports all of the popular model providers, including OpenAI, Anthropic, Microsoft/Azure, Mistral, and more. You can even self host your own model provider if you’d like. [Learn more about model providers](./top-level/openai).
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Models in Continue can be configured to be used for various roles in the extensi
|
|||
These roles can be specified for a `config.yaml` model block using `roles`. See the [YAML Specification](/reference#models) for more details.
|
||||
|
||||
<Info>
|
||||
For recommendations on which models work best for each role, see our [comprehensive model recommendations](/customization/models#recommended-models).
|
||||
For recommendations on which models work best for each role, see our [comprehensive model recommendations](/customize/models#recommended-models).
|
||||
</Info>
|
||||
|
||||
## Selecting model roles
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ When editing code, Chat and Edit model output often doesn't clearly align with e
|
|||
## Recommended Apply models
|
||||
|
||||
<Info>
|
||||
For the latest Apply model recommendations, see our [comprehensive model recommendations](/customization/models#recommended-models).
|
||||
For the latest Apply model recommendations, see our [comprehensive model recommendations](/customize/models#recommended-models).
|
||||
</Info>
|
||||
|
||||
We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys).
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ You can add `embed` to a model's `roles` to specify that it can be used to embed
|
|||
## Recommended embedding models
|
||||
|
||||
<Info>
|
||||
See our [comprehensive model recommendations](/customization/models#recommended-models) for the best embedding models comparison.
|
||||
See our [comprehensive model recommendations](/customize/models#recommended-models) for the best embedding models comparison.
|
||||
</Info>
|
||||
|
||||
If you have the ability to use any model, we recommend `voyage-code-3`, which is listed below along with the rest of the options for embeddings models.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ In Continue, rerankers are designated using the `rerank` role and used by [codeb
|
|||
## Recommended reranking models
|
||||
|
||||
<Info>
|
||||
For a comparison of all reranking models including open and closed options, see our [comprehensive model recommendations](/customization/models#recommended-models).
|
||||
For a comparison of all reranking models including open and closed options, see our [comprehensive model recommendations](/customize/models#recommended-models).
|
||||
</Info>
|
||||
|
||||
If you have the ability to use any model, we recommend `rerank-2` by Voyage AI, which is listed below along with the rest of the options for rerankers.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { ModelRecommendations } from "/snippets/ModelRecommendations.jsx";
|
|||
- **[Embedding](/customize/model-roles/embeddings)**: Transform code into vector representations for semantic search
|
||||
- **[Reranker](/customize/model-roles/reranking)**: Improve search relevance by ordering results based on semantic meaning
|
||||
|
||||

|
||||

|
||||
|
||||
## Recommended Models
|
||||
|
||||
|
|
@ -1,13 +1,45 @@
|
|||
---
|
||||
title: "Overview"
|
||||
description: "Explore Continue's advanced capabilities for power users and complex development scenarios."
|
||||
title: "Customization Overview"
|
||||
description: "Learn how to customize Continue with model providers, rules, prompts, and tools"
|
||||
---
|
||||
|
||||
## Context Integration
|
||||
Continue can be deeply customized to fit your specific development workflow and preferences. This guide covers the main ways you can customize Continue to enhance your coding experience.
|
||||
|
||||
Specialized context features for codebase understanding and documentation integration.
|
||||
## Change Your Model Provider
|
||||
|
||||
[Browse Context Features →](/guides/understanding-configs)
|
||||
Continue allows you to choose your favorite or even add multiple model providers. This allows you to use different models for different tasks, or to try another model if you're not happy with the results from your current model. Continue supports all of the popular model providers, including OpenAI, Anthropic, Microsoft/Azure, Mistral, and more. You can even self host your own model provider if you'd like.
|
||||
|
||||
[Learn more about model providers →](/customize/model-providers/overview)
|
||||
|
||||
## Select Different Models for Specific Tasks
|
||||
|
||||
Different Continue features can use different models. We call these _model roles_. For example, you can use a different model for Chat mode than you do for Autocomplete.
|
||||
|
||||
[Learn more about model roles →](/customize/model-roles)
|
||||
|
||||
## Create Custom Prompts
|
||||
|
||||
Create custom slash commands and prompt templates to streamline your workflow.
|
||||
|
||||
[Learn more about prompts →](/customize/prompts)
|
||||
|
||||
## Configure Rules
|
||||
|
||||
Set up rules to guide AI responses and ensure consistent behavior across your codebase.
|
||||
|
||||
[Learn more about rules →](/customize/rules)
|
||||
|
||||
## Call External Tools and Functions
|
||||
|
||||
Give your agent the power of tools using [Agent mode in the extensions](/ide-extensions/agent/quick-start) or add custom tools to your agent using [MCP Servers](/customize/mcp-tools).
|
||||
|
||||
[Learn more about MCP tools →](/customize/mcp-tools)
|
||||
|
||||
## Customize VS Code Settings
|
||||
|
||||
Adjust IDE-specific settings to optimize your Continue experience.
|
||||
|
||||
[Learn more about settings →](/ide-extensions/settings)
|
||||
|
||||
## Deep Dives
|
||||
|
||||
|
|
@ -15,36 +47,24 @@ Detailed technical explanations of Continue's internal workings and advanced con
|
|||
|
||||
[Read Deep Dives →](/customize/deep-dives/configuration)
|
||||
|
||||
## Model Providers
|
||||
|
||||
Configure and optimize different AI model providers for your specific needs and infrastructure.
|
||||
|
||||
[Configure Providers →](/customize/model-providers/overview)
|
||||
|
||||
## Model Roles
|
||||
|
||||
Understand how different models can be assigned specific roles in your development workflow.
|
||||
|
||||
[Learn Model Roles →](/customize/model-roles)
|
||||
|
||||
## Deep Dives
|
||||
|
||||
Detailed technical explanations of Continue's internal workings and advanced configuration options.
|
||||
|
||||
[Read Deep Dives →](/customization/overview#configuration)
|
||||
|
||||
## Reference
|
||||
|
||||
Complete configuration reference and API documentation.
|
||||
|
||||
[View Reference →](/reference)
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Solutions to common issues and debugging techniques.
|
||||
|
||||
[Get Help →](/troubleshooting)
|
||||
|
||||
---
|
||||
|
||||
These advanced topics help you get the most out of Continue in complex development environments.
|
||||
Whatever you choose, you'll probably start by editing your configuration.
|
||||
|
||||
## Edit Your Configuration
|
||||
|
||||
You can easily access your configuration from the Continue Chat sidebar. Open the sidebar by pressing `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) and click the Agent selector above the main chat input. Then, you can hover over an agent and click the `new window` (hub agents) or `gear` (local agents) icon.
|
||||
|
||||

|
||||
|
||||
## Manage Your Configuration
|
||||
|
||||
- See [Editing Hub Configurations](/hub/configs/edit-a-config) for more details on managing your hub configuration
|
||||
- See the [Config Deep Dive](/reference) for more details on local configurations
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
---
|
||||
title: "Prompts"
|
||||
description: "These are the specialized instructions that shape how models respond:"
|
||||
description: "These are the specialized instructions that shape how models and agents respond:"
|
||||
---
|
||||
|
||||
- **Define interaction patterns** for specific tasks or frameworks
|
||||
- **Encode domain expertise** for particular technologies
|
||||
- **Ensure consistent guidance** aligned with organizational practices
|
||||
- **Can be shared and reused** across multiple configs
|
||||
- **Can be shared and reused** across multiple agents
|
||||
- **Act as automated code reviewers** that ensure consistency across teams
|
||||
|
||||

|
||||
|
||||
## Learn More
|
||||
|
||||
139
docs/docs.json
|
|
@ -29,18 +29,6 @@
|
|||
"mission-control",
|
||||
"mission-control/tasks",
|
||||
"mission-control/workflows",
|
||||
"mission-control/metrics",
|
||||
"mission-control/sharing",
|
||||
{
|
||||
"group": "Governance",
|
||||
"icon": "building",
|
||||
"pages": [
|
||||
"mission-control/governance/creating-an-org",
|
||||
"mission-control/governance/org-permissions",
|
||||
"mission-control/governance/pricing"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"group": "Integrations",
|
||||
"icon": "plug",
|
||||
|
|
@ -52,6 +40,17 @@
|
|||
"mission-control/integrations/slack-agent"
|
||||
]
|
||||
},
|
||||
"mission-control/metrics",
|
||||
"mission-control/sharing",
|
||||
{
|
||||
"group": "Governance",
|
||||
"icon": "building",
|
||||
"pages": [
|
||||
"mission-control/governance/creating-an-org",
|
||||
"mission-control/governance/org-permissions",
|
||||
"mission-control/governance/pricing"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Secrets",
|
||||
"icon": "key",
|
||||
|
|
@ -98,6 +97,7 @@
|
|||
"pages": [
|
||||
"ide-extensions/install",
|
||||
"ide-extensions/quick-start",
|
||||
"ide-extensions/settings",
|
||||
{
|
||||
"group": "Agent",
|
||||
"expanded": false,
|
||||
|
|
@ -152,19 +152,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Customization",
|
||||
"icon": "sliders",
|
||||
"expanded": false,
|
||||
"pages": [
|
||||
"customization/overview",
|
||||
"customization/models",
|
||||
"customization/mcp-tools",
|
||||
"customization/rules",
|
||||
"customization/prompts",
|
||||
"customization/settings"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"group": "Help",
|
||||
"icon": "book-open",
|
||||
|
|
@ -180,6 +168,10 @@
|
|||
"group": "Customize",
|
||||
"pages": [
|
||||
"customize/overview",
|
||||
"customize/models",
|
||||
"customize/mcp-tools",
|
||||
"customize/rules",
|
||||
"customize/prompts",
|
||||
{
|
||||
"group": "Model Providers",
|
||||
"icon": "server",
|
||||
|
|
@ -259,21 +251,38 @@
|
|||
"group": "Guides",
|
||||
"pages": [
|
||||
"guides/overview",
|
||||
"guides/understanding-configs",
|
||||
"guides/configuring-models-rules-tools",
|
||||
"guides/codebase-documentation-awareness",
|
||||
"guides/cli",
|
||||
"guides/doc-writing-agent-cli",
|
||||
"guides/continuous-ai",
|
||||
"guides/continuous-ai-readiness-assessment",
|
||||
"guides/plan-mode-guide",
|
||||
"guides/ollama-guide",
|
||||
"guides/instinct",
|
||||
"guides/running-continue-without-internet",
|
||||
"guides/custom-code-rag",
|
||||
"guides/how-to-self-host-a-model",
|
||||
"guides/notion-continue-guide",
|
||||
"guides/github-pr-review-bot"
|
||||
{
|
||||
"group": "Understanding Continue",
|
||||
"pages": [
|
||||
"guides/understanding-configs",
|
||||
"guides/configuring-models-rules-tools",
|
||||
"guides/codebase-documentation-awareness",
|
||||
"guides/plan-mode-guide",
|
||||
"guides/ollama-guide",
|
||||
"guides/instinct",
|
||||
"guides/running-continue-without-internet",
|
||||
"guides/custom-code-rag",
|
||||
"guides/how-to-self-host-a-model"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "CLI Guides",
|
||||
"pages": ["guides/cli", "guides/doc-writing-agent-cli"]
|
||||
},
|
||||
{
|
||||
"group": "Continuous AI Guides",
|
||||
"pages": [
|
||||
"guides/continuous-ai",
|
||||
"guides/continuous-ai-readiness-assessment"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Integration Guides",
|
||||
"pages": [
|
||||
"guides/notion-continue-guide",
|
||||
"guides/github-pr-review-bot"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -290,7 +299,8 @@
|
|||
"guides/supabase-mcp-database-workflow",
|
||||
"guides/dlt-mcp-continue-cookbook",
|
||||
"guides/netlify-mcp-continuous-deployment",
|
||||
"guides/chrome-devtools-mcp-performance"
|
||||
"guides/chrome-devtools-mcp-performance",
|
||||
"guides/klavis-mcp-continue-cookbook"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -473,23 +483,43 @@
|
|||
},
|
||||
{
|
||||
"source": "/hub/blocks/create-a-block",
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/bundles",
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/customize",
|
||||
"destination": "/customization/overview"
|
||||
"destination": "/hub/introduction"
|
||||
},
|
||||
{
|
||||
"source": "/customization",
|
||||
"destination": "/customization/overview"
|
||||
"destination": "/customize/overview"
|
||||
},
|
||||
{
|
||||
"source": "/customization/overview",
|
||||
"destination": "/customize/overview"
|
||||
},
|
||||
{
|
||||
"source": "/customization/overview#change-your-model-provider",
|
||||
"destination": "/customize/model-providers/overview#change-your-model-provider"
|
||||
},
|
||||
{
|
||||
"source": "/customization/models",
|
||||
"destination": "/customize/models"
|
||||
},
|
||||
{
|
||||
"source": "/customization/mcp-tools",
|
||||
"destination": "/customize/mcp-tools"
|
||||
},
|
||||
{
|
||||
"source": "/customization/rules",
|
||||
"destination": "/customize/rules"
|
||||
},
|
||||
{
|
||||
"source": "/customization/prompts",
|
||||
"destination": "/customize/prompts"
|
||||
},
|
||||
{
|
||||
"source": "/customization/settings",
|
||||
"destination": "/ide-extensions/settings"
|
||||
},
|
||||
{
|
||||
"source": "/customize/tools",
|
||||
"destination": "/customization/mcp-tools"
|
||||
"destination": "/customize/mcp-tools"
|
||||
},
|
||||
{
|
||||
"source": "/install/vscode",
|
||||
|
|
@ -1160,6 +1190,11 @@
|
|||
"source": "/customize/deep-dives/settings",
|
||||
"destination": "/customize/overview"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/bundles",
|
||||
"destination": "/hub/introduction"
|
||||
},
|
||||
|
||||
{
|
||||
"source": "/customize/custom-providers#@greptile-context-provider",
|
||||
"destination": "/reference/deprecated-context-providers"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ echo "$(git diff) Generate a conventional commit name for the current git change
|
|||
|
||||
`cn` uses [`config.yaml`](/reference), the exact same configuration file as Continue. This means that you can log in to [Continue Mission Control](/hub/introduction) or use your existing local configuration.
|
||||
|
||||
To switch between configurations, you can use the `/config` slash command in `cn`, or you can start it with the `--config` flag (e.g. `cn --config continuedev/default-agent` or `cn --config ~/.continue/config.yaml`).
|
||||
To switch between configurations, you can use the `/config` slash command in `cn`, or you can start it with the `--config` flag (e.g. `cn --config continuedev/default-cli-config` or `cn --config ~/.continue/config.yaml`).
|
||||
|
||||
### How to Add Custom Models
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ Continue hub uses a slug in the format of `owner/item-name` to resolve blocks.
|
|||
|
||||
For example, to use the [Claude 4 Sonnet model](https://hub.continue.dev/anthropic/claude-4-sonnet), you'd reference it as `anthropic/claude-4-sonnet`.
|
||||
|
||||
Import from the hub using the `uses` syntax alongside your custom configurations:
|
||||
Import from Mission Control using the `uses` syntax alongside your custom configurations:
|
||||
|
||||
```yaml config.yaml highlight={6}
|
||||
name: Team Config
|
||||
|
|
@ -91,7 +91,7 @@ Organize your local configurations using these directories:
|
|||
|
||||
Models, and many MCP servers, require a secret for things like API keys.
|
||||
|
||||
On the hub, you can configure secrets when adding a model or MCP server.
|
||||
On Mission Control, you can configure secrets when adding a model or MCP server.
|
||||
|
||||
This will use mustache notation to pass the secret, eg `${{ secrets.SECRET_NAME }}`
|
||||
|
||||
|
|
|
|||
594
docs/guides/klavis-mcp-continue-cookbook.mdx
Normal file
|
|
@ -0,0 +1,594 @@
|
|||
---
|
||||
title: "Slack and Gmail Automation with Klavis AI Strata MCP and Continue"
|
||||
description: "Use Continue and Klavis AI's Strata MCP to automate communication workflows across Slack and Gmail with natural language prompts."
|
||||
sidebarTitle: "Klavis AI with Continue"
|
||||
---
|
||||
|
||||
<Card title="What You'll Build" icon="wand-magic-sparkles">
|
||||
A communication workflow assistant that uses Continue CLI with Klavis AI's Strata MCP to manage and automate multi-platform workflows including Slack and Gmail—all through simple natural language prompts.
|
||||
</Card>
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before starting, ensure you have:
|
||||
|
||||
- [Continue CLI](https://docs.continue.dev/guides/cli) with **active credits** (required for API usage)
|
||||
- A Klavis [AI account](https://www.klavis.ai/) with access to your Strata URL
|
||||
- OAuth authentication completed in Klavis dashboard for Slack and Gmail (see [Klavis integrations guide](https://www.klavis.ai/integrations))
|
||||
|
||||
<Warning>
|
||||
To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys).
|
||||
Klavis AI Strata requires proper OAuth authentication for each service integration.
|
||||
</Warning>
|
||||
|
||||
For all options, first:
|
||||
<Steps>
|
||||
<Step title="Install Continue CLI">
|
||||
```bash
|
||||
npm i -g @continuedev/cli
|
||||
```
|
||||
</Step>
|
||||
|
||||
<Step title="Get Klavis AI's Strata URL">
|
||||
1. Visit [klavis.ai](https://www.klavis.ai/) and create an account
|
||||
2. Navigate to your dashboard and generate [Strata URL](https://www.klavis.ai/home/mcp-servers)
|
||||
3. Copy the Strata URL for configuration
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
## Klavis AI Strata MCP Setup
|
||||
|
||||
<Tabs>
|
||||
<Tab title="Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create an Agent on Continue Hub">
|
||||
Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Add Klavis AI Strata MCP">
|
||||
Add the following YAML configuration to your agent:
|
||||
|
||||
```yaml title="config.yaml"
|
||||
name: klavis-strata
|
||||
version: 0.0.1
|
||||
schema: v1
|
||||
|
||||
mcpServers:
|
||||
- name: klavis-strata
|
||||
command: npx
|
||||
args:
|
||||
- "mcp-remote"
|
||||
- "https://strata.klavis.ai/mcp/?strata_id=your_strata_id_here"
|
||||
```
|
||||
|
||||
**Notes:**
|
||||
- Keep your Klavis Strata URL secret and secure
|
||||
- Ensure your Klavis account has Slack and Gmail integrations activated
|
||||
- Complete OAuth flows for both Slack and Gmail in the Klavis dashboard
|
||||
</Step>
|
||||
|
||||
<Step title="Test the Connection">
|
||||
Launch Continue and ask:
|
||||
```
|
||||
Check my latest 5 emails and summarize them in a Slack message to #general.
|
||||
```
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
<Info>
|
||||
**Pro tip**: Learn how to integrate and use [Klavis Strata](https://www.klavis.ai/docs/knowledge-base/use-mcp-server/continue) with Continue through CLI and IDE.
|
||||
</Info>
|
||||
|
||||
</Tab>
|
||||
|
||||
<Tab title="CLI Setup">
|
||||
<Steps>
|
||||
<Step title="Set Environment Variables">
|
||||
```bash
|
||||
export KLAVIS_API_KEY="your_api_key_here"
|
||||
```
|
||||
</Step>
|
||||
|
||||
<Step title="Launch Continue with Klavis MCP">
|
||||
From your project root:
|
||||
```bash
|
||||
cn --agent your-agent-name
|
||||
```
|
||||
Now try:
|
||||
```
|
||||
"Send a Slack message to #general saying 'Hello from Continue!'"
|
||||
```
|
||||
</Step>
|
||||
</Steps>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
<Accordion title="Agent Requirements">
|
||||
To use Klavis AI Strata MCP with Continue CLI, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
|
||||
The agent will automatically detect and use your configuration along with the Klavis AI Strata MCP for multi-tool operations.
|
||||
</Accordion>
|
||||
|
||||
---
|
||||
|
||||
## Slack Workflows
|
||||
|
||||
Use natural language to send messages, manage channels, and coordinate team communications through Slack.
|
||||
|
||||
<Info>
|
||||
**Where to run these workflows:**
|
||||
- **IDE Extensions**: Use Continue in VS Code, JetBrains, or other supported IDEs
|
||||
- **Terminal (TUI mode)**: Run `cn` to enter interactive mode, then type your prompts
|
||||
- **CLI (headless mode)**: Use `cn -p "your prompt" --auto` for automation
|
||||
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt" --auto`
|
||||
</Info>
|
||||
|
||||
### Message Management
|
||||
|
||||
<Card title="Send Channel Message" icon="message">
|
||||
Post messages to Slack channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Send a message to #engineering channel:
|
||||
"Deploy completed successfully! Version 2.1.0 is now live."
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Send Direct Message" icon="user">
|
||||
Message team members directly.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Send a direct message to @sarah.chen:
|
||||
"Hi Sarah, could you review the PR for the authentication refactor when you have a chance? It's ready for review."
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Thread Reply" icon="reply">
|
||||
Respond to existing Slack threads.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Find the thread about "Q1 Planning" in #product-strategy from the last 2 days.
|
||||
Reply with: "I've updated the roadmap document with the Q1 priorities we discussed. Link: [doc_url]"
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Channel and Workspace Management
|
||||
|
||||
<Card title="List Channels" icon="list">
|
||||
Discover available channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
List all public channels in the workspace that contain "engineering" or "dev" in the name.
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Create Channel" icon="plus">
|
||||
Set up new communication channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Create a new Slack channel called #klavis-strata
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Archive Old Channels" icon="archive">
|
||||
Clean up inactive channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Find and archive all channels with no messages in the last 90 days.
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
||||
## Gmail Workflows
|
||||
|
||||
Manage email communications, automate responses, and coordinate notifications through Gmail.
|
||||
|
||||
### Email Management
|
||||
|
||||
<Card title="Send Email" icon="envelope">
|
||||
Compose and send emails with a single prompt.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Send an email to team@company.com regarding Weekly Status Update.
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Read Recent Emails" icon="inbox">
|
||||
Check and summarize recent messages.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Read all unread emails from the last 24 hours.
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Search Email Thread" icon="magnifying-glass">
|
||||
Find specific conversations.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Search my emails from the last 30 days containing "invoice" or "payment".
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Advanced Email Operations
|
||||
|
||||
<Card title="Send with Attachments" icon="paperclip">
|
||||
Attach files to outgoing emails.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Send an email to client@company.com with subject "Monthly Report 2025" and attach the file: reports/monthly-2025-analytics.pdf
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
||||
## Cross-Platform Workflows
|
||||
|
||||
Combine Slack and Gmail for powerful multi-channel communication automation.
|
||||
|
||||
### Notification Coordination
|
||||
|
||||
<Card title="Slack + Gmail Announcements" icon="bullhorn">
|
||||
Send coordinated messages across platforms.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Send an announcement about Scheduled Maintenance @ Sat 2-6 AM EST to #engineering channel and also email to engineering@klavis.ai
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Issue Escalation" icon="triangle-exclamation">
|
||||
Coordinate urgent communications.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
A critical bug has been reported (issue #2847 - payment processing failure). Send this urgent message to #engineering-alerts with issue description, assessment, and immediate action items. Finally, create a Slack thread for coordination and updates.
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Meeting and Event Coordination
|
||||
|
||||
<Card title="Meeting Invitation" icon="calendar">
|
||||
Coordinate meeting schedules across platforms.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Schedule a sprint planning meeting:
|
||||
|
||||
Gmail invitations to: team@company.com
|
||||
Subject: "Sprint 24 Planning - Q2 Roadmap"
|
||||
Time: Next Monday, 10 AM EST
|
||||
Duration: 2 hours
|
||||
|
||||
Slack notification to #engineering:
|
||||
"Sprint Planning scheduled for Monday 10 AM EST
|
||||
Please review the backlog before the meeting: [link]
|
||||
Add agenda items to the shared doc by Friday."
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Status Updates" icon="chart-line">
|
||||
Share progress updates across channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Generate and distribute weekly status update:
|
||||
|
||||
1. Analyze my recent work (commits, PRs, issues closed)
|
||||
2. Draft status summary with:
|
||||
- Completed work
|
||||
- In-progress items
|
||||
- Blockers
|
||||
- Next week's priorities
|
||||
|
||||
3. Send to Slack #team-updates (formatted for Slack)
|
||||
4. Email to manager@company.com (formal email format)
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Customer Communication
|
||||
|
||||
<Card title="Support Ticket Response" icon="headset">
|
||||
Coordinate customer support across channels.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
A customer reported an issue via email (support ticket #5234 - login problems).
|
||||
|
||||
1. Send acknowledgment email to customer@client.com:
|
||||
"We've received your report about login issues. Investigating now.
|
||||
Ticket #5234 - Expected resolution: 4 hours"
|
||||
|
||||
2. Alert Slack #customer-support:
|
||||
"New Priority 1 Ticket #5234: Login issues affecting Customer XYZ
|
||||
Assigned to: @on-call-engineer
|
||||
Details: [summary]"
|
||||
|
||||
3. Create Slack thread for internal coordination
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
||||
## Multi-Tool Integration Workflows
|
||||
|
||||
Leverage Klavis AI Strata's integrations for comprehensive automation workflows.
|
||||
|
||||
<Info>
|
||||
Klavis AI Strata supports integrations with Notion, Linear, GitHub, Asana, Salesforce, HubSpot, and more. Combine these with Slack and Gmail to create powerful cross-platform workflows.
|
||||
</Info>
|
||||
|
||||
### Development Workflows
|
||||
|
||||
<Card title="PR Review Notifications" icon="code-pull-request">
|
||||
Automate code review coordination.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Monitor GitHub for new pull requests in the main repository.
|
||||
|
||||
When a new PR is created:
|
||||
1. Send Slack message to #code-reviews:
|
||||
"New PR ready for review: [PR title]
|
||||
Author: [name]
|
||||
Changes: [summary]
|
||||
Link: [github_url]"
|
||||
|
||||
2. If PR is labeled "urgent":
|
||||
- Send Gmail to tech-leads@company.com
|
||||
- Ping reviewer in Slack DM
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Deployment Notifications" icon="rocket">
|
||||
Coordinate deployment communications.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
After successful deployment to production:
|
||||
|
||||
1. Update Notion deployment log with:
|
||||
- Version number
|
||||
- Deployment timestamp
|
||||
- Changes included
|
||||
- Rollback procedure
|
||||
|
||||
2. Announce in Slack #announcements:
|
||||
"Production deployment complete: v2.5.0
|
||||
Release notes: [notion_link]"
|
||||
|
||||
3. Email stakeholders@company.com with:
|
||||
- Executive summary of changes
|
||||
- User-facing improvements
|
||||
- Link to full documentation
|
||||
```
|
||||
</Card>
|
||||
|
||||
### Project Management Integration
|
||||
|
||||
<Card title="Task Sync Workflow" icon="tasks">
|
||||
Synchronize tasks across platforms.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Daily task synchronization:
|
||||
|
||||
1. Fetch high-priority tasks from Linear (assigned to me, due this week)
|
||||
2. Create Notion task list with priorities and deadlines
|
||||
3. Send Slack DM reminder about tasks due today
|
||||
4. If any tasks are overdue, email manager@company.com with status update
|
||||
```
|
||||
</Card>
|
||||
|
||||
<Card title="Sprint Report Generation" icon="chart-pie">
|
||||
Automate sprint reporting.
|
||||
|
||||
**Prompt:**
|
||||
```
|
||||
Generate end-of-sprint report:
|
||||
|
||||
1. Analyze completed work:
|
||||
- Linear: Closed issues and story points
|
||||
- GitHub: Merged PRs and code changes
|
||||
- Notion: Sprint goals completion status
|
||||
|
||||
2. Create comprehensive report in Notion
|
||||
3. Send summary to Slack #sprint-reviews
|
||||
4. Email detailed report to leadership@company.com with:
|
||||
- Velocity metrics
|
||||
- Burndown chart
|
||||
- Highlights and challenges
|
||||
```
|
||||
</Card>
|
||||
|
||||
---
|
||||
|
||||
## Automation Examples
|
||||
|
||||
<Card title="Ready-to-Use Workflows" icon="clipboard-check">
|
||||
These examples have been designed for common use cases. Customize them to fit your team's needs.
|
||||
</Card>
|
||||
|
||||
### Daily Standup Automation
|
||||
|
||||
```bash
|
||||
cn -p --auto "
|
||||
Generate and distribute daily standup update:
|
||||
|
||||
1. Review my activity:
|
||||
- GitHub commits and PRs from yesterday
|
||||
- Linear tasks completed
|
||||
- Calendar meetings attended
|
||||
|
||||
2. Draft standup summary:
|
||||
- Yesterday: [completed work]
|
||||
- Today: [planned work]
|
||||
- Blockers: [any issues]
|
||||
|
||||
3. Post to Slack #daily-standups
|
||||
4. If there are blockers, also send email to team-lead@company.com
|
||||
"
|
||||
```
|
||||
|
||||
### On-Call Alert System
|
||||
|
||||
```bash
|
||||
cn -p --auto "
|
||||
When critical alert is triggered:
|
||||
|
||||
1. Send urgent Slack message to #on-call with:
|
||||
- Alert details
|
||||
- Severity level
|
||||
- Affected systems
|
||||
- Runbook link
|
||||
|
||||
2. Send SMS-style urgent email to on-call engineer
|
||||
3. If not acknowledged in 5 minutes, escalate to backup on-call
|
||||
4. Create incident thread in Slack for coordination
|
||||
"
|
||||
```
|
||||
|
||||
### Customer Onboarding
|
||||
|
||||
```bash
|
||||
cn -p --auto "
|
||||
New customer onboarding workflow:
|
||||
|
||||
1. Send welcome email via Gmail:
|
||||
- Getting started guide
|
||||
- Support contact information
|
||||
- Link to documentation
|
||||
|
||||
2. Create Slack Connect channel with customer
|
||||
3. Post introduction message in Slack with team members
|
||||
4. Create customer record in Notion with:
|
||||
- Contact information
|
||||
- Onboarding status
|
||||
- Key milestones
|
||||
|
||||
5. Add reminder in Linear for 7-day check-in call
|
||||
"
|
||||
```
|
||||
|
||||
### Weekly Team Digest
|
||||
|
||||
```bash
|
||||
cn -p --auto "
|
||||
Generate weekly team digest (run every Friday at 4 PM):
|
||||
|
||||
1. Collect data:
|
||||
- GitHub: PRs merged this week
|
||||
- Linear: Issues closed, velocity metrics
|
||||
- Slack: Key discussions and decisions
|
||||
- Gmail: Important external communications
|
||||
|
||||
2. Create digest in Notion with sections:
|
||||
- Accomplishments
|
||||
- Challenges
|
||||
- Next week's priorities
|
||||
- Team shoutouts
|
||||
|
||||
3. Share to Slack #team-updates
|
||||
4. Email summary to remote team members
|
||||
"
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Authentication Issues">
|
||||
- **Klavis Strata URL not recognized**: Verify the Strata URL is active and correctly set in environment variables or Hub secrets
|
||||
- **Slack OAuth failed**: Re-authenticate through the Klavis AI dashboard and ensure workspace permissions are granted
|
||||
- **Gmail OAuth failed**: Check Google Cloud Console for API access and ensure the Gmail API is enabled
|
||||
- **Token expired**: Klavis AI manages token refresh automatically, but you may need to re-authorize if it fails
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Message Delivery Issues">
|
||||
- **Slack message not sent**: Verify the bot has permission to post in the target channel
|
||||
- **Gmail rate limiting**: Google imposes sending limits—monitor your quota
|
||||
- **Channel not found**: Check channel name spelling and ensure it's public or the bot has been invited
|
||||
- **User not found**: Verify Slack username format (@username) and that the user exists in the workspace
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Workflow Execution Issues">
|
||||
- **Multi-step workflow incomplete**: Check each step individually to identify where the failure occurred
|
||||
- **Rate limits hit**: Klavis manages rate limiting, but external APIs (Slack, Gmail) have their own limits
|
||||
- **Permission denied errors**: Ensure your authenticated user has the necessary permissions for the requested operation
|
||||
- **Integration not available**: Verify the integration is active in your Klavis dashboard at klavis.ai/integrations
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## What You've Built
|
||||
|
||||
After completing this guide, you have a complete **AI-powered communication automation system** that:
|
||||
|
||||
- ✅ **Uses natural language** — Simple prompts instead of complex commands
|
||||
- ✅ **Automates Slack**: Send messages, manage channels, and team coordination
|
||||
- ✅ **Manages Gmail**: Read, send, and triage emails with intelligent automation
|
||||
- ✅ **Cross-platform coordination**: Unified workflows across Slack, Gmail, and other tools
|
||||
- ✅ **Scales reliably**: Handles complex multi-app workflows efficiently
|
||||
|
||||
<Card title="Continuous AI" icon="rocket">
|
||||
Your communication workflows now operate at **[Level 2 Continuous
|
||||
AI](https://blog.continue.dev/what-is-continuous-ai-a-developers-guide/)** -
|
||||
AI handles routine communications and coordinates multi-platform workflows
|
||||
with optional human oversight and approval.
|
||||
</Card>
|
||||
|
||||
## Klavis Strata MCP Capabilities
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Scalable Tool Integration" icon="layer-group">
|
||||
Handle **thousands of tools** with no context overload.
|
||||
</Card>
|
||||
|
||||
<Card title="Progressive Discovery" icon="network-wired">
|
||||
Strata guides AI agents to **discover relevant categories** first, avoiding tool overload.
|
||||
</Card>
|
||||
|
||||
<Card title="Smart Navigation" icon="compass">
|
||||
AI drills down **layer by layer** to find the exact tool needed for the task.
|
||||
</Card>
|
||||
|
||||
<Card title="Precise Execution" icon="bullseye">
|
||||
Once identified, **Strata** pulls API details and executes with correct parameters.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. **Explore integrations** — Try Slack and Gmail prompts on your workspace
|
||||
2. **Add more tools** — Integrate Notion, Linear, GitHub, or other services
|
||||
3. **Automate notifications** — Set up cross-platform announcement workflows
|
||||
4. **Monitor performance** — Track automation accuracy and time savings
|
||||
5. **Scale up** — Add scheduled workflows and event-driven automation
|
||||
|
||||
## Additional Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Klavis AI Platform" icon="link" href="https://www.klavis.ai/docs/knowledge-base/use-mcp-server/overview">
|
||||
Integrate Klavis AI with AI platforms
|
||||
</Card>
|
||||
<Card title="Strata MCP Documentation" icon="book" href="https://www.klavis.ai/docs/concepts/strata">
|
||||
Learn about Klavis AI's Strata MCP platform architecture
|
||||
</Card>
|
||||
<Card title="MCP in Continue" icon="puzzle-piece" href="/customize/deep-dives/mcp">
|
||||
Learn how MCP works with Continue agents
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="globe" href="https://hub.continue.dev">
|
||||
Create and manage your Continue agents
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
|
@ -233,7 +233,7 @@ PARAMETER num_ctx 4096
|
|||
|
||||
### How to Choose the Right Model
|
||||
|
||||
Choose models based on your specific needs (see [recommended models](/customization/models#recommended-models) for more options):
|
||||
Choose models based on your specific needs (see [recommended models](/customize/models#recommended-models) for more options):
|
||||
|
||||
1. **Code Generation**:
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ description: "Comprehensive collection of practical guides for Continue includin
|
|||
Step-by-step guides for integrating Model Context Protocol (MCP) servers with Continue:
|
||||
|
||||
<CardGroup cols={3}>
|
||||
|
||||
<Card title="Continue Docs MCP Cookbook" icon="book" href="/guides/continue-docs-mcp-cookbook">
|
||||
Use the Continue Docs MCP to write cookbooks, guides, and documentation with AI-powered workflows
|
||||
</Card>
|
||||
|
|
@ -65,6 +66,11 @@ Step-by-step guides for integrating Model Context Protocol (MCP) servers with Co
|
|||
<Card title="dlt Data Pipelines Cookbook" icon="pipe" href="/guides/dlt-mcp-continue-cookbook">
|
||||
Build AI-powered data pipelines with dlt MCP for pipeline inspection, schema management, and debugging
|
||||
</Card>
|
||||
|
||||
<Card title="Klavis AI Cookbook" icon="K" href="/guides/klavis-mcp-continue-cookbook">
|
||||
Use Continue and Klavis AI's Strata MCP to automate communication workflows across Slack and Gmail
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
## What Advanced Tutorials Are Available
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Steps>
|
||||
<Step title="Load the Pre-Built Agent">
|
||||
Visit the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) on Continue Mission Control and click **"Install Config"** or run:
|
||||
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/sanity-assistant-agent
|
||||
```
|
||||
|
|
@ -86,19 +86,19 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
|
||||
<Step title="Your First MCP Conversation">
|
||||
Start with these beginner-friendly prompts to explore your content:
|
||||
|
||||
|
||||
```bash
|
||||
# Content exploration
|
||||
"Show me all blog posts published in the last month"
|
||||
|
||||
# Schema understanding
|
||||
|
||||
# Schema understanding
|
||||
"Show me all the document types in my Sanity schema and explain their relationships"
|
||||
|
||||
|
||||
# Content management
|
||||
"Create a new product page for our upcoming feature"
|
||||
```
|
||||
|
||||
That's it! The agent handles everything automatically. For more starter prompts and examples, see the [official Sanity MCP blog post](https://www.sanity.io/blog/model-context-protocol).
|
||||
That's it! The agent handles everything automatically. For more starter prompts and examples, see the [official Sanity MCP blog post](https://www.sanity.io/blog/introducing-sanity-model-context-protocol-server).
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
**Authentication Options:**
|
||||
- **Interactive mode**: OAuth authentication via browser (expires after 7 days)
|
||||
- **Headless/CI mode**: Uses environment variables (SANITY_API_TOKEN, SANITY_PROJECT_ID, etc.)
|
||||
|
||||
|
||||
See [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config) for environment variable setup.
|
||||
</Info>
|
||||
|
||||
|
|
@ -147,8 +147,8 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
# "Show me all the document types in my Sanity schema and explain their relationships"
|
||||
# "Create a new product page for our upcoming feature"
|
||||
```
|
||||
|
||||
For more examples, see the [Sanity MCP blog post](https://www.sanity.io/blog/model-context-protocol).
|
||||
|
||||
For more examples, see the [Sanity MCP blog post](https://www.sanity.io/blog/introducing-sanity-model-context-protocol-server).
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ With everything set up, you're ready for your first AI-powered content conversat
|
|||
</CardGroup>
|
||||
|
||||
<Info>
|
||||
**New to MCP?** These prompts demonstrate the power of natural language content management. For more examples and detailed explanations, check out the [official Sanity MCP blog post](https://www.sanity.io/blog/model-context-protocol).
|
||||
**New to MCP?** These prompts demonstrate the power of natural language content management. For more examples and detailed explanations, check out the [official Sanity MCP blog post](https://www.sanity.io/blog/introducing-sanity-model-context-protocol-server).
|
||||
</Info>
|
||||
|
||||
## Content Management Recipes
|
||||
|
|
@ -232,7 +232,7 @@ You can add prompts to your agent's configuration for easy access in future sess
|
|||
changes, test your prompts in plan mode (see the [Plan Mode
|
||||
Guide](/guides/plan-mode-guide); press **Shift+Tab** to switch modes in TUI/IDE). This
|
||||
shows you what the agent will do without executing it.
|
||||
|
||||
|
||||
To run any of the example prompts below in headless mode, use `cn -p "prompt"`
|
||||
</Info>
|
||||
|
||||
|
|
@ -558,7 +558,7 @@ After completing this guide, you have a complete **AI-powered content management
|
|||
<Card
|
||||
title="Sanity MCP Blog Post"
|
||||
icon="newspaper"
|
||||
href="https://www.sanity.io/blog/model-context-protocol"
|
||||
href="https://www.sanity.io/blog/introducing-sanity-model-context-protocol-server"
|
||||
>
|
||||
Official Sanity MCP introduction with examples
|
||||
</Card>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ In Plan mode, only these read-only tools are available:
|
|||
In Agent mode, all tools are available including the read-only tools above plus:
|
||||
|
||||
- **Create new file** (`create_new_file`): Create a new file within the project
|
||||
- **Edit file** (`edit_file`): Make changes to existing files
|
||||
- **Edit file** (`edit_existing_file`): Make changes to existing files
|
||||
- **Run terminal command** (`run_terminal_command`): Run commands from the workspace root
|
||||
- **Create Rule Block** (`create_rule_block`): Create a new rule block in `.continue/rules`
|
||||
- All other write/execute tools for modifying the codebase
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ You can switch to `Agent` in the mode selector below the chat input box. The mod
|
|||
<Info>
|
||||
If Agent mode or Plan mode is disabled with a `Not Supported` message, the selected
|
||||
model or provider doesn't support tools, or Continue doesn't yet support tools
|
||||
with it. See [Model Blocks](/customization/models) for more information.
|
||||
with it. See [Model Blocks](/customize/models) for more information.
|
||||
</Info>
|
||||
|
||||
<Tip>
|
||||
|
|
@ -75,7 +75,7 @@ By default, Agent mode will ask permission when it wants to use a tool. Click `C
|
|||
|
||||

|
||||
|
||||
You can use tool policies to exclude or make usage automatic for specific tools. See [MCP Tools](/customization/mcp-tools) for more background.
|
||||
You can use tool policies to exclude or make usage automatic for specific tools. See [MCP Tools](/customize/mcp-tools) for more background.
|
||||
|
||||
## How to View Tool Responses
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ Language models aren't perfect, but can be made much closer by adjusting their o
|
|||
- Fixing indentation for proper formatting
|
||||
- Occasionally discarding low-quality responses, such as those with excessive repetition
|
||||
|
||||
You can learn more about how it works in the [Autocomplete deep dive](/customization/models#autocomplete).
|
||||
You can learn more about how it works in the [Autocomplete deep dive](/customize/models#autocomplete).
|
||||
|
||||
<Info>
|
||||
**Looking for AI that predicts your next changes or additions?** Check out
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Setting up the right model for autocomplete is important for a smooth coding exp
|
|||
<ModelRecommendations role="autocomplete" />
|
||||
|
||||
<Info>
|
||||
For a complete comparison of all models, see our [comprehensive model recommendations](/customization/models#recommended-models).
|
||||
For a complete comparison of all models, see our [comprehensive model recommendations](/customize/models#recommended-models).
|
||||
</Info>
|
||||
|
||||
## Next Edit Model
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ description: "Learn how to customize the Chat feature in Continue to better suit
|
|||
|
||||
There are a number of different ways to customize Chat:
|
||||
|
||||
- Add [rules](/customization/rules) to give the model persistent instructions through the system prompt
|
||||
- Create [prompts](/customization/prompts) to kickoff workflows with instructions you repeat often
|
||||
- Add [rules](/customize/rules) to give the model persistent instructions through the system prompt
|
||||
- Create [prompts](/customize/prompts) to kickoff workflows with instructions you repeat often
|
||||
|
|
@ -5,7 +5,7 @@ sidebarTitle: "Recommended Chat Models"
|
|||
---
|
||||
import { ModelRecommendations } from '/snippets/ModelRecommendations.jsx';
|
||||
|
||||
The model you use for for Chat mode will be:
|
||||
The model you use for Chat mode will be:
|
||||
|
||||
- used with Edit mode by default but can be switched
|
||||
- always used with Agent mode if the model supports tool calling
|
||||
|
|
@ -15,7 +15,7 @@ The model you use for for Chat mode will be:
|
|||
<ModelRecommendations role="chat_edit" />
|
||||
|
||||
<Info>
|
||||
For a comprehensive comparison of all available models by role, see our [model recommendations table](/customization/models#recommended-models).
|
||||
For a comprehensive comparison of all available models by role, see our [model recommendations table](/customize/models#recommended-models).
|
||||
</Info>
|
||||
|
||||
For model recommendations, please refer to our [Model Recommendations page](/customization/models).
|
||||
For model recommendations, please refer to our [Model Recommendations page](/customize/models).
|
||||
|
|
@ -12,14 +12,14 @@ The model you set up for Chat mode will be used for Edit mode by default.
|
|||
<ModelRecommendations role="chat_edit" />
|
||||
|
||||
<Info>
|
||||
See our [comprehensive model recommendations](/customization/models#recommended-models) for the best models for each role, including Edit and Apply.
|
||||
See our [comprehensive model recommendations](/customize/models#recommended-models) for the best models for each role, including Edit and Apply.
|
||||
</Info>
|
||||
|
||||
## How to Set Up an Apply Model
|
||||
|
||||
We also recommend setting up an Apply model for the best Edit experience.
|
||||
|
||||
For recommended Apply models, please refer to our [Model Recommendations page](/customization/models).
|
||||
For recommended Apply models, please refer to our [Model Recommendations page](/customize/models).
|
||||
|
||||
## How to Determine Model Compatibility
|
||||
|
||||
|
|
|
|||
|
|
@ -3,12 +3,7 @@ title: Settings
|
|||
description: Configure Continue through VS Code's streamlined settings interface
|
||||
---
|
||||
|
||||
<img
|
||||
src="/images/continue-settings-card-layout.png"
|
||||
alt="Continue Settings Panel - Card-based Layout"
|
||||
/>
|
||||
|
||||
The new settings experience introduces a **card-based layout** that reduces visual clutter while maintaining powerful functionality. Every setting is more discoverable and easier to modify, whether you're on an ultrawide monitor or a small laptop screen.
|
||||
|
||||
## Quick Access
|
||||
|
||||
|
|
@ -29,7 +24,10 @@ The new settings experience introduces a **card-based layout** that reduces visu
|
|||
(pencil icon) - Custom coding preferences - **Tools** (wrench icon) - Manage
|
||||
integrations - **Models** (cube icon) - Configure AI providers
|
||||
</Tip>
|
||||
|
||||
<img
|
||||
src="/images/continue-settings-card-layout.png"
|
||||
alt="Continue Settings Panel - Card-based Layout"
|
||||
/>
|
||||
## Core Settings
|
||||
|
||||
<Tabs>
|
||||
|
|
@ -175,16 +173,16 @@ The refined assistant selector features:
|
|||
## Next Steps
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Configure Models" icon="robot" href="/customization/models">
|
||||
<Card title="Configure Models" icon="robot" href="/customize/models">
|
||||
Set up your AI providers
|
||||
</Card>
|
||||
<Card title="Add Tools" icon="wrench" href="/customization/mcp-tools">
|
||||
<Card title="Add Tools" icon="wrench" href="/customize/mcp-tools">
|
||||
Extend Continue with MCP tools
|
||||
</Card>
|
||||
<Card title="Custom Rules" icon="pencil" href="/customization/rules">
|
||||
<Card title="Custom Rules" icon="pencil" href="/customize/rules">
|
||||
Define coding preferences
|
||||
</Card>
|
||||
<Card title="Prompts" icon="message" href="/customization/prompts">
|
||||
<Card title="Prompts" icon="message" href="/customize/prompts">
|
||||
Customize AI behavior
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
|
@ -23,6 +23,44 @@ Mission Control is where developers and teams use Continue to power everyday cod
|
|||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Inbox: One Place to Triage, Assign, and Take Action
|
||||
|
||||
<Info>
|
||||
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.
|
||||
</Info>
|
||||
|
||||
<CardGroup cols={4}>
|
||||
<Card title="Unified View" icon="list">
|
||||
See every incoming Task, Sentry alert, Snyk vulnerability, and workflow output in one place.
|
||||
</Card>
|
||||
|
||||
<Card title="Powerful Filtering" icon="filter">
|
||||
Slice the Inbox by Agent, repository, integration, creator, status, or time to surface what matters now.
|
||||
</Card>
|
||||
|
||||
<Card title="Clear Ownership" icon="user-check">
|
||||
Assign Sessions to teammates so responsibilities are explicit and reviews move forward.
|
||||
</Card>
|
||||
|
||||
<Card title="Take Action Fast" icon="zap">
|
||||
Launch follow-up Tasks, investigate errors, or generate fixes directly from the Inbox—no context switching.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
### First-Class Integration Tabs
|
||||
|
||||
Some signals deserve their own dedicated view. When you connect integrations:
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Sentry">
|
||||
See error events organized by project with occurrences, first/last seen timestamps, and one-click **Solve** actions that launch an Agent to investigate or generate a fix.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Snyk">
|
||||
Review high-severity vulnerabilities, check CVSS scores, and trigger Agents to patch or upgrade dependencies.
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Monitoring & Insights
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -67,122 +67,6 @@ Connect Sentry to Continue Mission Control to enable agents to automatically det
|
|||
|
||||
</Tip>
|
||||
|
||||
## Use Cases
|
||||
|
||||
### Automatic Error Resolution
|
||||
|
||||
Create agents that fix errors as they occur:
|
||||
|
||||
<Card title="Error Resolver Agent" icon="wrench">
|
||||
|
||||
**Task Example**: "Monitor new Sentry errors and create PRs with fixes for straightforward issues"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Receives notifications when new errors occur
|
||||
- Analyzes the stack trace and error context
|
||||
- Identifies the root cause in your codebase
|
||||
- Generates a fix and creates a pull request
|
||||
- Links the PR back to the Sentry issue
|
||||
|
||||
**Run in Mission Control**: Set up as an automation triggered by Sentry webhooks
|
||||
|
||||
</Card>
|
||||
|
||||
### Error Pattern Analysis
|
||||
|
||||
Identify and resolve systemic issues:
|
||||
|
||||
<Card title="Pattern Analyzer Agent" icon="chart-line">
|
||||
|
||||
**Task Example**: "Analyze error patterns from the last 7 days and identify common root causes"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Groups similar errors together
|
||||
- Identifies patterns in stack traces and user actions
|
||||
- Determines if errors are related to specific releases or features
|
||||
- Creates comprehensive reports with recommendations
|
||||
- Opens issues for systemic problems requiring architectural changes
|
||||
|
||||
**Run in Mission Control**: Schedule to run weekly or after major releases
|
||||
|
||||
</Card>
|
||||
|
||||
### Priority Triage
|
||||
|
||||
Automatically prioritize critical errors:
|
||||
|
||||
<Card title="Error Triage Agent" icon="list-check">
|
||||
|
||||
**Task Example**: "Triage new Sentry issues by impact, assign severity levels, and notify the appropriate team"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Evaluates error frequency and user impact
|
||||
- Assigns priority levels (critical, high, medium, low)
|
||||
- Tags errors by component and team
|
||||
- Creates GitHub issues for high-priority errors
|
||||
- Notifies relevant team members
|
||||
|
||||
**Run in Mission Control**: Create as an automation triggered on new Sentry issues
|
||||
|
||||
</Card>
|
||||
|
||||
### Release Quality Monitoring
|
||||
|
||||
Track error rates across deployments:
|
||||
|
||||
<Card title="Release Monitor Agent" icon="rocket">
|
||||
|
||||
**Task Example**: "Compare error rates before and after the latest release and flag any regressions"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Compares error metrics between releases
|
||||
- Identifies new errors introduced in the latest release
|
||||
- Calculates error rate changes by percentage
|
||||
- Generates release quality reports
|
||||
- Creates rollback recommendations if error rates spike
|
||||
|
||||
**Run in Mission Control**: Trigger after each deployment or on a schedule
|
||||
|
||||
</Card>
|
||||
|
||||
### Performance Issue Detection
|
||||
|
||||
Monitor and resolve performance degradation:
|
||||
|
||||
<Card title="Performance Watcher Agent" icon="gauge-high">
|
||||
|
||||
**Task Example**: "Identify performance regressions from Sentry performance monitoring and suggest optimizations"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Analyzes transaction duration trends
|
||||
- Identifies slow database queries or API calls
|
||||
- Detects N+1 query problems
|
||||
- Suggests code optimizations
|
||||
- Creates PRs with performance improvements
|
||||
|
||||
**Run in Mission Control**: Schedule daily or trigger on performance alerts
|
||||
|
||||
</Card>
|
||||
|
||||
### User Impact Analysis
|
||||
|
||||
Understand how errors affect your users:
|
||||
|
||||
<Card title="Impact Analyzer Agent" icon="users">
|
||||
|
||||
**Task Example**: "Generate a report on which users are most affected by current errors and prioritize fixes accordingly"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Identifies users experiencing multiple errors
|
||||
- Analyzes error distribution across user segments
|
||||
- Correlates errors with user churn or frustration signals
|
||||
- Creates prioritized fix lists based on user impact
|
||||
- Generates customer communication templates
|
||||
|
||||
**Run in Mission Control**: Run weekly or before customer check-ins
|
||||
|
||||
</Card>
|
||||
|
||||
## Running Sentry Agents in Mission Control
|
||||
|
||||
You can run Sentry-connected agents in two ways:
|
||||
|
|
@ -249,10 +133,10 @@ Combine Sentry with GitHub integration for a complete workflow:
|
|||
|
||||
Track your agent's error resolution performance:
|
||||
|
||||
1. **View in Inbox**: Navigate to the [Sentry view](https://hub.continue.dev/inbox?view=sentry) to see all Sentry-related agent activity
|
||||
2. **Check Sentry Dashboard**: Verify that issues are being resolved in your Sentry account
|
||||
3. **Review PRs**: Ensure quality of generated fixes in GitHub
|
||||
4. **Monitor Metrics**: Track mean time to resolution (MTTR) and intervention rates
|
||||
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
|
||||
|
|
|
|||
|
|
@ -60,154 +60,6 @@ Connect Snyk to Continue Mission Control to enable agents to automatically detec
|
|||
|
||||
</Info>
|
||||
|
||||
## Use Cases
|
||||
|
||||
### Code Vulnerability Scanning (SAST)
|
||||
|
||||
Scan your source code for security vulnerabilities:
|
||||
|
||||
<Card title="Code Security Agent" icon="code">
|
||||
|
||||
**Task Example**: "Run a Snyk Code scan on this repo with severity threshold medium. Summarize issues with file:line locations and propose minimal fixes for the top 3 critical issues."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Performs static application security testing on your code
|
||||
- Identifies security vulnerabilities with exact file and line numbers
|
||||
- Prioritizes issues by severity and exploitability
|
||||
- Generates minimal, targeted fixes for critical issues
|
||||
- Re-runs scans to verify fixes resolve the vulnerabilities
|
||||
|
||||
**Run in Mission Control**: Set up as pre-commit hook or PR check
|
||||
|
||||
</Card>
|
||||
|
||||
### Dependency Scanning (SCA)
|
||||
|
||||
Check open source dependencies for known vulnerabilities:
|
||||
|
||||
<Card title="Dependency Security Agent" icon="cube">
|
||||
|
||||
**Task Example**: "Run Snyk Open Source scan including dev dependencies. Summarize vulnerable dependency paths and propose a minimal-risk upgrade plan."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Performs software composition analysis on all dependencies
|
||||
- Maps vulnerability paths through dependency tree
|
||||
- Identifies minimal-risk upgrade strategies
|
||||
- Creates dependency update plans with compatibility checks
|
||||
- Re-tests after proposed changes to confirm resolution
|
||||
|
||||
**Run in Mission Control**: Schedule weekly or trigger on package updates
|
||||
|
||||
</Card>
|
||||
|
||||
### Infrastructure as Code (IaC) Security
|
||||
|
||||
Scan Terraform, CloudFormation, and Kubernetes configs:
|
||||
|
||||
<Card title="IaC Security Agent" icon="cloud">
|
||||
|
||||
**Task Example**: "Scan ./infra directory with Snyk IaC. Report high/critical misconfigurations with exact files and lines. Provide corrected configurations."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Scans infrastructure code for security misconfigurations
|
||||
- Identifies exposed secrets and overly permissive policies
|
||||
- Reports exact file locations and line numbers
|
||||
- Provides secure configuration alternatives
|
||||
- Re-scans to confirm misconfigurations are resolved
|
||||
|
||||
**Run in Mission Control**: Run before infrastructure deployments
|
||||
|
||||
</Card>
|
||||
|
||||
### Container Security Scanning
|
||||
|
||||
Analyze Docker images for vulnerabilities:
|
||||
|
||||
<Card title="Container Security Agent" icon="docker">
|
||||
|
||||
**Task Example**: "Scan Docker image my-api:latest excluding base image vulnerabilities. Show dependency tree and recommend safer base images."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Scans container images for OS and application vulnerabilities
|
||||
- Analyzes complete dependency tree in containers
|
||||
- Recommends security-hardened base images
|
||||
- Creates optimized Dockerfiles with security improvements
|
||||
- Re-tests after changes to verify vulnerability reduction
|
||||
|
||||
**Run in Mission Control**: Trigger on container builds or before deployments
|
||||
|
||||
</Card>
|
||||
|
||||
### Pull Request Security Scanning
|
||||
|
||||
Focus scanning on modified files:
|
||||
|
||||
<Card title="PR Security Agent" icon="code-branch">
|
||||
|
||||
**Task Example**: "Scan only files changed since origin/main with Snyk Code. Block if new high severity issues would be introduced."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Targets security scanning to changed files only
|
||||
- Compares security posture before and after changes
|
||||
- Identifies newly introduced vulnerabilities
|
||||
- Shows security impact delta for the PR
|
||||
- Blocks merge if critical issues are detected
|
||||
|
||||
**Run in Mission Control**: Set up as PR check automation
|
||||
|
||||
</Card>
|
||||
|
||||
### Security Learning Integration
|
||||
|
||||
Access contextual security education:
|
||||
|
||||
<Card title="Security Education Agent" icon="graduation-cap">
|
||||
|
||||
**Task Example**: "Open Snyk Learn lessons related to the top CWE vulnerabilities from this scan."
|
||||
|
||||
**What the Agent Does**:
|
||||
- Maps vulnerabilities to Common Weakness Enumeration (CWE) categories
|
||||
- Retrieves relevant Snyk Learn educational content
|
||||
- Provides contextual security training based on actual issues
|
||||
- Links to remediation guides and best practices
|
||||
- Tracks security knowledge gaps across the team
|
||||
|
||||
**Run in Mission Control**: Run after security scans for team education
|
||||
|
||||
</Card>
|
||||
|
||||
## Running Snyk Agents in Mission Control
|
||||
|
||||
You can run Snyk-connected agents in two ways:
|
||||
|
||||
### 1. Manual Tasks
|
||||
|
||||
Trigger agents on-demand for vulnerability analysis:
|
||||
|
||||
1. Go to [Mission Control Agents](https://hub.continue.dev/agents)
|
||||
2. Select or create a Snyk-enabled agent
|
||||
3. Click "Run Agent" and provide your task description
|
||||
4. Monitor progress and review results in real-time
|
||||
|
||||
**Example Tasks:**
|
||||
- "Scan all projects for critical vulnerabilities and prioritize fixes"
|
||||
- "Update all npm dependencies with known vulnerabilities"
|
||||
- "Generate a security report for the last sprint"
|
||||
|
||||
### 2. Automated Workflows
|
||||
|
||||
Set up agents to run automatically:
|
||||
|
||||
- **Webhook-triggered**: Execute when new vulnerabilities are detected
|
||||
- **Scheduled**: Run daily or weekly security scans
|
||||
- **PR-triggered**: Scan new dependencies before merge
|
||||
|
||||
<Tip>
|
||||
|
||||
Start with manual tasks to understand your vulnerability patterns, then automate the most common remediation workflows for continuous security.
|
||||
|
||||
</Tip>
|
||||
|
||||
## Integration with GitHub
|
||||
|
||||
Combine Snyk with GitHub integration for a complete security workflow:
|
||||
|
|
@ -290,7 +142,7 @@ Track your agent's security remediation performance:
|
|||
**Problem**: Agent isn't running when new vulnerabilities are found
|
||||
|
||||
**Solutions**:
|
||||
- Verify webhook configuration in Snyk settings
|
||||
- Verify webhook configuration in Snyk integration settings
|
||||
- Check that webhook URL points to Continue Mission Control
|
||||
- Ensure webhook events include vulnerability detection
|
||||
- Review webhook delivery logs in Snyk
|
||||
|
|
@ -313,4 +165,4 @@ Track your agent's security remediation performance:
|
|||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
</CardGroup>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ description: "A Task is a unit of work shared between you and an agent. You trig
|
|||
- An agent's capabilities (model, rules, tools, prompt)
|
||||
- Your codebase (repository and branch)
|
||||
|
||||
Tasks can be triggered manually, by events, or on a schedule.
|
||||
Tasks can be triggered manually, by events, or on a schedule, and can be assigned to anyone on your team for review.
|
||||
|
||||
</Info>
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ This document specifies the behavior of the CLI's configuration loading system,
|
|||
3. **Default Resolution** (if no flag and no saved URI)
|
||||
- **Authenticated**: First user assistant from `listAssistants()`
|
||||
- **config.yaml**: The saved config file at `~/.continue/config.yaml`
|
||||
- **Unauthenticated**: Falls back to `continuedev/default-agent`
|
||||
- **Unauthenticated**: Falls back to `continuedev/default-cli-config`
|
||||
|
||||
## Authentication State Interactions
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ This document specifies the behavior of the CLI's configuration loading system,
|
|||
**Available Options:**
|
||||
|
||||
- Local YAML files only
|
||||
- Default assistant (`continuedev/default-agent`)
|
||||
- Default assistant (`continuedev/default-cli-config`)
|
||||
|
||||
**Behavior:**
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ This document specifies the behavior of the CLI's configuration loading system,
|
|||
**No User Assistants:**
|
||||
|
||||
- Authenticated user has no personal assistants
|
||||
- **Result**: Falls back to `continuedev/default-agent`
|
||||
- **Result**: Falls back to `continuedev/default-cli-config`
|
||||
|
||||
**Default Agent Unavailable:**
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ export type ConfigSource =
|
|||
| { type: "cli-flag"; path: string }
|
||||
| { type: "saved-uri"; uri: string }
|
||||
| { type: "user-assistant"; slug: string }
|
||||
| { type: "default-config-yaml" }
|
||||
| { type: "default-agent" }
|
||||
| { type: "local-config-yaml" }
|
||||
| { type: "remote-default-config" }
|
||||
| { type: "no-config" };
|
||||
|
||||
/**
|
||||
|
|
@ -124,16 +124,16 @@ function determineConfigSource(
|
|||
|
||||
// Priority 3: Default resolution based on auth state
|
||||
if (authConfig === null) {
|
||||
// Unauthenticated: check for default config.yaml, then fallback to default agent
|
||||
// Unauthenticated: check for default config.yaml, then fallback to default config
|
||||
const defaultConfigPath = path.join(env.continueHome, "config.yaml");
|
||||
if (fs.existsSync(defaultConfigPath)) {
|
||||
return { type: "default-config-yaml" };
|
||||
return { type: "local-config-yaml" };
|
||||
}
|
||||
return { type: "default-agent" };
|
||||
return { type: "remote-default-config" };
|
||||
} else {
|
||||
// In headless, user assistant fallback behavior isn't supported
|
||||
if (isHeadless) {
|
||||
return { type: "default-agent" };
|
||||
return { type: "remote-default-config" };
|
||||
}
|
||||
// Authenticated: try user assistants first
|
||||
return { type: "user-assistant", slug: "" }; // Empty slug means "first available"
|
||||
|
|
@ -178,16 +178,16 @@ async function loadFromSource(
|
|||
injectBlocks,
|
||||
);
|
||||
|
||||
case "default-config-yaml":
|
||||
return await loadDefaultConfigYaml(
|
||||
case "local-config-yaml":
|
||||
return await loadLocalConfigYaml(
|
||||
accessToken,
|
||||
organizationId,
|
||||
apiClient,
|
||||
injectBlocks,
|
||||
);
|
||||
|
||||
case "default-agent":
|
||||
return await loadDefaultAgent(
|
||||
case "remote-default-config":
|
||||
return await loadDefaultConfig(
|
||||
organizationId,
|
||||
apiClient,
|
||||
accessToken,
|
||||
|
|
@ -214,7 +214,7 @@ async function loadFromSource(
|
|||
"Failed to load user assistants, falling back to default agent",
|
||||
),
|
||||
);
|
||||
return await loadDefaultAgent(
|
||||
return await loadDefaultConfig(
|
||||
organizationId,
|
||||
apiClient,
|
||||
accessToken,
|
||||
|
|
@ -334,7 +334,7 @@ async function loadUserAssistantWithFallback(
|
|||
}
|
||||
|
||||
// No user assistants, fall back to default agent
|
||||
return await loadDefaultAgent(
|
||||
return await loadDefaultConfig(
|
||||
organizationId,
|
||||
apiClient,
|
||||
accessToken,
|
||||
|
|
@ -345,7 +345,7 @@ async function loadUserAssistantWithFallback(
|
|||
/**
|
||||
* Loads default config.yaml from ~/.continue/config.yaml
|
||||
*/
|
||||
async function loadDefaultConfigYaml(
|
||||
async function loadLocalConfigYaml(
|
||||
accessToken: string | null,
|
||||
organizationId: string | null,
|
||||
apiClient: DefaultApiInterface,
|
||||
|
|
@ -362,9 +362,9 @@ async function loadDefaultConfigYaml(
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads the default continuedev/default-agent
|
||||
* Loads the default continuedev/default-config
|
||||
*/
|
||||
async function loadDefaultAgent(
|
||||
async function loadDefaultConfig(
|
||||
organizationId: string | null,
|
||||
apiClient: DefaultApiInterface,
|
||||
accessToken: string | null,
|
||||
|
|
@ -372,7 +372,7 @@ async function loadDefaultAgent(
|
|||
): Promise<AssistantUnrolled> {
|
||||
const resp = await apiClient.getAssistant({
|
||||
ownerSlug: "continuedev",
|
||||
packageSlug: "default-agent",
|
||||
packageSlug: "default-cli-config",
|
||||
organizationId: organizationId ?? undefined,
|
||||
});
|
||||
|
||||
|
|
@ -582,7 +582,7 @@ function getUriFromSource(source: ConfigSource): string | null {
|
|||
: `slug://${source.path}`;
|
||||
case "saved-uri":
|
||||
return source.uri;
|
||||
case "default-config-yaml":
|
||||
case "local-config-yaml":
|
||||
return `file://${path.join(env.continueHome, "config.yaml")}`;
|
||||
default:
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ describe("Local Config Switching Investigation", () => {
|
|||
"/absolute/path/to/config.yaml",
|
||||
],
|
||||
remoteAssistantSlugs: [
|
||||
"continuedev/default-agent",
|
||||
"continuedev/default-cli-config",
|
||||
"myorg/custom-assistant",
|
||||
"user/my-assistant",
|
||||
],
|
||||
|
|
@ -43,14 +43,14 @@ describe("Local Config Switching Investigation", () => {
|
|||
const problemScenarios = [
|
||||
{
|
||||
name: "Remote to Remote switching",
|
||||
from: "continuedev/default-agent",
|
||||
from: "continuedev/default-cli-config",
|
||||
to: "myorg/custom-assistant",
|
||||
works: true,
|
||||
reason: "Both are assistant slugs, normal flow works",
|
||||
},
|
||||
{
|
||||
name: "Remote to Local switching",
|
||||
from: "continuedev/default-agent",
|
||||
from: "continuedev/default-cli-config",
|
||||
to: "~/.continue/config.yaml",
|
||||
works: false, // This is the reported issue
|
||||
reason: "UNKNOWN - this is what we need to debug",
|
||||
|
|
@ -58,7 +58,7 @@ describe("Local Config Switching Investigation", () => {
|
|||
{
|
||||
name: "Local to Remote switching",
|
||||
from: "~/.continue/config.yaml",
|
||||
to: "continuedev/default-agent",
|
||||
to: "continuedev/default-cli-config",
|
||||
works: false, // Likely also broken
|
||||
reason: "UNKNOWN - probably same root cause",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ describe("ConfigService", () => {
|
|||
test("should initialize with undefined config path", async () => {
|
||||
vi.mocked(configLoader.loadConfiguration).mockResolvedValue({
|
||||
config: mockConfig as any,
|
||||
source: { type: "default-agent" } as any,
|
||||
source: { type: "remote-default-config" } as any,
|
||||
});
|
||||
|
||||
const state = await service.doInitialize({
|
||||
|
|
@ -257,7 +257,7 @@ describe("ConfigService", () => {
|
|||
// Initialize without config path
|
||||
vi.mocked(configLoader.loadConfiguration).mockResolvedValue({
|
||||
config: mockConfig as any,
|
||||
source: { type: "default-agent" } as any,
|
||||
source: { type: "remote-default-config" } as any,
|
||||
});
|
||||
await service.doInitialize({
|
||||
authConfig: { accessToken: "token" } as any,
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ describe("MCPService", () => {
|
|||
beforeEach(() => {
|
||||
mcpService = new MCPService();
|
||||
mockAssistant = {
|
||||
name: "test-assistant",
|
||||
name: "Test Config",
|
||||
version: "1.0.0",
|
||||
mcpServers: [
|
||||
{
|
||||
|
|
@ -196,7 +196,7 @@ describe("MCPService", () => {
|
|||
|
||||
it("should default to stdio transport when type is not specified", async () => {
|
||||
const defaultAssistant: AssistantConfig = {
|
||||
name: "default-assistant",
|
||||
name: "Default Config",
|
||||
version: "1.0.0",
|
||||
mcpServers: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
import {
|
||||
decodeSecretLocation,
|
||||
getTemplateVariables,
|
||||
} from "@continuedev/config-yaml";
|
||||
import { type AssistantConfig } from "@continuedev/sdk";
|
||||
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
||||
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
|
||||
|
|
@ -311,7 +315,24 @@ export class MCPService
|
|||
this.connections.set(serverName, connection);
|
||||
this.updateState();
|
||||
|
||||
const vars = getTemplateVariables(JSON.stringify(serverConfig));
|
||||
const secretVars = vars.filter((v) => v.startsWith("secrets."));
|
||||
const unrendered = secretVars.map((v) => {
|
||||
return decodeSecretLocation(v.replace("secrets.", "")).secretName;
|
||||
});
|
||||
|
||||
try {
|
||||
if (unrendered.length > 0) {
|
||||
const message = `${serverConfig.name} MCP Server has unresolved secrets: ${unrendered.join(", ")}
|
||||
For personal use you can set the secret in the hub at https://hub.continue.dev/settings/secrets or pass it to the CLI environment.
|
||||
Org-level secrets can only be used for MCP by Background Agents (https://docs.continue.dev/hub/agents/overview) when \"Include in Env\" is enabled for the secret.`;
|
||||
if (this.isHeadless) {
|
||||
throw new Error(message);
|
||||
} else {
|
||||
connection.warnings.push(message);
|
||||
}
|
||||
}
|
||||
|
||||
const client = await this.getConnectedClient(serverConfig, connection);
|
||||
|
||||
connection.client = client;
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ export async function constructSystemMessage(
|
|||
// Add plan mode specific instructions if in plan mode
|
||||
if (mode === "plan") {
|
||||
systemMessage +=
|
||||
'\n<context name="planMode">You are operating in _Plan Mode_, which means that your goal is to help the user investigate their ideas and develop a plan before taking action. You only have access to read-only tools and should not attempt to circumvent them to write / delete / create files. For example, it is not acceptable to use the Bash tool to write to files.</context>\n';
|
||||
'\n<context name="planMode">You are operating in _Plan Mode_, which means that your goal is to help the user investigate their ideas and develop a plan before taking action. You only have access to read-only tools and should not attempt to circumvent them to write / delete / create files. Ask the user to switch to agent mode if they want to make changes. For example, it is not acceptable to use the Bash tool to write to files.</context>\n';
|
||||
} else {
|
||||
// Check if commit signature is disabled via environment variable
|
||||
if (!process.env.CONTINUE_CLI_DISABLE_COMMIT_SIGNATURE) {
|
||||
|
|
|
|||
|
|
@ -13,15 +13,15 @@ global.fetch = vi
|
|||
.mockImplementation(async (url: string | URL, ...args) => {
|
||||
const urlString = url.toString();
|
||||
|
||||
// Mock the default-agent API call
|
||||
if (urlString.includes("get-assistant/continuedev/default-agent")) {
|
||||
// Mock the default config API call
|
||||
if (urlString.includes("get-assistant/continuedev/default-cli-config")) {
|
||||
return {
|
||||
ok: true,
|
||||
status: 200,
|
||||
json: async () => ({
|
||||
configResult: {
|
||||
config: {
|
||||
name: "Default Agent",
|
||||
name: "Default Config",
|
||||
version: "0.0.1",
|
||||
schema: "v1",
|
||||
models: [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
pluginGroup=com.github.continuedev.continueintellijextension
|
||||
pluginVersion=1.0.52
|
||||
pluginVersion=1.0.55
|
||||
platformVersion=2024.1
|
||||
kotlin.stdlib.default.dependency=false
|
||||
org.gradle.configuration-cache=true
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package com.github.continuedev.continueintellijextension.actions
|
|||
|
||||
import com.github.continuedev.continueintellijextension.HighlightedCodePayload
|
||||
import com.github.continuedev.continueintellijextension.RangeInFileWithContents
|
||||
import com.github.continuedev.continueintellijextension.browser.ContinueBrowserService
|
||||
import com.github.continuedev.continueintellijextension.browser.ContinueBrowserService.Companion.getBrowser
|
||||
import com.github.continuedev.continueintellijextension.editor.DiffStreamService
|
||||
import com.github.continuedev.continueintellijextension.editor.EditorUtils
|
||||
|
|
@ -9,9 +10,11 @@ import com.github.continuedev.continueintellijextension.services.ContinuePluginS
|
|||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.actionSystem.PlatformDataKeys
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.fileEditor.FileEditorManager
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.wm.ToolWindowManager
|
||||
import java.io.File
|
||||
|
||||
class RestartContinueProcess : AnAction() {
|
||||
|
|
@ -89,6 +92,39 @@ class OpenConfigAction : ContinueToolbarAction() {
|
|||
}
|
||||
}
|
||||
|
||||
class ReloadBrowserAction: ContinueToolbarAction() {
|
||||
override fun toolbarActionPerformed(project: Project) {
|
||||
val toolWindow = ToolWindowManager.getInstance(project).getToolWindow("Continue")
|
||||
?: return
|
||||
val browserService = project.service<ContinueBrowserService>()
|
||||
|
||||
// Perform the reload and UI update on the Event Dispatch Thread
|
||||
ApplicationManager.getApplication().invokeLater {
|
||||
// Reload the browser service to get a new browser instance
|
||||
browserService.reload()
|
||||
|
||||
val newBrowser = project.getBrowser() ?: return@invokeLater
|
||||
val newBrowserComponent = newBrowser.getComponent()
|
||||
|
||||
val contentManager = toolWindow.contentManager
|
||||
contentManager.removeAllContents(true)
|
||||
|
||||
val newContent = contentManager.factory.createContent(
|
||||
newBrowserComponent,
|
||||
null,
|
||||
false
|
||||
)
|
||||
contentManager.addContent(newContent)
|
||||
contentManager.setSelectedContent(newContent, true) // Request focus
|
||||
|
||||
toolWindow.activate({
|
||||
// After activation, ensure the browser's input field gets focus
|
||||
newBrowser.focusOnInput()
|
||||
}, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class OpenLogsAction : AnAction() {
|
||||
override fun actionPerformed(e: AnActionEvent) {
|
||||
val project = e.project ?: return
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ fun showTutorial(project: Project) {
|
|||
if (`is` == null) {
|
||||
throw IOException("Resource not found: $tutorialFileName")
|
||||
}
|
||||
var content = StreamUtil.readText(`is`, StandardCharsets.UTF_8)
|
||||
var content = `is`.bufferedReader(StandardCharsets.UTF_8).use { it.readText() }
|
||||
|
||||
// All jetbrains will use J instead of L
|
||||
content = content.replace("[Cmd + L]", "[Cmd + J]")
|
||||
|
|
@ -95,7 +95,7 @@ class ContinuePluginStartupActivity : StartupActivity, DumbAware {
|
|||
}
|
||||
|
||||
private fun getPlatformSpecificKeyStroke(key: String): String {
|
||||
val osName = System.getProperty("os.name").toLowerCase()
|
||||
val osName = System.getProperty("os.name").lowercase()
|
||||
val modifier = if (osName.contains("mac")) "meta" else "control"
|
||||
return "$modifier $key"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ class ContinueBrowser(
|
|||
val json = gsonService.gson.toJson(BrowserMessage(messageType, messageId, data))
|
||||
val jsCode = """window.postMessage($json, "*");"""
|
||||
try {
|
||||
browser.executeJavaScriptAsync(jsCode)
|
||||
browser.cefBrowser.executeJavaScript(jsCode, getGuiUrl(), 0)
|
||||
} catch (error: IllegalStateException) {
|
||||
log.warn(error)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package com.github.continuedev.continueintellijextension.browser
|
||||
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.components.Service
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.project.Project
|
||||
|
|
@ -8,16 +9,51 @@ import com.intellij.openapi.util.Disposer
|
|||
import com.intellij.ui.jcef.JBCefApp
|
||||
|
||||
@Service(Service.Level.PROJECT)
|
||||
class ContinueBrowserService(project: Project): Disposable {
|
||||
class ContinueBrowserService(val project: Project): Disposable {
|
||||
|
||||
private val browser: ContinueBrowser? =
|
||||
if (JBCefApp.isSupported())
|
||||
ContinueBrowser(project)
|
||||
else null
|
||||
private var browser: ContinueBrowser? = null
|
||||
|
||||
init {
|
||||
load()
|
||||
}
|
||||
|
||||
override fun dispose() {
|
||||
if (browser != null)
|
||||
Disposer.dispose(browser)
|
||||
browser?.let { Disposer.dispose(it) }
|
||||
browser = null
|
||||
}
|
||||
|
||||
private fun load(): ContinueBrowser? {
|
||||
if (browser != null) {
|
||||
return browser
|
||||
}
|
||||
if (!JBCefApp.isSupported()) {
|
||||
return null
|
||||
}
|
||||
val newBrowser = ContinueBrowser(project)
|
||||
Disposer.register(this, newBrowser)
|
||||
|
||||
this.browser = newBrowser
|
||||
return this.browser
|
||||
}
|
||||
|
||||
/**
|
||||
* Reloads the browser by disposing the current one and creating a new one.
|
||||
* This method is intended for use when browser is frozen (unresponsive).
|
||||
*/
|
||||
fun reload() {
|
||||
// Store the old browser instance to be disposed later
|
||||
val oldBrowser = browser
|
||||
browser = null
|
||||
|
||||
// Dispose the old browser after the new one is loaded and UI is updated.
|
||||
// This avoids race conditions. We can do this on a background thread.
|
||||
oldBrowser?.let {
|
||||
ApplicationManager.getApplication().invokeLater {
|
||||
Disposer.dispose(it)
|
||||
}
|
||||
}
|
||||
|
||||
load()
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ class MessageTypes {
|
|||
companion object {
|
||||
val IDE_MESSAGE_TYPES = listOf(
|
||||
"readRangeInFile",
|
||||
"isTelemetryEnabled",
|
||||
"getUniqueId",
|
||||
"getDiff",
|
||||
"getTerminalContents",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class ConfigJsonSchemaFileProvider : JsonSchemaFileProvider {
|
|||
if (`is` == null) {
|
||||
throw IOException("Resource not found: config_schema.json")
|
||||
}
|
||||
val content = StreamUtil.readText(`is`, StandardCharsets.UTF_8)
|
||||
val content = `is`.bufferedReader(StandardCharsets.UTF_8).use { it.readText() }
|
||||
val filepath = Paths.get(getContinueGlobalPath(), "config_schema.json").toString()
|
||||
File(filepath).writeText(content)
|
||||
return LocalFileSystem.getInstance().findFileByPath(filepath)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class ConfigRcJsonSchemaFileProvider : JsonSchemaFileProvider {
|
|||
if (`is` == null) {
|
||||
throw IOException("Resource not found: continue_rc_schema.json")
|
||||
}
|
||||
val content = StreamUtil.readText(`is`, StandardCharsets.UTF_8)
|
||||
val content = `is`.bufferedReader(StandardCharsets.UTF_8).use { it.readText() }
|
||||
val filepath = Paths.get(getContinueGlobalPath(), "continue_rc_schema.json").toString()
|
||||
File(filepath).writeText(content)
|
||||
return LocalFileSystem.getInstance().findFileByPath(filepath)
|
||||
|
|
|
|||
|
|
@ -64,7 +64,8 @@ class CoreMessenger(
|
|||
// Responses for messageId
|
||||
responseListeners[messageId]?.let { listener ->
|
||||
listener(data)
|
||||
val done = (data as Map<String, Boolean>)["done"]
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val done = (data as? Map<String, Boolean>)?.get("done")
|
||||
|
||||
if (done == true) {
|
||||
responseListeners.remove(messageId)
|
||||
|
|
|
|||
|
|
@ -162,11 +162,6 @@ class IdeProtocolClient(
|
|||
respond(contents)
|
||||
}
|
||||
|
||||
"isTelemetryEnabled" -> {
|
||||
val isEnabled = ide.isTelemetryEnabled()
|
||||
respond(isEnabled)
|
||||
}
|
||||
|
||||
"readRangeInFile" -> {
|
||||
val params = gsonService.gson.fromJson(
|
||||
dataElement.toString(),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.intellij.psi.PsiDocumentManager
|
|||
import com.intellij.testFramework.LightVirtualFile
|
||||
import kotlinx.coroutines.*
|
||||
import org.jetbrains.plugins.terminal.ShellTerminalWidget
|
||||
import org.jetbrains.plugins.terminal.TerminalView
|
||||
import org.jetbrains.plugins.terminal.TerminalToolWindowManager
|
||||
import java.awt.Toolkit
|
||||
import java.awt.datatransfer.DataFlavor
|
||||
import java.io.BufferedReader
|
||||
|
|
@ -191,10 +191,6 @@ class IntelliJIDE(
|
|||
return mapOf("text" to text)
|
||||
}
|
||||
|
||||
override suspend fun isTelemetryEnabled(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
override suspend fun isWorkspaceRemote(): Boolean {
|
||||
return this.getIdeInfo().remoteName != "local"
|
||||
}
|
||||
|
|
@ -208,10 +204,10 @@ class IntelliJIDE(
|
|||
try {
|
||||
val toolWindow = ToolWindowManager.getInstance(project).getToolWindow("Terminal")
|
||||
|
||||
val terminalView = TerminalView.getInstance(project)
|
||||
val terminalManager = TerminalToolWindowManager.getInstance(project)
|
||||
// Find the first terminal widget selected, whatever its state, running command or not.
|
||||
val widget = terminalView.getWidgets().filterIsInstance<ShellTerminalWidget>().firstOrNull {
|
||||
toolWindow?.getContentManager()?.getContent(it)?.isSelected ?: false
|
||||
val widget = terminalManager.getWidgets().filterIsInstance<ShellTerminalWidget>().firstOrNull {
|
||||
toolWindow?.contentManager?.getContent(it)?.isSelected ?: false
|
||||
}
|
||||
|
||||
if (widget != null) {
|
||||
|
|
@ -288,23 +284,23 @@ class IntelliJIDE(
|
|||
val toolWindow = ToolWindowManager.getInstance(project).getToolWindow("Terminal")
|
||||
toolWindow?.activate({
|
||||
try {
|
||||
val terminalView = TerminalView.getInstance(project)
|
||||
val terminalManager = TerminalToolWindowManager.getInstance(project)
|
||||
var widget: ShellTerminalWidget? = null
|
||||
|
||||
// 1. Handle reuseTerminal option
|
||||
if (terminalOptions.reuseTerminal == true && terminalView.getWidgets().isNotEmpty()) {
|
||||
if (terminalOptions.reuseTerminal == true && terminalManager.getWidgets().isNotEmpty()) {
|
||||
// 2. Find by terminalName if provided
|
||||
if (terminalOptions.terminalName != null) {
|
||||
widget = terminalView.getWidgets().filterIsInstance<ShellTerminalWidget>()
|
||||
widget = terminalManager.getWidgets().filterIsInstance<ShellTerminalWidget>()
|
||||
.firstOrNull {
|
||||
toolWindow.contentManager.getContent(it).tabName == terminalOptions.terminalName
|
||||
&& !it.hasRunningCommands()
|
||||
}
|
||||
} else {
|
||||
// 3. Find active terminal, or fall back to the first one
|
||||
widget = terminalView.getWidgets().filterIsInstance<ShellTerminalWidget>()
|
||||
widget = terminalManager.getWidgets().filterIsInstance<ShellTerminalWidget>()
|
||||
.firstOrNull { toolWindow.contentManager.getContent(it).isSelected }
|
||||
?: terminalView.getWidgets().filterIsInstance<ShellTerminalWidget>().firstOrNull {
|
||||
?: terminalManager.getWidgets().filterIsInstance<ShellTerminalWidget>().firstOrNull {
|
||||
!it.hasRunningCommands()
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +308,7 @@ class IntelliJIDE(
|
|||
|
||||
// 4. Create a new terminal if needed
|
||||
if (widget == null) {
|
||||
widget = terminalView.createLocalShellWidget(
|
||||
widget = terminalManager.createLocalShellWidget(
|
||||
project.basePath,
|
||||
terminalOptions.terminalName,
|
||||
true
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class FileUtils(
|
|||
|
||||
private fun readDocument(file: VirtualFile, maxLength: Int): String? {
|
||||
val document = FileDocumentManager.getInstance().getDocument(file)
|
||||
?: return ""
|
||||
?: return null
|
||||
val length = min(document.textLength, maxLength)
|
||||
return document.getText(TextRange(0, length))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,12 @@ class EditorComponentInlaysManager(val editor: EditorImpl, private val onlyOneIn
|
|||
|
||||
@RequiresEdt
|
||||
fun insert(lineIndex: Int, component: JComponent, showAbove: Boolean = false): Disposable? {
|
||||
if (Disposer.isDisposed(this)) return null
|
||||
try {
|
||||
// Check if editor is disposed
|
||||
if (editor.isDisposed) return null
|
||||
} catch (e: Exception) {
|
||||
return null
|
||||
}
|
||||
|
||||
if (onlyOneInlay) {
|
||||
// Dispose all other inlays
|
||||
|
|
@ -106,7 +111,7 @@ class EditorComponentInlaysManager(val editor: EditorImpl, private val onlyOneIn
|
|||
|
||||
init {
|
||||
val metrics = editor.getFontMetrics(Font.PLAIN)
|
||||
val spaceWidth = FontLayoutService.getInstance().charWidth2D(metrics, ' '.toInt())
|
||||
val spaceWidth = FontLayoutService.getInstance().charWidth2D(metrics, ' '.code)
|
||||
// -4 to create some space
|
||||
maximumEditorTextWidth = ceil(spaceWidth * (editor.settings.getRightMargin(editor.project)) - 4).toInt()
|
||||
|
||||
|
|
|
|||