diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index e2ee171af..391b5c93f 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -6,6 +6,3 @@ contact_links: - name: Have a question? url: https://github.com/continuedev/continue/discussions about: Search for existing questions or ask a new one - - name: Something else? Join the Continue Community - url: https://discord.gg/vapESyrFmJ - about: Join our Discord to chat with our community diff --git a/.github/actions/run-vscode-e2e-test/action.yml b/.github/actions/run-vscode-e2e-test/action.yml index d9ac252af..73734eb1c 100644 --- a/.github/actions/run-vscode-e2e-test/action.yml +++ b/.github/actions/run-vscode-e2e-test/action.yml @@ -17,6 +17,10 @@ inputs: description: "Whether this is a fork (affects SSH tests)" required: false default: "false" + github_token: + description: "GitHub token for authenticated API requests (e.g., @vscode/ripgrep download)" + required: false + default: "" runs: using: "composite" @@ -64,6 +68,8 @@ runs: cd core npm ci fi + env: + GITHUB_TOKEN: ${{ inputs.github_token }} - name: Fix VSCode binary permissions shell: bash diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index 1cde9fea9..ffc462ea7 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -329,6 +329,7 @@ jobs: ssh_key: ${{ secrets.GH_ACTIONS_SSH_TEST_KEY_PEM }} ssh_host: ${{ secrets.GH_ACTIONS_SSH_TEST_DNS_NAME }} is_fork: ${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }} + github_token: ${{ secrets.CI_GITHUB_TOKEN }} jetbrains-tests: runs-on: ubuntu-latest diff --git a/.github/workflows/run-continue-agent.yml b/.github/workflows/run-continue-agent.yml index 476c033a6..d208c09d6 100644 --- a/.github/workflows/run-continue-agent.yml +++ b/.github/workflows/run-continue-agent.yml @@ -48,4 +48,4 @@ jobs: -H "Authorization: Bearer $CONTINUE_API_KEY" \ -d "$json_body") id=$(echo $response | jq -r '.id') - echo "https://hub.continue.dev/hub?type=agents/$id" + echo "https://continue.dev/hub?type=agents/$id" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index edb1e6f49..091b950cc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ an enhancement are: - If not, [create an issue](https://github.com/continuedev/continue/issues) - Please describe the enhancement in as much detail as you can, and why it would be useful -- Join the [Continue Discord](https://discord.gg/NWtdYexhMs) and tell us about your idea in the `#feedback` channel +- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) and tell us about your idea ## 📖 Updating / Improving Documentation @@ -233,7 +233,7 @@ When contributing, please update or create the appropriate tests to help verify ### Getting Help -Join [#contribute on Discord](https://discord.gg/vapESyrFmJ) to engage with maintainers and other contributors. +Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) to engage with maintainers and other contributors. ## Contributing New LLM Providers/Models diff --git a/README.md b/README.md index 47c4b6143..1b76bf36f 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,6 @@ - - -

@@ -31,7 +28,7 @@ -Get started in [Mission Control](https://hub.continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) +Get started in [Mission Control](https://continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) ### Quick Install @@ -63,7 +60,7 @@ Trigger workflows from [VS Code](https://marketplace.visualstudio.com/items?item ## Contributing Read the [contributing guide](https://github.com/continuedev/continue/blob/main/CONTRIBUTING.md), and -join [#contribute on Discord](https://discord.gg/vapESyrFmJ). +join the [GitHub Discussions](https://github.com/continuedev/continue/discussions). ## License diff --git a/actions/README.md b/actions/README.md index 2e0967d7e..1625bee41 100644 --- a/actions/README.md +++ b/actions/README.md @@ -145,4 +145,4 @@ For issues or questions: - [Continue Documentation](https://docs.continue.dev) - [GitHub Issues](https://github.com/continuedev/continue/issues) -- [Discord Community](https://discord.gg/vapESyrFmJ) +- [GitHub Discussions](https://github.com/continuedev/continue/discussions) diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 3c0f2d220..cd684db17 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -64,6 +64,8 @@ async function loadConfigYaml(options: { } = options; // Add local .continue blocks + // Use "content" field to pass pre-read content directly, avoiding + // fs.readFileSync which fails for vscode-remote:// URIs in WSL (#6242, #7810) const localBlockPromises = BLOCK_TYPES.map(async (blockType) => { const localBlocks = await getAllDotContinueDefinitionFiles( ide, @@ -73,6 +75,7 @@ async function loadConfigYaml(options: { return localBlocks.map((b) => ({ uriType: "file" as const, fileUri: b.path, + content: b.content, })); }); const localPackageIdentifiers: PackageIdentifier[] = ( diff --git a/core/config/yaml/models.ts b/core/config/yaml/models.ts index 05fa48853..9e7a9ccdd 100644 --- a/core/config/yaml/models.ts +++ b/core/config/yaml/models.ts @@ -67,6 +67,12 @@ async function modelConfigToBaseLLM({ baseAgentSystemMessage: model.chatOptions?.baseAgentSystemMessage, basePlanSystemMessage: model.chatOptions?.basePlanSystemMessage, baseChatSystemMessage: model.chatOptions?.baseSystemMessage, + toolOverrides: model.chatOptions?.toolOverrides + ? Object.entries(model.chatOptions.toolOverrides).map(([name, o]) => ({ + name, + ...o, + })) + : undefined, capabilities: { tools: model.capabilities?.includes("tool_use"), uploadImage: model.capabilities?.includes("image_input"), diff --git a/core/context/mcp/MCPConnection.ts b/core/context/mcp/MCPConnection.ts index 0271c1edd..e9f801ddf 100644 --- a/core/context/mcp/MCPConnection.ts +++ b/core/context/mcp/MCPConnection.ts @@ -180,7 +180,7 @@ class MCPConnection { if (unrendered.length > 0) { this.errors.push( `${this.options.name} MCP Server has unresolved secrets: ${unrendered.join(", ")}. -For personal use you can set the secret in the hub at https://hub.continue.dev/settings/secrets. +For personal use you can set the secret in the hub at https://continue.dev/settings/secrets. Org-level secrets can only be used for MCP by Background Agents (https://docs.continue.dev/hub/agents/overview) when \"Include in Env\" is enabled.`, ); } @@ -563,10 +563,15 @@ Org-level secrets can only be used for MCP by Background Agents (https://docs.co // Set the initial PATH from process.env env.PATH = process.env.PATH; - // For non-Windows platforms, try to get the PATH from user shell - if (process.platform !== "win32") { + // For non-Windows platforms or WSL remotes, try to get the PATH from user shell + const ideInfo = await this.extras?.ide?.getIdeInfo(); + const isWindowsHostWithWslRemote = + process.platform === "win32" && ideInfo?.remoteName === "wsl"; + if (process.platform !== "win32" || isWindowsHostWithWslRemote) { try { - const shellEnvPath = await getEnvPathFromUserShell(); + const shellEnvPath = await getEnvPathFromUserShell( + ideInfo?.remoteName, + ); if (shellEnvPath && shellEnvPath !== process.env.PATH) { env.PATH = shellEnvPath; } diff --git a/core/context/providers/DatabaseContextProvider.ts b/core/context/providers/DatabaseContextProvider.ts index d39204849..014de619e 100644 --- a/core/context/providers/DatabaseContextProvider.ts +++ b/core/context/providers/DatabaseContextProvider.ts @@ -19,7 +19,7 @@ class DatabaseContextProvider extends BaseContextProvider { }; get deprecationMessage() { - return "The database context provider is deprecated and may be removed in a later version. Please consider using a database MCP server like postgres-mcp (https://hub.continue.dev/anthropic/postgres-mcp) instead."; + return "The database context provider is deprecated and may be removed in a later version. Please consider using a database MCP server like postgres-mcp (https://continue.dev/anthropic/postgres-mcp) instead."; } async getContextItems( diff --git a/core/context/providers/GitCommitContextProvider.ts b/core/context/providers/GitCommitContextProvider.ts index 3cdaa2b2f..3b59616ea 100644 --- a/core/context/providers/GitCommitContextProvider.ts +++ b/core/context/providers/GitCommitContextProvider.ts @@ -45,7 +45,7 @@ class GitCommitContextProvider extends BaseContextProvider { }; get deprecationMessage() { - return "The git commits context provider is now deprecated and may be removed in a later version. Please consider using the Git MCP (https://hub.continue.dev/docker/mcp-git) instead."; + return "The git commits context provider is now deprecated and may be removed in a later version. Please consider using the Git MCP (https://continue.dev/docker/mcp-git) instead."; } async getContextItems( diff --git a/core/context/providers/GitHubIssuesContextProvider.ts b/core/context/providers/GitHubIssuesContextProvider.ts index a6d082903..e8b4ad2d7 100644 --- a/core/context/providers/GitHubIssuesContextProvider.ts +++ b/core/context/providers/GitHubIssuesContextProvider.ts @@ -16,7 +16,7 @@ class GitHubIssuesContextProvider extends BaseContextProvider { }; get deprecationMessage() { - return "The GitHub issues context provider is now deprecated and will be removed in a later version. Please consider using the GitHub MCP server (https://hub.continue.dev/anthropic/github-mcp) instead."; + return "The GitHub issues context provider is now deprecated and will be removed in a later version. Please consider using the GitHub MCP server (https://continue.dev/anthropic/github-mcp) instead."; } async getContextItems( diff --git a/core/context/providers/GitLabMergeRequestContextProvider.ts b/core/context/providers/GitLabMergeRequestContextProvider.ts index 7f367b426..73a082c9a 100644 --- a/core/context/providers/GitLabMergeRequestContextProvider.ts +++ b/core/context/providers/GitLabMergeRequestContextProvider.ts @@ -77,7 +77,7 @@ class GitLabMergeRequestContextProvider extends BaseContextProvider { }; get deprecationMessage() { - return "The Gitlab Merge Request context provider is now deprecated and will be removed in a later version. Please consider using the GitLab MCP (https://hub.continue.dev/docker/mcp-gitlab) instead."; + return "The Gitlab Merge Request context provider is now deprecated and will be removed in a later version. Please consider using the GitLab MCP (https://continue.dev/docker/mcp-gitlab) instead."; } private async getApi(): Promise { diff --git a/core/control-plane/env.ts b/core/control-plane/env.ts index 6abc4d3a8..2c7723cc5 100644 --- a/core/control-plane/env.ts +++ b/core/control-plane/env.ts @@ -17,7 +17,7 @@ const PRODUCTION_HUB_ENV: ControlPlaneEnv = { CONTROL_PLANE_URL: "https://api.continue.dev/", AUTH_TYPE: AuthType.WorkOsProd, WORKOS_CLIENT_ID: WORKOS_CLIENT_ID_PRODUCTION, - APP_URL: "https://hub.continue.dev/", + APP_URL: "https://continue.dev/", }; const STAGING_ENV: ControlPlaneEnv = { @@ -66,7 +66,7 @@ export function getControlPlaneEnvSync( AUTH_TYPE: AuthType.OnPrem, DEFAULT_CONTROL_PLANE_PROXY_URL: apiUrl, CONTROL_PLANE_URL: apiUrl, - APP_URL: "https://hub.continue.dev/", + APP_URL: "https://continue.dev/", }; } diff --git a/core/index.d.ts b/core/index.d.ts index d88feb60b..8e9d43dc3 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -2,6 +2,7 @@ import { DataDestination, ModelRole, PromptTemplates, + ToolOverrideConfig, } from "@continuedev/config-yaml"; import Parser from "web-tree-sitter"; import { CodebaseIndexer } from "./indexing/CodebaseIndexer"; @@ -290,6 +291,7 @@ export interface BaseSessionMetadata { title: string; dateCreated: string; workspaceDirectory: string; + messageCount?: number; } export interface RangeInFile { @@ -694,6 +696,9 @@ export interface LLMOptions { sourceFile?: string; isFromAutoDetect?: boolean; + + /** Tool overrides for this model */ + toolOverrides?: ToolOverride[]; } type RequireAtLeastOne = Pick< @@ -1141,6 +1146,15 @@ export interface Tool { ) => ToolPolicy; } +/** + * Configuration for overriding built-in tool prompts. + * Extends ToolOverrideConfig with required name for array usage. + */ +export type ToolOverride = ToolOverrideConfig & { + /** Tool name to override (matches function.name, e.g., "read_file") */ + name: string; +}; + interface ToolChoice { type: "function"; function: { diff --git a/core/llm/index.ts b/core/llm/index.ts index ceea1153d..650784ec3 100644 --- a/core/llm/index.ts +++ b/core/llm/index.ts @@ -28,6 +28,7 @@ import { RequestOptions, TabAutocompleteOptions, TemplateType, + ToolOverride, Usage, } from "../index.js"; import { isLemonadeInstalled } from "../util/lemonadeHelper.js"; @@ -65,6 +66,8 @@ import { toCompleteBody, toFimBody, } from "./openaiTypeConverters.js"; +import { applyToolOverrides } from "../tools/applyToolOverrides.js"; + export class LLMError extends Error { constructor( message: string, @@ -196,6 +199,9 @@ export abstract class BaseLLM implements ILLM { isFromAutoDetect?: boolean; + /** Tool overrides for this model */ + toolOverrides?: ToolOverride[]; + lastRequestId: string | undefined; private _llmOptions: LLMOptions; @@ -303,6 +309,7 @@ export abstract class BaseLLM implements ILLM { this.autocompleteOptions = options.autocompleteOptions; this.sourceFile = options.sourceFile; this.isFromAutoDetect = options.isFromAutoDetect; + this.toolOverrides = options.toolOverrides; } get contextLength() { @@ -1111,8 +1118,28 @@ export abstract class BaseLLM implements ILLM { messageOptions?: MessageOption, ): AsyncGenerator { this.lastRequestId = undefined; + + // Apply per-model tool overrides if configured + let effectiveTools = options.tools; + if (this.toolOverrides?.length && options.tools?.length) { + const { tools: overriddenTools, errors } = applyToolOverrides( + options.tools, + this.toolOverrides, + ); + effectiveTools = overriddenTools; + // Log any warnings for unknown tool names + for (const error of errors) { + if (!error.fatal) { + console.warn(`Tool override warning: ${error.message}`); + } + } + } + + // Use effectiveTools for the rest of this method + const optionsWithOverrides = { ...options, tools: effectiveTools }; + let { completionOptions, logEnabled } = - this._parseCompletionOptions(options); + this._parseCompletionOptions(optionsWithOverrides); const interaction = logEnabled ? this.logger?.createInteractionLog() : undefined; @@ -1130,7 +1157,7 @@ export abstract class BaseLLM implements ILLM { knownContextLength: this._contextLength, maxTokens: completionOptions.maxTokens ?? DEFAULT_MAX_TOKENS, supportsImages: this.supportsImages(), - tools: options.tools, + tools: optionsWithOverrides.tools, }); messages = compiledChatMessages; diff --git a/core/llm/openaiTypeConverters.test.ts b/core/llm/openaiTypeConverters.test.ts new file mode 100644 index 000000000..b0c63862f --- /dev/null +++ b/core/llm/openaiTypeConverters.test.ts @@ -0,0 +1,511 @@ +import { toResponsesInput } from "./openaiTypeConverters"; +import { ChatMessage } from ".."; +import type { ResponseInputItem } from "openai/resources/responses/responses.mjs"; + +// Types for test assertions (simplified from OpenAI types) +type FunctionCallItem = { + type: "function_call"; + id: string; + name: string; + arguments: string; + call_id: string; +}; + +type FunctionCallOutputItem = { + type: "function_call_output"; + call_id: string; + output: string; +}; + +type MessageItem = { + role: string; + content: unknown; +}; + +// Helper functions for filtering results +function getFunctionCalls(items: ResponseInputItem[]): FunctionCallItem[] { + return items.filter( + (item) => (item as { type?: string }).type === "function_call", + ) as unknown as FunctionCallItem[]; +} + +function getFunctionCallOutputs( + items: ResponseInputItem[], +): FunctionCallOutputItem[] { + return items.filter( + (item) => (item as { type?: string }).type === "function_call_output", + ) as unknown as FunctionCallOutputItem[]; +} + +function getMessagesByRole( + items: ResponseInputItem[], + role: string, +): MessageItem[] { + return items.filter((item) => { + const msg = item as { role?: string; type?: string }; + return msg.role === role && (!msg.type || msg.type === "message"); + }) as unknown as MessageItem[]; +} + +describe("openaiTypeConverters", () => { + describe("toResponsesInput", () => { + describe("tool calls handling - OpenAI Responses API", () => { + it("should emit function_call items when fc_ ID is in metadata", () => { + const messages: ChatMessage[] = [ + { + role: "user", + content: "List files in current directory", + }, + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_abc123", + type: "function", + function: { + name: "filesystem_list_directory", + arguments: '{"path": "."}', + }, + }, + ], + metadata: { responsesOutputItemId: "fc_abc123" }, + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(1); + expect(functionCalls[0].id).toBe("fc_abc123"); + expect(functionCalls[0].call_id).toBe("call_abc123"); + expect(functionCalls[0].name).toBe("filesystem_list_directory"); + }); + + it("should NOT emit function_call when no fc_ ID in metadata", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "I'll help.", + toolCalls: [ + { + id: "call_xyz", + type: "function", + function: { + name: "some_tool", + arguments: "{}", + }, + }, + ], + // No metadata with fc_ ID + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(0); + + // Text should still be emitted + const assistantMessages = getMessagesByRole(result, "assistant"); + expect(assistantMessages.length).toBe(1); + }); + + it("should emit text content alongside tool calls", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "Let me help you with that.", + toolCalls: [ + { + id: "call_xyz", + type: "function", + function: { + name: "some_tool", + arguments: "{}", + }, + }, + ], + metadata: { responsesOutputItemId: "fc_xyz" }, + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + const assistantMessages = getMessagesByRole(result, "assistant"); + + expect(functionCalls.length).toBe(1); + expect(assistantMessages.length).toBe(1); + expect(assistantMessages[0].content).toBe("Let me help you with that."); + }); + }); + + describe("function_call_output handling", () => { + it("should emit function_call_output for tool role messages", () => { + const messages: ChatMessage[] = [ + { + role: "tool", + content: '{"files": ["a.txt", "b.txt"]}', + toolCallId: "call_abc123", + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const outputs = getFunctionCallOutputs(result); + expect(outputs.length).toBe(1); + expect(outputs[0].call_id).toBe("call_abc123"); + }); + }); + + // Complete conversation flow tests (moved out of describe block to reduce nesting) + it("should handle full tool call cycle with fc_ IDs", () => { + const messages: ChatMessage[] = [ + { + role: "user", + content: "List files", + }, + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_list", + type: "function", + function: { + name: "list_files", + arguments: "{}", + }, + }, + ], + metadata: { responsesOutputItemId: "fc_list" }, + } as ChatMessage, + { + role: "tool", + content: '["file1.txt", "file2.txt"]', + toolCallId: "call_list", + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const userMsgs = getMessagesByRole(result, "user"); + const functionCalls = getFunctionCalls(result); + const functionOutputs = getFunctionCallOutputs(result); + + expect(userMsgs.length).toBe(1); + expect(functionCalls.length).toBe(1); + expect(functionOutputs.length).toBe(1); + + expect(functionCalls[0].id).toBe("fc_list"); + expect(functionCalls[0].call_id).toBe("call_list"); + expect(functionOutputs[0].call_id).toBe("call_list"); + }); + + it("should handle parallel tool calls merged into ONE message with responsesOutputItemIds array", () => { + // This is the REAL scenario: streaming parallel tool calls get merged into + // ONE ChatMessage with multiple toolCalls and an array of fc_ IDs + const messages: ChatMessage[] = [ + { + role: "user", + content: "Read these 3 files", + }, + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_001", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.py"}', + }, + }, + { + id: "call_002", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.js"}', + }, + }, + { + id: "call_003", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.ts"}', + }, + }, + ], + metadata: { + // Array of fc_ IDs, one per tool call + responsesOutputItemIds: ["fc_001", "fc_002", "fc_003"], + responsesOutputItemId: "fc_003", // Also keep last one for backwards compat + }, + } as ChatMessage, + // Tool results + { + role: "tool", + content: "# Python code", + toolCallId: "call_001", + } as ChatMessage, + { + role: "tool", + content: "// JS code", + toolCallId: "call_002", + } as ChatMessage, + { + role: "tool", + content: "// TS code", + toolCallId: "call_003", + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(3); + + // Verify each function_call has correct fc_ ID and call_id + expect(functionCalls[0].id).toBe("fc_001"); + expect(functionCalls[0].call_id).toBe("call_001"); + expect(functionCalls[1].id).toBe("fc_002"); + expect(functionCalls[1].call_id).toBe("call_002"); + expect(functionCalls[2].id).toBe("fc_003"); + expect(functionCalls[2].call_id).toBe("call_003"); + + const functionOutputs = getFunctionCallOutputs(result); + expect(functionOutputs.length).toBe(3); + }); + + it("should handle 3 parallel tool calls when each has its own fc_ ID (separate messages)", () => { + // Legacy scenario: Each function_call from OpenAI creates a separate ChatMessage + const messages: ChatMessage[] = [ + { + role: "user", + content: "Read these 3 files", + }, + // First tool call + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_001", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.py"}', + }, + }, + ], + metadata: { responsesOutputItemId: "fc_001" }, + } as ChatMessage, + // Second tool call + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_002", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.js"}', + }, + }, + ], + metadata: { responsesOutputItemId: "fc_002" }, + } as ChatMessage, + // Third tool call + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_003", + type: "function", + function: { + name: "read_file", + arguments: '{"path":"test.ts"}', + }, + }, + ], + metadata: { responsesOutputItemId: "fc_003" }, + } as ChatMessage, + // Tool results + { + role: "tool", + content: "# Python code", + toolCallId: "call_001", + } as ChatMessage, + { + role: "tool", + content: "// JS code", + toolCallId: "call_002", + } as ChatMessage, + { + role: "tool", + content: "// TS code", + toolCallId: "call_003", + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(3); + + const fcIds = functionCalls.map((fc) => fc.id); + expect(fcIds).toContain("fc_001"); + expect(fcIds).toContain("fc_002"); + expect(fcIds).toContain("fc_003"); + + const functionOutputs = getFunctionCallOutputs(result); + expect(functionOutputs.length).toBe(3); + }); + + describe("edge cases", () => { + it("should handle empty messages array", () => { + const result = toResponsesInput([]); + expect(result).toEqual([]); + }); + + it("should handle assistant message with empty toolCalls array", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "No tools needed", + toolCalls: [], + metadata: { responsesOutputItemId: "fc_empty" }, + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(0); + + // Should emit as regular message instead + const assistantMessages = getMessagesByRole(result, "assistant"); + expect(assistantMessages.length).toBe(1); + }); + + it("should handle assistant message with undefined metadata", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "Hello", + toolCalls: [ + { + id: "call_test", + type: "function", + function: { + name: "test_tool", + arguments: "{}", + }, + }, + ], + // metadata is undefined + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + // Should not emit function_call without fc_ ID + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(0); + }); + + it("should handle more toolCalls than responsesOutputItemIds", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_001", + type: "function", + function: { name: "tool1", arguments: "{}" }, + }, + { + id: "call_002", + type: "function", + function: { name: "tool2", arguments: "{}" }, + }, + { + id: "call_003", + type: "function", + function: { name: "tool3", arguments: "{}" }, + }, + ], + metadata: { + // Only 2 IDs for 3 tool calls + responsesOutputItemIds: ["fc_001", "fc_002"], + }, + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + // Should only emit 2 function_calls (matching the available IDs) + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(2); + expect(functionCalls[0].id).toBe("fc_001"); + expect(functionCalls[1].id).toBe("fc_002"); + }); + + it("should handle toolCall with missing function name", () => { + const messages: ChatMessage[] = [ + { + role: "assistant", + content: "", + toolCalls: [ + { + id: "call_001", + type: "function", + function: { name: "", arguments: "{}" }, // Empty name + }, + ], + metadata: { responsesOutputItemIds: ["fc_001"] }, + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + // Should skip tool calls with empty name + const functionCalls = getFunctionCalls(result); + expect(functionCalls.length).toBe(0); + }); + + it("should handle user message with various content types", () => { + const messages: ChatMessage[] = [ + { role: "user", content: "Simple string" }, + { + role: "user", + content: [{ type: "text", text: "Array content" }], + } as ChatMessage, + ]; + + const result = toResponsesInput(messages); + + const userMessages = getMessagesByRole(result, "user"); + expect(userMessages.length).toBe(2); + }); + + it("should handle system message (converted to developer role)", () => { + const messages: ChatMessage[] = [ + { role: "system", content: "You are a helpful assistant" }, + ]; + + const result = toResponsesInput(messages); + + const devMessages = getMessagesByRole(result, "developer"); + expect(devMessages.length).toBe(1); + }); + }); + }); +}); diff --git a/core/llm/openaiTypeConverters.ts b/core/llm/openaiTypeConverters.ts index a7e3d6bac..54182a5f1 100644 --- a/core/llm/openaiTypeConverters.ts +++ b/core/llm/openaiTypeConverters.ts @@ -774,6 +774,90 @@ function toResponseInputContentList( return list; } +/** + * Emits function_call items for each tool call that has a corresponding fc_ ID. + * Extracted to reduce cyclomatic complexity in toResponsesInput. + */ +function emitFunctionCallsFromToolCalls( + toolCalls: ToolCallDelta[], + respIds: string[], + input: ResponseInput, +): void { + for (let i = 0; i < toolCalls.length; i++) { + const tc = toolCalls[i]; + const fcId = respIds[i]; + + if (!fcId) continue; // Skip if no fc_ ID for this tool call + + const name = tc?.function?.name as string | undefined; + const args = tc?.function?.arguments as string | undefined; + const call_id = tc?.id as string | undefined; + + if (name && call_id) { + const functionCallItem: ResponseFunctionToolCall = { + id: fcId, + type: "function_call", + name, + arguments: typeof args === "string" ? args : "{}", + call_id, + }; + input.push(functionCallItem); + } + } +} + +/** + * Converts a thinking message's reasoning_details into a ResponseReasoningItem. + * Extracted to reduce cyclomatic complexity in toResponsesInput. + */ +function convertThinkingMessageToReasoningItem( + msg: ThinkingChatMessage, +): ResponseReasoningItem | undefined { + const details = msg.reasoning_details ?? []; + if (!details.length) return undefined; + + let id: string | undefined; + let summaryText = ""; + let encrypted: string | undefined; + let reasoningText = ""; + + for (const raw of details as Array>) { + const d = raw as { + type?: string; + id?: string; + text?: string; + encrypted_content?: string; + }; + if (d.type === "reasoning_id" && d.id) id = d.id; + else if (d.type === "encrypted_content" && d.encrypted_content) + encrypted = d.encrypted_content; + else if (d.type === "summary_text" && typeof d.text === "string") + summaryText += d.text; + else if (d.type === "reasoning_text" && typeof d.text === "string") + reasoningText += d.text; + } + + if (!id) return undefined; + + const reasoningItem: ResponseReasoningItem = { + id, + type: "reasoning", + summary: [], + } as ResponseReasoningItem; + + if (summaryText) { + reasoningItem.summary = [{ type: "summary_text", text: summaryText }]; + } + if (reasoningText) { + reasoningItem.content = [{ type: "reasoning_text", text: reasoningText }]; + } + if (encrypted) { + reasoningItem.encrypted_content = encrypted; + } + + return reasoningItem; +} + export function toResponsesInput(messages: ChatMessage[]): ResponseInput { const input: ResponseInput = []; @@ -817,21 +901,25 @@ export function toResponsesInput(messages: ChatMessage[]): ResponseInput { | string | undefined; const toolCalls = msg.toolCalls as ToolCallDelta[] | undefined; + // Get array of fc_ IDs for parallel tool calls, fallback to single respId + // NOTE: responsesOutputItemIds is accumulated in sessionSlice.ts during streaming. + // We rely on OpenAI streaming events arriving in order, so respIds[i] corresponds + // to toolCalls[i] by position. See: https://platform.openai.com/docs/guides/function-calling + const respIds = + (msg.metadata?.responsesOutputItemIds as string[] | undefined) || + (respId ? [respId] : []); - if (respId && Array.isArray(toolCalls) && toolCalls.length > 0) { - // Emit full function_call output item - const tc = toolCalls[0]; - const name = tc?.function?.name as string | undefined; - const args = tc?.function?.arguments as string | undefined; - const call_id = tc?.id as string | undefined; - const functionCallItem: ResponseFunctionToolCall = { - id: respId, - type: "function_call", - name: name || "", - arguments: typeof args === "string" ? args : "{}", - call_id: call_id || respId, - }; - input.push(functionCallItem); + if ( + Array.isArray(toolCalls) && + toolCalls.length > 0 && + respIds.length > 0 + ) { + // Emit function_call for EACH tool call (supports parallel tool calls) + emitFunctionCallsFromToolCalls(toolCalls, respIds, input); + // Also emit text content if present alongside tool calls + if (text && text.trim()) { + pushMessage("assistant", text); + } } else if (respId) { // Emit full assistant output message item const outputMessageItem: ResponseOutputMessage = { @@ -869,48 +957,11 @@ export function toResponsesInput(messages: ChatMessage[]): ResponseInput { break; } case "thinking": { - const details = (msg as ThinkingChatMessage).reasoning_details ?? []; - if (details.length) { - let id: string | undefined; - let summaryText = ""; - let encrypted: string | undefined; - let reasoningText = ""; - for (const raw of details as Array>) { - const d = raw as { - type?: string; - id?: string; - text?: string; - encrypted_content?: string; - }; - if (d.type === "reasoning_id" && d.id) id = d.id; - else if (d.type === "encrypted_content" && d.encrypted_content) - encrypted = d.encrypted_content; - else if (d.type === "summary_text" && typeof d.text === "string") - summaryText += d.text; - else if (d.type === "reasoning_text" && typeof d.text === "string") - reasoningText += d.text; - } - if (id) { - const reasoningItem: ResponseReasoningItem = { - id, - type: "reasoning", - summary: [], - } as ResponseReasoningItem; - if (summaryText) { - reasoningItem.summary = [ - { type: "summary_text", text: summaryText }, - ]; - } - if (reasoningText) { - reasoningItem.content = [ - { type: "reasoning_text", text: reasoningText }, - ]; - } - if (encrypted) { - reasoningItem.encrypted_content = encrypted; - } - input.push(reasoningItem as ResponseInputItem); - } + const reasoningItem = convertThinkingMessageToReasoningItem( + msg as ThinkingChatMessage, + ); + if (reasoningItem) { + input.push(reasoningItem as ResponseInputItem); } break; } diff --git a/core/package-lock.json b/core/package-lock.json index c189c82b8..6aa446ac8 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@anthropic-ai/sdk": "^0.62.0", "@aws-sdk/client-bedrock-runtime": "^3.931.0", - "@aws-sdk/client-sagemaker-runtime": "^3.777.0", + "@aws-sdk/client-sagemaker-runtime": "^3.894.0", "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "file:../packages/config-yaml", @@ -1415,125 +1415,144 @@ } }, "node_modules/@aws-sdk/client-sagemaker-runtime": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sagemaker-runtime/-/client-sagemaker-runtime-3.777.0.tgz", - "integrity": "sha512-b5IE89QOt7pvaImtDiOmUlKVGK7pcb3rW7nIKEqY65pJboIT/RNkehfA/XrlfgDjgGhVebojpUm/paqG+2xlDg==", + "version": "3.980.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sagemaker-runtime/-/client-sagemaker-runtime-3.980.0.tgz", + "integrity": "sha512-rGy4yqDH7GDN4TM06xiVvzIuL/hvDZe69iXc7gOhmOAVVvsX89AwmbgbN1twYfdxJ/dxNVqHF6KIt7TaASm34g==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.775.0", - "@aws-sdk/credential-provider-node": "3.777.0", - "@aws-sdk/middleware-host-header": "3.775.0", - "@aws-sdk/middleware-logger": "3.775.0", - "@aws-sdk/middleware-recursion-detection": "3.775.0", - "@aws-sdk/middleware-user-agent": "3.775.0", - "@aws-sdk/region-config-resolver": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@aws-sdk/util-endpoints": "3.775.0", - "@aws-sdk/util-user-agent-browser": "3.775.0", - "@aws-sdk/util-user-agent-node": "3.775.0", - "@smithy/config-resolver": "^4.1.0", - "@smithy/core": "^3.2.0", - "@smithy/eventstream-serde-browser": "^4.0.2", - "@smithy/eventstream-serde-config-resolver": "^4.1.0", - "@smithy/eventstream-serde-node": "^4.0.2", - "@smithy/fetch-http-handler": "^5.0.2", - "@smithy/hash-node": "^4.0.2", - "@smithy/invalid-dependency": "^4.0.2", - "@smithy/middleware-content-length": "^4.0.2", - "@smithy/middleware-endpoint": "^4.1.0", - "@smithy/middleware-retry": "^4.1.0", - "@smithy/middleware-serde": "^4.0.3", - "@smithy/middleware-stack": "^4.0.2", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/node-http-handler": "^4.0.4", - "@smithy/protocol-http": "^5.1.0", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/url-parser": "^4.0.2", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-body-length-node": "^4.0.0", - "@smithy/util-defaults-mode-browser": "^4.0.8", - "@smithy/util-defaults-mode-node": "^4.0.8", - "@smithy/util-endpoints": "^3.0.2", - "@smithy/util-middleware": "^4.0.2", - "@smithy/util-retry": "^4.0.2", - "@smithy/util-stream": "^4.2.0", - "@smithy/util-utf8": "^4.0.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/credential-provider-node": "^3.972.4", + "@aws-sdk/middleware-host-header": "^3.972.3", + "@aws-sdk/middleware-logger": "^3.972.3", + "@aws-sdk/middleware-recursion-detection": "^3.972.3", + "@aws-sdk/middleware-user-agent": "^3.972.5", + "@aws-sdk/region-config-resolver": "^3.972.3", + "@aws-sdk/types": "^3.973.1", + "@aws-sdk/util-endpoints": "3.980.0", + "@aws-sdk/util-user-agent-browser": "^3.972.3", + "@aws-sdk/util-user-agent-node": "^3.972.3", + "@smithy/config-resolver": "^4.4.6", + "@smithy/core": "^3.22.0", + "@smithy/eventstream-serde-browser": "^4.2.8", + "@smithy/eventstream-serde-config-resolver": "^4.3.8", + "@smithy/eventstream-serde-node": "^4.2.8", + "@smithy/fetch-http-handler": "^5.3.9", + "@smithy/hash-node": "^4.2.8", + "@smithy/invalid-dependency": "^4.2.8", + "@smithy/middleware-content-length": "^4.2.8", + "@smithy/middleware-endpoint": "^4.4.12", + "@smithy/middleware-retry": "^4.4.29", + "@smithy/middleware-serde": "^4.2.9", + "@smithy/middleware-stack": "^4.2.8", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/node-http-handler": "^4.4.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.1", + "@smithy/util-defaults-mode-browser": "^4.3.28", + "@smithy/util-defaults-mode-node": "^4.2.31", + "@smithy/util-endpoints": "^3.2.8", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-retry": "^4.2.8", + "@smithy/util-stream": "^4.5.10", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/client-sso": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.777.0.tgz", - "integrity": "sha512-0+z6CiAYIQa7s6FJ+dpBYPi9zr9yY5jBg/4/FGcwYbmqWPXwL9Thdtr0FearYRZgKl7bhL3m3dILCCfWqr3teQ==", + "version": "3.980.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.980.0.tgz", + "integrity": "sha512-AhNXQaJ46C1I+lQ+6Kj+L24il5K9lqqIanJd8lMszPmP7bLnmX0wTKK0dxywcvrLdij3zhWttjAKEBNgLtS8/A==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.775.0", - "@aws-sdk/middleware-host-header": "3.775.0", - "@aws-sdk/middleware-logger": "3.775.0", - "@aws-sdk/middleware-recursion-detection": "3.775.0", - "@aws-sdk/middleware-user-agent": "3.775.0", - "@aws-sdk/region-config-resolver": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@aws-sdk/util-endpoints": "3.775.0", - "@aws-sdk/util-user-agent-browser": "3.775.0", - "@aws-sdk/util-user-agent-node": "3.775.0", - "@smithy/config-resolver": "^4.1.0", - "@smithy/core": "^3.2.0", - "@smithy/fetch-http-handler": "^5.0.2", - "@smithy/hash-node": "^4.0.2", - "@smithy/invalid-dependency": "^4.0.2", - "@smithy/middleware-content-length": "^4.0.2", - "@smithy/middleware-endpoint": "^4.1.0", - "@smithy/middleware-retry": "^4.1.0", - "@smithy/middleware-serde": "^4.0.3", - "@smithy/middleware-stack": "^4.0.2", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/node-http-handler": "^4.0.4", - "@smithy/protocol-http": "^5.1.0", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/url-parser": "^4.0.2", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-body-length-node": "^4.0.0", - "@smithy/util-defaults-mode-browser": "^4.0.8", - "@smithy/util-defaults-mode-node": "^4.0.8", - "@smithy/util-endpoints": "^3.0.2", - "@smithy/util-middleware": "^4.0.2", - "@smithy/util-retry": "^4.0.2", - "@smithy/util-utf8": "^4.0.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/middleware-host-header": "^3.972.3", + "@aws-sdk/middleware-logger": "^3.972.3", + "@aws-sdk/middleware-recursion-detection": "^3.972.3", + "@aws-sdk/middleware-user-agent": "^3.972.5", + "@aws-sdk/region-config-resolver": "^3.972.3", + "@aws-sdk/types": "^3.973.1", + "@aws-sdk/util-endpoints": "3.980.0", + "@aws-sdk/util-user-agent-browser": "^3.972.3", + "@aws-sdk/util-user-agent-node": "^3.972.3", + "@smithy/config-resolver": "^4.4.6", + "@smithy/core": "^3.22.0", + "@smithy/fetch-http-handler": "^5.3.9", + "@smithy/hash-node": "^4.2.8", + "@smithy/invalid-dependency": "^4.2.8", + "@smithy/middleware-content-length": "^4.2.8", + "@smithy/middleware-endpoint": "^4.4.12", + "@smithy/middleware-retry": "^4.4.29", + "@smithy/middleware-serde": "^4.2.9", + "@smithy/middleware-stack": "^4.2.8", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/node-http-handler": "^4.4.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.1", + "@smithy/util-defaults-mode-browser": "^4.3.28", + "@smithy/util-defaults-mode-node": "^4.2.31", + "@smithy/util-endpoints": "^3.2.8", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-retry": "^4.2.8", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/core": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.775.0.tgz", - "integrity": "sha512-8vpW4WihVfz0DX+7WnnLGm3GuQER++b0IwQG35JlQMlgqnc44M//KbJPsIHA0aJUJVwJAEShgfr5dUbY8WUzaA==", + "version": "3.973.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.973.5.tgz", + "integrity": "sha512-IMM7xGfLGW6lMvubsA4j6BHU5FPgGAxoQ/NA63KqNLMwTS+PeMBcx8DPHL12Vg6yqOZnqok9Mu4H2BdQyq7gSA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/core": "^3.2.0", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/property-provider": "^4.0.2", - "@smithy/protocol-http": "^5.1.0", - "@smithy/signature-v4": "^5.0.2", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/util-middleware": "^4.0.2", - "fast-xml-parser": "4.4.1", + "@aws-sdk/types": "^3.973.1", + "@aws-sdk/xml-builder": "^3.972.2", + "@smithy/core": "^3.22.0", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/signature-v4": "^5.3.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/core/node_modules/@aws-sdk/xml-builder": { + "version": "3.972.2", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.2.tgz", + "integrity": "sha512-jGOOV/bV1DhkkUhHiZ3/1GZ67cZyOXaDb7d1rYD6ZiXf5V9tBNOcgqXwRRPvrCbYaFRa1pPMFb3ZjqjWpR3YfA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.12.0", + "fast-xml-parser": "5.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { @@ -1566,61 +1585,84 @@ } }, "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.775.0.tgz", - "integrity": "sha512-6ESVxwCbGm7WZ17kY1fjmxQud43vzJFoLd4bmlR+idQSWdqlzGDYdcfzpjDKTcivdtNrVYmFvcH1JBUwCRAZhw==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.3.tgz", + "integrity": "sha512-OBYNY4xQPq7Rx+oOhtyuyO0AQvdJSpXRg7JuPNBJH4a1XXIzJQl4UHQTPKZKwfJXmYLpv4+OkcFen4LYmDPd3g==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@smithy/property-provider": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-http": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.775.0.tgz", - "integrity": "sha512-PjDQeDH/J1S0yWV32wCj2k5liRo0ssXMseCBEkCsD3SqsU8o5cU82b0hMX4sAib/RkglCSZqGO0xMiN0/7ndww==", + "version": "3.972.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.5.tgz", + "integrity": "sha512-GpvBgEmSZPvlDekd26Zi+XsI27Qz7y0utUx0g2fSTSiDzhnd1FSa1owuodxR0BcUKNL7U2cOVhhDxgZ4iSoPVg==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@smithy/fetch-http-handler": "^5.0.2", - "@smithy/node-http-handler": "^4.0.4", - "@smithy/property-provider": "^4.0.2", - "@smithy/protocol-http": "^5.1.0", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/util-stream": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/types": "^3.973.1", + "@smithy/fetch-http-handler": "^5.3.9", + "@smithy/node-http-handler": "^4.4.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/util-stream": "^4.5.10", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.777.0.tgz", - "integrity": "sha512-1X9mCuM9JSQPmQ+D2TODt4THy6aJWCNiURkmKmTIPRdno7EIKgAqrr/LLN++K5mBf54DZVKpqcJutXU2jwo01A==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.972.3.tgz", + "integrity": "sha512-rMQAIxstP7cLgYfsRGrGOlpyMl0l8JL2mcke3dsIPLWke05zKOFyR7yoJzWCsI/QiIxjRbxpvPiAeKEA6CoYkg==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/credential-provider-env": "3.775.0", - "@aws-sdk/credential-provider-http": "3.775.0", - "@aws-sdk/credential-provider-process": "3.775.0", - "@aws-sdk/credential-provider-sso": "3.777.0", - "@aws-sdk/credential-provider-web-identity": "3.777.0", - "@aws-sdk/nested-clients": "3.777.0", - "@aws-sdk/types": "3.775.0", - "@smithy/credential-provider-imds": "^4.0.2", - "@smithy/property-provider": "^4.0.2", - "@smithy/shared-ini-file-loader": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/credential-provider-env": "^3.972.3", + "@aws-sdk/credential-provider-http": "^3.972.5", + "@aws-sdk/credential-provider-login": "^3.972.3", + "@aws-sdk/credential-provider-process": "^3.972.3", + "@aws-sdk/credential-provider-sso": "^3.972.3", + "@aws-sdk/credential-provider-web-identity": "^3.972.3", + "@aws-sdk/nested-clients": "3.980.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/credential-provider-imds": "^4.2.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-login": { + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.3.tgz", + "integrity": "sha512-Gc3O91iVvA47kp2CLIXOwuo5ffo1cIpmmyIewcYjAcvurdFHQ8YdcBe1KHidnbbBO4/ZtywGBACsAX5vr3UdoA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/nested-clients": "3.980.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-login": { @@ -1860,75 +1902,80 @@ } }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.777.0.tgz", - "integrity": "sha512-ZD66ywx1Q0KyUSuBXZIQzBe3Q7MzX8lNwsrCU43H3Fww+Y+HB3Ncws9grhSdNhKQNeGmZ+MgKybuZYaaeLwJEQ==", + "version": "3.972.4", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.4.tgz", + "integrity": "sha512-UwerdzosMSY7V5oIZm3NsMDZPv2aSVzSkZxYxIOWHBeKTZlUqW7XpHtJMZ4PZpJ+HMRhgP+MDGQx4THndgqJfQ==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "3.775.0", - "@aws-sdk/credential-provider-http": "3.775.0", - "@aws-sdk/credential-provider-ini": "3.777.0", - "@aws-sdk/credential-provider-process": "3.775.0", - "@aws-sdk/credential-provider-sso": "3.777.0", - "@aws-sdk/credential-provider-web-identity": "3.777.0", - "@aws-sdk/types": "3.775.0", - "@smithy/credential-provider-imds": "^4.0.2", - "@smithy/property-provider": "^4.0.2", - "@smithy/shared-ini-file-loader": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/credential-provider-env": "^3.972.3", + "@aws-sdk/credential-provider-http": "^3.972.5", + "@aws-sdk/credential-provider-ini": "^3.972.3", + "@aws-sdk/credential-provider-process": "^3.972.3", + "@aws-sdk/credential-provider-sso": "^3.972.3", + "@aws-sdk/credential-provider-web-identity": "^3.972.3", + "@aws-sdk/types": "^3.973.1", + "@smithy/credential-provider-imds": "^4.2.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.775.0.tgz", - "integrity": "sha512-A6k68H9rQp+2+7P7SGO90Csw6nrUEm0Qfjpn9Etc4EboZhhCLs9b66umUsTsSBHus4FDIe5JQxfCUyt1wgNogg==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.3.tgz", + "integrity": "sha512-xkSY7zjRqeVc6TXK2xr3z1bTLm0wD8cj3lAkproRGaO4Ku7dPlKy843YKnHrUOUzOnMezdZ4xtmFc0eKIDTo2w==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@smithy/property-provider": "^4.0.2", - "@smithy/shared-ini-file-loader": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.777.0.tgz", - "integrity": "sha512-9mPz7vk9uE4PBVprfINv4tlTkyq1OonNevx2DiXC1LY4mCUCNN3RdBwAY0BTLzj0uyc3k5KxFFNbn3/8ZDQP7w==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.972.3.tgz", + "integrity": "sha512-8Ww3F5Ngk8dZ6JPL/V5LhCU1BwMfQd3tLdoEuzaewX8FdnT633tPr+KTHySz9FK7fFPcz5qG3R5edVEhWQD4AA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.777.0", - "@aws-sdk/core": "3.775.0", - "@aws-sdk/token-providers": "3.777.0", - "@aws-sdk/types": "3.775.0", - "@smithy/property-provider": "^4.0.2", - "@smithy/shared-ini-file-loader": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/client-sso": "3.980.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/token-providers": "3.980.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.777.0.tgz", - "integrity": "sha512-uGCqr47fnthkqwq5luNl2dksgcpHHjSXz2jUra7TXtFOpqvnhOW8qXjoa1ivlkq8qhqlaZwCzPdbcN0lXpmLzQ==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.3.tgz", + "integrity": "sha512-62VufdcH5rRfiRKZRcf1wVbbt/1jAntMj1+J0qAd+r5pQRg2t0/P9/Rz16B1o5/0Se9lVL506LRjrhIJAhYBfA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/nested-clients": "3.777.0", - "@aws-sdk/types": "3.775.0", - "@smithy/property-provider": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/nested-clients": "3.980.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/credential-providers": { @@ -2442,61 +2489,66 @@ } }, "node_modules/@aws-sdk/middleware-host-header": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.775.0.tgz", - "integrity": "sha512-tkSegM0Z6WMXpLB8oPys/d+umYIocvO298mGvcMCncpRl77L9XkvSLJIFzaHes+o7djAgIduYw8wKIMStFss2w==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.972.3.tgz", + "integrity": "sha512-aknPTb2M+G3s+0qLCx4Li/qGZH8IIYjugHMv15JTYMe6mgZO8VBpYgeGYsNMGCqCZOcWzuf900jFBG5bopfzmA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/protocol-http": "^5.1.0", - "@smithy/types": "^4.2.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/middleware-logger": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.775.0.tgz", - "integrity": "sha512-FaxO1xom4MAoUJsldmR92nT1G6uZxTdNYOFYtdHfd6N2wcNaTuxgjIvqzg5y7QIH9kn58XX/dzf1iTjgqUStZw==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.972.3.tgz", + "integrity": "sha512-Ftg09xNNRqaz9QNzlfdQWfpqMCJbsQdnZVJP55jfhbKi1+FTWxGuvfPoBhDHIovqWKjqbuiew3HuhxbJ0+OjgA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/types": "^4.2.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.775.0.tgz", - "integrity": "sha512-GLCzC8D0A0YDG5u3F5U03Vb9j5tcOEFhr8oc6PDk0k0vm5VwtZOE6LvK7hcCSoAB4HXyOUM0sQuXrbaAh9OwXA==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.972.3.tgz", + "integrity": "sha512-PY57QhzNuXHnwbJgbWYTrqIDHYSeOlhfYERTAuc16LKZpTZRJUjzBFokp9hF7u1fuGeE3D70ERXzdbMBOqQz7Q==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/protocol-http": "^5.1.0", - "@smithy/types": "^4.2.0", + "@aws-sdk/types": "^3.973.1", + "@aws/lambda-invoke-store": "^0.2.2", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.775.0.tgz", - "integrity": "sha512-7Lffpr1ptOEDE1ZYH1T78pheEY1YmeXWBfFt/amZ6AGsKSLG+JPXvof3ltporTGR2bhH/eJPo7UHCglIuXfzYg==", + "version": "3.972.5", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.972.5.tgz", + "integrity": "sha512-TVZQ6PWPwQbahUI8V+Er+gS41ctIawcI/uMNmQtQ7RMcg3JYn6gyKAFKUb3HFYx2OjYlx1u11sETSwwEUxVHTg==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@aws-sdk/util-endpoints": "3.775.0", - "@smithy/core": "^3.2.0", - "@smithy/protocol-http": "^5.1.0", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/types": "^3.973.1", + "@aws-sdk/util-endpoints": "3.980.0", + "@smithy/core": "^3.22.0", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/middleware-websocket": { @@ -2534,109 +2586,115 @@ } }, "node_modules/@aws-sdk/nested-clients": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.777.0.tgz", - "integrity": "sha512-bmmVRsCjuYlStYPt06hr+f8iEyWg7+AklKCA8ZLDEJujXhXIowgUIqXmqpTkXwkVvDQ9tzU7hxaONjyaQCGybA==", + "version": "3.980.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.980.0.tgz", + "integrity": "sha512-/dONY5xc5/CCKzOqHZCTidtAR4lJXWkGefXvTRKdSKMGaYbbKsxDckisd6GfnvPSLxWtvQzwgRGRutMRoYUApQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.775.0", - "@aws-sdk/middleware-host-header": "3.775.0", - "@aws-sdk/middleware-logger": "3.775.0", - "@aws-sdk/middleware-recursion-detection": "3.775.0", - "@aws-sdk/middleware-user-agent": "3.775.0", - "@aws-sdk/region-config-resolver": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@aws-sdk/util-endpoints": "3.775.0", - "@aws-sdk/util-user-agent-browser": "3.775.0", - "@aws-sdk/util-user-agent-node": "3.775.0", - "@smithy/config-resolver": "^4.1.0", - "@smithy/core": "^3.2.0", - "@smithy/fetch-http-handler": "^5.0.2", - "@smithy/hash-node": "^4.0.2", - "@smithy/invalid-dependency": "^4.0.2", - "@smithy/middleware-content-length": "^4.0.2", - "@smithy/middleware-endpoint": "^4.1.0", - "@smithy/middleware-retry": "^4.1.0", - "@smithy/middleware-serde": "^4.0.3", - "@smithy/middleware-stack": "^4.0.2", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/node-http-handler": "^4.0.4", - "@smithy/protocol-http": "^5.1.0", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/url-parser": "^4.0.2", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-body-length-node": "^4.0.0", - "@smithy/util-defaults-mode-browser": "^4.0.8", - "@smithy/util-defaults-mode-node": "^4.0.8", - "@smithy/util-endpoints": "^3.0.2", - "@smithy/util-middleware": "^4.0.2", - "@smithy/util-retry": "^4.0.2", - "@smithy/util-utf8": "^4.0.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/middleware-host-header": "^3.972.3", + "@aws-sdk/middleware-logger": "^3.972.3", + "@aws-sdk/middleware-recursion-detection": "^3.972.3", + "@aws-sdk/middleware-user-agent": "^3.972.5", + "@aws-sdk/region-config-resolver": "^3.972.3", + "@aws-sdk/types": "^3.973.1", + "@aws-sdk/util-endpoints": "3.980.0", + "@aws-sdk/util-user-agent-browser": "^3.972.3", + "@aws-sdk/util-user-agent-node": "^3.972.3", + "@smithy/config-resolver": "^4.4.6", + "@smithy/core": "^3.22.0", + "@smithy/fetch-http-handler": "^5.3.9", + "@smithy/hash-node": "^4.2.8", + "@smithy/invalid-dependency": "^4.2.8", + "@smithy/middleware-content-length": "^4.2.8", + "@smithy/middleware-endpoint": "^4.4.12", + "@smithy/middleware-retry": "^4.4.29", + "@smithy/middleware-serde": "^4.2.9", + "@smithy/middleware-stack": "^4.2.8", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/node-http-handler": "^4.4.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.1", + "@smithy/util-defaults-mode-browser": "^4.3.28", + "@smithy/util-defaults-mode-node": "^4.2.31", + "@smithy/util-endpoints": "^3.2.8", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-retry": "^4.2.8", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/region-config-resolver": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.775.0.tgz", - "integrity": "sha512-40iH3LJjrQS3LKUJAl7Wj0bln7RFPEvUYKFxtP8a+oKFDO0F65F52xZxIJbPn6sHkxWDAnZlGgdjZXM3p2g5wQ==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.972.3.tgz", + "integrity": "sha512-v4J8qYAWfOMcZ4MJUyatntOicTzEMaU7j3OpkRCGGFSL2NgXQ5VbxauIyORA+pxdKZ0qQG2tCQjQjZDlXEC3Ow==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/types": "^4.2.0", - "@smithy/util-config-provider": "^4.0.0", - "@smithy/util-middleware": "^4.0.2", + "@aws-sdk/types": "^3.973.1", + "@smithy/config-resolver": "^4.4.6", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/token-providers": { - "version": "3.777.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.777.0.tgz", - "integrity": "sha512-Yc2cDONsHOa4dTSGOev6Ng2QgTKQUEjaUnsyKd13pc/nLLz/WLqHiQ/o7PcnKERJxXGs1g1C6l3sNXiX+kbnFQ==", + "version": "3.980.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.980.0.tgz", + "integrity": "sha512-1nFileg1wAgDmieRoj9dOawgr2hhlh7xdvcH57b1NnqfPaVlcqVJyPc6k3TLDUFPY69eEwNxdGue/0wIz58vjA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/nested-clients": "3.777.0", - "@aws-sdk/types": "3.775.0", - "@smithy/property-provider": "^4.0.2", - "@smithy/shared-ini-file-loader": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/core": "^3.973.5", + "@aws-sdk/nested-clients": "3.980.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/types": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.775.0.tgz", - "integrity": "sha512-ZoGKwa4C9fC9Av6bdfqcW6Ix5ot05F/S4VxWR2nHuMv7hzfmAjTOcUiWT7UR4hM/U0whf84VhDtXN/DWAk52KA==", + "version": "3.973.1", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.973.1.tgz", + "integrity": "sha512-DwHBiMNOB468JiX6+i34c+THsKHErYUdNQ3HexeXZvVn4zouLjgaS4FejiGSi2HyBuzuyHg7SuOPmjSvoU9NRg==", + "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.2.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/util-endpoints": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.775.0.tgz", - "integrity": "sha512-yjWmUgZC9tUxAo8Uaplqmq0eUh0zrbZJdwxGRKdYxfm4RG6fMw1tj52+KkatH7o+mNZvg1GDcVp/INktxonJLw==", + "version": "3.980.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.980.0.tgz", + "integrity": "sha512-AjKBNEc+rjOZQE1HwcD9aCELqg1GmUj1rtICKuY8cgwB73xJ4U/kNyqKKpN2k9emGqlfDY2D8itIp/vDc6OKpw==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/types": "^4.2.0", - "@smithy/util-endpoints": "^3.0.2", + "@aws-sdk/types": "^3.973.1", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", + "@smithy/util-endpoints": "^3.2.8", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aws-sdk/util-format-url": { @@ -2679,29 +2737,31 @@ } }, "node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.775.0.tgz", - "integrity": "sha512-txw2wkiJmZKVdDbscK7VBK+u+TJnRtlUjRTLei+elZg2ADhpQxfVAQl436FUeIv6AhB/oRHW6/K/EAGXUSWi0A==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.972.3.tgz", + "integrity": "sha512-JurOwkRUcXD/5MTDBcqdyQ9eVedtAsZgw5rBwktsPTN7QtPiS2Ld1jkJepNgYoCufz1Wcut9iup7GJDoIHp8Fw==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/types": "^4.2.0", + "@aws-sdk/types": "^3.973.1", + "@smithy/types": "^4.12.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.775.0.tgz", - "integrity": "sha512-N9yhTevbizTOMo3drH7Eoy6OkJ3iVPxhV7dwb6CMAObbLneS36CSfA6xQXupmHWcRvZPTz8rd1JGG3HzFOau+g==", + "version": "3.972.3", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.972.3.tgz", + "integrity": "sha512-gqG+02/lXQtO0j3US6EVnxtwwoXQC5l2qkhLCrqUrqdtcQxV7FDMbm9wLjKqoronSHyELGTjbFKK/xV5q1bZNA==", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-user-agent": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/types": "^4.2.0", + "@aws-sdk/middleware-user-agent": "^3.972.5", + "@aws-sdk/types": "^3.973.1", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "peerDependencies": { "aws-crt": ">=1.0.0" @@ -2726,36 +2786,6 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", - "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "strnum": "^2.1.0" - }, - "bin": { - "fxparser": "src/cli/cli.js" - } - }, - "node_modules/@aws-sdk/xml-builder/node_modules/strnum": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.1.tgz", - "integrity": "sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, "node_modules/@aws/lambda-invoke-store": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.2.2.tgz", @@ -7926,12 +7956,12 @@ } }, "node_modules/@smithy/abort-controller": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.2.5.tgz", - "integrity": "sha512-j7HwVkBw68YW8UmFRcjZOmssE77Rvk0GWAIN1oFBhsaovQmZWYCIcGa9/pwRB0ExI8Sk9MWNALTjftjHZea7VA==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.2.8.tgz", + "integrity": "sha512-peuVfkYHAmS5ybKxWcfraK7WBBP0J+rkfUcbHJJKQ4ir3UAUNQI+Y4Vt/PqSzGqgloJ5O1dk7+WzNL8wcCSXbw==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -7939,16 +7969,16 @@ } }, "node_modules/@smithy/config-resolver": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.3.tgz", - "integrity": "sha512-ezHLe1tKLUxDJo2LHtDuEDyWXolw8WGOR92qb4bQdWq/zKenO5BvctZGrVJBK08zjezSk7bmbKFOXIVyChvDLw==", + "version": "4.4.6", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.6.tgz", + "integrity": "sha512-qJpzYC64kaj3S0fueiu3kXm8xPrR3PcXDPEgnaNMRn0EjNSZFoFjvbUp0YUDsRhN1CB90EnHJtbxWKevnH99UQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/node-config-provider": "^4.3.5", - "@smithy/types": "^4.9.0", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/types": "^4.12.0", "@smithy/util-config-provider": "^4.2.0", - "@smithy/util-endpoints": "^3.2.5", - "@smithy/util-middleware": "^4.2.5", + "@smithy/util-endpoints": "^3.2.8", + "@smithy/util-middleware": "^4.2.8", "tslib": "^2.6.2" }, "engines": { @@ -7956,18 +7986,18 @@ } }, "node_modules/@smithy/core": { - "version": "3.18.7", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.18.7.tgz", - "integrity": "sha512-axG9MvKhMWOhFbvf5y2DuyTxQueO0dkedY9QC3mAfndLosRI/9LJv8WaL0mw7ubNhsO4IuXX9/9dYGPFvHrqlw==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.22.0.tgz", + "integrity": "sha512-6vjCHD6vaY8KubeNw2Fg3EK0KLGQYdldG4fYgQmA0xSW0dJ8G2xFhSOdrlUakWVoP5JuWHtFODg3PNd/DN3FDA==", "license": "Apache-2.0", "dependencies": { - "@smithy/middleware-serde": "^4.2.6", - "@smithy/protocol-http": "^5.3.5", - "@smithy/types": "^4.9.0", + "@smithy/middleware-serde": "^4.2.9", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", - "@smithy/util-middleware": "^4.2.5", - "@smithy/util-stream": "^4.5.6", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-stream": "^4.5.10", "@smithy/util-utf8": "^4.2.0", "@smithy/uuid": "^1.1.0", "tslib": "^2.6.2" @@ -7977,15 +8007,15 @@ } }, "node_modules/@smithy/credential-provider-imds": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.5.tgz", - "integrity": "sha512-BZwotjoZWn9+36nimwm/OLIcVe+KYRwzMjfhd4QT7QxPm9WY0HiOV8t/Wlh+HVUif0SBVV7ksq8//hPaBC/okQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.8.tgz", + "integrity": "sha512-FNT0xHS1c/CPN8upqbMFP83+ul5YgdisfCfkZ86Jh2NSmnqw/AJ6x5pEogVCTVvSm7j9MopRU89bmDelxuDMYw==", "license": "Apache-2.0", "dependencies": { - "@smithy/node-config-provider": "^4.3.5", - "@smithy/property-provider": "^4.2.5", - "@smithy/types": "^4.9.0", - "@smithy/url-parser": "^4.2.5", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", "tslib": "^2.6.2" }, "engines": { @@ -7993,13 +8023,13 @@ } }, "node_modules/@smithy/eventstream-codec": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.2.5.tgz", - "integrity": "sha512-Ogt4Zi9hEbIP17oQMd68qYOHUzmH47UkK7q7Gl55iIm9oKt27MUGrC5JfpMroeHjdkOliOA4Qt3NQ1xMq/nrlA==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.2.8.tgz", + "integrity": "sha512-jS/O5Q14UsufqoGhov7dHLOPCzkYJl9QDzusI2Psh4wyYx/izhzvX9P4D69aTxcdfVhEPhjK+wYyn/PzLjKbbw==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "5.2.0", - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "@smithy/util-hex-encoding": "^4.2.0", "tslib": "^2.6.2" }, @@ -8008,13 +8038,13 @@ } }, "node_modules/@smithy/eventstream-serde-browser": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.2.5.tgz", - "integrity": "sha512-HohfmCQZjppVnKX2PnXlf47CW3j92Ki6T/vkAT2DhBR47e89pen3s4fIa7otGTtrVxmj7q+IhH0RnC5kpR8wtw==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.2.8.tgz", + "integrity": "sha512-MTfQT/CRQz5g24ayXdjg53V0mhucZth4PESoA5IhvaWVDTOQLfo8qI9vzqHcPsdd2v6sqfTYqF5L/l+pea5Uyw==", "license": "Apache-2.0", "dependencies": { - "@smithy/eventstream-serde-universal": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/eventstream-serde-universal": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8022,12 +8052,12 @@ } }, "node_modules/@smithy/eventstream-serde-config-resolver": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.3.5.tgz", - "integrity": "sha512-ibjQjM7wEXtECiT6my1xfiMH9IcEczMOS6xiCQXoUIYSj5b1CpBbJ3VYbdwDy8Vcg5JHN7eFpOCGk8nyZAltNQ==", + "version": "4.3.8", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.3.8.tgz", + "integrity": "sha512-ah12+luBiDGzBruhu3efNy1IlbwSEdNiw8fOZksoKoWW1ZHvO/04MQsdnws/9Aj+5b0YXSSN2JXKy/ClIsW8MQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8035,13 +8065,13 @@ } }, "node_modules/@smithy/eventstream-serde-node": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.2.5.tgz", - "integrity": "sha512-+elOuaYx6F2H6x1/5BQP5ugv12nfJl66GhxON8+dWVUEDJ9jah/A0tayVdkLRP0AeSac0inYkDz5qBFKfVp2Gg==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.2.8.tgz", + "integrity": "sha512-cYpCpp29z6EJHa5T9WL0KAlq3SOKUQkcgSoeRfRVwjGgSFl7Uh32eYGt7IDYCX20skiEdRffyDpvF2efEZPC0A==", "license": "Apache-2.0", "dependencies": { - "@smithy/eventstream-serde-universal": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/eventstream-serde-universal": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8049,13 +8079,13 @@ } }, "node_modules/@smithy/eventstream-serde-universal": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.2.5.tgz", - "integrity": "sha512-G9WSqbST45bmIFaeNuP/EnC19Rhp54CcVdX9PDL1zyEB514WsDVXhlyihKlGXnRycmHNmVv88Bvvt4EYxWef/Q==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.2.8.tgz", + "integrity": "sha512-iJ6YNJd0bntJYnX6s52NC4WFYcZeKrPUr1Kmmr5AwZcwCSzVpS7oavAmxMR7pMq7V+D1G4s9F5NJK0xwOsKAlQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/eventstream-codec": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/eventstream-codec": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8063,14 +8093,14 @@ } }, "node_modules/@smithy/fetch-http-handler": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.6.tgz", - "integrity": "sha512-3+RG3EA6BBJ/ofZUeTFJA7mHfSYrZtQIrDP9dI8Lf7X6Jbos2jptuLrAAteDiFVrmbEmLSuRG/bUKzfAXk7dhg==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.9.tgz", + "integrity": "sha512-I4UhmcTYXBrct03rwzQX1Y/iqQlzVQaPxWjCjula++5EmWq9YGBrx6bbGqluGc1f0XEfhSkiY4jhLgbsJUMKRA==", "license": "Apache-2.0", "dependencies": { - "@smithy/protocol-http": "^5.3.5", - "@smithy/querystring-builder": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/protocol-http": "^5.3.8", + "@smithy/querystring-builder": "^4.2.8", + "@smithy/types": "^4.12.0", "@smithy/util-base64": "^4.3.0", "tslib": "^2.6.2" }, @@ -8079,12 +8109,12 @@ } }, "node_modules/@smithy/hash-node": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.5.tgz", - "integrity": "sha512-DpYX914YOfA3UDT9CN1BM787PcHfWRBB43fFGCYrZFUH0Jv+5t8yYl+Pd5PW4+QzoGEDvn5d5QIO4j2HyYZQSA==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.8.tgz", + "integrity": "sha512-7ZIlPbmaDGxVoxErDZnuFG18WekhbA/g2/i97wGj+wUBeS6pcUeAym8u4BXh/75RXWhgIJhyC11hBzig6MljwA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "@smithy/util-buffer-from": "^4.2.0", "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" @@ -8094,12 +8124,12 @@ } }, "node_modules/@smithy/invalid-dependency": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.5.tgz", - "integrity": "sha512-2L2erASEro1WC5nV+plwIMxrTXpvpfzl4e+Nre6vBVRR2HKeGGcvpJyyL3/PpiSg+cJG2KpTmZmq934Olb6e5A==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.8.tgz", + "integrity": "sha512-N9iozRybwAQ2dn9Fot9kI6/w9vos2oTXLhtK7ovGqwZjlOcxu6XhPlpLpC+INsxktqHinn5gS2DXDjDF2kG5sQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8119,13 +8149,13 @@ } }, "node_modules/@smithy/middleware-content-length": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.5.tgz", - "integrity": "sha512-Y/RabVa5vbl5FuHYV2vUCwvh/dqzrEY/K2yWPSqvhFUwIY0atLqO4TienjBXakoy4zrKAMCZwg+YEqmH7jaN7A==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.8.tgz", + "integrity": "sha512-RO0jeoaYAB1qBRhfVyq0pMgBoUK34YEJxVxyjOWYZiOKOq2yMZ4MnVXMZCUDenpozHue207+9P5ilTV1zeda0A==", "license": "Apache-2.0", "dependencies": { - "@smithy/protocol-http": "^5.3.5", - "@smithy/types": "^4.9.0", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8133,18 +8163,18 @@ } }, "node_modules/@smithy/middleware-endpoint": { - "version": "4.3.14", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.14.tgz", - "integrity": "sha512-v0q4uTKgBM8dsqGjqsabZQyH85nFaTnFcgpWU1uydKFsdyyMzfvOkNum9G7VK+dOP01vUnoZxIeRiJ6uD0kjIg==", + "version": "4.4.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.4.12.tgz", + "integrity": "sha512-9JMKHVJtW9RysTNjcBZQHDwB0p3iTP6B1IfQV4m+uCevkVd/VuLgwfqk5cnI4RHcp4cPwoIvxQqN4B1sxeHo8Q==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.18.7", - "@smithy/middleware-serde": "^4.2.6", - "@smithy/node-config-provider": "^4.3.5", - "@smithy/shared-ini-file-loader": "^4.4.0", - "@smithy/types": "^4.9.0", - "@smithy/url-parser": "^4.2.5", - "@smithy/util-middleware": "^4.2.5", + "@smithy/core": "^3.22.0", + "@smithy/middleware-serde": "^4.2.9", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", + "@smithy/url-parser": "^4.2.8", + "@smithy/util-middleware": "^4.2.8", "tslib": "^2.6.2" }, "engines": { @@ -8152,18 +8182,18 @@ } }, "node_modules/@smithy/middleware-retry": { - "version": "4.4.14", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.14.tgz", - "integrity": "sha512-Z2DG8Ej7FyWG1UA+7HceINtSLzswUgs2np3sZX0YBBxCt+CXG4QUxv88ZDS3+2/1ldW7LqtSY1UO/6VQ1pND8Q==", + "version": "4.4.29", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.29.tgz", + "integrity": "sha512-bmTn75a4tmKRkC5w61yYQLb3DmxNzB8qSVu9SbTYqW6GAL0WXO2bDZuMAn/GJSbOdHEdjZvWxe+9Kk015bw6Cg==", "license": "Apache-2.0", "dependencies": { - "@smithy/node-config-provider": "^4.3.5", - "@smithy/protocol-http": "^5.3.5", - "@smithy/service-error-classification": "^4.2.5", - "@smithy/smithy-client": "^4.9.10", - "@smithy/types": "^4.9.0", - "@smithy/util-middleware": "^4.2.5", - "@smithy/util-retry": "^4.2.5", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/service-error-classification": "^4.2.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", + "@smithy/util-middleware": "^4.2.8", + "@smithy/util-retry": "^4.2.8", "@smithy/uuid": "^1.1.0", "tslib": "^2.6.2" }, @@ -8172,13 +8202,13 @@ } }, "node_modules/@smithy/middleware-serde": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.6.tgz", - "integrity": "sha512-VkLoE/z7e2g8pirwisLz8XJWedUSY8my/qrp81VmAdyrhi94T+riBfwP+AOEEFR9rFTSonC/5D2eWNmFabHyGQ==", + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.9.tgz", + "integrity": "sha512-eMNiej0u/snzDvlqRGSN3Vl0ESn3838+nKyVfF2FKNXFbi4SERYT6PR392D39iczngbqqGG0Jl1DlCnp7tBbXQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/protocol-http": "^5.3.5", - "@smithy/types": "^4.9.0", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8186,12 +8216,12 @@ } }, "node_modules/@smithy/middleware-stack": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.5.tgz", - "integrity": "sha512-bYrutc+neOyWxtZdbB2USbQttZN0mXaOyYLIsaTbJhFsfpXyGWUxJpEuO1rJ8IIJm2qH4+xJT0mxUSsEDTYwdQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.8.tgz", + "integrity": "sha512-w6LCfOviTYQjBctOKSwy6A8FIkQy7ICvglrZFl6Bw4FmcQ1Z420fUtIhxaUZZshRe0VCq4kvDiPiXrPZAe8oRA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8199,14 +8229,14 @@ } }, "node_modules/@smithy/node-config-provider": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.5.tgz", - "integrity": "sha512-UTurh1C4qkVCtqggI36DGbLB2Kv8UlcFdMXDcWMbqVY2uRg0XmT9Pb4Vj6oSQ34eizO1fvR0RnFV4Axw4IrrAg==", + "version": "4.3.8", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.8.tgz", + "integrity": "sha512-aFP1ai4lrbVlWjfpAfRSL8KFcnJQYfTl5QxLJXY32vghJrDuFyPZ6LtUL+JEGYiFRG1PfPLHLoxj107ulncLIg==", "license": "Apache-2.0", "dependencies": { - "@smithy/property-provider": "^4.2.5", - "@smithy/shared-ini-file-loader": "^4.4.0", - "@smithy/types": "^4.9.0", + "@smithy/property-provider": "^4.2.8", + "@smithy/shared-ini-file-loader": "^4.4.3", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8214,15 +8244,15 @@ } }, "node_modules/@smithy/node-http-handler": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.4.5.tgz", - "integrity": "sha512-CMnzM9R2WqlqXQGtIlsHMEZfXKJVTIrqCNoSd/QpAyp+Dw0a1Vps13l6ma1fH8g7zSPNsA59B/kWgeylFuA/lw==", + "version": "4.4.8", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.4.8.tgz", + "integrity": "sha512-q9u+MSbJVIJ1QmJ4+1u+cERXkrhuILCBDsJUBAW1MPE6sFonbCNaegFuwW9ll8kh5UdyY3jOkoOGlc7BesoLpg==", "license": "Apache-2.0", "dependencies": { - "@smithy/abort-controller": "^4.2.5", - "@smithy/protocol-http": "^5.3.5", - "@smithy/querystring-builder": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/abort-controller": "^4.2.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/querystring-builder": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8230,12 +8260,12 @@ } }, "node_modules/@smithy/property-provider": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.5.tgz", - "integrity": "sha512-8iLN1XSE1rl4MuxvQ+5OSk/Zb5El7NJZ1td6Tn+8dQQHIjp59Lwl6bd0+nzw6SKm2wSSriH2v/I9LPzUic7EOg==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.8.tgz", + "integrity": "sha512-EtCTbyIveCKeOXDSWSdze3k612yCPq1YbXsbqX3UHhkOSW8zKsM9NOJG5gTIya0vbY2DIaieG8pKo1rITHYL0w==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8243,12 +8273,12 @@ } }, "node_modules/@smithy/protocol-http": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.5.tgz", - "integrity": "sha512-RlaL+sA0LNMp03bf7XPbFmT5gN+w3besXSWMkA8rcmxLSVfiEXElQi4O2IWwPfxzcHkxqrwBFMbngB8yx/RvaQ==", + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.8.tgz", + "integrity": "sha512-QNINVDhxpZ5QnP3aviNHQFlRogQZDfYlCkQT+7tJnErPQbDhysondEjhikuANxgMsZrkGeiAxXy4jguEGsDrWQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8256,12 +8286,12 @@ } }, "node_modules/@smithy/querystring-builder": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.5.tgz", - "integrity": "sha512-y98otMI1saoajeik2kLfGyRp11e5U/iJYH/wLCh3aTV/XutbGT9nziKGkgCaMD1ghK7p6htHMm6b6scl9JRUWg==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.8.tgz", + "integrity": "sha512-Xr83r31+DrE8CP3MqPgMJl+pQlLLmOfiEUnoyAlGzzJIrEsbKsPy1hqH0qySaQm4oWrCBlUqRt+idEgunKB+iw==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "@smithy/util-uri-escape": "^4.2.0", "tslib": "^2.6.2" }, @@ -8270,12 +8300,12 @@ } }, "node_modules/@smithy/querystring-parser": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.5.tgz", - "integrity": "sha512-031WCTdPYgiQRYNPXznHXof2YM0GwL6SeaSyTH/P72M1Vz73TvCNH2Nq8Iu2IEPq9QP2yx0/nrw5YmSeAi/AjQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.8.tgz", + "integrity": "sha512-vUurovluVy50CUlazOiXkPq40KGvGWSdmusa3130MwrR1UNnNgKAlj58wlOe61XSHRpUfIIh6cE0zZ8mzKaDPA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8283,24 +8313,24 @@ } }, "node_modules/@smithy/service-error-classification": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.5.tgz", - "integrity": "sha512-8fEvK+WPE3wUAcDvqDQG1Vk3ANLR8Px979te96m84CbKAjBVf25rPYSzb4xU4hlTyho7VhOGnh5i62D/JVF0JQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.8.tgz", + "integrity": "sha512-mZ5xddodpJhEt3RkCjbmUQuXUOaPNTkbMGR0bcS8FE0bJDLMZlhmpgrvPNCYglVw5rsYTpSnv19womw9WWXKQQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0" + "@smithy/types": "^4.12.0" }, "engines": { "node": ">=18.0.0" } }, "node_modules/@smithy/shared-ini-file-loader": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.0.tgz", - "integrity": "sha512-5WmZ5+kJgJDjwXXIzr1vDTG+RhF9wzSODQBfkrQ2VVkYALKGvZX1lgVSxEkgicSAFnFhPj5rudJV0zoinqS0bA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.3.tgz", + "integrity": "sha512-DfQjxXQnzC5UbCUPeC3Ie8u+rIWZTvuDPAGU/BxzrOGhRvgUanaP68kDZA+jaT3ZI+djOf+4dERGlm9mWfFDrg==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8308,16 +8338,16 @@ } }, "node_modules/@smithy/signature-v4": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.5.tgz", - "integrity": "sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w==", + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.8.tgz", + "integrity": "sha512-6A4vdGj7qKNRF16UIcO8HhHjKW27thsxYci+5r/uVRkdcBEkOEiY8OMPuydLX4QHSrJqGHPJzPRwwVTqbLZJhg==", "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^4.2.0", - "@smithy/protocol-http": "^5.3.5", - "@smithy/types": "^4.9.0", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", "@smithy/util-hex-encoding": "^4.2.0", - "@smithy/util-middleware": "^4.2.5", + "@smithy/util-middleware": "^4.2.8", "@smithy/util-uri-escape": "^4.2.0", "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" @@ -8327,17 +8357,17 @@ } }, "node_modules/@smithy/smithy-client": { - "version": "4.9.10", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.9.10.tgz", - "integrity": "sha512-Jaoz4Jw1QYHc1EFww/E6gVtNjhoDU+gwRKqXP6C3LKYqqH2UQhP8tMP3+t/ePrhaze7fhLE8vS2q6vVxBANFTQ==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.11.1.tgz", + "integrity": "sha512-SERgNg5Z1U+jfR6/2xPYjSEHY1t3pyTHC/Ma3YQl6qWtmiL42bvNId3W/oMUWIwu7ekL2FMPdqAmwbQegM7HeQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.18.7", - "@smithy/middleware-endpoint": "^4.3.14", - "@smithy/middleware-stack": "^4.2.5", - "@smithy/protocol-http": "^5.3.5", - "@smithy/types": "^4.9.0", - "@smithy/util-stream": "^4.5.6", + "@smithy/core": "^3.22.0", + "@smithy/middleware-endpoint": "^4.4.12", + "@smithy/middleware-stack": "^4.2.8", + "@smithy/protocol-http": "^5.3.8", + "@smithy/types": "^4.12.0", + "@smithy/util-stream": "^4.5.10", "tslib": "^2.6.2" }, "engines": { @@ -8345,9 +8375,9 @@ } }, "node_modules/@smithy/types": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.9.0.tgz", - "integrity": "sha512-MvUbdnXDTwykR8cB1WZvNNwqoWVaTRA0RLlLmf/cIFNMM2cKWz01X4Ly6SMC4Kks30r8tT3Cty0jmeWfiuyHTA==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.12.0.tgz", + "integrity": "sha512-9YcuJVTOBDjg9LWo23Qp0lTQ3D7fQsQtwle0jVfpbUHy9qBwCEgKuVH4FqFB3VYu0nwdHKiEMA+oXz7oV8X1kw==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -8357,13 +8387,13 @@ } }, "node_modules/@smithy/url-parser": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.5.tgz", - "integrity": "sha512-VaxMGsilqFnK1CeBX+LXnSuaMx4sTL/6znSZh2829txWieazdVxr54HmiyTsIbpOTLcf5nYpq9lpzmwRdxj6rQ==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.8.tgz", + "integrity": "sha512-NQho9U68TGMEU639YkXnVMV3GEFFULmmaWdlu1E9qzyIePOHsoSnagTGSDv1Zi8DCNN6btxOSdgmy5E/hsZwhA==", "license": "Apache-2.0", "dependencies": { - "@smithy/querystring-parser": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/querystring-parser": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8434,14 +8464,14 @@ } }, "node_modules/@smithy/util-defaults-mode-browser": { - "version": "4.3.13", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.13.tgz", - "integrity": "sha512-hlVLdAGrVfyNei+pKIgqDTxfu/ZI2NSyqj4IDxKd5bIsIqwR/dSlkxlPaYxFiIaDVrBy0he8orsFy+Cz119XvA==", + "version": "4.3.28", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.28.tgz", + "integrity": "sha512-/9zcatsCao9h6g18p/9vH9NIi5PSqhCkxQ/tb7pMgRFnqYp9XUOyOlGPDMHzr8n5ih6yYgwJEY2MLEobUgi47w==", "license": "Apache-2.0", "dependencies": { - "@smithy/property-provider": "^4.2.5", - "@smithy/smithy-client": "^4.9.10", - "@smithy/types": "^4.9.0", + "@smithy/property-provider": "^4.2.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8449,17 +8479,17 @@ } }, "node_modules/@smithy/util-defaults-mode-node": { - "version": "4.2.16", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.16.tgz", - "integrity": "sha512-F1t22IUiJLHrxW9W1CQ6B9PN+skZ9cqSuzB18Eh06HrJPbjsyZ7ZHecAKw80DQtyGTRcVfeukKaCRYebFwclbg==", + "version": "4.2.31", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.31.tgz", + "integrity": "sha512-JTvoApUXA5kbpceI2vuqQzRjeTbLpx1eoa5R/YEZbTgtxvIB7AQZxFJ0SEyfCpgPCyVV9IT7we+ytSeIB3CyWA==", "license": "Apache-2.0", "dependencies": { - "@smithy/config-resolver": "^4.4.3", - "@smithy/credential-provider-imds": "^4.2.5", - "@smithy/node-config-provider": "^4.3.5", - "@smithy/property-provider": "^4.2.5", - "@smithy/smithy-client": "^4.9.10", - "@smithy/types": "^4.9.0", + "@smithy/config-resolver": "^4.4.6", + "@smithy/credential-provider-imds": "^4.2.8", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/property-provider": "^4.2.8", + "@smithy/smithy-client": "^4.11.1", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8467,13 +8497,13 @@ } }, "node_modules/@smithy/util-endpoints": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.2.5.tgz", - "integrity": "sha512-3O63AAWu2cSNQZp+ayl9I3NapW1p1rR5mlVHcF6hAB1dPZUQFfRPYtplWX/3xrzWthPGj5FqB12taJJCfH6s8A==", + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.2.8.tgz", + "integrity": "sha512-8JaVTn3pBDkhZgHQ8R0epwWt+BqPSLCjdjXXusK1onwJlRuN69fbvSK66aIKKO7SwVFM6x2J2ox5X8pOaWcUEw==", "license": "Apache-2.0", "dependencies": { - "@smithy/node-config-provider": "^4.3.5", - "@smithy/types": "^4.9.0", + "@smithy/node-config-provider": "^4.3.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8493,12 +8523,12 @@ } }, "node_modules/@smithy/util-middleware": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.5.tgz", - "integrity": "sha512-6Y3+rvBF7+PZOc40ybeZMcGln6xJGVeY60E7jy9Mv5iKpMJpHgRE6dKy9ScsVxvfAYuEX4Q9a65DQX90KaQ3bA==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.8.tgz", + "integrity": "sha512-PMqfeJxLcNPMDgvPbbLl/2Vpin+luxqTGPpW3NAQVLbRrFRzTa4rNAASYeIGjRV9Ytuhzny39SpyU04EQreF+A==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.9.0", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8506,13 +8536,13 @@ } }, "node_modules/@smithy/util-retry": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.5.tgz", - "integrity": "sha512-GBj3+EZBbN4NAqJ/7pAhsXdfzdlznOh8PydUijy6FpNIMnHPSMO2/rP4HKu+UFeikJxShERk528oy7GT79YiJg==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.8.tgz", + "integrity": "sha512-CfJqwvoRY0kTGe5AkQokpURNCT1u/MkRzMTASWMPPo2hNSnKtF1D45dQl3DE2LKLr4m+PW9mCeBMJr5mCAVThg==", "license": "Apache-2.0", "dependencies": { - "@smithy/service-error-classification": "^4.2.5", - "@smithy/types": "^4.9.0", + "@smithy/service-error-classification": "^4.2.8", + "@smithy/types": "^4.12.0", "tslib": "^2.6.2" }, "engines": { @@ -8520,14 +8550,14 @@ } }, "node_modules/@smithy/util-stream": { - "version": "4.5.6", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.6.tgz", - "integrity": "sha512-qWw/UM59TiaFrPevefOZ8CNBKbYEP6wBAIlLqxn3VAIo9rgnTNc4ASbVrqDmhuwI87usnjhdQrxodzAGFFzbRQ==", + "version": "4.5.10", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.10.tgz", + "integrity": "sha512-jbqemy51UFSZSp2y0ZmRfckmrzuKww95zT9BYMmuJ8v3altGcqjwoV1tzpOwuHaKrwQrCjIzOib499ymr2f98g==", "license": "Apache-2.0", "dependencies": { - "@smithy/fetch-http-handler": "^5.3.6", - "@smithy/node-http-handler": "^4.4.5", - "@smithy/types": "^4.9.0", + "@smithy/fetch-http-handler": "^5.3.9", + "@smithy/node-http-handler": "^4.4.8", + "@smithy/types": "^4.12.0", "@smithy/util-base64": "^4.3.0", "@smithy/util-buffer-from": "^4.2.0", "@smithy/util-hex-encoding": "^4.2.0", @@ -13132,21 +13162,18 @@ "license": "BSD-3-Clause" }, "node_modules/fast-xml-parser": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", - "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", + "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/NaturalIntelligence" - }, - { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" } ], + "license": "MIT", "dependencies": { - "strnum": "^1.0.5" + "strnum": "^2.1.0" }, "bin": { "fxparser": "src/cli/cli.js" @@ -20369,9 +20396,16 @@ } }, "node_modules/strnum": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", - "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.2.tgz", + "integrity": "sha512-l63NF9y/cLROq/yqKXSLtcMeeyOfnSQlfMSlzFt/K73oIaD8DGaQWd7Z34X9GPiKqP5rbSh84Hl4bOlLcjiSrQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" }, "node_modules/supports-color": { "version": "7.2.0", diff --git a/core/package.json b/core/package.json index 467968c29..94ff4c6d3 100644 --- a/core/package.json +++ b/core/package.json @@ -56,7 +56,7 @@ "dependencies": { "@anthropic-ai/sdk": "^0.62.0", "@aws-sdk/client-bedrock-runtime": "^3.931.0", - "@aws-sdk/client-sagemaker-runtime": "^3.777.0", + "@aws-sdk/client-sagemaker-runtime": "^3.894.0", "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "file:../packages/config-yaml", diff --git a/core/tools/applyToolOverrides.ts b/core/tools/applyToolOverrides.ts new file mode 100644 index 000000000..52c7b94cb --- /dev/null +++ b/core/tools/applyToolOverrides.ts @@ -0,0 +1,69 @@ +import { ConfigValidationError } from "@continuedev/config-yaml"; +import { Tool, ToolOverride } from ".."; + +export interface ApplyToolOverridesResult { + tools: Tool[]; + errors: ConfigValidationError[]; +} + +/** + * Applies tool overrides from config to the list of tools. + * Overrides can modify tool descriptions, display titles, action phrases, + * system message descriptions, or disable tools entirely. + */ +export function applyToolOverrides( + tools: Tool[], + overrides: ToolOverride[] | undefined, +): ApplyToolOverridesResult { + if (!overrides?.length) { + return { tools, errors: [] }; + } + + const errors: ConfigValidationError[] = []; + const toolsByName = new Map(tools.map((t) => [t.function.name, t])); + + for (const override of overrides) { + const tool = toolsByName.get(override.name); + + if (!tool) { + errors.push({ + fatal: false, + message: `Tool override "${override.name}" does not match any known tool. Available tools: ${Array.from(toolsByName.keys()).join(", ")}`, + }); + continue; + } + + if (override.disabled) { + toolsByName.delete(override.name); + continue; + } + + const updatedTool: Tool = { + ...tool, + function: { + ...tool.function, + description: override.description ?? tool.function.description, + }, + displayTitle: override.displayTitle ?? tool.displayTitle, + wouldLikeTo: override.wouldLikeTo ?? tool.wouldLikeTo, + isCurrently: override.isCurrently ?? tool.isCurrently, + hasAlready: override.hasAlready ?? tool.hasAlready, + }; + + if (override.systemMessageDescription) { + updatedTool.systemMessageDescription = { + prefix: + override.systemMessageDescription.prefix ?? + tool.systemMessageDescription?.prefix ?? + "", + exampleArgs: + override.systemMessageDescription.exampleArgs ?? + tool.systemMessageDescription?.exampleArgs, + }; + } + + toolsByName.set(override.name, updatedTool); + } + + return { tools: Array.from(toolsByName.values()), errors }; +} diff --git a/core/tools/applyToolOverrides.vitest.ts b/core/tools/applyToolOverrides.vitest.ts new file mode 100644 index 000000000..190590980 --- /dev/null +++ b/core/tools/applyToolOverrides.vitest.ts @@ -0,0 +1,185 @@ +import { describe, expect, it } from "vitest"; +import { Tool, ToolOverride } from ".."; +import { applyToolOverrides } from "./applyToolOverrides"; + +const mockTool = (name: string, description: string): Tool => ({ + type: "function", + displayTitle: name, + readonly: true, + group: "test", + function: { name, description }, +}); + +describe("applyToolOverrides", () => { + it("should return tools unchanged when no overrides provided", () => { + const tools = [mockTool("read_file", "Read a file")]; + const result = applyToolOverrides(tools, undefined); + expect(result.tools).toEqual(tools); + expect(result.errors).toHaveLength(0); + }); + + it("should return tools unchanged when empty overrides array provided", () => { + const tools = [mockTool("read_file", "Read a file")]; + const result = applyToolOverrides(tools, []); + expect(result.tools).toEqual(tools); + expect(result.errors).toHaveLength(0); + }); + + it("should override description when specified", () => { + const tools = [mockTool("read_file", "Original description")]; + const overrides: ToolOverride[] = [ + { name: "read_file", description: "New description" }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].function.description).toBe("New description"); + expect(result.errors).toHaveLength(0); + }); + + it("should override displayTitle when specified", () => { + const tools = [mockTool("read_file", "Read a file")]; + const overrides: ToolOverride[] = [ + { name: "read_file", displayTitle: "Custom Read File" }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].displayTitle).toBe("Custom Read File"); + }); + + it("should override action phrases when specified", () => { + const tools = [mockTool("read_file", "Read a file")]; + tools[0].wouldLikeTo = "read {{{ filepath }}}"; + tools[0].isCurrently = "reading {{{ filepath }}}"; + tools[0].hasAlready = "read {{{ filepath }}}"; + + const overrides: ToolOverride[] = [ + { + name: "read_file", + wouldLikeTo: "open {{{ filepath }}}", + isCurrently: "opening {{{ filepath }}}", + hasAlready: "opened {{{ filepath }}}", + }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].wouldLikeTo).toBe("open {{{ filepath }}}"); + expect(result.tools[0].isCurrently).toBe("opening {{{ filepath }}}"); + expect(result.tools[0].hasAlready).toBe("opened {{{ filepath }}}"); + }); + + it("should disable tools when disabled: true", () => { + const tools = [ + mockTool("read_file", "Read"), + mockTool("write_file", "Write"), + ]; + const overrides: ToolOverride[] = [{ name: "read_file", disabled: true }]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools).toHaveLength(1); + expect(result.tools[0].function.name).toBe("write_file"); + expect(result.errors).toHaveLength(0); + }); + + it("should warn when override references unknown tool", () => { + const tools = [mockTool("read_file", "Read")]; + const overrides: ToolOverride[] = [ + { name: "unknown_tool", description: "test" }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools).toHaveLength(1); + expect(result.errors).toHaveLength(1); + expect(result.errors[0].message).toContain("unknown_tool"); + expect(result.errors[0].fatal).toBe(false); + }); + + it("should preserve unmodified fields", () => { + const tools = [mockTool("read_file", "Original")]; + tools[0].readonly = true; + tools[0].group = "Built-In"; + + const overrides: ToolOverride[] = [ + { name: "read_file", description: "New description" }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].readonly).toBe(true); + expect(result.tools[0].group).toBe("Built-In"); + expect(result.tools[0].displayTitle).toBe("read_file"); + }); + + it("should override systemMessageDescription", () => { + const tools = [mockTool("read_file", "Read")]; + tools[0].systemMessageDescription = { + prefix: "old prefix", + exampleArgs: [["filepath", "/old/path"]], + }; + + const overrides: ToolOverride[] = [ + { + name: "read_file", + systemMessageDescription: { + prefix: "new prefix", + exampleArgs: [["filepath", "/new/path"]], + }, + }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].systemMessageDescription?.prefix).toBe("new prefix"); + expect(result.tools[0].systemMessageDescription?.exampleArgs).toEqual([ + ["filepath", "/new/path"], + ]); + }); + + it("should partially override systemMessageDescription", () => { + const tools = [mockTool("read_file", "Read")]; + tools[0].systemMessageDescription = { + prefix: "old prefix", + exampleArgs: [["filepath", "/old/path"]], + }; + + const overrides: ToolOverride[] = [ + { + name: "read_file", + systemMessageDescription: { + prefix: "new prefix", + // exampleArgs not specified - should preserve original + }, + }, + ]; + const result = applyToolOverrides(tools, overrides); + expect(result.tools[0].systemMessageDescription?.prefix).toBe("new prefix"); + expect(result.tools[0].systemMessageDescription?.exampleArgs).toEqual([ + ["filepath", "/old/path"], + ]); + }); + + it("should apply multiple overrides", () => { + const tools = [ + mockTool("read_file", "Read"), + mockTool("write_file", "Write"), + mockTool("delete_file", "Delete"), + ]; + + const overrides: ToolOverride[] = [ + { name: "read_file", description: "Custom read" }, + { name: "write_file", disabled: true }, + { name: "delete_file", displayTitle: "Remove File" }, + ]; + + const result = applyToolOverrides(tools, overrides); + expect(result.tools).toHaveLength(2); + expect(result.tools[0].function.description).toBe("Custom read"); + expect(result.tools[1].displayTitle).toBe("Remove File"); + expect(result.errors).toHaveLength(0); + }); + + it("should not mutate original tools array", () => { + const tools = [mockTool("read_file", "Original")]; + const originalDescription = tools[0].function.description; + + const overrides: ToolOverride[] = [ + { name: "read_file", description: "New description" }, + ]; + const result = applyToolOverrides(tools, overrides); + + // Original should be unchanged + expect(tools[0].function.description).toBe(originalDescription); + // Result should have new description + expect(result.tools[0].function.description).toBe("New description"); + }); +}); diff --git a/core/util/constants.ts b/core/util/constants.ts index ea0d4b2d3..359a25719 100644 --- a/core/util/constants.ts +++ b/core/util/constants.ts @@ -2,4 +2,5 @@ export const NEW_SESSION_TITLE = "New Session"; export const GITHUB_LINK = "https://github.com/continuedev/continue/issues/new/choose"; -export const DISCORD_LINK = "https://discord.com/invite/EfJEfdFnDQ"; +export const DISCUSSIONS_LINK = + "https://github.com/continuedev/continue/discussions"; diff --git a/core/util/history.ts b/core/util/history.ts index cc1cf69cb..44241c420 100644 --- a/core/util/history.ts +++ b/core/util/history.ts @@ -141,10 +141,14 @@ export class HistoryManager { } let found = false; + const messageCount = session.history.filter( + (item) => item.message.role === "assistant", + ).length; for (const sessionMetadata of sessionsList) { if (sessionMetadata.sessionId === session.sessionId) { sessionMetadata.title = session.title; sessionMetadata.workspaceDirectory = session.workspaceDirectory; + sessionMetadata.messageCount = messageCount; found = true; break; } @@ -156,6 +160,7 @@ export class HistoryManager { title: session.title, dateCreated: String(Date.now()), workspaceDirectory: session.workspaceDirectory, + messageCount, }; sessionsList.push(sessionMetadata); } diff --git a/core/util/shellPath.ts b/core/util/shellPath.ts index a33eeb45e..961307c28 100644 --- a/core/util/shellPath.ts +++ b/core/util/shellPath.ts @@ -2,9 +2,12 @@ import { exec } from "child_process"; import { promisify } from "util"; const execAsync = promisify(exec); -export async function getEnvPathFromUserShell(): Promise { - if (process.platform === "win32") { - console.warn(`${getEnvPathFromUserShell.name} not implemented for Windows`); +export async function getEnvPathFromUserShell( + remoteName?: string, +): Promise { + const isWindowsHostWithWslRemote = + process.platform === "win32" && remoteName === "wsl"; + if (process.platform === "win32" && !isWindowsHostWithWslRemote) { return undefined; } diff --git a/docs/CONTRIBUTING.mdx b/docs/CONTRIBUTING.mdx index 7b8ff4bd5..761ca1e2c 100644 --- a/docs/CONTRIBUTING.mdx +++ b/docs/CONTRIBUTING.mdx @@ -92,7 +92,7 @@ The easiest way to get started is using our pre-configured documentation agent: - 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. + Visit [the Docs Assistant - Mintlify in Mission Control](https://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. 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 - Install from Continue Mission Control: https://hub.continue.dev/continuedev/continue-docs-mcp + Install from Continue Mission Control: https://continue.dev/continuedev/continue-docs-mcp This MCP provides context about Continue's documentation structure and standards. - Install from Continue Mission Control: https://hub.continue.dev/mintlify/technical-writing-rule + Install from Continue Mission Control: https://continue.dev/mintlify/technical-writing-rule This rule ensures proper Mintlify component formatting. @@ -339,8 +339,8 @@ 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 Mission Control page](https://hub.continue.dev/continuedev/docs-mintlify) -- **Discord community**: Join our Discord for real-time help +- **Continue agent questions**: Check the [Continue Mission Control page](https://continue.dev/continuedev/docs-mintlify) +- **GitHub Discussions**: Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for community help - **Existing docs**: Review similar pages for formatting examples --- diff --git a/docs/agents/create-and-edit.mdx b/docs/agents/create-and-edit.mdx index f8d7b7a46..12a5a3263 100644 --- a/docs/agents/create-and-edit.mdx +++ b/docs/agents/create-and-edit.mdx @@ -12,7 +12,7 @@ sidebarTitle: "Create & Edit" - Navigate to the [New Agent page](https://hub.continue.dev/agents/new). + Navigate to the [New Agent page](https://continue.dev/agents/new). @@ -24,9 +24,9 @@ sidebarTitle: "Create & Edit" |-------|---------------|---------| | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | - | **Tools ([MCPs](https://hub.continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase, etc.` | - | **[Rules](https://hub.continue.dev/hub?type=rules)** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | - | **[Model](https://hub.continue.dev/hub?type=models)** | Choose a default LLM | `Claude Sonnet 4.5` | + | **Tools ([MCPs](https://continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase, etc.` | + | **[Rules](https://continue.dev/hub?type=rules)** | Add any organizational rules | `continuedev/gh-pr-commit-workflow` | + | **[Model](https://continue.dev/hub?type=models)** | Choose a default LLM | `Claude Sonnet 4.5` | | **Trigger** | Determines when the cloud agent will be invoked | `GitHub, cron, webhook` | @@ -53,38 +53,38 @@ sidebarTitle: "Create & Edit" You can edit any AI Agent you own or that has Organization-level access. -From the **[Agents](https://hub.continue.dev/agents)** page, click your agent's name. Change any of the fields in the edit form, then click **"Save Changes"**. +From the **[Agents](https://continue.dev/agents)** page, click your agent's name. Change any of the fields in the edit form, then click **"Save Changes"**. ## Example Agent Configurations Here are proven agent configurations you can create or use as inspiration: - + **Snyk Continuous AI Agent** - Comprehensive security scanning with Snyk MCP integration. Automates dependency analysis, vulnerability scanning, and creates remediation PRs with Cloud Agent powered fix suggestions. - + **Netlify Continuous AI Agent** - Performance optimization with A/B testing and monitoring. Cloud Agent tracks Core Web Vitals, identifies regressions, and provides optimization recommendations. - + **Sentry Continuous AI Agent** - Automated error analysis and issue creation. Monitors production errors, provides root cause analysis, and creates actionable GitHub issues. - + **GitHub Manager AI Agent** - Comprehensive GitHub workflow automation. Handles issue triage, PR reviews, and release note generation with natural language prompts. - + **Supabase Continuous AI Agent** - Database security and management workflows. Audits Row Level Security, identifies vulnerabilities, and generates fixes automatically. diff --git a/docs/agents/intro.mdx b/docs/agents/intro.mdx index 92e334fa4..4960e8fc6 100644 --- a/docs/agents/intro.mdx +++ b/docs/agents/intro.mdx @@ -21,12 +21,12 @@ Use Mission Control to kick off Cloud Agents for: ## Quick Start - If you haven't already, create an account and connect your GitHub repositories in [Mission Control](https://hub.continue.dev/). + If you haven't already, create an account and connect your GitHub repositories in [Mission Control](https://continue.dev/). - Go to [Mission Control Agents page](https://hub.continue.dev/agents) and select an existing workflow with a pre-configured Cloud Agent. + Go to [Mission Control Agents page](https://continue.dev/agents) and select an existing workflow with a pre-configured Cloud Agent. @@ -58,7 +58,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe - Go to [Mission Control](https://hub.continue.dev/) and: + Go to [Mission Control](https://continue.dev/) and: - **Connect GitHub** and authorize Continue when prompted - This gives agents access to create PRs in your repositories @@ -183,7 +183,7 @@ Choose the method that fits your workflow: - Team collaboration - One-time tasks - Access at [hub.continue.dev/agents](https://hub.continue.dev/agents) + Access at [continue.dev/agents](https://continue.dev/agents) diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index 4774c7c0b..5499428f2 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -32,7 +32,7 @@ These execution modes allow Continue agents to function as cloud agents, running Trigger from the Continue Mission Control and review results in real-time. ```bash - # Navigate to hub.continue.dev/agents + # Navigate to continue.dev/agents # Click "Run Agent" on any agent # Monitor progress and review outputs ``` @@ -98,14 +98,14 @@ These execution modes allow Continue agents to function as cloud agents, running Skip the setup and use battle-tested agents from our cookbook collection: - + `continuedev/snyk-continuous-ai-agent` A cloud agent that monitors vulnerabilities and automatically opens PRs with fixes. - + `continuedev/github-project-manager-agent` @@ -113,7 +113,7 @@ A cloud agent that monitors vulnerabilities and automatically opens PRs with fix - + `continuedev/posthog-continuous-ai-agent` @@ -121,7 +121,7 @@ A cloud agent that monitors vulnerabilities and automatically opens PRs with fix - + `continuedev/netlify-continuous-ai-agent` @@ -129,7 +129,7 @@ A cloud agent that monitors vulnerabilities and automatically opens PRs with fix - + `continuedev/supabase-agent` @@ -137,7 +137,7 @@ A cloud agent that monitors vulnerabilities and automatically opens PRs with fix - + `continuedev/dlt-agent` @@ -262,7 +262,7 @@ The practice of using cloud agents, which we call Continuous AI, requires foreth Learn to run agents from the command line - + Access the web interface to manage agents \ No newline at end of file diff --git a/docs/changelog.mdx b/docs/changelog.mdx deleted file mode 100644 index b9216f146..000000000 --- a/docs/changelog.mdx +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "Changelog" -description: "Continue Product updates and announcements" -icon: notebook ---- - -## **Discover Opportunities You Can Hand Off: Introducing Proactive Cloud Agents** - -Over the past month, we’ve moved beyond just helping you code. We’ve been laying the groundwork to make Continue an always-on partner that handles the tasks you’d rather not do yourself. - -The result is a shift in how you interact with Continue: less setup, less context switching, and more automation driven directly from your workflow. - - -![Opportunities from Sentry and Snyk in Mission Control](./images/changelog/opportunities.png) - -[Continue Integrations](https://hub.continue.dev/integrations) can now surface actionable work from tools you already rely on. Instead of hunting for issues, Sentry alerts, Snyk vulnerabilities, and GitHub Issues are brought to you as "Opportunities" that you can immediately delegate to an agent for a first pass, and then you can review or approve the results. - - - -### **Automate Your Workflows with Cloud Agents** - -You can now automate workflows across tools like [PostHog](https://hub.continue.dev/integrations/posthog), [Supabase](https://hub.continue.dev/integrations/supabase), [Netlify](https://hub.continue.dev/integrations/netlify), [Atlassian](https://hub.continue.dev/integrations/atlassian), and [Sanity](https://hub.continue.dev/integrations/sanity) using cloud agents. - -Instead of manually stitching together dashboards, alerts, and follow-up tasks, Continue cloud agents can monitor signals, take action, and push work forward automatically. This makes Continue useful not just for coding tasks, but for the operational work that surrounds shipping software. - -Cloud agents are designed to run continuously and reliably, which is why much of the recent work focused on session stability, execution reliability, and onboarding improvements. - -### **Trigger Agents from Slack and GitHub** - -You can now kick off cloud agents directly from [Slack](https://hub.continue.dev/integrations/slack) and [GitHub](https://hub.continue.dev/integrations/github) using @Continue. - -Now, you can kick off cloud agents directly where your team is already talking. Just mention @Continue in a Slack thread or a GitHub comment. The agent will pick up the immediate context and follow your directions, letting you stay in your flow. - - \ No newline at end of file diff --git a/docs/cli/install.mdx b/docs/cli/install.mdx index ae8574c25..4e8bb1d56 100644 --- a/docs/cli/install.mdx +++ b/docs/cli/install.mdx @@ -101,7 +101,7 @@ For automation workflows and scripting: For automation workflows, get an API key: -1. Visit [Continue Mission Control API Keys](https://hub.continue.dev/settings/api-keys) +1. Visit [Continue Mission Control API Keys](https://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: Store secure credentials for CLI workflows: -1. Visit [Continue Mission Control Secrets](https://hub.continue.dev/settings/secrets) +1. Visit [Continue Mission Control Secrets](https://continue.dev/settings/secrets) 2. Add your API keys and sensitive data 3. Reference in configurations with `${{ secrets.SECRET_NAME }}` diff --git a/docs/cli/overview.mdx b/docs/cli/overview.mdx index e9f039961..c1ef9d4a8 100644 --- a/docs/cli/overview.mdx +++ b/docs/cli/overview.mdx @@ -20,7 +20,7 @@ sidebarTitle: "Overview" Prerequisites: - [Node.js 18 or newer](https://nodejs.org/en/download/) -- A [Continue Mission Control](https://hub.continue.dev) account (recommended) or local configuration +- A [Continue Mission Control](https://continue.dev) account (recommended) or local configuration ```bash npm # Install Continue CLI @@ -136,13 +136,13 @@ cn -p "Update documentation based on recent code changes" ## Continue Mission Control Integration -Continue CLI integrates seamlessly with [Continue Mission Control](https://hub.continue.dev) for: +Continue CLI integrates seamlessly with [Continue Mission Control](https://continue.dev) for: ### API Access Get an API key for automation workflows: -1. Visit [Continue Mission Control API Keys](https://hub.continue.dev/settings/api-keys) +1. Visit [Continue Mission Control API Keys](https://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 Mission Control Secrets](https://hub.continue.dev/settings/secrets) +1. Visit [Continue Mission Control Secrets](https://continue.dev/settings/secrets) 2. Add your API keys and sensitive data 3. Reference in configurations with `${{ secrets.SECRET_NAME }}` diff --git a/docs/customize/deep-dives/autocomplete.mdx b/docs/customize/deep-dives/autocomplete.mdx index b4d669a7b..c88c3ae1e 100644 --- a/docs/customize/deep-dives/autocomplete.mdx +++ b/docs/customize/deep-dives/autocomplete.mdx @@ -17,7 +17,7 @@ If you want to have the best autocomplete experience, we recommend using Codestr - [Mistral Codestral model block](https://hub.continue.dev/mistral/codestral) + [Mistral Codestral model block](https://continue.dev/mistral/codestral) ```yaml title="config.yaml" @@ -68,7 +68,7 @@ Then, add the model to your configuration: - [Ollama Qwen 2.5 Coder 1.5B model block](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) + [Ollama Qwen 2.5 Coder 1.5B model block](https://continue.dev/ollama/qwen2.5-coder-1.5b) ```yaml title="config.yaml" @@ -136,7 +136,7 @@ Then, in the continue panel, select this model as the default model for autocomp ### Autocomplete Models Available on the Continue Mission Control -Explore autocomplete model configurations on [the hub](https://hub.continue.dev/explore/models?roles=autocomplete) +Explore autocomplete model configurations on [the hub](https://continue.dev/explore/models?roles=autocomplete) ### Customize Autocomplete User Settings in the Continue Extension @@ -189,7 +189,7 @@ Follow these steps to ensure that everything is set up correctly: 4. Make sure that any other completion providers are disabled (e.g. Copilot), as they may interfere. 5. Check the output of the logs to find any potential errors: cmd/ctrl + shift + P -> "Toggle Developer Tools" -> "Console" tab in VS Code, ~/.continue/logs/core.log in JetBrains. 6. Check VS Code settings to make sure that `"editor.inlineSuggest.enabled"` is set to `true` (use cmd/ctrl + , then search for this and check the box) -7. If you are still having issues, please let us know in our [Discord](https://discord.gg/vapESyrFmJ) and we'll help as soon as possible. +7. If you are still having issues, please let us know in our [GitHub Discussions](https://github.com/continuedev/continue/discussions) and we'll help as soon as possible. ### Why Are My Completions Only Single-Line? @@ -232,4 +232,4 @@ Open Settings -> Tools -> Continue and uncheck the box for "Enable Tab Autocompl #### Feedback -If you're turning off autocomplete, we'd love to hear how we can improve! Please let us know in our [Discord](https://discord.gg/vapESyrFmJ) or file an issue on GitHub. +If you're turning off autocomplete, we'd love to hear how we can improve! Please let us know in our [GitHub Discussions](https://github.com/continuedev/continue/discussions) or file an issue on GitHub. diff --git a/docs/customize/deep-dives/configuration.mdx b/docs/customize/deep-dives/configuration.mdx index 6644e2248..a2c3ff06a 100644 --- a/docs/customize/deep-dives/configuration.mdx +++ b/docs/customize/deep-dives/configuration.mdx @@ -11,7 +11,7 @@ You can easily access your configuration from the Continue Chat sidebar. Open th ## How to Manage Hub Configs - Hub Configs can be managed in [the Hub](https://hub.continue.dev). See [Editing a config](/mission-control/configs/edit-a-config) + Hub Configs can be managed in [the Hub](https://continue.dev). See [Editing a config](/mission-control/configs/edit-a-config) ## How to Configure Local Configs with YAML diff --git a/docs/customize/deep-dives/mcp.mdx b/docs/customize/deep-dives/mcp.mdx index 2ad805711..f2c3b78a5 100644 --- a/docs/customize/deep-dives/mcp.mdx +++ b/docs/customize/deep-dives/mcp.mdx @@ -21,7 +21,7 @@ Protocol standard to unify prompts, context, and tool use. MCP Servers can be added to hub configs using `mcpServers`. You can explore available MCP servers -[here](https://hub.continue.dev/explore/mcp). +[here](https://continue.dev/explore/mcp). MCP can only be used in the **agent** mode. @@ -72,7 +72,7 @@ For example, place your JSON MCP config file at `.continue/mcpServers/mcp.json` To set up your own MCP server, read the [MCP quickstart](https://modelcontextprotocol.io/quickstart) and then [create an -`mcpServers`](https://hub.continue.dev/new?type=block&blockType=mcpServers) or add a local MCP +`mcpServers`](https://continue.dev/new?type=block&blockType=mcpServers) or add a local MCP server block to your [config file](./configuration.md): ```yaml title="config.yaml" diff --git a/docs/customize/deep-dives/prompts.mdx b/docs/customize/deep-dives/prompts.mdx index b260a42d1..711a0e19d 100644 --- a/docs/customize/deep-dives/prompts.mdx +++ b/docs/customize/deep-dives/prompts.mdx @@ -57,7 +57,7 @@ You're a Supabase Postgres expert in writing database functions. Generate **high ... ``` -You can read the rest of the `Create Supabase functions` prompt [here](http://hub.continue.dev/supabase/create-functions) +You can read the rest of the `Create Supabase functions` prompt [here](http://continue.dev/supabase/create-functions) If you are using a local `config.yaml`, you can add it to your config like this: @@ -70,13 +70,13 @@ prompts: ... ``` -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) +If you are using Continue Mission Control, you can add it to your config by selecting "Use Rule" [here](https://continue.dev/supabase/create-functions) To use this prompt, you can open Chat / Agent / Edit, type /, select the prompt, and type out any additional instructions you'd like to add. ## Using a prompt with `cn (TUI mode)` -You can run this command to start [cn](../../guides/cli) with the [Create Supabase functions](http://hub.continue.dev/supabase/create-functions) prompt. +You can run this command to start [cn](../../guides/cli) with the [Create Supabase functions](http://continue.dev/supabase/create-functions) prompt. ``` cn --prompt supabase/create-functions "I need a function that checks for the health status" @@ -99,7 +99,7 @@ Here is a command that you could run whenever you have a new feature: cn -p --prompt supabase/create-functions "I need a function for the new feature on my current branch similar to my existing database functions" ``` -You can see the entire `Create Supabase functions` prompt [here](http://hub.continue.dev/supabase/create-functions) +You can see the entire `Create Supabase functions` prompt [here](http://continue.dev/supabase/create-functions) When you run this workflow, [cn](../../guides/cli) will checkout your current branch, explore the new and existing code, and then draft a function for you. diff --git a/docs/customize/deep-dives/rules.mdx b/docs/customize/deep-dives/rules.mdx index d928c32b1..229ec5382 100644 --- a/docs/customize/deep-dives/rules.mdx +++ b/docs/customize/deep-dives/rules.mdx @@ -94,8 +94,8 @@ For example, you can say "Create a rule for this", and a rule will be created fo Rules can also be created and managed on the Continue Mission Control: -1. **Browse existing rules**: [Explore available rules](https://hub.continue.dev/hub?type=rules) -2. **Create new rules**: [Create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub +1. **Browse existing rules**: [Explore available rules](https://continue.dev/hub?type=rules) +2. **Create new rules**: [Create your own](https://continue.dev/new?type=block&blockType=rules) in the Hub 3. **Copy from local rules**: Copy/paste content from your `.continue/rules` files to create Hub rules ### Working Between Hub and Local Rules @@ -117,7 +117,7 @@ To use Hub rules in your local setup: To move local rules to the Hub: 1. Copy the content from your `.continue/rules/rule-name.md` file -2. Go to [Create new rule](https://hub.continue.dev/new?type=block&blockType=rules) +2. Go to [Create new rule](https://continue.dev/new?type=block&blockType=rules) 3. Paste the content and configure the rule 4. Optionally, remove the local file and reference the Hub rule in your config @@ -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 Mission Control](https://hub.continue.dev) and edit from there +2. **For Hub rules**: Go directly to your assistant page on [Continue Mission Control](https://continue.dev) and edit from there 3. Keep track of which rules are local vs Hub-based to avoid confusion diff --git a/docs/customize/deep-dives/rules.mdx.backup b/docs/customize/deep-dives/rules.mdx.backup index e7e13b010..6f908e9d2 100644 --- a/docs/customize/deep-dives/rules.mdx.backup +++ b/docs/customize/deep-dives/rules.mdx.backup @@ -51,7 +51,7 @@ For example, you can say "Create a rule for this", and a rule will be created fo Rules can also be added to a configuration on the Continue Hub. -Explore available rules [here](https://hub.continue.dev), or [create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub. +Explore available rules [here](https://continue.dev), or [create your own](https://continue.dev/new?type=block&blockType=rules) in the Hub. ### Syntax diff --git a/docs/customize/model-providers/more/asksage.mdx b/docs/customize/model-providers/more/asksage.mdx index 437d8f343..b7ef3a8ae 100644 --- a/docs/customize/model-providers/more/asksage.mdx +++ b/docs/customize/model-providers/more/asksage.mdx @@ -4,7 +4,7 @@ slug: ../asksage --- - **Discover Ask Sage models [here](https://hub.continue.dev/hub?q=Ask%20Sage)** + **Discover Ask Sage models [here](https://continue.dev/hub?q=Ask%20Sage)** diff --git a/docs/customize/model-providers/more/deepinfra.mdx b/docs/customize/model-providers/more/deepinfra.mdx index 97338a2ad..5d81c69ee 100644 --- a/docs/customize/model-providers/more/deepinfra.mdx +++ b/docs/customize/model-providers/more/deepinfra.mdx @@ -4,7 +4,7 @@ description: "Configure DeepInfra with Continue to access low-cost inference for --- - **Discover Deep Infra models [here](https://hub.continue.dev/deepinfra)** + **Discover Deep Infra models [here](https://continue.dev/deepinfra)** @@ -44,5 +44,5 @@ description: "Configure DeepInfra with Continue to access low-cost inference for - **Check out a more advanced configuration [here](https://hub.continue.dev/deepinfra/qwen-qwen2.5-coder-32b-instruct?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/deepinfra/qwen-qwen2.5-coder-32b-instruct?view=config)** \ No newline at end of file diff --git a/docs/customize/model-providers/more/deepseek.mdx b/docs/customize/model-providers/more/deepseek.mdx index e7441b668..b092a661f 100644 --- a/docs/customize/model-providers/more/deepseek.mdx +++ b/docs/customize/model-providers/more/deepseek.mdx @@ -4,7 +4,7 @@ slug: ../deepseek --- - **Discover DeepSeek models [here](https://hub.continue.dev/hub?q=DeepSeek)** + **Discover DeepSeek models [here](https://continue.dev/hub?q=DeepSeek)** diff --git a/docs/customize/model-providers/more/mistral.mdx b/docs/customize/model-providers/more/mistral.mdx index 6c8c74561..bee2ec8d0 100644 --- a/docs/customize/model-providers/more/mistral.mdx +++ b/docs/customize/model-providers/more/mistral.mdx @@ -4,7 +4,7 @@ slug: ../mistral --- - **Discover Mistral models [here](https://hub.continue.dev/mistral)** + **Discover Mistral models [here](https://continue.dev/mistral)** @@ -44,7 +44,7 @@ slug: ../mistral - **Check out a more advanced configuration [here](https://hub.continue.dev/mistral/codestral?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/mistral/codestral?view=config)** diff --git a/docs/customize/model-providers/more/together.mdx b/docs/customize/model-providers/more/together.mdx index 7de616a44..03b01b779 100644 --- a/docs/customize/model-providers/more/together.mdx +++ b/docs/customize/model-providers/more/together.mdx @@ -4,7 +4,7 @@ sidebarTitle: "Together AI" --- - **Discover Together AI models [here](https://hub.continue.dev/togetherai)** + **Discover Together AI models [here](https://continue.dev/togetherai)** @@ -44,5 +44,5 @@ sidebarTitle: "Together AI" - **Check out a more advanced configuration [here](https://hub.continue.dev/togetherai/qwen3-coder-480b-a35b-instruct-fp8?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/togetherai/qwen3-coder-480b-a35b-instruct-fp8?view=config)** \ No newline at end of file diff --git a/docs/customize/model-providers/more/xAI.mdx b/docs/customize/model-providers/more/xAI.mdx index a01e22c39..e14c1a114 100644 --- a/docs/customize/model-providers/more/xAI.mdx +++ b/docs/customize/model-providers/more/xAI.mdx @@ -3,7 +3,7 @@ title: xAI slug: ../xai --- -**Discover xAI models [here](https://hub.continue.dev/xai)** +**Discover xAI models [here](https://continue.dev/xai)** Get an API key from the [xAI Console](https://console.x.ai/) @@ -41,5 +41,5 @@ slug: ../xai **Check out a more advanced configuration - [here](https://hub.continue.dev/xai/grok-code-fast-1?view=config)** + [here](https://continue.dev/xai/grok-code-fast-1?view=config)** diff --git a/docs/customize/model-providers/top-level/anthropic.mdx b/docs/customize/model-providers/top-level/anthropic.mdx index cd46a20b7..085ac79a2 100644 --- a/docs/customize/model-providers/top-level/anthropic.mdx +++ b/docs/customize/model-providers/top-level/anthropic.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Anthropic" --- - **Discover Anthropic models [here](https://hub.continue.dev/anthropic)** + **Discover Anthropic models [here](https://continue.dev/anthropic)** @@ -45,7 +45,7 @@ sidebarTitle: "Anthropic" - **Check out a more advanced configuration [here](https://hub.continue.dev/anthropic/claude-sonnet-4-5?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/anthropic/claude-sonnet-4-5?view=config)** ## How to Enable Prompt Caching with Claude diff --git a/docs/customize/model-providers/top-level/bedrock.mdx b/docs/customize/model-providers/top-level/bedrock.mdx index 905428d07..5791ec519 100644 --- a/docs/customize/model-providers/top-level/bedrock.mdx +++ b/docs/customize/model-providers/top-level/bedrock.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Amazon Bedrock" --- - **Discover Amazon Bedrock models [here](https://hub.continue.dev/amazon)** + **Discover Amazon Bedrock models [here](https://continue.dev/amazon)** @@ -50,7 +50,7 @@ sidebarTitle: "Amazon Bedrock" - **Check out a more advanced configuration [here](https://hub.continue.dev/amazon/us-anthropic-claude-sonnet-4-20250514-v1?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/amazon/us-anthropic-claude-sonnet-4-20250514-v1?view=config)** ## How to Enable Prompt Caching with Amazon Bedrock diff --git a/docs/customize/model-providers/top-level/gemini.mdx b/docs/customize/model-providers/top-level/gemini.mdx index e86000bb8..546cfd8d0 100644 --- a/docs/customize/model-providers/top-level/gemini.mdx +++ b/docs/customize/model-providers/top-level/gemini.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Gemini" --- - **Discover Google models [here](https://hub.continue.dev/hub?q=Gemini)** + **Discover Google models [here](https://continue.dev/hub?q=Gemini)** @@ -45,5 +45,5 @@ sidebarTitle: "Gemini" - **Check out a more advanced configuration [here](https://hub.continue.dev/google/gemini-2.5-pro?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/google/gemini-2.5-pro?view=config)** diff --git a/docs/customize/model-providers/top-level/inception.mdx b/docs/customize/model-providers/top-level/inception.mdx index a18b89be1..4c48e709c 100644 --- a/docs/customize/model-providers/top-level/inception.mdx +++ b/docs/customize/model-providers/top-level/inception.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Inception" --- - **Discover Inception models [here](https://hub.continue.dev/inceptionlabs)** + **Discover Inception models [here](https://continue.dev/inceptionlabs)** @@ -45,5 +45,5 @@ sidebarTitle: "Inception" - **Check out a more advanced configuration [here](https://hub.continue.dev/inceptionlabs/mercury-coder?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/inceptionlabs/mercury-coder?view=config)** diff --git a/docs/customize/model-providers/top-level/lmstudio.mdx b/docs/customize/model-providers/top-level/lmstudio.mdx index d151d17b6..e16b74607 100644 --- a/docs/customize/model-providers/top-level/lmstudio.mdx +++ b/docs/customize/model-providers/top-level/lmstudio.mdx @@ -3,7 +3,7 @@ title: "LM Studio" --- - **Discover LM Studio models [here](https://hub.continue.dev/lmstudio)** + **Discover LM Studio models [here](https://continue.dev/lmstudio)** @@ -47,5 +47,5 @@ title: "LM Studio" - **Check out a more advanced configuration [here](https://hub.continue.dev/lmstudio/qwen-qwen3-coder-30b?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/lmstudio/qwen-qwen3-coder-30b?view=config)** \ No newline at end of file diff --git a/docs/customize/model-providers/top-level/ollama.mdx b/docs/customize/model-providers/top-level/ollama.mdx index fa608672f..6f8242fec 100644 --- a/docs/customize/model-providers/top-level/ollama.mdx +++ b/docs/customize/model-providers/top-level/ollama.mdx @@ -5,7 +5,7 @@ sidebarTitle: "Ollama" --- - **Discover Ollama models [here](https://hub.continue.dev/lmstudio)** + **Discover Ollama models [here](https://continue.dev/lmstudio)** @@ -45,7 +45,7 @@ sidebarTitle: "Ollama" - **Check out a more advanced configuration [here](https://hub.continue.dev/ollama/qwen3-coder-30b?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/ollama/qwen3-coder-30b?view=config)** ## How to Configure Model Capabilities in Ollama diff --git a/docs/customize/model-providers/top-level/openai.mdx b/docs/customize/model-providers/top-level/openai.mdx index 20f735ad1..e991e487f 100644 --- a/docs/customize/model-providers/top-level/openai.mdx +++ b/docs/customize/model-providers/top-level/openai.mdx @@ -5,7 +5,7 @@ sidebarTitle: "OpenAI" --- - **Discover OpenAI models [here](https://hub.continue.dev/openai)** + **Discover OpenAI models [here](https://continue.dev/openai)** @@ -45,7 +45,7 @@ sidebarTitle: "OpenAI" - **Check out a more advanced configuration [here](https://hub.continue.dev/openai/gpt-5?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/openai/gpt-5?view=config)** ## OpenAI API compatible providers diff --git a/docs/customize/model-providers/top-level/openrouter.mdx b/docs/customize/model-providers/top-level/openrouter.mdx index 9f429c6e5..b20f90228 100644 --- a/docs/customize/model-providers/top-level/openrouter.mdx +++ b/docs/customize/model-providers/top-level/openrouter.mdx @@ -4,7 +4,7 @@ sidebarTitle: "OpenRouter" --- - **Discover OpenRouter models [here](https://hub.continue.dev/openrouter)** + **Discover OpenRouter models [here](https://continue.dev/openrouter)** @@ -44,7 +44,7 @@ sidebarTitle: "OpenRouter" - **Check out a more advanced configuration [here](https://hub.continue.dev/openrouter/qwen3-coder?view=config)** + **Check out a more advanced configuration [here](https://continue.dev/openrouter/qwen3-coder?view=config)** ## Optional configuration diff --git a/docs/customize/model-providers/top-level/tetrate_agent_router_service.mdx b/docs/customize/model-providers/top-level/tetrate_agent_router_service.mdx index 5ba6184f8..a05bfee01 100644 --- a/docs/customize/model-providers/top-level/tetrate_agent_router_service.mdx +++ b/docs/customize/model-providers/top-level/tetrate_agent_router_service.mdx @@ -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. -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. +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://continue.dev/tetrate) to get started fast. ## Setup @@ -38,7 +38,7 @@ Fastest way: use preconfigured models from Tetrate on Continue Mission Control -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)) +Open [Tetrate on Continue Mission Control](https://continue.dev/tetrate) and pick a model (e.g., [Claude Sonnet 4](https://continue.dev/tetrate/claude-sonnet-4)) @@ -151,7 +151,7 @@ models: capabilities: - tool_use ``` -View the model block `tetrate/claude-sonnet-4` on the [Continue Mission Control](https://hub.continue.dev/tetrate/claude-sonnet-4). +View the model block `tetrate/claude-sonnet-4` on the [Continue Mission Control](https://continue.dev/tetrate/claude-sonnet-4). **Reference it in your Agent configuration:** diff --git a/docs/customize/model-roles/apply.mdx b/docs/customize/model-roles/apply.mdx index 963f9e0c4..3d8cab98f 100644 --- a/docs/customize/model-roles/apply.mdx +++ b/docs/customize/model-roles/apply.mdx @@ -13,13 +13,13 @@ When editing code, Chat and Edit model output often doesn't clearly align with e For the latest Apply model recommendations, see our [comprehensive model recommendations](/customize/models#recommended-models). -We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys). +We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys). However, most Chat models can also be used for applying code changes. We recommend smaller/cheaper models for the task, such as Claude 3.5 Haiku. Explore all apply models in [the - Hub](https://hub.continue.dev/explore/models?roles=apply) + Hub](https://continue.dev/explore/models?roles=apply) ## Prompt templating diff --git a/docs/customize/model-roles/chat.mdx b/docs/customize/model-roles/chat.mdx index 5465791df..aec1c9aca 100644 --- a/docs/customize/model-roles/chat.mdx +++ b/docs/customize/model-roles/chat.mdx @@ -25,7 +25,7 @@ Our current top recommendations are Claude Opus 4.5 and Claude Sonnet 4 from [An - View the [Claude Opus 4.5 model block](https://hub.continue.dev/anthropic/claude-4-5-opus) or [Claude Sonnet 4 model block](https://hub.continue.dev/anthropic/claude-4-sonnet) on the hub. + View the [Claude Opus 4.5 model block](https://continue.dev/anthropic/claude-4-5-opus) or [Claude Sonnet 4 model block](https://continue.dev/anthropic/claude-4-sonnet) on the hub. ```yaml title="config.yaml" @@ -50,10 +50,10 @@ If you prefer to use an open-weight model, then the Gemma family of Models from - Add the [Ollama Gemma 3 27B block](https://hub.continue.dev/ollama/gemma3-27b) from the hub + Add the [Ollama Gemma 3 27B block](https://continue.dev/ollama/gemma3-27b) from the hub - Add the [Together Gemma 2 27B Instruct block](https://hub.continue.dev/togetherai/gemma-2-instruct-27b) from the hub + Add the [Together Gemma 2 27B Instruct block](https://continue.dev/togetherai/gemma-2-instruct-27b) from the hub @@ -94,7 +94,7 @@ If you prefer to use a model from [OpenAI](../model-providers/top-level/openai), - Add the [OpenAI GPT-5.1 block](https://hub.continue.dev/openai/gpt-5.1) from the hub + Add the [OpenAI GPT-5.1 block](https://continue.dev/openai/gpt-5.1) from the hub ```yaml title="config.yaml" @@ -117,7 +117,7 @@ If you prefer to use a model from [xAI](../model-providers/more/xAI), then we re - Add the [xAI Grok-4.1 block](https://hub.continue.dev/xai/grok-4-1-fast-non-reasoning) from the hub + Add the [xAI Grok-4.1 block](https://continue.dev/xai/grok-4-1-fast-non-reasoning) from the hub ```yaml title="config.yaml" @@ -140,7 +140,7 @@ If you prefer to use a model from [Google](../model-providers/top-level/gemini), - Add the [Gemini 3 Pro block](https://hub.continue.dev/google/gemini-3-pro-preview) from the hub + Add the [Gemini 3 Pro block](https://continue.dev/google/gemini-3-pro-preview) from the hub ```yaml title="config.yaml" @@ -169,11 +169,11 @@ If your local machine can run an 8B parameter model, then we recommend running L - Add the [Ollama Llama 3.1 8b block](https://hub.continue.dev/ollama/llama3.1-8b) from the hub + Add the [Ollama Llama 3.1 8b block](https://continue.dev/ollama/llama3.1-8b) from the hub {/* HUB_TODO nonexistent block */} {/* - Add the [LM Studio Llama 3.1 8b block](https://hub.continue.dev/explore/models) from the hub + Add the [LM Studio Llama 3.1 8b block](https://continue.dev/explore/models) from the hub */} @@ -228,10 +228,10 @@ If your local machine can run a 16B parameter model, then we recommend running D {/* - Add the [Ollama Deepseek Coder 2 16B block](https://hub.continue.dev/explore/models) from the hub + Add the [Ollama Deepseek Coder 2 16B block](https://continue.dev/explore/models) from the hub - Add the [LM Studio Deepseek Coder 2 16B block](https://hub.continue.dev/explore/models) from the hub + Add the [LM Studio Deepseek Coder 2 16B block](https://continue.dev/explore/models) from the hub */} diff --git a/docs/customize/model-roles/edit.mdx b/docs/customize/model-roles/edit.mdx index 425fd20a3..7b071c8a7 100644 --- a/docs/customize/model-roles/edit.mdx +++ b/docs/customize/model-roles/edit.mdx @@ -24,7 +24,7 @@ models: - edit ``` -Explore edit models in [the hub](https://hub.continue.dev/explore/models?roles=edit). Generally, our recommendations for Edit overlap with recommendations for Chat. +Explore edit models in [the hub](https://continue.dev/explore/models?roles=edit). Generally, our recommendations for Edit overlap with recommendations for Chat. ## Model Recommendations diff --git a/docs/customize/model-roles/embeddings.mdx b/docs/customize/model-roles/embeddings.mdx index 95cd5ff29..66dd2339d 100644 --- a/docs/customize/model-roles/embeddings.mdx +++ b/docs/customize/model-roles/embeddings.mdx @@ -33,7 +33,7 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi - [Voyage Code 3 Embedder Block](https://hub.continue.dev/voyageai/voyage-code-3) + [Voyage Code 3 Embedder Block](https://continue.dev/voyageai/voyage-code-3) ```yaml title="config.yaml" @@ -103,7 +103,7 @@ See [here](../model-providers/top-level/ollama#embeddings-model) for instruction {/* HUB_TODO nonexistent block */} {/* - [HuggingFace Text Embedder Block](https://hub.continue.dev/) + [HuggingFace Text Embedder Block](https://continue.dev/) */} ```yaml title="config.yaml" diff --git a/docs/customize/model-roles/reranking.mdx b/docs/customize/model-roles/reranking.mdx index edacf773a..fcfc1979a 100644 --- a/docs/customize/model-roles/reranking.mdx +++ b/docs/customize/model-roles/reranking.mdx @@ -56,7 +56,7 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer {/* HUB_TODO block doesn't exist */} {/* - [Cohere Reranker English v3](https://hub.continue.dev/) + [Cohere Reranker English v3](https://continue.dev/) */} ```yaml title="config.yaml" @@ -82,7 +82,7 @@ If you only have access to a single LLM, then you can use it as a reranker. This {/* HUB_TODO block doesn't exist */} {/* - [GPT-4o LLM Reranker Block](https://hub.continue.dev/) + [GPT-4o LLM Reranker Block](https://continue.dev/) */} ```yaml title="config.yaml" @@ -109,7 +109,7 @@ If you only have access to a single LLM, then you can use it as a reranker. This {/* HUB_TODO */} {/* - [HuggingFace TEI Reranker block](https://hub.continue.dev/) + [HuggingFace TEI Reranker block](https://continue.dev/) */} ```yaml title="config.yaml" diff --git a/docs/customize/models.mdx b/docs/customize/models.mdx index bea6aee94..495818810 100644 --- a/docs/customize/models.mdx +++ b/docs/customize/models.mdx @@ -25,7 +25,7 @@ If no model is specified, Continue automatically uses the default agent with our -Explore models in [The Hub](https://hub.continue.dev/hub?type=models). +Explore models in [The Hub](https://continue.dev/hub?type=models). ## Learn More About Models @@ -38,60 +38,60 @@ Read more about [model roles](/customize/model-roles), [model capabilities](/cus # Frontier Models -[Claude Sonnet 4.5](https://hub.continue.dev/anthropic/claude-sonnet-4-5) from Anthropic +[Claude Sonnet 4.5](https://continue.dev/anthropic/claude-sonnet-4-5) from Anthropic 1. Get your API key from [Anthropic](https://console.anthropic.com/) -2. Add[Claude Sonnet 4.5](https://hub.continue.dev/anthropic/claude-sonnet-4-5) 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) +2. Add[Claude Sonnet 4.5](https://continue.dev/anthropic/claude-sonnet-4-5) 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://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 +[Qwen Coder 3 480B](https://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 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) +2. Add [Qwen Coder 3 480B](https://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://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 +[GPT-5](https://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 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) +2. Add [GPT-5](https://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://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 +[Kimi K2](https://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 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) +2. Add [Kimi K2](https://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://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 +[Gemini 2.5 Pro](https://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 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) +2. Add [Gemini 2.5 Pro](https://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://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 +[Grok Code Fast 1](https://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 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) +2. Add [Grok Code Fast 1](https://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://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 +[Devstral Medium](https://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 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) +2. Add [Devstral Medium](https://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://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 +[gpt-oss-120b](https://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 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) +2. Add [gpt-oss-120b](https://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://continue.dev/settings/secrets) 4. Click `Reload config` in the config selector in the Continue IDE extension ### Local Models @@ -104,38 +104,38 @@ These models can be run on your computer if you have enough VRAM. Their limited tool calling and reasoning capabilities will make it challenging to use agent mode. -[Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) +[Qwen3 Coder 30B](https://continue.dev/ollama/qwen3-coder-30b) -1. Add [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) a config on Continue Mission Control +1. Add [Qwen3 Coder 30B](https://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) +[gpt-oss-20b](https://continue.dev/ollama/gpt-oss-20b) -1. Add [gpt-oss-20b](https://hub.continue.dev/ollama/gpt-oss-20b) a config on Continue Mission Control +1. Add [gpt-oss-20b](https://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) +[Devstral Small 27B](https://continue.dev/ollama/devstral) -1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) a config on Continue Mission Control +1. Add [Devstral Small](https://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 +[Qwen2.5-Coder 7B](https://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 Mission Control +1. Add [Qwen2.5-Coder 7B](https://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 +[Gemma 3 4B](https://continue.dev/ollama/gemma3-4b) from Google -1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) a config on Continue Mission Control +1. Add [Gemma 3 4B](https://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 +[Qwen2.5-Coder 1.5B](https://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 Mission Control +1. Add [Qwen2.5-Coder 1.5B](https://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 diff --git a/docs/customize/prompts.mdx b/docs/customize/prompts.mdx index 85fbfc6d6..f9dd74079 100644 --- a/docs/customize/prompts.mdx +++ b/docs/customize/prompts.mdx @@ -12,6 +12,6 @@ description: "These are the specialized instructions that shape how models and a ## Learn More -- [Explore prompts](https://hub.continue.dev/hub?type=prompts) on the Hub +- [Explore prompts](https://continue.dev/hub?type=prompts) on the Hub - Learn more in the [prompts deep dive](/customize/deep-dives/prompts) - View [`prompts`](/reference#prompts) in the YAML Reference for more details diff --git a/docs/customize/rules.mdx b/docs/customize/rules.mdx index 73920b0fb..1a525818c 100644 --- a/docs/customize/rules.mdx +++ b/docs/customize/rules.mdx @@ -27,7 +27,7 @@ Your agent detects rules and applies the specified rules while in [Agent](/ide-e -- Manage on [Continue Mission Control](https://hub.continue.dev) +- Manage on [Continue Mission Control](https://continue.dev) - Reference in config.yaml with `uses:` - Share with team and community - Easy to include in multiple agents diff --git a/docs/customize/telemetry.mdx b/docs/customize/telemetry.mdx index 12dc39bf2..be5fb1a24 100644 --- a/docs/customize/telemetry.mdx +++ b/docs/customize/telemetry.mdx @@ -1,6 +1,5 @@ --- title: "Telemetry" -icon: "chart-line" description: "Learn about Continue's anonymous telemetry collection practices, what usage data is tracked, and how to opt out of data collection to maintain your privacy preferences" --- diff --git a/docs/docs.json b/docs/docs.json index 659b3996c..7e4ec3c40 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -2,10 +2,6 @@ "$schema": "https://mintlify.com/docs.json", "theme": "mint", "name": "Continue", - "banner": { - "content": "**Introducing [Agents page in Mission Control](https://hub.continue.dev/agents).** A single view for all your cloud agents: where they run, how they're triggered, and how to reuse them across your work.", - "dismissable": true - }, "colors": { "primary": "#6b7280", "light": "#ffffff", @@ -20,7 +16,7 @@ { "group": "Getting Started", "icon": "rocket-launch", - "pages": ["index", "changelog"] + "pages": ["index", "overview"] }, { "group": "Mission Control", @@ -31,7 +27,6 @@ "mission-control/workflows", { "group": "Integrations", - "icon": "plug", "pages": [ "mission-control/integrations", "mission-control/integrations/github", @@ -48,7 +43,6 @@ "mission-control/sharing", { "group": "Governance", - "icon": "building", "pages": [ "mission-control/governance/creating-an-org", "mission-control/governance/org-permissions", @@ -57,7 +51,6 @@ }, { "group": "Secrets", - "icon": "key", "pages": [ "mission-control/secrets/secret-types", "mission-control/secrets/secret-resolution" @@ -65,7 +58,6 @@ }, { "group": "Configs", - "icon": "book", "pages": [ "mission-control/configs/intro", "mission-control/configs/use-a-config", @@ -122,7 +114,6 @@ "pages": [ { "group": "Agent", - "icon": "robot", "pages": [ "ide-extensions/agent/quick-start", "ide-extensions/agent/how-it-works", @@ -134,7 +125,6 @@ }, { "group": "Chat", - "icon": "messages", "pages": [ "ide-extensions/chat/quick-start", "ide-extensions/chat/how-it-works", @@ -145,7 +135,6 @@ }, { "group": "Autocomplete", - "icon": "sparkles", "pages": [ "ide-extensions/autocomplete/quick-start", "ide-extensions/autocomplete/how-it-works", @@ -157,7 +146,6 @@ }, { "group": "Edit", - "icon": "pen-to-square", "pages": [ "ide-extensions/edit/quick-start", "ide-extensions/edit/how-it-works", @@ -180,7 +168,6 @@ "customize/prompts", { "group": "Model Providers", - "icon": "server", "pages": [ "customize/model-providers/overview", { @@ -220,7 +207,6 @@ }, { "group": "Model Roles", - "icon": "robot", "pages": [ "customize/model-roles/00-intro", "customize/model-roles/chat", @@ -233,7 +219,6 @@ }, { "group": "Deep Dives", - "icon": "microscope", "pages": [ "customize/deep-dives/configuration", "customize/deep-dives/rules", @@ -274,6 +259,7 @@ }, { "group": "Cloud Agents", + "icon": "cloud", "pages": [ "guides/cloud-agents/cloud-agents-taxonomy", "guides/cloud-agents/guide-to-cloud-agents", @@ -286,6 +272,7 @@ }, { "group": "Guides", + "icon": "compass", "pages": [ { "group": "Understanding Continue", @@ -325,7 +312,6 @@ }, { "group": "Cookbooks", - "icon": "book-open-cover", "pages": [ "guides/posthog-github-continuous-ai", "guides/continue-docs-mcp-cookbook", @@ -353,18 +339,13 @@ "href": "https://continue.dev/about-us", "icon": "book-open" }, - { - "anchor": "Community", - "href": "https://discord.gg/NWtdYexhMs", - "icon": "discord" - }, { "anchor": "Blog", "href": "https://continue.dev/blog", "icon": "newspaper" }, { - "anchor": "Release Notes", + "anchor": "Changelog", "href": "https://changelog.continue.dev/", "icon": "bullhorn" } @@ -385,7 +366,7 @@ "links": [ { "label": "🚀 Get Started", - "href": "https://hub.continue.dev/" + "href": "https://continue.dev/" } ], "primary": { @@ -398,7 +379,6 @@ "x": "https://twitter.com/continuedev", "github": "https://github.com/continuedev/continue", "linkedin": "https://linkedin.com/company/continuedev", - "discord": "https://discord.gg/vapESyrFmJ", "youtube": "https://www.youtube.com/@continuedev" } }, @@ -423,6 +403,10 @@ "js": ["reo-tracking.js"] }, "redirects": [ + { + "source": "/changelog", + "destination": "https://changelog.continue.dev" + }, { "source": "/hub", "destination": "/mission-control" diff --git a/docs/faqs.mdx b/docs/faqs.mdx index df5daf55c..80e0208d6 100644 --- a/docs/faqs.mdx +++ b/docs/faqs.mdx @@ -293,7 +293,7 @@ models: #### 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): +For centralized team secret management, use `${{ inputs.SECRET_NAME }}` syntax in your config.yaml and manage them at [https://continue.dev/settings/secrets](https://continue.dev/settings/secrets): ```yaml models: - provider: openai @@ -382,4 +382,4 @@ If you'd like to perform a clean reset of the extension, including removing all ## Still having trouble? -You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and GitHub Discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly. \ No newline at end of file +You can also join [GitHub Discussions](https://github.com/continuedev/continue/discussions) for additional support. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly. \ No newline at end of file diff --git a/docs/guides/atlassian-mcp-continue-cookbook.mdx b/docs/guides/atlassian-mcp-continue-cookbook.mdx index 393fcead2..f3e660a53 100644 --- a/docs/guides/atlassian-mcp-continue-cookbook.mdx +++ b/docs/guides/atlassian-mcp-continue-cookbook.mdx @@ -47,7 +47,7 @@ For all options, first: - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys). + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). All data access respects your existing Jira, Confluence, and Compass user permissions. @@ -61,18 +61,18 @@ For all options, first: | Agent | Best For | Use Cases | Link | |-------|----------|-----------|------| -| **Jira Agent** | Issue Management | Search issues, create stories, sprint planning, status updates, bulk operations | [View Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-jira-agent) | -| **Confluence Agent** | Documentation | Search pages, summarize docs, create/update pages, manage spaces | [View Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) | +| **Jira Agent** | Issue Management | Search issues, create stories, sprint planning, status updates, bulk operations | [View Agent](https://continue.dev/continuedev/atlassian-continuous-ai-jira-agent) | +| **Confluence Agent** | Documentation | Search pages, summarize docs, create/update pages, manage spaces | [View Agent](https://continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) | - **Cross-product workflows**: Both agents can work with Jira, Confluence, and Compass. Choose based on your primary focus area, or create your own agent using the [Atlassian MCP](https://hub.continue.dev/atlassian/atlassian-mcp). The Atlassian MCP can work with Jira, Compass, or Confluence. + **Cross-product workflows**: Both agents can work with Jira, Confluence, and Compass. Choose based on your primary focus area, or create your own agent using the [Atlassian MCP](https://continue.dev/atlassian/atlassian-mcp). The Atlassian MCP can work with Jira, Compass, or Confluence. - 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: + Visit the [Atlassian Continuous AI - Jira Agent](https://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 @@ -106,7 +106,7 @@ For all options, first: - 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: + Visit the [Atlassian Continuous AI - Confluence Agent](https://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 @@ -140,7 +140,7 @@ For all options, first: - Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Mission Control](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). @@ -189,7 +189,7 @@ For all options, first: ## Jira Workflows - **Using the Jira Agent**: All examples below use the [Jira Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-jira-agent) which is optimized for issue management. + **Using the Jira Agent**: All examples below use the [Jira Agent](https://continue.dev/continuedev/atlassian-continuous-ai-jira-agent) which is optimized for issue management. Use natural language to explore, triage, and manage Jira issues. The agent calls Atlassian MCP tools under the hood. @@ -263,7 +263,7 @@ Use natural language to explore, triage, and manage Jira issues. The agent calls ## Confluence Workflows - **Using the Confluence Agent**: All examples below use the [Confluence Agent](https://hub.continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) which is optimized for documentation management. + **Using the Confluence Agent**: All examples below use the [Confluence Agent](https://continue.dev/continuedev/atlassian-continuous-ai-confluence-agent) which is optimized for documentation management. Access, search, and manage your team's documentation directly from Continue. @@ -495,7 +495,7 @@ After completing this guide, you have a complete **AI-powered Atlassian workflow How MCP works with Continue agents - + Create and manage your agents diff --git a/docs/guides/chrome-devtools-mcp-performance.mdx b/docs/guides/chrome-devtools-mcp-performance.mdx index d63e7c5d0..d0cab65cb 100644 --- a/docs/guides/chrome-devtools-mcp-performance.mdx +++ b/docs/guides/chrome-devtools-mcp-performance.mdx @@ -37,7 +37,7 @@ This cookbook teaches you to: - Web project with a running development server (or deployed URL) - Node.js 20+ installed - [Continue CLI](https://docs.continue.dev/guides/cli) (`npm i -g @continuedev/cli`) -- [Chrome DevTools MCP](https://hub.continue.dev) configured +- [Chrome DevTools MCP](https://continue.dev) configured ## Quick Setup @@ -65,7 +65,7 @@ After completing **Quick Setup** above, you have two paths to get started: - 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: + Visit the [Chrome Dev Tools Agent](https://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 @@ -74,7 +74,7 @@ After completing **Quick Setup** above, you have two paths to get started: This agent includes: - **Optimized prompts** for performance analysis and debugging - **Built-in rules** for consistent formatting and error handling - - **[Chrome DevTools MCP](https://hub.continue.dev/google/chrome-devtools-mcp)** for reliable browser automation + - **[Chrome DevTools MCP](https://continue.dev/google/chrome-devtools-mcp)** for reliable browser automation @@ -96,7 +96,7 @@ After completing **Quick Setup** above, you have two paths to get started: - 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: + Visit the [Chrome DevTools MCP](https://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 @@ -398,7 +398,7 @@ This example demonstrates a **Continuous AI workflow** where performance validat Navigate to **Repository Settings → Secrets and variables → Actions** and add: -- `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) ### Create Workflow File @@ -786,7 +786,7 @@ Set up automated regression detection: Official Chrome DevTools MCP repository - + Explore more MCP integrations diff --git a/docs/guides/cli.mdx b/docs/guides/cli.mdx index 3e00ec6c0..3091832c3 100644 --- a/docs/guides/cli.mdx +++ b/docs/guides/cli.mdx @@ -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 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. +`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://continue.dev/nate/spanish) to always speak in Spanish. ### How to Configure Tools @@ -87,12 +87,12 @@ cn --exclude Fetch ## API Key Authentication -For automation in CI or other headless environments, you can use an API key to authenticate with Continue. First, obtain your personal API key [here](https://hub.continue.dev/settings/api-keys). Then, set it as the `CONTINUE_API_KEY` environment variable. You can now use `cn -p` (headless mode) without needing to log in. +For automation in CI or other headless environments, you can use an API key to authenticate with Continue. First, obtain your personal API key [here](https://continue.dev/settings/api-keys). Then, set it as the `CONTINUE_API_KEY` environment variable. You can now use `cn -p` (headless mode) without needing to log in. -If you wish to run an automation on behalf of your organization you can obtain an organization-scoped API key by going to [your organization's settings](https://hub.continue.dev/settings/organizations) -> API Keys. +If you wish to run an automation on behalf of your organization you can obtain an organization-scoped API key by going to [your organization's settings](https://continue.dev/settings/organizations) -> API Keys. ## Troubleshooting Run `cn` with the `--verbose` flag to see more detailed logs. These will be output to `~/.continue/logs/cn.log`. -If you have feedback on the beta, please [share in our Discord](https://discord.com/invite/EfJEfdFnDQ) or [leave feedback in the GitHub discussion](https://github.com/continuedev/continue/discussions/7307). +If you have feedback on the beta, please [leave feedback in the GitHub discussion](https://github.com/continuedev/continue/discussions/7307). diff --git a/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx b/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx index be4322f86..9d0d9fc7e 100644 --- a/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx +++ b/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx @@ -57,7 +57,7 @@ Snyk tells you *what* to upgrade. The Cloud Agent does the *engineering work* to ## What Does the Cloud Agent Do? -A [Snyk remediation cloud agent](https://hub.continue.dev/integrations/snyk) owns the *handling* of security issues, but not the final decision. +A [Snyk remediation cloud agent](https://continue.dev/integrations/snyk) owns the *handling* of security issues, but not the final decision. @@ -266,7 +266,7 @@ Once this is working, teams often expand into: More information on the Continue Snyk Integration and how you can get started today. - + Get started by adding the Snyk integration to your projects diff --git a/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx b/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx index 88b540e5a..da71c5c7e 100644 --- a/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx +++ b/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx @@ -113,13 +113,13 @@ sequenceDiagram ## Where to Go Next - + Browse ready-to-use AI agents in Continue Mission Control. - + Get started with Continue Mission Control. diff --git a/docs/guides/cloud-agents/guide-to-cloud-agents.mdx b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx index e1f530205..aacf8aefa 100644 --- a/docs/guides/cloud-agents/guide-to-cloud-agents.mdx +++ b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx @@ -93,7 +93,7 @@ The defining feature of a Cloud Agent isn't just *automation*; it is **availabil - A "[Security Agent](https://hub.continue.dev/integrations/snyk)" automatically opens PRs for Snyk issues with high and critical security vulnerabilities and implements the fixes. + A "[Security Agent](https://continue.dev/integrations/snyk)" automatically opens PRs for Snyk issues with high and critical security vulnerabilities and implements the fixes. @@ -132,7 +132,7 @@ The distinction between running an agent locally (TUI/IDE) and in the cloud (Mis - **Local Agents:** Limited to open files and local git state - - **Cloud Agents:** Full repository access + [integrated tools](https://hub.continue.dev/integrations) (Sentry, Snyk, Linear, etc.) + - **Cloud Agents:** Full repository access + [integrated tools](https://continue.dev/integrations) (Sentry, Snyk, Linear, etc.) Cloud Agents can access your entire engineering ecosystem, not just what's visible in your IDE. @@ -162,7 +162,7 @@ The distinction between running an agent locally (TUI/IDE) and in the cloud (Mis Ready to build your first Cloud Agent? Check out these resources: - + Browse ready-to-use AI agents in Continue Mission Control. @@ -180,7 +180,7 @@ Ready to build your first Cloud Agent? Check out these resources: - + Get started with Continue Mission Control. diff --git a/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx b/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx index 28caf7a0a..6c8fabcda 100644 --- a/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx +++ b/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx @@ -80,10 +80,10 @@ If you’re unsure, start with a one-off [task](../../mission-control/tasks) and ## Where to Go Next - + Customize an agent for your team in minutes. - + Explore pre-built integrations for common tools and workflows. \ No newline at end of file diff --git a/docs/guides/codebase-documentation-awareness.mdx b/docs/guides/codebase-documentation-awareness.mdx index 4a73a44f0..ccac285f2 100644 --- a/docs/guides/codebase-documentation-awareness.mdx +++ b/docs/guides/codebase-documentation-awareness.mdx @@ -87,7 +87,7 @@ You can use the `gh` CLI to: #### DeepWiki MCP -[DeepWiki MCP](https://hub.continue.dev/deepwiki/deepwiki-mcp) lets agent mode explore any public GitHub repository. +[DeepWiki MCP](https://continue.dev/deepwiki/deepwiki-mcp) lets agent mode explore any public GitHub repository. Once configured, agent mode can explore repositories like: @@ -130,7 +130,7 @@ Always cite documentation when explaining concepts. #### Context7 MCP -[Context7 MCP](https://hub.continue.dev/upstash/context7-mcp) enables agent mode to search and retrieve information from public documentation: +[Context7 MCP](https://continue.dev/upstash/context7-mcp) enables agent mode to search and retrieve information from public documentation: Agent mode can then answer questions like: diff --git a/docs/guides/configuring-models-rules-tools.mdx b/docs/guides/configuring-models-rules-tools.mdx index b3354b73a..4d2c6ae27 100644 --- a/docs/guides/configuring-models-rules-tools.mdx +++ b/docs/guides/configuring-models-rules-tools.mdx @@ -54,7 +54,7 @@ Perfect for project-specific setups like TypeScript rules for web apps or the Pl Continue hub uses a slug in the format of `owner/item-name` to resolve blocks. -For example, to use the [Claude 4 Sonnet model](https://hub.continue.dev/anthropic/claude-4-sonnet), you'd reference it as `anthropic/claude-4-sonnet`. +For example, to use the [Claude 4 Sonnet model](https://continue.dev/anthropic/claude-4-sonnet), you'd reference it as `anthropic/claude-4-sonnet`. Import from Mission Control using the `uses` syntax alongside your custom configurations: @@ -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 Mission Control](https://hub.continue.dev)**: Browse community models, rules, and tools +- **[Continue Mission Control](https://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 diff --git a/docs/guides/continue-docs-mcp-cookbook.mdx b/docs/guides/continue-docs-mcp-cookbook.mdx index e58d9c3e1..f9eb1909f 100644 --- a/docs/guides/continue-docs-mcp-cookbook.mdx +++ b/docs/guides/continue-docs-mcp-cookbook.mdx @@ -24,7 +24,7 @@ Before starting, ensure you have: ## Continue Docs MCP Setup - Use the pre-built [Docs Assistant - Mintlify agent](https://hub.continue.dev/continuedev/docs-mintlify) that includes the Continue Docs MCP and is ready to use immediately. + Use the pre-built [Docs Assistant - Mintlify agent](https://continue.dev/continuedev/docs-mintlify) that includes the Continue Docs MCP and is ready to use immediately. @@ -42,8 +42,8 @@ Before starting, ensure you have: If you want to customize, create your own agent and add: - 1. [Continue Docs MCP](https://hub.continue.dev/continuedev/continue-docs-mcp) - 2. [Mintlify Technical Writing Rule](https://hub.continue.dev/mintlify/technical-writing-rule) + 1. [Continue Docs MCP](https://continue.dev/continuedev/continue-docs-mcp) + 2. [Mintlify Technical Writing Rule](https://continue.dev/mintlify/technical-writing-rule) See the [CONTRIBUTING guide](/CONTRIBUTING#option-2-create-your-own-custom-agent) for details. @@ -479,7 +479,7 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy: - Share your docs MCP on [Continue Mission Control](https://hub.continue.dev/new?type=mcp) so others can use it with Continue agents. + Share your docs MCP on [Continue Mission Control](https://continue.dev/new?type=mcp) so others can use it with Continue agents. @@ -516,7 +516,6 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy: - [Mintlify Documentation](https://mintlify.com/docs) ### Community -- [Continue Discord](https://discord.gg/continue) - #documentation channel - [GitHub Discussions](https://github.com/continuedev/continue/discussions) --- @@ -528,7 +527,7 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy: Set up your environment - + Install pre-built agent @@ -536,7 +535,7 @@ Want to create documentation MCPs for your own projects? Mintlify makes it easy: See cookbook examples - + Get help from community diff --git a/docs/guides/dlt-mcp-continue-cookbook.mdx b/docs/guides/dlt-mcp-continue-cookbook.mdx index b6f6e9d3d..aa0a22ce5 100644 --- a/docs/guides/dlt-mcp-continue-cookbook.mdx +++ b/docs/guides/dlt-mcp-continue-cookbook.mdx @@ -34,13 +34,13 @@ For all options, first: - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys). + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). ## dlt MCP Workflow Options - Skip the manual setup and use our pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) that includes + Skip the manual setup and use our pre-built [dlt Agent](https://continue.dev/continuedev/dlt-agent) that includes the dlt MCP and optimized data pipeline workflows for more consistent results. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize it for your specific needs. @@ -73,7 +73,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - **Why Use the Agent?** The pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) provides consistent pipeline development workflows and handles MCP configuration automatically, making it easier to get started with AI-powered data engineering. You can [remix and customize this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) later to fit your team's specific workflow. + **Why Use the Agent?** The pre-built [dlt Agent](https://continue.dev/continuedev/dlt-agent) provides consistent pipeline development workflows and handles MCP configuration automatically, making it easier to get started with AI-powered data engineering. You can [remix and customize this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) later to fit your team's specific workflow. @@ -81,11 +81,11 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Mission Control](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). - 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. + Visit the [dlt MCP on Continue Mission Control](https://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 Mission Control listing automatically configures the MCP command. @@ -117,7 +117,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - To use the pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent), you need either: + To use the pre-built [dlt Agent](https://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 Mission Control secrets (same as manual setup) @@ -136,13 +136,13 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Query dataset records from destination databases - Analyze load errors, timings, and file sizes - **[dlt+ MCP](https://hub.continue.dev/dlthub/dlt-plus-mcp)** extends these capabilities with cloud-based features for production deployments: + **[dlt+ MCP](https://continue.dev/dlthub/dlt-plus-mcp)** extends these capabilities with cloud-based features for production deployments: - Connect to dlt+ Projects and manage deployments - Monitor pipeline runs across multiple environments - Access centralized logging and observability - Collaborate with team members on pipeline development - For local development and getting started, **[dlt MCP](https://hub.continue.dev/dlthub/dlt-mcp)** is the right choice. Consider **[dlt+ MCP](https://hub.continue.dev/dlthub/dlt-plus-mcp)** when you need production deployment features and team collaboration. + For local development and getting started, **[dlt MCP](https://continue.dev/dlthub/dlt-mcp)** is the right choice. Consider **[dlt+ MCP](https://continue.dev/dlthub/dlt-plus-mcp)** when you need production deployment features and team collaboration. --- @@ -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. -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. +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://continue.dev), click **Edit**, and add prompts under the **Prompts** section. @@ -255,17 +255,17 @@ Show me what columns were added or modified. ## Continuous Data Pipelines with GitHub Actions - This example demonstrates a **Continuous AI workflow** where data pipeline validation runs automatically in your CI/CD pipeline in headless mode using the [dlt Assistant agent](https://hub.continue.dev/dlthub/dlt-assistant). Consider [remixing this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to add your organization's specific validation rules. + This example demonstrates a **Continuous AI workflow** where data pipeline validation runs automatically in your CI/CD pipeline in headless mode using the [dlt Assistant agent](https://continue.dev/dlthub/dlt-assistant). Consider [remixing this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to add your organization's specific validation rules. ### Add GitHub Secrets Navigate to **Repository Settings → Secrets and variables → Actions** and add: -- `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - Any required database credentials for your destination - The workflow uses the pre-built [dlt Agent](https://hub.continue.dev/continuedev/dlt-agent) with `--agent continuedev/dlt-agent`. This agent comes pre-configured with the dlt MCP and optimized rules for pipeline operations. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize the validation rules and prompts for your specific pipeline requirements. + The workflow uses the pre-built [dlt Agent](https://continue.dev/continuedev/dlt-agent) with `--agent continuedev/dlt-agent`. This agent comes pre-configured with the dlt MCP and optimized rules for pipeline operations. You can [remix this agent](/guides/understanding-configs#how-to-get-started-with-hub-configs) to customize the validation rules and prompts for your specific pipeline requirements. ### Create Workflow File @@ -400,7 +400,7 @@ Test the connection and report any issues." **Verification Steps:** - - dlt MCP is installed via [Continue Mission Control](https://hub.continue.dev/dlthub/dlt-mcp) + - dlt MCP is installed via [Continue Mission Control](https://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 Complete dlt platform documentation - + Explore more MCP integrations and agents - Get your API key from [Continue Mission Control](https://hub.continue.dev/settings/api-keys) and set: + Get your API key from [Continue Mission Control](https://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. - + Browse pre-built agents and configurations from the Continue community. diff --git a/docs/guides/github-mcp-continue-cookbook.mdx b/docs/guides/github-mcp-continue-cookbook.mdx index feac2bea1..d044a09a0 100644 --- a/docs/guides/github-mcp-continue-cookbook.mdx +++ b/docs/guides/github-mcp-continue-cookbook.mdx @@ -33,12 +33,12 @@ For all options, first: - Add your `GITHUB_TOKEN` to your [Continue Mission Control agent's environment variables](https://hub.continue.dev/settings). + Add your `GITHUB_TOKEN` to your [Continue Mission Control agent's environment variables](https://continue.dev/settings). - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys). + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). For write actions (e.g., posting comments), your token must include the relevant GitHub scopes. @@ -54,7 +54,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - 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. + Visit the [GitHub Project Manager Agent](https://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. @@ -76,7 +76,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Mission Control](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). @@ -242,7 +242,7 @@ Run headless commands on a schedule or in PRs to keep teams informed. Repository Settings → Secrets and variables → Actions: -- `CONTINUE_API_KEY`: From [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: From [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - `GITHUB_TOKEN`: A token with permissions to read issues/PRs and post comments ### Example Workflow @@ -331,13 +331,13 @@ After completing this guide, you have a complete **AI-powered GitHub workflow sy ## Additional Resources - + Anthropic GitHub MCP on Continue Mission Control How MCP works with Continue agents - + Pre-configured agent on Continue Mission Control diff --git a/docs/guides/github-pr-review-bot.mdx b/docs/guides/github-pr-review-bot.mdx index f4e853d25..89626a3b0 100644 --- a/docs/guides/github-pr-review-bot.mdx +++ b/docs/guides/github-pr-review-bot.mdx @@ -39,13 +39,13 @@ Before starting, ensure you have: - A GitHub repository with pull requests - Continue account with **Hub access** - Read: [Understanding Configs](/guides/understanding-configs) -- A Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- A Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - Continue assistant configured for code reviews (or use our recommended default) **Want to customize the review bot?** - You can remix the default review bot configuration at [hub.continue.dev/continuedev/review-bot](https://hub.continue.dev/continuedev/review-bot) to create your own personalized version with custom prompts, rules, and behaviors. + You can remix the default review bot configuration at [continue.dev/continuedev/review-bot](https://continue.dev/continuedev/review-bot) to create your own personalized version with custom prompts, rules, and behaviors. ## Quick Setup (10 Minutes) @@ -57,7 +57,7 @@ Before starting, ensure you have: Navigate to your repository settings: **Settings → Secrets and variables → Actions** **Required Secrets:** - - `CONTINUE_API_KEY` - Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) + - `CONTINUE_API_KEY` - Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) **Optional (for better permissions):** - **Variables** tab: `APP_ID` - GitHub App ID (for enhanced API rate limits) @@ -494,7 +494,7 @@ After completing this setup, you have an **AI-powered code review system** that: Learn more about Continue CLI capabilities - + Browse shared configs and create your own diff --git a/docs/guides/instinct.mdx b/docs/guides/instinct.mdx index ac933c33c..b05e6bbb6 100644 --- a/docs/guides/instinct.mdx +++ b/docs/guides/instinct.mdx @@ -36,4 +36,4 @@ models: - uses: continuedev/instinct ``` -Alternatively, you can just click to add the block at https://hub.continue.dev/continuedev/instinct. +Alternatively, you can just click to add the block at https://continue.dev/continuedev/instinct. diff --git a/docs/guides/klavis-mcp-continue-cookbook.mdx b/docs/guides/klavis-mcp-continue-cookbook.mdx index d53d796a0..b0722bd27 100644 --- a/docs/guides/klavis-mcp-continue-cookbook.mdx +++ b/docs/guides/klavis-mcp-continue-cookbook.mdx @@ -17,7 +17,7 @@ Before starting, ensure you have: - OAuth authentication completed in Klavis dashboard for Slack and Gmail (see [Klavis integrations guide](https://www.klavis.ai/integrations)) - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys). + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). Klavis AI Strata requires proper OAuth authentication for each service integration. @@ -42,7 +42,7 @@ For all options, first: - Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Hub](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). @@ -588,7 +588,7 @@ After completing this guide, you have a complete **AI-powered communication auto Learn how MCP works with Continue agents - + Create and manage your Continue agents \ No newline at end of file diff --git a/docs/guides/netlify-mcp-continuous-deployment.mdx b/docs/guides/netlify-mcp-continuous-deployment.mdx index 11318a8da..affea00f4 100644 --- a/docs/guides/netlify-mcp-continuous-deployment.mdx +++ b/docs/guides/netlify-mcp-continuous-deployment.mdx @@ -45,8 +45,8 @@ This cookbook teaches you to: - [Netlify account](https://netlify.com) (free tier works) - Node.js 22+ installed (required for Netlify) - [Continue CLI](https://docs.continue.dev/guides/cli) (`npm i -g @continuedev/cli`) -- [Netlify MCP](https://hub.continue.dev/netlify/netlify-mcp) configured -- [Netlify Development Rules](https://hub.continue.dev/netlify/netlify-development) (recommended) +- [Netlify MCP](https://continue.dev/netlify/netlify-mcp) configured +- [Netlify Development Rules](https://continue.dev/netlify/netlify-development) (recommended) ## Quick Setup @@ -88,7 +88,7 @@ After completing **Quick Setup** above, you have two paths to get started: - 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: + Visit the [Netlify Continuous AI Agent](https://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 @@ -126,13 +126,13 @@ After completing **Quick Setup** above, you have two paths to get started: 1. Authenticate with Netlify: `netlify login` 2. Visit [Netlify MCP on Continue - Hub](https://hub.continue.dev/netlify/netlify-mcp) + Hub](https://continue.dev/netlify/netlify-mcp) 3. Follow the configuration instructions for your editor - Install the [Netlify Development Rules](https://hub.continue.dev/netlify/netlify-development) bundle for best practices: + Install the [Netlify Development Rules](https://continue.dev/netlify/netlify-development) bundle for best practices: 1. Visit the bundle page on Continue Mission Control 2. Click **"Install Rules"** @@ -465,7 +465,7 @@ Unlike Google Analytics, Netlify Analytics: Navigate to **Repository Settings → Secrets and variables → Actions** and add: -- `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - `NETLIFY_AUTH_TOKEN`: Your Netlify personal access token - `NETLIFY_SITE_ID`: Your Netlify site ID @@ -711,14 +711,14 @@ The Netlify Performance Rules enforce: ## Next Steps -- Install [Netlify MCP](https://hub.continue.dev/netlify/netlify-mcp) from Continue Mission Control +- Install [Netlify MCP](https://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 +- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support ## Resources -- [Netlify MCP on Continue Mission Control](https://hub.continue.dev/netlify/netlify-mcp) +- [Netlify MCP on Continue Mission Control](https://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) diff --git a/docs/guides/notion-continue-guide.mdx b/docs/guides/notion-continue-guide.mdx index 473e22732..6d348de12 100644 --- a/docs/guides/notion-continue-guide.mdx +++ b/docs/guides/notion-continue-guide.mdx @@ -28,12 +28,12 @@ Before starting, ensure you have: - [Continue CLI](https://docs.continue.dev/cli/overview) installed (`npm i -g @continuedev/cli`) - A [Notion workspace](https://notion.so) with Editor (or higher) access - Node.js 18+ installed locally -- [Continue account](https://hub.continue.dev) with **Hub access** +- [Continue account](https://continue.dev) with **Hub access** **Agent usage requires credits** – create a Continue API key at - [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) + [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) and store it as a secret. @@ -289,7 +289,7 @@ With the Notion API configured, you can use natural language prompts to automate - Requires GitHub repository access. To add GitHub access, update your [integration settings](https://hub.continue.dev/settings/integrations). + Requires GitHub repository access. To add GitHub access, update your [integration settings](https://continue.dev/settings/integrations). diff --git a/docs/guides/ollama-guide.mdx b/docs/guides/ollama-guide.mdx index 200ebbdf3..f82923a58 100644 --- a/docs/guides/ollama-guide.mdx +++ b/docs/guides/ollama-guide.mdx @@ -101,7 +101,7 @@ models: 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 block expects (view on hub.continue.dev) + # Check what the block expects (view on continue.dev) # Then pull that exact model tag locally ollama pull deepseek-r1:32b # Required for ollama/deepseek-r1-32b hub block ``` diff --git a/docs/guides/posthog-github-continuous-ai.mdx b/docs/guides/posthog-github-continuous-ai.mdx index 1df960ba0..e5e3b1bf0 100644 --- a/docs/guides/posthog-github-continuous-ai.mdx +++ b/docs/guides/posthog-github-continuous-ai.mdx @@ -42,7 +42,7 @@ Before starting, ensure you have: - 1. Visit [Continue Organizations](https://hub.continue.dev/settings/organizations) + 1. Visit [Continue Organizations](https://continue.dev/settings/organizations) 2. Sign up or log in to your Continue account 3. Navigate to your organization settings 4. Click **"API Keys"** and then **"+ New API Key"** @@ -106,7 +106,7 @@ See the [secret types documentation](/mission-control/secrets/secret-types) for 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 Mission Control](https://hub.continue.dev) +1. Go to the [Continue Mission Control](https://continue.dev) 2. Sign in to your account 3. Navigate to your user settings 4. Look for the "Secrets" section @@ -140,7 +140,7 @@ You only need to configure the PostHog MCP credential - it automatically handles - 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: + Visit the [PostHog Continuous AI Agent](https://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,12 +171,12 @@ You only need to configure the PostHog MCP credential - it automatically handles - First, install the [PostHog MCP](https://hub.continue.dev/posthog/http-mcp) to the Continue CLI by + First, install the [PostHog MCP](https://continue.dev/posthog/http-mcp) to the Continue CLI by 1. Adding it to a Hub Config by clicking "Use MCP Server" and selecting a Config 2. Adding it to your [Local Config](/reference#mcpservers) - Visit [PostHog GitHub Continuous AI Rules](https://hub.continue.dev/bekah-hawrot-weigel/posthog-github-continuous-ai-rules) and click "Use Rule" to add it to your Config. + Visit [PostHog GitHub Continuous AI Rules](https://continue.dev/bekah-hawrot-weigel/posthog-github-continuous-ai-rules) and click "Use Rule" to add it to your Config. You could also 1. Pass `--rule bekah-hawrot-weigel/posthog-github-continuous-ai-rules` to `cn` OR @@ -351,10 +351,10 @@ Consider enhancing your workflow with these advanced Continue CLI prompts: ## Next Steps -- Consider [GitHub MCP](https://hub.continue.dev/github/github-mcp) as an alternative (note: can be token-expensive) -- Configure [Slack MCP](https://hub.continue.dev/slack/slack-mcp) for alerts +- Consider [GitHub MCP](https://continue.dev/github/github-mcp) as an alternative (note: can be token-expensive) +- Configure [Slack MCP](https://continue.dev/slack/slack-mcp) for alerts - Set up [PostHog performance monitoring](https://posthog.com/docs/web-analytics) -- Join the [Continue Discord](https://discord.gg/continue) for support +- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support ## Resources @@ -364,6 +364,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 Mission Control](https://hub.continue.dev/github/github-mcp) (alternative option) +- [GitHub MCP on Continue Mission Control](https://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/) diff --git a/docs/guides/run-agents-locally.mdx b/docs/guides/run-agents-locally.mdx index 444ba7ff7..82a6ed7bd 100644 --- a/docs/guides/run-agents-locally.mdx +++ b/docs/guides/run-agents-locally.mdx @@ -91,7 +91,7 @@ Agent files are markdown documents with YAML frontmatter. The frontmatter config The markdown body is the agent's system prompt. Write clear, specific instructions with examples for best results. -For additional options like `rules`, `model`, and MCP tool configuration, see the [Agent Configuration Reference](/agents/agent-file-reference). +For additional options like `rules`, `model`, and MCP tool configuration, see the [Create & Edit Agents](/agents/create-and-edit) guide. ## Example: Conventional PR Title Agent diff --git a/docs/guides/sanity-mcp-continue-cookbook.mdx b/docs/guides/sanity-mcp-continue-cookbook.mdx index 864c00d1d..e1bcc3bf9 100644 --- a/docs/guides/sanity-mcp-continue-cookbook.mdx +++ b/docs/guides/sanity-mcp-continue-cookbook.mdx @@ -34,7 +34,7 @@ For all options, first: - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys) and proper environment variable configuration. + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys) and proper environment variable configuration. ## Getting Started with Sanity @@ -72,14 +72,14 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Visit the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) on Continue Mission Control and click **"Install Config"** or run: + Visit the [Sanity Assistant Agent](https://continue.dev/continuedev/sanity-assistant-agent) on Continue Mission Control and click **"Install Config"** or run: ```bash cn --agent continuedev/sanity-assistant-agent ``` This agent includes: - - **[Sanity MCP](https://hub.continue.dev/sanity/sanity-mcp)** pre-configured and ready to use + - **[Sanity MCP](https://continue.dev/sanity/sanity-mcp)** pre-configured and ready to use - **Content management rules** for best practices - **Schema optimization** guidelines @@ -103,7 +103,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - **Why Use the Agent?** The pre-built Sanity Assistant agent provides consistent content management workflows and handles MCP configuration automatically, making it easier to get started with AI-powered CMS operations. Results are more consistent and debugging is easier thanks to the [Sanity MCP](https://hub.continue.dev/sanity/sanity-mcp) integration and pre-tested prompts. + **Why Use the Agent?** The pre-built Sanity Assistant agent provides consistent content management workflows and handles MCP configuration automatically, making it easier to get started with AI-powered CMS operations. Results are more consistent and debugging is easier thanks to the [Sanity MCP](https://continue.dev/sanity/sanity-mcp) integration and pre-tested prompts. @@ -111,18 +111,18 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Mission Control](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). - 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. + Visit the [Sanity MCP on Continue Mission Control](https://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 Mission Control listing automatically configures the MCP connection. **Alternative installation methods:** 1. **Quick CLI install**: `cn --mcp sanity/sanity-mcp` - 2. **With config**: Use [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config) for environment variable setup + 2. **With config**: Use [Sanity MCP Config](https://continue.dev/sanity/sanity-mcp-config) for environment variable setup 3. **Manual configuration**: Add the MCP to your agent configuration Once installed, Sanity MCP tools become available to your Continue agent for all prompts. @@ -133,7 +133,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - **Interactive mode**: OAuth authentication via browser (expires after 7 days) - **Headless/CI mode**: Uses environment variables (SANITY_API_TOKEN, SANITY_PROJECT_ID, etc.) - See [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config) for environment variable setup. + See [Sanity MCP Config](https://continue.dev/sanity/sanity-mcp-config) for environment variable setup. @@ -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. -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. +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://continue.dev), click **Edit**, and add prompts under the **Prompts** section. @@ -354,14 +354,14 @@ suggest optimizations to improve response times. Navigate to **Repository Settings → Secrets and variables → Actions** and add: -- `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - `SANITY_PROJECT_ID`: Your Sanity project ID - `SANITY_DATASET`: Your Sanity dataset name (usually "production") - `SANITY_API_TOKEN`: Your Sanity API token with appropriate permissions - `MCP_USER_ROLE`: Your MCP user role (typically "admin" or "editor") - The workflow uses the [Sanity Assistant Agent](https://hub.continue.dev/continuedev/sanity-assistant-agent) with environment variable authentication via [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config). This enables headless mode operation without OAuth browser authentication. + The workflow uses the [Sanity Assistant Agent](https://continue.dev/continuedev/sanity-assistant-agent) with environment variable authentication via [Sanity MCP Config](https://continue.dev/sanity/sanity-mcp-config). This enables headless mode operation without OAuth browser authentication. ### Create Workflow File @@ -447,7 +447,7 @@ jobs: ``` - Environment variables enable the MCP to authenticate without OAuth browser prompts. The [Sanity MCP Config](https://hub.continue.dev/sanity/sanity-mcp-config) documentation provides detailed setup instructions for all required variables. + Environment variables enable the MCP to authenticate without OAuth browser prompts. The [Sanity MCP Config](https://continue.dev/sanity/sanity-mcp-config) documentation provides detailed setup instructions for all required variables. ## Content Management Best Practices @@ -509,7 +509,7 @@ then provide a corrected version that achieves the intended result." **Verification Steps:** - - Sanity MCP is installed via [Continue Mission Control](https://hub.continue.dev/sanity/sanity-mcp) + - Sanity MCP is installed via [Continue Mission Control](https://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 Complete Sanity platform documentation - + Explore more MCP integrations and agents - 1. Visit [Continue Organizations](https://hub.continue.dev/settings/organizations) + 1. Visit [Continue Organizations](https://continue.dev/settings/organizations) 2. Sign up or log in to your Continue account 3. Navigate to your organization settings 4. Click **"API Keys"** and then **"+ New API Key"** @@ -156,7 +156,7 @@ First, you'll need to gather your Sentry and GitHub API credentials. - Visit the [Sentry Continuous AI Agent](https://hub.continue.dev/continuedev/sentry-continuous-ai-agent) on Continue Mission Control and click **"Install Agent"** or run: + Visit the [Sentry Continuous AI Agent](https://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 @@ -442,7 +442,7 @@ jobs: **Required GitHub Secrets**: - - `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) + - `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - `SENTRY_AUTH_TOKEN`: Your Sentry User Auth Token (needs scopes: `org:read`, `project:read`, `project:releases`, `event:read`) - `SENTRY_ORG`: Your Sentry organization slug - `SENTRY_PROJECT`: Your Sentry project slug @@ -539,8 +539,8 @@ See the [Sentry MCP GitHub Issues](https://github.com/getsentry/sentry-mcp/issue - Set up [Sentry performance monitoring](https://docs.sentry.io/product/performance/) - Configure [Sentry release tracking](https://docs.sentry.io/product/releases/) for deployment correlation -- Integrate [Slack MCP](https://hub.continue.dev/slack/slack-mcp) for error alerts -- Join the [Continue Discord](https://discord.gg/continue) for support +- Integrate [Slack MCP](https://continue.dev/slack/slack-mcp) for error alerts +- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support ## Resources diff --git a/docs/guides/snyk-mcp-continue-cookbook.mdx b/docs/guides/snyk-mcp-continue-cookbook.mdx index 284a9eb12..592fe6a22 100644 --- a/docs/guides/snyk-mcp-continue-cookbook.mdx +++ b/docs/guides/snyk-mcp-continue-cookbook.mdx @@ -76,7 +76,7 @@ For all options, first: **Important**: The Snyk MCP requires the Snyk CLI to be authenticated locally. Run `snyk auth` to authenticate before using the Continue agent with Snyk MCP. - To use agents in headless mode, you need a [Continue API key](https://hub.continue.dev/settings/api-keys). + To use agents in headless mode, you need a [Continue API key](https://continue.dev/settings/api-keys). ## Snyk Continuous AI Workflow Options @@ -123,11 +123,11 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). + Go to the [Continue Mission Control](https://continue.dev) and [create a new agent](https://continue.dev/agents/new). - 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. + Visit the [Snyk Continuous AI Agent](https://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 Mission Control listing automatically configures the MCP command: ```bash @@ -150,7 +150,7 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s - Install the [Snyk Secure-at-Inception rules](https://hub.continue.dev/snyk/secure-at-inception) from Mission Control to enable automatic security scanning. + Install the [Snyk Secure-at-Inception rules](https://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** @@ -192,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. -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. +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://continue.dev), click **Edit**, and add prompts under the **Prompts** section. @@ -332,7 +332,7 @@ This example demonstrates a **Continuous AI workflow** where security scanning r Navigate to **Repository Settings → Secrets and variables → Actions** and add: -- `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) +- `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) - `SNYK_TOKEN`: Your Snyk authentication token from [app.snyk.io/account](https://app.snyk.io/account) ### Create Workflow File @@ -670,8 +670,8 @@ then rerun the same Snyk scan to confirm resolution." **Verification Steps:** - Snyk MCP is installed via [Continue - Hub](https://hub.continue.dev/snyk/snyk-mcp) - Secure-at-Inception rules are - [enabled](https://hub.continue.dev/snyk/secure-at-inception) - Authentication + Hub](https://continue.dev/snyk/snyk-mcp) - Secure-at-Inception rules are + [enabled](https://continue.dev/snyk/secure-at-inception) - Authentication completed successfully - Project folder has been trusted @@ -705,7 +705,7 @@ After completing this guide, you have a complete **AI-powered security system** Complete Snyk platform documentation - + Explore more MCP integrations and agents - 1. Visit [Continue Organizations](https://hub.continue.dev/settings/organizations) + 1. Visit [Continue Organizations](https://continue.dev/settings/organizations) 2. Sign up or log in to your Continue account 3. Navigate to your organization settings 4. Click **"API Keys"** and then **"+ New API Key"** @@ -140,7 +140,7 @@ First, you'll need to set up access to your Supabase project. - Visit the [Supabase Agent](https://hub.continue.dev/continuedev/supabase-agent) on Continue Mission Control and click **"Install Agent"** or run: + Visit the [Supabase Agent](https://continue.dev/continuedev/supabase-agent) on Continue Mission Control and click **"Install Agent"** or run: ```bash cn --agent continuedev/supabase-agent @@ -425,7 +425,7 @@ jobs: **Required GitHub Secrets**: - - `CONTINUE_API_KEY`: Your Continue API key from [hub.continue.dev/settings/api-keys](https://hub.continue.dev/settings/api-keys) + - `CONTINUE_API_KEY`: Your Continue API key from [continue.dev/settings/api-keys](https://continue.dev/settings/api-keys) Add this at: **Repository Settings → Secrets and variables → Actions** @@ -500,7 +500,7 @@ If you encounter connection issues: - Set up [Supabase Edge Functions](https://supabase.com/docs/guides/functions) for automated workflows - Configure [Supabase Realtime](https://supabase.com/docs/guides/realtime) for live data monitoring - Implement [Database Webhooks](https://supabase.com/docs/guides/database/webhooks) for event-driven automation -- Join the [Continue Discord](https://discord.gg/continue) for support +- Join the [GitHub Discussions](https://github.com/continuedev/continue/discussions) for support ## Resources diff --git a/docs/guides/understanding-configs.mdx b/docs/guides/understanding-configs.mdx index c4133227d..6f1a4517b 100644 --- a/docs/guides/understanding-configs.mdx +++ b/docs/guides/understanding-configs.mdx @@ -41,7 +41,7 @@ Hub Configurations represent the "it just works" philosophy. When you [sign in t **The Power of Simplicity** -- **Instant Setup**: Browse the [configuration marketplace](https://hub.continue.dev) and add any config to your account with a single click +- **Instant Setup**: Browse the [configuration marketplace](https://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 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 Mission Control—they're encrypted and never exposed +3. **Secure Your Keys**: Add API keys as [User Secrets](https://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 [Mission Control](https://hub.continue.dev). For detailed customization, see our guide on [Editing a Config](/mission-control/configs/edit-a-config). +All Hub config management happens through [Mission Control](https://continue.dev). For detailed customization, see our guide on [Editing a Config](/mission-control/configs/edit-a-config). ## What Are Local Configs: The Power User's Choice diff --git a/docs/home.mdx b/docs/home.mdx index c84fa98b7..25214114e 100644 --- a/docs/home.mdx +++ b/docs/home.mdx @@ -5,7 +5,7 @@ description: "Learn how Continue enables developers to embrace continuous AI, en ## What is Continue? -**Continue enables developers to create, share, and use custom AI code agents with our open source [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions and [hub of models, rules, prompts, docs, and other building blocks](https://hub.continue.dev)** +**Continue enables developers to create, share, and use custom AI code agents with our open source [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions and [hub of models, rules, prompts, docs, and other building blocks](https://continue.dev)** ## Key Features @@ -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 Mission Control](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://continue.dev/) diff --git a/docs/ide-extensions/agent/how-to-customize.mdx b/docs/ide-extensions/agent/how-to-customize.mdx index 315e39554..395dee6fc 100644 --- a/docs/ide-extensions/agent/how-to-customize.mdx +++ b/docs/ide-extensions/agent/how-to-customize.mdx @@ -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 Mission Control](https://hub.continue.dev/hub?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://continue.dev/hub?type=mcpServers) and consult the [MCP guide](/customize/deep-dives/mcp) for more details. ## How to Configure Tool Policies diff --git a/docs/ide-extensions/autocomplete/next-edit.mdx b/docs/ide-extensions/autocomplete/next-edit.mdx index 68e98707e..91f365a5e 100644 --- a/docs/ide-extensions/autocomplete/next-edit.mdx +++ b/docs/ide-extensions/autocomplete/next-edit.mdx @@ -5,8 +5,8 @@ description: "Learn how Continue's Next Edit feature predicts and suggests your Next Edit is currently an experimental feature. It requires - [Instinct](https://hub.continue.dev/continuedev/instinct) or [Mercury Coder - model](https://hub.continue.dev/inception/mercury-coder) configured in + [Instinct](https://continue.dev/continuedev/instinct) or [Mercury Coder + model](https://continue.dev/inception/mercury-coder) configured in your Continue autocomplete settings and is not yet available for JetBrains use. diff --git a/docs/ide-extensions/install.mdx b/docs/ide-extensions/install.mdx index 2b50cb181..306defe67 100644 --- a/docs/ide-extensions/install.mdx +++ b/docs/ide-extensions/install.mdx @@ -40,7 +40,7 @@ The Continue logo will appear on the left sidebar. For a better experience, move If you have any problems, see the [troubleshooting guide](/troubleshooting) or - ask for help in [our Discord](https://discord.gg/NWtdYexhMs) + ask for help in [GitHub Discussions](https://github.com/continuedev/continue/discussions) @@ -70,7 +70,7 @@ Click `Install`, which will cause the Continue logo to show up on the right tool If you have any problems, see the [troubleshooting guide](/troubleshooting) or - ask for help in [our Discord](https://discord.com/invite/EfJEfdFnDQ) + ask for help in [GitHub Discussions](https://github.com/continuedev/continue/discussions) diff --git a/docs/ide-extensions/quick-start.mdx b/docs/ide-extensions/quick-start.mdx index aa170bbf1..ffa79a9a4 100644 --- a/docs/ide-extensions/quick-start.mdx +++ b/docs/ide-extensions/quick-start.mdx @@ -286,7 +286,7 @@ Congratulations! You've experienced all four core Continue features. Here's what Get help and share experiences with other Continue users diff --git a/docs/index.mdx b/docs/index.mdx index 71d1ab8a0..02847e2f3 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -1,156 +1,47 @@ --- -title: "Welcome to Continue" -icon: book-open -description: "Create, run, and automate AI agents across Mission Control, terminal, and CI/CD" +title: "What is Continue?" +description: "Run agents as CI checks on every PR" --- - - - +Continue lets you create agents that review every pull request. Each agent runs as a GitHub check: green if the code looks good, red with a suggested diff if not. -## Mission Control - - Central dashboard for managing Agents, Tasks, Workflows, and Integrations. - +Agents are markdown prompts describing the standards you want to enforce. They can be defined at [continue.dev](https://continue.dev/agents) or in your repo at `.continue/agents/`. - - - Prompt an agent to complete a one-off task. +For example, you could use [this agent](https://www.continue.dev/continuedev/code-security-review) as a starting point, or you could create the following file in your repository: - • Run a one-time task or test for automation
- • Monitor progress in the tasks tab -
- - Schedule or trigger your agents automatically. +```markdown .continue/agents/security-review.md +--- +name: Security Review +description: Review PR for basic security vulnerabilities +--- - • Cron, Webhook, or GitHub-based triggers
- • Ideal for daily audits or status checks -
- - Trigger your inbox agents to resolve opened PRs. +Review this PR and check that: - • Address review comments
- • Fix CI test failures and resolve merge conflicts -
-
+- No secrets or API keys are hardcoded +- All new API endpoints have input validation +- Error responses use the standard error format +``` -## Integrations - - Connect Continue to your existing developer tools to automate the repetitive work you don't have time for. - +## Get started + +1. Connect GitHub at [continue.dev](https://continue.dev/) +2. [Create an agent](https://continue.dev/agents/new) +3. Open a PR. The agent will show up as a check in GitHub. +4. If changes are suggested, click the check in GitHub and accept or reject the suggestion to make the check pass. + +## Example agents - - Enable repository access for Agents to read and create PRs. + + Performs a comprehensive security audit for OWASP Top 10 vulnerabilities and security best practices. - - Mention @Continue in Slack to trigger Agents and receive updates. + + Make incremental improvements to test coverage every day. - - Automatically generate PRs to fix new issues from Sentry alerts. + + Keep your AGENTS.md continuously synced with your codebase. - - Detect and fix security vulnerabilities automatically. - - - -You can go to [Mission Control Integrations](https://hub.continue.dev/integrations) for the full list of tools you can connect, or for more information see [the docs page](https://docs.continue.dev/mission-control/integrations). - - -## Continue CLI - -Terminal-native AI coding assistance with TUI and headless modes. - - - - ```bash npm - npm i -g @continuedev/cli - ``` - - ```bash yarn - yarn global add @continuedev/cli - ``` - - ```bash pnpm - pnpm add -g @continuedev/cli - ``` - - - - - - Interactive Terminal User Interface for development workflows - - • Automate builds & refactoring -
- • Pre-commit hooks & scripted fixes -
- • Terminal-first development -
- - Automated AI coding for CI/CD and server environments - - • Run in CI/CD pipelines -
- • Batch processing & bulk operations -
- • Server & container deployments -
-
- -## IDE Extensions - - - Optional IDE extensions for real-time code editing and assistance. - - -Learn more about [extension features](https://docs.continue.dev/ide-extensions/quick-start) and how to [customize](https://docs.continue.dev/customize/overview) → - - - - Install from VS Code Marketplace - Real-time coding assistance and refactoring - - - Install from JetBrains Plugin Repository - Community supported for autocomplete and multi-file edits - - - -## Resources - - - - Create your agents, run tasks, add workflows and integrations - - - Get help from the community - - - Connect GitHub, Slack, Sentry, and Snyk to power your automations. + + Create a draft update to CHANGELOG.md based on recent changes in a pull request. diff --git a/docs/mission-control/configs/create-a-config.mdx b/docs/mission-control/configs/create-a-config.mdx index c9b7bd56e..7db2819b5 100644 --- a/docs/mission-control/configs/create-a-config.mdx +++ b/docs/mission-control/configs/create-a-config.mdx @@ -6,13 +6,13 @@ sidebarTitle: "Create a Config" ## How to Create a Config from Scratch -To create a config from scratch, navigate to [your config settings](https://hub.continue.dev/settings/configs). +To create a config from scratch, navigate to [your config settings](https://continue.dev/settings/configs). Choose a name, slug, description, and icon for your config. The easiest way to create an config is to click "Create config" with the default configuration and then add / remove blocks using the sidebar. -Alternatively, you can edit the config YAML directly before clicking "Create config". Refer to examples of configs on [hub.continue.dev](https://hub.continue.dev) and visit the [YAML Reference](/reference#complete-yaml-config-example) docs for more details. +Alternatively, you can edit the config YAML directly before clicking "Create config". Refer to examples of configs on [continue.dev](https://continue.dev) and visit the [YAML Reference](/reference#complete-yaml-config-example) docs for more details. diff --git a/docs/mission-control/configs/intro.mdx b/docs/mission-control/configs/intro.mdx index 3ebb7ce84..db54bc207 100644 --- a/docs/mission-control/configs/intro.mdx +++ b/docs/mission-control/configs/intro.mdx @@ -6,7 +6,7 @@ sidebarTitle: "Configs" **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). + If you're returning after the redesign, you can now find and manage configs in your [Mission Control Settings](https://continue.dev/settings/configs). ## What Are Configs? @@ -74,7 +74,7 @@ You can interact with configs in three main ways: - Browse the [Continue Mission Control](https://hub.continue.dev/hub?type=configs) to see what configs others have built + Browse the [Continue Mission Control](https://continue.dev/hub?type=configs) to see what configs others have built diff --git a/docs/mission-control/governance/pricing.mdx b/docs/mission-control/governance/pricing.mdx index ff21b8f26..323fd4377 100644 --- a/docs/mission-control/governance/pricing.mdx +++ b/docs/mission-control/governance/pricing.mdx @@ -1,31 +1,31 @@ --- title: "Pricing" -url: "https://hub.continue.dev/pricing" +url: "https://continue.dev/pricing" --- ## Solo **Solo** is best suited for individuals and small teams with "single-player" problems. -You can read more about what **Solo** includes [here](https://hub.continue.dev/pricing). +You can read more about what **Solo** includes [here](https://continue.dev/pricing). ## Teams **Teams** is best suited for growing teams with "multiplayer" problems. -You can read more about what **Teams** includes [here](https://hub.continue.dev/pricing). +You can read more about what **Teams** includes [here](https://continue.dev/pricing). ## Enterprise **Enterprise** is best suited for large teams with enterprise-grade requirements. -You can read more about what **Enterprise** includes [here](https://hub.continue.dev/pricing). +You can read more about what **Enterprise** includes [here](https://continue.dev/pricing). ## Models Add-On The **Models Add-On** allows you to use a variety of frontier models for a flat monthly fee. It’s designed to cover the usage of most developers. -You can read more about usage limits and what models are included [here](https://hub.continue.dev/pricing). +You can read more about usage limits and what models are included [here](https://continue.dev/pricing). ### Free Trial diff --git a/docs/mission-control/index.mdx b/docs/mission-control/index.mdx index 46948a1b9..b811dd2af 100644 --- a/docs/mission-control/index.mdx +++ b/docs/mission-control/index.mdx @@ -143,15 +143,15 @@ For personal or single-use configurations, you can skip the inputs layer and ref - + Start with a prompt and run an Agent on demand. - + Automate work using GitHub triggers, cron schedules, or webhooks. - + Connect Slack, Sentry, Snyk and more to extend your Agents. diff --git a/docs/mission-control/integrations/atlassian.mdx b/docs/mission-control/integrations/atlassian.mdx index cb7ac51f4..0701af7a2 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -5,7 +5,7 @@ description: "Connect Jira, Confluence, and Compass to automate project manageme - Update Jira tickets automatically on PR merge - Translate code changes into business-friendly summaries @@ -27,7 +27,7 @@ The following **official workflow template** is maintained by the Continue team -Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Atlassian](https://hub.continue.dev/integrations/atlassian)**. +Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Atlassian](https://continue.dev/integrations/atlassian)**. @@ -70,7 +70,7 @@ When connecting Atlassian, you’ll authorize Continue to access Jira, Confluenc Combine Atlassian and GitHub to keep code and tickets in sync. diff --git a/docs/mission-control/integrations/github.mdx b/docs/mission-control/integrations/github.mdx index 0f527e50a..cc2d4bfdc 100644 --- a/docs/mission-control/integrations/github.mdx +++ b/docs/mission-control/integrations/github.mdx @@ -4,7 +4,7 @@ description: "Connect your GitHub account to Continue Mission Control to enable --- - - Automatically create pull requests from AI agent tasks @@ -42,7 +42,7 @@ The following **official workflow templates** are maintained by the Continue tea -Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → GitHub](https://hub.continue.dev/integrations/github)**. +Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → GitHub](https://continue.dev/integrations/github)**. ## Workflow: GitHub issue → pull request (Cloud Agent) diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 4584fc4e7..313e82ada 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -50,6 +50,6 @@ Mission Control currently supports these first-class Cloud Agent integrations: ## Next Steps - + Connect your favorite tools to Mission Control and unlock new Agent capabilities. \ No newline at end of file diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index 2d832df17..1e11e7a62 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -6,7 +6,7 @@ description: "Connect **Netlify** to Mission Control so Cloud Agents can automat - Run Lighthouse audits on preview and production deploys - Compare bundle sizes and detect performance regressions @@ -61,7 +61,7 @@ Non-blocking improvements and suggestions. -Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Netlify](https://hub.continue.dev/integrations/netlify)**. +Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Netlify](https://continue.dev/integrations/netlify)**. ## Advanced Use Cases diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index 910c887cf..798886c5a 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -6,7 +6,7 @@ description: "Connect PostHog to Mission Control so Cloud Agents can keep analyt - Update analytics dashboards automatically after PRs merge - Keep tracking and feature usage aligned with shipped code @@ -27,7 +27,7 @@ The following **official workflow template** is maintained by the Continue team -Official workflow templates may expand over time as new analytics patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → PostHog](https://hub.continue.dev/integrations/posthog)**. +Official workflow templates may expand over time as new analytics patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → PostHog](https://continue.dev/integrations/posthog)**. ## Advanced Use Cases @@ -77,7 +77,7 @@ You can rotate or revoke the API key at any time from your PostHog settings. Combine PostHog and GitHub to keep analytics aligned with code. diff --git a/docs/mission-control/integrations/sanity.mdx b/docs/mission-control/integrations/sanity.mdx index 058674e83..32947158a 100644 --- a/docs/mission-control/integrations/sanity.mdx +++ b/docs/mission-control/integrations/sanity.mdx @@ -7,7 +7,7 @@ description: "Connect **Sanity** to Mission Control so Cloud Agents can keep you - Generate and update Sanity schema documentation from PR changes - Explore schemas and content models with natural-language queries @@ -28,7 +28,7 @@ The following **official workflow template** is maintained by the Continue team -Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Sanity](https://hub.continue.dev/integrations/sanity)**. +Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Sanity](https://continue.dev/integrations/sanity)**. --- @@ -73,7 +73,7 @@ When connecting Sanity, you’ll authorize Continue to access your workspace and Combine Sanity and GitHub to keep schema docs aligned with code changes. diff --git a/docs/mission-control/integrations/sentry.mdx b/docs/mission-control/integrations/sentry.mdx index 84eb0c058..048310088 100644 --- a/docs/mission-control/integrations/sentry.mdx +++ b/docs/mission-control/integrations/sentry.mdx @@ -8,7 +8,7 @@ description: "Connect Sentry to Mission Control so Cloud Agents can automaticall - Analyze production errors as they occur - Investigate stack traces and recent code changes diff --git a/docs/mission-control/integrations/slack.mdx b/docs/mission-control/integrations/slack.mdx index 2e585669a..feed93ac4 100644 --- a/docs/mission-control/integrations/slack.mdx +++ b/docs/mission-control/integrations/slack.mdx @@ -13,7 +13,7 @@ description: "Kick off Cloud Agents from Slack by mentioning @Continue" - + - Quick bug fixes and feature implementations - Code reviews and refactoring @@ -78,7 +78,7 @@ Continue will forward your message to the existing agent session instead of crea ## Monitoring Agent Progress -Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev). +Click the agent link in Slack to view the agent's progress in [Mission Control](https://continue.dev). You can also click the Slack icon in the agents page to return to the Slack message. @@ -86,7 +86,7 @@ You can also click the Slack icon in the agents page to return to the Slack mess To remove your Slack connection: -1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations) +1. Go to [continue.dev/settings/integrations](https://continue.dev/settings/integrations) 2. Find your Slack connection 3. Click "Disconnect" @@ -112,7 +112,7 @@ See our support page for more details: https://continue.dev/support - + Add the GitHub Integration to create issues and PRs diff --git a/docs/mission-control/integrations/snyk.mdx b/docs/mission-control/integrations/snyk.mdx index 5ed98be6e..e7bdbed30 100644 --- a/docs/mission-control/integrations/snyk.mdx +++ b/docs/mission-control/integrations/snyk.mdx @@ -6,7 +6,7 @@ description: "Connect Snyk to Continue Mission Control to automatically detect a - Detect and analyze security vulnerabilities - Generate pull requests to remediate issues @@ -26,7 +26,7 @@ The following **official workflow template** is maintained by the Continue team -Official workflow templates may expand over time as new security patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → Snyk](https://hub.continue.dev/integrations/snyk)**. +Official workflow templates may expand over time as new security patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → Snyk](https://continue.dev/integrations/snyk)**. ### Advanced Use Cases diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index 27263db5c..0fbdc1cb2 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -6,7 +6,7 @@ description: "Connect **Supabase** to Mission Control so Cloud Agents can automa - Audit RLS policies for tables referenced in PR changes - Generate SQL migrations to remediate missing or unsafe policies @@ -84,7 +84,7 @@ The following **official workflow template** is maintained by the Continue team -Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Supabase](https://hub.continue.dev/integrations/supabase)**. +Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in **[Mission Control → Integrations → Supabase](https://continue.dev/integrations/supabase)**. ### Advanced Use Cases diff --git a/docs/mission-control/secrets/secret-types.mdx b/docs/mission-control/secrets/secret-types.mdx index 4ebcd0cf8..4e9f07259 100644 --- a/docs/mission-control/secrets/secret-types.mdx +++ b/docs/mission-control/secrets/secret-types.mdx @@ -7,10 +7,10 @@ description: "The Continue Mission Control comes with secrets management built-i 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](/mission-control/governance/pricing#solo), [Teams](/mission-control/governance/pricing#teams), and [Enterprise](/mission-control/governance/pricing#enterprise). User secrets can be managed [here](https://hub.continue.dev/settings/secrets) in Mission Control. +This allows API requests to be made directly from the IDE extensions. You can use user secrets with [Solo](/mission-control/governance/pricing#solo), [Teams](/mission-control/governance/pricing#teams), and [Enterprise](/mission-control/governance/pricing#enterprise). User secrets can be managed [here](https://continue.dev/settings/secrets) in Mission Control. ## Org secrets Org secrets are defined by admins for their organization. Org secrets are available to anyone in the organization to use with configurations in that organization. Org secrets are assumed to not be shareable with the user (e.g. you are a team lead who wants to give team members access to models without passing out API keys). -This is why LLM requests are proxied through api.continue.dev / on-premise proxy and secrets are never sent to the IDE extensions. You can only use org secrets on [Teams](/mission-control/governance/pricing#teams) and [Enterprise](/mission-control/governance/pricing#enterprise). If you are an admin, you can manage secrets for your organization from the org settings page. +This is why LLM requests are proxied through api.continue.dev and secrets are never sent to the IDE extensions. You can only use org secrets on [Teams](/mission-control/governance/pricing#teams) and [Enterprise](/mission-control/governance/pricing#enterprise). If you are an admin, you can manage secrets for your organization from the org settings page. diff --git a/docs/mission-control/sharing.mdx b/docs/mission-control/sharing.mdx index a367eb8e9..82a63266c 100644 --- a/docs/mission-control/sharing.mdx +++ b/docs/mission-control/sharing.mdx @@ -56,7 +56,7 @@ Each Agent or Component can be published with one of three visibility levels: ## Community - + Join thousands of developers using Continue and share your experiences. diff --git a/docs/mission-control/tasks.mdx b/docs/mission-control/tasks.mdx index 1ba8310f7..1e347481a 100644 --- a/docs/mission-control/tasks.mdx +++ b/docs/mission-control/tasks.mdx @@ -26,7 +26,7 @@ description: "A Task is a unit of work shared between you and an agent. You trig - Don't have an Agent yet? Create one in **[Mission Control → Agents](https://hub.continue.dev/agents/new)** before setting up your first task. + Don't have an Agent yet? Create one in **[Mission Control → Agents](https://continue.dev/agents/new)** before setting up your first task. diff --git a/docs/mission-control/workflows.mdx b/docs/mission-control/workflows.mdx index 6ddf28b59..7cbf4fd75 100644 --- a/docs/mission-control/workflows.mdx +++ b/docs/mission-control/workflows.mdx @@ -27,7 +27,7 @@ description: "Cloud agents that are triggered on a schedule or when events occur - In Mission Control → Workflows, create a [new workflow](https://hub.continue.dev/workflows/new). + In Mission Control → Workflows, create a [new workflow](https://continue.dev/workflows/new). @@ -67,7 +67,7 @@ description: "Cloud agents that are triggered on a schedule or when events occur - Agent – the configured Agent (model, rules, tools, prompt) that should perform the work - Need a new Agent? Create one in [Mission Control → Agents](https://hub.continue.dev/agents/new), then return to this screen. + Need a new Agent? Create one in [Mission Control → Agents](https://continue.dev/agents/new), then return to this screen. @@ -146,7 +146,7 @@ Workflow runs show up just like Tasks: - You can open the detail view to see the summary, diff, and logs. - + diff --git a/docs/overview.mdx b/docs/overview.mdx new file mode 100644 index 000000000..12c1fa595 --- /dev/null +++ b/docs/overview.mdx @@ -0,0 +1,155 @@ +--- +title: "Overview" +description: "Run agents as CI checks on every PR" +--- + + + + + +## Mission Control + + Central dashboard for managing Agents, Tasks, Workflows, and Integrations. + + + + + Prompt an agent to complete a one-off task. + + • Run a one-time task or test for automation
+ • Monitor progress in the tasks tab +
+ + Schedule or trigger your agents automatically. + + • Cron, Webhook, or GitHub-based triggers
+ • Ideal for daily audits or status checks +
+ + Trigger your inbox agents to resolve opened PRs. + + • Address review comments
+ • Fix CI test failures and resolve merge conflicts +
+
+ +## Integrations + + Connect Continue to your existing developer tools to automate the repetitive work you don't have time for. + + + + + Enable repository access for Agents to read and create PRs. + + + Mention @Continue in Slack to trigger Agents and receive updates. + + + Automatically generate PRs to fix new issues from Sentry alerts. + + + Detect and fix security vulnerabilities automatically. + + + +You can go to [Mission Control Integrations](https://continue.dev/integrations) for the full list of tools you can connect, or for more information see [the docs page](https://docs.continue.dev/mission-control/integrations). + + +## Continue CLI + +Terminal-native AI coding assistance with TUI and headless modes. + + + + ```bash npm + npm i -g @continuedev/cli + ``` + + ```bash yarn + yarn global add @continuedev/cli + ``` + + ```bash pnpm + pnpm add -g @continuedev/cli + ``` + + + + + + Interactive Terminal User Interface for development workflows + + • Automate builds & refactoring +
+ • Pre-commit hooks & scripted fixes +
+ • Terminal-first development +
+ + Automated AI coding for CI/CD and server environments + + • Run in CI/CD pipelines +
+ • Batch processing & bulk operations +
+ • Server & container deployments +
+
+ +## IDE Extensions + + + Optional IDE extensions for real-time code editing and assistance. + + +Learn more about [extension features](https://docs.continue.dev/ide-extensions/quick-start) and how to [customize](https://docs.continue.dev/customize/overview) → + + + + Install from VS Code Marketplace + Real-time coding assistance and refactoring + + + Install from JetBrains Plugin Repository + Community supported for autocomplete and multi-file edits + + + +## Resources + + + + Create your agents, run tasks, add workflows and integrations + + + Get help from the community + + + Connect GitHub, Slack, Sentry, and Snyk to power your automations. + + diff --git a/docs/snippets/ModelRecommendations.jsx b/docs/snippets/ModelRecommendations.jsx index 1346e4edc..e680f0684 100644 --- a/docs/snippets/ModelRecommendations.jsx +++ b/docs/snippets/ModelRecommendations.jsx @@ -44,67 +44,65 @@ export const ModelRecommendations = ({ role = "all" }) => { const modelRecs = { agent_plan: { open: [ - "[Qwen3 Coder (480B)](https://hub.continue.dev/openrouter/qwen3-coder)", - "[Qwen3 Coder (30B)](https://hub.continue.dev/ollama/qwen3-coder-30b)", - "[Devstral (27B)](https://hub.continue.dev/ollama/devstral)", - "[Kimi K2 (1T)](https://hub.continue.dev/openrouter/kimi-k2)", - "[gpt-oss (120B)](https://hub.continue.dev/openrouter/gpt-oss-120b)", - "[gpt-oss (20B)](https://hub.continue.dev/ollama/gpt-oss-20b)", - "[GLM 4.5 (355B)](https://hub.continue.dev/openrouter/glm-4-5)", - "[GLM 4.5 Air (106B)](https://hub.continue.dev/openrouter/glm-4-5-air)", + "[Qwen3 Coder (480B)](https://continue.dev/openrouter/qwen3-coder)", + "[Qwen3 Coder (30B)](https://continue.dev/ollama/qwen3-coder-30b)", + "[Devstral (27B)](https://continue.dev/ollama/devstral)", + "[Kimi K2 (1T)](https://continue.dev/openrouter/kimi-k2)", + "[gpt-oss (120B)](https://continue.dev/openrouter/gpt-oss-120b)", + "[gpt-oss (20B)](https://continue.dev/ollama/gpt-oss-20b)", + "[GLM 4.5 (355B)](https://continue.dev/openrouter/glm-4-5)", + "[GLM 4.5 Air (106B)](https://continue.dev/openrouter/glm-4-5-air)", ], closed: [ - "[Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus)", - "[Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet)", - "[GPT-5](https://hub.continue.dev/openai/gpt-5)", - "[Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro)", + "[Claude Opus 4.1](https://continue.dev/anthropic/claude-4-1-opus)", + "[Claude Sonnet 4](https://continue.dev/anthropic/claude-4-sonnet)", + "[GPT-5](https://continue.dev/openai/gpt-5)", + "[Gemini 2.5 Pro](https://continue.dev/google/gemini-2.5-pro)", ], notes: "Closed models are slightly better than open models", }, chat_edit: { open: [ - "[Qwen3 Coder (480B)](https://hub.continue.dev/openrouter/qwen3-coder)", - "[Qwen3 Coder (30B)](https://hub.continue.dev/ollama/qwen3-coder-30b)", - "[gpt-oss (120B)](https://hub.continue.dev/openrouter/gpt-oss-120b)", - "[gpt-oss (20B)](https://hub.continue.dev/ollama/gpt-oss-20b)", + "[Qwen3 Coder (480B)](https://continue.dev/openrouter/qwen3-coder)", + "[Qwen3 Coder (30B)](https://continue.dev/ollama/qwen3-coder-30b)", + "[gpt-oss (120B)](https://continue.dev/openrouter/gpt-oss-120b)", + "[gpt-oss (20B)](https://continue.dev/ollama/gpt-oss-20b)", ], closed: [ - "[Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus)", - "[Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet)", - "[GPT-5](https://hub.continue.dev/openai/gpt-5)", - "[Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro)", + "[Claude Opus 4.1](https://continue.dev/anthropic/claude-4-1-opus)", + "[Claude Sonnet 4](https://continue.dev/anthropic/claude-4-sonnet)", + "[GPT-5](https://continue.dev/openai/gpt-5)", + "[Gemini 2.5 Pro](https://continue.dev/google/gemini-2.5-pro)", ], notes: "Closed and open models have pretty similar performance", }, autocomplete: { open: [ - "[QwenCoder2.5 (1.5B)](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b)", - "[QwenCoder2.5 (7B)](https://hub.continue.dev/ollama/qwen2.5-coder-7b)", + "[QwenCoder2.5 (1.5B)](https://continue.dev/ollama/qwen2.5-coder-1.5b)", + "[QwenCoder2.5 (7B)](https://continue.dev/ollama/qwen2.5-coder-7b)", ], closed: [ - "[Codestral](https://hub.continue.dev/mistral/codestral)", - "[Mercury Coder](https://hub.continue.dev/inception/mercury-coder)", + "[Codestral](https://continue.dev/mistral/codestral)", + "[Mercury Coder](https://continue.dev/inception/mercury-coder)", ], notes: "Closed models are slightly better than open models", }, apply: { - open: [ - "[FastApply](https://hub.continue.dev/mdpauley/fast-apply-15b-v10)", - ], + open: ["[FastApply](https://continue.dev/mdpauley/fast-apply-15b-v10)"], closed: [ - "[Relace Instant Apply](https://hub.continue.dev/relace/instant-apply)", - "[Morph Fast Apply](https://hub.continue.dev/morphllm/morph-v2)", + "[Relace Instant Apply](https://continue.dev/relace/instant-apply)", + "[Morph Fast Apply](https://continue.dev/morphllm/morph-v2)", ], notes: "Closed models are better than open models", }, embed: { open: [ - "[Nomic Embed Text](https://hub.continue.dev/ollama/nomic-embed-text-latest)", + "[Nomic Embed Text](https://continue.dev/ollama/nomic-embed-text-latest)", "Qwen3 Embedding", ], closed: [ - "[Voyage Code 3](https://hub.continue.dev/voyageai/voyage-code-3)", - "[Morph Embeddings](https://hub.continue.dev/morphllm/morph-embedding-v2)", + "[Voyage Code 3](https://continue.dev/voyageai/voyage-code-3)", + "[Morph Embeddings](https://continue.dev/morphllm/morph-embedding-v2)", "Codestral Embed", ], notes: "Closed models are slightly better than open models", @@ -112,17 +110,15 @@ export const ModelRecommendations = ({ role = "all" }) => { rerank: { open: ["zerank-1", "zerank-1-small", "Qwen3 Reranker"], closed: [ - "[Voyage Rerank 2.5](https://hub.continue.dev/voyageai/rerank-2-5)", + "[Voyage Rerank 2.5](https://continue.dev/voyageai/rerank-2-5)", "Relace Code Rerank", - "[Morph Rerank](https://hub.continue.dev/morphllm/morph-rerank-v2)", + "[Morph Rerank](https://continue.dev/morphllm/morph-rerank-v2)", ], notes: "Open models are beginning to emerge for this model role", }, next_edit: { - open: ["[Instinct](https://hub.continue.dev/continuedev/instinct)"], - closed: [ - "[Mercury Coder](https://hub.continue.dev/inception/mercury-coder)", - ], + open: ["[Instinct](https://continue.dev/continuedev/instinct)"], + closed: ["[Mercury Coder](https://continue.dev/inception/mercury-coder)"], notes: "Closed models are better than open models", }, }; diff --git a/docs/troubleshooting.mdx b/docs/troubleshooting.mdx index 4e2bc9fd3..cc87e6d71 100644 --- a/docs/troubleshooting.mdx +++ b/docs/troubleshooting.mdx @@ -107,4 +107,4 @@ This issue typically affects macOS users with large development environments and ## Still having trouble? -You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly. +You can also join [GitHub Discussions](https://github.com/continuedev/continue/discussions) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly. diff --git a/extensions/cli/eslint.config.js b/extensions/cli/eslint.config.js index f632d8e68..a97446ea2 100644 --- a/extensions/cli/eslint.config.js +++ b/extensions/cli/eslint.config.js @@ -1,5 +1,5 @@ -import tsParser from "@typescript-eslint/parser"; import tsPlugin from "@typescript-eslint/eslint-plugin"; +import tsParser from "@typescript-eslint/parser"; import importPlugin from "eslint-plugin-import"; import unusedImports from "eslint-plugin-unused-imports"; @@ -40,7 +40,7 @@ export default [ "error", { max: 500, skipBlankLines: true, skipComments: true }, ], - complexity: ["error", { max: 20 }], + complexity: ["error", { max: 30 }], // "max-lines-per-function": [ // "error", // { max: 150, skipBlankLines: true, skipComments: true }, diff --git a/extensions/cli/src/commands/commands.ts b/extensions/cli/src/commands/commands.ts index d9886273e..e04849c58 100644 --- a/extensions/cli/src/commands/commands.ts +++ b/extensions/cli/src/commands/commands.ts @@ -2,6 +2,7 @@ import { type AssistantConfig } from "@continuedev/sdk"; // Export command functions export { chat } from "./chat.js"; +export { review } from "./review.js"; export { login } from "./login.js"; export { logout } from "./logout.js"; export { listSessionsCommand } from "./ls.js"; diff --git a/extensions/cli/src/commands/review.ts b/extensions/cli/src/commands/review.ts new file mode 100644 index 000000000..cc48f4a06 --- /dev/null +++ b/extensions/cli/src/commands/review.ts @@ -0,0 +1,417 @@ +import { execSync, fork } from "child_process"; + +import chalk from "chalk"; +import React from "react"; + +import { configureConsoleForHeadless } from "../init.js"; +import { logger } from "../util/logger.js"; + +import { ExtendedCommandOptions } from "./BaseCommandOptions.js"; +import type { DiffContext } from "./review/diffContext.js"; +import { computeDiffContext } from "./review/diffContext.js"; +import type { ReviewResult } from "./review/renderReport.js"; +import { renderReport } from "./review/renderReport.js"; +import { resolveReviews } from "./review/resolveReviews.js"; +import { ReviewProgress } from "./review/ReviewProgress.js"; +import type { ReviewState } from "./review/ReviewProgress.js"; +import type { WorkerConfig, WorkerResult } from "./review/reviewWorker.js"; +import { createWorktree, cleanupWorktree } from "./review/worktree.js"; + +export interface ReviewOptions extends ExtendedCommandOptions { + base?: string; + format?: string; + fix?: boolean; + patch?: boolean; + failFast?: boolean; + reviewAgents?: string[]; +} + +/** + * Run a single review in a forked worker process. + */ +async function runReviewInWorker( + agentSource: string, + worktreePath: string, + diffContext: DiffContext, + options: ReviewOptions, +): Promise { + return new Promise((resolve, _reject) => { + // Fork the current CLI entry point with the internal worker flag + const workerPath = process.argv[1]; + const child = fork(workerPath, ["--internal-review-worker"], { + stdio: ["pipe", "pipe", "pipe", "ipc"], + env: { + ...process.env, + // Ensure the worker can find its config + NODE_OPTIONS: process.env.NODE_OPTIONS || "", + }, + }); + + let settled = false; + + const timeout = setTimeout( + () => { + if (!settled) { + settled = true; + child.kill("SIGTERM"); + resolve({ + patch: "", + agentOutput: "", + duration: 0, + error: "Review timed out after 5 minutes", + }); + } + }, + 5 * 60 * 1000, + ); // 5 minute timeout + + child.on("message", (msg: { type: string; result?: WorkerResult }) => { + if (msg.type === "ready") { + // Worker is ready, send the config + const config: WorkerConfig = { + agentSource, + worktreePath, + diffContext, + options: { + config: options.config, + org: options.org, + rule: options.rule, + verbose: options.verbose, + }, + }; + child.send({ type: "run-review", config }); + } else if (msg.type === "result" && msg.result) { + if (!settled) { + settled = true; + clearTimeout(timeout); + resolve(msg.result); + } + } + }); + + child.on("error", (err) => { + if (!settled) { + settled = true; + clearTimeout(timeout); + resolve({ + patch: "", + agentOutput: "", + duration: 0, + error: err.message, + }); + } + }); + + child.on("exit", (code) => { + if (!settled) { + settled = true; + clearTimeout(timeout); + if (code !== 0) { + resolve({ + patch: "", + agentOutput: "", + duration: 0, + error: `Worker exited with code ${code}`, + }); + } + } + }); + + // Capture stderr for debugging + if (child.stderr) { + let stderr = ""; + child.stderr.on("data", (data: Buffer) => { + stderr += data.toString(); + }); + child.on("exit", () => { + if (stderr.trim()) { + logger.debug("Worker stderr:", { stderr: stderr.trim() }); + } + }); + } + }); +} + +/** + * Apply patches to the real working tree (--fix mode). + */ +function applyPatches(results: ReviewResult[]): void { + const patchResults = results.filter( + (r) => r.status === "fail" && r.patch.trim(), + ); + + if (patchResults.length === 0) { + console.log(chalk.dim("No patches to apply.")); + return; + } + + let applied = 0; + let failed = 0; + + for (const result of patchResults) { + try { + // Dry-run first + execSync("git apply --check -", { + input: result.patch, + stdio: ["pipe", "pipe", "pipe"], + }); + // Actually apply + execSync("git apply -", { + input: result.patch, + stdio: ["pipe", "pipe", "pipe"], + }); + applied++; + console.log(chalk.green(` ✓ Applied patch from ${result.name}`)); + } catch { + failed++; + console.log( + chalk.red( + ` ✗ Could not apply patch from ${result.name} (conflict with working tree)`, + ), + ); + } + } + + console.log( + `\nApplied ${applied}/${patchResults.length} patches.` + + (failed > 0 ? ` ${failed} had conflicts (see above).` : ""), + ); +} + +/** + * Mutable props bag for the live Ink UI so we can update it progressively. + */ +interface LiveUIProps { + checks: ReviewState[]; + baseBranch?: string; + changedFileCount?: number; + loading?: boolean; +} + +/** + * Mount the Ink live progress UI or return a no-op for non-TTY / special modes. + */ +async function mountProgressUI( + props: LiveUIProps, + options: ReviewOptions, +): Promise<{ rerender: () => void; unmount: () => void }> { + const useLiveUI = + process.stdout.isTTY && !options.patch && options.format !== "json"; + + if (!useLiveUI) { + return { + rerender: () => {}, + unmount: () => {}, + }; + } + + const { render } = await import("ink"); + const instance = render(React.createElement(ReviewProgress, props)); + return { + rerender: () => + instance.rerender(React.createElement(ReviewProgress, props)), + unmount: () => instance.unmount(), + }; +} + +/** + * Output results and exit with appropriate code. + */ +function outputResultsAndExit( + results: ReviewResult[], + diffContext: DiffContext, + options: ReviewOptions, + checksFromHub: boolean, +): void { + const format = options.format === "json" ? "json" : "text"; + const report = renderReport(results, { + baseBranch: diffContext.baseBranch, + changedFileCount: diffContext.changedFiles.length, + format, + checksFromHub, + }); + + if (options.patch) { + const allPatches = results + .filter((r) => r.patch.trim()) + .map((r) => r.patch) + .join("\n"); + process.stdout.write(allPatches); + process.exit( + results.some((r) => r.status === "fail" || r.status === "error") ? 1 : 0, + ); + } + + console.log("\n" + report); + + if (options.fix) { + console.log(chalk.dim("\nApplying fixes...")); + applyPatches(results); + } + + const hasFailed = results.some( + (r) => r.status === "fail" || r.status === "error", + ); + process.exit(hasFailed ? 1 : 0); +} + +/** + * Main review command handler. + */ +export async function review(options: ReviewOptions = {}): Promise { + configureConsoleForHeadless(false); + + if (options.verbose) { + logger.setLevel("debug"); + } + + // Mount the live UI immediately with a loading state + const uiProps: LiveUIProps = { + checks: [], + loading: true, + }; + const { rerender, unmount: unmountUI } = await mountProgressUI( + uiProps, + options, + ); + + // Step 1: Compute diff + const diffContext = computeDiffContext(options.base); + + if (!diffContext.diff.trim() && diffContext.changedFiles.length === 0) { + unmountUI(); + console.log( + chalk.yellow( + "No changes detected. Make some changes or specify a different base branch with --base.", + ), + ); + process.exit(0); + } + + // Update UI with diff info (still loading reviews) + uiProps.baseBranch = diffContext.baseBranch; + uiProps.changedFileCount = diffContext.changedFiles.length; + rerender(); + + // Step 2: Resolve reviews + const reviews = await resolveReviews(options.reviewAgents); + + if (reviews.length === 0) { + unmountUI(); + console.log( + chalk.yellow("\nNo reviews found. To add reviews:\n") + + chalk.dim( + " 1. Create .continue/agents/my-review.md with agent instructions\n", + ) + + chalk.dim( + " 2. Or specify an agent: cn review --review-agents org/agent-name\n", + ) + + chalk.dim(" 3. Or configure reviews on https://continue.dev\n"), + ); + process.exit(0); + } + + const checksFromHub = reviews.some((c) => c.sourceType === "hub"); + + // Build mutable state for the live UI and stop loading + const reviewStates: ReviewState[] = reviews.map((c) => ({ + name: c.name, + status: "pending" as const, + })); + uiProps.checks = reviewStates; + uiProps.loading = false; + rerender(); + + // Step 3: Create worktrees and run reviews + const results: ReviewResult[] = []; + + const runSingleReview = async ( + resolvedReview: (typeof reviews)[number], + i: number, + ): Promise => { + const startTime = Date.now(); + let worktreePath: string | null = null; + + try { + // Mark as running + reviewStates[i].status = "running"; + reviewStates[i].startTime = Date.now(); + rerender(); + + worktreePath = await createWorktree(i); + + const workerResult = await runReviewInWorker( + resolvedReview.source, + worktreePath, + diffContext, + options, + ); + + const status = workerResult.error + ? ("error" as const) + : workerResult.patch.trim() + ? ("fail" as const) + : ("pass" as const); + + const duration = (Date.now() - startTime) / 1000; + + // Mark as complete + reviewStates[i].status = status; + reviewStates[i].duration = duration; + rerender(); + + return { + agent: resolvedReview.source, + name: resolvedReview.name, + status, + patch: workerResult.patch, + output: workerResult.agentOutput, + duration, + error: workerResult.error, + }; + } catch (e: any) { + const duration = (Date.now() - startTime) / 1000; + + // Mark as error + reviewStates[i].status = "error"; + reviewStates[i].duration = duration; + rerender(); + + return { + agent: resolvedReview.source, + name: resolvedReview.name, + status: "error" as const, + patch: "", + output: "", + duration, + error: e.message || String(e), + }; + } finally { + if (worktreePath) { + await cleanupWorktree(worktreePath); + } + } + }; + + if (options.failFast) { + for (let i = 0; i < reviews.length; i++) { + const result = await runSingleReview(reviews[i], i); + results.push(result); + if (result.status === "fail" || result.status === "error") { + break; + } + } + } else { + const settled = await Promise.allSettled( + reviews.map((resolvedReview, i) => runSingleReview(resolvedReview, i)), + ); + for (const result of settled) { + if (result.status === "fulfilled") { + results.push(result.value); + } + } + } + + unmountUI(); + outputResultsAndExit(results, diffContext, options, checksFromHub); +} diff --git a/extensions/cli/src/commands/review/ReviewProgress.tsx b/extensions/cli/src/commands/review/ReviewProgress.tsx new file mode 100644 index 000000000..97af65f8e --- /dev/null +++ b/extensions/cli/src/commands/review/ReviewProgress.tsx @@ -0,0 +1,132 @@ +import { Box, Text } from "ink"; +import React, { useEffect, useState } from "react"; + +import { LoadingAnimation } from "../../ui/LoadingAnimation.js"; + +export interface ReviewState { + name: string; + status: "pending" | "running" | "pass" | "fail" | "error"; + startTime?: number; + duration?: number; +} + +interface ReviewProgressProps { + checks: ReviewState[]; + baseBranch?: string; + changedFileCount?: number; + loading?: boolean; +} + +function StatusIndicator({ status }: { status: ReviewState["status"] }) { + switch (status) { + case "pending": + return {"◌ Pending"}; + case "running": + return ( + + + {" Running"} + + ); + case "pass": + return {"✓ Pass"}; + case "fail": + return {"✗ Fail"}; + case "error": + return {"✗ Error"}; + } +} + +function ElapsedTime({ check }: { check: ReviewState }) { + const [, setTick] = useState(0); + + useEffect(() => { + if (check.status !== "running") return; + const interval = setInterval(() => setTick((t) => t + 1), 1000); + return () => clearInterval(interval); + }, [check.status]); + + if (check.status === "pending") { + return {"–"}; + } + + const seconds = + check.duration === undefined + ? check.startTime === undefined + ? 0 + : Math.round((Date.now() - check.startTime) / 1000) + : Math.round(check.duration); + + return {`${seconds}s`}; +} + +const COL_NAME = 22; +const COL_STATUS = 16; + +export const ReviewProgress: React.FC = ({ + checks, + baseBranch, + changedFileCount, + loading, +}) => { + return ( + + + cn review + {baseBranch ? ( + <> + ─ + + {checks.length} review{checks.length === 1 ? "" : "s"} against{" "} + {baseBranch} + + ─ + + {changedFileCount} changed file + {changedFileCount === 1 ? "" : "s"} + + + ) : null} + + + + + + + Review + + + + + Status + + + + Time + + + + {"─".repeat(COL_NAME + COL_STATUS + 6)} + + {loading && checks.length === 0 ? ( + + + {" Loading reviews…"} + + ) : ( + checks.map((check, i) => ( + + + {check.name} + + + + + + + )) + )} + + + ); +}; diff --git a/extensions/cli/src/commands/review/diffContext.ts b/extensions/cli/src/commands/review/diffContext.ts new file mode 100644 index 000000000..389728950 --- /dev/null +++ b/extensions/cli/src/commands/review/diffContext.ts @@ -0,0 +1,116 @@ +import { execSync } from "child_process"; + +import { logger } from "../../util/logger.js"; + +const MAX_DIFF_SIZE = 50 * 1024; // 50KB + +export interface DiffContext { + baseBranch: string; + diff: string; + changedFiles: string[]; + stat: string; + truncated: boolean; +} + +/** + * Auto-detect the default branch (main/master) for the current repo. + */ +function detectDefaultBranch(): string { + try { + const ref = execSync("git symbolic-ref refs/remotes/origin/HEAD", { + encoding: "utf-8", + stdio: ["pipe", "pipe", "pipe"], + }).trim(); + // refs/remotes/origin/main -> main + return ref.replace("refs/remotes/origin/", ""); + } catch { + // Fallback: check if main or master exists + try { + execSync("git rev-parse --verify main", { + stdio: ["pipe", "pipe", "pipe"], + }); + return "main"; + } catch { + try { + execSync("git rev-parse --verify master", { + stdio: ["pipe", "pipe", "pipe"], + }); + return "master"; + } catch { + return "main"; // Default fallback + } + } + } +} + +/** + * Compute the diff context for the current working tree against a base branch. + * Includes both committed changes on the branch AND uncommitted changes. + */ +export function computeDiffContext(baseBranch?: string): DiffContext { + const base = baseBranch || detectDefaultBranch(); + + // Get the merge-base to handle diverged branches + let mergeBase: string; + try { + mergeBase = execSync(`git merge-base ${base} HEAD`, { + encoding: "utf-8", + stdio: ["pipe", "pipe", "pipe"], + }).trim(); + } catch { + logger.warn( + `Could not find merge-base with ${base}, falling back to direct diff`, + ); + mergeBase = base; + } + + // Get diff of committed changes + working tree changes against the base + let diff: string; + let truncated = false; + try { + // Use diff against merge-base to include all branch changes + working tree + diff = execSync(`git diff ${mergeBase}`, { + encoding: "utf-8", + maxBuffer: 10 * 1024 * 1024, // 10MB buffer + stdio: ["pipe", "pipe", "pipe"], + }); + } catch { + diff = ""; + } + + if (diff.length > MAX_DIFF_SIZE) { + diff = diff.slice(0, MAX_DIFF_SIZE); + truncated = true; + } + + // Get changed file list + let changedFiles: string[] = []; + try { + const fileList = execSync(`git diff --name-only ${mergeBase}`, { + encoding: "utf-8", + stdio: ["pipe", "pipe", "pipe"], + }).trim(); + changedFiles = fileList ? fileList.split("\n") : []; + } catch { + changedFiles = []; + } + + // Get diff stat + let stat = ""; + try { + stat = execSync(`git diff --stat ${mergeBase}`, { + encoding: "utf-8", + stdio: ["pipe", "pipe", "pipe"], + }).trim(); + } catch { + stat = ""; + } + + return { + baseBranch: base, + diff, + changedFiles, + stat, + truncated, + }; +} diff --git a/extensions/cli/src/commands/review/renderReport.ts b/extensions/cli/src/commands/review/renderReport.ts new file mode 100644 index 000000000..093e7922d --- /dev/null +++ b/extensions/cli/src/commands/review/renderReport.ts @@ -0,0 +1,140 @@ +import chalk from "chalk"; + +export interface ReviewResult { + /** Agent slug or local path */ + agent: string; + /** Display name */ + name: string; + /** "pass" if no changes suggested, "fail" if changes suggested, "error" if agent errored */ + status: "pass" | "fail" | "error"; + /** Unified diff patch of agent's suggested changes */ + patch: string; + /** Agent's text output (explanation/rationale) */ + output: string; + /** Duration in seconds */ + duration: number; + /** Error message if status is "error" */ + error?: string; +} + +export interface RenderOptions { + baseBranch: string; + changedFileCount: number; + format: "text" | "json"; + checksFromHub: boolean; +} + +/** + * Render the review results report. + */ +export function renderReport( + results: ReviewResult[], + options: RenderOptions, +): string { + if (options.format === "json") { + return renderJsonReport(results, options); + } + return renderTextReport(results, options); +} + +function renderJsonReport( + results: ReviewResult[], + _options: RenderOptions, +): string { + const passed = results.filter((r) => r.status === "pass").length; + const failed = results.filter((r) => r.status === "fail").length; + const errored = results.filter((r) => r.status === "error").length; + + return JSON.stringify( + { + reviews: results.map((r) => ({ + agent: r.agent, + name: r.name, + status: r.status, + patch: r.patch, + output: r.output, + duration: r.duration, + ...(r.error ? { error: r.error } : {}), + })), + summary: { + total: results.length, + passed, + failed, + errored, + }, + }, + null, + 2, + ); +} + +function renderTextReport( + results: ReviewResult[], + options: RenderOptions, +): string { + const isTTY = process.stdout.isTTY; + const lines: string[] = []; + + const failedResults = results.filter( + (r) => r.status === "fail" || r.status === "error", + ); + + // Only output details for failures/errors — passes are already in the table + for (const result of failedResults) { + const durationStr = `(${result.duration.toFixed(1)}s)`; + + if (result.status === "error") { + const header = isTTY + ? chalk.red(`## ✗ ${result.name}`) + " " + chalk.dim(durationStr) + : `## ✗ ${result.name} ${durationStr}`; + lines.push(header); + lines.push(`Error: ${result.error || "Unknown error"}`); + } else { + const header = isTTY + ? chalk.red(`## ✗ ${result.name}`) + " " + chalk.dim(durationStr) + : `## ✗ ${result.name} ${durationStr}`; + lines.push(header); + lines.push(""); + + if (result.output.trim()) { + lines.push(result.output.trim()); + lines.push(""); + } + + if (result.patch.trim()) { + lines.push("### Suggested changes:"); + lines.push("```diff"); + lines.push(result.patch.trim()); + lines.push("```"); + } + } + + lines.push(""); + } + + if (failedResults.length > 0) { + lines.push("---"); + const summary = `**${failedResults.length} of ${results.length} reviews failed.**`; + lines.push(isTTY ? chalk.red(summary) : summary); + lines.push(""); + } + + // Migration nudge + if (options.checksFromHub) { + lines.push( + isTTY + ? chalk.dim("These reviews also run on your PRs via Continue CI.") + : "These reviews also run on your PRs via Continue CI.", + ); + } else { + lines.push( + isTTY + ? chalk.dim( + "Tip: Run these automatically on every PR → https://continue.dev", + ) + : "Tip: Run these automatically on every PR → https://continue.dev", + ); + } + + return lines.join("\n"); +} diff --git a/extensions/cli/src/commands/review/resolveReviews.ts b/extensions/cli/src/commands/review/resolveReviews.ts new file mode 100644 index 000000000..1763b866d --- /dev/null +++ b/extensions/cli/src/commands/review/resolveReviews.ts @@ -0,0 +1,150 @@ +import { execSync } from "child_process"; +import * as fs from "fs"; +import * as path from "path"; + +import { loadAuthConfig, getAccessToken } from "../../auth/workos.js"; +import { env } from "../../env.js"; +import { logger } from "../../util/logger.js"; + +export interface ResolvedReview { + /** Display name for the review */ + name: string; + /** Hub slug (org/agent) or local file path */ + source: string; + /** 'hub' | 'local' */ + sourceType: "hub" | "local"; +} + +/** + * Determine which reviews to run, using three sources in order: + * 1. CLI --agent flags (highest priority) + * 2. Hub API (if logged in and no --agent flags) + * 3. Local .continue/agents/*.md (fallback) + */ +export async function resolveReviews( + agentFlags?: string[], +): Promise { + // Source 1: CLI --agent flags + if (agentFlags && agentFlags.length > 0) { + return agentFlags.map((agent) => ({ + name: agentDisplayName(agent), + source: agent, + sourceType: isLocalPath(agent) ? "local" : "hub", + })); + } + + // Source 2: Hub API (silent failure if not logged in) + const hubReviews = await resolveFromHub(); + if (hubReviews.length > 0) { + return hubReviews; + } + + // Source 3: Local .continue/agents/*.md + const localReviews = resolveFromLocal(); + if (localReviews.length > 0) { + return localReviews; + } + + return []; +} + +/** + * Try to resolve reviews from the hub API based on the current repo. + */ +async function resolveFromHub(): Promise { + try { + const authConfig = loadAuthConfig(); + if (!authConfig) { + return []; + } + + const accessToken = getAccessToken(authConfig); + if (!accessToken) { + return []; + } + + // Get the repo URL from git + let repoUrl: string; + try { + repoUrl = execSync("git config --get remote.origin.url", { + encoding: "utf-8", + stdio: ["pipe", "pipe", "pipe"], + }).trim(); + } catch { + return []; + } + + if (!repoUrl) { + return []; + } + + const url = new URL("api/checks/resolve", env.apiBase); + url.searchParams.set("repoUrl", repoUrl); + + const response = await fetch(url.toString(), { + headers: { + Authorization: `Bearer ${accessToken}`, + }, + }); + + if (!response.ok) { + logger.debug(`Hub review resolution returned ${response.status}`); + return []; + } + + const data = (await response.json()) as { + checks: Array<{ slug: string; name: string }>; + }; + return (data.checks || []).map((c) => ({ + name: c.name, + source: c.slug, + sourceType: "hub" as const, + })); + } catch (e) { + logger.debug("Hub review resolution failed", { error: e }); + return []; + } +} + +/** + * Resolve reviews from local .continue/agents/*.md files. + */ +function resolveFromLocal(): ResolvedReview[] { + const agentsDir = path.join(process.cwd(), ".continue", "agents"); + if (!fs.existsSync(agentsDir)) { + return []; + } + + try { + const files = fs.readdirSync(agentsDir).filter((f) => f.endsWith(".md")); + return files.map((file) => ({ + name: path.basename(file, ".md").replace(/[-_]/g, " "), + source: path.join(agentsDir, file), + sourceType: "local" as const, + })); + } catch { + return []; + } +} + +function isLocalPath(agent: string): boolean { + return ( + agent.startsWith(".") || + agent.startsWith("/") || + agent.startsWith("~") || + agent.endsWith(".md") || + agent.endsWith(".yaml") || + agent.endsWith(".yml") || + // Windows absolute path (C:\...) + /^[A-Za-z]:[/\\]/.test(agent) + ); +} + +function agentDisplayName(agent: string): string { + if (isLocalPath(agent)) { + return path.basename(agent, path.extname(agent)).replace(/[-_]/g, " "); + } + // Hub slug: "org/agent-name" -> "agent-name" -> "agent name" + const parts = agent.split("/"); + return (parts[parts.length - 1] || agent).replace(/[-_]/g, " "); +} diff --git a/extensions/cli/src/commands/review/reviewWorker.ts b/extensions/cli/src/commands/review/reviewWorker.ts new file mode 100644 index 000000000..c16308702 --- /dev/null +++ b/extensions/cli/src/commands/review/reviewWorker.ts @@ -0,0 +1,206 @@ +/** + * Review worker - runs in a forked process. + * + * Receives configuration via IPC, initializes services, + * runs the agent in the worktree, then captures the diff + * and sends results back via IPC. + */ + +import * as fs from "fs"; + +import { + initializeServices, + getService, + services, + SERVICE_NAMES, +} from "../../services/index.js"; +import type { ModelServiceState } from "../../services/types.js"; +import { streamChatResponse } from "../../stream/streamChatResponse.js"; + +import type { DiffContext } from "./diffContext.js"; +import { captureWorktreeDiff } from "./worktree.js"; + +export interface WorkerConfig { + /** Hub slug or local file path for the agent */ + agentSource: string; + /** Path to the worktree */ + worktreePath: string; + /** Diff context for the prompt */ + diffContext: DiffContext; + /** CLI options passed through */ + options: { + config?: string; + org?: string; + rule?: string[]; + verbose?: boolean; + }; +} + +export interface WorkerResult { + patch: string; + agentOutput: string; + duration: number; + error?: string; +} + +/** + * Build the review prompt that gets prepended to the agent's own instructions. + */ +function buildReviewPrompt(diffContext: DiffContext): string { + const fileList = diffContext.changedFiles.map((f) => `- ${f}`).join("\n"); + + let prompt = `You are a code review agent. Your job is to review ONLY the changed lines in the diff below and check them against your review rules. + +## Scope — READ THIS CAREFULLY +- You MUST only review the files and lines shown in the diff. +- Do NOT read, scan, or report on files outside the diff. +- Do NOT report pre-existing issues in unchanged code — even in files that appear in the diff, only the changed lines are in scope. +- If you need surrounding context to understand a change, you may read that file, but you must NOT flag issues in the unchanged parts. + +## Changes (base: ${diffContext.baseBranch}) +### Changed files +${fileList || "(no files changed)"} + +### Diff +\`\`\`diff +${diffContext.diff || "(no diff available)"} +\`\`\` +`; + + if (diffContext.truncated) { + prompt += `\nNote: The diff was truncated due to size. You may use Read tool to view the full content of the changed files listed above — but do NOT explore beyond them.\n`; + } + + prompt += ` +## Rules +- You are in a temporary worktree. Dependencies (node_modules, etc.) are not installed. +- ONLY flag issues that exist in the changed lines of the diff. +- ONLY make edits to files listed in the changed files above, and only to fix violations of your specific review rules in the changed code. +- Do NOT make general improvements, refactoring, documentation changes, or style fixes. +- If there are no violations in the changed code, do NOT edit any files. State that no issues were found and exit. +`; + + return prompt; +} + +/** + * Load the agent's instructions from a local markdown file. + */ +function loadLocalAgentInstructions(filePath: string): string { + try { + return fs.readFileSync(filePath, "utf-8"); + } catch { + return ""; + } +} + +/** + * Entry point for the forked worker process. + * Listens for IPC messages from the orchestrator. + */ +export async function runReviewWorker(): Promise { + if (typeof process.send !== "function") { + console.error( + "Error: review worker must be run as a forked process (via cn review).", + ); + process.exit(1); + } + + process.on("message", async (msg: { type: string; config: WorkerConfig }) => { + if (msg.type !== "run-review") return; + + const { config } = msg; + const startTime = Date.now(); + + try { + // Change working directory to the worktree + process.chdir(config.worktreePath); + + // Initialize services in auto mode (full tool access) + await initializeServices({ + options: { + config: config.options.config, + org: config.options.org, + rule: config.options.rule, + }, + headless: true, + toolPermissionOverrides: { + mode: "auto", + }, + }); + + // Get model service + const modelState = await getService( + SERVICE_NAMES.MODEL, + ); + + if (!modelState.model || !modelState.llmApi) { + throw new Error("Failed to initialize model service"); + } + + // Build the review prompt + const reviewPrompt = buildReviewPrompt(config.diffContext); + + // Load agent-specific instructions if it's a local file + let agentInstructions = ""; + if ( + config.agentSource.endsWith(".md") && + fs.existsSync(config.agentSource) + ) { + agentInstructions = loadLocalAgentInstructions(config.agentSource); + } + + // Build the user prompt parts and add to ChatHistoryService + // so streamChatResponse picks them up via refreshChatHistoryFromService + const chatHistorySvc = services.chatHistory; + + const promptParts: string[] = []; + if (agentInstructions) { + promptParts.push(`## Agent Instructions\n\n${agentInstructions}`); + } + promptParts.push(reviewPrompt); + + const userMessage = promptParts.join("\n\n"); + chatHistorySvc.addUserMessage(userMessage); + + const chatHistory = chatHistorySvc.getHistory(); + + // Collect agent text output + let agentOutput = ""; + + // Run the agent + const abortController = new AbortController(); + const response = await streamChatResponse( + chatHistory, + modelState.model, + modelState.llmApi, + abortController, + ); + + agentOutput = response || ""; + + // Capture the diff of changes the agent made + const patch = captureWorktreeDiff(config.worktreePath); + + const result: WorkerResult = { + patch, + agentOutput, + duration: (Date.now() - startTime) / 1000, + }; + + process.send!({ type: "result", result }); + } catch (e: any) { + const result: WorkerResult = { + patch: "", + agentOutput: "", + duration: (Date.now() - startTime) / 1000, + error: e.message || String(e), + }; + + process.send!({ type: "result", result }); + } + }); + + // Signal ready + process.send!({ type: "ready" }); +} diff --git a/extensions/cli/src/commands/review/worktree.ts b/extensions/cli/src/commands/review/worktree.ts new file mode 100644 index 000000000..f312954d2 --- /dev/null +++ b/extensions/cli/src/commands/review/worktree.ts @@ -0,0 +1,116 @@ +import { exec, execSync } from "child_process"; +import * as fs from "fs"; +import * as os from "os"; +import * as path from "path"; +import { promisify } from "util"; + +import { logger } from "../../util/logger.js"; + +const execAsync = promisify(exec); + +/** + * Create a git worktree that mirrors the user's current working tree state. + * The worktree gets committed + staged + unstaged + untracked changes. + */ +export async function createWorktree(index: number): Promise { + const tmpDir = os.tmpdir(); + const worktreePath = path.join(tmpDir, `cn-review-${Date.now()}-${index}`); + + // Create the worktree at HEAD (detached) + await execAsync(`git worktree add "${worktreePath}" HEAD --detach`); + + // Apply uncommitted changes (staged + unstaged) to the worktree + try { + const { stdout: diff } = await execAsync("git diff HEAD", { + maxBuffer: 10 * 1024 * 1024, + }); + if (diff.trim()) { + // execAsync (promisified exec) doesn't support `input`, use execSync for apply. + // This is fine: the apply targets the isolated worktree, so it won't contend. + execSync(`git -C "${worktreePath}" apply --allow-empty -`, { + input: diff, + stdio: ["pipe", "pipe", "pipe"], + }); + } + } catch (e) { + logger.debug("Could not apply uncommitted changes to worktree", { + error: e, + }); + } + + // Copy untracked files to the worktree + try { + const { stdout: untrackedOutput } = await execAsync( + "git ls-files --others --exclude-standard", + ); + + if (untrackedOutput.trim()) { + const untrackedFiles = untrackedOutput.trim().split("\n"); + const cwd = process.cwd(); + for (const file of untrackedFiles) { + const srcPath = path.join(cwd, file); + const destPath = path.join(worktreePath, file); + const destDir = path.dirname(destPath); + if (!fs.existsSync(destDir)) { + fs.mkdirSync(destDir, { recursive: true }); + } + try { + fs.copyFileSync(srcPath, destPath); + } catch { + // Skip files that can't be copied + } + } + } + } catch (e) { + logger.debug("Could not copy untracked files to worktree", { error: e }); + } + + // Commit the initial state so captureWorktreeDiff only captures agent changes + await execAsync(`git -C "${worktreePath}" add -A`); + await execAsync( + `git -C "${worktreePath}" commit -m "cn-review: user working tree state (staged + unstaged + untracked)" --allow-empty --no-verify`, + ); + + return worktreePath; +} + +/** + * Capture the diff of changes the agent made in the worktree. + * Returns a unified diff patch string. + */ +export function captureWorktreeDiff(worktreePath: string): string { + try { + // Add all new files so they show up in the diff + execSync(`git -C "${worktreePath}" add -A`, { + stdio: ["pipe", "pipe", "pipe"], + }); + return execSync(`git -C "${worktreePath}" diff --cached`, { + encoding: "utf-8", + maxBuffer: 10 * 1024 * 1024, + stdio: ["pipe", "pipe", "pipe"], + }); + } catch { + return ""; + } +} + +/** + * Remove a git worktree. + */ +export async function cleanupWorktree(worktreePath: string): Promise { + try { + await execAsync(`git worktree remove "${worktreePath}" --force`); + } catch (e) { + logger.debug("Could not remove worktree, attempting manual cleanup", { + worktreePath, + error: e, + }); + // Manual cleanup as fallback + try { + fs.rmSync(worktreePath, { recursive: true, force: true }); + await execAsync("git worktree prune"); + } catch { + // Best effort + } + } +} diff --git a/extensions/cli/src/env.ts b/extensions/cli/src/env.ts index 6e0a69308..0dd269713 100644 --- a/extensions/cli/src/env.ts +++ b/extensions/cli/src/env.ts @@ -9,7 +9,7 @@ export const env = { apiBase: process.env.CONTINUE_API_BASE ?? "https://api.continue.dev/", workOsClientId: process.env.WORKOS_CLIENT_ID ?? "client_01J0FW6XN8N2XJAECF7NE0Y65J", - appUrl: process.env.HUB_URL || "https://hub.continue.dev", + appUrl: process.env.HUB_URL || "https://continue.dev", continueHome: process.env.CONTINUE_GLOBAL_DIR || path.join(os.homedir(), ".continue"), }; diff --git a/extensions/cli/src/index.ts b/extensions/cli/src/index.ts index 37dfd2cba..39e0fcb69 100644 --- a/extensions/cli/src/index.ts +++ b/extensions/cli/src/index.ts @@ -11,6 +11,7 @@ import { logout } from "./commands/logout.js"; import { listSessionsCommand } from "./commands/ls.js"; import { remoteTest } from "./commands/remote-test.js"; import { remote } from "./commands/remote.js"; +import { review } from "./commands/review.js"; import { serve } from "./commands/serve.js"; import { handleValidationErrors, @@ -419,6 +420,22 @@ program await remoteTest(prompt, options.url); }); +// Review subcommand +program + .command("review") + .description("Run AI-powered reviews on your changes") + .option("--base ", "Base git ref to diff against (default: auto-detect)") + .option("--format ", "Output format") + .option("--fix", "Automatically apply suggested fixes") + .option("--patch", "Show patches") + .option("--fail-fast", "Stop on first failure") + .option("--review-agents ", "Specific review agents to run") + .option("--verbose", "Enable verbose logging") + .action(async (options) => { + await posthogService.capture("cliCommand", { command: "review" }); + await review(options); + }); + // Handle unknown commands program.on("command:*", () => { console.error(`Error: Unknown command '${program.args.join(" ")}'\n`); @@ -427,6 +444,15 @@ program.on("command:*", () => { }); export async function runCli(): Promise { + // Handle internal worker subprocess for cn review + if (process.argv.includes("--internal-review-worker")) { + const { runReviewWorker } = await import( + "./commands/review/reviewWorker.js" + ); + await runReviewWorker(); + return; + } + // Parse arguments and handle errors try { program.parse(); diff --git a/extensions/cli/src/services/MCPService.ts b/extensions/cli/src/services/MCPService.ts index fdf995b0b..98d7f2d74 100644 --- a/extensions/cli/src/services/MCPService.ts +++ b/extensions/cli/src/services/MCPService.ts @@ -321,7 +321,7 @@ export class MCPService try { if (unrendered.length > 0) { const message = `${serverConfig.name} MCP Server has unresolved secrets: ${unrendered.join(", ")} -For personal use you can set the secret in the hub at https://hub.continue.dev/settings/secrets or pass it to the CLI environment. +For personal use you can set the secret in the hub at https://continue.dev/settings/secrets or pass it to the CLI environment. Org-level secrets can only be used for MCP by Background Agents (https://docs.continue.dev/hub/agents/overview) when \"Include in Env\" is enabled for the secret.`; if (this.isHeadless) { throw new Error(message); diff --git a/extensions/cli/src/services/ResourceMonitoringService.ts b/extensions/cli/src/services/ResourceMonitoringService.ts index a114d3027..a08a15f2f 100644 --- a/extensions/cli/src/services/ResourceMonitoringService.ts +++ b/extensions/cli/src/services/ResourceMonitoringService.ts @@ -45,6 +45,9 @@ class ResourceMonitoringService { private maxHistorySize = 300; // Keep 5 minutes at 1s intervals private lastCpuUsage = process.cpuUsage(); private lastTimestamp = Date.now(); + private lastFdCheckTime = Date.now(); + private fdCheckIntervalMs = 5000; // Check file descriptors every 5 seconds + private cacheFileCount: number | null = null; async initialize(): Promise { // Start monitoring if verbose mode is enabled @@ -70,6 +73,12 @@ class ResourceMonitoringService { this.lastCpuUsage = process.cpuUsage(); this.lastTimestamp = Date.now(); + // Initialize file descriptor count on start + this.updateFileDescriptorCount().catch(() => { + // Ignore errors during initialization + }); + this.lastFdCheckTime = Date.now(); + this.monitoringInterval = setInterval(() => { this.collectResourceUsage(); }, this.intervalMs); @@ -127,16 +136,10 @@ class ResourceMonitoringService { }, }; - // Try to get file descriptor count (Unix only) - this.getFileDescriptorCount() - .then((count) => { - if (count !== null) { - usage.fileDescriptors = count; - } - }) - .catch(() => { - // Ignore errors for file descriptor counting - }); + // Use cached file descriptor count to avoid lsof command leak + if (this.cacheFileCount !== null) { + usage.fileDescriptors = this.cacheFileCount; + } return usage; } @@ -215,6 +218,14 @@ class ResourceMonitoringService { this.resourceHistory = this.resourceHistory.slice(-this.maxHistorySize); } + // Periodically update file descriptor count to prevent lsof command leak + // Issue: https://github.com/continuedev/continue/issues/9422 + const now = Date.now(); + if (now - this.lastFdCheckTime >= this.fdCheckIntervalMs) { + this.updateFileDescriptorCount(); + this.lastFdCheckTime = now; + } + // Check for potential issues and log warnings this.checkResourceThresholds(usage); } catch (error) { @@ -251,6 +262,13 @@ class ResourceMonitoringService { } } + private async updateFileDescriptorCount(): Promise { + const count = await this.getFileDescriptorCount(); + if (count !== null) { + this.cacheFileCount = count; + } + } + private async getFileDescriptorCount(): Promise { if (process.platform === "win32") { return null; // Not supported on Windows diff --git a/extensions/cli/src/slashCommands.test.ts b/extensions/cli/src/slashCommands.test.ts index fee0939dc..f271a7117 100644 --- a/extensions/cli/src/slashCommands.test.ts +++ b/extensions/cli/src/slashCommands.test.ts @@ -59,7 +59,7 @@ vi.mock("./util/logger.js", () => ({ vi.mock("./env.js", () => ({ env: { continueHome: "/home/test/.continue", - appUrl: "https://hub.continue.dev", + appUrl: "https://continue.dev", }, })); diff --git a/extensions/cli/src/stream/streamChatResponse.ts b/extensions/cli/src/stream/streamChatResponse.ts index d4c0d85ee..d0b677b74 100644 --- a/extensions/cli/src/stream/streamChatResponse.ts +++ b/extensions/cli/src/stream/streamChatResponse.ts @@ -12,6 +12,7 @@ import { pruneLastMessage } from "../compaction.js"; import { services } from "../services/index.js"; import { posthogService } from "../telemetry/posthogService.js"; import { telemetryService } from "../telemetry/telemetryService.js"; +import { applyChatCompletionToolOverrides } from "../tools/applyToolOverrides.js"; import { ToolCall } from "../tools/index.js"; import { chatCompletionStreamWithBackoff, @@ -460,7 +461,11 @@ export async function streamChatResponse( ); // Recompute tools on each iteration to handle mode changes during streaming - const tools = await getRequestTools(isHeadless); + const rawTools = await getRequestTools(isHeadless); + const tools = applyChatCompletionToolOverrides( + rawTools, + model.chatOptions?.toolOverrides, + ); // Pre-API auto-compaction checkpoint (now includes tools) const preCompactionResult = await handlePreApiCompaction(chatHistory, { diff --git a/extensions/cli/src/tools/applyToolOverrides.test.ts b/extensions/cli/src/tools/applyToolOverrides.test.ts new file mode 100644 index 000000000..7d3868e6e --- /dev/null +++ b/extensions/cli/src/tools/applyToolOverrides.test.ts @@ -0,0 +1,64 @@ +import type { ChatCompletionTool } from "openai/resources.mjs"; +import { describe, expect, it } from "vitest"; + +import { applyChatCompletionToolOverrides } from "./applyToolOverrides.js"; + +describe("applyChatCompletionToolOverrides", () => { + const mockTools: ChatCompletionTool[] = [ + { + type: "function", + function: { name: "read_file", description: "Read a file" }, + }, + { + type: "function", + function: { name: "write_file", description: "Write a file" }, + }, + ]; + + it("returns tools unchanged when no overrides", () => { + expect(applyChatCompletionToolOverrides(mockTools, undefined)).toEqual( + mockTools, + ); + expect(applyChatCompletionToolOverrides(mockTools, {})).toEqual(mockTools); + }); + + it("applies description override", () => { + const result = applyChatCompletionToolOverrides(mockTools, { + read_file: { description: "Custom read description" }, + }); + expect(result[0].function.description).toBe("Custom read description"); + expect(result[1].function.description).toBe("Write a file"); + }); + + it("filters out disabled tools", () => { + const result = applyChatCompletionToolOverrides(mockTools, { + read_file: { disabled: true }, + }); + expect(result).toHaveLength(1); + expect(result[0].function.name).toBe("write_file"); + }); + + it("handles multiple overrides", () => { + const result = applyChatCompletionToolOverrides(mockTools, { + read_file: { description: "Custom read" }, + write_file: { description: "Custom write" }, + }); + expect(result[0].function.description).toBe("Custom read"); + expect(result[1].function.description).toBe("Custom write"); + }); + + it("ignores overrides for non-existent tools", () => { + const result = applyChatCompletionToolOverrides(mockTools, { + non_existent_tool: { description: "Should be ignored" }, + }); + expect(result).toEqual(mockTools); + }); + + it("does not mutate original tools", () => { + const originalDescription = mockTools[0].function.description; + applyChatCompletionToolOverrides(mockTools, { + read_file: { description: "Modified description" }, + }); + expect(mockTools[0].function.description).toBe(originalDescription); + }); +}); diff --git a/extensions/cli/src/tools/applyToolOverrides.ts b/extensions/cli/src/tools/applyToolOverrides.ts new file mode 100644 index 000000000..4e35bb424 --- /dev/null +++ b/extensions/cli/src/tools/applyToolOverrides.ts @@ -0,0 +1,31 @@ +import type { ToolOverrideConfig } from "@continuedev/config-yaml"; +import type { ChatCompletionTool } from "openai/resources.mjs"; + +/** + * Applies tool prompt overrides from YAML config to CLI tools. + * Supports description changes and disabling tools. + */ +export function applyChatCompletionToolOverrides( + tools: ChatCompletionTool[], + overrides: Record | undefined, +): ChatCompletionTool[] { + if (!overrides) { + return tools; + } + + return tools + .filter((tool) => !overrides[tool.function.name]?.disabled) + .map((tool) => { + const override = overrides[tool.function.name]; + if (!override?.description) { + return tool; + } + return { + ...tool, + function: { + ...tool.function, + description: override.description, + }, + }; + }); +} diff --git a/extensions/cli/src/ui/MCPSelector.tsx b/extensions/cli/src/ui/MCPSelector.tsx index 2bfb5e441..67563b391 100644 --- a/extensions/cli/src/ui/MCPSelector.tsx +++ b/extensions/cli/src/ui/MCPSelector.tsx @@ -288,7 +288,7 @@ export const MCPSelector: React.FC = ({ onCancel }) => { case "explore-mcp-servers": // Open the MCP servers hub in the default browser const open = (await import("open")).default; - await open("https://hub.continue.dev/hub?type=mcpServers"); + await open("https://continue.dev/hub?type=mcpServers"); setMessage("Opened MCP servers hub in browser"); break; case "back": diff --git a/extensions/cli/src/ui/TUIChat.tsx b/extensions/cli/src/ui/TUIChat.tsx index a3fef65b9..b20d4db12 100644 --- a/extensions/cli/src/ui/TUIChat.tsx +++ b/extensions/cli/src/ui/TUIChat.tsx @@ -183,7 +183,6 @@ function useChatHandlers( }; } -// eslint-disable-next-line complexity const TUIChat: React.FC = ({ remoteUrl, configPath, diff --git a/extensions/cli/src/ui/hooks/useConfigSelector.ts b/extensions/cli/src/ui/hooks/useConfigSelector.ts index bed4efa8f..02ef6a34e 100644 --- a/extensions/cli/src/ui/hooks/useConfigSelector.ts +++ b/extensions/cli/src/ui/hooks/useConfigSelector.ts @@ -36,7 +36,7 @@ export function useConfigSelector({ if (config.type === "create") { // Open the web browser to create new assistant - const url = new URL("https://hub.continue.dev/new"); + const url = new URL("https://continue.dev/new"); url.searchParams.set("type", "assistant"); try { diff --git a/extensions/intellij/README.md b/extensions/intellij/README.md index 3fcb09ddb..b9db148b1 100644 --- a/extensions/intellij/README.md +++ b/extensions/intellij/README.md @@ -10,9 +10,6 @@ - - -

@@ -24,7 +21,7 @@ -Get started in [Mission Control](https://hub.continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) +Get started in [Mission Control](https://continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) ## Agent diff --git a/extensions/vscode/README.md b/extensions/vscode/README.md index e78f483d5..26100f9c2 100644 --- a/extensions/vscode/README.md +++ b/extensions/vscode/README.md @@ -10,9 +10,6 @@ - - -

diff --git a/extensions/vscode/src/extension/ConfigYamlDocumentLinkProvider.ts b/extensions/vscode/src/extension/ConfigYamlDocumentLinkProvider.ts index 75a6410f4..340ddcd07 100644 --- a/extensions/vscode/src/extension/ConfigYamlDocumentLinkProvider.ts +++ b/extensions/vscode/src/extension/ConfigYamlDocumentLinkProvider.ts @@ -57,7 +57,7 @@ export class ConfigYamlDocumentLinkProvider const resolvedPath = path.resolve(parentPath, slug); linkUri = vscode.Uri.file(resolvedPath); } else { - linkUri = vscode.Uri.parse(`https://hub.continue.dev/${slug}`); + linkUri = vscode.Uri.parse(`https://continue.dev/${slug}`); } const link = new vscode.DocumentLink(range, linkUri); diff --git a/gui/public/logos/openrouter.png b/gui/public/logos/openrouter.png new file mode 100644 index 000000000..04f998a53 Binary files /dev/null and b/gui/public/logos/openrouter.png differ diff --git a/gui/rules.md b/gui/rules.md index 1c097ae04..0b9a0e179 100644 --- a/gui/rules.md +++ b/gui/rules.md @@ -1 +1 @@ -- Whenever adding links in the `gui` that direct to `hub.continue.dev`, you should use an onClick handler that calls `ideMessenger.request("controlPlane/openUrl", { path, orgSlug: undefined });` instead of directly linking to the URL with an `href`. +- Whenever adding links in the `gui` that direct to `continue.dev`, you should use an onClick handler that calls `ideMessenger.request("controlPlane/openUrl", { path, orgSlug: undefined });` instead of directly linking to the URL with an `href`. diff --git a/gui/src/components/History/HistoryTableRow.tsx b/gui/src/components/History/HistoryTableRow.tsx index 4c6fa2417..45c7f1309 100644 --- a/gui/src/components/History/HistoryTableRow.tsx +++ b/gui/src/components/History/HistoryTableRow.tsx @@ -1,8 +1,8 @@ import { ArrowDownOnSquareIcon, + CloudIcon, PencilSquareIcon, TrashIcon, - CloudIcon, } from "@heroicons/react/24/outline"; import { BaseSessionMetadata } from "core"; import type { RemoteSessionMetadata } from "core/control-plane/client"; @@ -22,6 +22,7 @@ import { } from "../../redux/thunks/session"; import { isShareSessionSupported } from "../../util"; import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip"; +import { ToolTip } from "../gui/Tooltip"; const shareSessionSupported = isShareSessionSupported(); @@ -144,6 +145,18 @@ export function HistoryTableRow({ Remote )} + + {sessionMetadata.messageCount !== undefined && ( + + + {sessionMetadata.messageCount} + + + )} )} @@ -166,7 +179,7 @@ export function HistoryTableRow({ {hovered && !editing && ( - + {isRemote ? ( - dispatch(setHasReasoningEnabled(!hasReasoningEnabled)) - } + onClick={() => { + dispatch(setHasReasoningEnabled(!hasReasoningEnabled)); + if (defaultModel?.title) { + dispatch( + setReasoningSetting({ + modelTitle: defaultModel.title, + enabled: !hasReasoningEnabled, + }), + ); + } + }} > - ideMessenger.post( - "openUrl", - "https://hub.continue.dev/explore/prompts", - ), + ideMessenger.post("openUrl", "https://continue.dev/explore/prompts"), description: "", name: "", id: "", diff --git a/gui/src/components/modelSelection/ModelSelectionListbox.tsx b/gui/src/components/modelSelection/ModelSelectionListbox.tsx index 04510b6bb..87ba2822c 100644 --- a/gui/src/components/modelSelection/ModelSelectionListbox.tsx +++ b/gui/src/components/modelSelection/ModelSelectionListbox.tsx @@ -2,8 +2,9 @@ import { CheckIcon, ChevronUpDownIcon, CubeIcon, + MagnifyingGlassIcon, } from "@heroicons/react/24/outline"; -import { Fragment } from "react"; +import { Fragment, useEffect, useMemo, useState } from "react"; import { Listbox, ListboxButton, @@ -19,6 +20,34 @@ interface ModelSelectionListboxProps { setSelectedProvider: (val: DisplayInfo) => void; topOptions?: DisplayInfo[]; otherOptions?: DisplayInfo[]; + searchPlaceholder?: string; +} + +/** + * Simple fuzzy search algorithm + * Returns a score based on how well the query matches the text + */ +function fuzzyScore(query: string, text: string): number { + const q = query.toLowerCase(); + const t = text.toLowerCase(); + + if (!q) return 1; // Empty query matches everything + if (!t) return 0; + + let score = 0; + let queryIdx = 0; + let lastMatchIdx = -1; + + for (let i = 0; i < t.length && queryIdx < q.length; i++) { + if (t[i] === q[queryIdx]) { + score += 1 + (lastMatchIdx === i - 1 ? 5 : 0); // Bonus for consecutive matches + lastMatchIdx = i; + queryIdx++; + } + } + + // Return 0 if not all query characters were found + return queryIdx === q.length ? score / t.length : 0; } function ModelSelectionListbox({ @@ -26,9 +55,51 @@ function ModelSelectionListbox({ setSelectedProvider, topOptions = [], otherOptions = [], + searchPlaceholder = "Search models...", }: ModelSelectionListboxProps) { + const [searchQuery, setSearchQuery] = useState(""); + + // Clear search query when provider changes + useEffect(() => { + setSearchQuery(""); + }, [selectedProvider]); + + // Combine and filter options based on fuzzy search + const filteredTopOptions = useMemo(() => { + if (!searchQuery) return topOptions; + return topOptions + .map((opt) => ({ + option: opt, + score: fuzzyScore(searchQuery, opt.title), + })) + .filter(({ score }) => score > 0) + .sort((a, b) => b.score - a.score) + .map(({ option }) => option); + }, [searchQuery, topOptions]); + + const filteredOtherOptions = useMemo(() => { + if (!searchQuery) return otherOptions; + return otherOptions + .map((opt) => ({ + option: opt, + score: fuzzyScore(searchQuery, opt.title), + })) + .filter(({ score }) => score > 0) + .sort((a, b) => b.score - a.score) + .map(({ option }) => option); + }, [searchQuery, otherOptions]); + + const hasResults = + filteredTopOptions.length > 0 || filteredOtherOptions.length > 0; + return ( - + { + setSelectedProvider(value); + setSearchQuery(""); + }} + >
@@ -54,87 +125,120 @@ function ModelSelectionListbox({ leaveFrom="opacity-100" leaveTo="opacity-0" > - - {topOptions.length > 0 && ( -
-
- Popular -
- {topOptions.map((option, index) => ( - - ` ${selected ? "bg-list-active" : "bg-input"} hover:bg-list-active hover:text-list-active-foreground relative flex cursor-default cursor-pointer select-none items-center justify-between gap-2 p-1.5 px-3 py-2 pr-4` - } - value={option} - > - {({ selected }) => ( - <> -
- {option.title === "Autodetect" ? ( - - ) : ( - window.vscMediaUrl && - option.icon && ( - - ) - )} - {option.title} -
- {selected && ( -
- ))} + + {/* Search Box */} +
+
+ + setSearchQuery(e.target.value)} + className="bg-background text-foreground placeholder-description-muted w-full border-0 px-2 py-1.5 outline-none" + onClick={(e) => e.stopPropagation()} + />
- )} - {topOptions.length > 0 && otherOptions.length > 0 && ( -
- )} - {otherOptions.length > 0 && ( -
-
- Additional providers -
- {otherOptions.map((option, index) => ( - - ` ${selected ? "bg-list-active" : "bg-input"} hover:bg-list-active hover:text-list-active-foreground relative flex cursor-default cursor-pointer select-none items-center justify-between gap-2 p-1.5 px-3 py-2 pr-4` - } - value={option} - > - {({ selected }) => ( - <> -
- {option.title === "Autodetect" ? ( - - ) : ( - window.vscMediaUrl && - option.icon && ( - - ) - )} - {option.title} -
+
- {selected && ( -
diff --git a/gui/src/forms/AddModelForm.tsx b/gui/src/forms/AddModelForm.tsx index 61a714299..ae28cd074 100644 --- a/gui/src/forms/AddModelForm.tsx +++ b/gui/src/forms/AddModelForm.tsx @@ -9,6 +9,7 @@ import { IdeMessengerContext } from "../context/IdeMessenger"; import { completionParamsInputs } from "../pages/AddNewModel/configs/completionParamsInputs"; import { DisplayInfo } from "../pages/AddNewModel/configs/models"; import { + initializeOpenRouterModels, ProviderInfo, providers, } from "../pages/AddNewModel/configs/providers"; @@ -40,6 +41,11 @@ export function AddModelForm({ const formMethods = useForm(); const ideMessenger = useContext(IdeMessengerContext); + // Initialize OpenRouter models from API on component mount + useEffect(() => { + void initializeOpenRouterModels(); + }, []); + const popularProviderTitles = [ providers["openai"]?.title || "", providers["anthropic"]?.title || "", @@ -47,6 +53,7 @@ export function AddModelForm({ providers["gemini"]?.title || "", providers["azure"]?.title || "", providers["ollama"]?.title || "", + providers["openrouter"]?.title || "", ]; const allProviders = Object.entries(providers) @@ -63,11 +70,10 @@ export function AddModelForm({ .filter((provider) => !popularProviderTitles.includes(provider.title)) .sort((a, b) => a.title.localeCompare(b.title)); - const selectedProviderApiKeyUrl = selectedModel.params.model.startsWith( - "codestral", - ) - ? CODESTRAL_URL - : selectedProvider.apiKeyUrl; + const selectedProviderApiKeyUrl = + selectedModel && selectedModel.params.model.startsWith("codestral") + ? CODESTRAL_URL + : selectedProvider.apiKeyUrl; function isDisabled() { if (selectedProvider.downloadUrl) { @@ -149,6 +155,7 @@ export function AddModelForm({ }} topOptions={popularProviders} otherOptions={otherProviders} + searchPlaceholder="Search providers..." /> Don't see your provider?{" "} diff --git a/gui/src/hooks/ParallelListeners.tsx b/gui/src/hooks/ParallelListeners.tsx index c04ae24a0..bccb7d25b 100644 --- a/gui/src/hooks/ParallelListeners.tsx +++ b/gui/src/hooks/ParallelListeners.tsx @@ -43,6 +43,9 @@ function ParallelListeners() { const selectedProfileId = useAppSelector( (store) => store.profiles.selectedProfileId, ); + const reasoningSettings = useAppSelector( + (store) => store.ui.reasoningSettings, + ); const hasDoneInitialConfigLoad = useRef(false); // Load symbols for chat on any session change @@ -88,11 +91,18 @@ function ParallelListeners() { const supportsReasoning = modelSupportsReasoning(chatModel); const isReasoningDisabled = chatModel?.completionOptions?.reasoning === false; + const wasReasoningPreviouslyEnabled = chatModel?.title + ? reasoningSettings[chatModel.title] !== false + : true; dispatch( - setHasReasoningEnabled(supportsReasoning && !isReasoningDisabled), + setHasReasoningEnabled( + supportsReasoning && + !isReasoningDisabled && + wasReasoningPreviouslyEnabled, + ), ); }, - [dispatch, hasDoneInitialConfigLoad, selectedProfileId], + [dispatch, hasDoneInitialConfigLoad, selectedProfileId, reasoningSettings], ); // Load config from the IDE diff --git a/gui/src/pages/AddNewModel/configs/openRouterModel.ts b/gui/src/pages/AddNewModel/configs/openRouterModel.ts new file mode 100644 index 000000000..4ef7461bf --- /dev/null +++ b/gui/src/pages/AddNewModel/configs/openRouterModel.ts @@ -0,0 +1,77 @@ +import { ModelProviderTags } from "../../../components/modelSelection/utils"; +import { ModelPackage } from "./models"; + +interface OpenRouterModel { + id: string; + name: string; + description: string; + context_length: number; + hugging_face_id: string; +} + +function convertOpenRouterModelToPackage(model: OpenRouterModel): ModelPackage { + return { + title: model.name, + description: model.description, + refUrl: `https://openrouter.ai/models/${model.id}`, + params: { + title: model.name, + model: model.id, + contextLength: model.context_length, + }, + isOpenSource: !!model.hugging_face_id, + tags: [ModelProviderTags.RequiresApiKey], + providerOptions: ["openrouter"], + icon: "openrouter.png", + }; +} + +async function fetchOpenRouterModelsFromAPI(): Promise { + const OPENROUTER_API_URL = "https://openrouter.ai/api/v1/models"; + + try { + const response = await fetch(OPENROUTER_API_URL); + + if (!response.ok) { + throw new Error( + `Failed to fetch OpenRouter models: ${response.status} ${response.statusText}`, + ); + } + + const data = await response.json(); + + if (!data.data || !Array.isArray(data.data)) { + console.warn("Invalid OpenRouter models data structure from API"); + return []; + } + + return data.data; + } catch (error) { + console.error("Error fetching OpenRouter models from API:", error); + return []; + } +} + +export async function getOpenRouterModelsList(): Promise { + const models: { [key: string]: ModelPackage } = {}; + + const apiModels = await fetchOpenRouterModelsFromAPI(); + + apiModels.forEach((model: OpenRouterModel) => { + if (!model.id || !model.name) { + console.warn("Skipping model with missing id or name", model); + return; + } + + // Create a unique key from the model id (replace slashes and dots with underscores) + const key = model.id.replace(/[\/.]/g, "_"); + + try { + models[key] = convertOpenRouterModelToPackage(model); + } catch (error) { + console.error(`Failed to convert model ${model.id}:`, error); + } + }); + + return Object.values(models); +} diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index b5543f193..64fa85860 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -3,6 +3,7 @@ import { ModelProviderTags } from "../../../components/modelSelection/utils"; import { completionParamsInputs } from "./completionParamsInputs"; import type { ModelPackage } from "./models"; import { models } from "./models"; +import { getOpenRouterModelsList } from "./openRouterModel"; export interface InputDescriptor { inputType: HTMLInputTypeAttribute; @@ -40,6 +41,39 @@ const openSourceModels = Object.values(models).filter( ({ isOpenSource }) => isOpenSource, ); +// Initialize OpenRouter models placeholder with a loading placeholder +const OPENROUTER_LOADING_PLACEHOLDER: ModelPackage = { + title: "Loading models...", + description: "Fetching available models from OpenRouter", + params: { + model: "placeholder", + contextLength: 0, + }, + isOpenSource: false, +}; + +let openRouterModelsList: ModelPackage[] = [OPENROUTER_LOADING_PLACEHOLDER]; + +/** + * Initialize OpenRouter models by fetching from the API + * This should be called once when the component mounts + */ +export async function initializeOpenRouterModels() { + try { + const models = await getOpenRouterModelsList(); + if (models.length > 0) { + openRouterModelsList = models; + // Update the providers object with the fetched models + if (providers.openrouter) { + providers.openrouter.packages = openRouterModelsList; + } + } + } catch (error) { + console.error("Failed to initialize OpenRouter models:", error); + // Keep placeholder on error so the UI doesn't break + } +} + export const apiBaseInput: InputDescriptor = { inputType: "text", key: "apiBase", @@ -178,6 +212,29 @@ export const providers: Partial> = { ], apiKeyUrl: "https://console.anthropic.com/account/keys", }, + openrouter: { + title: "OpenRouter", + provider: "openrouter", + description: + "OpenRouter provides access to a variety of LLMs including open-source and proprietary models.", + longDescription: `To get started with OpenRouter, sign up for an account at [openrouter.ai](https://openrouter.ai/) and obtain your API key from the dashboard.`, + icon: "openrouter.png", + tags: [ModelProviderTags.RequiresApiKey], + refPage: "openrouter", + apiKeyUrl: "https://openrouter.ai/settings/keys", + collectInputFor: [ + { + inputType: "text", + key: "apiKey", + label: "API Key", + placeholder: "Enter your OpenRouter API key", + required: true, + }, + ...completionParamsInputsConfigs, + ], + packages: openRouterModelsList, + }, + moonshot: { title: "Moonshot", provider: "moonshot", diff --git a/gui/src/pages/config/components/ToolPoliciesGroup.tsx b/gui/src/pages/config/components/ToolPoliciesGroup.tsx index 3561f9e73..1ce708aed 100644 --- a/gui/src/pages/config/components/ToolPoliciesGroup.tsx +++ b/gui/src/pages/config/components/ToolPoliciesGroup.tsx @@ -39,10 +39,26 @@ export function ToolPoliciesGroup({ const toolGroupSettings = useAppSelector( (state) => state.ui.toolGroupSettings, ); + const toolSettings = useAppSelector((state) => state.ui.toolSettings); const isGroupEnabled = useMemo(() => { return toolGroupSettings[groupName] !== "exclude"; }, [toolGroupSettings, groupName]); + const { enabledCount, totalCount } = useMemo(() => { + const total = tools.length; + const enabled = tools.filter( + (tool) => toolSettings[tool.function.name] !== "disabled", + ).length; + return { enabledCount: enabled, totalCount: total }; + }, [tools, toolSettings]); + + const badgeText = useMemo(() => { + if (enabledCount === totalCount) { + return totalCount.toString(); + } + return `${enabledCount}/${totalCount}`; + }, [enabledCount, totalCount]); + return (
)} {displayName} -
- {tools.length} +
+ {badgeText}
diff --git a/gui/src/pages/config/features/account/AccountDropdown.tsx b/gui/src/pages/config/features/account/AccountDropdown.tsx index 0a2e7fb27..449988b89 100644 --- a/gui/src/pages/config/features/account/AccountDropdown.tsx +++ b/gui/src/pages/config/features/account/AccountDropdown.tsx @@ -82,10 +82,7 @@ export function AccountDropdown() { - ideMessenger.post( - "openUrl", - "https://hub.continue.dev/settings", - ) + ideMessenger.post("openUrl", "https://continue.dev/settings") } value="manage-account" > diff --git a/gui/src/pages/config/sections/HelpSection.tsx b/gui/src/pages/config/sections/HelpSection.tsx index 577872e99..af0380b3b 100644 --- a/gui/src/pages/config/sections/HelpSection.tsx +++ b/gui/src/pages/config/sections/HelpSection.tsx @@ -181,10 +181,10 @@ export function HelpSection() {
- ideMessenger.post("openUrl", "https://hub.continue.dev/") + ideMessenger.post("openUrl", "https://continue.dev/") } /> @@ -211,10 +211,13 @@ export function HelpSection() { - ideMessenger.post("openUrl", "https://discord.gg/vapESyrFmJ") + ideMessenger.post( + "openUrl", + "https://github.com/continuedev/continue/discussions", + ) } />
diff --git a/gui/src/pages/error.tsx b/gui/src/pages/error.tsx index 0738696a6..cab6975e0 100644 --- a/gui/src/pages/error.tsx +++ b/gui/src/pages/error.tsx @@ -1,10 +1,9 @@ import { ArrowPathIcon, FlagIcon } from "@heroicons/react/24/outline"; -import { DISCORD_LINK, GITHUB_LINK } from "core/util/constants"; +import { DISCUSSIONS_LINK, GITHUB_LINK } from "core/util/constants"; import { useContext, useEffect, useState } from "react"; import { useDispatch } from "react-redux"; import { useNavigate, useRouteError } from "react-router-dom"; import { Button, SecondaryButton } from "../components"; -import { DiscordIcon } from "../components/svg/DiscordIcon"; import { GithubIcon } from "../components/svg/GithubIcon"; import { IdeMessengerContext } from "../context/IdeMessenger"; import { newSession } from "../redux/slices/sessionSlice"; @@ -58,7 +57,7 @@ const ErrorPage: React.FC = () => {

- Report the issue on GitHub or Discord: + Report the issue on GitHub or Discussions:

@@ -66,13 +65,13 @@ const ErrorPage: React.FC = () => { onClick={() => openUrl(GITHUB_LINK)} className="flex items-center justify-center space-x-2 rounded-lg px-4 py-2 text-base text-white" > - GitHub + GitHub Issues openUrl(DISCORD_LINK)} + onClick={() => openUrl(DISCUSSIONS_LINK)} className="flex items-center justify-center rounded-lg text-base" > - Discord + Discussions
diff --git a/gui/src/pages/gui/StreamError.tsx b/gui/src/pages/gui/StreamError.tsx index 7f7c32245..520d95a42 100644 --- a/gui/src/pages/gui/StreamError.tsx +++ b/gui/src/pages/gui/StreamError.tsx @@ -5,12 +5,11 @@ import { Cog6ToothIcon, KeyIcon, } from "@heroicons/react/24/outline"; -import { DISCORD_LINK } from "core/util/constants"; +import { DISCUSSIONS_LINK } from "core/util/constants"; import { useContext, useMemo } from "react"; import { GhostButton, SecondaryButton } from "../../components"; import { useEditModel } from "../../components/mainInput/Lump/useEditBlock"; import { useMainEditor } from "../../components/mainInput/TipTapEditor"; -import { DiscordIcon } from "../../components/svg/DiscordIcon"; import { GithubIcon } from "../../components/svg/GithubIcon"; import ToggleDiv from "../../components/ToggleDiv"; import { useAuth } from "../../context/Auth"; @@ -230,7 +229,7 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { {selectedModel ? ( {`Provider: `} - {selectedModel.provider} + {selectedModel.underlyingProviderName} ) : null} {/* TODO: status page links for providers? */} @@ -294,7 +293,7 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { const issueBody = `**Error Details** Model: ${selectedModel?.title || "Unknown"} -Provider: ${selectedModel?.provider || "Unknown"} +Provider: ${selectedModel ? `${selectedModel.underlyingProviderName}${selectedModel.provider === "continue-proxy" ? " (continue-proxy)" : ""}` : "Unknown"} Status Code: ${statusCode || "N/A"} **Error Output** @@ -315,11 +314,11 @@ Please add any additional context about the error here { - ideMessenger.post("openUrl", DISCORD_LINK); + ideMessenger.post("openUrl", DISCUSSIONS_LINK); }} > - - Discord + + Discussions
diff --git a/gui/src/redux/slices/sessionSlice.ts b/gui/src/redux/slices/sessionSlice.ts index abe3434c8..75d87703f 100644 --- a/gui/src/redux/slices/sessionSlice.ts +++ b/gui/src/redux/slices/sessionSlice.ts @@ -658,6 +658,14 @@ export const sessionSlice = createSlice({ message.metadata?.responsesOutputItemId ) { lastMessage.metadata = lastMessage.metadata || {}; + // Accumulate fc_ IDs for parallel tool calls (OpenAI Responses API) + if (!lastMessage.metadata.responsesOutputItemIds) { + lastMessage.metadata.responsesOutputItemIds = []; + } + (lastMessage.metadata.responsesOutputItemIds as string[]).push( + message.metadata.responsesOutputItemId as string, + ); + // Also keep singular for backwards compatibility lastMessage.metadata.responsesOutputItemId = message.metadata .responsesOutputItemId as string; } diff --git a/gui/src/redux/slices/uiSlice.ts b/gui/src/redux/slices/uiSlice.ts index c020cadd0..415f927c7 100644 --- a/gui/src/redux/slices/uiSlice.ts +++ b/gui/src/redux/slices/uiSlice.ts @@ -15,6 +15,7 @@ export type ToolGroupPolicy = "include" | "exclude"; export type ToolPolicies = { [toolName: string]: ToolPolicy }; export type RulePolicies = { [ruleName: string]: RulePolicy }; export type ToolGroupPolicies = { [toolGroupName: string]: ToolGroupPolicy }; +export type ReasoningSettings = { [modelTitle: string]: boolean }; type UIState = { showDialog: boolean; @@ -26,6 +27,7 @@ type UIState = { toolSettings: ToolPolicies; toolGroupSettings: ToolGroupPolicies; ruleSettings: RulePolicies; + reasoningSettings: ReasoningSettings; ttsActive: boolean; }; @@ -46,6 +48,7 @@ export const DEFAULT_UI_SLICE: UIState = { [BUILT_IN_GROUP_NAME]: "include", }, ruleSettings: {}, + reasoningSettings: {}, }; export const uiSlice = createSlice({ @@ -139,6 +142,13 @@ export const uiSlice = createSlice({ setTTSActive: (state, { payload }: PayloadAction) => { state.ttsActive = payload; }, + setReasoningSetting: ( + state, + action: PayloadAction<{ modelTitle: string; enabled: boolean }>, + ) => { + state.reasoningSettings[action.payload.modelTitle] = + action.payload.enabled; + }, }, }); @@ -155,6 +165,7 @@ export const { addRule, toggleRuleSetting, setTTSActive, + setReasoningSetting, } = uiSlice.actions; export default uiSlice.reducer; diff --git a/gui/src/redux/store.ts b/gui/src/redux/store.ts index 73b425f5d..df82ea621 100644 --- a/gui/src/redux/store.ts +++ b/gui/src/redux/store.ts @@ -52,7 +52,12 @@ const saveSubsetFilters = [ "codeToEdit", ]), createFilter("config", []), - createFilter("ui", ["toolSettings", "toolGroupSettings", "ruleSettings"]), + createFilter("ui", [ + "toolSettings", + "toolGroupSettings", + "ruleSettings", + "reasoningSettings", + ]), createFilter("indexing", []), createFilter("tabs", ["tabs"]), createFilter("profiles", [ diff --git a/gui/src/util/errorAnalysis.test.ts b/gui/src/util/errorAnalysis.test.ts index e7d2b8868..c4c7afab4 100644 --- a/gui/src/util/errorAnalysis.test.ts +++ b/gui/src/util/errorAnalysis.test.ts @@ -228,10 +228,10 @@ describe("errorAnalysis", () => { }); describe("selectedModel handling", () => { - it("should use selectedModel title and provider", () => { + it("should use selectedModel title and underlyingProviderName", () => { const selectedModel = { title: "GPT-4", - provider: "openai", + underlyingProviderName: "openai", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -246,7 +246,7 @@ describe("errorAnalysis", () => { it("should use selectedModel info when no matching provider is found", () => { const selectedModel = { title: "Custom Model", - provider: "unknown-provider", + underlyingProviderName: "unknown-provider", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -258,7 +258,7 @@ describe("errorAnalysis", () => { it("should handle selectedModel with missing title", () => { const selectedModel = { - provider: "openai", + underlyingProviderName: "openai", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -270,7 +270,7 @@ describe("errorAnalysis", () => { ); }); - it("should handle selectedModel with missing provider", () => { + it("should handle selectedModel with missing underlyingProviderName", () => { const selectedModel = { title: "Custom Model", }; @@ -297,7 +297,7 @@ describe("errorAnalysis", () => { it("should match Anthropic provider", () => { const selectedModel = { title: "Claude 3.5 Sonnet", - provider: "anthropic", + underlyingProviderName: "anthropic", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -311,7 +311,7 @@ describe("errorAnalysis", () => { it("should match Groq provider", () => { const selectedModel = { title: "Llama 3.1 70B", - provider: "groq", + underlyingProviderName: "groq", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -323,7 +323,7 @@ describe("errorAnalysis", () => { it("should match provider with no apiKeyUrl", () => { const selectedModel = { title: "Llama 3.1", - provider: "ollama", + underlyingProviderName: "ollama", }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -335,7 +335,7 @@ describe("errorAnalysis", () => { it("should be case sensitive for provider matching", () => { const selectedModel = { title: "GPT-4", - provider: "OpenAI", // Different case + underlyingProviderName: "OpenAI", // Different case }; const error = new Error("Test error"); const result = analyzeError(error, selectedModel); @@ -352,7 +352,7 @@ describe("errorAnalysis", () => { ); const selectedModel = { title: "GPT-4", - provider: "openai", + underlyingProviderName: "openai", }; const result = analyzeError(error, selectedModel); @@ -382,7 +382,7 @@ describe("errorAnalysis", () => { ); const selectedModel = { title: "GPT-4", - provider: "openai", + underlyingProviderName: "openai", }; const result = analyzeError(error, selectedModel); @@ -486,7 +486,7 @@ describe("errorAnalysis", () => { ); const selectedModel = { title: "GPT-4", - provider: "openai", + underlyingProviderName: "openai", }; const result = analyzeError(error, selectedModel); @@ -502,7 +502,7 @@ describe("errorAnalysis", () => { ); const selectedModel = { title: "Claude 3.5 Sonnet", - provider: "anthropic", + underlyingProviderName: "anthropic", }; const result = analyzeError(error, selectedModel); @@ -514,7 +514,7 @@ describe("errorAnalysis", () => { const error = new Error("Network request failed"); const selectedModel = { title: "Local Model", - provider: "ollama", + underlyingProviderName: "ollama", }; const result = analyzeError(error, selectedModel); diff --git a/gui/src/util/errorAnalysis.ts b/gui/src/util/errorAnalysis.ts index 82ee8df3a..17a37dca5 100644 --- a/gui/src/util/errorAnalysis.ts +++ b/gui/src/util/errorAnalysis.ts @@ -49,12 +49,12 @@ export function analyzeError( if (selectedModel) { modelTitle = selectedModel.title; - providerName = selectedModel.provider; + providerName = selectedModel.underlyingProviderName; // If there's a matching provider from add model form provider info // We can get more info const foundProvider = Object.values(providers).find( - (p) => p?.provider === selectedModel.provider, + (p) => p?.provider === selectedModel.underlyingProviderName, ); if (foundProvider) { providerName = foundProvider.title; diff --git a/packages/config-yaml/src/interfaces/slugs.ts b/packages/config-yaml/src/interfaces/slugs.ts index 30197d059..3ff57068b 100644 --- a/packages/config-yaml/src/interfaces/slugs.ts +++ b/packages/config-yaml/src/interfaces/slugs.ts @@ -68,6 +68,8 @@ interface FullSlugIdentifier extends BasePackageIdentifier { interface FileIdentifier extends BasePackageIdentifier { uriType: "file"; fileUri: string; + /** Pre-read content - bypasses fs.readFileSync for vscode-remote:// URIs in WSL */ + content?: string; } export type PackageIdentifier = FullSlugIdentifier | FileIdentifier; diff --git a/packages/config-yaml/src/registryClient.test.ts b/packages/config-yaml/src/registryClient.test.ts index d5875771a..618007d1c 100644 --- a/packages/config-yaml/src/registryClient.test.ts +++ b/packages/config-yaml/src/registryClient.test.ts @@ -131,6 +131,20 @@ describe("RegistryClient", () => { "Unknown package identifier type: unknown", ); }); + + it("should return pre-read content directly for file with content field", async () => { + const client = new RegistryClient(); + + const id: PackageIdentifier = { + uriType: "file", + fileUri: "/nonexistent/path.yaml", + content: "pre-read yaml content", + }; + + // Should return content without trying to read the nonexistent file + const result = await client.getContent(id); + expect(result).toBe("pre-read yaml content"); + }); }); describe("getContentFromFilePath", () => { diff --git a/packages/config-yaml/src/registryClient.ts b/packages/config-yaml/src/registryClient.ts index c027b31e8..e889f76d7 100644 --- a/packages/config-yaml/src/registryClient.ts +++ b/packages/config-yaml/src/registryClient.ts @@ -24,6 +24,11 @@ export class RegistryClient implements Registry { } async getContent(id: PackageIdentifier): Promise { + // Return pre-read content if available (for vscode-remote:// URIs in WSL) + if (id.uriType === "file" && id.content !== undefined) { + return id.content; + } + switch (id.uriType) { case "file": return this.getContentFromFilePath(id.fileUri); diff --git a/packages/config-yaml/src/schemas/models.ts b/packages/config-yaml/src/schemas/models.ts index cefbd93fa..89856e35c 100644 --- a/packages/config-yaml/src/schemas/models.ts +++ b/packages/config-yaml/src/schemas/models.ts @@ -87,10 +87,38 @@ export const embedOptionsSchema = z.object({ }); export type EmbedOptions = z.infer; +/** + * Schema for overriding a tool's system message description. + * Used for models that don't support native tool calling. + */ +export const systemMessageDescriptionOverrideSchema = z.object({ + prefix: z.string().optional(), + exampleArgs: z + .array(z.tuple([z.string(), z.union([z.string(), z.number()])])) + .optional(), +}); + +/** + * Schema for overriding built-in tool prompts. + * Allows customization of tool descriptions and behavior per model. + */ +export const toolOverrideSchema = z.object({ + description: z.string().optional(), + displayTitle: z.string().optional(), + wouldLikeTo: z.string().optional(), + isCurrently: z.string().optional(), + hasAlready: z.string().optional(), + systemMessageDescription: systemMessageDescriptionOverrideSchema.optional(), + disabled: z.boolean().optional(), +}); +export type ToolOverrideConfig = z.infer; + export const chatOptionsSchema = z.object({ baseSystemMessage: z.string().optional(), baseAgentSystemMessage: z.string().optional(), basePlanSystemMessage: z.string().optional(), + /** Tool overrides keyed by tool name (e.g., "run_terminal_command") */ + toolOverrides: z.record(z.string(), toolOverrideSchema).optional(), }); export type ChatOptions = z.infer; diff --git a/packages/continue-sdk/package-lock.json b/packages/continue-sdk/package-lock.json index ff2c99637..48ef417ad 100644 --- a/packages/continue-sdk/package-lock.json +++ b/packages/continue-sdk/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@continuedev/config-yaml": "^1.38.0", - "@openapitools/openapi-generator-cli": "^2.25.1", + "@openapitools/openapi-generator-cli": "^2.27.0", "express": "^4.22.0", "swagger-ui-express": "^5.0.0" }, @@ -19,9 +19,9 @@ } }, "node_modules/@borewit/text-codec": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.1.1.tgz", - "integrity": "sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.1.tgz", + "integrity": "sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==", "license": "MIT", "funding": { "type": "github", @@ -109,102 +109,6 @@ "node": "20 || >=22" } }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "license": "ISC", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "license": "MIT" - }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/@lukeed/csprng": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", @@ -226,12 +130,12 @@ } }, "node_modules/@nestjs/common": { - "version": "11.1.9", - "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.9.tgz", - "integrity": "sha512-zDntUTReRbAThIfSp3dQZ9kKqI+LjgLp5YZN5c1bgNRDuoeLySAoZg46Bg1a+uV8TMgIRziHocglKGNzr6l+bQ==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.11.tgz", + "integrity": "sha512-R/+A8XFqLgN8zNs2twhrOaE7dJbRQhdPX3g46am4RT/x8xGLqDphrXkUIno4cGUZHxbczChBAaAPTdPv73wDZA==", "license": "MIT", "dependencies": { - "file-type": "21.1.0", + "file-type": "21.2.0", "iterare": "1.2.1", "load-esm": "1.0.3", "tslib": "2.8.1", @@ -257,9 +161,9 @@ } }, "node_modules/@nestjs/core": { - "version": "11.1.9", - "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.9.tgz", - "integrity": "sha512-a00B0BM4X+9z+t3UxJqIZlemIwCQdYoPKrMcM+ky4z3pkqqG1eTWexjs+YXpGObnLnjtMPVKWlcZHp3adDYvUw==", + "version": "11.1.11", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.11.tgz", + "integrity": "sha512-H9i+zT3RvHi7tDc+lCmWHJ3ustXveABCr+Vcpl96dNOxgmrx4elQSTC4W93Mlav2opfLV+p0UTHY6L+bpUA4zA==", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -336,15 +240,15 @@ "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==" }, "node_modules/@openapitools/openapi-generator-cli": { - "version": "2.25.1", - "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.25.1.tgz", - "integrity": "sha512-IY0Vgnv//v2X7+gqAj+jE+CoygdeIx15ZaF2SK+/kQR/sHBJTgxOOc0V+ti2tfxv4pkOILcTcPhmuZIobxPQhg==", + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.27.0.tgz", + "integrity": "sha512-JJWO9joe6TudGdHuwBi+NhEMIwXcz1B2FawBsJ5SjgTMQxSjArkChq+ro6Ovv6q1zfWavCs/q9uYeNPtRRcQBA==", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@nestjs/axios": "4.0.1", - "@nestjs/common": "11.1.9", - "@nestjs/core": "11.1.9", + "@nestjs/common": "11.1.11", + "@nestjs/core": "11.1.11", "@nuxtjs/opencollective": "0.3.2", "axios": "1.13.2", "chalk": "4.1.2", @@ -352,8 +256,8 @@ "compare-versions": "6.1.1", "concurrently": "9.2.1", "console.table": "0.10.0", - "fs-extra": "11.3.2", - "glob": "12.0.0", + "fs-extra": "11.3.3", + "glob": "13.0.0", "inquirer": "8.2.7", "proxy-agent": "6.5.0", "reflect-metadata": "0.2.2", @@ -378,14 +282,13 @@ "hasInstallScript": true }, "node_modules/@tokenizer/inflate": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.3.1.tgz", - "integrity": "sha512-4oeoZEBQdLdt5WmP/hx1KZ6D3/Oid/0cUb2nk4F0pTDAWy+KCH3/EnAkZF/bvckWo8I33EqBm01lIPgmgc8rCA==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", "license": "MIT", "dependencies": { - "debug": "^4.4.1", - "fflate": "^0.8.2", - "token-types": "^6.0.0" + "debug": "^4.4.3", + "token-types": "^6.1.1" }, "engines": { "node": ">=18" @@ -857,20 +760,6 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/data-uri-to-buffer": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", @@ -959,12 +848,6 @@ "node": ">= 0.4" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "license": "MIT" - }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -1198,12 +1081,6 @@ "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", "license": "MIT" }, - "node_modules/fflate": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", - "license": "MIT" - }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -1220,14 +1097,14 @@ } }, "node_modules/file-type": { - "version": "21.1.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.1.0.tgz", - "integrity": "sha512-boU4EHmP3JXkwDo4uhyBhTt5pPstxB6eEXKJBu2yu2l7aAMMm7QQYQEzssJmKReZYrFdFOJS8koVo6bXIBGDqA==", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.2.0.tgz", + "integrity": "sha512-vCYBgFOrJQLoTzDyAXAL/RFfKnXXpUYt4+tipVy26nJJhT7ftgGETf2tAQF59EEL61i3MrorV/PG6tf7LJK7eg==", "license": "MIT", "dependencies": { - "@tokenizer/inflate": "^0.3.1", - "strtok3": "^10.3.1", - "token-types": "^6.0.0", + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.4", + "token-types": "^6.1.1", "uint8array-extras": "^1.4.0" }, "engines": { @@ -1287,22 +1164,6 @@ } } }, - "node_modules/foreground-child": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", - "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", - "license": "ISC", - "dependencies": { - "cross-spawn": "^7.0.6", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/form-data": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", @@ -1336,9 +1197,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.2", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", - "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", + "version": "11.3.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", + "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", @@ -1415,21 +1276,15 @@ } }, "node_modules/glob": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-12.0.0.tgz", - "integrity": "sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz", + "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==", "license": "BlueOak-1.0.0", "dependencies": { - "foreground-child": "^3.3.1", - "jackspeak": "^4.1.1", "minimatch": "^10.1.1", "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", "path-scurry": "^2.0.0" }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, "engines": { "node": "20 || >=22" }, @@ -1650,12 +1505,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "license": "ISC" - }, "node_modules/iterare": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", @@ -1665,21 +1514,6 @@ "node": ">=6" } }, - "node_modules/jackspeak": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", - "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", @@ -1739,10 +1573,10 @@ } }, "node_modules/lru-cache": { - "version": "11.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.2.tgz", - "integrity": "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==", - "license": "ISC", + "version": "11.2.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.5.tgz", + "integrity": "sha512-vFrFJkWtJvJnD5hg+hJvVE8Lh/TcMzKnTgCWmtBipwI5yLX/iX+5UB2tfuyODF5E7k9xEzMdYgGqaSb1c0c5Yw==", + "license": "BlueOak-1.0.0", "engines": { "node": "20 || >=22" } @@ -1978,12 +1812,6 @@ "node": ">= 14" } }, - "node_modules/package-json-from-dist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", - "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", - "license": "BlueOak-1.0.0" - }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -1992,15 +1820,6 @@ "node": ">= 0.8" } }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/path-scurry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", @@ -2259,27 +2078,6 @@ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/shell-quote": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz", @@ -2360,18 +2158,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -2452,21 +2238,6 @@ "node": ">=8" } }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -2479,19 +2250,6 @@ "node": ">=8" } }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strtok3": { "version": "10.3.4", "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.4.tgz", @@ -2556,12 +2314,12 @@ } }, "node_modules/token-types": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.1.tgz", - "integrity": "sha512-kh9LVIWH5CnL63Ipf0jhlBIy0UsrMj/NJDfpsy1SqOXlLKEVyXXYrnFxFT1yOOYVGBSApeVnjPw/sBz5BfEjAQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", "license": "MIT", "dependencies": { - "@borewit/text-codec": "^0.1.0", + "@borewit/text-codec": "^0.2.1", "@tokenizer/token": "^0.3.0", "ieee754": "^1.2.1" }, @@ -2715,21 +2473,6 @@ "webidl-conversions": "^3.0.0" } }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -2744,24 +2487,6 @@ "node": ">=8" } }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/packages/continue-sdk/package.json b/packages/continue-sdk/package.json index e89656bdf..fc88987eb 100644 --- a/packages/continue-sdk/package.json +++ b/packages/continue-sdk/package.json @@ -15,7 +15,7 @@ "license": "Apache-2.0", "dependencies": { "@continuedev/config-yaml": "^1.38.0", - "@openapitools/openapi-generator-cli": "^2.25.1", + "@openapitools/openapi-generator-cli": "^2.27.0", "express": "^4.22.0", "swagger-ui-express": "^5.0.0" }, diff --git a/skills/cn-check.zip b/skills/cn-check.zip new file mode 100644 index 000000000..b4f30f3ef Binary files /dev/null and b/skills/cn-check.zip differ diff --git a/skills/cn-check/SKILL.md b/skills/cn-check/SKILL.md new file mode 100644 index 000000000..98b7ab9c1 --- /dev/null +++ b/skills/cn-check/SKILL.md @@ -0,0 +1,200 @@ +--- +name: cn-check +description: Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally. +license: Apache-2.0 +metadata: + author: continuedev + version: "1.0.0" +--- + +# cn check — Local AI Agent Checks + +Run AI-powered code checks locally against your working tree changes using the Continue CLI. Each check is an agent (defined in markdown) that reviews your diff, identifies issues, and optionally suggests fixes as a patch. + +## When to Use + +- User asks to run AI checks on their code changes +- User wants to set up `cn check` in a project +- User needs to create custom check agents +- User wants to apply AI-suggested fixes locally +- User asks about Continue CI or agent-based code review + +## Installation + +### Prerequisites + +- Node.js 18+ +- A git repository with uncommitted or branched changes + +### Install the CLI + +```bash +npm install -g @continuedev/cli +``` + +### Authenticate (required for Hub checks, optional for local-only) + +```bash +cn login +``` + +This opens a browser for authentication. After login, Hub-configured checks are available automatically. + +## Usage + +### Basic: Run all discovered checks + +```bash +cn check +``` + +This auto-detects checks from three sources (in priority order): + +1. Hub API — checks configured for your repo on continue.dev +2. Local agents — markdown files in `.continue/agents/*.md` + +### Specify agents explicitly + +```bash +# Run a single local agent +cn check --agent .continue/agents/security-review.md + +# Run a Hub-published agent +cn check --agent myorg/code-style + +# Run multiple agents +cn check --agent .continue/agents/security.md --agent .continue/agents/docs.md +``` + +### Compare against a specific base branch + +```bash +cn check --base develop +``` + +Default: auto-detects `main` or `master`. + +### Output formats + +```bash +# JSON output (for CI pipelines or scripting) +cn check --format json + +# Unified patch output (pipe to git apply) +cn check --patch | git apply + +# Stop on first failure +cn check --fail-fast +``` + +### Auto-fix mode + +```bash +cn check --fix +``` + +Runs all checks, then applies any suggested patches directly to the working tree. Patches that conflict are reported but skipped. + +## Creating a Check Agent + +Create a markdown file at `.continue/agents/.md`: + +```markdown +# Security Review + +You are a security reviewer. Examine the code changes for: + +- SQL injection vulnerabilities +- XSS risks in user-facing output +- Hardcoded secrets or credentials +- Insecure use of eval() or similar + +If you find issues, edit the files to fix them. If everything looks good, say so and exit. +``` + +The agent receives: + +- The full diff against the base branch +- A list of changed files +- Access to read/edit files in a temporary worktree + +Any edits the agent makes are captured as a patch and reported as a "fail" with suggested changes. + +## How It Works + +1. **Diff** — Computes `git diff ...HEAD` to find changed files +2. **Resolve** — Discovers which checks to run (Hub, local, or `--agent` flags) +3. **Worktree** — Creates a temporary git worktree per check for isolation +4. **Run** — Forks a worker process per check; the agent runs with full tool access +5. **Capture** — After the agent finishes, captures `git diff` in the worktree as a patch +6. **Report** — Renders results: pass (no changes), fail (patch produced), or error + +Checks run in parallel by default. Use `--fail-fast` for sequential execution that stops on first failure. + +## Output + +### Interactive terminal (TTY) + +A live-updating table shows check progress: + +``` +cn check - 3 checks against main - 5 changed files + +Check Status Time +-------------------------------------------- +Security Review * Running 12s +Code Style Pass 8s +Documentation Pending - +``` + +When complete, a full report prints with pass/fail status, agent output, and suggested patches. + +### JSON output (`--format json`) + +```json +{ + "checks": [ + { + "agent": ".continue/agents/security.md", + "name": "security", + "status": "pass", + "patch": "", + "output": "No security issues found.", + "duration": 8.2 + } + ], + "summary": { + "total": 1, + "passed": 1, + "failed": 0, + "errored": 0 + } +} +``` + +## CLI Reference + +``` +cn check [options] + +Options: + --base Base branch for diff (default: auto-detect) + --format Output format: text or json (default: text) + --fix Apply suggested fixes to working tree + --patch Output unified patch (pipe to git apply) + --fail-fast Stop after first failing check + --agent Agent to run (hub slug or local path, repeatable) + --config Path to config file + --org Organization slug + --verbose Enable debug logging +``` + +## Troubleshooting + +| Problem | Solution | +| ---------------------------- | ------------------------------------------------------------------------------------- | +| "No changes detected" | Make sure you have uncommitted changes or specify `--base` | +| "No checks found" | Create `.continue/agents/*.md` files or run `cn login` for Hub checks | +| Check times out (5 min) | Reduce diff size or split into focused agents | +| "Worker exited with code 1" | Run with `--verbose` to see worker stderr | +| Patch conflicts with `--fix` | Apply patches manually: `cn check --patch > changes.patch && git apply changes.patch` |