Merge branch 'main' of https://github.com/continuedev/continue into ferenci84/per-tab-model-persistence
This commit is contained in:
commit
4b330decba
111 changed files with 61176 additions and 3366 deletions
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
|
@ -13,7 +13,7 @@ body:
|
|||
options:
|
||||
- label: I've tried using the "Ask AI" feature on the [Continue docs site](https://docs.continue.dev/) to see if the docs have an answer
|
||||
required: false
|
||||
- label: I believe this is a bug. I'll try to join the [Continue Discord](https://discord.gg/NWtdYexhMs) for questions
|
||||
- label: I'm not able to find a related conversation on [GitHub discussions](https://github.com/continuedev/continue/discussions) that reports the same bug
|
||||
required: false
|
||||
- label: I'm not able to find an [open issue](https://github.com/continuedev/continue/issues?q=is%3Aopen+is%3Aissue) that reports the same bug
|
||||
required: false
|
||||
|
|
|
|||
2
.github/workflows/cli-pr-checks.yml
vendored
2
.github/workflows/cli-pr-checks.yml
vendored
|
|
@ -3,6 +3,8 @@ name: CLI PR Checks
|
|||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
15
.github/workflows/pr-checks.yaml
vendored
15
.github/workflows/pr-checks.yaml
vendored
|
|
@ -5,10 +5,14 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
track-rerun:
|
||||
|
|
@ -334,6 +338,17 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Free disk space
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
tool-cache: false
|
||||
android: true
|
||||
dotnet: true
|
||||
haskell: true
|
||||
large-packages: false
|
||||
docker-images: true
|
||||
swap-storage: true
|
||||
|
||||
- uses: actions/checkout@v5
|
||||
- name: Run JetBrains tests
|
||||
uses: ./.github/actions/run-jetbrains-tests
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@
|
|||
|
||||
Get started in [Mission Control](https://hub.continue.dev/agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode)
|
||||
|
||||
## Background Agents
|
||||
## Cloud Agents
|
||||
|
||||
Set workflows to run automatically on [PR opens](https://docs.continue.dev/guides/continuous-ai#pattern-2-the-pr-review-agent), [schedules](https://docs.continue.dev/guides/continuous-ai#pattern-1-the-async-triage-bot), or [any event trigger](https://docs.continue.dev/cli/quick-start#headless-mode)
|
||||
|
||||

|
||||

|
||||
|
||||
## CLI Agents
|
||||
|
||||
|
|
|
|||
59025
binary/package-lock.json
generated
59025
binary/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -52,7 +52,7 @@
|
|||
"node-fetch": "^3.3.2",
|
||||
"posthog-node": "^3.6.3",
|
||||
"system-ca": "^1.0.2",
|
||||
"tar": "^7.4.3",
|
||||
"tar": "^7.5.1",
|
||||
"undici": "^7.10.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vectordb": "^0.4.20",
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
import {
|
||||
BlockType,
|
||||
ConfigYaml,
|
||||
createRuleMarkdown,
|
||||
createPromptMarkdown,
|
||||
RULE_FILE_EXTENSION,
|
||||
createRuleMarkdown,
|
||||
} from "@continuedev/config-yaml";
|
||||
import * as YAML from "yaml";
|
||||
import { IDE } from "../..";
|
||||
import { getContinueGlobalPath } from "../../util/paths";
|
||||
import { localPathToUri } from "../../util/pathToUri";
|
||||
import { joinPathsToUri } from "../../util/uri";
|
||||
|
||||
const BLOCK_TYPE_CONFIG: Record<
|
||||
|
|
@ -165,7 +165,7 @@ export async function createNewWorkspaceBlockFile(
|
|||
|
||||
export async function createNewGlobalRuleFile(ide: IDE): Promise<void> {
|
||||
try {
|
||||
const globalDir = getContinueGlobalPath();
|
||||
const globalDir = localPathToUri(getContinueGlobalPath());
|
||||
|
||||
// Create the rules subdirectory within the global directory
|
||||
const rulesDir = joinPathsToUri(globalDir, "rules");
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ const RULES = [
|
|||
`Whenever any part of the code is the same as before, you may simply indicate this with a comment that says "${UNCHANGED_CODE}" instead of rewriting.`,
|
||||
"You must keep at least one line above and below from the original code, so that we can identify what the previous code was.",
|
||||
`Do not place miscellaneous "${UNCHANGED_CODE}" comments at the top or bottom of the file when there is nothing to replace them.`,
|
||||
"Leave existing comments in place unless changes require modifying them.",
|
||||
// `You should write "${UNCHANGED_CODE}" at least for each function that is unchanged, rather than grouping them into a single comment.`,
|
||||
// `You should lean toward using a smaller number of these comments rather than rewriting it for every function if all of them are unchanged.`,
|
||||
// `You may do this for imports as well if needed.`,
|
||||
|
|
@ -21,7 +22,7 @@ const RULES = [
|
|||
"The code should always be syntactically valid, even with the comments.",
|
||||
];
|
||||
|
||||
function claude35SonnetLazyApplyPrompt(
|
||||
function claudeSonnetLazyApplyPrompt(
|
||||
...args: Parameters<LazyApplyPrompt>
|
||||
): ReturnType<LazyApplyPrompt> {
|
||||
const userContent = dedent`
|
||||
|
|
@ -55,7 +56,7 @@ export function lazyApplyPromptForModel(
|
|||
provider: string,
|
||||
): LazyApplyPrompt | undefined {
|
||||
if (model.includes("sonnet")) {
|
||||
return claude35SonnetLazyApplyPrompt;
|
||||
return claudeSonnetLazyApplyPrompt;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
|
|
|||
|
|
@ -7,19 +7,7 @@ const simplifiedEditPrompt = `Consider the following code:
|
|||
\`\`\`
|
||||
Edit the code to perfectly satisfy the following user request:
|
||||
{{{userInput}}}
|
||||
Output nothing except for the code. No code block, no English explanation, no start/end tags.`;
|
||||
|
||||
const simplestEditPrompt = `Here is the code before editing:
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
\`\`\`
|
||||
|
||||
Here is the edit requested:
|
||||
"{{{userInput}}}"
|
||||
|
||||
Here is the code after editing:`;
|
||||
|
||||
const codellamaInfillEditPrompt = "{{filePrefix}}<FILL>{{fileSuffix}}";
|
||||
Output nothing except for the code. No code block, no English explanation, no start/end tags. Leave existing comments in place unless changes require modifying them.`;
|
||||
|
||||
const START_TAG = "<START EDITING HERE>";
|
||||
const osModelsEditPrompt: PromptTemplate = (history, otherData) => {
|
||||
|
|
@ -55,7 +43,7 @@ ${otherData.codeToEdit}
|
|||
${suffixTag}
|
||||
\`\`\`
|
||||
|
||||
Please rewrite the entire code block above in order to satisfy the following request: "${otherData.userInput}". You should rewrite the entire code block without leaving placeholders, even if the code is the same as before.${suffixExplanation}`,
|
||||
Please rewrite the entire code block above in order to satisfy the following request: "${otherData.userInput}". You should rewrite the entire code block without leaving placeholders, even if the code is the same as before. Leave existing comments in place unless changes require modifying them.${suffixExplanation}`,
|
||||
},
|
||||
{
|
||||
role: "assistant",
|
||||
|
|
@ -75,7 +63,7 @@ ${otherData.codeToEdit}
|
|||
${suffixTag}
|
||||
\`\`\`
|
||||
|
||||
Please rewrite the entire code block above, editing the portion below "${START_TAG}" in order to satisfy the following request: "${otherData.userInput}". You should rewrite the entire code block without leaving placeholders, even if the code is the same as before.${suffixExplanation}
|
||||
Please rewrite the entire code block above, editing the portion below "${START_TAG}" in order to satisfy the following request: "${otherData.userInput}". You should rewrite the entire code block without leaving placeholders, even if the code is the same as before. Leave existing comments in place unless changes require modifying them.${suffixExplanation}
|
||||
`,
|
||||
},
|
||||
{
|
||||
|
|
@ -93,12 +81,12 @@ const mistralEditPrompt = `[INST] You are a helpful code assistant. Your task is
|
|||
{{{codeToEdit}}}
|
||||
\`\`\`
|
||||
|
||||
Just rewrite the code without explanations: [/INST]
|
||||
Leave existing comments in place unless changes require modifying them. Just rewrite the code without explanations: [/INST]
|
||||
\`\`\`{{{language}}}`;
|
||||
|
||||
const alpacaEditPrompt = `Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
||||
|
||||
### Instruction: Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
### Instruction: Leave existing comments in place unless changes require modifying them. Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
### Input:
|
||||
|
||||
|
|
@ -116,7 +104,7 @@ const phindEditPrompt = `### System Prompt
|
|||
You are an expert programmer and write code on the first attempt without any errors or fillers.
|
||||
|
||||
### User Message:
|
||||
Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
Leave existing comments in place unless changes require modifying them. Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -131,7 +119,7 @@ Sure! Here's the code you requested:
|
|||
const deepseekEditPrompt = `### System Prompt
|
||||
You are an AI programming assistant, utilizing the DeepSeek Coder model, developed by DeepSeek Company, and your role is to assist with questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will not answer.
|
||||
### Instruction:
|
||||
Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
Leave existing comments in place unless changes require modifying them. Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -145,7 +133,7 @@ Sure! Here's the code you requested:
|
|||
const zephyrEditPrompt = `<|system|>
|
||||
You are an expert programmer and write code on the first attempt without any errors or fillers.</s>
|
||||
<|user|>
|
||||
Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
Leave existing comments in place unless changes require modifying them. Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -160,12 +148,12 @@ const openchatEditPrompt = `GPT4 Correct User: You are an expert programmer and
|
|||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
\`\`\`
|
||||
Please only respond with code and put it inside of a markdown code block. Do not give any explanation, but your code should perfectly satisfy the user request.<|end_of_turn|>GPT4 Correct Assistant: Sure thing! Here is the rewritten code that you requested:
|
||||
Please only respond with code and put it inside of a markdown code block. Do not give any explanation, but your code should perfectly satisfy the user request. Leave existing comments in place unless changes require modifying them.<|end_of_turn|>GPT4 Correct Assistant: Sure thing! Here is the rewritten code that you requested:
|
||||
\`\`\`{{{language}}}
|
||||
`;
|
||||
|
||||
const xWinCoderEditPrompt = `<system>: You are an AI coding agent that helps people with programming. Write a response that appropriately completes the user's request.
|
||||
<user>: Please rewrite the following code with these instructions: "{{{userInput}}}"
|
||||
<user>: Please rewrite the following code (without changing existing code comments) with these instructions: "{{{userInput}}}"
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
\`\`\`
|
||||
|
|
@ -177,7 +165,7 @@ Just rewrite the code without explanations:
|
|||
const neuralChatEditPrompt = `### System:
|
||||
You are an expert programmer and write code on the first attempt without any errors or fillers.
|
||||
### User:
|
||||
Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
Rewrite the code (without changing existing code comments) to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -188,7 +176,7 @@ Sure! Here's the code you requested:
|
|||
\`\`\`{{{language}}}
|
||||
`;
|
||||
|
||||
const codeLlama70bEditPrompt = `<s>Source: system\n\n You are an expert programmer and write code on the first attempt without any errors or fillers. <step> Source: user\n\n Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
const codeLlama70bEditPrompt = `<s>Source: system\n\n You are an expert programmer and write code on the first attempt without any errors or fillers. <step> Source: user\n\n Rewrite the code (without changing existing code comments) to satisfy this request: "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -209,7 +197,7 @@ You are an expert programmer. You will rewrite the above code to do the followin
|
|||
|
||||
${otherData.userInput}
|
||||
|
||||
Output only a code block with the rewritten code:
|
||||
Leave existing comments in place unless changes require modifying them. Output only a code block with the rewritten code:
|
||||
`,
|
||||
},
|
||||
{
|
||||
|
|
@ -224,12 +212,12 @@ const llama3EditPrompt: PromptTemplate = `<|begin_of_text|><|start_header_id|>us
|
|||
{{{codeToEdit}}}
|
||||
\`\`\`
|
||||
|
||||
Rewrite the above code to satisfy this request: "{{{userInput}}}"<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
||||
Rewrite the above code to satisfy this request (without changing existing code comments): "{{{userInput}}}"<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
||||
Sure! Here's the code you requested:
|
||||
\`\`\`{{{language}}}`;
|
||||
|
||||
const gemmaEditPrompt = `<start_of_turn>user
|
||||
You are an expert programmer and write code on the first attempt without any errors or fillers. Rewrite the code to satisfy this request: "{{{userInput}}}"
|
||||
You are an expert programmer and write code on the first attempt without any errors or fillers. Rewrite the code to satisfy this request (without changing existing code comments): "{{{userInput}}}"
|
||||
|
||||
\`\`\`{{{language}}}
|
||||
{{{codeToEdit}}}
|
||||
|
|
@ -244,7 +232,6 @@ export {
|
|||
alpacaEditPrompt,
|
||||
claudeEditPrompt,
|
||||
codeLlama70bEditPrompt,
|
||||
codellamaInfillEditPrompt,
|
||||
deepseekEditPrompt,
|
||||
gemmaEditPrompt,
|
||||
gptEditPrompt,
|
||||
|
|
@ -254,7 +241,6 @@ export {
|
|||
openchatEditPrompt,
|
||||
osModelsEditPrompt,
|
||||
phindEditPrompt,
|
||||
simplestEditPrompt,
|
||||
simplifiedEditPrompt,
|
||||
xWinCoderEditPrompt,
|
||||
zephyrEditPrompt,
|
||||
|
|
|
|||
|
|
@ -76,5 +76,5 @@ export const defaultApplyPrompt: PromptTemplateFunction = (
|
|||
history,
|
||||
otherData,
|
||||
) => {
|
||||
return `${otherData.original_code}\n\nThe following code was suggested as an edit:\n\`\`\`\n${otherData.new_code}\n\`\`\`\nPlease apply it to the previous code. Do not change comments unless explicitly requested.`;
|
||||
return `${otherData.original_code}\n\nThe following code was suggested as an edit:\n\`\`\`\n${otherData.new_code}\n\`\`\`\nPlease apply it to the previous code. Leave existing comments in place unless changes require modifying them.`;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -461,9 +461,13 @@ export class NextEditProvider {
|
|||
// prompts[1] extracts the user prompt from the system-user prompt pair.
|
||||
// NOTE: Stream is currently set to false, but this should ideally be a per-model flag.
|
||||
// Mercury Coder currently does not support streaming.
|
||||
const msg: ChatMessage = await llm.chat([prompts[1]], token, {
|
||||
stream: false,
|
||||
});
|
||||
const msg: ChatMessage = await llm.chat(
|
||||
this.endpointType === "fineTuned" ? [prompts[1]] : prompts,
|
||||
token,
|
||||
{
|
||||
stream: false,
|
||||
},
|
||||
);
|
||||
|
||||
if (typeof msg.content !== "string") {
|
||||
return undefined;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { IDE, Position } from "../..";
|
||||
import { GetLspDefinitionsFunction } from "../../autocomplete/types";
|
||||
import { ConfigHandler } from "../../config/ConfigHandler";
|
||||
import { isSecurityConcern } from "../../indexing/ignore.js";
|
||||
import { NextEditProvider } from "../NextEditProvider";
|
||||
import { EditAggregator } from "./aggregateEdits";
|
||||
import { BeforeAfterDiff, createDiff, DiffFormatType } from "./diffFormatting";
|
||||
|
|
@ -23,16 +24,18 @@ export const processSmallEdit = async (
|
|||
recentlyVisitedRanges: [],
|
||||
};
|
||||
|
||||
NextEditProvider.getInstance().addDiffToContext(
|
||||
createDiff({
|
||||
beforeContent: beforeAfterdiff.beforeContent,
|
||||
afterContent: beforeAfterdiff.afterContent,
|
||||
filePath: beforeAfterdiff.filePath,
|
||||
diffType: DiffFormatType.Unified,
|
||||
contextLines: 3, // NOTE: This can change depending on experiments!
|
||||
workspaceDir: currentData.workspaceDir,
|
||||
}),
|
||||
);
|
||||
if (!isSecurityConcern(beforeAfterdiff.filePath)) {
|
||||
NextEditProvider.getInstance().addDiffToContext(
|
||||
createDiff({
|
||||
beforeContent: beforeAfterdiff.beforeContent,
|
||||
afterContent: beforeAfterdiff.afterContent,
|
||||
filePath: beforeAfterdiff.filePath,
|
||||
diffType: DiffFormatType.Unified,
|
||||
contextLines: 3, // NOTE: This can change depending on experiments!
|
||||
workspaceDir: currentData.workspaceDir,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
void processNextEditData({
|
||||
filePath: beforeAfterdiff.filePath,
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ const RUN_COMMAND_NOTES = `The shell is not stateful and will not remember any p
|
|||
When a command is run in the background ALWAYS suggest using shell commands to stop it; NEVER suggest using Ctrl+C.\
|
||||
When suggesting subsequent shell commands ALWAYS format them in shell command blocks.\
|
||||
Do NOT perform actions requiring special/admin privileges.\
|
||||
IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed, awk, etc).\
|
||||
${PLATFORM_INFO}`;
|
||||
|
||||
export const runTerminalCommandTool: Tool = {
|
||||
|
|
|
|||
|
|
@ -91,8 +91,8 @@ We strongly encourage using Continue's AI assistance to maintain consistency and
|
|||
The easiest way to get started is using our pre-configured documentation agent:
|
||||
|
||||
<Steps>
|
||||
<Step title="Install the agent from Continue Hub">
|
||||
Visit [the Docs Assistant - Mintlify in the Hub](https://hub.continue.dev/continuedev/docs-mintlify) and click "Install" to add it to your Continue setup. This agent comes pre-configured with all our documentation standards.
|
||||
<Step title="Install the agent from Continue Mission Control">
|
||||
Visit [the Docs Assistant - Mintlify in Mission Control](https://hub.continue.dev/continuedev/docs-mintlify) and click "Install" to add it to your Continue setup. This agent comes pre-configured with all our documentation standards.
|
||||
|
||||
<Info>
|
||||
Learn more about Continue Configs in our [config documentation](/guides/understanding-configs).
|
||||
|
|
@ -139,13 +139,13 @@ If you want more control or customization, you can create your own documentation
|
|||
</Step>
|
||||
|
||||
<Step title="Add the Continue Docs MCP">
|
||||
Install from Continue Hub: https://hub.continue.dev/continuedev/continue-docs-mcp
|
||||
Install from Continue Mission Control: https://hub.continue.dev/continuedev/continue-docs-mcp
|
||||
|
||||
This MCP provides context about Continue's documentation structure and standards.
|
||||
</Step>
|
||||
|
||||
<Step title="Add Mintlify formatting rules">
|
||||
Install from Continue Hub: https://hub.continue.dev/mintlify/technical-writing-rule
|
||||
Install from Continue Mission Control: https://hub.continue.dev/mintlify/technical-writing-rule
|
||||
|
||||
This rule ensures proper Mintlify component formatting.
|
||||
</Step>
|
||||
|
|
@ -339,7 +339,7 @@ Learn more about linking PRs to issues in the [GitHub documentation](https://doc
|
|||
## 🆘 Getting Help
|
||||
|
||||
- **Start a Discussion**: Use [GitHub Discussions](https://github.com/continuedev/continue/discussions) for documentation issues, suggestions, or questions
|
||||
- **Continue agent questions**: Check the [Continue Hub page](https://hub.continue.dev/continuedev/docs-mintlify)
|
||||
- **Continue agent questions**: Check the [Continue Mission Control page](https://hub.continue.dev/continuedev/docs-mintlify)
|
||||
- **Discord community**: Join our Discord for real-time help
|
||||
- **Existing docs**: Review similar pages for formatting examples
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: "Create and Edit Agents"
|
||||
description: "Build custom AI workflows with prompts, rules, and tools through the Continue Hub interface"
|
||||
description: "Build custom AI workflows with prompts, rules, and tools through the Continue Mission Control interface"
|
||||
sidebarTitle: "Create & Edit"
|
||||
---
|
||||
|
||||
<Card title="Creating Custom Agents" icon="wrench">
|
||||
You can only create and edit Agents through Mission Control in the Continue Hub web interface.
|
||||
You can only create and edit Agents through Mission Control in the Continue Mission Control web interface.
|
||||
This ensures proper validation, versioning, and team collaboration features.
|
||||
</Card>
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe
|
|||
|
||||
<Steps>
|
||||
<Step title="🧭 Navigate to Create Agent">
|
||||
From the Continue Hub top navigation bar, select **"+"** → **"New Agent"**.
|
||||
From the Continue Mission Control top navigation bar, select **"+"** → **"New Agent"**.
|
||||
|
||||
This opens the **Create an Agent (beta)** form with all required fields.
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe
|
|||
|
||||
| Field | What to Enter | Example |
|
||||
|-------|---------------|---------|
|
||||
| **Name** | Display name shown in the Hub | `GitHub PR Agent` |
|
||||
| **Name** | Display name shown in Mission Control | `GitHub PR Agent` |
|
||||
| **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` |
|
||||
| **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` |
|
||||
| **Tools (MCPs)** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` |
|
||||
|
|
@ -15,7 +15,7 @@ sidebarTitle: "Getting Started"
|
|||
Use Mission Control to kick off agents for:
|
||||
- **Bug fixes & code quality** - Address nitpicks and technical debt
|
||||
- **Feature development** - Build boilerplate-heavy features
|
||||
- **Security & compliance** - [Automated vulnerability scanning](../../guides/snyk-mcp-continue-cookbook)
|
||||
- **Security & compliance** - [Automated vulnerability scanning](../guides/snyk-mcp-continue-cookbook)
|
||||
- **Investigation & analysis** - Research issues to kickstart your work
|
||||
- **Custom workflows** - Run repeatable tasks with your own rules and prompts
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ The practice of using agents (Continuous AI) requires thoughtful setup of guardr
|
|||
</Card>
|
||||
|
||||
<Card title="Practice Locally" icon="terminal">
|
||||
Test with [Continue CLI](../../guides/cli) in TUI mode before deploying automation.
|
||||
Test with [Continue CLI](../guides/cli) in TUI mode before deploying automation.
|
||||
</Card>
|
||||
|
||||
<Card title="Be Thorough" icon="clipboard-list">
|
||||
|
|
@ -6,7 +6,7 @@ sidebarTitle: "Overview"
|
|||
|
||||
<Card title="Agents in Continue" icon="robot">
|
||||
Agents are custom AI workflows that combine a prompt, rules, and tools (MCPs and more) to complete specific, repeatable tasks.
|
||||
They live in the Continue Hub and can be executed from Mission Control (web interface), TUI mode, or headless automation.
|
||||
They live in the Continue Mission Control and can be executed from Mission Control (web interface), TUI mode, or headless automation.
|
||||
</Card>
|
||||
|
||||
## What Are Agents?
|
||||
|
|
@ -35,7 +35,7 @@ You can run Agents in three main ways:
|
|||
<Tab title="🌐 Mission Control">
|
||||
**Interactive web interface**
|
||||
|
||||
Trigger from the Continue Hub and review results in real-time.
|
||||
Trigger from the Continue Mission Control and review results in real-time.
|
||||
|
||||
```bash
|
||||
# Navigate to hub.continue.dev/agents
|
||||
|
|
@ -170,9 +170,36 @@ Agents are organizational assets — once created, everyone in your org can use
|
|||
</Step>
|
||||
</Steps>
|
||||
|
||||
## Monitoring
|
||||
|
||||
You can monitor all activity for your Agents directly in **Mission Control**.
|
||||
|
||||
<AccordionGroup>
|
||||
|
||||
<Accordion title="Inbox Overview">
|
||||
The **Inbox** shows every Task or Workflow run, and you can filter by Agent.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Detailed Session View">
|
||||
Click any session in the Inbox to open the Detail page.
|
||||
|
||||
Each session includes:
|
||||
- **Summary** — what the agent did and why
|
||||
- **Diff** — generated code changes
|
||||
- **Logs** — full execution trace, tool calls, and reasoning
|
||||
|
||||
This is the best way to review output, debug issues, or confirm correctness.
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
<Info>
|
||||
All monitoring is scoped to your current workspace.
|
||||
</Info>
|
||||
|
||||
## Best Practices
|
||||
|
||||
The practice of using background agents, which we call Continuous AI, requires forethought to set up the right guardrails:
|
||||
The practice of using cloud agents, which we call Continuous AI, requires forethought to set up the right guardrails:
|
||||
|
||||
- **Start Small**: Begin with tasks you're confident Continue can accomplish
|
||||
- **Use Thorough Prompts**: Agents can run for extended periods, so invest in detailed instructions
|
||||
|
|
@ -76,7 +76,7 @@ For interactive development and exploration:
|
|||
```bash
|
||||
cn login
|
||||
```
|
||||
This will open your browser to authenticate with Continue Hub.
|
||||
This will open your browser to authenticate with Continue Mission Control.
|
||||
</Step>
|
||||
|
||||
<Step title="Test TUI Mode">
|
||||
|
|
@ -101,7 +101,7 @@ For automation workflows and scripting:
|
|||
<Steps>
|
||||
<Step title="Get API Key for Automation">
|
||||
For automation workflows, get an API key:
|
||||
1. Visit [Continue Hub API Keys](https://hub.continue.dev/settings/api-keys)
|
||||
1. Visit [Continue Mission Control API Keys](https://hub.continue.dev/settings/api-keys)
|
||||
2. Click **"+ New API Key"**
|
||||
3. Copy the API key immediately (you won't see it again!)
|
||||
4. Login using your Continue account
|
||||
|
|
@ -109,7 +109,7 @@ For automation workflows, get an API key:
|
|||
|
||||
<Step title="Add Secrets for Workflows">
|
||||
Store secure credentials for CLI workflows:
|
||||
1. Visit [Continue Hub Secrets](https://hub.continue.dev/settings/secrets)
|
||||
1. Visit [Continue Mission Control Secrets](https://hub.continue.dev/settings/secrets)
|
||||
2. Add your API keys and sensitive data
|
||||
3. Reference in configurations with `${{ secrets.SECRET_NAME }}`
|
||||
</Step>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ sidebarTitle: "Overview"
|
|||
Prerequisites:
|
||||
|
||||
- [Node.js 18 or newer](https://nodejs.org/en/download/)
|
||||
- A [Continue Hub](https://hub.continue.dev) account (recommended) or local configuration
|
||||
- A [Continue Mission Control](https://hub.continue.dev) account (recommended) or local configuration
|
||||
|
||||
```bash npm
|
||||
# Install Continue CLI
|
||||
|
|
@ -132,17 +132,17 @@ cn -p "Update documentation based on recent code changes"
|
|||
|
||||
- Switch between models with `/model` command
|
||||
- Use any model configured in your `config.yaml`
|
||||
- Access Continue Hub models and configurations
|
||||
- Access Continue Mission Control models and configurations
|
||||
|
||||
## Continue Hub Integration
|
||||
## Continue Mission Control Integration
|
||||
|
||||
Continue CLI integrates seamlessly with [Continue Hub](https://hub.continue.dev) for:
|
||||
Continue CLI integrates seamlessly with [Continue Mission Control](https://hub.continue.dev) for:
|
||||
|
||||
### API Access
|
||||
|
||||
Get an API key for automation workflows:
|
||||
|
||||
1. Visit [Continue Hub API Keys](https://hub.continue.dev/settings/api-keys)
|
||||
1. Visit [Continue Mission Control API Keys](https://hub.continue.dev/settings/api-keys)
|
||||
2. Create a new API key
|
||||
3. Use with `cn login` or in your automation scripts
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ Get an API key for automation workflows:
|
|||
|
||||
Store secure credentials for CLI workflows:
|
||||
|
||||
1. Visit [Continue Hub Secrets](https://hub.continue.dev/settings/secrets)
|
||||
1. Visit [Continue Mission Control Secrets](https://hub.continue.dev/settings/secrets)
|
||||
2. Add your API keys and sensitive data
|
||||
3. Reference in configurations with `${{ secrets.SECRET_NAME }}`
|
||||
|
||||
|
|
|
|||
|
|
@ -33,57 +33,57 @@ Read more about [model roles](/customize/model-roles), [model capabilities](/cus
|
|||
[Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) from Anthropic
|
||||
|
||||
1. Get your API key from [Anthropic](https://console.anthropic.com/)
|
||||
2. Add [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) to a config on Continue Hub
|
||||
3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) to a config on Continue Mission Control
|
||||
3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) from Qwen
|
||||
|
||||
1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
|
||||
2. Add [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) a config on Continue Hub
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) a config on Continue Mission Control
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[GPT-5](https://hub.continue.dev/openai/gpt-5) from OpenAI
|
||||
|
||||
1. Get your API key from [OpenAI](https://platform.openai.com)
|
||||
2. Add [GPT-5](https://hub.continue.dev/openai/gpt-5) a config on Continue Hub
|
||||
3. Add `OPENAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [GPT-5](https://hub.continue.dev/openai/gpt-5) a config on Continue Mission Control
|
||||
3. Add `OPENAI_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) from Moonshot AI
|
||||
|
||||
1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
|
||||
2. Add [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) a config on Continue Hub
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) a config on Continue Mission Control
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) from Google
|
||||
|
||||
1. Get your API key from [Google AI Studio](https://aistudio.google.com)
|
||||
2. Add [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) a config on Continue Hub
|
||||
3. Add `GEMINI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) a config on Continue Mission Control
|
||||
3. Add `GEMINI_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Grok Code Fast 1](https://hub.continue.dev/xai/grok-code-fast-1) from xAI
|
||||
|
||||
1. Get your API key from [xAI](https://console.x.ai/)
|
||||
2. Add [Grok Code Fast 1](https://hub.continue.dev/xai/grok-code-fast-1) a config on Continue Hub
|
||||
3. Add `XAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Grok Code Fast 1](https://hub.continue.dev/xai/grok-code-fast-1) a config on Continue Mission Control
|
||||
3. Add `XAI_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) from Mistral AI
|
||||
|
||||
1. Get your API key from [Mistral AI](https://console.mistral.ai/)
|
||||
2. Add [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) a config on Continue Hub
|
||||
3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) a config on Continue Mission Control
|
||||
3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) from OpenAI
|
||||
|
||||
1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys)
|
||||
2. Add [gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) a config on Continue Hub
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets)
|
||||
2. Add [gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) a config on Continue Mission Control
|
||||
3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets)
|
||||
4. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
### Local Models
|
||||
|
|
@ -98,36 +98,36 @@ Their limited tool calling and reasoning capabilities will make it challenging t
|
|||
|
||||
[Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b)
|
||||
|
||||
1. Add [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) a config on Continue Hub
|
||||
1. Add [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[gpt-oss-20b](https://hub.continue.dev/ollama/gpt-oss-20b)
|
||||
|
||||
1. Add [gpt-oss-20b](ttps://hub.continue.dev/ollama/gpt-oss-20b) a config on Continue Hub
|
||||
1. Add [gpt-oss-20b](https://hub.continue.dev/ollama/gpt-oss-20b) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Devstral Small 27B](https://hub.continue.dev/ollama/devstral)
|
||||
|
||||
1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) a config on Continue Hub
|
||||
1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) from Qwen
|
||||
|
||||
1. Add [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) a config on Continue Hub
|
||||
1. Add [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) from Google
|
||||
|
||||
1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) a config on Continue Hub
|
||||
1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
||||
[Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) from Qwen
|
||||
|
||||
1. Add [Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) a config on Continue Hub
|
||||
1. Add [Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) a config on Continue Mission Control
|
||||
2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide)
|
||||
3. Click `Reload config` in the config selector in the Continue IDE extension
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ Your agent detects rules and applies the specified rules while in [Agent](/ide-e
|
|||
</Card>
|
||||
|
||||
<Card title="Hub Rules" icon="cloud">
|
||||
- Manage on [Continue Hub](https://hub.continue.dev)
|
||||
- Manage on [Continue Mission Control](https://hub.continue.dev)
|
||||
- Reference in config.yaml with `uses:`
|
||||
- Share with team and community
|
||||
- Easy to include in multiple agents
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ Then, in the continue panel, select this model as the default model for autocomp
|
|||
|
||||
## Autocomplete Configuration Options in Continue
|
||||
|
||||
### Autocomplete Models Available on the Continue Hub
|
||||
### Autocomplete Models Available on the Continue Mission Control
|
||||
|
||||
Explore autocomplete model configurations on [the hub](https://hub.continue.dev/explore/models?roles=autocomplete)
|
||||
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ For detailed information about transport mechanisms and their use cases, refer t
|
|||
### How to Work with Secrets in MCP Servers
|
||||
|
||||
With some MCP servers you will need to use API keys or other secrets. You can leverage locally stored environments secrets
|
||||
as well as access hosted secrets in the Continue Hub. To leverage Hub secrets, you can use the `inputs` property in your MCP env block instead of `secrets`.
|
||||
as well as access hosted secrets in the Continue Mission Control. To leverage Hub secrets, you can use the `inputs` property in your MCP env block instead of `secrets`.
|
||||
|
||||
```yaml
|
||||
# ...
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ prompts:
|
|||
...
|
||||
```
|
||||
|
||||
If you are using Continue Hub, you can add it to your config by selecting "Use Rule" [here](https://hub.continue.dev/supabase/create-functions)
|
||||
If you are using Continue Mission Control, you can add it to your config by selecting "Use Rule" [here](https://hub.continue.dev/supabase/create-functions)
|
||||
|
||||
To use this prompt, you can open Chat / Agent / Edit, type <kbd>/</kbd>, select the prompt, and type out any additional instructions you'd like to add.
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ Continue supports two types of rules with different behaviors:
|
|||
</Card>
|
||||
|
||||
<Card title="Hub Rules" icon="cloud">
|
||||
- **Location**: Stored on Continue Hub, referenced in config.yaml
|
||||
- **Location**: Stored on Continue Mission Control, referenced in config.yaml
|
||||
- **Visibility**: Only appear when referenced in assistant configuration
|
||||
- **Creation**: Created directly on Hub or copied from local rules
|
||||
- **File Management**: No local files created, managed through Hub interface
|
||||
|
|
@ -92,7 +92,7 @@ For example, you can say "Create a rule for this", and a rule will be created fo
|
|||
|
||||
### Creating Hub Rules
|
||||
|
||||
Rules can also be created and managed on the Continue Hub:
|
||||
Rules can also be created and managed on the Continue Mission Control:
|
||||
|
||||
1. **Browse existing rules**: [Explore available rules](https://hub.continue.dev/explore?type=rules)
|
||||
2. **Create new rules**: [Create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub
|
||||
|
|
@ -239,7 +239,7 @@ globs: ["**/*.ts", "**/*.tsx"]
|
|||
|
||||
**Workaround**:
|
||||
1. **For local rules**: Navigate directly to `.continue/rules/` folder and edit the `.md` file
|
||||
2. **For Hub rules**: Go directly to your assistant page on [Continue Hub](https://hub.continue.dev) and edit from there
|
||||
2. **For Hub rules**: Go directly to your assistant page on [Continue Mission Control](https://hub.continue.dev) and edit from there
|
||||
3. Keep track of which rules are local vs Hub-based to avoid confusion
|
||||
|
||||
<Info>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ The **Tetrate Agent Router Service** provides a unified Gateway for accessing va
|
|||
This gateway acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization.
|
||||
|
||||
<Tip>
|
||||
Want to get started quickly? Sign up for the [Tetrate Agent Router Service](https://router.tetrate.ai/) to get an API key, then use [Tetrate on Continue Hub](https://hub.continue.dev/tetrate) to get started fast.
|
||||
Want to get started quickly? Sign up for the [Tetrate Agent Router Service](https://router.tetrate.ai/) to get an API key, then use [Tetrate on Continue Mission Control](https://hub.continue.dev/tetrate) to get started fast.
|
||||
</Tip>
|
||||
|
||||
## Setup
|
||||
|
|
@ -32,13 +32,13 @@ Go to the [API keys page](https://router.tetrate.ai/api-keys) to get your key
|
|||
</Steps>
|
||||
|
||||
|
||||
### Quickstart with Continue Hub
|
||||
### Quickstart with Continue Mission Control
|
||||
|
||||
Fastest way: use preconfigured models from Tetrate on Continue Hub
|
||||
Fastest way: use preconfigured models from Tetrate on Continue Mission Control
|
||||
|
||||
<Steps>
|
||||
<Step title="Browse models">
|
||||
Open [Tetrate on Continue Hub](https://hub.continue.dev/tetrate) and pick a model (e.g., [Claude Sonnet 4](https://hub.continue.dev/tetrate/claude-sonnet-4))
|
||||
Open [Tetrate on Continue Mission Control](https://hub.continue.dev/tetrate) and pick a model (e.g., [Claude Sonnet 4](https://hub.continue.dev/tetrate/claude-sonnet-4))
|
||||
</Step>
|
||||
|
||||
<Step title="Use or remix">
|
||||
|
|
@ -46,14 +46,14 @@ Click "Use Model", or "Remix" to change the model ID if needed
|
|||
</Step>
|
||||
|
||||
<Step title="Add your API key">
|
||||
Add your API key to Continue. See [adding secrets in Continue Hub](/hub/secrets/secret-types) and [managing local secrets in the FAQ](/faqs#managing-local-secrets-and-environment-variables)
|
||||
Add your API key to Continue. See [adding secrets in Continue Mission Control](/hub/secrets/secret-types) and [managing local secrets in the FAQ](/faqs#managing-local-secrets-and-environment-variables)
|
||||
<Tip>
|
||||
Add it as a Continue Hub secret named `TETRATE_API_KEY` to reuse across projects.
|
||||
Add it as a Continue Mission Control secret named `TETRATE_API_KEY` to reuse across projects.
|
||||
</Tip>
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||

|
||||

|
||||
|
||||
<Info>
|
||||
If a model is missing, remix a similar one and set the `model` field to the target ID.
|
||||
|
|
@ -65,7 +65,7 @@ If a model is missing, remix a similar one and set the `model` field to the targ
|
|||
<Card title="In Local Agent Configuration" icon="folder" vertical>
|
||||
Use a Tetrate model block from the Hub or define it directly in your local agent configuration.
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="cloud" vertical>
|
||||
<Card title="Continue Mission Control" icon="cloud" vertical>
|
||||
Use a Tetrate model block from the Hub or define your own on the Hub.
|
||||
</Card>
|
||||
<Card title="Using Local Model Blocks" icon="file-lines" vertical>
|
||||
|
|
@ -130,7 +130,7 @@ context:
|
|||
- provider: codebase
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="Continue Hub">
|
||||
<Tab title="Continue Mission Control">
|
||||
**When to use**: Share configurations across teams or contribute to the community.
|
||||
|
||||
**The Model Block:**
|
||||
|
|
@ -151,7 +151,7 @@ models:
|
|||
capabilities:
|
||||
- tool_use
|
||||
```
|
||||
View the model block `tetrate/claude-sonnet-4` on the [Continue Hub](https://hub.continue.dev/tetrate/claude-sonnet-4).
|
||||
View the model block `tetrate/claude-sonnet-4` on the [Continue Mission Control](https://hub.continue.dev/tetrate/claude-sonnet-4).
|
||||
|
||||
**Reference it in your Agent configuration:**
|
||||
|
||||
|
|
@ -172,7 +172,7 @@ context:
|
|||
</Tab>
|
||||
|
||||
<Tab title="Using Local Model Blocks">
|
||||
**When to use**: Reuse configurations across agents and keep them local or in GitHub (not on Continue Hub).
|
||||
**When to use**: Reuse configurations across agents and keep them local or in GitHub (not on Continue Mission Control).
|
||||
|
||||
**The Local Model Block:**
|
||||
<Info>
|
||||
|
|
|
|||
193
docs/docs.json
193
docs/docs.json
|
|
@ -3,7 +3,7 @@
|
|||
"theme": "mint",
|
||||
"name": "Continue",
|
||||
"banner": {
|
||||
"content": "Continue CLI v1.5.1 is live 🚀 Learn how you can leverage the CLI with our [MCP Cookbooks](https://docs.continue.dev/guides/overview#mcp-integration-cookbooks)",
|
||||
"content": "Check out our new look in Mission Control. It's now easier than ever to create [Workflows](https://hub.continue.dev/workflows), [Integrate with the tools you use](https://hub.continue.dev/integrations), and to create a one-off Task.",
|
||||
"dismissable": true
|
||||
},
|
||||
"colors": {
|
||||
|
|
@ -23,48 +23,62 @@
|
|||
"pages": ["index"]
|
||||
},
|
||||
{
|
||||
"group": "Hub",
|
||||
"group": "Mission Control",
|
||||
"icon": "globe",
|
||||
"pages": [
|
||||
"hub/introduction",
|
||||
{
|
||||
"group": "Configs",
|
||||
"icon": "book",
|
||||
"pages": [
|
||||
"hub/configs/intro",
|
||||
"hub/configs/use-a-config",
|
||||
"hub/configs/create-a-config",
|
||||
"hub/configs/edit-a-config"
|
||||
]
|
||||
},
|
||||
"mission-control",
|
||||
"mission-control/tasks",
|
||||
"mission-control/workflows",
|
||||
"mission-control/metrics",
|
||||
"mission-control/sharing",
|
||||
{
|
||||
"group": "Governance",
|
||||
"icon": "building",
|
||||
"pages": [
|
||||
"hub/governance/creating-an-org",
|
||||
"hub/governance/org-permissions",
|
||||
"hub/governance/pricing"
|
||||
"mission-control/governance/creating-an-org",
|
||||
"mission-control/governance/org-permissions",
|
||||
"mission-control/governance/pricing"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"group": "Integrations",
|
||||
"icon": "plug",
|
||||
"pages": [
|
||||
"mission-control/integrations",
|
||||
"mission-control/integrations/github",
|
||||
"mission-control/integrations/sentry",
|
||||
"mission-control/integrations/snyk",
|
||||
"mission-control/integrations/slack-agent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Secrets",
|
||||
"icon": "key",
|
||||
"pages": [
|
||||
"hub/secrets/secret-types",
|
||||
"hub/secrets/secret-resolution"
|
||||
"mission-control/secrets/secret-types",
|
||||
"mission-control/secrets/secret-resolution"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Agents",
|
||||
"icon": "robot",
|
||||
"group": "Configs",
|
||||
"icon": "book",
|
||||
"pages": [
|
||||
"hub/agents/intro",
|
||||
"hub/agents/overview",
|
||||
"hub/agents/create-and-edit"
|
||||
"mission-control/configs/intro",
|
||||
"mission-control/configs/use-a-config",
|
||||
"mission-control/configs/create-a-config",
|
||||
"mission-control/configs/edit-a-config"
|
||||
]
|
||||
},
|
||||
"hub/sharing",
|
||||
"hub/source-control"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Agents",
|
||||
"icon": "robot",
|
||||
"pages": [
|
||||
"agents/intro",
|
||||
"agents/overview",
|
||||
"agents/create-and-edit"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -86,6 +100,7 @@
|
|||
"ide-extensions/quick-start",
|
||||
{
|
||||
"group": "Agent",
|
||||
"expanded": false,
|
||||
"icon": "robot",
|
||||
"pages": [
|
||||
"ide-extensions/agent/quick-start",
|
||||
|
|
@ -98,6 +113,7 @@
|
|||
},
|
||||
{
|
||||
"group": "Chat",
|
||||
"expanded": false,
|
||||
"icon": "messages",
|
||||
"pages": [
|
||||
"ide-extensions/chat/quick-start",
|
||||
|
|
@ -109,6 +125,8 @@
|
|||
},
|
||||
{
|
||||
"group": "Autocomplete",
|
||||
"expanded": false,
|
||||
|
||||
"icon": "sparkles",
|
||||
"pages": [
|
||||
"ide-extensions/autocomplete/quick-start",
|
||||
|
|
@ -121,6 +139,8 @@
|
|||
},
|
||||
{
|
||||
"group": "Edit",
|
||||
"expanded": false,
|
||||
|
||||
"icon": "pen-to-square",
|
||||
"pages": [
|
||||
"ide-extensions/edit/quick-start",
|
||||
|
|
@ -218,7 +238,6 @@
|
|||
"icon": "microscope",
|
||||
"pages": [
|
||||
"customize/deep-dives/configuration",
|
||||
"customize/deep-dives/slash-commands",
|
||||
"customize/deep-dives/rules",
|
||||
"customize/deep-dives/prompts",
|
||||
"customize/deep-dives/autocomplete",
|
||||
|
|
@ -368,44 +387,97 @@
|
|||
}
|
||||
},
|
||||
"custom": {
|
||||
"css": ["custom.css"]
|
||||
"css": ["custom.css"],
|
||||
"js": ["reo-tracking.js"]
|
||||
},
|
||||
"redirects": [
|
||||
{
|
||||
"source": "/hub",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/introduction",
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/configs/intro",
|
||||
"destination": "/mission-control/configs/intro"
|
||||
},
|
||||
{
|
||||
"source": "/hub/configs/use-a-config",
|
||||
"destination": "/mission-control/configs/use-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/configs/create-a-config",
|
||||
"destination": "/mission-control/configs/create-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/configs/edit-a-config",
|
||||
"destination": "/mission-control/configs/edit-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/governance",
|
||||
"destination": "/hub/governance/org-permissions"
|
||||
"destination": "/mission-control/governance/org-permissions"
|
||||
},
|
||||
{
|
||||
"source": "/hub/governance/creating-an-org",
|
||||
"destination": "/mission-control/governance/creating-an-org"
|
||||
},
|
||||
{
|
||||
"source": "/hub/governance/org-permissions",
|
||||
"destination": "/mission-control/governance/org-permissions"
|
||||
},
|
||||
{
|
||||
"source": "/hub/governance/pricing",
|
||||
"destination": "/mission-control/governance/pricing"
|
||||
},
|
||||
{
|
||||
"source": "/hub/secrets",
|
||||
"destination": "/hub/secrets/secret-types"
|
||||
"destination": "/mission-control/secrets/secret-types"
|
||||
},
|
||||
{
|
||||
"source": "/hub/secrets/secret-types",
|
||||
"destination": "/mission-control/secrets/secret-types"
|
||||
},
|
||||
{
|
||||
"source": "/hub/secrets/secret-resolution",
|
||||
"destination": "/mission-control/secrets/secret-resolution"
|
||||
},
|
||||
{
|
||||
"source": "/hub/sharing",
|
||||
"destination": "/mission-control/sharing"
|
||||
},
|
||||
{
|
||||
"source": "/hub/source-control",
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/intro",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/use-a-block",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/block-types",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/workflows/intro",
|
||||
"destination": "/hub/agents/intro"
|
||||
"destination": "/agents/intro"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/create-a-block",
|
||||
"destination": "/hub/introduction"
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/bundles",
|
||||
"destination": "/mission-control"
|
||||
},
|
||||
{
|
||||
"source": "/customize",
|
||||
|
|
@ -1075,10 +1147,7 @@
|
|||
"source": "/guides/build-your-own-context-provider",
|
||||
"destination": "/customize/deep-dives/custom-providers"
|
||||
},
|
||||
{
|
||||
"source": "/hub/blocks/bundles",
|
||||
"destination": "/hub/introduction"
|
||||
},
|
||||
|
||||
{
|
||||
"source": "/customize/settings",
|
||||
"destination": "/customize/overview"
|
||||
|
|
@ -1233,31 +1302,31 @@
|
|||
},
|
||||
{
|
||||
"source": "/hub/assistants/intro",
|
||||
"destination": "/hub/configs/intro"
|
||||
"destination": "/mission-control/configs/intro"
|
||||
},
|
||||
{
|
||||
"source": "/hub/assistants/use-an-assistant",
|
||||
"destination": "/hub/configs/use-a-config"
|
||||
"destination": "/mission-control/configs/use-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/assistants/create-an-assistant",
|
||||
"destination": "/hub/configs/create-a-config"
|
||||
"destination": "/mission-control/configs/create-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/assistants/edit-an-assistant",
|
||||
"destination": "/hub/configs/edit-a-config"
|
||||
"destination": "/mission-control/configs/edit-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/use-an-agent",
|
||||
"destination": "/hub/configs/use-a-config"
|
||||
"destination": "/mission-control/configs/use-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/create-an-agent",
|
||||
"destination": "/hub/configs/create-a-config"
|
||||
"destination": "/mission-control/configs/create-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/edit-an-agent",
|
||||
"destination": "/hub/configs/edit-a-config"
|
||||
"destination": "/mission-control/configs/edit-a-config"
|
||||
},
|
||||
{
|
||||
"source": "/guides/understanding-assistants",
|
||||
|
|
@ -1362,6 +1431,34 @@
|
|||
{
|
||||
"source": "/getting-started/quick-start",
|
||||
"destination": "/ide-extensions/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/intro",
|
||||
"destination": "/agents/intro"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/overview",
|
||||
"destination": "/agents/overview"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/create-and-edit",
|
||||
"destination": "/agents/create-and-edit"
|
||||
},
|
||||
{
|
||||
"source": "/hub/agents/slack-agent",
|
||||
"destination": "/mission-control/integrations/slack-agent"
|
||||
},
|
||||
{
|
||||
"source": "/hub/integrations/slack-agent",
|
||||
"destination": "/mission-control/integrations/slack-agent"
|
||||
},
|
||||
{
|
||||
"source": "/hub/integrations/github",
|
||||
"destination": "/mission-control/integrations/github"
|
||||
},
|
||||
{
|
||||
"source": "/hub/integrations/sentry",
|
||||
"destination": "/mission-control/integrations/sentry"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ models:
|
|||
apiKey: ${{ secrets.OPENAI_API_KEY }}
|
||||
```
|
||||
|
||||
#### Hub-managed secrets
|
||||
#### Mission Control-managed secrets
|
||||
|
||||
For centralized team secret management, use `${{ inputs.SECRET_NAME }}` syntax in your config.yaml and manage them at [https://hub.continue.dev/settings/secrets](https://hub.continue.dev/settings/secrets):
|
||||
```yaml
|
||||
|
|
@ -318,12 +318,12 @@ If your API keys aren't being recognized:
|
|||
|
||||
### Using Model Addons Locally
|
||||
|
||||
You can leverage model addons from the Continue Hub in your local configurations using the `uses:` syntax. This allows you to reference pre-configured model blocks without duplicating configuration.
|
||||
You can leverage model addons from the Continue Mission Control in your local configurations using the `uses:` syntax. This allows you to reference pre-configured model blocks without duplicating configuration.
|
||||
|
||||
#### Requirements
|
||||
|
||||
- You must be logged in to Continue
|
||||
- Internet connection is required (model addons are fetched from the hub)
|
||||
- Internet connection is required (model addons are fetched from Mission Control)
|
||||
|
||||
#### Usage
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ For all options, first:
|
|||
<Tab title="📋 Jira Agent (Recommended for Issue Management)">
|
||||
<Steps>
|
||||
<Step title="Use the Jira Agent">
|
||||
Visit the [Atlassian Continuous AI - Jira Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-jira-agent) on Continue Hub. This agent is optimized for:
|
||||
Visit the [Atlassian Continuous AI - Jira Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-jira-agent) on Continue Mission Control. This agent is optimized for:
|
||||
- Searching and filtering Jira issues
|
||||
- Creating and updating issues
|
||||
- Sprint planning and workload analysis
|
||||
|
|
@ -100,7 +100,7 @@ For all options, first:
|
|||
<Tab title="📄 Confluence Agent (Recommended for Documentation)">
|
||||
<Steps>
|
||||
<Step title="Use the Confluence Agent">
|
||||
Visit the [Atlassian Continuous AI - Confluence Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) on Continue Hub. This agent is optimized for:
|
||||
Visit the [Atlassian Continuous AI - Confluence Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) on Continue Mission Control. This agent is optimized for:
|
||||
- Searching and summarizing documentation
|
||||
- Creating and updating Confluence pages
|
||||
- Managing spaces and content
|
||||
|
|
@ -133,8 +133,8 @@ For all options, first:
|
|||
|
||||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create a New 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 title="Create a New Agent on Continue Mission Control">
|
||||
Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Add Atlassian MCP">
|
||||
|
|
@ -168,7 +168,7 @@ For all options, first:
|
|||
<Accordion title="Agent Requirements">
|
||||
To use Atlassian 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
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
|
||||
The agent will automatically detect and use your configuration along with the Atlassian MCP for Jira, Confluence, and Compass operations.
|
||||
|
||||
|
|
@ -485,7 +485,7 @@ After completing this guide, you have a complete **AI-powered Atlassian workflow
|
|||
<Card title="MCP in Continue" icon="book" href="/customize/deep-dives/mcp">
|
||||
How MCP works with Continue agents
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="globe" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="globe" href="https://hub.continue.dev">
|
||||
Create and manage your agents
|
||||
</Card>
|
||||
<Card title="Atlassian Community" icon="users" href="https://community.atlassian.com/">
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Chrome Dev Tools Agent](https://hub.continue.dev/continuedev/chrome-dev-tools-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Chrome Dev Tools Agent](https://hub.continue.dev/continuedev/chrome-dev-tools-agent) on Continue Mission Control and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/chrome-dev-tools-agent
|
||||
|
|
@ -96,7 +96,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Add Chrome DevTools MCP to Your Assistant">
|
||||
Visit the [Chrome DevTools MCP](https://hub.continue.dev/google/chrome-devtools-mcp) on Continue Hub and add it to your assistant, or add this to your configuration:
|
||||
Visit the [Chrome DevTools MCP](https://hub.continue.dev/google/chrome-devtools-mcp) on Continue Mission Control and add it to your assistant, or add this to your configuration:
|
||||
|
||||
```yaml
|
||||
name: Chrome DevTools MCP
|
||||
|
|
@ -140,7 +140,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
- **Chrome browser** installed on your system
|
||||
- **Node.js 20+** to run the MCP via npx
|
||||
|
||||
|
|
@ -786,7 +786,7 @@ Set up automated regression detection:
|
|||
<Card title="Chrome DevTools MCP" icon="plug" href="https://github.com/ChromeDevTools/chrome-devtools-mcp">
|
||||
Official Chrome DevTools MCP repository
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="circle-nodes" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="circle-nodes" href="https://hub.continue.dev">
|
||||
Explore more MCP integrations
|
||||
</Card>
|
||||
<Card title="DevTools Documentation" icon="book" href="https://developer.chrome.com/docs/devtools">
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ echo "$(git diff) Generate a conventional commit name for the current git change
|
|||
|
||||
## How to Configure Continue CLI
|
||||
|
||||
`cn` uses [`config.yaml`](/reference), the exact same configuration file as Continue. This means that you can log in to [Continue Hub](/hub/introduction) or use your existing local configuration.
|
||||
`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`).
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ Learn how to add custom models [here](/customize/overview). Then, you can use th
|
|||
|
||||
### How to Configure Rules
|
||||
|
||||
`cn` supports [rules](/customize/deep-dives/rules) in the same way as the Continue IDE extensions. You can also use the `--rule` flag to manually include a rule from the hub. For example, `cn --rule nate/spanish` will tell `cn` to use [this rule](https://hub.continue.dev/nate/spanish) to always speak in Spanish.
|
||||
`cn` supports [rules](/customize/deep-dives/rules) in the same way as the Continue IDE extensions. You can also use the `--rule` flag to manually include a rule from Mission Control. For example, `cn --rule nate/spanish` will tell `cn` to use [this rule](https://hub.continue.dev/nate/spanish) to always speak in Spanish.
|
||||
|
||||
### How to Configure Tools
|
||||
|
||||
|
|
|
|||
|
|
@ -176,6 +176,6 @@ models:
|
|||
Now that you understand how models, rules, and tools work, explore:
|
||||
|
||||
- **[Config Reference](/reference)**: Detailed documentation of all available properties
|
||||
- **[Continue Hub](https://hub.continue.dev)**: Browse community models, rules, and tools
|
||||
- **[Continue Mission Control](https://hub.continue.dev)**: Browse community models, rules, and tools
|
||||
- **[Custom Context Providers](/customize/deep-dives/custom-providers)**: Create advanced context integrations
|
||||
- **[Model Roles](/customize/model-roles/intro)**: Understanding how different models work together
|
||||
|
|
|
|||
|
|
@ -478,8 +478,8 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy:
|
|||
[Learn more about Mintlify MCP generation →](https://www.mintlify.com/blog/generate-mcp-servers-for-your-docs)
|
||||
</Step>
|
||||
|
||||
<Step title="Publish to Continue Hub">
|
||||
Share your docs MCP on [Continue Hub](https://hub.continue.dev/new?type=mcp) so others can use it with Continue agents.
|
||||
<Step title="Publish to Continue Mission Control">
|
||||
Share your docs MCP on [Continue Mission Control](https://hub.continue.dev/new?type=mcp) so others can use it with Continue agents.
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
|
|||
|
|
@ -80,14 +80,14 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
|
||||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create a New Agent via the Continue Hub">
|
||||
Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
<Step title="Create a New Agent via the Continue Mission Control">
|
||||
Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Connect dlt MCP via Continue Hub">
|
||||
Visit the [dlt MCP on Continue Hub](https://hub.continue.dev/dlthub/dlt-mcp) and click **Install** to add it to the agent you created in the step above.
|
||||
<Step title="Connect dlt MCP via Continue Mission Control">
|
||||
Visit the [dlt MCP on Continue Mission Control](https://hub.continue.dev/dlthub/dlt-mcp) and click **Install** to add it to the agent you created in the step above.
|
||||
|
||||
This will add dlt MCP to your agent's available tools. The Hub listing automatically configures the MCP command.
|
||||
This will add dlt MCP to your agent's available tools. The Mission Control listing automatically configures the MCP command.
|
||||
|
||||
<Tip>
|
||||
**Alternative installation methods:**
|
||||
|
|
@ -119,7 +119,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent), you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets (same as manual setup)
|
||||
- **Your own API keys** added to Continue Mission Control secrets (same as manual setup)
|
||||
|
||||
The agent will automatically detect and use your configuration along with the pre-configured dlt MCP for pipeline operations.
|
||||
|
||||
|
|
@ -152,7 +152,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
Now you can use natural language prompts to develop and debug your dlt pipelines. The Continue agent automatically calls the appropriate dlt MCP tools.
|
||||
|
||||
<Info>
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Hub](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Mission Control](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
|
|
@ -400,7 +400,7 @@ Test the connection and report any issues."
|
|||
|
||||
<Check>
|
||||
**Verification Steps:**
|
||||
- dlt MCP is installed via [Continue Hub](https://hub.continue.dev/dlthub/dlt-mcp)
|
||||
- dlt MCP is installed via [Continue Mission Control](https://hub.continue.dev/dlthub/dlt-mcp)
|
||||
- Pipeline directory is accessible
|
||||
- Destination database credentials are configured
|
||||
- Pipeline has been run at least once
|
||||
|
|
@ -436,7 +436,7 @@ After completing this guide, you have a complete **AI-powered data pipeline deve
|
|||
<Card title="dlt Documentation" icon="book" href="https://dlthub.com/docs">
|
||||
Complete dlt platform documentation
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="plug" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="plug" href="https://hub.continue.dev">
|
||||
Explore more MCP integrations and agents
|
||||
</Card>
|
||||
<Card
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ This process utilizes the **Continue CLI** (`cn`) in **headless mode** to analyz
|
|||
</Card>
|
||||
|
||||
<Card title="Continue API Key" icon="key">
|
||||
Get your API key from [Continue Hub](https://hub.continue.dev/settings/api-keys) and set:
|
||||
Get your API key from [Continue Mission Control](https://hub.continue.dev/settings/api-keys) and set:
|
||||
```bash
|
||||
export CONTINUE_API_KEY=your_key_here
|
||||
```
|
||||
|
|
@ -355,7 +355,7 @@ Ready to implement automated documentation with Continue CLI? Here are some help
|
|||
Checkout this video from Tetrate about using Continue Agents to help with writing your docs.
|
||||
</Card>
|
||||
|
||||
<Card title="Continue Hub" icon="users" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="users" href="https://hub.continue.dev">
|
||||
Browse pre-built agents and configurations from the Continue community.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ For all options, first:
|
|||
</Step>
|
||||
|
||||
<Step title="Configure GitHub Token">
|
||||
Add your `GITHUB_TOKEN` to your [Continue Hub agent's environment variables](https://hub.continue.dev/settings).
|
||||
Add your `GITHUB_TOKEN` to your [Continue Mission Control agent's environment variables](https://hub.continue.dev/settings).
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ For all options, first:
|
|||
## GitHub MCP Workflow Options
|
||||
|
||||
<Card title="🚀 Fastest Path to Success" icon="rocket">
|
||||
Use the GitHub MCP from Continue Hub for one-click setup, or add it via CLI.
|
||||
Use the GitHub MCP from Continue Mission Control for one-click setup, or add it via CLI.
|
||||
</Card>
|
||||
|
||||
After ensuring you meet the **Prerequisites** above, you have two paths to get started:
|
||||
|
|
@ -53,8 +53,8 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Tabs>
|
||||
<Tab title="⚡ Quick Start (Recommended)">
|
||||
<Steps>
|
||||
<Step title="Install GitHub MCP via Continue Hub">
|
||||
Visit the [GitHub Project Manager Agent](https://hub.continue.dev/continuedev/github-project-manager-agent) on Continue Hub and click **Install** to add it to your agent.
|
||||
<Step title="Install GitHub MCP via Continue Mission Control">
|
||||
Visit the [GitHub Project Manager Agent](https://hub.continue.dev/continuedev/github-project-manager-agent) on Continue Mission Control and click **Install** to add it to your agent.
|
||||
|
||||
The listing provides a pre-configured MCP block; add your `GITHUB_TOKEN` in Hub.
|
||||
</Step>
|
||||
|
|
@ -75,8 +75,8 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
|
||||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create a New 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 title="Create a New Agent on Continue Mission Control">
|
||||
Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Add GitHub MCP">
|
||||
|
|
@ -112,7 +112,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Accordion title="Agent Requirements">
|
||||
To use GitHub 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
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
|
||||
The agent will automatically detect and use your configuration along with the GitHub MCP for issue and PR operations.
|
||||
|
||||
|
|
@ -298,7 +298,7 @@ jobs:
|
|||
- **Missing or invalid token:** Ensure `GITHUB_TOKEN` is set and has the required scopes. Try a minimal test: “List 3 open issues in this repo”.
|
||||
- **Permissions errors on comment:** Your token must include `public_repo` (public) or `repo` (private) to write comments.
|
||||
- **Rate limiting:** Reduce frequency or filter queries; consider using a PAT distinct from the default Actions token when running in CI.
|
||||
- **MCP connection timeout:** If using custom YAML, increase `connectionTimeout` or verify the `command`/`args` from the Hub listing.
|
||||
- **MCP connection timeout:** If using custom YAML, increase `connectionTimeout` or verify the `command`/`args` from Mission Control listing.
|
||||
|
||||
## What You've Built
|
||||
|
||||
|
|
@ -328,13 +328,13 @@ After completing this guide, you have a complete **AI-powered GitHub workflow sy
|
|||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="GitHub MCP (Anthropic)" icon="link" href="https://hub.continue.dev/anthropic/github-mcp">
|
||||
Anthropic GitHub MCP on Continue Hub
|
||||
Anthropic GitHub MCP on Continue Mission Control
|
||||
</Card>
|
||||
<Card title="MCP in Continue" icon="book" href="/customize/deep-dives/mcp">
|
||||
How MCP works with Continue agents
|
||||
</Card>
|
||||
<Card title="GitHub Project Manager Agent" icon="robot" href="https://hub.continue.dev/continuedev/github-project-manager-agent">
|
||||
Pre-configured agent on Continue Hub
|
||||
Pre-configured agent on Continue Mission Control
|
||||
</Card>
|
||||
<Card title="GitHub MCP Server" icon="link" href="https://github.com/github/github-mcp-server/blob/main/README.md">
|
||||
Official GitHub MCP server README
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ After completing this setup, you have an **AI-powered code review system** that:
|
|||
<Card title="Continue CLI Guide" icon="terminal" href="/guides/cli">
|
||||
Learn more about Continue CLI capabilities
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="globe" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="globe" href="https://hub.continue.dev">
|
||||
Browse shared configs and create your own
|
||||
</Card>
|
||||
<Card title="Rules Documentation" icon="book" href="/customize/deep-dives/rules">
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Netlify Continuous AI Agent](https://hub.continue.dev/continuedev/netlify-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Netlify Continuous AI Agent](https://hub.continue.dev/continuedev/netlify-continuous-ai-agent) on Continue Mission Control and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/netlify-continuous-ai-agent
|
||||
|
|
@ -128,7 +128,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
<Step title="Add Development Rules">
|
||||
Install the [Netlify Development Rules](https://hub.continue.dev/netlify/netlify-development) bundle for best practices:
|
||||
|
||||
1. Visit the bundle page on Continue Hub
|
||||
1. Visit the bundle page on Continue Mission Control
|
||||
2. Click **"Install Rules"**
|
||||
3. Rules automatically apply to your agent
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ After completing **Quick Setup** above, you have two paths to get started:
|
|||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with
|
||||
the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
The agent will automatically detect and use your
|
||||
configuration along with the Netlify MCP for deployment operations.
|
||||
|
||||
|
|
@ -705,14 +705,14 @@ The Netlify Performance Rules enforce:
|
|||
|
||||
## Next Steps
|
||||
|
||||
- Install [Netlify MCP](https://hub.continue.dev/netlify/netlify-mcp) from Continue Hub
|
||||
- Install [Netlify MCP](https://hub.continue.dev/netlify/netlify-mcp) from Continue Mission Control
|
||||
- Set up [Performance Monitoring](https://docs.netlify.com/analytics/get-started/)
|
||||
- Configure [A/B Testing](https://docs.netlify.com/split-testing/overview/)
|
||||
- Join the [Continue Discord](https://discord.gg/continue) for support
|
||||
|
||||
## Resources
|
||||
|
||||
- [Netlify MCP on Continue Hub](https://hub.continue.dev/netlify/netlify-mcp)
|
||||
- [Netlify MCP on Continue Mission Control](https://hub.continue.dev/netlify/netlify-mcp)
|
||||
- [Core Web Vitals Guide](https://web.dev/vitals/)
|
||||
- [Netlify Analytics Documentation](https://docs.netlify.com/analytics/)
|
||||
- [Continue Performance Guides](https://docs.continue.dev/guides)
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ There are multiple ways to configure Ollama models in Continue:
|
|||
|
||||
### Method 1: Using Hub Model Blocks in Local config.yaml
|
||||
|
||||
The easiest way is to use [pre-configured model blocks](/reference#local-blocks) from the Continue Hub in your local configuration:
|
||||
The easiest way is to use [pre-configured model blocks](/reference#local-blocks) from the Continue Mission Control in your local configuration:
|
||||
|
||||
```yaml title="~/.continue/configs/config.yaml"
|
||||
name: My Local Config
|
||||
|
|
@ -97,11 +97,11 @@ models:
|
|||
```
|
||||
|
||||
<Warning>
|
||||
**Important**: Hub blocks only provide configuration - you still need to pull
|
||||
the model locally. The hub block `ollama/deepseek-r1-32b` configures Continue
|
||||
**Important**: Blocks only provide configuration - you still need to pull
|
||||
the model locally. The block `ollama/deepseek-r1-32b` configures Continue
|
||||
to use `model: deepseek-r1:32b`, but the actual model must be installed:
|
||||
```bash
|
||||
# Check what the hub block expects (view on hub.continue.dev)
|
||||
# Check what the block expects (view on hub.continue.dev)
|
||||
# Then pull that exact model tag locally
|
||||
ollama pull deepseek-r1:32b # Required for ollama/deepseek-r1-32b hub block
|
||||
```
|
||||
|
|
@ -146,7 +146,7 @@ You can update `apiBase` with the IP address of a remote machine serving Ollama.
|
|||
|
||||
### Method 3: Manual Configuration
|
||||
|
||||
For custom configurations or models not on the hub:
|
||||
For custom configurations or models not in Mission Control:
|
||||
|
||||
```yaml
|
||||
models:
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ Step-by-step guides for integrating Model Context Protocol (MCP) servers with Co
|
|||
Automated error analysis with Sentry MCP to identify patterns and create actionable GitHub issues
|
||||
</Card>
|
||||
|
||||
<Card title="Snyk + Continue Hub Agent Cookbook (MCP)" icon="shield" href="/guides/snyk-mcp-continue-cookbook">
|
||||
Integrate Snyk MCP via Continue Hub to scan code, deps, IaC, and containers
|
||||
<Card title="Snyk + Continue Mission Control Agent Cookbook (MCP)" icon="shield" href="/guides/snyk-mcp-continue-cookbook">
|
||||
Integrate Snyk MCP via Continue Mission Control to scan code, deps, IaC, and containers
|
||||
</Card>
|
||||
|
||||
<Card title="Supabase Database Workflow Cookbook" icon="database" href="/guides/supabase-mcp-database-workflow">
|
||||
|
|
|
|||
|
|
@ -98,9 +98,9 @@ First, you'll need to gather your PostHog and GitHub API credentials and add the
|
|||
See https://docs.continue.dev/hub/secrets/secret-types#secret-types for adding secrets
|
||||
</Tip>
|
||||
|
||||
You only need to configure the PostHog MCP credential - it automatically handles project selection. To add environment variables to your Continue Hub account:
|
||||
You only need to configure the PostHog MCP credential - it automatically handles project selection. To add environment variables to your Continue Mission Control account:
|
||||
|
||||
1. Go to the [Continue Hub](https://hub.continue.dev)
|
||||
1. Go to the [Continue Mission Control](https://hub.continue.dev)
|
||||
2. Sign in to your account
|
||||
3. Navigate to your user settings
|
||||
4. Look for the "Secrets" section
|
||||
|
|
@ -134,7 +134,7 @@ You only need to configure the PostHog MCP credential - it automatically handles
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [PostHog Continuous AI Agent](https://hub.continue.dev/continuedev/posthog-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [PostHog Continuous AI Agent](https://hub.continue.dev/continuedev/posthog-continuous-ai-agent) on Continue Mission Control and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/posthog-continuous-ai-agent
|
||||
|
|
@ -171,7 +171,7 @@ You only need to configure the PostHog MCP credential - it automatically handles
|
|||
```
|
||||
</Step>
|
||||
<Step title="Add PostHog + GitHub Analysis Rules">
|
||||
In the Continue Hub, add the [PostHog GitHub Continuous AI Rules](https://hub.continue.dev/bekah-hawrot-weigel/posthog-github-continuous-ai-rules) to your account for better formatting and error handling.
|
||||
In the Continue Mission Control, add the [PostHog GitHub Continuous AI Rules](https://hub.continue.dev/bekah-hawrot-weigel/posthog-github-continuous-ai-rules) to your account for better formatting and error handling.
|
||||
</Step>
|
||||
<Step title="Create Your Custom Prompts">
|
||||
Use this prompt with Continue CLI to analyze PostHog data and create GitHub issues:
|
||||
|
|
@ -203,7 +203,7 @@ You only need to configure the PostHog MCP credential - it automatically handles
|
|||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with
|
||||
the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
The agent will automatically detect and use your
|
||||
configuration.
|
||||
|
||||
|
|
@ -355,6 +355,6 @@ Consider enhancing your workflow with these advanced Continue CLI prompts:
|
|||
- [PostHog Feature Flags](https://posthog.com/docs/feature-flags)
|
||||
- [PostHog Error Tracking](https://posthog.com/docs/error-tracking)
|
||||
- [GitHub CLI Documentation](https://cli.github.com/)
|
||||
- [GitHub MCP on Continue Hub](https://hub.continue.dev/github/github-mcp) (alternative option)
|
||||
- [GitHub MCP on Continue Mission Control](https://hub.continue.dev/github/github-mcp) (alternative option)
|
||||
- [Continue CLI Guide](https://docs.continue.dev/guides/cli)
|
||||
- [Continuous AI Best Practices](https://blog.continue.dev/what-is-continuous-ai-a-developers-guide/)
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Tab title="⚡ Quick Start (Recommended)">
|
||||
<Steps>
|
||||
<Step title="Load the Pre-Built Agent">
|
||||
Visit the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) on Continue Hub and click **"Install Config"** or run:
|
||||
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
|
||||
|
|
@ -110,14 +110,14 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
|
||||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create a New Agent via the Continue Hub">
|
||||
Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
<Step title="Create a New Agent via the Continue Mission Control">
|
||||
Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Connect Sanity MCP via Continue Hub">
|
||||
Visit the [Sanity MCP on Continue Hub](https://hub.continue.dev/sanity/sanity-mcp) and click **"Install"** to add it to the agent you created in the step above.
|
||||
<Step title="Connect Sanity MCP via Continue Mission Control">
|
||||
Visit the [Sanity MCP on Continue Mission Control](https://hub.continue.dev/sanity/sanity-mcp) and click **"Install"** to add it to the agent you created in the step above.
|
||||
|
||||
This will add Sanity MCP to your agent's available tools. The Hub listing automatically configures the MCP connection.
|
||||
This will add Sanity MCP to your agent's available tools. The Mission Control listing automatically configures the MCP connection.
|
||||
|
||||
<Tip>
|
||||
**Alternative installation methods:**
|
||||
|
|
@ -158,7 +158,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built Sanity Assistant agent, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
|
||||
The agent will automatically detect and use your configuration along with the pre-configured Sanity MCP for content operations. Note that OAuth authentication will be required on first use.
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ With everything set up, you're ready for your first AI-powered content conversat
|
|||
Now you can use natural language prompts to manage your Sanity content and schemas. The Continue agent automatically calls the appropriate Sanity MCP tools.
|
||||
|
||||
<Info>
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Hub](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Mission Control](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
|
|
@ -509,7 +509,7 @@ then provide a corrected version that achieves the intended result."
|
|||
|
||||
<Check>
|
||||
**Verification Steps:**
|
||||
- Sanity MCP is installed via [Continue Hub](https://hub.continue.dev/sanity/sanity-mcp)
|
||||
- Sanity MCP is installed via [Continue Mission Control](https://hub.continue.dev/sanity/sanity-mcp)
|
||||
- Project is authenticated with Sanity
|
||||
- Schema files are present and valid
|
||||
- Dataset permissions are correctly configured
|
||||
|
|
@ -545,7 +545,7 @@ After completing this guide, you have a complete **AI-powered content management
|
|||
<Card title="Sanity Documentation" icon="book" href="https://www.sanity.io/docs">
|
||||
Complete Sanity platform documentation
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="plug" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="plug" href="https://hub.continue.dev">
|
||||
Explore more MCP integrations and agents
|
||||
</Card>
|
||||
<Card
|
||||
|
|
|
|||
|
|
@ -4,6 +4,24 @@ description: "Build an AI-powered error monitoring workflow that analyzes Sentry
|
|||
sidebarTitle: "Sentry Automated Error Analysis with MCP"
|
||||
---
|
||||
|
||||
<Note>
|
||||
|
||||
**🚀 New: Sentry Mission Control Integration with Continuous AI**
|
||||
|
||||
The new [Sentry Mission Control Integration](/mission-control/integrations/sentry) enables **[Continuous AI](/guides/continuous-ai)** for error monitoring - where AI agents autonomously detect, analyze, and fix production errors. When Sentry detects an issue, your agent automatically analyzes it, generates a fix, creates a PR, and validates the solution without manual intervention.
|
||||
|
||||
**Mission Control Benefits:**
|
||||
- **Webhook-based triggers** - Automatically respond when new errors occur in production
|
||||
- **Centralized error workflows** - Manage all error monitoring Tasks from one dashboard
|
||||
- **Dedicated inbox view** - Monitor all Sentry-related agent activity at [hub.continue.dev/inbox?view=sentry](https://hub.continue.dev/inbox?view=sentry)
|
||||
- **Metrics & intervention rates** - Track how often agents successfully fix errors without human help
|
||||
|
||||
This represents **[Level 2 Continuous AI](/guides/continuous-ai#the-continuous-ai-maturity-model)**: AI handles routine error analysis and fixes autonomously while developers focus on complex problems. As outlined in our [Continuous AI guide](/guides/continuous-ai#best-practices-for-sustainable-continuous-ai), this reduces mean time to resolution (MTTR) and improves application reliability.
|
||||
|
||||
**Get Started:** Use this cookbook to understand error monitoring fundamentals, then [enable Mission Control](/mission-control/integrations/sentry) to deploy autonomous error-fixing agents across your organization.
|
||||
|
||||
</Note>
|
||||
|
||||
<Card title="What You'll Build" icon="bug">
|
||||
An automated error monitoring system that uses Continue CLI with Sentry MCP to analyze production errors, identify root causes with AI, and create detailed GitHub issues with suggested fixes.
|
||||
</Card>
|
||||
|
|
@ -138,7 +156,7 @@ First, you'll need to gather your Sentry and GitHub API credentials.
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai-agent) on Continue Mission Control and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/sentry-continuous-ai-agent
|
||||
|
|
@ -219,7 +237,7 @@ First, you'll need to gather your Sentry and GitHub API credentials.
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets (same as Step 1)
|
||||
- **Your own API keys** added to Continue Mission Control secrets (same as Step 1)
|
||||
|
||||
The agent will automatically detect and use your configuration. For Sentry MCP:
|
||||
- **Sentry account** with at least one project
|
||||
|
|
|
|||
|
|
@ -4,6 +4,24 @@ description: "Set up an AI-powered security workflow that automatically scans yo
|
|||
sidebarTitle: "Snyk Security Scanning with Continue"
|
||||
---
|
||||
|
||||
<Note>
|
||||
|
||||
**🚀 New: Snyk Mission Control Integration with Continuous AI**
|
||||
|
||||
The new [Snyk Mission Control Integration](/mission-control/integrations/snyk) enables **[Continuous AI](/guides/continuous-ai)** - where AI agents autonomously detect, analyze, and fix vulnerabilities. When Snyk detects an issue, your agent automatically generates a fix, creates a PR, and validates the solution without manual intervention.
|
||||
|
||||
**Mission Control Benefits:**
|
||||
- **One-click OAuth** - No tokens, no configuration files, just connect and go
|
||||
- **Centralized workflows** - Manage all security Tasks and automations from one dashboard
|
||||
- **Webhook triggers** - Automatically respond to new vulnerabilities as they're discovered
|
||||
- **Metrics & intervention rates** - Track how often agents successfully fix issues without human help
|
||||
|
||||
This represents **[Level 2 Continuous AI](/guides/continuous-ai#the-continuous-ai-maturity-model)**: AI handles routine security work autonomously while developers focus on complex problems. As outlined in our [Continuous AI guide](/guides/continuous-ai#best-practices-for-sustainable-continuous-ai), this reduces intervention rates and accelerates secure development.
|
||||
|
||||
**Get Started:** Use this cookbook to understand the fundamentals, then [enable Mission Control](/mission-control/integrations/snyk) to deploy autonomous security agents across your organization.
|
||||
|
||||
</Note>
|
||||
|
||||
<Card title="What You'll Build" icon="shield-halved">
|
||||
An automated security scanning system that uses Continue's AI agent with Snyk
|
||||
MCP to identify vulnerabilities in code, dependencies, infrastructure, and
|
||||
|
|
@ -104,14 +122,14 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
|
||||
<Tab title="🛠️ Manual Setup">
|
||||
<Steps>
|
||||
<Step title="Create a New Agent via the Continue Hub">
|
||||
Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
<Step title="Create a New Agent via the Continue Mission Control">
|
||||
Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/new?type=agent).
|
||||
</Step>
|
||||
|
||||
<Step title="Connect Snyk MCP via Continue Hub">
|
||||
<Step title="Connect Snyk MCP via Continue Mission Control">
|
||||
Visit the [Snyk Continuous AI Agent](https://hub.continue.dev/continuedev/snyk-continuous-ai-agent) and click **Install** to add it to the agent you created in the step above.
|
||||
|
||||
This will add Snyk MCP to your agent's available tools. The Hub listing automatically configures the MCP command:
|
||||
This will add Snyk MCP to your agent's available tools. The Mission Control listing automatically configures the MCP command:
|
||||
```bash
|
||||
npx -y snyk@latest mcp -t stdio
|
||||
```
|
||||
|
|
@ -132,7 +150,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
</Step>
|
||||
|
||||
<Step title="Add Secure-at-Inception Rules">
|
||||
Install the [Snyk Secure-at-Inception rules](https://hub.continue.dev/snyk/secure-at-inception) from the Hub to enable automatic security scanning.
|
||||
Install the [Snyk Secure-at-Inception rules](https://hub.continue.dev/snyk/secure-at-inception) from Mission Control to enable automatic security scanning.
|
||||
|
||||
**How to add rules to your agent:**
|
||||
1. Visit the rules link above and click **Install**
|
||||
|
|
@ -161,7 +179,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets (same as manual setup)
|
||||
- **Your own API keys** added to Continue Mission Control secrets (same as manual setup)
|
||||
|
||||
The agent will automatically detect and use your configuration along with the pre-configured Snyk MCP for security scanning operations.
|
||||
|
||||
|
|
@ -174,7 +192,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s
|
|||
Now you can use natural language prompts to run comprehensive security scans. The Continue agent automatically calls the appropriate Snyk MCP tools.
|
||||
|
||||
<Info>
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Hub](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
You can add prompts to your agent's configuration for easy access in future sessions. Go to your agent in the [Continue Mission Control](https://hub.continue.dev), click **Edit**, and add prompts under the **Prompts** section.
|
||||
</Info>
|
||||
|
||||
<Info>
|
||||
|
|
@ -594,7 +612,7 @@ jobs:
|
|||
Implement automated security policies using Continue's rule system. See the [Rules deep dive](/customize/deep-dives/rules) for authoring tips.
|
||||
|
||||
<Note>
|
||||
**Coming Soon**: These security guardrail prompts will be available as pre-configured rules on the Continue Hub for easy installation.
|
||||
**Coming Soon**: These security guardrail prompts will be available as pre-configured rules on the Continue Mission Control for easy installation.
|
||||
</Note>
|
||||
|
||||
<Card title="Pre-commit Scanning" icon="lock">
|
||||
|
|
@ -627,7 +645,7 @@ Implement automated security policies using Continue's rule system. See the [Rul
|
|||
</Card>
|
||||
|
||||
<Tip>
|
||||
Enable the **Secure-at-Inception** rules from the Hub to automatically apply
|
||||
Enable the **Secure-at-Inception** rules from Mission Control to automatically apply
|
||||
these guardrails to all code generation and modifications.
|
||||
</Tip>
|
||||
|
||||
|
|
@ -687,7 +705,7 @@ After completing this guide, you have a complete **AI-powered security system**
|
|||
<Card title="Snyk Documentation" icon="book" href="https://docs.snyk.io">
|
||||
Complete Snyk platform documentation
|
||||
</Card>
|
||||
<Card title="Continue Hub" icon="plug" href="https://hub.continue.dev">
|
||||
<Card title="Continue Mission Control" icon="plug" href="https://hub.continue.dev">
|
||||
Explore more MCP integrations and agents
|
||||
</Card>
|
||||
<Card
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ First, you'll need to set up access to your Supabase project.
|
|||
|
||||
<Steps>
|
||||
<Step title="Add the Pre-Built Agent">
|
||||
Visit the [Supabase Agent](https://hub.continue.dev/continuedev/supabase-agent) on Continue Hub and click **"Install Agent"** or run:
|
||||
Visit the [Supabase Agent](https://hub.continue.dev/continuedev/supabase-agent) on Continue Mission Control and click **"Install Agent"** or run:
|
||||
|
||||
```bash
|
||||
cn --agent continuedev/supabase-agent
|
||||
|
|
@ -208,7 +208,7 @@ First, you'll need to set up access to your Supabase project.
|
|||
<Accordion title="Agent Requirements">
|
||||
To use the pre-built agent, you need either:
|
||||
- **Continue CLI Pro Plan** with the models add-on, OR
|
||||
- **Your own API keys** added to Continue Hub secrets
|
||||
- **Your own API keys** added to Continue Mission Control secrets
|
||||
|
||||
The agent will automatically detect and use your configuration. For Supabase MCP:
|
||||
- **Supabase account** with at least one project
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ Before we dive into the specifics, let's understand how to access your configura
|
|||
|
||||
## What Are Hub Configurations: The Managed Experience
|
||||
|
||||
Hub Configurations represent the "it just works" philosophy. When you [sign in to Continue Hub](https://auth.continue.dev/), you gain access to a curated ecosystem of established configurations that sync seamlessly across all your development environments.
|
||||
Hub Configurations represent the "it just works" philosophy. When you [sign in to Continue Mission Control](https://auth.continue.dev/), you gain access to a curated ecosystem of established configurations that sync seamlessly across all your development environments.
|
||||
|
||||
### Why Should You Choose Hub Configs?
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ Hub Configurations represent the "it just works" philosophy. When you [sign in t
|
|||
|
||||
- **Instant Setup**: Browse the [configuration marketplace](https://hub.continue.dev) and add any config to your account with a single click
|
||||
- **Web-Based Management**: Configure models, add secrets, and customize settings through an intuitive web interface—no JSON editing required
|
||||
- **Automatic Synchronization**: Make a change on the hub, and it reflects immediately across all your IDE instances
|
||||
- **Automatic Synchronization**: Make a change on Mission Control, and it reflects immediately across all your IDE instances
|
||||
- **Team Collaboration**: Share custom configurations with your team, ensuring everyone uses the same optimized configurations
|
||||
|
||||

|
||||
|
|
@ -54,14 +54,14 @@ The journey from zero to AI-powered coding takes just four steps:
|
|||
|
||||
1. **Select Your Config**: Click the config selector in your IDE's Continue panel
|
||||
2. **Explore or Create**: Browse community configurations or craft your own specialized setup
|
||||
3. **Secure Your Keys**: Add API keys as [User Secrets](https://hub.continue.dev/settings/secrets) in the hub—they're encrypted and never exposed
|
||||
3. **Secure Your Keys**: Add API keys as [User Secrets](https://hub.continue.dev/settings/secrets) in Mission Control—they're encrypted and never exposed
|
||||
4. **Sync and Code**: Click "Reload config" to pull your latest settings
|
||||
|
||||
Pro tip: Hub configurations are perfect for teams. Create a custom config with your team's coding standards, preferred models, and context sources, then share it with a simple link.
|
||||
|
||||
### How to Manage Hub Configs
|
||||
|
||||
All Hub config management happens through [the Hub](https://hub.continue.dev). For detailed customization, see our guide on [Editing a Config](/hub/configs/edit-a-config).
|
||||
All Hub config management happens through [Mission Control](https://hub.continue.dev). For detailed customization, see our guide on [Editing a Config](/hub/configs/edit-a-config).
|
||||
|
||||
## What Are Local Configs: The Power User's Choice
|
||||
|
||||
|
|
@ -183,7 +183,7 @@ You can switch between them seamlessly using the configs selector in your IDE.
|
|||
|
||||
**Config Not Available?**
|
||||
|
||||
- Verify it's added to your account on the hub
|
||||
- Verify it's added to your account on Mission Control
|
||||
- Check if it requires specific API keys
|
||||
|
||||
### Local Config Issues
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@ description: "Learn how Continue enables developers to embrace continuous AI, en
|
|||
|
||||
2. Try out [Continue CLI (cn)](https://docs.continue.dev/guides/cli) and give us feedback
|
||||
|
||||
3. Discover the models, prompts, rules, MCP tools, and agents you need to automate your workflows with AI on [Continue Hub](https://hub.continue.dev/)
|
||||
3. Discover the models, prompts, rules, MCP tools, and agents you need to automate your workflows with AI on [Continue Mission Control](https://hub.continue.dev/)
|
||||
|
|
|
|||
|
|
@ -1,114 +0,0 @@
|
|||
---
|
||||
title: "Continue Hub"
|
||||
description: "Central platform for discovering, creating, and sharing AI coding configurations, agents, and components with organization-level governance"
|
||||
---
|
||||
|
||||
[Continue Hub](https://hub.continue.dev) is your central platform for AI-powered development. Discover pre-built configurations, create custom agents, and manage components that power your coding workflow.
|
||||
|
||||
## What You Can Do on the Hub
|
||||
|
||||

|
||||
|
||||
<CardGroup cols={3}>
|
||||
|
||||
<Card title="Manage Organization & Settings" icon="settings" href="https://hub.continue.dev/settings">
|
||||
Manage organizations, API keys, secrets, and integrations. Configure models, MCP servers, and connected tools all in one place.
|
||||
</Card>
|
||||
<Card title="Find, Create, or Share Agents" icon="robot" href="/hub/agents/intro">
|
||||
Search existing agents or build custom, reusable agents. Standardize prompts, rules, and tools to match your workflows and share with your team.
|
||||
</Card>
|
||||
<Card title="Run Agents in Mission Control" icon="radar" href="/hub/agents/intro">
|
||||
Launch and monitor agents across your repositories. Trigger on events or schedules and track performance.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
## Hub Components
|
||||
|
||||
Agents are built from reusable components that you can create, share, and customize:
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Models" icon="cube">
|
||||
|
||||
Large Language Models from various providers (OpenAI, Anthropic, etc.) configured for specific roles like chat, autocomplete, or editing
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="MCPs" icon="wrench">
|
||||
|
||||
Model Context Protocol servers that provide tools and capabilities like database access, web search, or custom functions
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Rules" icon="shield">
|
||||
|
||||
Guidelines that shape AI behavior - coding standards, constraints, or specific instructions for your domain
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Prompts" icon="message-square">
|
||||
|
||||
Reusable instructions for common tasks, optimized for specific workflows or coding patterns
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
## Creating Components
|
||||
|
||||
<Tip>
|
||||
|
||||
Components are the building blocks for agents. When you create a component on the hub, it becomes available according to the permissions you set.
|
||||
|
||||
</Tip>
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Create New" icon="plus">
|
||||
|
||||
Start with a blank template:
|
||||
|
||||
- Select New Rules, Prompts, Configs, or Agents from the Hub navigation
|
||||
- Click 'New' to start with a blank template
|
||||
- Configure by filling in the inputs to create your markdown configuration
|
||||

|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Remix Existing" icon="copy">
|
||||
|
||||
Customize an existing component:
|
||||
|
||||
- Browse the [Hub](https://hub.continue.dev/) for what you need
|
||||
- Click 'Remix' to create a copy that you can customize
|
||||
- Modify the configuration for your specific needs
|
||||
- Save your customized version
|
||||

|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
|
||||
### Component Permissions
|
||||
|
||||
Set visibility for your components:
|
||||
|
||||
- **Personal**: Only you can see and use
|
||||
- **Public**: Anyone can discover and use
|
||||
- **Organization**: Team members can access
|
||||
|
||||
### Component Inputs
|
||||
|
||||
Some components can receive values, including secrets, as inputs through templating. For values that the user needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their agent or config.
|
||||
|
||||
<Info>
|
||||
**Choosing between `secrets.` and `inputs.`**
|
||||
|
||||
When creating blocks for the hub:
|
||||
- Use `${{ inputs.INPUT_NAME }}` in your block definition when you want users to be able to customize which secret is used
|
||||
- Users will then map their own secrets using `${{ secrets.SECRET_NAME }}` in the `with` clause
|
||||
|
||||
For personal or single-use configurations, you can skip the inputs layer and reference `${{ secrets.SECRET_NAME }}` directly in your block.
|
||||
</Info>
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
---
|
||||
title: "Sharing"
|
||||
description: "Connect with the Continue community to discover, share, and collaborate on AI development tools."
|
||||
---
|
||||
|
||||
## Community
|
||||
|
||||
Join thousands of developers using Continue. Share experiences, get help, and contribute to the ecosystem.
|
||||
|
||||
[Join our Discord Community →](https://discord.gg/vapESyrFmJ)
|
||||
|
||||
## Publishing
|
||||
|
||||
Share your custom assistants, blocks, and configurations with the Continue community.
|
||||
|
||||
[Visit the Hub →](https://hub.continue.dev)
|
||||
|
||||
## Browse Configurations
|
||||
|
||||
Explore assistants created by the community for specific use cases and workflows.
|
||||
|
||||
[Browse Configurations →](https://hub.continue.dev)
|
||||
|
||||
## Using Configurations
|
||||
|
||||
Learn how to discover, install, and use community-created assistants in your projects.
|
||||
|
||||
[Learn About Configurations →](/hub/configs/intro)
|
||||
|
||||
---
|
||||
|
||||
The Continue Hub makes it easy to leverage community knowledge and share your innovations with fellow developers.
|
||||
|
|
@ -6,7 +6,7 @@ sidebarTitle: "Customize Agent Mode"
|
|||
|
||||
## How to Add Rules Blocks
|
||||
|
||||
Adding Rules can be done in your configuration locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
|
||||
Adding Rules can be done in your configuration locally or in Mission Control. You can explore Rules on the Continue Mission Control and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
|
||||
|
||||
## How to Customize System Messages
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ models:
|
|||
|
||||
## How to Add MCP Tools
|
||||
|
||||
You can add MCP servers to your configuration to give Agent mode access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev/explore?type=mcpServers) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
|
||||
You can add MCP servers to your configuration to give Agent mode access to more tools. Explore [MCP Servers on Mission Control](https://hub.continue.dev/explore?type=mcpServers) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
|
||||
|
||||
## How to Configure Tool Policies
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ The Continue logo will appear on the left sidebar. For a better experience, move
|
|||
</Step>
|
||||
|
||||
<Step title="Sign In">
|
||||
[Sign in to the hub](https://auth.continue.dev/) to get started
|
||||
[Sign in to Mission Control](https://auth.continue.dev/) to get started
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Click `Install`, which will cause the Continue logo to show up on the right tool
|
|||
</Step>
|
||||
|
||||
<Step title="Sign In">
|
||||
[Sign in to the hub](https://auth.continue.dev/) to get started
|
||||
[Sign in to Mission Control](https://auth.continue.dev/) to get started
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
|
@ -78,6 +78,6 @@ Click `Install`, which will cause the Continue logo to show up on the right tool
|
|||
|
||||
## Signing in
|
||||
|
||||
Click "Get started" to sign in to the hub and get started.
|
||||
Click "Get started" to sign in to Mission Control and get started.
|
||||
|
||||

|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 81 KiB |
106
docs/index.mdx
106
docs/index.mdx
|
|
@ -1,20 +1,57 @@
|
|||
---
|
||||
title: "Welcome to Continue"
|
||||
icon: book-open
|
||||
description: "Kick off agents from the terminal, IDE, or Mission Control"
|
||||
description: "Create, run, and automate AI agents across Mission Control, terminal, and CI/CD"
|
||||
---
|
||||
|
||||
<Frame>
|
||||
<img src="/images/intro-0c302b9c15b890c251b1ad04586c880f.png" />
|
||||
</Frame>
|
||||
|
||||
## Mission Control
|
||||
<Note>
|
||||
**Launch background agents, iterate in terminal, and deploy workflows in CI/CD**
|
||||
Central dashboard for managing Agents, Tasks, Workflows, and Integrations.
|
||||
</Note>
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Create a Task" icon="plus" href="/mission-control/tasks">
|
||||
Trigger your Agent with a prompt, tools, and rules to complete a specific job.
|
||||
|
||||
<sub>• Run manually or from your Inbox</sub><br />
|
||||
<sub>• Reuse and share with teammates</sub>
|
||||
</Card>
|
||||
<Card title="Set up a Workflow" icon="clock" href="/mission-control/workflows">
|
||||
Schedule recurring Tasks or connect webhooks to trigger Agents automatically.
|
||||
|
||||
<sub>• Cron or webhook-based triggers</sub><br />
|
||||
<sub>• Ideal for daily audits or status checks</sub>
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Integrations
|
||||
<Note>
|
||||
Connect Continue to your existing developer tools to power Tasks and Workflows.
|
||||
</Note>
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="GitHub" icon="github" href="/mission-control/integrations/github">
|
||||
Enable repository access for Agents to read and create PRs.
|
||||
</Card>
|
||||
<Card title="Slack" icon="slack" href="/mission-control/integrations/slack-agent">
|
||||
Mention <code>@Continue</code> in Slack to trigger Agents and receive updates.
|
||||
</Card>
|
||||
<Card title="Sentry" icon="alert-triangle" href="/mission-control/integrations/sentry">
|
||||
Automatically generate PRs to fix new issues from Sentry alerts.
|
||||
</Card>
|
||||
<Card title="Snyk" icon="shield-check" href="/mission-control/integrations/snyk">
|
||||
Detect and fix security vulnerabilities automatically.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
|
||||
## Continue CLI
|
||||
|
||||
<Info>Terminal-native AI coding assistance with TUI and headless modes.</Info>
|
||||
<Note>Terminal-native AI coding assistance with TUI and headless modes.</Note>
|
||||
|
||||
<CodeGroup>
|
||||
|
||||
|
|
@ -39,7 +76,7 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
href="/cli/overview#tui-mode%3A-interactive-development"
|
||||
>
|
||||
Interactive terminal interface for development workflows
|
||||
<br />
|
||||
|
||||
<sub>• Automate builds & refactoring</sub>
|
||||
<br />
|
||||
<sub>• Pre-commit hooks & scripted fixes</sub>
|
||||
|
|
@ -52,7 +89,7 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
href="/cli/overview#headless-mode%3A-production-automation"
|
||||
>
|
||||
Automated AI coding for CI/CD and server environments
|
||||
<br />
|
||||
|
||||
<sub>• Run in CI/CD pipelines</sub>
|
||||
<br />
|
||||
<sub>• Batch processing & bulk operations</sub>
|
||||
|
|
@ -63,10 +100,10 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
|
||||
## IDE Extensions
|
||||
|
||||
<Info>
|
||||
**Complement your CLI workflow** - Rich editor integrations for interactive
|
||||
development.
|
||||
</Info>
|
||||
<Note>
|
||||
Optional IDE extensions for real-time code editing and assistance.
|
||||
</Note>
|
||||
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card
|
||||
|
|
@ -75,7 +112,6 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
href="https://marketplace.visualstudio.com/items?itemName=Continue.continue"
|
||||
>
|
||||
Install from VS Code Marketplace
|
||||
<br />
|
||||
<sub>Real-time coding assistance and refactoring</sub>
|
||||
</Card>
|
||||
<Card
|
||||
|
|
@ -84,51 +120,15 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
href="https://plugins.jetbrains.com/plugin/22707-continue-extension"
|
||||
>
|
||||
Install from JetBrains Plugin Repository
|
||||
<br />
|
||||
<sub>Autocomplete and multi-file edits</sub>
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Core Features
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Agent" icon="robot" href="/ide-extensions/agent/quick-start">
|
||||
Multi-step workflows and complex task automation
|
||||
</Card>
|
||||
<Card title="Chat" icon="messages" href="/ide-extensions/chat/quick-start">
|
||||
Ask questions and explore your codebase
|
||||
</Card>
|
||||
<Card title="Edit" icon="pen-to-square" href="/ide-extensions/edit/quick-start">
|
||||
In-place code editing without breaking flow
|
||||
</Card>
|
||||
<Card
|
||||
title="Autocomplete"
|
||||
icon="sparkles"
|
||||
href="/ide-extensions/autocomplete/quick-start"
|
||||
>
|
||||
Inline AI suggestions as you type
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Configuration
|
||||
|
||||
<CardGroup cols={3}>
|
||||
<Card title="Models" icon="brain" href="/customization/models">
|
||||
Connect your preferred AI models
|
||||
</Card>
|
||||
<Card title="Rules" icon="shield" href="/customization/rules">
|
||||
Configure AI behavior and constraints
|
||||
</Card>
|
||||
<Card title="MCPs" icon="wrench" href="/customization/mcp-tools">
|
||||
Extend functionality with MCP tools
|
||||
<sub>Community supported for autocomplete and multi-file edits</sub>
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Resources
|
||||
|
||||
<CardGroup cols={3}>
|
||||
<Card title="Continue Hub" icon="globe" href="https://hub.continue.dev/">
|
||||
Community models, rules, and tools
|
||||
<Card title="Continue Mission Control" icon="globe" href="https://hub.continue.dev/">
|
||||
Create your agents, run tasks, add workflows and integrations
|
||||
</Card>
|
||||
<Card
|
||||
title="GitHub Discussions"
|
||||
|
|
@ -138,10 +138,10 @@ description: "Kick off agents from the terminal, IDE, or Mission Control"
|
|||
Get help from the community
|
||||
</Card>
|
||||
<Card
|
||||
title="CLI Examples"
|
||||
icon="code-branch"
|
||||
href="/guides/overview#continuous-ai"
|
||||
title="Integrations"
|
||||
icon="plug"
|
||||
href="/mission-control/integrations"
|
||||
>
|
||||
TUI and headless workflow examples
|
||||
Connect GitHub, Slack, Sentry, and Snyk to power your automations.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "How to Create a Config"
|
||||
description: "Learn how to create custom AI coding configs in Continue Hub by remixing existing configs or building new ones from scratch with reusable blocks and YAML configuration."
|
||||
description: "Learn how to create custom AI coding configs in Continue Mission Control by remixing existing configs or building new ones from scratch with reusable blocks and YAML configuration."
|
||||
sidebarTitle: "Create a Config"
|
||||
---
|
||||
|
||||
|
|
@ -3,9 +3,9 @@ title: "How to Edit a Config"
|
|||
description: "New versions of a config can be created and published using the sidebar."
|
||||
---
|
||||
|
||||
First, select a config either from the Hub search or one that you've installed.
|
||||
First, select a config either from Mission Control search or one that you've installed.
|
||||
|
||||
While editing a config, you can explore the hub and click "+" to add it to your config.
|
||||
While editing a config, you can explore Mission Control and click "+" to add it to your config.
|
||||
|
||||
For tools or models that require secret values like API keys, you will see a small notification on its tile that will indicate if action is needed.
|
||||
|
||||
|
|
@ -4,6 +4,10 @@ description: "Custom configuration options include Models, MCP Servers, Rules, P
|
|||
sidebarTitle: "Configs"
|
||||
---
|
||||
|
||||
<Info>
|
||||
**New UI Update: The Hub is now Mission Control.**
|
||||
If you're returning after the redesign, you can now find and manage configs in your [Mission Control Settings](https://hub.continue.dev/settings/configs).
|
||||
</Info>
|
||||
|
||||
## What Are Configs?
|
||||
|
||||
|
|
@ -70,7 +74,7 @@ You can interact with configs in three main ways:
|
|||
|
||||
<Step title="Explore existing configs">
|
||||
|
||||
Browse the [Continue Hub](https://hub.continue.dev/explore?type=assistants) to see what configs others have built
|
||||
Browse the [Continue Mission Control](https://hub.continue.dev/explore?type=assistants) to see what configs others have built
|
||||
|
||||
</Step>
|
||||
|
||||
|
|
@ -96,5 +100,5 @@ You can interact with configs in three main ways:
|
|||
|
||||
## Config Format
|
||||
|
||||
All configs follow the [`config.yaml`](/reference) format, whether you're using the hub interface or editing files locally. This ensures consistency between hub-managed and local configurations.
|
||||
All configs follow the [`config.yaml`](/reference) format, whether you're using Mission Control interface or editing files locally. This ensures consistency between Mission Control-managed and local configurations.
|
||||
|
||||
|
|
@ -5,7 +5,7 @@ description: "Learn how to add and use a custom configuration in Continue, inclu
|
|||
|
||||
## Steps to use a custom configuration in Continue
|
||||
|
||||
Once you've found the configuration you want to use on Continue Hub:
|
||||
Once you've found the configuration you want to use on Continue Mission Control:
|
||||
|
||||
1. Click “Add Config” on its page
|
||||
2. Add any required inputs (e.g. secrets like API keys)
|
||||
|
|
@ -5,7 +5,7 @@ description: "To Create an Organization, click the organization selector in the
|
|||
|
||||

|
||||
|
||||
1. Choose a name, which will be used as the display name for your organization throughout the hub
|
||||
1. Choose a name, which will be used as the display name for your organization throughout Mission Control
|
||||
2. Add a slug, which will be used for your org URL and as the prefix to all organization configuration slugs
|
||||
3. Select an icon for your organization using the image uploader
|
||||
4. Finally, add a Biography, which will be displayed on your org Home Page
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Pricing"
|
||||
description: "Continue Hub pricing plans for individuals, teams, and enterprises, including the Models Add-On that provides access to frontier AI models for a flat monthly fee"
|
||||
description: "Continue Mission Control pricing plans for individuals, teams, and enterprises, including the Models Add-On that provides access to frontier AI models for a flat monthly fee"
|
||||
---
|
||||
|
||||
## Solo
|
||||
125
docs/mission-control/index.mdx
Normal file
125
docs/mission-control/index.mdx
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
---
|
||||
title: "Continue Mission Control"
|
||||
description: "Your command center for Continue. Create Tasks, set up Workflows, manage Agents, connect Integrations, and share with your team—all in one place."
|
||||
sidebarTitle: "Overview"
|
||||
---
|
||||
|
||||
## What You Can Do in Mission Control
|
||||
|
||||
Mission Control is where developers and teams use Continue to power everyday coding workflows. From quick one-off Tasks to fully automated pipelines, everything starts here.
|
||||
|
||||
<CardGroup cols={4}>
|
||||
<Card title="Create & Run Tasks" icon="list" href="/mission-control/tasks">
|
||||
Trigger your AI Agents and review or approve the results.
|
||||
</Card>
|
||||
<Card title="Manage Your Agents" icon="robot" href="/agents/intro">
|
||||
Create, configure, and monitor your custom Agents across repositories.
|
||||
</Card>
|
||||
<Card title="Set Up Workflows" icon="clock" href="/mission-control/workflows">
|
||||
Schedule recurring Tasks, connect webhooks to trigger Agents automatically, or add
|
||||
</Card>
|
||||
<Card title="Connect Integrations" icon="plug" href="/mission-control/integrations">
|
||||
Link GitHub, Slack, and Sentry to power your Tasks and Workflows.
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
## Monitoring & Insights
|
||||
|
||||
<Info>
|
||||
Track performance, share configurations across your organization, and monitor agent activity in real time.
|
||||
</Info>
|
||||
|
||||
<CardGroup cols={3}>
|
||||
|
||||
<Card title="Metrics" icon="chart-column" href="/mission-control/metrics">
|
||||
Measure success rates, PR activity, and intervention trends across Agents.
|
||||
</Card>
|
||||
|
||||
<Card title="Organization Sharing" icon="users" href="/mission-control/governance/org-permissions">
|
||||
Share Agents and Workflows with teammates using built-in access controls.
|
||||
</Card>
|
||||
|
||||
<Card title="Agent Monitoring" icon="radar" href="/agents/overview#monitoring">
|
||||
View active runs, logs, and outcomes for every Agent session.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
---
|
||||
|
||||
|
||||
## Components Behind Mission Control
|
||||
|
||||
Mission Control uses your configured components to power Agents, Tasks, and Workflows:
|
||||
Agents are built from reusable components that you can create, share, and customize:
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Models" icon="cube">
|
||||
|
||||
Large Language Models from various providers (OpenAI, Anthropic, etc.) configured for specific roles like chat, autocomplete, or editing
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="MCPs" icon="wrench">
|
||||
|
||||
Model Context Protocol servers that provide tools and capabilities like database access, web search, or custom functions
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Rules" icon="shield">
|
||||
|
||||
Guidelines that shape AI behavior - coding standards, constraints, or specific instructions for your domain
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="Prompts" icon="message-square">
|
||||
|
||||
Reusable instructions for common tasks, optimized for specific workflows or coding patterns
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
<Tip>
|
||||
|
||||
Components are the building blocks for agents that you can create new or remix from an existing component. When you create a component in mission control, it becomes available according to the permissions you set: Personal, Public, or Organization.
|
||||
|
||||
</Tip>
|
||||
|
||||
|
||||
<Accordion title="Component Inputs">
|
||||
|
||||
Some components can receive values, including secrets, as inputs through templating. For values that the user needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their agent or config.
|
||||
|
||||
<Info>
|
||||
**Choosing between `secrets.` and `inputs.`**
|
||||
|
||||
When creating components for your Agent:
|
||||
- Use `${{ inputs.INPUT_NAME }}` in your definition when you want users to be able to customize which secret is used
|
||||
- Users will then map their own secrets using `${{ secrets.SECRET_NAME }}` in the `with` clause
|
||||
|
||||
For personal or single-use configurations, you can skip the inputs layer and reference `${{ secrets.SECRET_NAME }}` directly.
|
||||
</Info>
|
||||
</Accordion>
|
||||
|
||||
---
|
||||
## Get Started
|
||||
<Frame>
|
||||
|
||||
|
||||
<CardGroup cols={3}>
|
||||
|
||||
<Card title="Create a Task" icon="plus" href="https://hub.continue.dev">
|
||||
Start with a prompt and run an Agent on demand.
|
||||
</Card>
|
||||
|
||||
<Card title="Build a Workflow" icon="clock" href="https://hub.continue.dev/workflows">
|
||||
Automate your Tasks using cron schedules or webhooks.
|
||||
</Card>
|
||||
|
||||
<Card title="Add Integrations" icon="workflow" href="https://hub.continue.dev/integrations">
|
||||
Connect GitHub, Slack, and Sentry to extend your Agents.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
</Frame>
|
||||
207
docs/mission-control/integrations/github.mdx
Normal file
207
docs/mission-control/integrations/github.mdx
Normal file
|
|
@ -0,0 +1,207 @@
|
|||
---
|
||||
title: "GitHub Integration"
|
||||
description: "Connect to GitHub to allow Continue Agents to read and create PRs on your repositories"
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Connect your GitHub account to Continue Mission Control to enable agents to interact with your repositories. Once connected, agents can read code, create pull requests, manage issues, and automate your development workflow.
|
||||
|
||||
<Card title="What You Can Do with GitHub Integration" icon="github">
|
||||
|
||||
- Automatically create pull requests from agent tasks
|
||||
- Read and analyze repository code and issues
|
||||
- Manage project workflows and milestones
|
||||
- Automate code reviews and quality checks
|
||||
- Generate release notes and documentation
|
||||
|
||||
</Card>
|
||||
|
||||
|
||||
## Setup
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Navigate to Integrations">
|
||||
|
||||
Go to your [Integrations Settings](https://hub.continue.dev/integrations).
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Connect GitHub">
|
||||
|
||||
Click "Connect" next to GitHub and authorize the Continue app in your GitHub account.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Select Repository Access">
|
||||
|
||||
Choose whether to grant access to all repositories or select specific ones. You can always modify this later in your GitHub settings.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Confirm Permissions">
|
||||
|
||||
Review and approve the requested permissions. Continue needs these to perform automated tasks on your behalf.
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Use Cases
|
||||
|
||||
### Automated Issue Resolution
|
||||
|
||||
Create agents that automatically fix bugs and open PRs:
|
||||
|
||||
<Card title="Bug Fixer Agent" icon="bug">
|
||||
|
||||
**Task Example**: "Review issues labeled 'bug' and create PRs to fix any that are straightforward"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Scans your repository for issues with the "bug" label
|
||||
- Analyzes the bug description and reproduces the issue
|
||||
- Generates a fix and creates a pull request
|
||||
- Adds a link back to the original issue
|
||||
|
||||
**Run in Mission Control**: Create as a scheduled automation or trigger manually
|
||||
|
||||
</Card>
|
||||
|
||||
### Pull Request Management
|
||||
|
||||
Automate code reviews and PR maintenance:
|
||||
|
||||
<Card title="PR Review Agent" icon="code-pull-request">
|
||||
|
||||
**Task Example**: "Review open PRs for code quality, security issues, and best practices"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Analyzes code changes in open pull requests
|
||||
- Identifies potential bugs, security vulnerabilities, or style issues
|
||||
- Adds review comments with suggestions
|
||||
- Approves PRs that meet quality standards
|
||||
|
||||
**Run in Mission Control**: Set up as an automation triggered on new PRs
|
||||
|
||||
</Card>
|
||||
|
||||
### Documentation Generation
|
||||
|
||||
Keep your docs up-to-date automatically:
|
||||
|
||||
<Card title="Docs Updater Agent" icon="book">
|
||||
|
||||
**Task Example**: "Update README and API documentation based on recent code changes"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Detects changes to public APIs or features
|
||||
- Generates updated documentation
|
||||
- Creates a PR with doc updates
|
||||
- Links documentation to related code changes
|
||||
|
||||
**Run in Mission Control**: Schedule to run after releases or major merges
|
||||
|
||||
</Card>
|
||||
|
||||
### Project Management
|
||||
|
||||
Automate issue triage and project organization:
|
||||
|
||||
<Card title="Issue Triage Agent" icon="list-check">
|
||||
|
||||
**Task Example**: "Triage new issues by adding labels, assigning to appropriate team members, and linking related issues"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Analyzes new issue descriptions
|
||||
- Applies relevant labels (bug, feature, documentation, etc.)
|
||||
- Suggests team members to assign based on expertise
|
||||
- Identifies and links related issues or PRs
|
||||
|
||||
**Run in Mission Control**: Create as an automation triggered on new issues
|
||||
|
||||
</Card>
|
||||
|
||||
### Release Management
|
||||
|
||||
Automate your release process:
|
||||
|
||||
<Card title="Release Notes Generator" icon="rocket">
|
||||
|
||||
**Task Example**: "Generate release notes from merged PRs since last release and create a draft release"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Collects all merged PRs since the last tag
|
||||
- Categorizes changes (features, fixes, breaking changes)
|
||||
- Generates formatted release notes
|
||||
- Creates a draft GitHub release for review
|
||||
|
||||
**Run in Mission Control**: Trigger manually or on a schedule before releases
|
||||
|
||||
</Card>
|
||||
|
||||
### Code Quality Monitoring
|
||||
|
||||
Maintain code standards across your codebase:
|
||||
|
||||
<Card title="Code Quality Agent" icon="shield-check">
|
||||
|
||||
**Task Example**: "Scan the codebase for deprecated API usage and create issues with migration guides"
|
||||
|
||||
**What the Agent Does**:
|
||||
- Identifies usage of deprecated functions or libraries
|
||||
- Generates migration recommendations
|
||||
- Creates individual issues for each deprecated usage
|
||||
- Provides code examples for the upgrade path
|
||||
|
||||
**Run in Mission Control**: Schedule monthly or after dependency updates
|
||||
|
||||
</Card>
|
||||
|
||||
## Running GitHub Agents in Mission Control
|
||||
|
||||
You can run GitHub-connected agents in two ways:
|
||||
|
||||
### 1. Manual Tasks
|
||||
|
||||
Trigger agents on-demand for specific tasks:
|
||||
|
||||
1. Go to [Mission Control Agents](https://hub.continue.dev/agents)
|
||||
2. Select or create a GitHub-enabled agent
|
||||
3. Click "Run Agent" and provide your task description
|
||||
4. Monitor progress and review results in real-time
|
||||
|
||||
### 2. Automated Workflows
|
||||
|
||||
Set up agents to run automatically:
|
||||
|
||||
- **Scheduled**: Run daily, weekly, or on a custom schedule
|
||||
- **Triggered**: Execute when specific events occur (new issues, PR opened, etc.)
|
||||
- **Webhook**: Integrate with external services to trigger agents
|
||||
|
||||
<Tip>
|
||||
|
||||
Start with manual tasks to test your agent's behavior, then convert successful workflows to automations once you're confident in the results.
|
||||
|
||||
</Tip>
|
||||
|
||||
|
||||
## Support & Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="GitHub MCP Cookbook" icon="book-open" href="/guides/github-mcp-continue-cookbook">
|
||||
|
||||
Comprehensive guide to using GitHub with Continue agents
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="GitHub PR Review Bot" icon="robot" href="/guides/github-pr-review-bot">
|
||||
|
||||
Automate code reviews with Continue
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
|
||||
37
docs/mission-control/integrations/index.mdx
Normal file
37
docs/mission-control/integrations/index.mdx
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
title: "Overview"
|
||||
description: "Connect GitHub, Slack, Sentry, and Snyk to power richer Agents, Tasks, and Workflows."
|
||||
sidebarTitle: "Overview"
|
||||
---
|
||||
|
||||
<Info>
|
||||
Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more.
|
||||
</Info>
|
||||
|
||||
Mission Control currently supports four first-class integrations:
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="GitHub" icon="github" href="/mission-control/integrations/github">
|
||||
Required for PR creation, repo access, diffs, and workflow triggers.
|
||||
</Card>
|
||||
|
||||
<Card title="Slack" icon="slack" href="/mission-control/integrations/slack-agent">
|
||||
Mention @continue to kick off Agents directly from Slack.
|
||||
</Card>
|
||||
|
||||
<Card title="Sentry" icon="alert-triangle" href="/mission-control/integrations/sentry">
|
||||
Trigger Agents automatically when new Sentry issues appear.
|
||||
</Card>
|
||||
|
||||
<Card title="Snyk" icon="shield-check" href="/mission-control/integrations/snyk">
|
||||
Detect and fix security vulnerabilities automatically.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
|
||||
## Next Steps
|
||||
|
||||
<Card title="Try out an Integration" icon="laptop" href="https://hub.continue.dev/integrations">
|
||||
</Card>
|
||||
314
docs/mission-control/integrations/sentry.mdx
Normal file
314
docs/mission-control/integrations/sentry.mdx
Normal file
|
|
@ -0,0 +1,314 @@
|
|||
---
|
||||
title: "Sentry Integration"
|
||||
description: "Automatically triage and resolve errors with Continue Agents connected to Sentry"
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Connect Sentry to Continue Mission Control to enable agents to automatically detect, analyze, and resolve production errors. When Sentry is enabled, Continue can generate PRs to fix issues, analyze error patterns, and maintain application health.
|
||||
|
||||
<Card title="What You Can Do with Sentry Integration" icon="shield-exclamation">
|
||||
|
||||
- Automatically generate PRs to resolve new errors
|
||||
- Analyze error patterns and identify root causes
|
||||
- Prioritize issues based on impact and frequency
|
||||
- Create detailed bug reports with stack traces
|
||||
- Monitor error trends across releases
|
||||
|
||||
</Card>
|
||||
|
||||
## Setup
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Navigate to Integrations">
|
||||
|
||||
Go to your [Integrations Settings](https://hub.continue.dev/integrations).
|
||||
</Step>
|
||||
|
||||
<Step title="Connect Sentry">
|
||||
|
||||
Click "Connect" and select Sentry. You'll need the following credentials:
|
||||
|
||||
- **Sentry Organization Slug**: Your organization name (e.g., "my-company")
|
||||
- **Auth Token**: Internal integration token from Sentry
|
||||
- **Client Secret**: For webhook signature verification
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Configure Sentry Internal Integration">
|
||||
|
||||
In your Sentry account:
|
||||
1. Create a new [internal integration](https://docs.sentry.io/product/integrations/integration-platform/)
|
||||
2. Set the webhook URL to `https://api.continue.dev/webhooks/sentry`
|
||||
3. Select "Read and Write" access for "Issue and Event"
|
||||
4. Select "issue" in the webhooks section and click Save Changes
|
||||
5. Copy the Auth Token and Client Secret
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Add Credentials to Mission Control">
|
||||
|
||||
Paste all three values into the integration form and click "Create Connection"
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
<Tip>
|
||||
|
||||
**How to get these credentials:**
|
||||
1. Create a new **internal integration** in Sentry
|
||||
2. Set the webhook URL to `https://api.continue.dev/webhooks/sentry`
|
||||
3. Select "Read and Write" access for "Issue and Event"
|
||||
4. Select "issue" in the webhooks section and click Save Changes
|
||||
5. Find your organization slug in the Sentry URL (your-slug.sentry.io)
|
||||
6. Copy the Auth Token and Client Secret from the integration
|
||||
|
||||
</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:
|
||||
|
||||
### 1. Manual Tasks
|
||||
|
||||
Trigger agents on-demand for error analysis:
|
||||
|
||||
1. Go to [Mission Control Agents](https://hub.continue.dev/agents)
|
||||
2. Select or create a Sentry-enabled agent
|
||||
3. Click "Run Agent" and provide your task description
|
||||
4. Monitor progress and review results in real-time
|
||||
|
||||
**Example Tasks:**
|
||||
- "Analyze the top 10 errors from the last 24 hours"
|
||||
- "Create a PR to fix the authentication timeout error"
|
||||
- "Generate a report on errors affecting mobile users"
|
||||
|
||||
### 2. Automated Workflows
|
||||
|
||||
Set up agents to run automatically:
|
||||
|
||||
- **Webhook-triggered**: Execute when new Sentry errors occur
|
||||
- **Scheduled**: Run daily or weekly error analysis
|
||||
- **Threshold-based**: Trigger when error rates exceed limits
|
||||
|
||||
<Tip>
|
||||
|
||||
Start with manual tasks to refine your prompts, then convert successful workflows to automations for continuous error monitoring.
|
||||
|
||||
</Tip>
|
||||
|
||||
## Integration with GitHub
|
||||
|
||||
Combine Sentry with GitHub integration for a complete workflow:
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Connect Both Integrations">
|
||||
|
||||
Enable both Sentry and GitHub integrations in Mission Control
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Create a Unified Agent">
|
||||
|
||||
Build an agent that:
|
||||
- Receives Sentry error notifications
|
||||
- Analyzes the error and finds the problematic code
|
||||
- Creates a PR with a fix
|
||||
- Adds the PR link to the Sentry issue
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Set Up Automated Workflow">
|
||||
|
||||
Configure the agent to run automatically on new Sentry issues
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Monitoring Agent Activity
|
||||
|
||||
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
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
<Accordion title="Webhooks not triggering">
|
||||
|
||||
**Problem**: Agent isn't running when new errors occur
|
||||
|
||||
**Solutions**:
|
||||
- Verify webhook URL is correct in Sentry
|
||||
- Check that "issue" is selected in webhook events
|
||||
- Ensure Client Secret matches in both Sentry and Mission Control
|
||||
- Review webhook delivery logs in Sentry
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Agent can't access Sentry data">
|
||||
|
||||
**Problem**: Agent returns errors when trying to fetch issue details
|
||||
|
||||
**Solutions**:
|
||||
- Verify Auth Token has "Read and Write" access for "Issue and Event"
|
||||
- Check that organization slug is correct
|
||||
- Ensure token hasn't expired
|
||||
- Confirm project permissions in Sentry
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="PRs not linking to Sentry issues">
|
||||
|
||||
**Problem**: Generated PRs don't reference the Sentry issue
|
||||
|
||||
**Solutions**:
|
||||
- Ensure both Sentry and GitHub integrations are connected
|
||||
- Verify agent has permission to access both services
|
||||
- Check that the agent prompt includes instructions to link issues
|
||||
- Review agent logs for errors
|
||||
|
||||
</Accordion>
|
||||
|
||||
## Support & Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Sentry MCP Cookbook" icon="book-open" href="/guides/sentry-mcp-error-monitoring">
|
||||
|
||||
Comprehensive guide to using Sentry with Continue agents
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="GitHub Integration" icon="github" href="/mission-control/integrations/github">
|
||||
|
||||
Combine Sentry with GitHub for complete automation
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
|
||||
156
docs/mission-control/integrations/slack-agent.mdx
Normal file
156
docs/mission-control/integrations/slack-agent.mdx
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
---
|
||||
title: "Slack Agent"
|
||||
description: "Kick off background Agents from Slack by mentioning @Continue"
|
||||
---
|
||||
|
||||
<Warning>
|
||||
|
||||
The Continue Slack app is currently in beta development and undergoing Slack's approval process.
|
||||
|
||||
</Warning>
|
||||
|
||||
## Overview
|
||||
|
||||
Mention @Continue in any channel with a task description, and it will:
|
||||
|
||||
- Create a new development agent
|
||||
- Clone and work on your Repository
|
||||
- Generate code changes and create pull requests
|
||||
- Keep you updated on progress
|
||||
|
||||
<Card title="What It's Great For" icon="slack">
|
||||
|
||||
- Quick bug fixes and feature implementations
|
||||
- Code reviews and refactoring
|
||||
- Documentation updates
|
||||
- Automated development tasks
|
||||
|
||||
</Card>
|
||||
|
||||
## Setup
|
||||
|
||||
Continue's Slack Bot can be installed to a Slack workspace via Mission Control, from:[Integrations Settings](https://hub.continue.dev/integrations)
|
||||
- Org Integrations Settings - `https://hub.continue.dev/organizations/{your-org}/settings/integrations`
|
||||
|
||||
<Warning>
|
||||
|
||||
Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official.
|
||||
|
||||
</Warning>
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Connect GitHub">
|
||||
|
||||
Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Authorize Slack">
|
||||
|
||||
Click the "Connect" button next to Slack and authorize the app in your workspace.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Set Default Repository (Optional)">
|
||||
|
||||
Use the repository selector within the Slack tile to select a default repository for Continue Agents to work in.
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Usage
|
||||
|
||||
To kick off an agent, mention `@Continue` with a short task description.
|
||||
|
||||
### Thread Context
|
||||
|
||||
When you mention `@Continue` in a **Slack thread**, Continue automatically uses the entire conversation as context. This means your agent starts with full situational awareness.
|
||||
|
||||
If you start a **new message** (not a reply), Continue only sees that single message for context.
|
||||
Use this for quick standalone requests.
|
||||
|
||||
<Tip>
|
||||
|
||||
Provide clear, detailed prompts to help Continue understand your requirements:
|
||||
|
||||
✅ **Good**: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.`
|
||||
|
||||
❌ **Poor**: `@Continue fix auth`
|
||||
|
||||
</Tip>
|
||||
|
||||
<Accordion title="Repository Selection">
|
||||
|
||||
Continue determines which repository to work in with the following precedence:
|
||||
|
||||
1. **Specify in message**: Add `repo=repo-name` to your message:
|
||||
|
||||
```
|
||||
@Continue repo=my-app Fix the login validation bug
|
||||
```
|
||||
|
||||
<Tip>
|
||||
|
||||
Be sure the repository name matches a GitHub repository that the Continue GitHub App has access to.
|
||||
|
||||
</Tip>
|
||||
|
||||
2. **Default repo**: Uses the default repository if set in the integration settings
|
||||
|
||||
3. **Interactive selection**: If no repository is found, Continue will follow up with a dropdown to select a repository
|
||||
|
||||
</Accordion>
|
||||
|
||||
### Sending Follow-up Messages
|
||||
|
||||
Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread:
|
||||
|
||||
```
|
||||
@Continue Also add error handling for edge cases
|
||||
```
|
||||
|
||||
Continue will forward your message to the existing agent session instead of creating a new one.
|
||||
|
||||
## Monitoring Agent Progress
|
||||
|
||||
Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/agents).
|
||||
|
||||
You can also click the Slack icon in the agents page to return to the Slack message.
|
||||
|
||||
## Disconnecting
|
||||
|
||||
To remove the Slack integration:
|
||||
|
||||
1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations)
|
||||
2. Find your Slack integration
|
||||
3. Click "Disconnect"
|
||||
|
||||
## Support
|
||||
|
||||
<Warning>
|
||||
|
||||
The Slack integration is in active development. We'd love to hear your feedback:
|
||||
- Report issues: [GitHub Issues](https://github.com/continuedev/continue/issues)
|
||||
- Feature requests: [GitHub Discussions](https://github.com/continuedev/continue/discussions)
|
||||
|
||||
</Warning>
|
||||
|
||||
## Related Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Agents Introduction" icon="robot" href="../../agents/intro">
|
||||
|
||||
Learn about Continue agents
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="GitHub Integration" icon="github" href="./github">
|
||||
|
||||
Add the GitHub Integration to create issues and PRs
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
316
docs/mission-control/integrations/snyk.mdx
Normal file
316
docs/mission-control/integrations/snyk.mdx
Normal file
|
|
@ -0,0 +1,316 @@
|
|||
---
|
||||
title: "Snyk Integration"
|
||||
description: "Automatically detect and fix vulnerabilities with Continue Agents connected to Snyk"
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Connect Snyk to Continue Mission Control to enable agents to automatically detect, analyze, and resolve security vulnerabilities. When Snyk is enabled, Continue can generate PRs to fix vulnerabilities, analyze security patterns, and maintain application security posture.
|
||||
|
||||
<Card title="What You Can Do with Snyk Integration" icon="shield-check">
|
||||
|
||||
- Automatically generate PRs to fix security vulnerabilities
|
||||
- Analyze dependency risks and suggest updates
|
||||
- Monitor security posture across projects
|
||||
- Create detailed vulnerability reports with remediation steps
|
||||
- Track vulnerability trends and compliance status
|
||||
|
||||
</Card>
|
||||
|
||||
## Setup
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Navigate to Integrations">
|
||||
|
||||
Go to your [Integrations Settings](https://hub.continue.dev/integrations).
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Connect Snyk">
|
||||
|
||||
Click "Connect" next to Snyk integration.
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Authorize with Snyk">
|
||||
|
||||
Click the "Connect with Snyk" button to authorize Continue Mission Control:
|
||||
|
||||
- You'll be redirected to Snyk's OAuth authorization page
|
||||
- Review and approve the requested permissions
|
||||
- You'll be automatically redirected back to the [Snyk inbox view](https://hub.continue.dev/inbox?view=snyk)
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Verify Connection">
|
||||
|
||||
Once redirected back, you'll see:
|
||||
- A confirmation that Snyk is connected
|
||||
- Your Snyk projects available for monitoring
|
||||
- Any active vulnerability alerts
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
<Info>
|
||||
|
||||
**OAuth Authorization**: No manual token configuration needed! Simply click the authorization button and Continue will securely handle the authentication flow with Snyk.
|
||||
|
||||
</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:
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Connect Both Integrations">
|
||||
|
||||
Enable both Snyk and GitHub integrations in Mission Control
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Create a Security Agent">
|
||||
|
||||
Build an agent that:
|
||||
- Receives Snyk vulnerability alerts
|
||||
- Analyzes the security issue in your codebase
|
||||
- Creates a PR with the security fix
|
||||
- Adds security impact analysis to the PR
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Set Up Automated Security Workflow">
|
||||
|
||||
Configure the agent to run automatically on new critical vulnerabilities
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Monitoring Agent Activity
|
||||
|
||||
Track your agent's security remediation performance:
|
||||
|
||||
1. **View in Inbox**: Navigate to the [Snyk view](https://hub.continue.dev/inbox?view=snyk) to see all Snyk-related agent activity
|
||||
2. **Check Snyk Dashboard**: Verify that vulnerabilities are being addressed
|
||||
3. **Review PRs**: Ensure quality and security of generated fixes
|
||||
4. **Monitor Metrics**: Track mean time to remediation (MTTR) and fix rate
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
<Accordion title="OAuth authorization fails">
|
||||
|
||||
**Problem**: Can't complete the Snyk authorization flow
|
||||
|
||||
**Solutions**:
|
||||
- Ensure you have appropriate permissions in your Snyk organization
|
||||
- Check if your organization allows OAuth integrations
|
||||
- Try logging out and back into Snyk before authorizing
|
||||
- Clear browser cookies and try again
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Projects not appearing">
|
||||
|
||||
**Problem**: Snyk projects aren't visible after connection
|
||||
|
||||
**Solutions**:
|
||||
- Verify you have access to projects in Snyk
|
||||
- Check that projects are properly imported in Snyk
|
||||
- Refresh the integration connection
|
||||
- Ensure the OAuth scope includes project access
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Agent can't access vulnerability data">
|
||||
|
||||
**Problem**: Agent returns errors when trying to fetch Snyk data
|
||||
|
||||
**Solutions**:
|
||||
- Verify the OAuth connection is still valid
|
||||
- Re-authorize if the token has expired
|
||||
- Check that the agent has the necessary Snyk context provider
|
||||
- Review agent logs for specific error messages
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Webhooks not triggering">
|
||||
|
||||
**Problem**: Agent isn't running when new vulnerabilities are found
|
||||
|
||||
**Solutions**:
|
||||
- Verify webhook configuration in Snyk settings
|
||||
- Check that webhook URL points to Continue Mission Control
|
||||
- Ensure webhook events include vulnerability detection
|
||||
- Review webhook delivery logs in Snyk
|
||||
|
||||
</Accordion>
|
||||
|
||||
## Support & Resources
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Snyk MCP Cookbook" icon="book-open" href="/guides/snyk-mcp-continue-cookbook">
|
||||
|
||||
Complete guide with security scanning recipes, CI/CD integration, and automated remediation workflows
|
||||
|
||||
</Card>
|
||||
|
||||
<Card title="GitHub Integration" icon="github" href="/mission-control/integrations/github">
|
||||
|
||||
Combine Snyk with GitHub for complete security automation
|
||||
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
48
docs/mission-control/metrics.mdx
Normal file
48
docs/mission-control/metrics.mdx
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
---
|
||||
title: "Metrics"
|
||||
description: "Track agent performance, workflow activity, and PR outcomes."
|
||||
---
|
||||
|
||||
<Info>
|
||||
Metrics give you visibility into how your Agents and Workflows perform across your repositories.
|
||||
Use this page to understand activity patterns, identify bottlenecks, and measure success over time.
|
||||
</Info>
|
||||
|
||||
## What Metrics Show
|
||||
|
||||
<AccordionGroup>
|
||||
|
||||
<Accordion title="Activity (Last 14 Days)">
|
||||
A day-by-day graph of total Agent runs across your repositories.
|
||||
- See which Agents are running most often
|
||||
- Spot spikes, trends, or recurring failures
|
||||
- Monitor automated Workflows in production
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Agent Statistics">
|
||||
Per-Agent breakdown of:
|
||||
- **Total runs**
|
||||
- **PR creation rate**
|
||||
- **PR status** (open, merged, closed, failed)
|
||||
- **Success vs. intervention rate**
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Workflow Impact (if enabled)">
|
||||
Track which Workflows create the most tasks or PRs, and how often they complete successfully.
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
## Why Metrics Matter
|
||||
|
||||
<CardGroup cols={2}>
|
||||
|
||||
<Card title="Improve Agent Reliability" icon="line-chart">
|
||||
Identify which Agents need better rules, tools, or prompts.
|
||||
</Card>
|
||||
|
||||
<Card title="Measure Automation Value" icon="bar-chart">
|
||||
See how much work your automated Workflows are completing across your repos.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
title: "Secret Types"
|
||||
description: "The Continue Hub comes with secrets management built-in. Secrets are values such as API keys or endpoints that can be shared across configurations and within organizations."
|
||||
description: "The Continue Mission Control comes with secrets management built-in. Secrets are values such as API keys or endpoints that can be shared across configurations and within organizations."
|
||||
---
|
||||
|
||||
## User secrets
|
||||
|
||||
User secrets are defined by the user for themselves. This means that user secrets are available only to the user that created them. User secrets are assumed to be safe for the user to know, so they will be sent to the IDE extensions alongside `config.yaml`.
|
||||
|
||||
This allows API requests to be made directly from the IDE extensions. You can use user secrets with [Solo](/hub/governance/pricing#solo), [Teams](/hub/governance/pricing#teams), and [Enterprise](/hub/governance/pricing#enterprise). User secrets can be managed [here](https://hub.continue.dev/settings/secrets) in the hub.
|
||||
This allows API requests to be made directly from the IDE extensions. You can use user secrets with [Solo](/hub/governance/pricing#solo), [Teams](/hub/governance/pricing#teams), and [Enterprise](/hub/governance/pricing#enterprise). User secrets can be managed [here](https://hub.continue.dev/settings/secrets) in Mission Control.
|
||||
|
||||
## Org secrets
|
||||
|
||||
68
docs/mission-control/sharing.mdx
Normal file
68
docs/mission-control/sharing.mdx
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
title: "Sharing"
|
||||
description: "Connect with the Continue community to discover, share, and collaborate on AI development tools."
|
||||
---
|
||||
|
||||
<Info>
|
||||
You can share any Agent or Component (Models, Rules, Prompts, MCP Servers) by publishing it as Public or Organization-visible.
|
||||
Sharing makes it easy for teammates—or the entire community—to reuse your best workflows.
|
||||
</Info>
|
||||
|
||||
## Where to Find Your Shareable Items
|
||||
|
||||
Your personal and organization components live in your Profile.
|
||||
|
||||
To access your profile (or your organization’s profile):
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Open Mission Control">
|
||||
</Step>
|
||||
|
||||
<Step title="Open the Organization Switcher in the top left sidebar nav">
|
||||
</Step>
|
||||
|
||||
<Step title="Select the Profile Icon">
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
<Note>
|
||||
Profiles look the same for personal users and organizations. The only difference is visibility options: personal profiles can create *Public* or *Private* items. Organizations can also create *Organization-only* items.
|
||||
</Note>
|
||||
|
||||
## Sharing Options
|
||||
|
||||
Each Agent or Component can be published with one of three visibility levels:
|
||||
|
||||
<CardGroup cols={3}>
|
||||
|
||||
<Card title="Personal (Private)" icon="lock">
|
||||
Only you can see and use the item.
|
||||
Great for prototypes or experiments.
|
||||
</Card>
|
||||
|
||||
<Card title="Organization" icon="users">
|
||||
Visible to everyone in your organization.
|
||||
Ideal for internal workflows, standardized agents, and shared tooling.
|
||||
</Card>
|
||||
|
||||
<Card title="Public" icon="globe">
|
||||
Available to everyone in Continue Mission Control.
|
||||
Perfect for templates, community contributions, and reusable examples.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
## Community
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Join our Discord" icon="people" href="https://discord.gg/vapESyrFmJs">
|
||||
Join thousands of developers using Continue and share your experiences.
|
||||
</Card>
|
||||
<Card title="Share your feedback" icon="globe" href="https://github.com/continuedev/continue/discussions">
|
||||
Let us know what you think of Mission Control.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
|
||||
|
||||
137
docs/mission-control/tasks.mdx
Normal file
137
docs/mission-control/tasks.mdx
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
---
|
||||
title: "Tasks"
|
||||
description: "A Task is a unit of work shared between you and an agent. You trigger the task, the agent executes it, then you review or approve the results. Tasks can run **on demand**, **on triggers**, or **on schedules**."
|
||||
---
|
||||
|
||||
<Info>
|
||||
|
||||
**What is a Task?**
|
||||
|
||||
A Task is a unit of work that combines:
|
||||
- Your instructions
|
||||
- An agent's capabilities (model, rules, tools, prompt)
|
||||
- Your codebase (repository and branch)
|
||||
|
||||
Tasks can be triggered manually, by events, or on a schedule.
|
||||
|
||||
</Info>
|
||||
|
||||
## Creating and Running a Task
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Choose an Agent">
|
||||
|
||||
Select the **Agent** you want to use for this task.
|
||||
|
||||
<Tip>
|
||||
|
||||
Don't have an Agent yet? Create one in **[Mission Control → Agents](https://hub.continue.dev/new?type=agent)** before setting up your first task.
|
||||
|
||||
</Tip>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Select Your Repository">
|
||||
|
||||
Pick the **repository** and **branch** where the Agent will work.
|
||||
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Describe the Task">
|
||||
|
||||
Add your user input — clear instructions for what you want the agent to accomplish.
|
||||
|
||||
**Example prompts:**
|
||||
|
||||
```text
|
||||
Refactor unused React components and clean up imports
|
||||
```
|
||||
|
||||
```text
|
||||
Add error handling to all API endpoints in the /api directory
|
||||
```
|
||||
|
||||
```text
|
||||
Update README with installation instructions for the new CLI tool
|
||||
```
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Run the Task">
|
||||
|
||||
Click the Submit button.
|
||||
|
||||
The Agent will:
|
||||
- Analyze your repository and branch
|
||||
- Execute the task based on your input
|
||||
- Generate changes based on your task request
|
||||
- Create a detailed session log
|
||||
|
||||
<Info>
|
||||
|
||||
Task execution time varies based on complexity. You can monitor progress in your inbox.
|
||||
|
||||
</Info>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Review Results">
|
||||
|
||||
Each Task run creates a Session with complete traceability.
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Summary">
|
||||
|
||||
A high-level explanation of:
|
||||
- What the Agent did
|
||||
- Why decisions were made
|
||||
- Key changes implemented
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Diff">
|
||||
|
||||
The exact code changes:
|
||||
- Files modified
|
||||
- Lines added/removed
|
||||
- Side-by-side comparison
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Logs">
|
||||
|
||||
Full execution trace:
|
||||
- Tool calls made
|
||||
- Agent reasoning
|
||||
- Any errors or warnings
|
||||
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
|
||||
<Tip>
|
||||
|
||||
Review the diff carefully before accepting changes. You can:
|
||||
- Accept all changes
|
||||
- Request modifications
|
||||
- Reject and retry with an updated input
|
||||
|
||||
</Tip>
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Next Steps
|
||||
|
||||
|
||||
<Card title="Create a Workflow" icon="workflow" href="/mission-control/workflows">
|
||||
|
||||
Automate tasks with event-based triggers
|
||||
|
||||
</Card>
|
||||
|
||||
|
||||
156
docs/mission-control/workflows.mdx
Normal file
156
docs/mission-control/workflows.mdx
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
---
|
||||
title: "Workflows"
|
||||
description: "Workflows trigger agents on a schedule or when events occur."
|
||||
---
|
||||
|
||||
|
||||
<Info>
|
||||
|
||||
What is a Workflow?
|
||||
|
||||
A Workflow automatically runs an Agent on a repository when:
|
||||
- A schedule is reached (cron)
|
||||
- An event occurs (webhook, e.g. GitHub PR)
|
||||
|
||||
Use Workflows for recurring or event-driven tasks like:
|
||||
- Daily vulnerability scans
|
||||
- Weekly changelog generation
|
||||
- Reacting to new pull requests or Sentry alerts
|
||||
|
||||
</Info>
|
||||
|
||||
---
|
||||
|
||||
## Creating a Workflow
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Start from scratch or a template">
|
||||
|
||||
In Mission Control → Workflows, create a [new workflow](https://hub.continue.dev/workflows/new).
|
||||
<AccordionGroup>
|
||||
|
||||
<Accordion title="Start with a Blank Workflow">
|
||||
Create a workflow from scratch by clicking Create Workflow.
|
||||
You'll choose the repository, agent, trigger type, and schedule or webhook.
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Use a Workflow Template">
|
||||
Select any of the “Try these Workflows” cards such as:
|
||||
- _Update agents.md_
|
||||
- _Draft Changelog Updates_
|
||||
- _Solve Snyk Vulnerabilities_
|
||||
|
||||
Templates preload the recommended agent and schedule so you can customize and run them quickly.
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Name the Workflow">
|
||||
|
||||
Give your Workflow a clear, descriptive name.
|
||||
|
||||
Examples:
|
||||
- `Morning status check`
|
||||
- `Weekly changelog draft`
|
||||
- `Daily Snyk vulnerability scan`
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Select Repository & Agent">
|
||||
|
||||
Choose:
|
||||
|
||||
- Repository – the codebase the Agent will run against
|
||||
- Agent – the configured Agent (model, rules, tools, prompt) that should perform the work
|
||||
|
||||
<Tip>
|
||||
Need a new Agent? Create one in [Mission Control → Agents](https://hub.continue.dev/new?type=agent), then return to this screen.
|
||||
</Tip>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Choose Trigger Type">
|
||||
|
||||
Pick how this Workflow should run:
|
||||
|
||||
- Cron – run on a schedule (daily, weekly, hourly, custom)
|
||||
- Webhook – run when an external system sends a request (e.g. GitHub PR event)
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Configure the Trigger">
|
||||
|
||||
<AccordionGroup>
|
||||
|
||||
<Accordion title="Cron Workflow">
|
||||
|
||||
For scheduled Workflows:
|
||||
|
||||
1. Select Cron as the trigger type
|
||||
2. Choose a schedule:
|
||||
- Common presets (e.g. weekdays at 9 AM UTC)
|
||||
- Hourly, Daily, Weekly, Monthly
|
||||
- Or define a Custom expression
|
||||
3. (Optional) Add additional instructions for this Workflow run in the text area.
|
||||
|
||||
Example use cases:
|
||||
- Run a morning status check on your repo every weekday
|
||||
- Refactor React components once per week
|
||||
- Generate a weekly changelog from recent commits
|
||||
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Webhook Workflow">
|
||||
|
||||
For event-based Workflows:
|
||||
|
||||
1. Select Webhook as the trigger type
|
||||
2. (Optional) Set a Secret Header (e.g. `X-Webhook-Secret`)
|
||||
3. (Optional) Set a Secret Value (token your external system must send)
|
||||
|
||||
You’ll receive a webhook URL to call from:
|
||||
- GitHub Actions
|
||||
- GitHub webhooks
|
||||
- CI/CD pipelines
|
||||
- Any external system that can send HTTP requests
|
||||
|
||||
Example use cases:
|
||||
- Run an Agent whenever a pull request is opened
|
||||
- Kick off a workflow when Snyk or Sentry detects an issue
|
||||
|
||||
</Accordion>
|
||||
|
||||
</AccordionGroup>
|
||||
|
||||
</Step>
|
||||
|
||||
<Step title="Create the Workflow">
|
||||
|
||||
Click Create Cron Workflow or Create Webhook Workflow, depending on your trigger type.
|
||||
|
||||
Your Workflow will now appear in the Workflows list and begin running based on its configured schedule or events.
|
||||
|
||||
</Step>
|
||||
|
||||
</Steps>
|
||||
|
||||
## Monitoring Workflow Runs
|
||||
|
||||
Workflow runs show up just like Tasks:
|
||||
|
||||
- Each execution creates a Session
|
||||
- Workflows appear in your Inbox
|
||||
- You can open the detail view to see the summary, diff, and logs.
|
||||
|
||||
<CardGroup>
|
||||
<Card title="Create a Workflow Now" icon="workflow" href="https://hub.continue.dev/workflows">
|
||||
</Card>
|
||||
|
||||
<Card title="Add an Integration" icon="workflow" href="/mission-control/integrations">
|
||||
Connect GitHub, Slack, and Sentry for richer triggers and actions.
|
||||
</Card>
|
||||
|
||||
</CardGroup>
|
||||
469
docs/package-lock.json
generated
469
docs/package-lock.json
generated
|
|
@ -9,7 +9,7 @@
|
|||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@c15t/react": "^1.6.1"
|
||||
"@c15t/react": "^1.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mintlify": "^4.2.3"
|
||||
|
|
@ -93,13 +93,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@c15t/backend": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/backend/-/backend-1.6.0.tgz",
|
||||
"integrity": "sha512-A9XeHFUIrJxda53yxgErmmHy9W/tFAJCtn0aMWNTPS2fEMhrAs3H5ICFzXDqeEo/0g4BE8Pg6Y86ocJwPLcXAg==",
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/backend/-/backend-1.7.0.tgz",
|
||||
"integrity": "sha512-rEhyWAq2xeAljL1ctSD9YGu/wG7GRwsUNTm6pEAS7q5nQ4ApRppUmQcLqJDb/B4gyY0Z/HCx56iIPkXYnymDYg==",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@c15t/translations": "1.6.0",
|
||||
"@doubletie/logger": "1.0.4",
|
||||
"@c15t/logger": "1.0.0",
|
||||
"@c15t/translations": "1.7.0",
|
||||
"@opentelemetry/api": "1.9.0",
|
||||
"@opentelemetry/resources": "^2.0.1",
|
||||
"@opentelemetry/sdk-node": "^0.203.0",
|
||||
|
|
@ -249,16 +249,27 @@
|
|||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
},
|
||||
"node_modules/@c15t/logger": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/logger/-/logger-1.0.0.tgz",
|
||||
"integrity": "sha512-z2RrUnvO5bbEg/qd9iD/TqdBi04vfvALf2uovDVLJiQTNfOVUb7FM/GkPH5mugiDwErlrtVhAW8hW/2VmBXbUA==",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"chalk": "^5.4.1",
|
||||
"neverthrow": "^8.2.0",
|
||||
"picocolors": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@c15t/react": {
|
||||
"version": "1.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/react/-/react-1.6.1.tgz",
|
||||
"integrity": "sha512-l5snHHOVbO+uS3IYB4YOi9YJqsU7rpNaboFqTyy7N0uR51d30EkO8rhn8yYtMcVJyxCuiz9f8n+/6YGPW/BJmA==",
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/react/-/react-1.7.0.tgz",
|
||||
"integrity": "sha512-0hduy9wlLMcKgj7Pf5f3B4JjbLPVKDlurwuC0d9NyyTABFaegn9ehbP6kiyDt7qVCoiaN2jyOhMQyKON5Tb49g==",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@radix-ui/react-accordion": "1.2.4",
|
||||
"@radix-ui/react-slot": "1.2.0",
|
||||
"@radix-ui/react-switch": "1.1.4",
|
||||
"c15t": "1.6.0",
|
||||
"c15t": "1.7.0",
|
||||
"clsx": "2.1.1",
|
||||
"zustand": "^5.0.3"
|
||||
},
|
||||
|
|
@ -268,9 +279,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@c15t/translations": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/translations/-/translations-1.6.0.tgz",
|
||||
"integrity": "sha512-a700vmWWVYH+++0N+Mdwy33fX+O5hJF9QGB6cG5zsmJ8B0ef6XXKQ7DC3xN1Xt+xO0J7fACacDm40ZIxOlxiWg==",
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@c15t/translations/-/translations-1.7.0.tgz",
|
||||
"integrity": "sha512-irrJAni2Cei56wHLmGoIoPHoXk/ygXllWs4dBF9LL0D/Ns7bvcBi/CAPCnCD1hw4FnoJ9amPqYtVKQ3sT++JaQ==",
|
||||
"license": "GPL-3.0-only"
|
||||
},
|
||||
"node_modules/@clack/core": {
|
||||
|
|
@ -294,20 +305,6 @@
|
|||
"sisteransi": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@doubletie/logger": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@doubletie/logger/-/logger-1.0.4.tgz",
|
||||
"integrity": "sha512-oZXaHQbTh76kCwIVv+EzAvQObr2k0+hDziB6bDBzvB/B7WCrNMBpqn8JWDMtzMJQhr4iGdmPT2FTczbcnR3zvg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"next": "15.2.2",
|
||||
"picocolors": "^1.1.1",
|
||||
"tinygradient": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/runtime": {
|
||||
"version": "1.4.4",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.4.tgz",
|
||||
|
|
@ -328,9 +325,9 @@
|
|||
"optional": true
|
||||
},
|
||||
"node_modules/@grpc/grpc-js": {
|
||||
"version": "1.14.0",
|
||||
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.0.tgz",
|
||||
"integrity": "sha512-N8Jx6PaYzcTRNzirReJCtADVoq4z7+1KQ4E70jTg/koQiMoUSN1kbNjPOqpPbhMFhfU1/l7ixspPl8dNY+FoUg==",
|
||||
"version": "1.14.1",
|
||||
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.1.tgz",
|
||||
"integrity": "sha512-sPxgEWtPUR3EnRJCEtbGZG2iX8LQDUls2wUS3o27jg07KqJFMq6YDeWvMo1wfpmy3rqRdS0rivpLwhqQtEyCuQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@grpc/proto-loader": "^0.8.0",
|
||||
|
|
@ -1954,140 +1951,6 @@
|
|||
"zod-to-json-schema": "^3.20.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/env": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-15.2.2.tgz",
|
||||
"integrity": "sha512-yWgopCfA9XDR8ZH3taB5nRKtKJ1Q5fYsTOuYkzIIoS8TJ0UAUKAGF73JnGszbjk2ufAQDj6mDdgsJAFx5CLtYQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@next/swc-darwin-arm64": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.2.2.tgz",
|
||||
"integrity": "sha512-HNBRnz+bkZ+KfyOExpUxTMR0Ow8nkkcE6IlsdEa9W/rI7gefud19+Sn1xYKwB9pdCdxIP1lPru/ZfjfA+iT8pw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-darwin-x64": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.2.2.tgz",
|
||||
"integrity": "sha512-mJOUwp7al63tDpLpEFpKwwg5jwvtL1lhRW2fI1Aog0nYCPAhxbJsaZKdoVyPZCy8MYf/iQVNDuk/+i29iLCzIA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-arm64-gnu": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.2.2.tgz",
|
||||
"integrity": "sha512-5ZZ0Zwy3SgMr7MfWtRE7cQWVssfOvxYfD9O7XHM7KM4nrf5EOeqwq67ZXDgo86LVmffgsu5tPO57EeFKRnrfSQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-arm64-musl": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.2.2.tgz",
|
||||
"integrity": "sha512-cgKWBuFMLlJ4TWcFHl1KOaVVUAF8vy4qEvX5KsNd0Yj5mhu989QFCq1WjuaEbv/tO1ZpsQI6h/0YR8bLwEi+nA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-x64-gnu": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.2.2.tgz",
|
||||
"integrity": "sha512-c3kWSOSsVL8rcNBBfOq1+/j2PKs2nsMwJUV4icUxRgGBwUOfppeh7YhN5s79enBQFU+8xRgVatFkhHU1QW7yUA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-x64-musl": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.2.2.tgz",
|
||||
"integrity": "sha512-PXTW9PLTxdNlVYgPJ0equojcq1kNu5NtwcNjRjHAB+/sdoKZ+X8FBu70fdJFadkxFIGekQTyRvPMFF+SOJaQjw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-arm64-msvc": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.2.2.tgz",
|
||||
"integrity": "sha512-nG644Es5llSGEcTaXhnGWR/aThM/hIaz0jx4MDg4gWC8GfTCp8eDBWZ77CVuv2ha/uL9Ce+nPTfYkSLG67/sHg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-x64-msvc": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.2.2.tgz",
|
||||
"integrity": "sha512-52nWy65S/R6/kejz3jpvHAjZDPKIbEQu4x9jDBzmB9jJfuOy5rspjKu4u77+fI4M/WzLXrrQd57hlFGzz1ubcQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@noble/hashes": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
|
||||
|
|
@ -2120,9 +1983,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@opentelemetry/api-logs": {
|
||||
"version": "0.207.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.207.0.tgz",
|
||||
"integrity": "sha512-lAb0jQRVyleQQGiuuvCOTDVspc14nx6XJjP4FspJ1sNARo3Regq4ZZbrc3rN4b1TYSuUCvgH+UXUPug4SLOqEQ==",
|
||||
"version": "0.208.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.208.0.tgz",
|
||||
"integrity": "sha512-CjruKY9V6NMssL/T1kAFgzosF1v9o6oeN+aX5JB/C/xPNtmgIJqcXHG7fA82Ou1zCpWGl4lROQUKwUNE1pMCyg==",
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
|
|
@ -2793,13 +2656,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@opentelemetry/instrumentation": {
|
||||
"version": "0.207.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.207.0.tgz",
|
||||
"integrity": "sha512-y6eeli9+TLKnznrR8AZlQMSJT7wILpXH+6EYq5Vf/4Ao+huI7EedxQHwRgVUOMLFbe7VFDvHJrX9/f4lcwnJsA==",
|
||||
"version": "0.208.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.208.0.tgz",
|
||||
"integrity": "sha512-Eju0L4qWcQS+oXxi6pgh7zvE2byogAkcsVv0OjHF/97iOz1N/aKE6etSGowYkie+YA1uo6DNwdSxaaNnLvcRlA==",
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@opentelemetry/api-logs": "0.207.0",
|
||||
"@opentelemetry/api-logs": "0.208.0",
|
||||
"import-in-the-middle": "^2.0.0",
|
||||
"require-in-the-middle": "^8.0.0"
|
||||
},
|
||||
|
|
@ -3360,9 +3223,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@opentelemetry/semantic-conventions": {
|
||||
"version": "1.37.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.37.0.tgz",
|
||||
"integrity": "sha512-JD6DerIKdJGmRp4jQyX5FlrQjA4tjOw1cvfsPAZXfOOEErMUHjPcPSICS+6WnM0nB0efSFARh0KAZss+bvExOA==",
|
||||
"version": "1.38.0",
|
||||
"resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.38.0.tgz",
|
||||
"integrity": "sha512-kocjix+/sSggfJhwXqClZ3i9Y/MI0fp7b+g7kCRm6psy2dsf8uApTRclwG18h8Avm7C9+fnt+O36PspJ/OzoWg==",
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
|
|
@ -3440,12 +3303,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@orpc/otel": {
|
||||
"version": "1.10.3",
|
||||
"resolved": "https://registry.npmjs.org/@orpc/otel/-/otel-1.10.3.tgz",
|
||||
"integrity": "sha512-dH+JhDyE8WGBP9MmqZYtk42b7+iI0CNpHWqLKNKs6Ac/ovroLIUR+DpeU90BkkH3ieEyiJy2Gcdj+burZb++4g==",
|
||||
"version": "1.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@orpc/otel/-/otel-1.10.4.tgz",
|
||||
"integrity": "sha512-iXl0HBVK2i5PoCxhK1MRxKuZWsdD/v1+Oz4LSOqtVulIt5H9/Idb790Eu/R46rwyu/sZ5eJ0PFn2V9xpaFH6vw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@orpc/shared": "1.10.3"
|
||||
"@orpc/shared": "1.10.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": ">=1.9.0",
|
||||
|
|
@ -3453,13 +3316,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@orpc/otel/node_modules/@orpc/shared": {
|
||||
"version": "1.10.3",
|
||||
"resolved": "https://registry.npmjs.org/@orpc/shared/-/shared-1.10.3.tgz",
|
||||
"integrity": "sha512-BOVQ47V1o47gURvvnqjtnCoYxMSRDyOi8KxyGZO72MIqY3sLtUHOmosLBoMWYla487YiIyoXlWU7Lo32jYvJbw==",
|
||||
"version": "1.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@orpc/shared/-/shared-1.10.4.tgz",
|
||||
"integrity": "sha512-NNQFfVVI2GFpJsaHdT6Zs/89NGod15DhGPSPFmtk9lNdQ4QzuqjAvTvEdNyeDEmcnUdNEJqhk5S2bpK1QTjWvQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"radash": "^12.1.1",
|
||||
"type-fest": "^5.1.0"
|
||||
"type-fest": "^5.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": ">=1.9.0"
|
||||
|
|
@ -4163,9 +4026,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||
"version": "4.52.5",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz",
|
||||
"integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==",
|
||||
"version": "4.53.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.1.tgz",
|
||||
"integrity": "sha512-E/n8x2MSjAQgjj9IixO4UeEUeqXLtiA7pyoXCFYLuXpBA/t2hnbIdxHfA7kK9BFsYAoNU4st1rHYdldl8dTqGA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -4707,27 +4570,6 @@
|
|||
"dev": true,
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/@swc/counter": {
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
|
||||
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@swc/helpers": {
|
||||
"version": "0.5.15",
|
||||
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
|
||||
"integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@swc/helpers/node_modules/tslib": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
||||
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/@szmarczak/http-timer": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz",
|
||||
|
|
@ -5576,17 +5418,6 @@
|
|||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/busboy": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
|
||||
"integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
|
||||
"dependencies": {
|
||||
"streamsearch": "^1.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.16.0"
|
||||
}
|
||||
},
|
||||
"node_modules/bytes": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
|
||||
|
|
@ -5598,13 +5429,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/c15t": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/c15t/-/c15t-1.6.0.tgz",
|
||||
"integrity": "sha512-ZuphxalLCQoaktLrioBikiziHb8sYue3InPNWcaACxwmke/eTR58UZ2fXa5O4cfrI03Q8GVGVem1Cnl6ewn5mg==",
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/c15t/-/c15t-1.7.0.tgz",
|
||||
"integrity": "sha512-YmVrOEEQruyLY0iqdlY9/NsAlfaIrCy3bgc8snAFLNNdZtKJpcRbf3Q1cR51sA+foN0Sw0N0aS0sbQWzLLZTuw==",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@c15t/backend": "1.6.0",
|
||||
"@c15t/translations": "1.6.0",
|
||||
"@c15t/backend": "1.7.0",
|
||||
"@c15t/translations": "1.7.0",
|
||||
"@orpc/client": "1.8.1",
|
||||
"@orpc/server": "1.8.1",
|
||||
"zustand": "^5.0.3"
|
||||
|
|
@ -5696,26 +5527,6 @@
|
|||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001753",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001753.tgz",
|
||||
"integrity": "sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/browserslist"
|
||||
},
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "CC-BY-4.0"
|
||||
},
|
||||
"node_modules/ccount": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
|
||||
|
|
@ -5731,7 +5542,6 @@
|
|||
"version": "5.4.1",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz",
|
||||
"integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "^12.17.0 || ^14.13 || >=16.0.0"
|
||||
|
|
@ -5959,12 +5769,6 @@
|
|||
"node": ">= 12"
|
||||
}
|
||||
},
|
||||
"node_modules/client-only": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
|
||||
"integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cliui": {
|
||||
"version": "8.0.1",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
|
||||
|
|
@ -6098,7 +5902,7 @@
|
|||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
|
||||
"integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1",
|
||||
|
|
@ -6130,7 +5934,7 @@
|
|||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
||||
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"color-name": "^1.0.0",
|
||||
|
|
@ -6584,7 +6388,7 @@
|
|||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
|
||||
"integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
|
|
@ -11263,24 +11067,6 @@
|
|||
"node": "^18.17.0 || >=20.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"version": "3.3.11",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
|
||||
"integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/negotiator": {
|
||||
"version": "0.6.3",
|
||||
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
|
||||
|
|
@ -11323,60 +11109,6 @@
|
|||
"@rollup/rollup-linux-x64-gnu": "^4.24.0"
|
||||
}
|
||||
},
|
||||
"node_modules/next": {
|
||||
"version": "15.2.2",
|
||||
"resolved": "https://registry.npmjs.org/next/-/next-15.2.2.tgz",
|
||||
"integrity": "sha512-dgp8Kcx5XZRjMw2KNwBtUzhngRaURPioxoNIVl5BOyJbhi9CUgEtKDO7fx5wh8Z8vOVX1nYZ9meawJoRrlASYA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@next/env": "15.2.2",
|
||||
"@swc/counter": "0.1.3",
|
||||
"@swc/helpers": "0.5.15",
|
||||
"busboy": "1.6.0",
|
||||
"caniuse-lite": "^1.0.30001579",
|
||||
"postcss": "8.4.31",
|
||||
"styled-jsx": "5.1.6"
|
||||
},
|
||||
"bin": {
|
||||
"next": "dist/bin/next"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@next/swc-darwin-arm64": "15.2.2",
|
||||
"@next/swc-darwin-x64": "15.2.2",
|
||||
"@next/swc-linux-arm64-gnu": "15.2.2",
|
||||
"@next/swc-linux-arm64-musl": "15.2.2",
|
||||
"@next/swc-linux-x64-gnu": "15.2.2",
|
||||
"@next/swc-linux-x64-musl": "15.2.2",
|
||||
"@next/swc-win32-arm64-msvc": "15.2.2",
|
||||
"@next/swc-win32-x64-msvc": "15.2.2",
|
||||
"sharp": "^0.33.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": "^1.1.0",
|
||||
"@playwright/test": "^1.41.2",
|
||||
"babel-plugin-react-compiler": "*",
|
||||
"react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
|
||||
"react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
|
||||
"sass": "^1.3.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@opentelemetry/api": {
|
||||
"optional": true
|
||||
},
|
||||
"@playwright/test": {
|
||||
"optional": true
|
||||
},
|
||||
"babel-plugin-react-compiler": {
|
||||
"optional": true
|
||||
},
|
||||
"sass": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/nimma": {
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.3.tgz",
|
||||
|
|
@ -11937,34 +11669,6 @@
|
|||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.4.31",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
|
||||
"integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/postcss/"
|
||||
},
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/postcss"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.6",
|
||||
"picocolors": "^1.0.0",
|
||||
"source-map-js": "^1.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.6.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
|
||||
|
|
@ -13169,7 +12873,7 @@
|
|||
"version": "0.33.5",
|
||||
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz",
|
||||
"integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
|
@ -13345,7 +13049,7 @@
|
|||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
||||
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"is-arrayish": "^0.3.1"
|
||||
|
|
@ -13355,7 +13059,7 @@
|
|||
"version": "0.3.2",
|
||||
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
||||
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
|
||||
"devOptional": true,
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/sisteransi": {
|
||||
|
|
@ -13568,15 +13272,6 @@
|
|||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/source-map-js": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
|
||||
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
|
||||
"license": "BSD-3-Clause",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/space-separated-tokens": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
|
||||
|
|
@ -13659,14 +13354,6 @@
|
|||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/streamsearch": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
|
||||
"integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/streamx": {
|
||||
"version": "2.22.1",
|
||||
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.1.tgz",
|
||||
|
|
@ -13898,29 +13585,6 @@
|
|||
"inline-style-parser": "0.2.4"
|
||||
}
|
||||
},
|
||||
"node_modules/styled-jsx": {
|
||||
"version": "5.1.6",
|
||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",
|
||||
"integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"client-only": "0.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@babel/core": {
|
||||
"optional": true
|
||||
},
|
||||
"babel-plugin-macros": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/superjson": {
|
||||
"version": "2.2.5",
|
||||
"resolved": "https://registry.npmjs.org/superjson/-/superjson-2.2.5.tgz",
|
||||
|
|
@ -14019,21 +13683,6 @@
|
|||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/tinycolor2": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz",
|
||||
"integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/tinygradient": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/tinygradient/-/tinygradient-2.0.1.tgz",
|
||||
"integrity": "sha512-V7K7sZvniKq4wLvDMGyvaAoZbeoVjCa19dMtMFmtrinK/yHiRig3sV9BefrRtw1N5l5QM2mzFBWCg2NGxaVZyw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tinycolor2": "^1.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/to-buffer": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.2.2.tgz",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@
|
|||
"mintlify": "^4.2.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@c15t/react": "^1.6.1"
|
||||
"@c15t/react": "^1.7.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ Confiugration example:
|
|||
|
||||
```yaml title="config.yaml"
|
||||
rules:
|
||||
- uses: sanity/sanity-opinionated # rules file stored on Continue Hub
|
||||
- uses: sanity/sanity-opinionated # rules file stored on Continue Mission Control
|
||||
- uses: file://user/Desktop/rules.md # rules file stored on local computer
|
||||
```
|
||||
|
||||
|
|
@ -245,7 +245,7 @@ Configuration example:
|
|||
|
||||
```yaml title="config.yaml"
|
||||
prompts:
|
||||
- uses: supabase/create-functions # prompts file stored on Continue Hub
|
||||
- uses: supabase/create-functions # prompts file stored on Continue Mission Control
|
||||
- uses: file://user/Desktop/prompts.md # prompts file stored on local computer
|
||||
```
|
||||
|
||||
|
|
|
|||
17
docs/reo-tracking.js
Normal file
17
docs/reo-tracking.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Reo.dev Tracking Implementation for Continue Documentation
|
||||
// Client ID: 7aa28ed11570734
|
||||
|
||||
!(function () {
|
||||
var e, t, n;
|
||||
e = "7aa28ed11570734";
|
||||
t = function () {
|
||||
Reo.init({
|
||||
clientID: "7aa28ed11570734",
|
||||
});
|
||||
};
|
||||
n = document.createElement("script");
|
||||
n.src = "https://static.reo.dev/" + e + "/reo.js";
|
||||
n.defer = !0;
|
||||
n.onload = t;
|
||||
document.head.appendChild(n);
|
||||
})();
|
||||
|
|
@ -26,6 +26,7 @@ import { createSession, getCompleteStateSnapshot } from "../session.js";
|
|||
import { messageQueue } from "../stream/messageQueue.js";
|
||||
import { constructSystemMessage } from "../systemMessage.js";
|
||||
import { telemetryService } from "../telemetry/telemetryService.js";
|
||||
import { reportFailureTool } from "../tools/reportFailure.js";
|
||||
import { gracefulExit } from "../util/exit.js";
|
||||
import { formatError } from "../util/formatError.js";
|
||||
import { getGitDiffSnapshot } from "../util/git.js";
|
||||
|
|
@ -472,6 +473,7 @@ export async function serve(prompt?: string, options: ServeOptions = {}) {
|
|||
removePartialAssistantMessage(state);
|
||||
} else {
|
||||
logger.error(`Error: ${formatError(e)}`);
|
||||
|
||||
// Add error message via ChatHistoryService
|
||||
const errorMessage = `Error: ${formatError(e)}`;
|
||||
try {
|
||||
|
|
@ -482,6 +484,18 @@ export async function serve(prompt?: string, options: ServeOptions = {}) {
|
|||
contextItems: [],
|
||||
});
|
||||
}
|
||||
|
||||
// Report failure to control plane (retries exhausted or non-retryable error)
|
||||
try {
|
||||
await reportFailureTool.run({
|
||||
errorMessage: formatError(e),
|
||||
});
|
||||
} catch (reportError) {
|
||||
logger.error(
|
||||
`Failed to report agent failure: ${formatError(reportError)}`,
|
||||
);
|
||||
// Don't block on reporting failure
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
state.currentAbortController = null;
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ export async function compactChatHistory(
|
|||
llmApi,
|
||||
controller,
|
||||
streamCallbacks,
|
||||
true,
|
||||
);
|
||||
|
||||
// Create the compacted history with a special marker
|
||||
|
|
|
|||
|
|
@ -194,6 +194,8 @@ async function loadFromSource(
|
|||
injectBlocks,
|
||||
);
|
||||
|
||||
// TODO this is currently skipped because we are forcing default config
|
||||
// Because models add on won't work for injected blocks e.g. default model, (only default config)
|
||||
case "no-config":
|
||||
return await unrollPackageIdentifiersAsConfigYaml(
|
||||
injectBlocks,
|
||||
|
|
|
|||
|
|
@ -95,10 +95,17 @@ class SentryService {
|
|||
return this.config.enabled && this.initialized;
|
||||
}
|
||||
|
||||
public captureException(error: Error, context?: Record<string, any>) {
|
||||
public captureException(
|
||||
error: Error,
|
||||
context?: Record<string, any>,
|
||||
level?: "info" | "warning" | "error" | "debug" | "fatal",
|
||||
) {
|
||||
if (!this.isEnabled()) return;
|
||||
|
||||
Sentry.withScope((scope) => {
|
||||
if (level) {
|
||||
scope.setLevel(level);
|
||||
}
|
||||
if (context) {
|
||||
Object.entries(context).forEach(([key, value]) => {
|
||||
scope.setContext(key, value);
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ export class MCPService
|
|||
private connections: Map<string, ServerConnection> = new Map();
|
||||
private assistant: AssistantConfig | null = null;
|
||||
private isShuttingDown = false;
|
||||
private isHeadless = false;
|
||||
|
||||
getDependencies(): string[] {
|
||||
return [SERVICE_NAMES.CONFIG];
|
||||
|
|
@ -71,16 +70,14 @@ export class MCPService
|
|||
*/
|
||||
async doInitialize(
|
||||
assistant: AssistantConfig,
|
||||
waitForConnections = false,
|
||||
hasAgentFile: boolean,
|
||||
isHeadless: boolean | undefined,
|
||||
): Promise<MCPServiceState> {
|
||||
logger.debug("Initializing MCPService", {
|
||||
configName: assistant.name,
|
||||
serverCount: assistant.mcpServers?.length || 0,
|
||||
});
|
||||
|
||||
// Store headless mode flag
|
||||
this.isHeadless = waitForConnections;
|
||||
|
||||
await this.shutdownConnections();
|
||||
|
||||
this.assistant = assistant;
|
||||
|
|
@ -102,23 +99,24 @@ export class MCPService
|
|||
logger.debug("MCP connections established", {
|
||||
connectionCount: connections.length,
|
||||
});
|
||||
this.updateState();
|
||||
},
|
||||
);
|
||||
if (waitForConnections) {
|
||||
if (isHeadless || hasAgentFile) {
|
||||
await connectionInit;
|
||||
|
||||
// In headless mode, throw error if any MCP server failed to connect
|
||||
const failedConnections = Array.from(this.connections.values()).filter(
|
||||
(c) => c.status === "error",
|
||||
);
|
||||
if (failedConnections.length > 0) {
|
||||
const errorMessages = failedConnections.map(
|
||||
(c) => `${c.config?.name}: ${c.error}`,
|
||||
);
|
||||
throw new Error(
|
||||
`MCP server(s) failed to load in headless mode:\n${errorMessages.join("\n")}`,
|
||||
if (isHeadless) {
|
||||
// With headless or agent, throw error if any MCP server failed to connect
|
||||
const failedConnections = Array.from(this.connections.values()).filter(
|
||||
(c) => c.status === "error",
|
||||
);
|
||||
if (failedConnections.length > 0) {
|
||||
const errorMessages = failedConnections.map(
|
||||
(c) => `${c.config?.name}: ${c.error}`,
|
||||
);
|
||||
throw new Error(
|
||||
`MCP server(s) failed to load:\n${errorMessages.join("\n")}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.updateState();
|
||||
|
|
@ -249,7 +247,7 @@ export class MCPService
|
|||
this.updateState();
|
||||
|
||||
try {
|
||||
const client = await this.getConnectedClient(serverConfig);
|
||||
const client = await this.getConnectedClient(serverConfig, connection);
|
||||
|
||||
connection.client = client;
|
||||
connection.status = "connected";
|
||||
|
|
@ -276,13 +274,6 @@ export class MCPService
|
|||
name: serverName,
|
||||
error: errorMessage,
|
||||
});
|
||||
|
||||
// In headless mode, throw error on capability failures
|
||||
if (this.isHeadless) {
|
||||
throw new Error(
|
||||
`Failed to load prompts from MCP server ${serverName}: ${errorMessage}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -300,13 +291,6 @@ export class MCPService
|
|||
name: serverName,
|
||||
error: errorMessage,
|
||||
});
|
||||
|
||||
// In headless mode, throw error on capability failures
|
||||
if (this.isHeadless) {
|
||||
throw new Error(
|
||||
`Failed to load tools from MCP server ${serverName}: ${errorMessage}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -314,16 +298,20 @@ export class MCPService
|
|||
} catch (error) {
|
||||
const errorMessage = getErrorString(error);
|
||||
connection.status = "error";
|
||||
connection.error = errorMessage;
|
||||
|
||||
// Convert any warnings to error at time of connection failure
|
||||
if (connection.warnings.length > 0) {
|
||||
const stderrContent = connection.warnings.join("\n");
|
||||
connection.error = `${errorMessage}\n\nServer stderr:\n${stderrContent}`;
|
||||
connection.warnings = [];
|
||||
} else {
|
||||
connection.error = errorMessage;
|
||||
}
|
||||
|
||||
logger.error("Failed to connect to MCP server", {
|
||||
name: serverName,
|
||||
error: errorMessage,
|
||||
error: connection.error,
|
||||
});
|
||||
|
||||
// In headless mode, re-throw the error to fail fast
|
||||
if (this.isHeadless) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
this.updateState();
|
||||
|
|
@ -392,6 +380,7 @@ export class MCPService
|
|||
*/
|
||||
private async getConnectedClient(
|
||||
serverConfig: MCPServerConfig,
|
||||
connection: ServerConnection,
|
||||
): Promise<Client> {
|
||||
const client = new Client(
|
||||
{ name: "continue-cli-client", version: "1.0.0" },
|
||||
|
|
@ -404,7 +393,7 @@ export class MCPService
|
|||
name: serverConfig.name,
|
||||
command: serverConfig.command,
|
||||
});
|
||||
const transport = this.constructStdioTransport(serverConfig);
|
||||
const transport = this.constructStdioTransport(serverConfig, connection);
|
||||
await client.connect(transport, {});
|
||||
} else {
|
||||
// SSE/HTTP: if type isn't explicit: try http and fall back to sse
|
||||
|
|
@ -424,11 +413,14 @@ export class MCPService
|
|||
} catch (error: unknown) {
|
||||
// on authorization error, use "mcp-remote" with stdio transport to connect
|
||||
if (is401Error(error)) {
|
||||
const transport = this.constructStdioTransport({
|
||||
name: serverConfig.name,
|
||||
command: "npx",
|
||||
args: ["-y", "mcp-remote", serverConfig.url],
|
||||
});
|
||||
const transport = this.constructStdioTransport(
|
||||
{
|
||||
name: serverConfig.name,
|
||||
command: "npx",
|
||||
args: ["-y", "mcp-remote", serverConfig.url],
|
||||
},
|
||||
connection,
|
||||
);
|
||||
await client.connect(transport, {});
|
||||
} else {
|
||||
throw error;
|
||||
|
|
@ -507,6 +499,7 @@ export class MCPService
|
|||
}
|
||||
private constructStdioTransport(
|
||||
serverConfig: StdioMcpServer,
|
||||
connection: ServerConnection,
|
||||
): StdioClientTransport {
|
||||
const env: Record<string, string> = serverConfig.env || {};
|
||||
if (process.env) {
|
||||
|
|
@ -517,12 +510,24 @@ export class MCPService
|
|||
}
|
||||
}
|
||||
|
||||
return new StdioClientTransport({
|
||||
const transport = new StdioClientTransport({
|
||||
command: serverConfig.command,
|
||||
args: serverConfig.args || [],
|
||||
env,
|
||||
cwd: serverConfig.cwd,
|
||||
stderr: "ignore",
|
||||
stderr: "pipe",
|
||||
});
|
||||
|
||||
const stderrStream = transport.stderr;
|
||||
if (stderrStream) {
|
||||
stderrStream.on("data", (data: Buffer) => {
|
||||
const stderrOutput = data.toString().trim();
|
||||
if (stderrOutput) {
|
||||
connection.warnings.push(stderrOutput);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return transport;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import {
|
|||
ApiClientServiceState,
|
||||
AuthServiceState,
|
||||
ConfigServiceState,
|
||||
MCPServiceState,
|
||||
SERVICE_NAMES,
|
||||
ServiceInitOptions,
|
||||
} from "./types.js";
|
||||
|
|
@ -114,7 +115,7 @@ export async function initializeServices(initOptions: ServiceInitOptions = {}) {
|
|||
SERVICE_NAMES.TOOL_PERMISSIONS,
|
||||
async () => {
|
||||
const [mcpState, agentFileState] = await Promise.all([
|
||||
serviceContainer.get<AuthServiceState>(SERVICE_NAMES.MCP),
|
||||
serviceContainer.get<MCPServiceState>(SERVICE_NAMES.MCP),
|
||||
serviceContainer.get<AgentFileServiceState>(SERVICE_NAMES.AGENT_FILE),
|
||||
]);
|
||||
|
||||
|
|
@ -264,7 +265,8 @@ export async function initializeServices(initOptions: ServiceInitOptions = {}) {
|
|||
}
|
||||
return mcpService.initialize(
|
||||
configState.config,
|
||||
initOptions.headless || initOptions.options?.agent,
|
||||
!!initOptions.options?.agent,
|
||||
initOptions.headless,
|
||||
);
|
||||
},
|
||||
[SERVICE_NAMES.CONFIG], // Depends on config
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import type {
|
|||
ChatCompletionTool,
|
||||
} from "openai/resources.mjs";
|
||||
|
||||
import { pruneLastMessage } from "../compaction.js";
|
||||
import { services } from "../services/index.js";
|
||||
import { posthogService } from "../telemetry/posthogService.js";
|
||||
import { telemetryService } from "../telemetry/telemetryService.js";
|
||||
|
|
@ -130,6 +131,7 @@ interface ProcessStreamingResponseOptions {
|
|||
}
|
||||
|
||||
// Process a single streaming response and return whether we need to continue
|
||||
// eslint-disable-next-line max-statements
|
||||
export async function processStreamingResponse(
|
||||
options: ProcessStreamingResponseOptions,
|
||||
): Promise<{
|
||||
|
|
@ -138,18 +140,22 @@ export async function processStreamingResponse(
|
|||
toolCalls: ToolCall[];
|
||||
shouldContinue: boolean;
|
||||
}> {
|
||||
const {
|
||||
chatHistory,
|
||||
model,
|
||||
llmApi,
|
||||
abortController,
|
||||
callbacks,
|
||||
isHeadless,
|
||||
tools,
|
||||
} = options;
|
||||
const { model, llmApi, abortController, callbacks, isHeadless, tools } =
|
||||
options;
|
||||
|
||||
let chatHistory = options.chatHistory;
|
||||
|
||||
// Validate context length before making the request
|
||||
const validation = validateContextLength(chatHistory, model);
|
||||
let validation = validateContextLength(chatHistory, model);
|
||||
|
||||
// Prune last messages until valid
|
||||
while (chatHistory.length > 1 && !validation.isValid) {
|
||||
const prunedChatHistory = pruneLastMessage(chatHistory);
|
||||
if (prunedChatHistory.length === chatHistory.length) break;
|
||||
chatHistory = prunedChatHistory;
|
||||
validation = validateContextLength(chatHistory, model);
|
||||
}
|
||||
|
||||
if (!validation.isValid) {
|
||||
throw new Error(`Context length validation failed: ${validation.error}`);
|
||||
}
|
||||
|
|
@ -323,13 +329,14 @@ export async function processStreamingResponse(
|
|||
}
|
||||
|
||||
// Main function that handles the conversation loop
|
||||
// eslint-disable-next-line complexity
|
||||
// eslint-disable-next-line complexity, max-params
|
||||
export async function streamChatResponse(
|
||||
chatHistory: ChatHistoryItem[],
|
||||
model: ModelConfig,
|
||||
llmApi: BaseLlmApi,
|
||||
abortController: AbortController,
|
||||
callbacks?: StreamCallbacks,
|
||||
isCompacting = false,
|
||||
) {
|
||||
logger.debug("streamChatResponse called", {
|
||||
model,
|
||||
|
|
@ -350,33 +357,43 @@ export async function streamChatResponse(
|
|||
chatHistorySvc.isReady()
|
||||
) {
|
||||
try {
|
||||
chatHistory = chatHistorySvc.getHistory();
|
||||
// use chat history from params when isCompacting is true
|
||||
// otherwise use the full history
|
||||
if (!isCompacting) {
|
||||
chatHistory = chatHistorySvc.getHistory();
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
logger.debug("Starting conversation iteration");
|
||||
|
||||
// Pre-API auto-compaction checkpoint
|
||||
const { wasCompacted: preCompacted, chatHistory: preCompactHistory } =
|
||||
await handleAutoCompaction(chatHistory, model, llmApi, {
|
||||
isHeadless,
|
||||
callbacks: {
|
||||
onSystemMessage: callbacks?.onSystemMessage,
|
||||
onContent: callbacks?.onContent,
|
||||
},
|
||||
});
|
||||
logger.debug("debug1 streamChatResponse history", { chatHistory });
|
||||
|
||||
if (preCompacted) {
|
||||
logger.debug("Pre-API compaction occurred, updating chat history");
|
||||
// Update chat history after pre-compaction
|
||||
const chatHistorySvc2 = services.chatHistory;
|
||||
if (
|
||||
typeof chatHistorySvc2?.isReady === "function" &&
|
||||
chatHistorySvc2.isReady()
|
||||
) {
|
||||
chatHistorySvc2.setHistory(preCompactHistory);
|
||||
chatHistory = chatHistorySvc2.getHistory();
|
||||
} else {
|
||||
chatHistory = [...preCompactHistory];
|
||||
// avoid pre-compaction when compaction is in progress
|
||||
// this also avoids infinite compaction call stacks
|
||||
if (!isCompacting) {
|
||||
// Pre-API auto-compaction checkpoint
|
||||
const { wasCompacted: preCompacted, chatHistory: preCompactHistory } =
|
||||
await handleAutoCompaction(chatHistory, model, llmApi, {
|
||||
isHeadless,
|
||||
callbacks: {
|
||||
onSystemMessage: callbacks?.onSystemMessage,
|
||||
onContent: callbacks?.onContent,
|
||||
},
|
||||
});
|
||||
|
||||
if (preCompacted) {
|
||||
logger.debug("Pre-API compaction occurred, updating chat history");
|
||||
// Update chat history after pre-compaction
|
||||
const chatHistorySvc2 = services.chatHistory;
|
||||
if (
|
||||
typeof chatHistorySvc2?.isReady === "function" &&
|
||||
chatHistorySvc2.isReady()
|
||||
) {
|
||||
chatHistorySvc2.setHistory(preCompactHistory);
|
||||
chatHistory = chatHistorySvc2.getHistory();
|
||||
} else {
|
||||
chatHistory = [...preCompactHistory];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -79,10 +79,16 @@ export class PosthogService {
|
|||
}
|
||||
|
||||
/**
|
||||
* - Continue user id if signed in
|
||||
* - Continue user id from environment (when running as agent)
|
||||
* - Continue user id if signed in locally
|
||||
* - Unique machine id if not signed in
|
||||
*/
|
||||
private getEventUserId(): string {
|
||||
// When running as an agent, use the user ID from the environment
|
||||
if (process.env.CONTINUE_USER_ID) {
|
||||
return process.env.CONTINUE_USER_ID;
|
||||
}
|
||||
|
||||
const authConfig = loadAuthConfig();
|
||||
|
||||
if (isAuthenticatedConfig(authConfig)) {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import { fetchTool } from "./fetch.js";
|
|||
import { listFilesTool } from "./listFiles.js";
|
||||
import { multiEditTool } from "./multiEdit.js";
|
||||
import { readFileTool } from "./readFile.js";
|
||||
import { reportFailureTool } from "./reportFailure.js";
|
||||
import { runTerminalCommandTool } from "./runTerminalCommand.js";
|
||||
import { searchCodeTool } from "./searchCode.js";
|
||||
import { statusTool } from "./status.js";
|
||||
import { writeChecklistTool } from "./writeChecklist.js";
|
||||
import { writeFileTool } from "./writeFile.js";
|
||||
|
||||
|
|
@ -22,5 +22,5 @@ export const ALL_BUILT_IN_TOOLS = [
|
|||
fetchTool,
|
||||
writeChecklistTool,
|
||||
exitTool,
|
||||
statusTool,
|
||||
reportFailureTool,
|
||||
];
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ import { fetchTool } from "./fetch.js";
|
|||
import { listFilesTool } from "./listFiles.js";
|
||||
import { multiEditTool } from "./multiEdit.js";
|
||||
import { readFileTool } from "./readFile.js";
|
||||
import { reportFailureTool } from "./reportFailure.js";
|
||||
import { runTerminalCommandTool } from "./runTerminalCommand.js";
|
||||
import { searchCodeTool } from "./searchCode.js";
|
||||
import { statusTool } from "./status.js";
|
||||
import {
|
||||
type Tool,
|
||||
type ToolCall,
|
||||
|
|
@ -40,6 +40,18 @@ import { writeFileTool } from "./writeFile.js";
|
|||
|
||||
export type { Tool, ToolCall, ToolParametersSchema };
|
||||
|
||||
/**
|
||||
* Extract the agent ID from the --id command line flag
|
||||
*/
|
||||
function getAgentIdFromArgs(): string | undefined {
|
||||
const args = process.argv;
|
||||
const idIndex = args.indexOf("--id");
|
||||
if (idIndex !== -1 && idIndex + 1 < args.length) {
|
||||
return args[idIndex + 1];
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Base tools that are always available
|
||||
const BASE_BUILTIN_TOOLS: Tool[] = [
|
||||
readFileTool,
|
||||
|
|
@ -49,6 +61,7 @@ const BASE_BUILTIN_TOOLS: Tool[] = [
|
|||
runTerminalCommandTool,
|
||||
fetchTool,
|
||||
writeChecklistTool,
|
||||
reportFailureTool,
|
||||
];
|
||||
|
||||
// Get all builtin tools including dynamic ones, with capability-based filtering
|
||||
|
|
@ -57,6 +70,21 @@ export async function getAllAvailableTools(
|
|||
): Promise<Tool[]> {
|
||||
const tools = [...BASE_BUILTIN_TOOLS];
|
||||
|
||||
// Filter out ReportFailure tool if no agent ID is present
|
||||
// (it requires --id to function and will confuse the agent if unavailable)
|
||||
const agentId = getAgentIdFromArgs();
|
||||
if (!agentId) {
|
||||
const reportFailureIndex = tools.findIndex(
|
||||
(t) => t.name === reportFailureTool.name,
|
||||
);
|
||||
if (reportFailureIndex !== -1) {
|
||||
tools.splice(reportFailureIndex, 1);
|
||||
logger.debug(
|
||||
`Filtered out ${reportFailureTool.name} tool - no agent ID present (--id flag not provided)`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// If model is capable, exclude editTool in favor of multiEditTool
|
||||
const modelState = await serviceContainer.get<ModelServiceState>(
|
||||
SERVICE_NAMES.MODEL,
|
||||
|
|
@ -87,11 +115,6 @@ export async function getAllAvailableTools(
|
|||
tools.push(exitTool);
|
||||
}
|
||||
|
||||
// Add beta status tool if --beta-status-tool flag is present
|
||||
if (process.argv.includes("--beta-status-tool")) {
|
||||
tools.push(statusTool);
|
||||
}
|
||||
|
||||
const mcpState = await serviceContainer.get<MCPServiceState>(
|
||||
SERVICE_NAMES.MCP,
|
||||
);
|
||||
|
|
|
|||
101
extensions/cli/src/tools/reportFailure.ts
Normal file
101
extensions/cli/src/tools/reportFailure.ts
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
import { ContinueError, ContinueErrorReason } from "core/util/errors.js";
|
||||
|
||||
import { sentryService } from "../sentry.js";
|
||||
import {
|
||||
ApiRequestError,
|
||||
AuthenticationRequiredError,
|
||||
post,
|
||||
} from "../util/apiClient.js";
|
||||
import { logger } from "../util/logger.js";
|
||||
|
||||
import { Tool } from "./types.js";
|
||||
|
||||
/**
|
||||
* Extract the agent ID from the --id command line flag
|
||||
*/
|
||||
function getAgentIdFromArgs(): string | undefined {
|
||||
const args = process.argv;
|
||||
const idIndex = args.indexOf("--id");
|
||||
if (idIndex !== -1 && idIndex + 1 < args.length) {
|
||||
return args[idIndex + 1];
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export const reportFailureTool: Tool = {
|
||||
name: "ReportFailure",
|
||||
displayName: "Report Failure",
|
||||
description:
|
||||
"Report that the task has failed due to an unrecoverable error. Include a succinct explanation for the user.",
|
||||
parameters: {
|
||||
type: "object",
|
||||
required: ["errorMessage"],
|
||||
properties: {
|
||||
errorMessage: {
|
||||
type: "string",
|
||||
description: "Explain what went wrong and why you cannot continue.",
|
||||
},
|
||||
},
|
||||
},
|
||||
readonly: true,
|
||||
isBuiltIn: true,
|
||||
run: async (args: { errorMessage: string }): Promise<string> => {
|
||||
try {
|
||||
const trimmedMessage = args.errorMessage.trim();
|
||||
if (!trimmedMessage) {
|
||||
throw new ContinueError(
|
||||
ContinueErrorReason.Unspecified,
|
||||
"errorMessage is required to report a failure.",
|
||||
);
|
||||
}
|
||||
|
||||
const agentId = getAgentIdFromArgs();
|
||||
if (!agentId) {
|
||||
const errorMessage =
|
||||
"Agent ID is required. Please use the --id flag with cn serve.";
|
||||
logger.error(errorMessage);
|
||||
throw new ContinueError(ContinueErrorReason.Unspecified, errorMessage);
|
||||
}
|
||||
|
||||
// Capture failure in Sentry with context
|
||||
sentryService.captureException(
|
||||
new Error(trimmedMessage),
|
||||
{
|
||||
agent_failure: {
|
||||
agentId,
|
||||
errorMessage: trimmedMessage,
|
||||
},
|
||||
},
|
||||
"fatal",
|
||||
);
|
||||
|
||||
await post(`agents/${agentId}/status`, {
|
||||
status: "FAILED",
|
||||
errorMessage: trimmedMessage,
|
||||
});
|
||||
|
||||
logger.info(`Failure reported: ${trimmedMessage}`);
|
||||
return "Failure reported to user.";
|
||||
} catch (error) {
|
||||
if (error instanceof ContinueError) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
if (error instanceof AuthenticationRequiredError) {
|
||||
logger.error(error.message);
|
||||
throw new Error("Error: Authentication required");
|
||||
}
|
||||
|
||||
if (error instanceof ApiRequestError) {
|
||||
throw new Error(
|
||||
`Error reporting failure: ${error.status} ${error.response || error.statusText}`,
|
||||
);
|
||||
}
|
||||
|
||||
const errorMessage =
|
||||
error instanceof Error ? error.message : String(error);
|
||||
logger.error(`Error reporting failure: ${errorMessage}`);
|
||||
throw new Error(`Error reporting failure: ${errorMessage}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
@ -34,6 +34,8 @@ export const runTerminalCommandTool: Tool = {
|
|||
description: `Executes a terminal command and returns the output
|
||||
|
||||
Commands are automatically executed from the current working directory (${process.cwd()}), so there's no need to change directories with 'cd' commands.
|
||||
|
||||
IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed, awk, etc).
|
||||
`,
|
||||
parameters: {
|
||||
type: "object",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,18 @@
|
|||
import * as nodeUtil from "util";
|
||||
|
||||
import { vi } from "vitest";
|
||||
|
||||
const execMock: any = vi.fn();
|
||||
(execMock as any)[(nodeUtil as any).promisify.custom] = (cmd: any) =>
|
||||
new Promise((resolve, reject) => {
|
||||
execMock(cmd, (err: any, stdout: any, stderr: any) => {
|
||||
if (err) reject(err);
|
||||
else resolve({ stdout, stderr });
|
||||
});
|
||||
});
|
||||
|
||||
vi.mock("child_process", () => ({ exec: execMock }));
|
||||
|
||||
// Since we want to test just the interface and not the internals,
|
||||
// let's create a simplified version of the run function to test the truncation logic
|
||||
describe("searchCodeTool", () => {
|
||||
|
|
@ -51,4 +66,30 @@ describe("searchCodeTool", () => {
|
|||
// Check that we have the expected number of lines (header + 50 content lines)
|
||||
expect(nonEmptyLines.length).toBe(51);
|
||||
});
|
||||
|
||||
describe("searchCodeTool line-length filtering", () => {
|
||||
afterEach(() => {
|
||||
vi.clearAllMocks();
|
||||
vi.resetModules();
|
||||
});
|
||||
|
||||
it("filters out lines longer than 1000 characters", async () => {
|
||||
const childProc = await import("child_process");
|
||||
const long = "a".repeat(1001);
|
||||
|
||||
vi.mocked(childProc.exec as any).mockImplementation((...args: any[]) => {
|
||||
// exec callback signature: (error, stdout, stderr)
|
||||
const cb = args[args.length - 1];
|
||||
cb(null, `path/file.ts:1:${long}\npath/file.ts:2:match`, "");
|
||||
return {} as any;
|
||||
});
|
||||
|
||||
const { searchCodeTool } = await import("./searchCode.js");
|
||||
const result = await searchCodeTool.run({ pattern: "match", path: "." });
|
||||
|
||||
expect(result).toContain("path/file.ts:2:match");
|
||||
expect(result).not.toContain(long);
|
||||
expect(result).not.toContain("[Results truncated:");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ const execPromise = util.promisify(child_process.exec);
|
|||
|
||||
// Default maximum number of results to display
|
||||
const DEFAULT_MAX_RESULTS = 100;
|
||||
const MAX_LINE_LENGTH = 1000;
|
||||
|
||||
export const searchCodeTool: Tool = {
|
||||
name: "Search",
|
||||
|
|
@ -84,7 +85,13 @@ export const searchCodeTool: Tool = {
|
|||
}
|
||||
|
||||
// Split the results into lines and limit the number of results
|
||||
const lines = stdout.split("\n");
|
||||
const splitLines = stdout.split("\n");
|
||||
const lines = splitLines.filter((line) => line.length <= MAX_LINE_LENGTH);
|
||||
if (lines.length === 0) {
|
||||
return `No matches found for pattern "${args.pattern}"${
|
||||
args.file_pattern ? ` in files matching "${args.file_pattern}"` : ""
|
||||
}.`;
|
||||
}
|
||||
const truncated = lines.length > DEFAULT_MAX_RESULTS;
|
||||
const limitedLines = lines.slice(0, DEFAULT_MAX_RESULTS);
|
||||
const resultText = limitedLines.join("\n");
|
||||
|
|
|
|||
|
|
@ -267,8 +267,6 @@ export const MCPSelector: React.FC<MCPSelectorProps> = ({ onCancel }) => {
|
|||
});
|
||||
|
||||
const handleMainMenuSelect = async (value: string) => {
|
||||
if (!mcpService) return;
|
||||
|
||||
if (value.startsWith("server:")) {
|
||||
// Handle server selection
|
||||
const serverName = value.replace("server:", "");
|
||||
|
|
@ -280,11 +278,11 @@ export const MCPSelector: React.FC<MCPSelectorProps> = ({ onCancel }) => {
|
|||
|
||||
switch (value) {
|
||||
case "restart-all":
|
||||
await mcpService.restartAllServers();
|
||||
await mcpService?.restartAllServers();
|
||||
setMessage("All servers restarted");
|
||||
break;
|
||||
case "stop-all":
|
||||
await mcpService.shutdownConnections();
|
||||
await mcpService?.shutdownConnections();
|
||||
setMessage("All servers stopped");
|
||||
break;
|
||||
case "explore-mcp-servers":
|
||||
|
|
@ -300,15 +298,20 @@ export const MCPSelector: React.FC<MCPSelectorProps> = ({ onCancel }) => {
|
|||
};
|
||||
|
||||
const handleServerAction = async (action: string) => {
|
||||
if (!mcpService || !selectedServer) return;
|
||||
try {
|
||||
switch (action) {
|
||||
case "restart":
|
||||
await mcpService.restartServer(selectedServer);
|
||||
if (!selectedServer) {
|
||||
return;
|
||||
}
|
||||
await mcpService?.restartServer(selectedServer);
|
||||
setMessage(`Server "${selectedServer}" restarted`);
|
||||
break;
|
||||
case "stop":
|
||||
await mcpService.stopServer(selectedServer);
|
||||
if (!selectedServer) {
|
||||
return;
|
||||
}
|
||||
await mcpService?.stopServer(selectedServer);
|
||||
setMessage(`Server "${selectedServer}" stopped`);
|
||||
break;
|
||||
case "back":
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ class ApplyToFileHandler(
|
|||
}
|
||||
|
||||
private fun buildApplyPrompt(): String {
|
||||
return "The following code was suggested as an edit:\n```\n${params.text}\n```\nPlease apply it to the previous code."
|
||||
return "The following code was suggested as an edit:\n```\n${params.text}\n```\nPlease apply it to the previous code. Leave existing comments in place unless changes require modifying them."
|
||||
}
|
||||
|
||||
private fun createDiffStreamHandler(
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@
|
|||
{
|
||||
"command": "continue.viewLogs",
|
||||
"category": "Continue",
|
||||
"title": "View History",
|
||||
"title": "View Logs",
|
||||
"group": "Continue"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ export class ApplyManager {
|
|||
* Creates a prompt for applying code edits
|
||||
*/
|
||||
private getApplyPrompt(text: string): string {
|
||||
return `The following code was suggested as an edit:\n\`\`\`\n${text}\n\`\`\`\nPlease apply it to the previous code.`;
|
||||
return `The following code was suggested as an edit:\n\`\`\`\n${text}\n\`\`\`\nPlease apply it to the previous code. Leave existing comments in place unless changes require modifying them.`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,138 +0,0 @@
|
|||
import { ChevronDownIcon, ChevronUpIcon } from "@heroicons/react/24/solid";
|
||||
import { ChatHistoryItem } from "core";
|
||||
import { stripImages } from "core/util/messageContent";
|
||||
import { useEffect, useState } from "react";
|
||||
import styled from "styled-components";
|
||||
import {
|
||||
defaultBorderRadius,
|
||||
lightGray,
|
||||
vscBackground,
|
||||
vscQuickInputBackground,
|
||||
} from "..";
|
||||
import { getFontSize } from "../../util";
|
||||
import StyledMarkdownPreview from "../StyledMarkdownPreview";
|
||||
|
||||
interface ReasoningProps {
|
||||
item: ChatHistoryItem;
|
||||
index: number;
|
||||
isLast: boolean;
|
||||
}
|
||||
|
||||
const SpoilerButton = styled.div`
|
||||
margin: 8px 6px 16px 6px;
|
||||
background-color: ${vscBackground};
|
||||
width: fit-content;
|
||||
font-size: ${getFontSize() - 2}px;
|
||||
border: 0.5px solid ${lightGray};
|
||||
border-radius: ${defaultBorderRadius};
|
||||
padding: 4px 8px;
|
||||
color: ${lightGray};
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 4px 6px rgba(0, 0, 0, 0.1),
|
||||
0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
transition: box-shadow 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
box-shadow:
|
||||
0 6px 8px rgba(0, 0, 0, 0.15),
|
||||
0 3px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
`;
|
||||
|
||||
const ButtonContent = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
`;
|
||||
|
||||
const ContentDiv = styled.div<{ fontSize?: number }>`
|
||||
margin: 4px;
|
||||
padding: 4px;
|
||||
padding-bottom: 8px;
|
||||
font-size: ${getFontSize()}px;
|
||||
overflow: hidden;
|
||||
border-left: 4px solid ${lightGray};
|
||||
border-radius: ${defaultBorderRadius};
|
||||
background-color: ${vscQuickInputBackground};
|
||||
`;
|
||||
|
||||
const ThinkingText = styled.span`
|
||||
position: relative;
|
||||
padding-right: 12px;
|
||||
|
||||
&:after {
|
||||
content: "...";
|
||||
position: absolute;
|
||||
animation: ellipsis 1s steps(4, end) infinite;
|
||||
width: 0px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@keyframes ellipsis {
|
||||
0%,
|
||||
100% {
|
||||
width: 0px;
|
||||
}
|
||||
33% {
|
||||
width: 8px;
|
||||
}
|
||||
66% {
|
||||
width: 16px;
|
||||
}
|
||||
90% {
|
||||
width: 24px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default function Reasoning(props: ReasoningProps) {
|
||||
const [open, setOpen] = useState(false);
|
||||
const [reasoningTime, setReasoningTime] = useState("");
|
||||
const isThinking = !props.item.reasoning?.endAt;
|
||||
|
||||
useEffect(() => {
|
||||
if (!props.item.reasoning) return;
|
||||
if (!props.item.reasoning?.endAt) return;
|
||||
|
||||
const startAt = props.item.reasoning?.startAt || Date.now();
|
||||
const endAt = props.item.reasoning?.endAt || Date.now();
|
||||
const diff = endAt - startAt;
|
||||
const diffString = `${(diff / 1000).toFixed(1)}s`;
|
||||
setReasoningTime(diffString);
|
||||
}, [props.item.reasoning?.startAt, props.item.reasoning?.endAt]);
|
||||
|
||||
if (!props.item.reasoning?.text) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<SpoilerButton onClick={() => setOpen(!open)}>
|
||||
<ButtonContent>
|
||||
{isThinking ? (
|
||||
<ThinkingText>Thinking</ThinkingText>
|
||||
) : (
|
||||
`Thought for ${reasoningTime}`
|
||||
)}
|
||||
{open ? (
|
||||
<ChevronUpIcon className="h-3 w-3" />
|
||||
) : (
|
||||
<ChevronDownIcon className="h-3 w-3" />
|
||||
)}
|
||||
</ButtonContent>
|
||||
</SpoilerButton>
|
||||
{open && (
|
||||
<ContentDiv>
|
||||
<StyledMarkdownPreview
|
||||
isRenderingInStepContainer
|
||||
source={stripImages(props.item.reasoning.text)}
|
||||
itemIndex={props.index}
|
||||
useParentBackgroundColor
|
||||
/>
|
||||
</ContentDiv>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
@ -5,9 +5,9 @@ import { useDispatch } from "react-redux";
|
|||
import { useAppSelector } from "../../redux/hooks";
|
||||
import { selectUIConfig } from "../../redux/slices/configSlice";
|
||||
import { deleteMessage } from "../../redux/slices/sessionSlice";
|
||||
import ThinkingBlockPeek from "../mainInput/belowMainInput/ThinkingBlockPeek";
|
||||
import StyledMarkdownPreview from "../StyledMarkdownPreview";
|
||||
import ConversationSummary from "./ConversationSummary";
|
||||
import Reasoning from "./Reasoning";
|
||||
import ResponseActions from "./ResponseActions";
|
||||
import ThinkingIndicator from "./ThinkingIndicator";
|
||||
|
||||
|
|
@ -85,7 +85,14 @@ export default function StepContainer(props: StepContainerProps) {
|
|||
</pre>
|
||||
) : (
|
||||
<>
|
||||
<Reasoning {...props} />
|
||||
{props.item.reasoning?.text && (
|
||||
<ThinkingBlockPeek
|
||||
content={props.item.reasoning.text}
|
||||
index={props.index}
|
||||
prevItem={props.index > 0 ? props.item : null}
|
||||
inProgress={!props.item.reasoning?.endAt}
|
||||
/>
|
||||
)}
|
||||
|
||||
<StyledMarkdownPreview
|
||||
isRenderingInStepContainer
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ interface ToggleProps {
|
|||
title: React.ReactNode;
|
||||
icon?: ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
testId?: string;
|
||||
defaultOpen?: boolean;
|
||||
}
|
||||
|
||||
function ToggleDiv({
|
||||
|
|
@ -14,8 +15,9 @@ function ToggleDiv({
|
|||
title,
|
||||
icon: Icon,
|
||||
testId = "context-items-peek",
|
||||
defaultOpen = false,
|
||||
}: ToggleProps) {
|
||||
const [open, setOpen] = useState(false);
|
||||
const [open, setOpen] = useState(defaultOpen);
|
||||
const [isHovered, setIsHovered] = useState(false);
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -178,9 +178,14 @@ describe("UnifiedTerminalCommand", () => {
|
|||
expect(container.textContent).toMatch(/Bold text/);
|
||||
expect(container.textContent).toMatch(/Underlined text/);
|
||||
|
||||
// Verify ANSI processing created styled spans
|
||||
const styledSpans = container.querySelectorAll('span[class*="sc-esYiGF"]');
|
||||
expect(styledSpans.length).toBeGreaterThan(0);
|
||||
// Verify ANSI processing created span elements within the code block
|
||||
// The AnsiRenderer creates spans for each ANSI segment
|
||||
const codeElement = container.querySelector("code");
|
||||
expect(codeElement).toBeInTheDocument();
|
||||
|
||||
// Count all spans inside the code element (ANSI creates multiple spans)
|
||||
const spans = codeElement?.querySelectorAll("span");
|
||||
expect(spans?.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
test("handles links in output", async () => {
|
||||
|
|
|
|||
|
|
@ -5,17 +5,8 @@ import { ChatHistoryItem } from "core";
|
|||
import { useEffect, useState } from "react";
|
||||
import styled from "styled-components";
|
||||
|
||||
import { vscBackground } from "../..";
|
||||
import { AnimatedEllipsis } from "../../AnimatedEllipsis";
|
||||
import StyledMarkdownPreview from "../../StyledMarkdownPreview";
|
||||
import { ButtonContent, SpoilerButton } from "../../ui/SpoilerButton";
|
||||
|
||||
const ThinkingTextContainer = styled.span`
|
||||
display: inline-block;
|
||||
min-width: fit-content;
|
||||
|
||||
padding-right: 1em; /* Reserve space for the ellipsis animation */
|
||||
`;
|
||||
|
||||
const MarkdownWrapper = styled.div`
|
||||
& > div > *:first-child {
|
||||
|
|
@ -39,7 +30,6 @@ function ThinkingBlockPeek({
|
|||
index,
|
||||
prevItem,
|
||||
inProgress,
|
||||
signature,
|
||||
tokens,
|
||||
}: ThinkingBlockPeekProps) {
|
||||
const [open, setOpen] = useState(false);
|
||||
|
|
@ -66,58 +56,53 @@ function ThinkingBlockPeek({
|
|||
|
||||
return duplicateRedactedThinkingBlock ? null : (
|
||||
<div className="thread-message">
|
||||
<div className="" style={{ backgroundColor: vscBackground }}>
|
||||
<div
|
||||
className="flex items-center justify-start pl-2 text-xs text-gray-300"
|
||||
data-testid="thinking-block-peek"
|
||||
>
|
||||
<SpoilerButton onClick={() => setOpen(!open)}>
|
||||
<ButtonContent>
|
||||
{inProgress ? (
|
||||
<span>
|
||||
{redactedThinking ? "Redacted Thinking" : "Thinking"}
|
||||
<AnimatedEllipsis />
|
||||
</span>
|
||||
) : redactedThinking ? (
|
||||
"Redacted Thinking"
|
||||
) : (
|
||||
"Thought" +
|
||||
(elapsedTime ? ` for ${elapsedTime}` : "") +
|
||||
(tokens ? ` (${tokens} tokens)` : "")
|
||||
)}
|
||||
{open ? (
|
||||
<ChevronUpIcon className="h-3 w-3" />
|
||||
) : (
|
||||
<ChevronDownIcon className="h-3 w-3" />
|
||||
)}
|
||||
</ButtonContent>
|
||||
</SpoilerButton>
|
||||
<div className="mt-1 flex flex-col px-4">
|
||||
<div className="flex min-w-0 flex-row items-center justify-between gap-2">
|
||||
<button
|
||||
type="button"
|
||||
className="text-description flex min-w-0 cursor-pointer flex-row items-center gap-1.5 text-xs transition-colors duration-200 ease-in-out hover:brightness-125"
|
||||
data-testid="thinking-block-peek"
|
||||
aria-expanded={open}
|
||||
aria-controls={`thinking-block-content-${index}`}
|
||||
onClick={() => setOpen(!open)}
|
||||
>
|
||||
{inProgress ? (
|
||||
<span>
|
||||
{redactedThinking ? "Redacted Thinking" : "Thinking"}
|
||||
<AnimatedEllipsis />
|
||||
</span>
|
||||
) : redactedThinking ? (
|
||||
"Redacted Thinking"
|
||||
) : (
|
||||
"Thought" +
|
||||
(elapsedTime ? ` for ${elapsedTime}` : "") +
|
||||
(tokens ? ` (${tokens} tokens)` : "")
|
||||
)}
|
||||
{open ? (
|
||||
<ChevronUpIcon className="h-3 w-3" />
|
||||
) : (
|
||||
<ChevronDownIcon className="h-3 w-3" />
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
className={`ml-2 mt-2 overflow-y-auto transition-none duration-300 ease-in-out ${
|
||||
open ? "mb-2 mt-5 opacity-100" : "max-h-0 border-0 opacity-0"
|
||||
id={`thinking-block-content-${index}`}
|
||||
className={`mt-2 overflow-y-auto transition-all duration-300 ease-in-out ${
|
||||
open ? "max-h-[50vh] opacity-100" : "max-h-0 opacity-0"
|
||||
}`}
|
||||
style={{
|
||||
borderLeft:
|
||||
open && !redactedThinking
|
||||
? "2px solid var(--vscode-input-border, #606060)"
|
||||
: "none",
|
||||
}}
|
||||
>
|
||||
{redactedThinking ? (
|
||||
<div className="text-description-muted pl-4 text-xs">
|
||||
<div className="text-description pl-5 text-xs italic">
|
||||
Thinking content redacted due to safety reasons.
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
<MarkdownWrapper className="-mt-1 px-0 pl-1">
|
||||
<StyledMarkdownPreview
|
||||
isRenderingInStepContainer
|
||||
source={content}
|
||||
itemIndex={index}
|
||||
/>
|
||||
</MarkdownWrapper>
|
||||
</>
|
||||
<MarkdownWrapper>
|
||||
<StyledMarkdownPreview
|
||||
isRenderingInStepContainer
|
||||
source={content}
|
||||
itemIndex={index}
|
||||
/>
|
||||
</MarkdownWrapper>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -250,7 +250,11 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => {
|
|||
{/* Expandable technical details using ToggleDiv */}
|
||||
{message && (
|
||||
<div className="mb-2">
|
||||
<ToggleDiv title="View error output" testId="error-output-toggle">
|
||||
<ToggleDiv
|
||||
title="View error output"
|
||||
testId="error-output-toggle"
|
||||
defaultOpen
|
||||
>
|
||||
<div className="flex flex-col gap-0 rounded-sm">
|
||||
<code className="text-editor-foreground block max-h-48 overflow-y-auto p-3 font-mono text-xs">
|
||||
{parsedError}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue