From 32af25fc9980c505c16889b47e78feb7feafbc95 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 13:17:29 +0530 Subject: [PATCH 01/97] feat: subagents --- extensions/cli/src/subagent/builtInAgents.ts | 83 ++++++++ extensions/cli/src/subagent/executor.ts | 213 +++++++++++++++++++ extensions/cli/src/subagent/types.ts | 15 ++ extensions/cli/src/tools/allBuiltIns.ts | 2 + extensions/cli/src/tools/index.tsx | 23 ++ extensions/cli/src/tools/task.ts | 115 ++++++++++ extensions/cli/src/ui/ToolResultSummary.tsx | 51 +++++ 7 files changed, 502 insertions(+) create mode 100644 extensions/cli/src/subagent/builtInAgents.ts create mode 100644 extensions/cli/src/subagent/executor.ts create mode 100644 extensions/cli/src/subagent/types.ts create mode 100644 extensions/cli/src/tools/task.ts diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/builtInAgents.ts new file mode 100644 index 000000000..ba6cab8e5 --- /dev/null +++ b/extensions/cli/src/subagent/builtInAgents.ts @@ -0,0 +1,83 @@ +import { AgentConfig } from "./types.js"; + +// todo - move this to the subagent directory + +/** + * Built-in agent configurations + */ +export const BUILT_IN_AGENTS: Record = { + general: { + name: "general", + displayName: "General Agent", + description: + "General-purpose agent for researching complex questions and executing multi-step tasks autonomously", + tools: { + // Enable all standard tools (refactor to use BUILTIN_TOOLS) + Read: true, + Write: true, + Edit: true, + multiEdit: true, + listFiles: true, + searchCode: true, + runTerminalCommand: true, + Fetch: true, + writeChecklist: true, + // Explicitly disable Task to prevent recursion + Task: false, + }, + // model: "haiku-4-5-latest", // if the model is not there, skip the task tool (check api key?) + systemPrompt: `You are a specialized task execution agent. + +Your role: +- Work autonomously to complete the given task +- Use available tools effectively +- Provide clear, concise results +- If you cannot complete the task, explain why clearly + +Important: +- Focus on the specific task at hand +- Avoid unnecessary explanations or preamble in your final response +- Return actionable results`, + }, +}; + +/** + * Get an agent by name + */ +export function getAgent(name: string): AgentConfig | null { + return BUILT_IN_AGENTS[name] || null; +} + +/** + * List all available subagents + */ +export function listSubagents(): AgentConfig[] { + return Object.values(BUILT_IN_AGENTS); +} + +/** + * Generate dynamic tool description listing available agents + */ +export function generateTaskToolDescription(): string { + const agents = listSubagents(); + const agentList = agents + .map((agent) => ` - ${agent.name}: ${agent.description}`) + .join("\n"); + + return `Launch a specialized agent to handle complex, multi-step tasks autonomously. + +Available agent types: +${agentList} + +When to use this tool: +- Complex research tasks requiring multiple file reads and searches +- Multi-step implementation tasks +- Tasks that benefit from autonomous execution +- When you need to parallelize independent work + +When NOT to use this tool: +- Simple single-file reads (use Read tool instead) +- Single searches (use searchCode tool instead) +- Tasks you can complete directly with available tools +- Trivial operations that don't require multiple steps`; +} diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts new file mode 100644 index 000000000..40fbd1bc5 --- /dev/null +++ b/extensions/cli/src/subagent/executor.ts @@ -0,0 +1,213 @@ +import type { ChatHistoryItem } from "core"; + +import { services } from "../services/index.js"; +import { streamChatResponse } from "../stream/streamChatResponse.js"; +import { Tool } from "../tools/types.js"; +import { logger } from "../util/logger.js"; + +import { AgentConfig } from "./types.js"; + +/** + * Options for executing a subagent + */ +export interface SubAgentExecutionOptions { + agent: AgentConfig; + prompt: string; + description?: string; + parentSessionId: string; + abortController: AbortController; + onOutputUpdate?: (output: string) => void; +} + +/** + * Result from executing a subagent + */ +export interface SubAgentResult { + success: boolean; + response: string; + summary: string; + error?: string; +} + +/** + * Filter tools based on agent configuration + */ +function filterToolsByAgent(allTools: Tool[], agent: AgentConfig): Tool[] { + return allTools.filter((tool) => { + const toolName = tool.name; + // If tool is explicitly disabled in agent config, filter it out + return agent.tools[toolName] !== false; + }); +} + +/** + * Build system message for the agent + */ +async function buildAgentSystemMessage(agent: AgentConfig): Promise { + const baseMessage = services.systemMessage + ? await services.systemMessage.getSystemMessage( + services.toolPermissions.getState().currentMode, + ) + : ""; + + const agentPrompt = agent.systemPrompt || ""; + + // Combine base system message with agent-specific prompt + if (agentPrompt) { + return `${baseMessage}\n\n${agentPrompt}`; + } + + return baseMessage; +} + +/** + * Execute a subagent in a child session + */ +export async function executeSubAgent( + options: SubAgentExecutionOptions, +): Promise { + const { agent, prompt, description, abortController, onOutputUpdate } = + options; + + try { + logger.debug("Starting subagent execution", { + agent: agent.name, + description, + }); + + // Get model and LLM API from model service + const modelState = services.model.getState(); + const { model, llmApi } = modelState; + + if (!model || !llmApi) { + throw new Error("Model or LLM API not available"); + } + + logger.debug("debug1 model and llmapi", { model, llmApi }); + + // Get all available tools + const { getAllAvailableTools } = await import("../tools/index.js"); + const allTools = await getAllAvailableTools(true); // headless mode + + // Filter tools based on agent configuration + const allowedTools = filterToolsByAgent(allTools, agent); + + logger.debug("debug1 Filtered tools for agent", { + agent: agent.name, + toolCount: allowedTools.length, + tools: allowedTools.map((t) => t.name).filter((t) => t !== "Task"), + }); + + // Build agent system message + const systemMessage = await buildAgentSystemMessage(agent); + + // Store original system message function + const originalGetSystemMessage = services.systemMessage?.getSystemMessage; + + // Store original ChatHistoryService ready state + const chatHistorySvc = services.chatHistory; + const originalIsReady = + chatHistorySvc && typeof chatHistorySvc.isReady === "function" + ? chatHistorySvc.isReady + : undefined; + + // Override system message for this execution + if (services.systemMessage) { + services.systemMessage.getSystemMessage = async () => systemMessage; + } + + // Temporarily disable ChatHistoryService to prevent it from interfering with child session + if (chatHistorySvc && originalIsReady) { + chatHistorySvc.isReady = () => false; + } + + const userMessage = description + ? `Task: ${description}\n\n${prompt}` + : prompt; + + const chatHistory = [ + { + message: { + role: "user", + content: userMessage, + }, + contextItems: [], + }, + ] as ChatHistoryItem[]; + + try { + let accumulatedOutput = ""; + + // Execute the chat stream with child session + await streamChatResponse( + chatHistory, + model, + llmApi, + abortController, + { + onContent: (content: string) => { + accumulatedOutput += content; + if (onOutputUpdate) { + onOutputUpdate(accumulatedOutput); + } + }, + onToolResult: (result: string) => { + // todo: skip tool outputs - show tool names and params + accumulatedOutput += `\n\n${result}`; + if (onOutputUpdate) { + onOutputUpdate(accumulatedOutput); + } + }, + }, + false, // Not compacting + ); + + // The last message (mostly) contains the important output to be submitted back to the main agent + const lastMessage = chatHistory.at(-1); + const response = + typeof lastMessage?.message?.content === "string" + ? lastMessage.message.content + : ""; + + logger.debug("debug1 response was", { + response, + history: chatHistory, + }); + + const summary = response.substring(0, 150); // summary should be the last message only - this is not needed + + logger.debug("Subagent execution completed", { + agent: agent.name, + responseLength: response.length, + }); + + return { + success: true, + response, + summary: summary + (response.length > 150 ? "..." : ""), + }; + } finally { + // Restore original system message function + if (services.systemMessage && originalGetSystemMessage) { + services.systemMessage.getSystemMessage = originalGetSystemMessage; + } + + // Restore original ChatHistoryService ready state + if (chatHistorySvc && originalIsReady) { + chatHistorySvc.isReady = originalIsReady; + } + } + } catch (error: any) { + logger.error("Subagent execution failed", { + agent: agent.name, + error: error.message, + }); + + return { + success: false, + response: "", + summary: `Failed: ${error.message}`, + error: error.message, + }; + } +} diff --git a/extensions/cli/src/subagent/types.ts b/extensions/cli/src/subagent/types.ts new file mode 100644 index 000000000..e3575cef4 --- /dev/null +++ b/extensions/cli/src/subagent/types.ts @@ -0,0 +1,15 @@ +/** + * Configuration for a specialized agent + */ +export interface AgentConfig { + /** Unique identifier for the agent */ + name: string; + /** Human-readable display name */ + displayName: string; + /** Description of when to use this agent */ + description: string; + /** Tool configuration - which tools are available to this agent */ + tools: Record; + /** Optional custom system prompt for the agent */ + systemPrompt?: string; +} diff --git a/extensions/cli/src/tools/allBuiltIns.ts b/extensions/cli/src/tools/allBuiltIns.ts index 18a7e8eee..8f97d9922 100644 --- a/extensions/cli/src/tools/allBuiltIns.ts +++ b/extensions/cli/src/tools/allBuiltIns.ts @@ -7,6 +7,7 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { searchCodeTool } from "./searchCode.js"; +import { taskTool } from "./task.js"; import { uploadArtifactTool } from "./uploadArtifact.js"; import { writeChecklistTool } from "./writeChecklist.js"; import { writeFileTool } from "./writeFile.js"; @@ -22,6 +23,7 @@ export const ALL_BUILT_IN_TOOLS = [ runTerminalCommandTool, fetchTool, writeChecklistTool, + taskTool, exitTool, reportFailureTool, uploadArtifactTool, diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index cf3e1b1dd..83e172d2d 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -28,6 +28,7 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { checkIfRipgrepIsInstalled, searchCodeTool } from "./searchCode.js"; +import { taskTool } from "./task.js"; import { isBetaUploadArtifactToolEnabled } from "./toolsConfig.js"; import { type Tool, @@ -119,6 +120,27 @@ export async function getAllAvailableTools( tools.push(exitTool); } + // // Add Task tool for primary sessions only (not child sessions) + // // Check if current session is a child session by checking for parentSessionId + // const chatHistoryService = await serviceContainer.get( + // SERVICE_NAMES.CHAT_HISTORY, + // ); + + // // Get current session ID and load the session to check for parentSessionId + // const sessionId = chatHistoryService?.sessionId; + // let isChildSession = false; + // logger.debug("debug1 sessionId", { sessionId }); + // if (sessionId) { + // const { loadSessionById } = await import("../session.js"); + // const currentSession = loadSessionById(sessionId); + // isChildSession = currentSession?.parentSessionId !== undefined; + // } + + // Only add Task tool if this is NOT a child session (prevents recursion) + // if (!isChildSession) { + tools.push(taskTool); + // } + const mcpState = await serviceContainer.get( SERVICE_NAMES.MCP, ); @@ -211,6 +233,7 @@ export async function executeToolCall( // Preprocessed arg names may be different const result = await toolCall.tool.run( toolCall.preprocessResult?.args ?? toolCall.arguments, + { toolCallId: toolCall.id }, ); const duration = Date.now() - startTime; diff --git a/extensions/cli/src/tools/task.ts b/extensions/cli/src/tools/task.ts new file mode 100644 index 000000000..837e8bc42 --- /dev/null +++ b/extensions/cli/src/tools/task.ts @@ -0,0 +1,115 @@ +import { services } from "../services/index.js"; +import { + generateTaskToolDescription, + getAgent, +} from "../subagent/builtInAgents.js"; +import { executeSubAgent } from "../subagent/executor.js"; +import { logger } from "../util/logger.js"; + +import { Tool } from "./types.js"; + +export const taskTool: Tool = { + name: "Task", + displayName: "Task", + description: generateTaskToolDescription(), + readonly: false, + isBuiltIn: true, + + parameters: { + type: "object", + required: ["description", "prompt", "subagent_type"], + properties: { + description: { + type: "string", + description: "A short (3-5 words) description of the task", + }, + prompt: { + type: "string", + description: "The task for the agent to perform", + }, + // todo: change this to subagent name + subagent_type: { + type: "string", + description: + "The type of specialized agent to use for this task (e.g., 'general')", + }, + }, + }, + + preprocess: async (args) => { + const { description, subagent_type } = args; + + const agent = getAgent(subagent_type); + if (!agent) { + throw new Error( + `Unknown agent type: ${subagent_type}. Available agents: general`, + ); + } + + return { + args, + preview: [ + { + type: "text", + content: `Spawning ${agent.displayName} to: ${description}`, + }, + ], + }; + }, + + run: async (args, context?: { toolCallId: string }) => { + const { description, prompt, subagent_type } = args; + + logger.debug("debug1", { args, context }); + + // Get agent configuration + const agent = getAgent(subagent_type); + if (!agent) { + throw new Error(`Unknown agent type: ${subagent_type}`); + } + + // Get parent session ID from chat history service + const chatHistoryService = services.chatHistory; + const parentSessionId = chatHistoryService.getSessionId(); + + if (!parentSessionId) { + throw new Error("No active session found"); + } + + // Create abort controller for child execution + const abortController = new AbortController(); + + // Execute subagent with output streaming + const result = await executeSubAgent({ + agent, + prompt, + description, + parentSessionId, + abortController, + onOutputUpdate: context?.toolCallId + ? (output: string) => { + try { + services.chatHistory.addToolResult( + context.toolCallId, + output, + "calling", + ); + } catch { + // Ignore errors during streaming updates + } + } + : undefined, + }); + + const output = [ + result.response, + "", + `status: ${result.success ? "completed" : "failed"}`, + "", + ] + .filter(Boolean) + .join("\n"); + + return output; + }, +}; diff --git a/extensions/cli/src/ui/ToolResultSummary.tsx b/extensions/cli/src/ui/ToolResultSummary.tsx index 9e2de0824..70f2d12c6 100644 --- a/extensions/cli/src/ui/ToolResultSummary.tsx +++ b/extensions/cli/src/ui/ToolResultSummary.tsx @@ -115,6 +115,57 @@ const ToolResultSummary: React.FC = ({ } } + // show streaming output for task tool output + if (toolName === "Task") { + const metadataIndex = content.indexOf(""); + const actualOutput = + metadataIndex >= 0 ? content.slice(0, metadataIndex).trim() : content; + + if (!actualOutput) { + return ( + + ⎿ + Task executing... + + ); + } + + const outputLines = actualOutput.split("\n"); + const MAX_TASK_OUTPUT_LINES = 20; + + if (outputLines.length <= MAX_TASK_OUTPUT_LINES) { + return ( + + + ⎿ + Task output: + + + {actualOutput.trimEnd()} + + + ); + } else { + const lastLines = outputLines.slice(-MAX_TASK_OUTPUT_LINES).join("\n"); + return ( + + + ⎿ + Task output: + + + + ... +{outputLines.length - MAX_TASK_OUTPUT_LINES} lines + + + + {lastLines.trimEnd()} + + + ); + } + } + // Handle all other cases with text summary const getSummary = () => { // Check if this is a user cancellation first From a78be7c4117460a9057e178515a9970cc8840193 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 13:27:46 +0530 Subject: [PATCH 02/97] support streaming into tool call output --- extensions/cli/src/tools/index.tsx | 19 ------------------- extensions/cli/src/tools/types.ts | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index 83e172d2d..d0000ccf3 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -120,26 +120,7 @@ export async function getAllAvailableTools( tools.push(exitTool); } - // // Add Task tool for primary sessions only (not child sessions) - // // Check if current session is a child session by checking for parentSessionId - // const chatHistoryService = await serviceContainer.get( - // SERVICE_NAMES.CHAT_HISTORY, - // ); - - // // Get current session ID and load the session to check for parentSessionId - // const sessionId = chatHistoryService?.sessionId; - // let isChildSession = false; - // logger.debug("debug1 sessionId", { sessionId }); - // if (sessionId) { - // const { loadSessionById } = await import("../session.js"); - // const currentSession = loadSessionById(sessionId); - // isChildSession = currentSession?.parentSessionId !== undefined; - // } - - // Only add Task tool if this is NOT a child session (prevents recursion) - // if (!isChildSession) { tools.push(taskTool); - // } const mcpState = await serviceContainer.get( SERVICE_NAMES.MCP, diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index 5adb45a92..f7b1ad3f1 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -37,7 +37,7 @@ export interface Tool { description: string; parameters: ToolParametersSchema; preprocess?: (args: any) => Promise; - run: (args: any) => Promise; + run: (args: any, context?: { toolCallId: string }) => Promise; readonly?: boolean; // Indicates if the tool is readonly isBuiltIn: boolean; evaluateToolCallPolicy?: ( From 675378f1a330d0d4d2cbd8da73511b7e7c4d7d68 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 13:31:19 +0530 Subject: [PATCH 03/97] rename `subagent_type` to `subagent_name` --- extensions/cli/src/subagent/executor.ts | 16 ++-------------- extensions/cli/src/tools/task.ts | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 40fbd1bc5..5fc095951 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -13,7 +13,6 @@ import { AgentConfig } from "./types.js"; export interface SubAgentExecutionOptions { agent: AgentConfig; prompt: string; - description?: string; parentSessionId: string; abortController: AbortController; onOutputUpdate?: (output: string) => void; @@ -25,7 +24,6 @@ export interface SubAgentExecutionOptions { export interface SubAgentResult { success: boolean; response: string; - summary: string; error?: string; } @@ -66,13 +64,11 @@ async function buildAgentSystemMessage(agent: AgentConfig): Promise { export async function executeSubAgent( options: SubAgentExecutionOptions, ): Promise { - const { agent, prompt, description, abortController, onOutputUpdate } = - options; + const { agent, prompt, abortController, onOutputUpdate } = options; try { logger.debug("Starting subagent execution", { agent: agent.name, - description, }); // Get model and LLM API from model service @@ -121,15 +117,11 @@ export async function executeSubAgent( chatHistorySvc.isReady = () => false; } - const userMessage = description - ? `Task: ${description}\n\n${prompt}` - : prompt; - const chatHistory = [ { message: { role: "user", - content: userMessage, + content: prompt, }, contextItems: [], }, @@ -174,8 +166,6 @@ export async function executeSubAgent( history: chatHistory, }); - const summary = response.substring(0, 150); // summary should be the last message only - this is not needed - logger.debug("Subagent execution completed", { agent: agent.name, responseLength: response.length, @@ -184,7 +174,6 @@ export async function executeSubAgent( return { success: true, response, - summary: summary + (response.length > 150 ? "..." : ""), }; } finally { // Restore original system message function @@ -206,7 +195,6 @@ export async function executeSubAgent( return { success: false, response: "", - summary: `Failed: ${error.message}`, error: error.message, }; } diff --git a/extensions/cli/src/tools/task.ts b/extensions/cli/src/tools/task.ts index 837e8bc42..ca5612dd1 100644 --- a/extensions/cli/src/tools/task.ts +++ b/extensions/cli/src/tools/task.ts @@ -17,7 +17,7 @@ export const taskTool: Tool = { parameters: { type: "object", - required: ["description", "prompt", "subagent_type"], + required: ["description", "prompt", "subagent_name"], properties: { description: { type: "string", @@ -27,8 +27,7 @@ export const taskTool: Tool = { type: "string", description: "The task for the agent to perform", }, - // todo: change this to subagent name - subagent_type: { + subagent_name: { type: "string", description: "The type of specialized agent to use for this task (e.g., 'general')", @@ -37,12 +36,12 @@ export const taskTool: Tool = { }, preprocess: async (args) => { - const { description, subagent_type } = args; + const { description, subagent_name } = args; - const agent = getAgent(subagent_type); + const agent = getAgent(subagent_name); if (!agent) { throw new Error( - `Unknown agent type: ${subagent_type}. Available agents: general`, + `Unknown agent type: ${subagent_name}. Available agents: general`, ); } @@ -58,14 +57,14 @@ export const taskTool: Tool = { }, run: async (args, context?: { toolCallId: string }) => { - const { description, prompt, subagent_type } = args; + const { prompt, subagent_name } = args; - logger.debug("debug1", { args, context }); + logger.debug("debug1 subagent args", { args, context }); // Get agent configuration - const agent = getAgent(subagent_type); + const agent = getAgent(subagent_name); if (!agent) { - throw new Error(`Unknown agent type: ${subagent_type}`); + throw new Error(`Unknown agent type: ${subagent_name}`); } // Get parent session ID from chat history service @@ -83,7 +82,6 @@ export const taskTool: Tool = { const result = await executeSubAgent({ agent, prompt, - description, parentSessionId, abortController, onOutputUpdate: context?.toolCallId @@ -101,6 +99,8 @@ export const taskTool: Tool = { : undefined, }); + logger.debug("debug1 subagent result->", { result }); + const output = [ result.response, "", From 1a06d692970300e84c7cd0d99c78f960cb233b9b Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 13:40:02 +0530 Subject: [PATCH 04/97] refactor subagent namings --- extensions/cli/src/subagent/builtInAgents.ts | 10 +++++----- extensions/cli/src/subagent/executor.ts | 2 +- extensions/cli/src/tools/allBuiltIns.ts | 4 ++-- extensions/cli/src/tools/index.tsx | 4 ++-- extensions/cli/src/tools/{task.ts => subagent.ts} | 10 +++++----- extensions/cli/src/ui/ToolResultSummary.tsx | 10 +++++----- 6 files changed, 20 insertions(+), 20 deletions(-) rename extensions/cli/src/tools/{task.ts => subagent.ts} (94%) diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/builtInAgents.ts index ba6cab8e5..6947c5eb4 100644 --- a/extensions/cli/src/subagent/builtInAgents.ts +++ b/extensions/cli/src/subagent/builtInAgents.ts @@ -22,10 +22,10 @@ export const BUILT_IN_AGENTS: Record = { runTerminalCommand: true, Fetch: true, writeChecklist: true, - // Explicitly disable Task to prevent recursion - Task: false, + // Explicitly disable Subagent to prevent recursion + Subagent: false, }, - // model: "haiku-4-5-latest", // if the model is not there, skip the task tool (check api key?) + // model: "haiku-4-5-latest", // if the model is not there, skip the subagent tool (check api key?) systemPrompt: `You are a specialized task execution agent. Your role: @@ -58,13 +58,13 @@ export function listSubagents(): AgentConfig[] { /** * Generate dynamic tool description listing available agents */ -export function generateTaskToolDescription(): string { +export function generateSubagentToolDescription(): string { const agents = listSubagents(); const agentList = agents .map((agent) => ` - ${agent.name}: ${agent.description}`) .join("\n"); - return `Launch a specialized agent to handle complex, multi-step tasks autonomously. + return `Launch a specialized subagent to handle complex, multi-step tasks autonomously. Available agent types: ${agentList} diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 5fc095951..9c27962ac 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -91,7 +91,7 @@ export async function executeSubAgent( logger.debug("debug1 Filtered tools for agent", { agent: agent.name, toolCount: allowedTools.length, - tools: allowedTools.map((t) => t.name).filter((t) => t !== "Task"), + tools: allowedTools.map((t) => t.name).filter((t) => t !== "Subagent"), // explicityly remove subagent to prevent recursion }); // Build agent system message diff --git a/extensions/cli/src/tools/allBuiltIns.ts b/extensions/cli/src/tools/allBuiltIns.ts index 8f97d9922..c5e86f9f3 100644 --- a/extensions/cli/src/tools/allBuiltIns.ts +++ b/extensions/cli/src/tools/allBuiltIns.ts @@ -7,7 +7,7 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { searchCodeTool } from "./searchCode.js"; -import { taskTool } from "./task.js"; +import { subagentTool } from "./subagent.js"; import { uploadArtifactTool } from "./uploadArtifact.js"; import { writeChecklistTool } from "./writeChecklist.js"; import { writeFileTool } from "./writeFile.js"; @@ -23,7 +23,7 @@ export const ALL_BUILT_IN_TOOLS = [ runTerminalCommandTool, fetchTool, writeChecklistTool, - taskTool, + subagentTool, exitTool, reportFailureTool, uploadArtifactTool, diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index d0000ccf3..87016bddc 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -28,7 +28,7 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { checkIfRipgrepIsInstalled, searchCodeTool } from "./searchCode.js"; -import { taskTool } from "./task.js"; +import { subagentTool } from "./subagent.js"; import { isBetaUploadArtifactToolEnabled } from "./toolsConfig.js"; import { type Tool, @@ -120,7 +120,7 @@ export async function getAllAvailableTools( tools.push(exitTool); } - tools.push(taskTool); + tools.push(subagentTool); const mcpState = await serviceContainer.get( SERVICE_NAMES.MCP, diff --git a/extensions/cli/src/tools/task.ts b/extensions/cli/src/tools/subagent.ts similarity index 94% rename from extensions/cli/src/tools/task.ts rename to extensions/cli/src/tools/subagent.ts index ca5612dd1..b440abaef 100644 --- a/extensions/cli/src/tools/task.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,6 +1,6 @@ import { services } from "../services/index.js"; import { - generateTaskToolDescription, + generateSubagentToolDescription, getAgent, } from "../subagent/builtInAgents.js"; import { executeSubAgent } from "../subagent/executor.js"; @@ -8,10 +8,10 @@ import { logger } from "../util/logger.js"; import { Tool } from "./types.js"; -export const taskTool: Tool = { - name: "Task", - displayName: "Task", - description: generateTaskToolDescription(), +export const subagentTool: Tool = { + name: "Subagent", + displayName: "Subagent", + description: generateSubagentToolDescription(), readonly: false, isBuiltIn: true, diff --git a/extensions/cli/src/ui/ToolResultSummary.tsx b/extensions/cli/src/ui/ToolResultSummary.tsx index 70f2d12c6..97e179427 100644 --- a/extensions/cli/src/ui/ToolResultSummary.tsx +++ b/extensions/cli/src/ui/ToolResultSummary.tsx @@ -115,8 +115,8 @@ const ToolResultSummary: React.FC = ({ } } - // show streaming output for task tool output - if (toolName === "Task") { + // show streaming output for subagent tool output + if (toolName === "Subagent") { const metadataIndex = content.indexOf(""); const actualOutput = metadataIndex >= 0 ? content.slice(0, metadataIndex).trim() : content; @@ -125,7 +125,7 @@ const ToolResultSummary: React.FC = ({ return ( ⎿ - Task executing... + Subagent executing... ); } @@ -138,7 +138,7 @@ const ToolResultSummary: React.FC = ({ ⎿ - Task output: + Subagent output: {actualOutput.trimEnd()} @@ -151,7 +151,7 @@ const ToolResultSummary: React.FC = ({ ⎿ - Task output: + Subagent output: From c2af5a9f1f305fff9489c3bca81fe26ea8937037 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 19:21:40 +0530 Subject: [PATCH 05/97] allow all tools inside subagents --- extensions/cli/src/subagent/builtInAgents.ts | 27 +-------- extensions/cli/src/subagent/executor.ts | 64 +++++++++++--------- extensions/cli/src/subagent/types.ts | 2 +- 3 files changed, 37 insertions(+), 56 deletions(-) diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/builtInAgents.ts index 6947c5eb4..3c8ce4359 100644 --- a/extensions/cli/src/subagent/builtInAgents.ts +++ b/extensions/cli/src/subagent/builtInAgents.ts @@ -1,7 +1,5 @@ import { AgentConfig } from "./types.js"; -// todo - move this to the subagent directory - /** * Built-in agent configurations */ @@ -11,20 +9,7 @@ export const BUILT_IN_AGENTS: Record = { displayName: "General Agent", description: "General-purpose agent for researching complex questions and executing multi-step tasks autonomously", - tools: { - // Enable all standard tools (refactor to use BUILTIN_TOOLS) - Read: true, - Write: true, - Edit: true, - multiEdit: true, - listFiles: true, - searchCode: true, - runTerminalCommand: true, - Fetch: true, - writeChecklist: true, - // Explicitly disable Subagent to prevent recursion - Subagent: false, - }, + availableTools: [], // model: "haiku-4-5-latest", // if the model is not there, skip the subagent tool (check api key?) systemPrompt: `You are a specialized task execution agent. @@ -48,19 +33,11 @@ export function getAgent(name: string): AgentConfig | null { return BUILT_IN_AGENTS[name] || null; } -/** - * List all available subagents - */ -export function listSubagents(): AgentConfig[] { - return Object.values(BUILT_IN_AGENTS); -} - /** * Generate dynamic tool description listing available agents */ export function generateSubagentToolDescription(): string { - const agents = listSubagents(); - const agentList = agents + const agentList = Object.values(BUILT_IN_AGENTS) .map((agent) => ` - ${agent.name}: ${agent.description}`) .join("\n"); diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 9c27962ac..2c30a7a41 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -1,8 +1,12 @@ import type { ChatHistoryItem } from "core"; -import { services } from "../services/index.js"; +import { + SERVICE_NAMES, + serviceContainer, + services, +} from "../services/index.js"; +import { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; -import { Tool } from "../tools/types.js"; import { logger } from "../util/logger.js"; import { AgentConfig } from "./types.js"; @@ -27,17 +31,6 @@ export interface SubAgentResult { error?: string; } -/** - * Filter tools based on agent configuration - */ -function filterToolsByAgent(allTools: Tool[], agent: AgentConfig): Tool[] { - return allTools.filter((tool) => { - const toolName = tool.name; - // If tool is explicitly disabled in agent config, filter it out - return agent.tools[toolName] !== false; - }); -} - /** * Build system message for the agent */ @@ -64,11 +57,16 @@ async function buildAgentSystemMessage(agent: AgentConfig): Promise { export async function executeSubAgent( options: SubAgentExecutionOptions, ): Promise { - const { agent, prompt, abortController, onOutputUpdate } = options; + const mainAgentPermissionsState = + await serviceContainer.get( + SERVICE_NAMES.TOOL_PERMISSIONS, + ); + + const { agent: subAgent, prompt, abortController, onOutputUpdate } = options; try { logger.debug("Starting subagent execution", { - agent: agent.name, + agent: subAgent.name, }); // Get model and LLM API from model service @@ -79,23 +77,23 @@ export async function executeSubAgent( throw new Error("Model or LLM API not available"); } - logger.debug("debug1 model and llmapi", { model, llmApi }); + logger.debug("debug1 model and llmapi", { model, llmApi, subAgent }); - // Get all available tools - const { getAllAvailableTools } = await import("../tools/index.js"); - const allTools = await getAllAvailableTools(true); // headless mode + // allow all tools for now + // todo: eventually we want to show the same prompt in a dialog whether asking whether that tool call is allowed or not - // Filter tools based on agent configuration - const allowedTools = filterToolsByAgent(allTools, agent); - - logger.debug("debug1 Filtered tools for agent", { - agent: agent.name, - toolCount: allowedTools.length, - tools: allowedTools.map((t) => t.name).filter((t) => t !== "Subagent"), // explicityly remove subagent to prevent recursion - }); + serviceContainer.set( + SERVICE_NAMES.TOOL_PERMISSIONS, + { + ...mainAgentPermissionsState, + permissions: { + policies: [{ tool: "*", permission: "allow" }], + }, + }, + ); // Build agent system message - const systemMessage = await buildAgentSystemMessage(agent); + const systemMessage = await buildAgentSystemMessage(subAgent); // Store original system message function const originalGetSystemMessage = services.systemMessage?.getSystemMessage; @@ -167,7 +165,7 @@ export async function executeSubAgent( }); logger.debug("Subagent execution completed", { - agent: agent.name, + agent: subAgent.name, responseLength: response.length, }); @@ -185,10 +183,16 @@ export async function executeSubAgent( if (chatHistorySvc && originalIsReady) { chatHistorySvc.isReady = originalIsReady; } + + // Restore original main agent tool permissions + serviceContainer.set( + SERVICE_NAMES.TOOL_PERMISSIONS, + mainAgentPermissionsState, + ); } } catch (error: any) { logger.error("Subagent execution failed", { - agent: agent.name, + agent: subAgent.name, error: error.message, }); diff --git a/extensions/cli/src/subagent/types.ts b/extensions/cli/src/subagent/types.ts index e3575cef4..df5cb4d10 100644 --- a/extensions/cli/src/subagent/types.ts +++ b/extensions/cli/src/subagent/types.ts @@ -9,7 +9,7 @@ export interface AgentConfig { /** Description of when to use this agent */ description: string; /** Tool configuration - which tools are available to this agent */ - tools: Record; + availableTools: string[]; /** Optional custom system prompt for the agent */ systemPrompt?: string; } From 0792b949bdf629fd14dac45478b2027962b77454 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:18:13 +0530 Subject: [PATCH 06/97] fix(cli): compaction for missing tool results --- core/util/messageConversion.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/util/messageConversion.ts b/core/util/messageConversion.ts index b94d7e63f..dff758699 100644 --- a/core/util/messageConversion.ts +++ b/core/util/messageConversion.ts @@ -327,7 +327,7 @@ export function convertFromUnifiedHistory( messages.push(baseMessage); - // Add tool result messages if there are completed tool calls + // Add tool result messages if there are completed tool calls, and fallback when tool output is missing if (item.toolCallStates) { for (const toolState of item.toolCallStates) { if (toolState.output && toolState.output.length > 0) { @@ -336,6 +336,12 @@ export function convertFromUnifiedHistory( content: toolState.output.map((o: any) => o.content).join("\n"), tool_call_id: toolState.toolCallId, }); + } else { + messages.push({ + role: "tool", + content: "Tool cancelled", + tool_call_id: toolState.toolCallId, + }); } } } From 46b31af330aa669d93c777d5fa577b2ca7c72225 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 11 Dec 2025 23:01:23 -0800 Subject: [PATCH 07/97] fix: clarify can't edit in parallel with itself either --- core/tools/definitions/editFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/definitions/editFile.ts b/core/tools/definitions/editFile.ts index 9ca5b6b63..55b3e08a7 100644 --- a/core/tools/definitions/editFile.ts +++ b/core/tools/definitions/editFile.ts @@ -8,7 +8,7 @@ export interface EditToolArgs { } export const NO_PARALLEL_TOOL_CALLING_INSTRUCTION = - "This tool CANNOT be called in parallel with other tools."; + "This tool CANNOT be called in parallel with other tools or itself. I.e., whenever you call this tool, it must be the only tool call."; const CHANGES_DESCRIPTION = "Any modifications to the file, showing only needed changes. Do NOT wrap this in a codeblock or write anything besides the code changes. In larger files, use brief language-appropriate placeholders for large unmodified sections, e.g. '// ... existing code ...'"; From 41c4f297f3bef3a43f12833d3d2e0d6c84888ec7 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 11 Dec 2025 23:01:45 -0800 Subject: [PATCH 08/97] fix: prompt tweak --- core/tools/definitions/editFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/definitions/editFile.ts b/core/tools/definitions/editFile.ts index 55b3e08a7..29b49c41c 100644 --- a/core/tools/definitions/editFile.ts +++ b/core/tools/definitions/editFile.ts @@ -8,7 +8,7 @@ export interface EditToolArgs { } export const NO_PARALLEL_TOOL_CALLING_INSTRUCTION = - "This tool CANNOT be called in parallel with other tools or itself. I.e., whenever you call this tool, it must be the only tool call."; + "This tool CANNOT be called in parallel with any other tools, including itself"; const CHANGES_DESCRIPTION = "Any modifications to the file, showing only needed changes. Do NOT wrap this in a codeblock or write anything besides the code changes. In larger files, use brief language-appropriate placeholders for large unmodified sections, e.g. '// ... existing code ...'"; From 1c448c479d1e2f4c50c586d494288d6b8889c178 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 15 Dec 2025 03:50:39 +0000 Subject: [PATCH 09/97] fix: resolve circular dependency in subagent tool Move services import to lazy evaluation inside the run function to avoid circular dependency between ToolPermissionService -> allBuiltIns -> subagent -> services -> ToolPermissionService. This fixes the 'ToolPermissionService is not a constructor' error in tests. Co-authored-by: nate --- extensions/cli/src/tools/subagent.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index b440abaef..a8878fd79 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,4 +1,3 @@ -import { services } from "../services/index.js"; import { generateSubagentToolDescription, getAgent, @@ -67,6 +66,9 @@ export const subagentTool: Tool = { throw new Error(`Unknown agent type: ${subagent_name}`); } + // Lazy import services to avoid circular dependency + const { services } = await import("../services/index.js"); + // Get parent session ID from chat history service const chatHistoryService = services.chatHistory; const parentSessionId = chatHistoryService.getSessionId(); From 87fd9b67df4661a261881a2cb028ab651c695128 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 15 Dec 2025 04:01:04 +0000 Subject: [PATCH 10/97] fix: resolve circular dependency in subagent executor Move services import to lazy evaluation inside executeSubAgent function to avoid circular dependency. Pass services as parameter to buildAgentSystemMessage helper function. Co-authored-by: nate --- extensions/cli/src/subagent/executor.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 2c30a7a41..e2ba75c52 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -1,10 +1,6 @@ import type { ChatHistoryItem } from "core"; -import { - SERVICE_NAMES, - serviceContainer, - services, -} from "../services/index.js"; +import { SERVICE_NAMES, serviceContainer } from "../services/index.js"; import { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; import { logger } from "../util/logger.js"; @@ -34,7 +30,10 @@ export interface SubAgentResult { /** * Build system message for the agent */ -async function buildAgentSystemMessage(agent: AgentConfig): Promise { +async function buildAgentSystemMessage( + agent: AgentConfig, + services: any, +): Promise { const baseMessage = services.systemMessage ? await services.systemMessage.getSystemMessage( services.toolPermissions.getState().currentMode, @@ -69,6 +68,9 @@ export async function executeSubAgent( agent: subAgent.name, }); + // Lazy import services to avoid circular dependency + const { services } = await import("../services/index.js"); + // Get model and LLM API from model service const modelState = services.model.getState(); const { model, llmApi } = modelState; @@ -93,7 +95,7 @@ export async function executeSubAgent( ); // Build agent system message - const systemMessage = await buildAgentSystemMessage(subAgent); + const systemMessage = await buildAgentSystemMessage(subAgent, services); // Store original system message function const originalGetSystemMessage = services.systemMessage?.getSystemMessage; From 6a5f80b0fc739ed36448b62bd036c01476b91d49 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 15 Dec 2025 04:08:38 +0000 Subject: [PATCH 11/97] fix: break circular dependency by extracting tool names Create builtInToolNames.ts with just the tool name constants to avoid importing the actual tool implementations. This breaks the circular dependency chain: ToolPermissionService -> allBuiltIns -> subagent -> executor -> services -> ToolPermissionService. Co-authored-by: nate --- .../cli/src/services/ToolPermissionService.ts | 4 +-- extensions/cli/src/tools/builtInToolNames.ts | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 extensions/cli/src/tools/builtInToolNames.ts diff --git a/extensions/cli/src/services/ToolPermissionService.ts b/extensions/cli/src/services/ToolPermissionService.ts index 4e0802272..10d979f0b 100644 --- a/extensions/cli/src/services/ToolPermissionService.ts +++ b/extensions/cli/src/services/ToolPermissionService.ts @@ -1,4 +1,4 @@ -import { ALL_BUILT_IN_TOOLS } from "src/tools/allBuiltIns.js"; +import { BUILT_IN_TOOL_NAMES } from "../tools/builtInToolNames.js"; import { ensurePermissionsYamlExists } from "../permissions/permissionsYamlLoader.js"; import { resolvePermissionPrecedence } from "../permissions/precedenceResolver.js"; @@ -143,7 +143,7 @@ export class ToolPermissionService })); policies.push(...allowed); const specificBuiltInSet = new Set(specificBuiltIns); - const notMentioned = ALL_BUILT_IN_TOOLS.map((t) => t.name).filter( + const notMentioned = BUILT_IN_TOOL_NAMES.filter( (name) => !specificBuiltInSet.has(name), ); const disallowed: ToolPermissionPolicy[] = notMentioned.map((tool) => ({ diff --git a/extensions/cli/src/tools/builtInToolNames.ts b/extensions/cli/src/tools/builtInToolNames.ts new file mode 100644 index 000000000..617f151c5 --- /dev/null +++ b/extensions/cli/src/tools/builtInToolNames.ts @@ -0,0 +1,28 @@ +/** + * List of built-in tool names + * Kept separate from allBuiltIns.ts to avoid circular dependencies + */ +export const BUILT_IN_TOOL_NAMES = [ + "Read", + "Write", + "Edit", + "MultiEdit", + "List", + "Search", + "Bash", + "Fetch", + "Checklist", + "ReportFailure", + "Exit", + "Diff", + "LS", + "Glob", + "Grep", + "NotebookRead", + "NotebookEdit", + "WebFetch", + "WebSearch", + "Subagent", +] as const; + +export type BuiltInToolName = (typeof BUILT_IN_TOOL_NAMES)[number]; From 26bef77a8859788b870e42036e0958bdbaa9d93a Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 15 Dec 2025 04:16:11 +0000 Subject: [PATCH 12/97] fix: correct built-in tool names list Update BUILT_IN_TOOL_NAMES to match the actual tools in allBuiltIns.ts, including UploadArtifact which was missing. Remove incorrect tool names that don't exist. Co-authored-by: nate --- extensions/cli/src/tools/builtInToolNames.ts | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/extensions/cli/src/tools/builtInToolNames.ts b/extensions/cli/src/tools/builtInToolNames.ts index 617f151c5..900984dc1 100644 --- a/extensions/cli/src/tools/builtInToolNames.ts +++ b/extensions/cli/src/tools/builtInToolNames.ts @@ -4,25 +4,18 @@ */ export const BUILT_IN_TOOL_NAMES = [ "Read", - "Write", "Edit", "MultiEdit", + "Write", "List", "Search", "Bash", "Fetch", "Checklist", - "ReportFailure", - "Exit", - "Diff", - "LS", - "Glob", - "Grep", - "NotebookRead", - "NotebookEdit", - "WebFetch", - "WebSearch", "Subagent", + "Exit", + "ReportFailure", + "UploadArtifact", ] as const; export type BuiltInToolName = (typeof BUILT_IN_TOOL_NAMES)[number]; From 2003128f084517bdf5343d6e2205edc85db8ff64 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 15 Dec 2025 04:20:14 +0000 Subject: [PATCH 13/97] fix: correct import order in ToolPermissionService Move BUILT_IN_TOOL_NAMES import to proper position according to eslint import/order rules. Co-authored-by: nate --- extensions/cli/src/services/ToolPermissionService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/cli/src/services/ToolPermissionService.ts b/extensions/cli/src/services/ToolPermissionService.ts index 10d979f0b..236f72fb7 100644 --- a/extensions/cli/src/services/ToolPermissionService.ts +++ b/extensions/cli/src/services/ToolPermissionService.ts @@ -1,5 +1,3 @@ -import { BUILT_IN_TOOL_NAMES } from "../tools/builtInToolNames.js"; - import { ensurePermissionsYamlExists } from "../permissions/permissionsYamlLoader.js"; import { resolvePermissionPrecedence } from "../permissions/precedenceResolver.js"; import { @@ -7,6 +5,7 @@ import { ToolPermissionPolicy, ToolPermissions, } from "../permissions/types.js"; +import { BUILT_IN_TOOL_NAMES } from "../tools/builtInToolNames.js"; import { logger } from "../util/logger.js"; import { BaseService, ServiceWithDependencies } from "./BaseService.js"; From e31605aaf06353dfbf34559595b4664b576fd5d6 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 17 Dec 2025 20:08:55 +0530 Subject: [PATCH 14/97] feat: allow selecting images using cmd+a --- .../mainInput/TipTapEditor/TipTapEditor.css | 4 ++ .../TipTapEditor/utils/editorConfig.ts | 41 ++++++++++++++++++- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/gui/src/components/mainInput/TipTapEditor/TipTapEditor.css b/gui/src/components/mainInput/TipTapEditor/TipTapEditor.css index 94c4969c6..3f2a2c770 100644 --- a/gui/src/components/mainInput/TipTapEditor/TipTapEditor.css +++ b/gui/src/components/mainInput/TipTapEditor/TipTapEditor.css @@ -39,3 +39,7 @@ .tiptap img.ProseMirror-selectednode { border: 1px solid var(--vscode-badge-background, #bfe2b6); } + +.tiptap img.selected-image { + outline: 3px solid var(--vscode-badge-background, #bfe2b6); +} diff --git a/gui/src/components/mainInput/TipTapEditor/utils/editorConfig.ts b/gui/src/components/mainInput/TipTapEditor/utils/editorConfig.ts index 2ecd4d41a..b05109c9b 100644 --- a/gui/src/components/mainInput/TipTapEditor/utils/editorConfig.ts +++ b/gui/src/components/mainInput/TipTapEditor/utils/editorConfig.ts @@ -6,6 +6,7 @@ import Paragraph from "@tiptap/extension-paragraph"; import Placeholder from "@tiptap/extension-placeholder"; import Text from "@tiptap/extension-text"; import { Plugin } from "@tiptap/pm/state"; +import { Decoration, DecorationSet } from "@tiptap/pm/view"; import { useEditor } from "@tiptap/react"; import { InputModifiers } from "core"; import { modelSupportsImages } from "core/llm/autodetect"; @@ -144,7 +145,7 @@ export function createEditorConfig(options: { History, Image.extend({ addProseMirrorPlugins() { - const plugin = new Plugin({ + const pastePlugin = new Plugin({ props: { handleDOMEvents: { paste(view, event) { @@ -179,7 +180,34 @@ export function createEditorConfig(options: { }, }, }); - return [plugin]; + + const selectionPlugin = new Plugin({ + props: { + decorations(state) { + const { selection, doc } = state; + const decorations: Decoration[] = []; + + if (selection.empty) { + return DecorationSet.empty; + } + + // create custom highlighting for image when selected + doc.nodesBetween(selection.from, selection.to, (node, pos) => { + if (node.type.name === "image") { + decorations.push( + Decoration.node(pos, pos + node.nodeSize, { + class: "selected-image", + }), + ); + } + }); + + return DecorationSet.create(doc, decorations); + }, + }, + }); + + return [pastePlugin, selectionPlugin]; }, }).configure({ HTMLAttributes: { @@ -244,6 +272,15 @@ export function createEditorConfig(options: { () => commands.splitBlock(), ]), + "Mod-a": () => { + // override cmd/ctrl+a to include all text and images selection + this.editor.commands.setTextSelection({ + from: 0, + to: this.editor.state.doc.content.size, + }); + return true; + }, + ArrowUp: () => { if (this.editor.state.selection.anchor > 1) { return false; From 85eb24913c49b2935fd8e416a4677da7042decc4 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 18 Dec 2025 20:31:10 +0530 Subject: [PATCH 15/97] wip: use the first found apply model for subagent --- extensions/cli/src/services/ModelService.ts | 24 +++++++++++++++++++++ extensions/cli/src/subagent/executor.ts | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/extensions/cli/src/services/ModelService.ts b/extensions/cli/src/services/ModelService.ts index 2e43062e4..cec1fc1d1 100644 --- a/extensions/cli/src/services/ModelService.ts +++ b/extensions/cli/src/services/ModelService.ts @@ -305,4 +305,28 @@ export class ModelService return nameMatches; }); } + + /** + * Get a subagent model + */ + getSubagentModel(): ModelServiceState | null { + const state = this.getState(); + if (!state.assistant) { + return null; + } + + const subagentModel = state.assistant.models?.find((model) => + model?.roles?.includes("apply"), + ); + if (!subagentModel) { + return null; + } + + return { + llmApi: createLlmApi(subagentModel, state.authConfig), + model: subagentModel, + assistant: state.assistant, + authConfig: state.authConfig, + }; + } } diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index e2ba75c52..bc7e0d077 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -72,8 +72,8 @@ export async function executeSubAgent( const { services } = await import("../services/index.js"); // Get model and LLM API from model service - const modelState = services.model.getState(); - const { model, llmApi } = modelState; + const modelState = services.model.getSubagentModel(); + const { model, llmApi } = modelState ?? {}; if (!model || !llmApi) { throw new Error("Model or LLM API not available"); From 0cc7a16f24d1de210ac66418cbf5e4560326f067 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 19 Dec 2025 13:39:34 +0530 Subject: [PATCH 16/97] get subagents from config --- extensions/cli/src/services/ModelService.ts | 34 +++++++------ extensions/cli/src/subagent/builtInAgents.ts | 53 +++++++------------- extensions/cli/src/subagent/executor.ts | 33 ++++++------ extensions/cli/src/subagent/types.ts | 15 ------ extensions/cli/src/tools/subagent.ts | 2 +- 5 files changed, 55 insertions(+), 82 deletions(-) delete mode 100644 extensions/cli/src/subagent/types.ts diff --git a/extensions/cli/src/services/ModelService.ts b/extensions/cli/src/services/ModelService.ts index cec1fc1d1..d7a8864a0 100644 --- a/extensions/cli/src/services/ModelService.ts +++ b/extensions/cli/src/services/ModelService.ts @@ -306,27 +306,31 @@ export class ModelService }); } - /** - * Get a subagent model - */ - getSubagentModel(): ModelServiceState | null { + getSubagentModels() { const state = this.getState(); + logger.debug("debug1 getSubagentModels", { + assistant: state.assistant, + }); if (!state.assistant) { - return null; + return []; } + logger.debug("debug1 getSubagentModels", { + assistantModels: state.assistant.models, + }); + const subagentModels = state.assistant.models + ?.filter((model) => !!model) + .filter((model) => !!model.name) // filter out models without a name + .filter((model) => model.roles?.includes("apply")) // filter with role subagent + .filter((model) => !!model.chatOptions?.baseSystemMessage); // filter those with a system message - const subagentModel = state.assistant.models?.find((model) => - model?.roles?.includes("apply"), - ); - if (!subagentModel) { - return null; + if (!subagentModels) { + return []; } - - return { - llmApi: createLlmApi(subagentModel, state.authConfig), - model: subagentModel, + return subagentModels?.map((model) => ({ + llmApi: createLlmApi(model, state.authConfig), + model, assistant: state.assistant, authConfig: state.authConfig, - }; + })); } } diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/builtInAgents.ts index 3c8ce4359..2fe2be8d1 100644 --- a/extensions/cli/src/subagent/builtInAgents.ts +++ b/extensions/cli/src/subagent/builtInAgents.ts @@ -1,47 +1,30 @@ -import { AgentConfig } from "./types.js"; - -/** - * Built-in agent configurations - */ -export const BUILT_IN_AGENTS: Record = { - general: { - name: "general", - displayName: "General Agent", - description: - "General-purpose agent for researching complex questions and executing multi-step tasks autonomously", - availableTools: [], - // model: "haiku-4-5-latest", // if the model is not there, skip the subagent tool (check api key?) - systemPrompt: `You are a specialized task execution agent. - -Your role: -- Work autonomously to complete the given task -- Use available tools effectively -- Provide clear, concise results -- If you cannot complete the task, explain why clearly - -Important: -- Focus on the specific task at hand -- Avoid unnecessary explanations or preamble in your final response -- Return actionable results`, - }, -}; +import { services } from "../services/index.js"; +import { logger } from "../util/logger.js"; /** * Get an agent by name */ -export function getAgent(name: string): AgentConfig | null { - return BUILT_IN_AGENTS[name] || null; +export function getAgent(name: string) { + return ( + services.model + .getSubagentModels() + .find((model) => model.model.name === name) ?? null + ); } /** * Generate dynamic tool description listing available agents */ export function generateSubagentToolDescription(): string { - const agentList = Object.values(BUILT_IN_AGENTS) - .map((agent) => ` - ${agent.name}: ${agent.description}`) + const agentList = services.model + .getSubagentModels() + .map( + (subagentModel) => + ` - ${subagentModel.model.name}: ${subagentModel.model.chatOptions?.baseSystemMessage}`, + ) .join("\n"); - return `Launch a specialized subagent to handle complex, multi-step tasks autonomously. + const temp = `Launch a specialized subagent to handle complex, multi-step tasks autonomously. Available agent types: ${agentList} @@ -53,8 +36,10 @@ When to use this tool: - When you need to parallelize independent work When NOT to use this tool: -- Simple single-file reads (use Read tool instead) -- Single searches (use searchCode tool instead) - Tasks you can complete directly with available tools - Trivial operations that don't require multiple steps`; + + logger.debug("debug1 temp->", { temp }); + + return temp; } diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index bc7e0d077..409e9876f 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -1,17 +1,20 @@ import type { ChatHistoryItem } from "core"; -import { SERVICE_NAMES, serviceContainer } from "../services/index.js"; +import { + ModelServiceState, + SERVICE_NAMES, + serviceContainer, + services, +} from "../services/index.js"; import { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; import { logger } from "../util/logger.js"; -import { AgentConfig } from "./types.js"; - /** * Options for executing a subagent */ export interface SubAgentExecutionOptions { - agent: AgentConfig; + agent: ModelServiceState; prompt: string; parentSessionId: string; abortController: AbortController; @@ -31,7 +34,7 @@ export interface SubAgentResult { * Build system message for the agent */ async function buildAgentSystemMessage( - agent: AgentConfig, + agent: ModelServiceState, services: any, ): Promise { const baseMessage = services.systemMessage @@ -40,7 +43,9 @@ async function buildAgentSystemMessage( ) : ""; - const agentPrompt = agent.systemPrompt || ""; + const agentPrompt = agent.model?.chatOptions?.baseSystemMessage || ""; + + logger.debug("debug1 agentPrompt", { agentPrompt }); // Combine base system message with agent-specific prompt if (agentPrompt) { @@ -65,21 +70,15 @@ export async function executeSubAgent( try { logger.debug("Starting subagent execution", { - agent: subAgent.name, + agent: subAgent.model?.name, }); - // Lazy import services to avoid circular dependency - const { services } = await import("../services/index.js"); - - // Get model and LLM API from model service - const modelState = services.model.getSubagentModel(); - const { model, llmApi } = modelState ?? {}; - + const { model, llmApi } = subAgent; if (!model || !llmApi) { throw new Error("Model or LLM API not available"); } - logger.debug("debug1 model and llmapi", { model, llmApi, subAgent }); + logger.debug("debug1 model and llmapi", { subAgent }); // allow all tools for now // todo: eventually we want to show the same prompt in a dialog whether asking whether that tool call is allowed or not @@ -167,7 +166,7 @@ export async function executeSubAgent( }); logger.debug("Subagent execution completed", { - agent: subAgent.name, + agent: model?.name, responseLength: response.length, }); @@ -194,7 +193,7 @@ export async function executeSubAgent( } } catch (error: any) { logger.error("Subagent execution failed", { - agent: subAgent.name, + agent: subAgent.model?.name, error: error.message, }); diff --git a/extensions/cli/src/subagent/types.ts b/extensions/cli/src/subagent/types.ts deleted file mode 100644 index df5cb4d10..000000000 --- a/extensions/cli/src/subagent/types.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Configuration for a specialized agent - */ -export interface AgentConfig { - /** Unique identifier for the agent */ - name: string; - /** Human-readable display name */ - displayName: string; - /** Description of when to use this agent */ - description: string; - /** Tool configuration - which tools are available to this agent */ - availableTools: string[]; - /** Optional custom system prompt for the agent */ - systemPrompt?: string; -} diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index a8878fd79..a3f229175 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -49,7 +49,7 @@ export const subagentTool: Tool = { preview: [ { type: "text", - content: `Spawning ${agent.displayName} to: ${description}`, + content: `Spawning ${agent.model.name} to: ${description}`, }, ], }; From 53becf10ad5ee010a1658244b95291bf2b3616a5 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 19 Dec 2025 20:20:43 +0530 Subject: [PATCH 17/97] remove debug statements --- extensions/cli/src/services/ModelService.ts | 6 ------ extensions/cli/src/stream/streamChatResponse.ts | 2 -- extensions/cli/src/subagent/builtInAgents.ts | 7 +------ extensions/cli/src/subagent/executor.ts | 9 --------- extensions/cli/src/tools/subagent.ts | 4 ++-- 5 files changed, 3 insertions(+), 25 deletions(-) diff --git a/extensions/cli/src/services/ModelService.ts b/extensions/cli/src/services/ModelService.ts index d7a8864a0..3fc4a4126 100644 --- a/extensions/cli/src/services/ModelService.ts +++ b/extensions/cli/src/services/ModelService.ts @@ -308,15 +308,9 @@ export class ModelService getSubagentModels() { const state = this.getState(); - logger.debug("debug1 getSubagentModels", { - assistant: state.assistant, - }); if (!state.assistant) { return []; } - logger.debug("debug1 getSubagentModels", { - assistantModels: state.assistant.models, - }); const subagentModels = state.assistant.models ?.filter((model) => !!model) .filter((model) => !!model.name) // filter out models without a name diff --git a/extensions/cli/src/stream/streamChatResponse.ts b/extensions/cli/src/stream/streamChatResponse.ts index b63541db1..7a67054ea 100644 --- a/extensions/cli/src/stream/streamChatResponse.ts +++ b/extensions/cli/src/stream/streamChatResponse.ts @@ -457,8 +457,6 @@ export async function streamChatResponse( chatHistory = refreshChatHistoryFromService(chatHistory, isCompacting); logger.debug("Starting conversation iteration"); - logger.debug("debug1 streamChatResponse history", { chatHistory }); - // Get system message once per iteration (can change based on tool permissions mode) const systemMessage = await services.systemMessage.getSystemMessage( services.toolPermissions.getState().currentMode, diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/builtInAgents.ts index 2fe2be8d1..3f64acc04 100644 --- a/extensions/cli/src/subagent/builtInAgents.ts +++ b/extensions/cli/src/subagent/builtInAgents.ts @@ -1,5 +1,4 @@ import { services } from "../services/index.js"; -import { logger } from "../util/logger.js"; /** * Get an agent by name @@ -24,7 +23,7 @@ export function generateSubagentToolDescription(): string { ) .join("\n"); - const temp = `Launch a specialized subagent to handle complex, multi-step tasks autonomously. + return `Launch a specialized subagent to handle complex, multi-step tasks autonomously. Available agent types: ${agentList} @@ -38,8 +37,4 @@ When to use this tool: When NOT to use this tool: - Tasks you can complete directly with available tools - Trivial operations that don't require multiple steps`; - - logger.debug("debug1 temp->", { temp }); - - return temp; } diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 409e9876f..c75abf8d1 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -45,8 +45,6 @@ async function buildAgentSystemMessage( const agentPrompt = agent.model?.chatOptions?.baseSystemMessage || ""; - logger.debug("debug1 agentPrompt", { agentPrompt }); - // Combine base system message with agent-specific prompt if (agentPrompt) { return `${baseMessage}\n\n${agentPrompt}`; @@ -78,8 +76,6 @@ export async function executeSubAgent( throw new Error("Model or LLM API not available"); } - logger.debug("debug1 model and llmapi", { subAgent }); - // allow all tools for now // todo: eventually we want to show the same prompt in a dialog whether asking whether that tool call is allowed or not @@ -160,11 +156,6 @@ export async function executeSubAgent( ? lastMessage.message.content : ""; - logger.debug("debug1 response was", { - response, - history: chatHistory, - }); - logger.debug("Subagent execution completed", { agent: model?.name, responseLength: response.length, diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index a3f229175..830c20b62 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -58,7 +58,7 @@ export const subagentTool: Tool = { run: async (args, context?: { toolCallId: string }) => { const { prompt, subagent_name } = args; - logger.debug("debug1 subagent args", { args, context }); + logger.debug("subagent args", { args, context }); // Get agent configuration const agent = getAgent(subagent_name); @@ -101,7 +101,7 @@ export const subagentTool: Tool = { : undefined, }); - logger.debug("debug1 subagent result->", { result }); + logger.debug("subagent result", { result }); const output = [ result.response, From 70d5be809551a726b5108420e7254126c6ed486c Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 19 Dec 2025 20:22:56 +0530 Subject: [PATCH 18/97] rename builtInAgents to get-agents --- .../cli/src/subagent/{builtInAgents.ts => get-agents.ts} | 0 extensions/cli/src/tools/subagent.ts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename extensions/cli/src/subagent/{builtInAgents.ts => get-agents.ts} (100%) diff --git a/extensions/cli/src/subagent/builtInAgents.ts b/extensions/cli/src/subagent/get-agents.ts similarity index 100% rename from extensions/cli/src/subagent/builtInAgents.ts rename to extensions/cli/src/subagent/get-agents.ts diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 830c20b62..5b0a7f641 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,8 +1,8 @@ +import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, getAgent, -} from "../subagent/builtInAgents.js"; -import { executeSubAgent } from "../subagent/executor.js"; +} from "../subagent/get-agents.js"; import { logger } from "../util/logger.js"; import { Tool } from "./types.js"; From 08465a64005e4b01975a944d73d447dc0f2bdfb2 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 19 Dec 2025 21:27:36 +0530 Subject: [PATCH 19/97] add `subagent` in model roles --- core/config/yaml/loadYaml.ts | 2 ++ extensions/cli/src/services/ModelService.ts | 2 +- extensions/cli/src/subagent/get-agents.ts | 22 +++++++++------------ extensions/cli/src/tools/subagent.ts | 12 ++++++----- packages/config-yaml/src/schemas/models.ts | 1 + 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 40821bb04..535dd8d35 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -187,6 +187,7 @@ export async function configYamlToContinueConfig(options: { autocomplete: [], rerank: [], summarize: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -196,6 +197,7 @@ export async function configYamlToContinueConfig(options: { autocomplete: null, rerank: null, summarize: null, + subagent: null, }, rules: [], requestOptions: { ...config.requestOptions }, diff --git a/extensions/cli/src/services/ModelService.ts b/extensions/cli/src/services/ModelService.ts index 3fc4a4126..82e5d21e9 100644 --- a/extensions/cli/src/services/ModelService.ts +++ b/extensions/cli/src/services/ModelService.ts @@ -314,7 +314,7 @@ export class ModelService const subagentModels = state.assistant.models ?.filter((model) => !!model) .filter((model) => !!model.name) // filter out models without a name - .filter((model) => model.roles?.includes("apply")) // filter with role subagent + .filter((model) => model.roles?.includes("subagent")) // filter with role subagent .filter((model) => !!model.chatOptions?.baseSystemMessage); // filter those with a system message if (!subagentModels) { diff --git a/extensions/cli/src/subagent/get-agents.ts b/extensions/cli/src/subagent/get-agents.ts index 3f64acc04..80a84bd69 100644 --- a/extensions/cli/src/subagent/get-agents.ts +++ b/extensions/cli/src/subagent/get-agents.ts @@ -3,7 +3,7 @@ import { services } from "../services/index.js"; /** * Get an agent by name */ -export function getAgent(name: string) { +export function getSubagent(name: string) { return ( services.model .getSubagentModels() @@ -23,18 +23,14 @@ export function generateSubagentToolDescription(): string { ) .join("\n"); - return `Launch a specialized subagent to handle complex, multi-step tasks autonomously. + // todo: refine this prompt later + return `Launch a specialized subagent to handle a specific task. -Available agent types: +Here are the available subagents: ${agentList} - -When to use this tool: -- Complex research tasks requiring multiple file reads and searches -- Multi-step implementation tasks -- Tasks that benefit from autonomous execution -- When you need to parallelize independent work - -When NOT to use this tool: -- Tasks you can complete directly with available tools -- Trivial operations that don't require multiple steps`; +`; +} + +export function getAgentNames(): string[] { + return services.model.getSubagentModels().map((model) => model.model.name); } diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 5b0a7f641..29a44c549 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,7 +1,8 @@ import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, - getAgent, + getSubagent, + getAgentNames as getSubagentNames, } from "../subagent/get-agents.js"; import { logger } from "../util/logger.js"; @@ -28,8 +29,9 @@ export const subagentTool: Tool = { }, subagent_name: { type: "string", - description: - "The type of specialized agent to use for this task (e.g., 'general')", + description: `The type of specialized agent to use for this task. Available agents: ${getSubagentNames().join( + ", ", + )}`, }, }, }, @@ -37,7 +39,7 @@ export const subagentTool: Tool = { preprocess: async (args) => { const { description, subagent_name } = args; - const agent = getAgent(subagent_name); + const agent = getSubagent(subagent_name); if (!agent) { throw new Error( `Unknown agent type: ${subagent_name}. Available agents: general`, @@ -61,7 +63,7 @@ export const subagentTool: Tool = { logger.debug("subagent args", { args, context }); // Get agent configuration - const agent = getAgent(subagent_name); + const agent = getSubagent(subagent_name); if (!agent) { throw new Error(`Unknown agent type: ${subagent_name}`); } diff --git a/packages/config-yaml/src/schemas/models.ts b/packages/config-yaml/src/schemas/models.ts index 9f5a9e96e..cefbd93fa 100644 --- a/packages/config-yaml/src/schemas/models.ts +++ b/packages/config-yaml/src/schemas/models.ts @@ -28,6 +28,7 @@ export const modelRolesSchema = z.enum([ "edit", "apply", "summarize", + "subagent", ]); export type ModelRole = z.infer; From 918186a8d3a2b74735483f68510811e21b0d711c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 09:08:09 +0000 Subject: [PATCH 20/97] chore(deps): bump JetBrains/qodana-action from 2025.2.4 to 2025.3.1 Bumps [JetBrains/qodana-action](https://github.com/jetbrains/qodana-action) from 2025.2.4 to 2025.3.1. - [Release notes](https://github.com/jetbrains/qodana-action/releases) - [Commits](https://github.com/jetbrains/qodana-action/compare/v2025.2.4...v2025.3.1) --- updated-dependencies: - dependency-name: JetBrains/qodana-action dependency-version: 2025.3.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/jetbrains-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jetbrains-release.yaml b/.github/workflows/jetbrains-release.yaml index ce2c88439..bfe66fae5 100644 --- a/.github/workflows/jetbrains-release.yaml +++ b/.github/workflows/jetbrains-release.yaml @@ -491,7 +491,7 @@ jobs: # Run Qodana inspections - name: Qodana - Code Inspection - uses: JetBrains/qodana-action@v2025.2.4 + uses: JetBrains/qodana-action@v2025.3.1 with: cache-default-branch-only: true From 0d21e1cbc4f0403e2c1b54df51d745f0966622c0 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Tue, 23 Dec 2025 04:35:53 +0000 Subject: [PATCH 21/97] Fix flaky test for special characters in remote mode on macOS Node 18 Add extra wait time (500ms) for remote mode in the special characters input test. This addresses timing issues specifically on macOS with Node 18 where the UI takes longer to render input in remote mode. Co-authored-by: peter-parker Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx index e76c00806..bdb752660 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx @@ -56,6 +56,12 @@ describe("TUIChat - User Input Tests", () => { stdin.write("!@#$%^&*()"); await waitForNextRender(); + // Remote mode may need extra time for the input to be rendered + // especially on slower CI environments (macOS Node 18) + if (mode === "remote") { + await new Promise((resolve) => setTimeout(resolve, 500)); + } + const frame = lastFrame(); // Should handle special characters without crashing From 788e25338a1f21fe0b15db92397cb7fc1c236c6a Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 02:34:36 -0700 Subject: [PATCH 22/97] fix: wrap fileURLToPath in try-catch for WSL2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fileURLToPath function can throw "The URL must be of scheme file" in some WSL2/remote environments with malformed URIs. Wrap in try-catch to fall through to HOME directory fallback. Fixes #8091 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- core/tools/implementations/runTerminalCommand.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/tools/implementations/runTerminalCommand.ts b/core/tools/implementations/runTerminalCommand.ts index 19377a4ee..7fc26e9d7 100644 --- a/core/tools/implementations/runTerminalCommand.ts +++ b/core/tools/implementations/runTerminalCommand.ts @@ -52,7 +52,12 @@ function resolveWorkingDirectory(workspaceDirs: string[]): string { dir.startsWith("file:/"), ); if (fileWorkspaceDir) { - return fileURLToPath(fileWorkspaceDir); + try { + return fileURLToPath(fileWorkspaceDir); + } catch { + // fileURLToPath can fail on malformed URIs or in some remote environments + // Fall through to default handling + } } // Default to user's home directory with fallbacks try { From eab2ac1e045f2e4ba994cb7371b8e3a8e8aaf4b7 Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 05:10:13 -0700 Subject: [PATCH 23/97] fix: properly resolve WSL2 workspace paths in runTerminalCommand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parse vscode-remote://wsl+distro/path URIs to extract the actual workspace path instead of falling back to Windows HOME directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- core/tools/implementations/runTerminalCommand.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/tools/implementations/runTerminalCommand.ts b/core/tools/implementations/runTerminalCommand.ts index 7fc26e9d7..747e53fa3 100644 --- a/core/tools/implementations/runTerminalCommand.ts +++ b/core/tools/implementations/runTerminalCommand.ts @@ -48,6 +48,20 @@ import { getBooleanArg, getStringArg } from "../parseArgs"; * Falls back to home directory or temp directory if no workspace is available. */ function resolveWorkingDirectory(workspaceDirs: string[]): string { + // Handle vscode-remote://wsl+distro/path URIs (WSL2 remote workspaces) + const wslWorkspaceDir = workspaceDirs.find((dir) => + dir.startsWith("vscode-remote://wsl"), + ); + if (wslWorkspaceDir) { + try { + const url = new URL(wslWorkspaceDir); + return url.pathname; // e.g., "/home/user/project" + } catch { + // Fall through to other handlers + } + } + + // Handle file:// URIs (local workspaces) const fileWorkspaceDir = workspaceDirs.find((dir) => dir.startsWith("file:/"), ); @@ -59,6 +73,7 @@ function resolveWorkingDirectory(workspaceDirs: string[]): string { // Fall through to default handling } } + // Default to user's home directory with fallbacks try { return process.env.HOME || process.env.USERPROFILE || process.cwd(); From 074a6c74baf35b98e0092f0e6b37027bb6561eba Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 05:14:40 -0700 Subject: [PATCH 24/97] fix: decode URI-encoded pathname for WSL workspace paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Paths with spaces or special characters (e.g., /home/user/my%20project) need decodeURIComponent() to match actual filesystem paths. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- core/tools/implementations/runTerminalCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/implementations/runTerminalCommand.ts b/core/tools/implementations/runTerminalCommand.ts index 747e53fa3..e80414f92 100644 --- a/core/tools/implementations/runTerminalCommand.ts +++ b/core/tools/implementations/runTerminalCommand.ts @@ -55,7 +55,7 @@ function resolveWorkingDirectory(workspaceDirs: string[]): string { if (wslWorkspaceDir) { try { const url = new URL(wslWorkspaceDir); - return url.pathname; // e.g., "/home/user/project" + return decodeURIComponent(url.pathname); // e.g., "/home/user/project" } catch { // Fall through to other handlers } From 3ef9f89e8f7d429faeb1aa3049fd1d0f7cb71a9b Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 05:30:02 -0700 Subject: [PATCH 25/97] test: add comprehensive tests for WSL workspace path resolution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tests cover: - Basic WSL URI parsing - URL-encoded spaces and special characters - Unicode path handling - Different WSL distro names - Priority of WSL URIs over file:// URIs - Fallback behavior - Edge cases (plus signs, percent signs, mixed encoding) - Comparison with fileURLToPath behavior 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../resolveWorkingDirectory.vitest.ts | 202 ++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 core/tools/implementations/resolveWorkingDirectory.vitest.ts diff --git a/core/tools/implementations/resolveWorkingDirectory.vitest.ts b/core/tools/implementations/resolveWorkingDirectory.vitest.ts new file mode 100644 index 000000000..f4d4c308e --- /dev/null +++ b/core/tools/implementations/resolveWorkingDirectory.vitest.ts @@ -0,0 +1,202 @@ +import { describe, expect, it } from "vitest"; +import { fileURLToPath } from "node:url"; + +/** + * Test suite for workspace directory resolution logic. + * + * This tests the URI parsing behavior used in runTerminalCommand.ts + * to ensure correct handling of various workspace URI formats. + */ + +// Replicate the resolution logic for testing +function resolveWorkingDirectory(workspaceDirs: string[]): string { + // Handle vscode-remote://wsl+distro/path URIs (WSL2 remote workspaces) + const wslWorkspaceDir = workspaceDirs.find((dir) => + dir.startsWith("vscode-remote://wsl"), + ); + if (wslWorkspaceDir) { + try { + const url = new URL(wslWorkspaceDir); + return decodeURIComponent(url.pathname); + } catch { + // Fall through to other handlers + } + } + + // Handle file:// URIs (local workspaces) + const fileWorkspaceDir = workspaceDirs.find((dir) => + dir.startsWith("file:/"), + ); + if (fileWorkspaceDir) { + try { + return fileURLToPath(fileWorkspaceDir); + } catch { + // Fall through to default handling + } + } + + // Default to user's home directory with fallbacks + try { + return process.env.HOME || process.env.USERPROFILE || process.cwd(); + } catch { + return "/tmp"; + } +} + +describe("resolveWorkingDirectory", () => { + describe("WSL remote URIs (vscode-remote://wsl+...)", () => { + it("should parse basic WSL URI", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/project", + ]); + expect(result).toBe("/home/user/project"); + }); + + it("should decode URL-encoded spaces in path", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/my%20project", + ]); + expect(result).toBe("/home/user/my project"); + }); + + it("should decode URL-encoded special characters", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/path%23with%23hashes", + ]); + expect(result).toBe("/home/user/path#with#hashes"); + }); + + it("should decode URL-encoded unicode characters", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/%E4%B8%AD%E6%96%87%E8%B7%AF%E5%BE%84", + ]); + expect(result).toBe("/home/user/中文路径"); + }); + + it("should handle different WSL distro names", () => { + const ubuntu = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu-22.04/home/user/project", + ]); + expect(ubuntu).toBe("/home/user/project"); + + const debian = resolveWorkingDirectory([ + "vscode-remote://wsl+Debian/home/user/project", + ]); + expect(debian).toBe("/home/user/project"); + }); + + it("should handle root path", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/", + ]); + expect(result).toBe("/"); + }); + + it("should prioritize WSL URIs over file:// URIs", () => { + const result = resolveWorkingDirectory([ + "file:///c:/Users/user/project", + "vscode-remote://wsl+Ubuntu/home/user/project", + ]); + expect(result).toBe("/home/user/project"); + }); + }); + + describe("file:// URIs (local workspaces)", () => { + it("should parse basic file:// URI on Unix", () => { + const result = resolveWorkingDirectory([ + "file:///home/user/project", + ]); + expect(result).toBe("/home/user/project"); + }); + + it("should decode URL-encoded spaces in file:// URI", () => { + const result = resolveWorkingDirectory([ + "file:///home/user/my%20project", + ]); + expect(result).toBe("/home/user/my project"); + }); + + it("should handle Windows-style file:// URI", () => { + // fileURLToPath handles Windows paths correctly + const result = resolveWorkingDirectory([ + "file:///C:/Users/user/project", + ]); + // On Unix, this will be /C:/Users/user/project + // On Windows, this will be C:\Users\user\project + expect(result).toMatch(/project$/); + }); + }); + + describe("fallback behavior", () => { + it("should fall back to HOME when no valid URIs", () => { + const originalHome = process.env.HOME; + process.env.HOME = "/test/home"; + + const result = resolveWorkingDirectory([]); + expect(result).toBe("/test/home"); + + process.env.HOME = originalHome; + }); + + it("should handle empty workspace dirs array", () => { + const result = resolveWorkingDirectory([]); + // Should return HOME or USERPROFILE or cwd + expect(typeof result).toBe("string"); + expect(result.length).toBeGreaterThan(0); + }); + + it("should handle invalid URIs gracefully", () => { + const result = resolveWorkingDirectory([ + "not-a-valid-uri", + "also://not/handled", + ]); + // Should fall through to HOME fallback + expect(typeof result).toBe("string"); + }); + + it("should handle malformed vscode-remote URI", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu", // Missing path + ]); + // new URL() should still parse this, pathname would be empty or "/" + expect(typeof result).toBe("string"); + }); + }); + + describe("URL encoding edge cases", () => { + it("should handle plus signs (not spaces)", () => { + // In URL encoding, + is literal plus, %2B is encoded plus, %20 is space + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/c%2B%2B-project", + ]); + expect(result).toBe("/home/user/c++-project"); + }); + + it("should handle percent sign itself", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/100%25-complete", + ]); + expect(result).toBe("/home/user/100%-complete"); + }); + + it("should handle mixed encoded and unencoded characters", () => { + const result = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/normal-path/with%20space/more", + ]); + expect(result).toBe("/home/user/normal-path/with space/more"); + }); + }); + + describe("comparison with fileURLToPath behavior", () => { + it("should match fileURLToPath decoding for equivalent paths", () => { + const fileResult = fileURLToPath("file:///home/user/my%20project"); + const wslResult = resolveWorkingDirectory([ + "vscode-remote://wsl+Ubuntu/home/user/my%20project", + ]); + + // Both should decode %20 to space + expect(fileResult).toBe("/home/user/my project"); + expect(wslResult).toBe("/home/user/my project"); + }); + }); +}); From 27adb1d677653904c8a2efad1fc1065deb7993e7 Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 05:36:39 -0700 Subject: [PATCH 26/97] fix: use try/finally for env cleanup in test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ensures process.env.HOME is restored even if assertions fail, preventing flaky behavior in subsequent tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../resolveWorkingDirectory.vitest.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/tools/implementations/resolveWorkingDirectory.vitest.ts b/core/tools/implementations/resolveWorkingDirectory.vitest.ts index f4d4c308e..76858ae14 100644 --- a/core/tools/implementations/resolveWorkingDirectory.vitest.ts +++ b/core/tools/implementations/resolveWorkingDirectory.vitest.ts @@ -130,12 +130,13 @@ describe("resolveWorkingDirectory", () => { describe("fallback behavior", () => { it("should fall back to HOME when no valid URIs", () => { const originalHome = process.env.HOME; - process.env.HOME = "/test/home"; - - const result = resolveWorkingDirectory([]); - expect(result).toBe("/test/home"); - - process.env.HOME = originalHome; + try { + process.env.HOME = "/test/home"; + const result = resolveWorkingDirectory([]); + expect(result).toBe("/test/home"); + } finally { + process.env.HOME = originalHome; + } }); it("should handle empty workspace dirs array", () => { From e2511133268620d485d05d7918618dd3c3d15c13 Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 06:22:54 -0700 Subject: [PATCH 27/97] docs: add CLAUDE.md with WSL2 development notes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documents workarounds for: - Building VSIX from WSL2 (extension host selection) - File count issues affecting activation - Terminal command working directory resolution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..f7d17365a --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,51 @@ +# Continue Development Notes + +## WSL2 Development + +### Building VSIX from WSL2 + +The VS Code extension VSIX built on Linux contains Linux-only native binaries (sqlite3, LanceDB, ripgrep). When VS Code runs in WSL remote mode, extensions can run in either: + +- **Windows extension host** - needs Windows binaries +- **WSL extension host** - Linux binaries work + +If both hosts try to load the extension, the Windows host fails with: +``` +Error: node_sqlite3.node is not a valid Win32 application +``` + +**Workaround for local testing:** + +1. Build VSIX normally: `npm run package` (in extensions/vscode) +2. Install: `code --install-extension extensions/vscode/build/continue-*.vsix` +3. Delete Windows installation to force WSL-only: + ```bash + rm -rf /mnt/c/Users//.vscode/extensions/continue.continue-* + ``` +4. Reload VS Code + +This forces Continue to run exclusively in WSL extension host where Linux binaries work. + +**Related:** GitHub Issue #9326 + +### File Count and Extension Activation + +Large file counts (300K+) from node_modules and build artifacts can cause extension activation issues. If Continue fails to load: + +1. Delete build artifacts: + ```bash + rm -rf */node_modules */*/node_modules node_modules + rm -rf */dist */*/dist */out */*/out */build + ``` +2. Reload VS Code +3. Rebuild only when needed for testing + +### Terminal Command Working Directory + +The `run_terminal_command` tool resolves workspace directories from VS Code URIs. In WSL2: + +- URIs are `vscode-remote://wsl+Ubuntu/path` (not `file://`) +- Must parse with `new URL()` and extract pathname +- Must `decodeURIComponent()` for paths with spaces/special chars + +See: `core/tools/implementations/runTerminalCommand.ts` From 6b30a88fb074b9dbd4927b33ea7e9c1d80e590f7 Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Fri, 26 Dec 2025 06:27:00 -0700 Subject: [PATCH 28/97] style: fix prettier formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 1 + .../resolveWorkingDirectory.vitest.ts | 12 +++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index f7d17365a..4de463f01 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,6 +10,7 @@ The VS Code extension VSIX built on Linux contains Linux-only native binaries (s - **WSL extension host** - Linux binaries work If both hosts try to load the extension, the Windows host fails with: + ``` Error: node_sqlite3.node is not a valid Win32 application ``` diff --git a/core/tools/implementations/resolveWorkingDirectory.vitest.ts b/core/tools/implementations/resolveWorkingDirectory.vitest.ts index 76858ae14..6940af2ea 100644 --- a/core/tools/implementations/resolveWorkingDirectory.vitest.ts +++ b/core/tools/implementations/resolveWorkingDirectory.vitest.ts @@ -86,9 +86,7 @@ describe("resolveWorkingDirectory", () => { }); it("should handle root path", () => { - const result = resolveWorkingDirectory([ - "vscode-remote://wsl+Ubuntu/", - ]); + const result = resolveWorkingDirectory(["vscode-remote://wsl+Ubuntu/"]); expect(result).toBe("/"); }); @@ -103,9 +101,7 @@ describe("resolveWorkingDirectory", () => { describe("file:// URIs (local workspaces)", () => { it("should parse basic file:// URI on Unix", () => { - const result = resolveWorkingDirectory([ - "file:///home/user/project", - ]); + const result = resolveWorkingDirectory(["file:///home/user/project"]); expect(result).toBe("/home/user/project"); }); @@ -118,9 +114,7 @@ describe("resolveWorkingDirectory", () => { it("should handle Windows-style file:// URI", () => { // fileURLToPath handles Windows paths correctly - const result = resolveWorkingDirectory([ - "file:///C:/Users/user/project", - ]); + const result = resolveWorkingDirectory(["file:///C:/Users/user/project"]); // On Unix, this will be /C:/Users/user/project // On Windows, this will be C:\Users\user\project expect(result).toMatch(/project$/); From 595986a6fb46ccd4e023078e9e3a8aeb911629c7 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 29 Dec 2025 17:48:44 +0530 Subject: [PATCH 29/97] fix(cli): restart cli for manual update --- extensions/cli/src/services/UpdateService.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/extensions/cli/src/services/UpdateService.ts b/extensions/cli/src/services/UpdateService.ts index cdf197134..e9759b6ce 100644 --- a/extensions/cli/src/services/UpdateService.ts +++ b/extensions/cli/src/services/UpdateService.ts @@ -170,17 +170,15 @@ export class UpdateService extends BaseService { this.setState({ status: UpdateStatus.UPDATED, - message: `${isAutoUpdate ? "Auto-updated to" : "Restart for"} v${this.currentState.latestVersion}`, + message: `Updated to v${this.currentState.latestVersion}`, isUpdateAvailable: false, }); - if (isAutoUpdate) { - this.restartCLI(); - } + this.restartCLI(); } catch (error: any) { logger.error("Error updating CLI:", error); this.setState({ status: UpdateStatus.ERROR, - message: isAutoUpdate ? "Auto-update failed" : "Update failed", + message: "Update failed", error, }); setTimeout(() => { From d617dfd983686c5ca2dc87994a3dc1dcfdadcb76 Mon Sep 17 00:00:00 2001 From: Ahmed khaled <125749397+ahmedk20@users.noreply.github.com> Date: Sat, 3 Jan 2026 05:55:37 +0200 Subject: [PATCH 30/97] git commit -m "feat(new model): adding MiMo-V2-Flash" --- core/llm/autodetect.ts | 1 + core/llm/llms/Mimo.ts | 13 ++++++ core/llm/llms/index.ts | 1 + docs/customize/model-providers/more/mimo.mdx | 40 +++++++++++++++++++ gui/src/pages/AddNewModel/configs/models.ts | 16 ++++++++ .../pages/AddNewModel/configs/providers.ts | 21 ++++++++++ 6 files changed, 92 insertions(+) create mode 100644 core/llm/llms/Mimo.ts create mode 100644 docs/customize/model-providers/more/mimo.mdx diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index cf0630c59..2adb20a02 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -58,6 +58,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [ "sagemaker", "continue-proxy", "mistral", + "mimo", "sambanova", "vertexai", "watsonx", diff --git a/core/llm/llms/Mimo.ts b/core/llm/llms/Mimo.ts new file mode 100644 index 000000000..1347fe51f --- /dev/null +++ b/core/llm/llms/Mimo.ts @@ -0,0 +1,13 @@ +import { LLMOptions } from "../../index.js"; + +import OpenAI from "./OpenAI.js"; + +class Mimo extends OpenAI { + static providerName = "mimo"; + static defaultOptions: Partial = { + apiBase: "https://api.xiaomimimo.com/v1/", + model: "mimo-v2-flash", + }; +} + +export default Mimo; diff --git a/core/llm/llms/index.ts b/core/llm/llms/index.ts index 6ef57eae3..1e1359cff 100644 --- a/core/llm/llms/index.ts +++ b/core/llm/llms/index.ts @@ -37,6 +37,7 @@ import LlamaStack from "./LlamaStack"; import Lemonade from "./Lemonade"; import LMStudio from "./LMStudio"; import Mistral from "./Mistral"; +import Mimo from "./Mimo"; import MockLLM from "./Mock"; import Moonshot from "./Moonshot"; import Msty from "./Msty"; diff --git a/docs/customize/model-providers/more/mimo.mdx b/docs/customize/model-providers/more/mimo.mdx new file mode 100644 index 000000000..1db934da9 --- /dev/null +++ b/docs/customize/model-providers/more/mimo.mdx @@ -0,0 +1,40 @@ +--- +title: "How to Configure Xiaomi Mimo with Continue" +sidebarTitle: "Xiaomi Mimo" +--- + + + Get your API key from the [Xiaomi Mimo Platform](https://platform.xiaomimimo.com/) + + +## Configuration + + + + ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + + models: + - name: + provider: mimo + model: mimo-v2-flash + apiKey: + ``` + + + ```json title="config.json" + { + "models": [ + { + "title": "", + "provider": "mimo", + "model": "mimo-v2-flash", + "apiKey": "" + } + ] + } + ``` + + diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 59edce01d..f1ec7fa72 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -2661,4 +2661,20 @@ export const models: { [key: string]: ModelPackage } = { icon: "cometapi.png", isOpenSource: false, }, + + // Xiaomi Mimo models + mimoV2Flash: { + title: "mimo-v2-flash", + description: "Xiaomi's fast and efficient language model", + refUrl: "https://platform.xiaomimimo.com/", + params: { + title: "mimo-v2-flash", + model: "mimo-v2-flash", + contextLength: 128_000, + apiKey: "", + }, + providerOptions: ["mimo"], + icon: "mimo.png", + isOpenSource: false, + }, }; diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 085fb9522..de74e1a85 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -367,6 +367,27 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n models.mistral7b, ], apiKeyUrl: "https://console.mistral.ai/codestral", + }, + mimo: { + title: "Xiaomi Mimo", + provider: "mimo", + description: "Use Xiaomi's Mimo models for fast and efficient AI responses", + longDescription: + "Xiaomi Mimo provides OpenAI-compatible API access to their language models. Get your API key from the [Xiaomi Mimo Platform](https://platform.xiaomimimo.com/).", + icon: "mimo.png", + tags: [ModelProviderTags.RequiresApiKey], + packages: [models.mimoV2Flash], + collectInputFor: [ + { + inputType: "text", + key: "apiKey", + label: "API Key", + placeholder: "Enter your Xiaomi Mimo API key", + required: true, + }, + ...completionParamsInputsConfigs, + ], + apiKeyUrl: "https://platform.xiaomimimo.com/", }, ollama: { title: "Ollama", From a2d8443a35b90cc909e888e2e4d503c1525ff9da Mon Sep 17 00:00:00 2001 From: Ahmed khaled <125749397+ahmedk20@users.noreply.github.com> Date: Sat, 3 Jan 2026 19:55:09 +0200 Subject: [PATCH 31/97] feat(new model): adding MiMo-V2-Flash --- core/llm/llms/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/llm/llms/index.ts b/core/llm/llms/index.ts index 1e1359cff..03f6eeaa3 100644 --- a/core/llm/llms/index.ts +++ b/core/llm/llms/index.ts @@ -89,6 +89,7 @@ export const LLMClasses = [ Lemonade, LMStudio, Mistral, + Mimo, Bedrock, BedrockImport, SageMaker, From 3f61af520d43e949ef77821f56558cb3d15cc76b Mon Sep 17 00:00:00 2001 From: Ahmed khaled <125749397+ahmedk20@users.noreply.github.com> Date: Mon, 5 Jan 2026 03:22:50 +0200 Subject: [PATCH 32/97] feat(assets): add Xiaomi MiMo logo --- gui/public/logos/mimo.png | Bin 0 -> 108256 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 gui/public/logos/mimo.png diff --git a/gui/public/logos/mimo.png b/gui/public/logos/mimo.png new file mode 100644 index 0000000000000000000000000000000000000000..012a58277d650828c29bf0cf8263a4a9c289af8d GIT binary patch literal 108256 zcmeFZX;@R|)&?B4%G-kFJ+A|_7HCTyk)fiXUguu5pEvP-;Y0q_if4}`_Z$gIsJkNU8 zy4St#wU4c*uABbJ=bw;Br0K3M-)|(5KF3LeJO4t) zJpU}3t$f8PDPdz_3z5{>$BSboe|u>``S;&1U3JXoV!+J>Uw?c3&_BL8e$glQ=R2RY zeeV0i$?F+&=1hwS_xOHQ$Rxgd5c6^7aJN?bze&Ekm_ZG_=XwWuZQFOnA6Bw=L_KH5 zi5_H4gyZ0_Bdodrz-0-)1=Lz`JonlhFxQ z4_>Kt*sb1aByvZ{C`UYUV3l}H+bdr|Hh&OZfxTvIVa2kxvsSa*SrM!tR*t*(EJf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 Subject: [PATCH 33/97] test: add Mimo provider to OpenAI-compatible test suite --- core/llm/llms/OpenAI-compatible.vitest.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/llm/llms/OpenAI-compatible.vitest.ts b/core/llm/llms/OpenAI-compatible.vitest.ts index 2ec8de109..402fb7e75 100644 --- a/core/llm/llms/OpenAI-compatible.vitest.ts +++ b/core/llm/llms/OpenAI-compatible.vitest.ts @@ -9,6 +9,7 @@ import Deepseek from "./Deepseek.js"; import OpenRouter from "./OpenRouter.js"; import xAI from "./xAI.js"; import Mistral from "./Mistral.js"; +import Mimo from "./Mimo.js"; import LMStudio from "./LMStudio.js"; import Cerebras from "./Cerebras.js"; import DeepInfra from "./DeepInfra.js"; @@ -300,6 +301,11 @@ createOpenAISubclassTests(Mistral, { modelConversionContent: "hello", }); +createOpenAISubclassTests(Mimo, { + providerName: "mimo", + defaultApiBase: "https://api.xiaomimimo.com/v1/", +}); + createOpenAISubclassTests(LMStudio, { providerName: "lmstudio", defaultApiBase: "http://localhost:1234/v1/", From f73fe95bf1bc21641935a8b2ba15fac182fdbf77 Mon Sep 17 00:00:00 2001 From: Ahmed khaled <125749397+ahmedk20@users.noreply.github.com> Date: Mon, 5 Jan 2026 15:55:08 +0200 Subject: [PATCH 34/97] docs: add Xiaomi Mimo provider to documentation navigation --- docs/docs.json | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs.json b/docs/docs.json index 1d76546e6..429de6f45 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -207,6 +207,7 @@ "customize/model-providers/more/groq", "customize/model-providers/more/llamacpp", "customize/model-providers/more/llamastack", + "customize/model-providers/more/mimo", "customize/model-providers/more/mistral", "customize/model-providers/more/nvidia", "customize/model-providers/more/together", From 6a05e10b596444d81518654ccea37a57aaaa311d Mon Sep 17 00:00:00 2001 From: Ahmed khaled <125749397+ahmedk20@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:48:28 +0000 Subject: [PATCH 35/97] chore: format files with prettier --- core/llm/llms/Mimo.ts | 26 +++++++++---------- gui/src/pages/AddNewModel/configs/models.ts | 2 +- .../pages/AddNewModel/configs/providers.ts | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/core/llm/llms/Mimo.ts b/core/llm/llms/Mimo.ts index 1347fe51f..9de83a6e0 100644 --- a/core/llm/llms/Mimo.ts +++ b/core/llm/llms/Mimo.ts @@ -1,13 +1,13 @@ -import { LLMOptions } from "../../index.js"; - -import OpenAI from "./OpenAI.js"; - -class Mimo extends OpenAI { - static providerName = "mimo"; - static defaultOptions: Partial = { - apiBase: "https://api.xiaomimimo.com/v1/", - model: "mimo-v2-flash", - }; -} - -export default Mimo; +import { LLMOptions } from "../../index.js"; + +import OpenAI from "./OpenAI.js"; + +class Mimo extends OpenAI { + static providerName = "mimo"; + static defaultOptions: Partial = { + apiBase: "https://api.xiaomimimo.com/v1/", + model: "mimo-v2-flash", + }; +} + +export default Mimo; diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index f1ec7fa72..b98bf7f2b 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -2661,7 +2661,7 @@ export const models: { [key: string]: ModelPackage } = { icon: "cometapi.png", isOpenSource: false, }, - + // Xiaomi Mimo models mimoV2Flash: { title: "mimo-v2-flash", diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index de74e1a85..4b89b1aee 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -368,7 +368,7 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n ], apiKeyUrl: "https://console.mistral.ai/codestral", }, - mimo: { + mimo: { title: "Xiaomi Mimo", provider: "mimo", description: "Use Xiaomi's Mimo models for fast and efficient AI responses", From acf058c1e1e7851bd0a32838957abf24a64d6adf Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 6 Jan 2026 12:57:14 -0500 Subject: [PATCH 36/97] Revert "Fix flaky test for special characters in remote mode on macOS Node 18" This reverts commit 0d21e1cbc4f0403e2c1b54df51d745f0966622c0. --- extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx index bdb752660..e76c00806 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.input.test.tsx @@ -56,12 +56,6 @@ describe("TUIChat - User Input Tests", () => { stdin.write("!@#$%^&*()"); await waitForNextRender(); - // Remote mode may need extra time for the input to be rendered - // especially on slower CI environments (macOS Node 18) - if (mode === "remote") { - await new Promise((resolve) => setTimeout(resolve, 500)); - } - const frame = lastFrame(); // Should handle special characters without crashing From c1e466836acd0b2a5e81f2925c5d2e14691543d9 Mon Sep 17 00:00:00 2001 From: RomneyDa Date: Tue, 6 Jan 2026 18:20:36 +0000 Subject: [PATCH 37/97] fix: change 'Agent:' to 'Config:' in intro message and update tests - Update IntroMessage.tsx to display 'Config:' instead of 'Agent:' - Update IntroMessage.test.tsx to match new label - Update ServiceDebugger.tsx to use consistent 'Config:' label This change provides clearer terminology for users. Co-authored-by: dallin Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- extensions/cli/src/ui/IntroMessage.test.tsx | 4 ++-- extensions/cli/src/ui/IntroMessage.tsx | 2 +- extensions/cli/src/ui/ServiceDebugger.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/cli/src/ui/IntroMessage.test.tsx b/extensions/cli/src/ui/IntroMessage.test.tsx index 6f024b96e..2a8f566c4 100644 --- a/extensions/cli/src/ui/IntroMessage.test.tsx +++ b/extensions/cli/src/ui/IntroMessage.test.tsx @@ -53,12 +53,12 @@ describe("IntroMessage", () => { expect(lastFrame()).not.toContain("Mocked TipsDisplay"); }); - it("renders agent name when config is provided", () => { + it("renders config name when config is provided", () => { const config = { name: "Test Agent", version: "1.0.0", rules: [] }; const { lastFrame } = render(); - expect(lastFrame()).toContain("Agent:"); + expect(lastFrame()).toContain("Config:"); expect(lastFrame()).toContain("Test Agent"); }); diff --git a/extensions/cli/src/ui/IntroMessage.tsx b/extensions/cli/src/ui/IntroMessage.tsx index 139db3e8b..df3fb2f22 100644 --- a/extensions/cli/src/ui/IntroMessage.tsx +++ b/extensions/cli/src/ui/IntroMessage.tsx @@ -110,7 +110,7 @@ const IntroMessage: React.FC = ({ {/* Agent name */} {config && ( - Agent: {config.name} + Config: {config.name} )} diff --git a/extensions/cli/src/ui/ServiceDebugger.tsx b/extensions/cli/src/ui/ServiceDebugger.tsx index e10786dc5..d75d6765c 100644 --- a/extensions/cli/src/ui/ServiceDebugger.tsx +++ b/extensions/cli/src/ui/ServiceDebugger.tsx @@ -47,7 +47,7 @@ const ServiceDebugger: React.FC = ({ ? `User: ${service.authConfig.email || "unknown"}` : "No auth config"; case "config": - return service?.config ? `Agent: ${service.config.name}` : "No config"; + return service?.config ? `Config: ${service.config.name}` : "No config"; case "model": return service?.model ? `Model: ${service.model.name}` : "No model"; case "mcp": From fe1a35a33e0a54ae32a2fc97991a26a21b53ea09 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 6 Jan 2026 14:06:53 -0800 Subject: [PATCH 38/97] fix: use env vars for safe string handling in continue-agents workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Update Check Run" step was interpolating step outputs directly into JavaScript template literals, which breaks when the agent output contains backticks, template literal interpolation sequences, or other special characters that interfere with JS string parsing. This caused failures like "SyntaxError: Unexpected identifier 'mobile'" when the agent output contained multi-line text with certain keywords. Fix by passing outputs as environment variables and accessing them via process.env, which safely handles all string content without parsing issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/continue-agents.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continue-agents.yml b/.github/workflows/continue-agents.yml index 8acfe89a3..653bf9297 100644 --- a/.github/workflows/continue-agents.yml +++ b/.github/workflows/continue-agents.yml @@ -143,16 +143,21 @@ jobs: - name: Update Check Run if: always() uses: actions/github-script@v8 + env: + AGENT_OUTPUT: ${{ steps.run.outputs.output }} + AGENT_ERROR: ${{ steps.run.outputs.error }} + AGENT_SUCCESS: ${{ steps.run.outputs.success }} + CHECK_RUN_ID: ${{ steps.check.outputs.id }} with: script: | - const success = '${{ steps.run.outputs.success }}' === 'true'; - const output = `${{ steps.run.outputs.output }}`; - const error = `${{ steps.run.outputs.error }}`; + const success = process.env.AGENT_SUCCESS === 'true'; + const output = process.env.AGENT_OUTPUT || ''; + const error = process.env.AGENT_ERROR || ''; await github.rest.checks.update({ owner: context.repo.owner, repo: context.repo.repo, - check_run_id: ${{ steps.check.outputs.id }}, + check_run_id: parseInt(process.env.CHECK_RUN_ID, 10), status: 'completed', conclusion: success ? 'success' : 'failure', completed_at: new Date().toISOString(), From 8969f422619f63becf2f778c4465cf192ee83e18 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 6 Jan 2026 15:51:55 -0800 Subject: [PATCH 39/97] fix: also use env vars in Write job summary step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Write job summary step had the same issue - backticks in the agent output were being interpreted as bash command substitution, causing 'syntax error near unexpected token' failures. Use environment variables and printf instead of echo to safely handle all special characters in the output. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/continue-agents.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continue-agents.yml b/.github/workflows/continue-agents.yml index 653bf9297..4b6b20d52 100644 --- a/.github/workflows/continue-agents.yml +++ b/.github/workflows/continue-agents.yml @@ -117,22 +117,27 @@ jobs: - name: Write job summary if: always() + env: + AGENT_OUTPUT: ${{ steps.run.outputs.output }} + AGENT_ERROR: ${{ steps.run.outputs.error }} + AGENT_SUCCESS: ${{ steps.run.outputs.success }} + AGENT_NAME: ${{ steps.agent-name.outputs.name }} run: | - echo "## 🤖 Agent: ${{ steps.agent-name.outputs.name }}" >> $GITHUB_STEP_SUMMARY + echo "## 🤖 Agent: $AGENT_NAME" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - if [ "${{ steps.run.outputs.success }}" == "true" ]; then + if [ "$AGENT_SUCCESS" == "true" ]; then echo "✅ **Status:** Completed successfully" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Output" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY - echo "${{ steps.run.outputs.output }}" >> $GITHUB_STEP_SUMMARY + printf '%s\n' "$AGENT_OUTPUT" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY else echo "❌ **Status:** Failed" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Error" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY - echo "${{ steps.run.outputs.error }}" >> $GITHUB_STEP_SUMMARY + printf '%s\n' "$AGENT_ERROR" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY fi From 2d2147230c28fc8d91a0d4df8a27fbb88c6b0ed5 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 6 Jan 2026 15:54:17 -0800 Subject: [PATCH 40/97] fix: prevent string interpolation issues in remaining workflow steps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - continue-agents.yml: Use env var for agent name in Create Check Run step (prevents JS template literal breakage with backticks in filenames) - run-continue-agent.yml: Use jq to construct JSON body instead of string interpolation (prevents JSON syntax errors when prompt contains quotes, newlines, backslashes, or other special characters) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/continue-agents.yml | 4 +++- .github/workflows/run-continue-agent.yml | 23 ++++++++++++++++------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continue-agents.yml b/.github/workflows/continue-agents.yml index 4b6b20d52..8c96ede98 100644 --- a/.github/workflows/continue-agents.yml +++ b/.github/workflows/continue-agents.yml @@ -75,12 +75,14 @@ jobs: - name: Create Check Run id: check uses: actions/github-script@v8 + env: + AGENT_NAME: ${{ steps.agent-name.outputs.name }} with: script: | const { data: check } = await github.rest.checks.create({ owner: context.repo.owner, repo: context.repo.repo, - name: `Continue: ${{ steps.agent-name.outputs.name }}`, + name: `Continue: ${process.env.AGENT_NAME}`, head_sha: context.sha, status: 'in_progress', started_at: new Date().toISOString(), diff --git a/.github/workflows/run-continue-agent.yml b/.github/workflows/run-continue-agent.yml index 70b92dff5..476c033a6 100644 --- a/.github/workflows/run-continue-agent.yml +++ b/.github/workflows/run-continue-agent.yml @@ -28,15 +28,24 @@ jobs: steps: - name: Call agents endpoint + env: + PROMPT: ${{ inputs.prompt }} + AGENT: ${{ inputs.agent }} + BRANCH_NAME: ${{ inputs.branch_name }} + REPO_URL: https://github.com/${{ github.repository }} + CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }} run: | + # Use jq to properly construct JSON with safe escaping + json_body=$(jq -n \ + --arg prompt "$PROMPT" \ + --arg agent "$AGENT" \ + --arg branchName "$BRANCH_NAME" \ + --arg repoUrl "$REPO_URL" \ + '{prompt: $prompt, agent: $agent, branchName: $branchName, repoUrl: $repoUrl}') + response=$(curl -f -X POST https://api.continue.dev/agents \ -H "Content-Type: application/json" \ - -H "Authorization: Bearer ${{ secrets.CONTINUE_API_KEY }}" \ - -d '{ - "prompt": "${{ inputs.prompt }}", - "agent": "${{ inputs.agent }}", - "branchName": "${{ inputs.branch_name }}", - "repoUrl": "https://github.com/${{ github.repository }}" - }') + -H "Authorization: Bearer $CONTINUE_API_KEY" \ + -d "$json_body") id=$(echo $response | jq -r '.id') echo "https://hub.continue.dev/hub?type=agents/$id" From 8e5a7c2152a2e4e0baf88466900b258a9f2c28fd Mon Sep 17 00:00:00 2001 From: shanevcantwell <153727980+shanevcantwell@users.noreply.github.com> Date: Tue, 6 Jan 2026 19:08:33 -0700 Subject: [PATCH 41/97] refactor: generalize remote URI handling and remove CLAUDE.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove WSL-specific check in favor of generic URI handling - Support all vscode-remote:// URI schemes (WSL, SSH, dev-container) - Prefer file:// URIs when available, fall back to remote URIs - Add tests for various remote URI formats - Remove CLAUDE.md per reviewer feedback (use AGENTS.md convention) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 52 ------------------- .../implementations/runTerminalCommand.ts | 26 +++++----- .../runTerminalCommand.vitest.ts | 52 +++++++++++++++++++ 3 files changed, 65 insertions(+), 65 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 4de463f01..000000000 --- a/CLAUDE.md +++ /dev/null @@ -1,52 +0,0 @@ -# Continue Development Notes - -## WSL2 Development - -### Building VSIX from WSL2 - -The VS Code extension VSIX built on Linux contains Linux-only native binaries (sqlite3, LanceDB, ripgrep). When VS Code runs in WSL remote mode, extensions can run in either: - -- **Windows extension host** - needs Windows binaries -- **WSL extension host** - Linux binaries work - -If both hosts try to load the extension, the Windows host fails with: - -``` -Error: node_sqlite3.node is not a valid Win32 application -``` - -**Workaround for local testing:** - -1. Build VSIX normally: `npm run package` (in extensions/vscode) -2. Install: `code --install-extension extensions/vscode/build/continue-*.vsix` -3. Delete Windows installation to force WSL-only: - ```bash - rm -rf /mnt/c/Users//.vscode/extensions/continue.continue-* - ``` -4. Reload VS Code - -This forces Continue to run exclusively in WSL extension host where Linux binaries work. - -**Related:** GitHub Issue #9326 - -### File Count and Extension Activation - -Large file counts (300K+) from node_modules and build artifacts can cause extension activation issues. If Continue fails to load: - -1. Delete build artifacts: - ```bash - rm -rf */node_modules */*/node_modules node_modules - rm -rf */dist */*/dist */out */*/out */build - ``` -2. Reload VS Code -3. Rebuild only when needed for testing - -### Terminal Command Working Directory - -The `run_terminal_command` tool resolves workspace directories from VS Code URIs. In WSL2: - -- URIs are `vscode-remote://wsl+Ubuntu/path` (not `file://`) -- Must parse with `new URL()` and extract pathname -- Must `decodeURIComponent()` for paths with spaces/special chars - -See: `core/tools/implementations/runTerminalCommand.ts` diff --git a/core/tools/implementations/runTerminalCommand.ts b/core/tools/implementations/runTerminalCommand.ts index e80414f92..bed8aceb8 100644 --- a/core/tools/implementations/runTerminalCommand.ts +++ b/core/tools/implementations/runTerminalCommand.ts @@ -48,19 +48,6 @@ import { getBooleanArg, getStringArg } from "../parseArgs"; * Falls back to home directory or temp directory if no workspace is available. */ function resolveWorkingDirectory(workspaceDirs: string[]): string { - // Handle vscode-remote://wsl+distro/path URIs (WSL2 remote workspaces) - const wslWorkspaceDir = workspaceDirs.find((dir) => - dir.startsWith("vscode-remote://wsl"), - ); - if (wslWorkspaceDir) { - try { - const url = new URL(wslWorkspaceDir); - return decodeURIComponent(url.pathname); // e.g., "/home/user/project" - } catch { - // Fall through to other handlers - } - } - // Handle file:// URIs (local workspaces) const fileWorkspaceDir = workspaceDirs.find((dir) => dir.startsWith("file:/"), @@ -74,6 +61,19 @@ function resolveWorkingDirectory(workspaceDirs: string[]): string { } } + // Handle other URI schemes (vscode-remote://wsl, vscode-remote://ssh-remote, etc.) + const remoteWorkspaceDir = workspaceDirs.find( + (dir) => dir.includes("://") && !dir.startsWith("file:/"), + ); + if (remoteWorkspaceDir) { + try { + const url = new URL(remoteWorkspaceDir); + return decodeURIComponent(url.pathname); + } catch { + // Fall through to other handlers + } + } + // Default to user's home directory with fallbacks try { return process.env.HOME || process.env.USERPROFILE || process.cwd(); diff --git a/core/tools/implementations/runTerminalCommand.vitest.ts b/core/tools/implementations/runTerminalCommand.vitest.ts index 428cc8306..089c85502 100644 --- a/core/tools/implementations/runTerminalCommand.vitest.ts +++ b/core/tools/implementations/runTerminalCommand.vitest.ts @@ -553,6 +553,58 @@ describe("runTerminalCommandImpl", () => { // This demonstrates why the fix is needed - fileURLToPath throws on non-file URIs expect(() => fileURLToPath(nonFileUri)).toThrow(); }); + + it("should handle vscode-remote URIs by extracting pathname", async () => { + // Various remote URI formats that VS Code uses + const remoteUris = [ + "vscode-remote://wsl+Ubuntu/home/user/project", + "vscode-remote://ssh-remote+myserver/home/user/project", + "vscode-remote://dev-container+abc123/workspace", + ]; + + for (const uri of remoteUris) { + mockGetWorkspaceDirs.mockResolvedValue([uri]); + + // Should not throw - the generic URI handler extracts the pathname + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + } + }); + + it("should decode URI-encoded characters in remote workspace paths", async () => { + // Path with spaces and special characters + const encodedUri = + "vscode-remote://wsl+Ubuntu/home/user/my%20project%20%28test%29"; + mockGetWorkspaceDirs.mockResolvedValue([encodedUri]); + + // Should handle without throwing - decodeURIComponent is applied + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); + + it("should prefer file:// URIs over remote URIs when both present", async () => { + const workspaceDirs = [ + "vscode-remote://wsl+Ubuntu/home/user/remote-project", + "file:///home/user/local-project", + ]; + mockGetWorkspaceDirs.mockResolvedValue(workspaceDirs); + + // Should succeed, preferring the file:// URI + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); }); describe("remote environment handling", () => { From c078d772ebbbf166d43886a52e2ee93512eeb3e8 Mon Sep 17 00:00:00 2001 From: Volodymyr Bychkovyak Date: Tue, 6 Jan 2026 22:53:36 -0600 Subject: [PATCH 42/97] fix issue with lsTool listing fs root instead of current folder --- core/tools/implementations/lsTool.ts | 4 ++-- core/tools/implementations/lsTool.vitest.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/tools/implementations/lsTool.ts b/core/tools/implementations/lsTool.ts index c8c753060..8fc9a044e 100644 --- a/core/tools/implementations/lsTool.ts +++ b/core/tools/implementations/lsTool.ts @@ -2,12 +2,12 @@ import ignore from "ignore"; import { ToolImpl } from "."; import { walkDir } from "../../indexing/walkDir"; -import { resolveInputPath } from "../../util/pathResolver"; import { ContinueError, ContinueErrorReason } from "../../util/errors"; +import { resolveInputPath } from "../../util/pathResolver"; export function resolveLsToolDirPath(dirPath: string | undefined) { if (!dirPath || dirPath === ".") { - return "/"; + return "."; } // Don't strip leading slash from absolute paths - let the resolver handle it if (dirPath.startsWith(".") && !dirPath.startsWith("./")) { diff --git a/core/tools/implementations/lsTool.vitest.ts b/core/tools/implementations/lsTool.vitest.ts index c3c571294..7ec206827 100644 --- a/core/tools/implementations/lsTool.vitest.ts +++ b/core/tools/implementations/lsTool.vitest.ts @@ -13,15 +13,15 @@ const mockExtras = { } as unknown as ToolExtras; test("resolveLsToolDirPath handles undefined path", () => { - expect(resolveLsToolDirPath(undefined)).toBe("/"); + expect(resolveLsToolDirPath(undefined)).toBe("."); }); test("resolveLsToolDirPath handles empty string", () => { - expect(resolveLsToolDirPath("")).toBe("/"); + expect(resolveLsToolDirPath("")).toBe("."); }); test("resolveLsToolDirPath handles dot", () => { - expect(resolveLsToolDirPath(".")).toBe("/"); + expect(resolveLsToolDirPath(".")).toBe("."); }); test("resolveLsToolDirPath handles dot relative", () => { From 5abe556ddc5f72b3fc1ede7c03fcd7f8cff0300f Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 11:02:13 +0530 Subject: [PATCH 43/97] pass modelstate to read subagents --- extensions/cli/src/services/ModelService.ts | 13 ++++++----- extensions/cli/src/subagent/get-agents.ts | 24 ++++++++++++--------- extensions/cli/src/tools/index.tsx | 5 ++++- extensions/cli/src/tools/subagent.ts | 22 +++++++++---------- extensions/cli/src/tools/types.ts | 6 ++++++ 5 files changed, 41 insertions(+), 29 deletions(-) diff --git a/extensions/cli/src/services/ModelService.ts b/extensions/cli/src/services/ModelService.ts index 82e5d21e9..9e5422057 100644 --- a/extensions/cli/src/services/ModelService.ts +++ b/extensions/cli/src/services/ModelService.ts @@ -306,12 +306,11 @@ export class ModelService }); } - getSubagentModels() { - const state = this.getState(); - if (!state.assistant) { + static getSubagentModels(modelState: ModelServiceState) { + if (!modelState.assistant) { return []; } - const subagentModels = state.assistant.models + const subagentModels = modelState.assistant.models ?.filter((model) => !!model) .filter((model) => !!model.name) // filter out models without a name .filter((model) => model.roles?.includes("subagent")) // filter with role subagent @@ -321,10 +320,10 @@ export class ModelService return []; } return subagentModels?.map((model) => ({ - llmApi: createLlmApi(model, state.authConfig), + llmApi: createLlmApi(model, modelState.authConfig), model, - assistant: state.assistant, - authConfig: state.authConfig, + assistant: modelState.assistant, + authConfig: modelState.authConfig, })); } } diff --git a/extensions/cli/src/subagent/get-agents.ts b/extensions/cli/src/subagent/get-agents.ts index 80a84bd69..3b5282e4a 100644 --- a/extensions/cli/src/subagent/get-agents.ts +++ b/extensions/cli/src/subagent/get-agents.ts @@ -1,22 +1,24 @@ -import { services } from "../services/index.js"; +import { ModelServiceState } from "../services/index.js"; +import { ModelService } from "../services/ModelService.js"; /** * Get an agent by name */ -export function getSubagent(name: string) { +export function getSubagent(modelState: ModelServiceState, name: string) { return ( - services.model - .getSubagentModels() - .find((model) => model.model.name === name) ?? null + ModelService.getSubagentModels(modelState).find( + (model) => model.model.name === name, + ) ?? null ); } /** * Generate dynamic tool description listing available agents */ -export function generateSubagentToolDescription(): string { - const agentList = services.model - .getSubagentModels() +export function generateSubagentToolDescription( + modelState: ModelServiceState, +): string { + const agentList = ModelService.getSubagentModels(modelState) .map( (subagentModel) => ` - ${subagentModel.model.name}: ${subagentModel.model.chatOptions?.baseSystemMessage}`, @@ -31,6 +33,8 @@ ${agentList} `; } -export function getAgentNames(): string[] { - return services.model.getSubagentModels().map((model) => model.model.name); +export function getAgentNames(modelState: ModelServiceState): string[] { + return ModelService.getSubagentModels(modelState).map( + (model) => model.model.name, + ); } diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index f90b0c577..3e7bb9401 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -120,7 +120,7 @@ export async function getAllAvailableTools( tools.push(exitTool); } - tools.push(subagentTool); + tools.push(subagentTool({ modelServiceState: modelState })); const mcpState = await serviceContainer.get( SERVICE_NAMES.MCP, @@ -132,6 +132,9 @@ export async function getAllAvailableTools( export function getToolDisplayName(toolName: string): string { const tool = ALL_BUILT_IN_TOOLS.find((t) => t.name === toolName); + if (typeof tool === "function") { + return toolName; + } return tool?.displayName || toolName; } diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 29a44c549..fe39addcc 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -6,12 +6,12 @@ import { } from "../subagent/get-agents.js"; import { logger } from "../util/logger.js"; -import { Tool } from "./types.js"; +import { GetTool } from "./types.js"; -export const subagentTool: Tool = { +export const subagentTool: GetTool = (params) => ({ name: "Subagent", displayName: "Subagent", - description: generateSubagentToolDescription(), + description: generateSubagentToolDescription(params.modelServiceState), readonly: false, isBuiltIn: true, @@ -29,17 +29,17 @@ export const subagentTool: Tool = { }, subagent_name: { type: "string", - description: `The type of specialized agent to use for this task. Available agents: ${getSubagentNames().join( - ", ", - )}`, + description: `The type of specialized agent to use for this task. Available agents: ${getSubagentNames( + params.modelServiceState, + ).join(", ")}`, }, }, }, - preprocess: async (args) => { + preprocess: async (args: any) => { const { description, subagent_name } = args; - const agent = getSubagent(subagent_name); + const agent = getSubagent(params.modelServiceState, subagent_name); if (!agent) { throw new Error( `Unknown agent type: ${subagent_name}. Available agents: general`, @@ -57,13 +57,13 @@ export const subagentTool: Tool = { }; }, - run: async (args, context?: { toolCallId: string }) => { + run: async (args: any, context?: { toolCallId: string }) => { const { prompt, subagent_name } = args; logger.debug("subagent args", { args, context }); // Get agent configuration - const agent = getSubagent(subagent_name); + const agent = getSubagent(params.modelServiceState, subagent_name); if (!agent) { throw new Error(`Unknown agent type: ${subagent_name}`); } @@ -116,4 +116,4 @@ export const subagentTool: Tool = { return output; }, -}; +}); diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index f7b1ad3f1..3d2a4b579 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -1,5 +1,7 @@ import type { ToolPolicy } from "@continuedev/terminal-security"; +import { ModelServiceState } from "src/services/types.js"; + // JSON Schema compatible parameter definition export interface ParameterSchema { type: string; @@ -46,6 +48,10 @@ export interface Tool { ) => ToolPolicy; } +export type GetTool = (params: { + modelServiceState: ModelServiceState; +}) => Tool; + export interface ToolCall { id: string; name: string; From 27ac8cc23bf814d128c50fc515a680bef4358bfe Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:24:28 +0530 Subject: [PATCH 44/97] include model roles subagent --- core/config/yaml/loadYaml.ts | 4 ++++ extensions/cli/src/tools/subagent.ts | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 535dd8d35..3c0f2d220 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -335,6 +335,10 @@ export async function configYamlToContinueConfig(options: { if (model.roles?.includes("rerank")) { continueConfig.modelsByRole.rerank.push(...llms); } + + if (model.roles?.includes("subagent")) { + continueConfig.modelsByRole.subagent.push(...llms); + } } catch (e) { localErrors.push({ fatal: false, diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index fe39addcc..145d18a91 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -42,7 +42,9 @@ export const subagentTool: GetTool = (params) => ({ const agent = getSubagent(params.modelServiceState, subagent_name); if (!agent) { throw new Error( - `Unknown agent type: ${subagent_name}. Available agents: general`, + `Unknown agent type: ${subagent_name}. Available agents: ${getSubagentNames( + params.modelServiceState, + ).join(", ")}`, ); } From 8381812d9246b834d44df0b23f894c1ea6842928 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 19:50:09 +0530 Subject: [PATCH 45/97] allow escaping of subagent tool using event emit --- extensions/cli/src/subagent/executor.ts | 12 ++++++++++++ extensions/cli/src/ui/UserInput.tsx | 4 ++++ extensions/cli/src/util/cli.ts | 4 ++++ 3 files changed, 20 insertions(+) diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index c75abf8d1..b0ecc2c5a 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -8,6 +8,7 @@ import { } from "../services/index.js"; import { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; +import { escapeEvents } from "../util/cli.js"; import { logger } from "../util/logger.js"; /** @@ -125,6 +126,17 @@ export async function executeSubAgent( try { let accumulatedOutput = ""; + escapeEvents.on("user-escape", () => { + abortController.abort(); + chatHistory.push({ + message: { + role: "user", + content: "Subagent execution was cancelled by the user.", + }, + contextItems: [], + }); + }); + // Execute the chat stream with child session await streamChatResponse( chatHistory, diff --git a/extensions/cli/src/ui/UserInput.tsx b/extensions/cli/src/ui/UserInput.tsx index 470688120..205d48b2e 100644 --- a/extensions/cli/src/ui/UserInput.tsx +++ b/extensions/cli/src/ui/UserInput.tsx @@ -1,4 +1,5 @@ /* eslint-disable max-lines */ + import { type AssistantConfig } from "@continuedev/sdk"; import { Box, Text, useApp, useInput } from "ink"; import React, { useCallback, useRef, useState } from "react"; @@ -13,6 +14,7 @@ import { services, } from "../services/index.js"; import { messageQueue } from "../stream/messageQueue.js"; +import { escapeEvents } from "../util/cli.js"; import { InputHistory } from "../util/inputHistory.js"; import { FileSearchUI } from "./FileSearchUI.js"; @@ -616,6 +618,8 @@ const UserInput: React.FC = ({ const handleEscapeKey = (key: any): boolean => { if (!key.escape) return false; + escapeEvents.emit("user-escape"); + // If only "!" is present, clear shell mode if (inputMode && showBashMode && inputText.trim() === "!") { textBuffer.clear(); diff --git a/extensions/cli/src/util/cli.ts b/extensions/cli/src/util/cli.ts index 5132fd4c1..b8e359a1d 100644 --- a/extensions/cli/src/util/cli.ts +++ b/extensions/cli/src/util/cli.ts @@ -2,6 +2,8 @@ * Utility functions for CLI operations */ +import EventEmitter from "events"; + /** * Check if running in headless mode (-p/--print flags) */ @@ -90,3 +92,5 @@ export function hasSuppliedPrompt(): boolean { return false; } + +export const escapeEvents = new EventEmitter(); From d510de946bb4ec1a53ced8b37bd0b4318a8ee701 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:11:18 +0530 Subject: [PATCH 46/97] remove builtintoolnames --- .../cli/src/services/ToolPermissionService.ts | 4 +-- extensions/cli/src/tools/allBuiltIns.ts | 2 +- extensions/cli/src/tools/builtInToolNames.ts | 21 ----------- extensions/cli/src/tools/index.tsx | 3 -- extensions/cli/src/tools/subagent.ts | 35 ++++++++++++------- extensions/cli/src/tools/types.ts | 2 +- 6 files changed, 27 insertions(+), 40 deletions(-) delete mode 100644 extensions/cli/src/tools/builtInToolNames.ts diff --git a/extensions/cli/src/services/ToolPermissionService.ts b/extensions/cli/src/services/ToolPermissionService.ts index 236f72fb7..f1566900a 100644 --- a/extensions/cli/src/services/ToolPermissionService.ts +++ b/extensions/cli/src/services/ToolPermissionService.ts @@ -5,7 +5,7 @@ import { ToolPermissionPolicy, ToolPermissions, } from "../permissions/types.js"; -import { BUILT_IN_TOOL_NAMES } from "../tools/builtInToolNames.js"; +import { ALL_BUILT_IN_TOOLS } from "../tools/allBuiltIns.js"; import { logger } from "../util/logger.js"; import { BaseService, ServiceWithDependencies } from "./BaseService.js"; @@ -142,7 +142,7 @@ export class ToolPermissionService })); policies.push(...allowed); const specificBuiltInSet = new Set(specificBuiltIns); - const notMentioned = BUILT_IN_TOOL_NAMES.filter( + const notMentioned = ALL_BUILT_IN_TOOLS.map((t) => t.name).filter( (name) => !specificBuiltInSet.has(name), ); const disallowed: ToolPermissionPolicy[] = notMentioned.map((tool) => ({ diff --git a/extensions/cli/src/tools/allBuiltIns.ts b/extensions/cli/src/tools/allBuiltIns.ts index c5e86f9f3..be5e68b36 100644 --- a/extensions/cli/src/tools/allBuiltIns.ts +++ b/extensions/cli/src/tools/allBuiltIns.ts @@ -23,7 +23,7 @@ export const ALL_BUILT_IN_TOOLS = [ runTerminalCommandTool, fetchTool, writeChecklistTool, - subagentTool, + subagentTool(), exitTool, reportFailureTool, uploadArtifactTool, diff --git a/extensions/cli/src/tools/builtInToolNames.ts b/extensions/cli/src/tools/builtInToolNames.ts deleted file mode 100644 index 900984dc1..000000000 --- a/extensions/cli/src/tools/builtInToolNames.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * List of built-in tool names - * Kept separate from allBuiltIns.ts to avoid circular dependencies - */ -export const BUILT_IN_TOOL_NAMES = [ - "Read", - "Edit", - "MultiEdit", - "Write", - "List", - "Search", - "Bash", - "Fetch", - "Checklist", - "Subagent", - "Exit", - "ReportFailure", - "UploadArtifact", -] as const; - -export type BuiltInToolName = (typeof BUILT_IN_TOOL_NAMES)[number]; diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index 3e7bb9401..cfc508579 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -132,9 +132,6 @@ export async function getAllAvailableTools( export function getToolDisplayName(toolName: string): string { const tool = ALL_BUILT_IN_TOOLS.find((t) => t.name === toolName); - if (typeof tool === "function") { - return toolName; - } return tool?.displayName || toolName; } diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 145d18a91..ce8044e13 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,3 +1,4 @@ +import { services } from "../services/index.js"; import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, @@ -11,7 +12,9 @@ import { GetTool } from "./types.js"; export const subagentTool: GetTool = (params) => ({ name: "Subagent", displayName: "Subagent", - description: generateSubagentToolDescription(params.modelServiceState), + description: params + ? generateSubagentToolDescription(params.modelServiceState) + : "Use a subagent to handle a specialized task.", readonly: false, isBuiltIn: true, @@ -29,14 +32,26 @@ export const subagentTool: GetTool = (params) => ({ }, subagent_name: { type: "string", - description: `The type of specialized agent to use for this task. Available agents: ${getSubagentNames( - params.modelServiceState, - ).join(", ")}`, + description: `The type of specialized agent to use for this task. Available agents: ${ + params ? getSubagentNames(params.modelServiceState).join(", ") : "" + }`, }, }, }, preprocess: async (args: any) => { + if (!params) { + return { + args, + preview: [ + { + type: "text", + content: "Subagent not found", + }, + ], + }; + } + const { description, subagent_name } = args; const agent = getSubagent(params.modelServiceState, subagent_name); @@ -60,23 +75,19 @@ export const subagentTool: GetTool = (params) => ({ }, run: async (args: any, context?: { toolCallId: string }) => { + if (!params) return ""; + const { prompt, subagent_name } = args; logger.debug("subagent args", { args, context }); - // Get agent configuration + // get agent configuration const agent = getSubagent(params.modelServiceState, subagent_name); if (!agent) { throw new Error(`Unknown agent type: ${subagent_name}`); } - // Lazy import services to avoid circular dependency - const { services } = await import("../services/index.js"); - - // Get parent session ID from chat history service - const chatHistoryService = services.chatHistory; - const parentSessionId = chatHistoryService.getSessionId(); - + const parentSessionId = services.chatHistory.getSessionId(); if (!parentSessionId) { throw new Error("No active session found"); } diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index 3d2a4b579..235b7e140 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -48,7 +48,7 @@ export interface Tool { ) => ToolPolicy; } -export type GetTool = (params: { +export type GetTool = (params?: { modelServiceState: ModelServiceState; }) => Tool; From 8e0212268db31734c22c704b31da2b58994fe691 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:18:54 +0530 Subject: [PATCH 47/97] cleanup listener after execution --- extensions/cli/src/subagent/executor.ts | 29 +++++++++++++++---------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index b0ecc2c5a..b42b86baf 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -57,6 +57,7 @@ async function buildAgentSystemMessage( /** * Execute a subagent in a child session */ +// eslint-disable-next-line complexity export async function executeSubAgent( options: SubAgentExecutionOptions, ): Promise { @@ -123,20 +124,22 @@ export async function executeSubAgent( }, ] as ChatHistoryItem[]; + const escapeHandler = () => { + abortController.abort(); + chatHistory.push({ + message: { + role: "user", + content: "Subagent execution was cancelled by the user.", + }, + contextItems: [], + }); + }; + + escapeEvents.on("user-escape", escapeHandler); + try { let accumulatedOutput = ""; - escapeEvents.on("user-escape", () => { - abortController.abort(); - chatHistory.push({ - message: { - role: "user", - content: "Subagent execution was cancelled by the user.", - }, - contextItems: [], - }); - }); - // Execute the chat stream with child session await streamChatResponse( chatHistory, @@ -178,6 +181,10 @@ export async function executeSubAgent( response, }; } finally { + if (escapeHandler) { + escapeEvents.removeListener("user-escape", escapeHandler); + } + // Restore original system message function if (services.systemMessage && originalGetSystemMessage) { services.systemMessage.getSystemMessage = originalGetSystemMessage; From c366fa89ab279b2b6ae06d4481f59efc2f5c178d Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:24:42 +0530 Subject: [PATCH 48/97] fix lint --- core/config/load.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/config/load.ts b/core/config/load.ts index 35d12d421..4a88fbcce 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -514,6 +514,7 @@ async function intermediateToFinalConfig({ autocomplete: [...tabAutocompleteModels], embed: newEmbedder ? [newEmbedder] : [], rerank: newReranker ? [newReranker] : [], + subagent: [], }, selectedModelByRole: { chat: null, // Not implemented (uses GUI defaultModel) @@ -523,6 +524,7 @@ async function intermediateToFinalConfig({ autocomplete: null, rerank: newReranker ?? null, summarize: null, // Not implemented + subagent: null, }, rules: [], }; From 3bdac8d1ceb0277cbe6a4a8fce9508ab95673a74 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:37:43 +0530 Subject: [PATCH 49/97] move subagent behind beta --- extensions/cli/src/commands/BaseCommandOptions.ts | 2 ++ extensions/cli/src/index.ts | 4 ++++ extensions/cli/src/services/index.ts | 8 +++++++- extensions/cli/src/tools/index.tsx | 9 +++++++-- extensions/cli/src/tools/toolsConfig.ts | 9 +++++++++ 5 files changed, 29 insertions(+), 3 deletions(-) diff --git a/extensions/cli/src/commands/BaseCommandOptions.ts b/extensions/cli/src/commands/BaseCommandOptions.ts index 40db1aa7a..d9987403e 100644 --- a/extensions/cli/src/commands/BaseCommandOptions.ts +++ b/extensions/cli/src/commands/BaseCommandOptions.ts @@ -25,6 +25,8 @@ export interface BaseCommandOptions { agent?: string; /** Enable beta UploadArtifact tool */ betaUploadArtifactTool?: boolean; + /** Enable beta Subagent tool */ + betaSubagentTool?: boolean; } /** diff --git a/extensions/cli/src/index.ts b/extensions/cli/src/index.ts index 68a6b58cd..37dfd2cba 100644 --- a/extensions/cli/src/index.ts +++ b/extensions/cli/src/index.ts @@ -198,6 +198,10 @@ addCommonOptions(program) ) .option("--resume", "Resume from last session") .option("--fork ", "Fork from an existing session ID") + .option( + "--beta-subagent-tool", + "Enable beta Subagent tool for invoking subagents", + ) .action(async (prompt, options) => { // Telemetry: record command invocation await posthogService.capture("cliCommand", { command: "cn" }); diff --git a/extensions/cli/src/services/index.ts b/extensions/cli/src/services/index.ts index f53a53c84..1ddc73da7 100644 --- a/extensions/cli/src/services/index.ts +++ b/extensions/cli/src/services/index.ts @@ -1,6 +1,9 @@ import { loadAuthConfig } from "../auth/workos.js"; import { initializeWithOnboarding } from "../onboarding.js"; -import { setBetaUploadArtifactToolEnabled } from "../tools/toolsConfig.js"; +import { + setBetaSubagentToolEnabled, + setBetaUploadArtifactToolEnabled, +} from "../tools/toolsConfig.js"; import { logger } from "../util/logger.js"; import { AgentFileService } from "./AgentFileService.js"; @@ -62,6 +65,9 @@ export async function initializeServices(initOptions: ServiceInitOptions = {}) { if (commandOptions.betaUploadArtifactTool) { setBetaUploadArtifactToolEnabled(true); } + if (commandOptions.betaSubagentTool) { + setBetaSubagentToolEnabled(true); + } // Handle onboarding for TUI mode (headless: false) unless explicitly skipped if (!initOptions.headless && !initOptions.skipOnboarding) { const authConfig = loadAuthConfig(); diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index cfc508579..797ec1bae 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -29,7 +29,10 @@ import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { checkIfRipgrepIsInstalled, searchCodeTool } from "./searchCode.js"; import { subagentTool } from "./subagent.js"; -import { isBetaUploadArtifactToolEnabled } from "./toolsConfig.js"; +import { + isBetaSubagentToolEnabled, + isBetaUploadArtifactToolEnabled, +} from "./toolsConfig.js"; import { type Tool, type ToolCall, @@ -120,7 +123,9 @@ export async function getAllAvailableTools( tools.push(exitTool); } - tools.push(subagentTool({ modelServiceState: modelState })); + if (isBetaSubagentToolEnabled()) { + tools.push(subagentTool({ modelServiceState: modelState })); + } const mcpState = await serviceContainer.get( SERVICE_NAMES.MCP, diff --git a/extensions/cli/src/tools/toolsConfig.ts b/extensions/cli/src/tools/toolsConfig.ts index b1703a545..e9a2e0233 100644 --- a/extensions/cli/src/tools/toolsConfig.ts +++ b/extensions/cli/src/tools/toolsConfig.ts @@ -4,6 +4,7 @@ */ let betaUploadArtifactToolEnabled = false; +let betaSubagentToolEnabled = false; export function setBetaUploadArtifactToolEnabled(enabled: boolean): void { betaUploadArtifactToolEnabled = enabled; @@ -12,3 +13,11 @@ export function setBetaUploadArtifactToolEnabled(enabled: boolean): void { export function isBetaUploadArtifactToolEnabled(): boolean { return betaUploadArtifactToolEnabled; } + +export function setBetaSubagentToolEnabled(enabled: boolean): void { + betaSubagentToolEnabled = enabled; +} + +export function isBetaSubagentToolEnabled(): boolean { + return betaSubagentToolEnabled; +} From a48bb94c09a13dfcce36f24258d91b51572b83b7 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:40:03 +0530 Subject: [PATCH 50/97] fix more lints --- core/config/usesFreeTrialApiKey.vitest.ts | 12 ++++++++++++ core/config/yaml/models.vitest.ts | 2 ++ gui/src/redux/slices/configSlice.ts | 2 ++ 3 files changed, 16 insertions(+) diff --git a/core/config/usesFreeTrialApiKey.vitest.ts b/core/config/usesFreeTrialApiKey.vitest.ts index 6d8318830..79dfca35a 100644 --- a/core/config/usesFreeTrialApiKey.vitest.ts +++ b/core/config/usesFreeTrialApiKey.vitest.ts @@ -58,6 +58,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -67,6 +68,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], @@ -106,6 +108,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -115,6 +118,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], @@ -166,6 +170,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -175,6 +180,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], @@ -227,6 +233,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -236,6 +243,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], @@ -281,6 +289,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -290,6 +299,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], @@ -323,6 +333,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -332,6 +343,7 @@ describe("usesFreeTrialApiKey", () => { autocomplete: null, rerank: null, embed: null, + subagent: null, }, contextProviders: [], slashCommands: [], diff --git a/core/config/yaml/models.vitest.ts b/core/config/yaml/models.vitest.ts index aa2bc4691..0e99448d5 100644 --- a/core/config/yaml/models.vitest.ts +++ b/core/config/yaml/models.vitest.ts @@ -67,6 +67,7 @@ describe("llmsFromModelConfig requestOptions merging", () => { embed: null, rerank: null, summarize: null, + subagent: null, }, modelsByRole: { apply: [], @@ -76,6 +77,7 @@ describe("llmsFromModelConfig requestOptions merging", () => { embed: [], rerank: [], summarize: [], + subagent: [], }, slashCommands: [], tools: [], diff --git a/gui/src/redux/slices/configSlice.ts b/gui/src/redux/slices/configSlice.ts index 678354655..202abbfbb 100644 --- a/gui/src/redux/slices/configSlice.ts +++ b/gui/src/redux/slices/configSlice.ts @@ -23,6 +23,7 @@ export const EMPTY_CONFIG: BrowserSerializedContinueConfig = { autocomplete: [], rerank: [], embed: [], + subagent: [], }, selectedModelByRole: { chat: null, @@ -32,6 +33,7 @@ export const EMPTY_CONFIG: BrowserSerializedContinueConfig = { autocomplete: null, rerank: null, embed: null, + subagent: null, }, rules: [], }; From 52f7be01db90f91418ffb8fed3da5fd1aa7792a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 16:52:30 +0000 Subject: [PATCH 51/97] chore(deps): bump @modelcontextprotocol/sdk in /core Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.24.1 to 1.25.2. - [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases) - [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.1...v1.25.2) --- updated-dependencies: - dependency-name: "@modelcontextprotocol/sdk" dependency-version: 1.25.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- core/package-lock.json | 193 +++++++++++++++++++++++++++++++++-------- 1 file changed, 156 insertions(+), 37 deletions(-) diff --git a/core/package-lock.json b/core/package-lock.json index 00b799d20..41d773631 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -220,6 +220,8 @@ "version": "1.32.0", "license": "Apache-2.0", "dependencies": { + "@ai-sdk/anthropic": "^1.0.10", + "@ai-sdk/openai": "^1.0.10", "@anthropic-ai/sdk": "^0.67.0", "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/credential-providers": "^3.931.0", @@ -227,6 +229,7 @@ "@continuedev/config-yaml": "^1.36.0", "@continuedev/fetch": "^1.6.0", "@google/genai": "^1.30.0", + "ai": "^4.0.33", "dotenv": "^16.5.0", "google-auth-library": "^10.4.1", "json-schema": "^0.4.0", @@ -271,6 +274,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@75lb/deep-merge/-/deep-merge-1.1.2.tgz", "integrity": "sha512-08K9ou5VNbheZFxM5tDWoqjA3ImC50DiuuJ2tj1yEPRfkp8lLLg6XAaJ4On+a0yAXor/8ay5gHnAIshRM44Kpw==", + "peer": true, "dependencies": { "lodash": "^4.17.21", "typical": "^7.1.1" @@ -283,6 +287,7 @@ "version": "7.3.0", "resolved": "https://registry.npmjs.org/typical/-/typical-7.3.0.tgz", "integrity": "sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==", + "peer": true, "engines": { "node": ">=12.17" } @@ -3020,7 +3025,6 @@ "version": "7.26.0", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", - "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.26.0", @@ -5374,6 +5378,18 @@ "node": ">=18.0.0" } }, + "node_modules/@hono/node-server": { + "version": "1.19.7", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.7.tgz", + "integrity": "sha512-vUcD0uauS7EU2caukW8z5lJKtoGMokxNbJtBiwHgpqxEXokaHCBkQUmCHhjFB1VUTWdqj25QoMkMKzgjq+uhrw==", + "license": "MIT", + "engines": { + "node": ">=18.14.1" + }, + "peerDependencies": { + "hono": "^4" + } + }, "node_modules/@huggingface/jinja": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.1.3.tgz", @@ -6048,11 +6064,12 @@ ] }, "node_modules/@modelcontextprotocol/sdk": { - "version": "1.24.1", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.24.1.tgz", - "integrity": "sha512-YTg4v6bKSst8EJM8NXHC3nGm8kgHD08IbIBbognUeLAgGLVgLpYrgQswzLQd4OyTL4l614ejhqsDrV1//t02Qw==", + "version": "1.25.2", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.25.2.tgz", + "integrity": "sha512-LZFeo4F9M5qOhC/Uc1aQSrBHxMrvxett+9KLHt7OhcExtoiRN9DKgbZffMP/nxjutWDQpfMDfP3nkHI4X9ijww==", "license": "MIT", "dependencies": { + "@hono/node-server": "^1.19.7", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", @@ -6063,6 +6080,7 @@ "express": "^5.0.1", "express-rate-limit": "^7.5.0", "jose": "^6.1.1", + "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", @@ -6199,7 +6217,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", - "peer": true, "dependencies": { "@octokit/auth-token": "^4.0.0", "@octokit/graphql": "^7.1.0", @@ -6344,7 +6361,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -6366,7 +6382,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.30.1.tgz", "integrity": "sha512-s5vvxXPVdjqS3kTLKMeBMvop9hbWkwzBpu+mUO2M7sZtlkyDJGwFe33wRKnbaYDo8ExRVBIIdwIGrqpxHuKttA==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=14" }, @@ -6379,7 +6394,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.30.1.tgz", "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/semantic-conventions": "1.28.0" }, @@ -6899,7 +6913,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.30.1.tgz", "integrity": "sha512-5UxZqiAgLYGFjS4s9qm5mBVo433u+dSPUFWVWXmLAD4wB65oMCoXaJP1KJa9DIYYMeHu3z4BZcStG3LC593cWA==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "1.30.1", "@opentelemetry/semantic-conventions": "1.28.0" @@ -6925,7 +6938,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.30.1.tgz", "integrity": "sha512-jVPgBbH1gCy2Lb7X0AVQ8XAfgg0pJ4nvl8/IiQA6nxOsPvS+0zMJaFSs2ltXe0J6C8dqjcnpyqINDJmU30+uOg==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "1.30.1", "@opentelemetry/resources": "1.30.1", @@ -6952,7 +6964,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.36.0.tgz", "integrity": "sha512-TtxJSRD8Ohxp6bKkhrm27JRHAxPczQA7idtcTOMYI+wQRRrfgqxHv1cFbCApcSnNjtXkmzFozn6jQtFrOmbjPQ==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=14" } @@ -7363,7 +7374,8 @@ "node_modules/@rtsao/scc": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", - "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==" + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "peer": true }, "node_modules/@sentry/babel-plugin-component-annotate": { "version": "4.0.2", @@ -8637,12 +8649,14 @@ "node_modules/@types/command-line-args": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.2.0.tgz", - "integrity": "sha512-UuKzKpJJ/Ief6ufIaIzr3A/0XnluX7RvFgwkV89Yzvm77wCh1kFaFmqN8XEnGcN62EuHdedQjEMb8mYxFLGPyA==" + "integrity": "sha512-UuKzKpJJ/Ief6ufIaIzr3A/0XnluX7RvFgwkV89Yzvm77wCh1kFaFmqN8XEnGcN62EuHdedQjEMb8mYxFLGPyA==", + "peer": true }, "node_modules/@types/command-line-usage": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@types/command-line-usage/-/command-line-usage-5.0.2.tgz", - "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==" + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==", + "peer": true }, "node_modules/@types/connect": { "version": "3.4.38", @@ -8758,7 +8772,8 @@ "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "peer": true }, "node_modules/@types/long": { "version": "4.0.2", @@ -8823,7 +8838,8 @@ "node_modules/@types/pad-left": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@types/pad-left/-/pad-left-2.1.1.tgz", - "integrity": "sha512-Xd22WCRBydkGSApl5Bw0PhAOHKSVjNL3E3AwzKaps96IMraPqy5BvZIsBVK6JLwdybUzjHnuWVwpDd0JjTfHXA==" + "integrity": "sha512-Xd22WCRBydkGSApl5Bw0PhAOHKSVjNL3E3AwzKaps96IMraPqy5BvZIsBVK6JLwdybUzjHnuWVwpDd0JjTfHXA==", + "peer": true }, "node_modules/@types/pg": { "version": "8.11.10", @@ -9033,7 +9049,6 @@ "integrity": "sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.40.0", "@typescript-eslint/types": "8.40.0", @@ -9457,7 +9472,6 @@ "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -9711,6 +9725,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "peer": true, "engines": { "node": ">=6" } @@ -9719,6 +9734,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "peer": true, "dependencies": { "call-bind": "^1.0.5", "is-array-buffer": "^3.0.4" @@ -9734,6 +9750,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -9758,6 +9775,7 @@ "version": "1.2.5", "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -9777,6 +9795,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "peer": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -9794,6 +9813,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -9811,6 +9831,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "peer": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", "call-bind": "^1.0.5", @@ -9887,6 +9908,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "peer": true, "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -10342,7 +10364,6 @@ "url": "https://github.com/sponsors/ai" } ], - "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001669", "electron-to-chromium": "^1.5.41", @@ -10649,6 +10670,7 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/chalk-template/-/chalk-template-0.4.0.tgz", "integrity": "sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==", + "peer": true, "dependencies": { "chalk": "^4.1.2" }, @@ -10957,6 +10979,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", + "peer": true, "dependencies": { "array-back": "^3.1.0", "find-replace": "^3.0.0", @@ -10971,6 +10994,7 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-7.0.1.tgz", "integrity": "sha512-NCyznE//MuTjwi3y84QVUGEOT+P5oto1e1Pk/jFPVdPPfsG03qpTIl3yw6etR+v73d0lXsoojRpvbru2sqePxQ==", + "peer": true, "dependencies": { "array-back": "^6.2.2", "chalk-template": "^0.4.0", @@ -10985,6 +11009,7 @@ "version": "6.2.2", "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", + "peer": true, "engines": { "node": ">=12.17" } @@ -10993,6 +11018,7 @@ "version": "7.3.0", "resolved": "https://registry.npmjs.org/typical/-/typical-7.3.0.tgz", "integrity": "sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==", + "peer": true, "engines": { "node": ">=12.17" } @@ -11260,6 +11286,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "peer": true, "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -11276,6 +11303,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -11292,6 +11320,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "peer": true, "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -11530,8 +11559,7 @@ "version": "0.0.1521046", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1521046.tgz", "integrity": "sha512-vhE6eymDQSKWUXwwA37NtTTVEzjtGVfDr3pRbsWEQ5onH/Snp2c+2xZHWJJawG/0hCCJLRGt4xVtEVUVILol4w==", - "license": "BSD-3-Clause", - "peer": true + "license": "BSD-3-Clause" }, "node_modules/diff": { "version": "7.0.0", @@ -11736,6 +11764,16 @@ "node": ">= 0.8" } }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, "node_modules/encoding-sniffer": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz", @@ -11849,6 +11887,7 @@ "version": "1.23.5", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz", "integrity": "sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==", + "peer": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", "arraybuffer.prototype.slice": "^1.0.3", @@ -11957,6 +11996,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "peer": true, "dependencies": { "hasown": "^2.0.0" } @@ -11965,6 +12005,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", + "peer": true, "dependencies": { "is-callable": "^1.2.7", "is-date-object": "^1.0.5", @@ -12420,7 +12461,6 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -12505,6 +12545,7 @@ "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "peer": true, "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.13.0", @@ -12515,6 +12556,7 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "peer": true, "dependencies": { "ms": "^2.1.1" } @@ -12523,6 +12565,7 @@ "version": "2.12.0", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", + "peer": true, "dependencies": { "debug": "^3.2.7" }, @@ -12539,6 +12582,7 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "peer": true, "dependencies": { "ms": "^2.1.1" } @@ -12547,6 +12591,7 @@ "version": "2.31.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", + "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.8", @@ -12580,6 +12625,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "license": "MIT", + "peer": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -12589,6 +12635,7 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "peer": true, "dependencies": { "ms": "^2.1.1" } @@ -12597,6 +12644,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "peer": true, "dependencies": { "esutils": "^2.0.2" }, @@ -12608,6 +12656,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -13235,6 +13284,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "peer": true, "dependencies": { "array-back": "^3.0.1" }, @@ -13273,7 +13323,8 @@ "node_modules/flatbuffers": { "version": "23.5.26", "resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-23.5.26.tgz", - "integrity": "sha512-vE+SI9vrJDwi1oETtTIFldC/o9GsVKRM+s6EL0nQgxXlYV1Vc4Tk30hj4xGICftInKQKj1F3up2n8UbIVobISQ==" + "integrity": "sha512-vE+SI9vrJDwi1oETtTIFldC/o9GsVKRM+s6EL0nQgxXlYV1Vc4Tk30hj4xGICftInKQKj1F3up2n8UbIVobISQ==", + "peer": true }, "node_modules/flatted": { "version": "3.3.2", @@ -13308,6 +13359,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "peer": true, "dependencies": { "is-callable": "^1.1.3" } @@ -13452,6 +13504,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "peer": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -13469,6 +13522,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "peer": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -13660,6 +13714,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "peer": true, "dependencies": { "call-bind": "^1.0.5", "es-errors": "^1.3.0", @@ -13770,6 +13825,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "peer": true, "dependencies": { "define-properties": "^1.2.1", "gopd": "^1.0.1" @@ -13958,6 +14014,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "peer": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -13993,6 +14050,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "peer": true, "dependencies": { "dunder-proto": "^1.0.0" }, @@ -14090,6 +14148,16 @@ "he": "bin/he" } }, + "node_modules/hono": { + "version": "4.11.3", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.3.tgz", + "integrity": "sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=16.9.0" + } + }, "node_modules/html-encoding-sniffer": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz", @@ -14350,6 +14418,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "peer": true, "dependencies": { "es-errors": "^1.3.0", "hasown": "^2.0.0", @@ -14383,6 +14452,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "peer": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.1" @@ -14403,6 +14473,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "peer": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -14417,6 +14488,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "peer": true, "dependencies": { "has-bigints": "^1.0.2" }, @@ -14443,6 +14515,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.0.tgz", "integrity": "sha512-kR5g0+dXf/+kXnqI+lu0URKYPKgICtHGGNCDSB10AaUFj3o/HkB3u7WfpRBJGFopxxY0oH3ux7ZsDjLtK7xqvw==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "has-tostringtag": "^1.0.2" @@ -14458,6 +14531,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -14483,6 +14557,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "peer": true, "dependencies": { "is-typed-array": "^1.1.13" }, @@ -14497,6 +14572,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "peer": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -14538,6 +14614,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.0.tgz", "integrity": "sha512-qfMdqbAQEwBw78ZyReKnlA8ezmPdb9BemzIIip/JkjaZUhitfXDkkr+3QTboW0JrSXT1QWyYShpvnNHGZ4c4yA==", + "peer": true, "dependencies": { "call-bind": "^1.0.7" }, @@ -14569,6 +14646,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "peer": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -14609,6 +14687,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -14620,6 +14699,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -14639,6 +14719,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.0.tgz", "integrity": "sha512-KVSZV0Dunv9DTPkhXwcZ3Q+tUc9TsaE1ZwX5J2WMvsSGS6Md8TFPun5uwh0yRdrNerI6vf/tbJxqSx4c1ZI1Lw==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "has-tostringtag": "^1.0.2" @@ -14677,6 +14758,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.0.tgz", "integrity": "sha512-B6ohK4ZmoftlUe+uvenXSbPJFo6U37BH7oO1B3nQH8f/7h27N56s85MhUtbFJAziz5dcmuR3i8ovUl35zp8pFA==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "gopd": "^1.1.0", @@ -14694,6 +14776,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -14705,6 +14788,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "peer": true, "dependencies": { "call-bind": "^1.0.7" }, @@ -14730,6 +14814,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.0.tgz", "integrity": "sha512-PlfzajuF9vSo5wErv3MJAKD/nqf9ngAs1NFQYm16nUYFO2IzxJ2hcm+IOCg+EEopdykNNUhVq5cz35cAUxU8+g==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "has-tostringtag": "^1.0.2" @@ -14745,6 +14830,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.0.tgz", "integrity": "sha512-qS8KkNNXUZ/I+nX6QT8ZS1/Yx0A444yhzdTKxCzKkNjQ9sHErBxJnJAgh+f5YhusYECEcjo4XcyH87hn6+ks0A==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "has-symbols": "^1.0.3", @@ -14761,6 +14847,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "peer": true, "dependencies": { "which-typed-array": "^1.1.14" }, @@ -14780,6 +14867,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "peer": true, "engines": { "node": ">= 0.4" }, @@ -14791,6 +14879,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.2" }, @@ -14802,6 +14891,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4" @@ -14827,7 +14917,8 @@ "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "peer": true }, "node_modules/isexe": { "version": "2.0.0", @@ -14977,7 +15068,6 @@ "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -15909,7 +15999,6 @@ "version": "24.1.3", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.1.3.tgz", "integrity": "sha512-MyL55p3Ut3cXbeBEG7Hcv0mVM8pp8PBNWxRqchZnSfAiES1v1mRnMeFfaHWIPULpwsYfvO+ZmMZz5tGCnjzDUQ==", - "peer": true, "dependencies": { "cssstyle": "^4.0.1", "data-urls": "^5.0.0", @@ -15969,6 +16058,7 @@ "version": "0.0.3", "resolved": "https://registry.npmjs.org/json-bignum/-/json-bignum-0.0.3.tgz", "integrity": "sha512-2WHyXj3OfHSgNyuzDbSxI1w2jgw5gkWSWhS7Qg4bWXx1nLk3jnbwfUeS0PSba3IzpTUWdHxBieELUzXRjQB2zg==", + "peer": true, "engines": { "node": ">=0.8" } @@ -15993,6 +16083,12 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "license": "BSD-2-Clause" + }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", @@ -16228,7 +16324,8 @@ "node_modules/lodash.camelcase": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "peer": true }, "node_modules/lodash.debounce": { "version": "4.0.8", @@ -17426,6 +17523,7 @@ "version": "2.0.8", "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -17443,6 +17541,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -17456,6 +17555,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -17765,6 +17865,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/pad-left/-/pad-left-2.1.0.tgz", "integrity": "sha512-HJxs9K9AztdIQIAIa/OIazRAUW/L6B9hbQDxO4X07roW3eo9XqZc2ur9bn1StH9CnbbI9EgvejHQX7CBpCF1QA==", + "peer": true, "dependencies": { "repeat-string": "^1.5.4" }, @@ -17943,7 +18044,6 @@ "version": "8.13.1", "resolved": "https://registry.npmjs.org/pg/-/pg-8.13.1.tgz", "integrity": "sha512-OUir1A0rPNZlX//c7ksiu7crsGZTKSOXJPgtNiHGIlC9H0lO+NC6ZDYksSgBYY/thSWhnSRBv8w1lieNNGATNQ==", - "peer": true, "dependencies": { "pg-connection-string": "^2.7.0", "pg-pool": "^3.7.0", @@ -18208,6 +18308,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "peer": true, "engines": { "node": ">= 0.4" } @@ -18660,8 +18761,7 @@ "node_modules/puppeteer-chromium-resolver/node_modules/devtools-protocol": { "version": "0.0.1367902", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1367902.tgz", - "integrity": "sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==", - "peer": true + "integrity": "sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==" }, "node_modules/puppeteer-chromium-resolver/node_modules/puppeteer-core": { "version": "23.10.2", @@ -18878,6 +18978,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.8.tgz", "integrity": "sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.8", "define-properties": "^1.2.1", @@ -18959,6 +19060,7 @@ "version": "1.5.3", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -19313,6 +19415,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4", @@ -19349,6 +19452,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "peer": true, "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -19478,6 +19582,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "peer": true, "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -20079,6 +20184,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/stream-read-all/-/stream-read-all-3.0.1.tgz", "integrity": "sha512-EWZT9XOceBPlVJRrYcykW8jyRSZYbkb/0ZK36uLEmoWVO5gxBOnntNTseNzfREsqxqdfEGQrD8SXQ3QWbBmq8A==", + "peer": true, "engines": { "node": ">=10" } @@ -20148,6 +20254,7 @@ "version": "1.2.9", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -20165,6 +20272,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -20178,6 +20286,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -20302,6 +20411,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-3.0.2.tgz", "integrity": "sha512-rpyNZYRw+/C+dYkcQ3Pr+rLxW4CfHpXjPDnG7lYhdRoUcZTUt+KEsX+94RGp/aVp/MQU35JCITv2T/beY4m+hw==", + "peer": true, "dependencies": { "@75lb/deep-merge": "^1.1.1", "array-back": "^6.2.2", @@ -20322,6 +20432,7 @@ "version": "6.2.2", "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", + "peer": true, "engines": { "node": ">=12.17" } @@ -20330,6 +20441,7 @@ "version": "7.3.0", "resolved": "https://registry.npmjs.org/typical/-/typical-7.3.0.tgz", "integrity": "sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==", + "peer": true, "engines": { "node": ">=12.17" } @@ -20597,7 +20709,6 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -20789,6 +20900,7 @@ "version": "3.15.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "peer": true, "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -20800,6 +20912,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "peer": true, "dependencies": { "minimist": "^1.2.0" }, @@ -20811,6 +20924,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "peer": true, "engines": { "node": ">=4" } @@ -20904,6 +21018,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -20917,6 +21032,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -20935,6 +21051,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.3.tgz", "integrity": "sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==", + "peer": true, "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -20955,6 +21072,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -20980,7 +21098,6 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "devOptional": true, - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -20993,6 +21110,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "peer": true, "engines": { "node": ">=8" } @@ -21013,6 +21131,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "peer": true, "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -21412,7 +21531,6 @@ "integrity": "sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -21584,7 +21702,6 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -21779,6 +21896,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.0.tgz", "integrity": "sha512-Ei7Miu/AXe2JJ4iNF5j/UphAgRoma4trE6PtisM09bPygb3egMH3YLW/befsWb1A1AxvNSFidOFTB18XtnIIng==", + "peer": true, "dependencies": { "is-bigint": "^1.1.0", "is-boolean-object": "^1.2.0", @@ -21797,6 +21915,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.0.tgz", "integrity": "sha512-I+qLGQ/vucCby4tf5HsLmGueEla4ZhwTBSqaooS+Y0BuxN4Cp+okmGuV+8mXZ84KDI9BA+oklo+RzKg0ONdSUA==", + "peer": true, "dependencies": { "call-bind": "^1.0.7", "function.prototype.name": "^1.1.6", @@ -21823,6 +21942,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "peer": true, "dependencies": { "is-map": "^2.0.3", "is-set": "^2.0.3", @@ -21840,6 +21960,7 @@ "version": "1.1.16", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.16.tgz", "integrity": "sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==", + "peer": true, "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -22065,6 +22186,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-5.1.0.tgz", "integrity": "sha512-JNjcULU2e4KJwUNv6CHgI46UvDGitb6dGryHajXTDiLgg1/RiGoPSDw4kZfYnwGtEXf2ZMeIewDQgFGzkCB2Sg==", + "peer": true, "engines": { "node": ">=12.17" } @@ -22130,7 +22252,6 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -22201,7 +22322,6 @@ "version": "2.6.1", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", - "peer": true, "bin": { "yaml": "bin.mjs" }, @@ -22259,7 +22379,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } From 0e28c6f1e57b16593a57dada290c05b5a26c6dfc Mon Sep 17 00:00:00 2001 From: BekahHW <34313413+BekahHW@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:54:53 -0500 Subject: [PATCH 52/97] docs: cloud agents improvement (#9443) * Change title and description * Add cloud agents definition * Add comparison table for local v. cloud * Add more targeted description * Optimize card language * Update description to include cloud agents * Optimize mission control page for cloud agents * More CA optimization * Add early distinction * Optimize for CA and remove references to UI elements no longer there. * Clean up into to agents and optimize * Optimize * Shorten title and fix link * Update Integrations with cloud agents * Add top asked for cloud agent feature to GH docs * Add FAQs to GitHub integration page * Optimize metrics page for cloud agents * Replace old new agent link * Update docs/mission-control/metrics.mdx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Update docs/agents/intro.mdx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Update docs/agents/intro.mdx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- docs/agents/create-and-edit.mdx | 130 ++++-------------- docs/agents/intro.mdx | 69 ++++------ docs/agents/overview.mdx | 61 ++++---- .../atlassian-mcp-continue-cookbook.mdx | 2 +- docs/guides/dlt-mcp-continue-cookbook.mdx | 2 +- docs/guides/github-mcp-continue-cookbook.mdx | 2 +- docs/guides/klavis-mcp-continue-cookbook.mdx | 2 +- docs/guides/sanity-mcp-continue-cookbook.mdx | 2 +- docs/guides/snyk-mcp-continue-cookbook.mdx | 2 +- docs/mission-control/index.mdx | 44 +++--- .../integrations/atlassian.mdx | 10 +- docs/mission-control/integrations/github.mdx | 43 +++++- docs/mission-control/integrations/index.mdx | 6 +- docs/mission-control/integrations/netlify.mdx | 8 +- docs/mission-control/integrations/posthog.mdx | 6 +- docs/mission-control/integrations/sanity.mdx | 12 +- docs/mission-control/integrations/sentry.mdx | 12 +- .../integrations/slack-agent.mdx | 11 +- docs/mission-control/integrations/snyk.mdx | 6 +- .../mission-control/integrations/supabase.mdx | 6 +- docs/mission-control/metrics.mdx | 32 +++-- docs/mission-control/tasks.mdx | 2 +- docs/mission-control/workflows.mdx | 4 +- 23 files changed, 205 insertions(+), 269 deletions(-) diff --git a/docs/agents/create-and-edit.mdx b/docs/agents/create-and-edit.mdx index 21f79c425..f8d7b7a46 100644 --- a/docs/agents/create-and-edit.mdx +++ b/docs/agents/create-and-edit.mdx @@ -1,61 +1,42 @@ --- -title: "Create and Edit Agents" -description: "Build custom AI workflows with prompts, rules, and tools through the Continue Mission Control interface" +title: "Create and Edit Cloud Agents" +description: "Build custom AI workflows for your Cloud Agents with prompts, rules, and tools through the Continue Mission Control interface" sidebarTitle: "Create & Edit" --- - - You can only create and edit Agents through Mission Control in the Continue Mission Control web interface. - This ensures proper validation, versioning, and team collaboration features. + + You can only create and edit AI Agents in the Continue Mission Control web interface. This ensures proper validation, versioning, and team collaboration features. -## Creating an Agent - - ![Create an agent gif](/images/hub/create-an-agent.gif) - +## Creating a Cloud Agent - Navigate to the [New Agent page](https://hub.continue.dev/new?type=agent). + Navigate to the [New Agent page](https://hub.continue.dev/agents/new). - This opens the **Create an Agent** form with all required fields. - Configure your agent with the following fields: + Configure your Cloud Agent with the following fields: | Field | What to Enter | Example | |-------|---------------|---------| | **Name** | Display name shown in Mission Control | `GitHub PR Agent` | | **Prompt** | First instruction the agent receives | `Open a GitHub PR to fix the specified issue.` | - | **Description** | What the agent does | `Creates a pull request and includes AI-generated summaries.` | - | **Tools ([MCPs](https://hub.continue.dev/hub?type=mcpServers))** | Select built-in or custom MCPs | `GitHub, PostHog, Supabase` | + | **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` | - | **Owner + Slug** | Determines namespace | `my-org/github-pr-agent` | - | **Visibility** | Access level | `Public, Organization, or Private` | + | **Trigger** | Determines when the cloud agent will be invoked | `GitHub, cron, webhook` | + - **Tip**: Start with a simple prompt and add complexity through rules and tools. The prompt should be a clear, single instruction that defines the agent's primary goal. + **Tip**: Start with a simple prompt and add complexity through rules and tools. The prompt should be a clear, single instruction that defines the AI Agent's primary goal. - - As you fill in the fields, the right-hand panel shows a live preview of your agent's YAML configuration: - - ```yaml - name: Open PR with Fix - description: Open a GitHub PR to fix the specified issue - tools: built_in, anthropic/github-mcp - rules: - - continuedev/gh-pr-commit-workflow - - continuedev/summarization - model: Claude Sonnet 4.5 - visibility: public - ``` - - This preview helps you verify the configuration before creating the agent. + + In the right panel, you can select the repository where the agent will run, and decide if the agent should automatically kick off on creation. @@ -68,90 +49,27 @@ sidebarTitle: "Create & Edit" -## Editing an Agent +## Editing a Cloud Agent -You can edit any agent you own or that has Organization-level access. - - - From the **Agents** page or Mission Control view, click your agent's name, then select **"Edit Agent"**. - - - - You can modify any of these components: - - - - **Refine task behavior** - - ``` - # Before - Fix the bug in the authentication system - - # After - Fix the authentication bug by: - 1. Identifying the root cause - 2. Implementing a secure solution - 3. Adding appropriate tests - 4. Opening a PR with detailed explanation - ``` - - - - **Enforce team standards** - - Add or remove organizational rules: - - `continuedev/security-first` - Always scan for vulnerabilities - - `continuedev/test-coverage` - Require tests for new code - - `my-org/style-guide` - Follow company coding standards - - - - **Connect additional systems** - - - Add GitHub MCP for repository operations - - Include Sentry MCP for error monitoring - - Connect Supabase MCP for database operations - - Use custom MCPs for internal tools - - - - **Adjust behavior and access** - - - **Model**: Switch between Claude, GPT-4, or other supported LLMs - - **Visibility**: Control who can see and use the agent - - Public: Anyone can discover and use - - Organization: Only your team members - - Private: Only you can access - - - - - - Click **"Update Agent"** when finished. - - The updated version is instantly available to your team with automatic versioning for change tracking. - - - - - Test your agent thoroughly to ensure they interact as expected. - +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"**. + ## 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 AI-powered fix suggestions. + 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. - Tracks Core Web Vitals, identifies regressions, and provides optimization recommendations. + Cloud Agent tracks Core Web Vitals, identifies regressions, and provides optimization recommendations. @@ -160,13 +78,13 @@ Here are proven agent configurations you can create or use as inspiration: 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. @@ -180,7 +98,7 @@ Common issues and solutions: | Problem | Solution | |---------|----------| -| **Agent doesn't complete tasks** | Simplify the prompt, add more specific instructions, verify tool permissions | +| **Cloud Agent doesn't complete tasks** | Simplify the prompt, add more specific instructions, verify tool permissions | | **Tools aren't working** | Check MCP configuration, verify API keys and permissions in Hub settings | | **Inconsistent behavior** | Add rules to enforce consistent patterns, test with various input scenarios | | **Performance issues** | Consider model choice, simplify complex multi-step workflows, optimize tool usage | diff --git a/docs/agents/intro.mdx b/docs/agents/intro.mdx index caad558b7..97b1f6f47 100644 --- a/docs/agents/intro.mdx +++ b/docs/agents/intro.mdx @@ -1,68 +1,44 @@ --- -title: "Getting Started with Agents" -description: "Quick start guide for running AI workflows in Mission Control" -sidebarTitle: "Getting Started" +title: "Starting with Cloud Agents" +description: "Quick start guide for running AI Agent workflows in Mission Control" --- - Mission Control is your web interface for running and managing AI agents. Get started in minutes with pre-built workflows for security scanning, GitHub management, analytics insights, and more. + Mission Control is your web interface for running and managing Cloud Agents. Get started in minutes with pre-built workflows for security scanning, GitHub management, analytics insights, and more. Mission Control is in beta. Please share any feedback with us in [GitHub discussions](https://github.com/continuedev/continue/discussions/8051). -Use Mission Control to kick off agents for: +Use Mission Control to kick off Cloud Agents for: - **Bug fixes & code quality** - Address nitpicks and technical debt - **Feature development** - Build boilerplate-heavy features -- **Security & compliance** - [Automated vulnerability scanning](../guides/snyk-mcp-continue-cookbook) +- **Security & compliance** - [Automated vulnerability scanning](../mission-control/integrations/snyk) - **Investigation & analysis** - Research issues to kickstart your work - **Custom workflows** - Run repeatable tasks with your own rules and prompts ## Quick Start + + If you haven't already, create an account and connect your GitHub repositories in [Mission Control](https://hub.continue.dev/). + + - - Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) and connect with your GitHub account. - - ![Mission Control Setup](/images/hub/workflows/images/workflows-setup.png) + + Go to [Mission Control Agents page](https://hub.continue.dev/agents) and select an existing workflow with a pre-configured Cloud Agent. - - Select from pre-configured agents or create your own: - - - - `continuedev/snyk-continuous-ai-agent` - Finds vulnerabilities and creates fix PRs - - - - `continuedev/github-project-manager-agent` - Triages issues and manages workflows - - - - - - Enter additional instructions and watch your agent work: - - ``` - "Fix the TypeError in api/users.ts and open a PR with tests" - ``` + + Your agents page lists all available Cloud Agents. Click on the agent and then **Test Run** to start it. - - **New to agents?** Check out our [pre-configured agents](/hub/agents/overview#pre-configured-agents) to test out a workflow immediately. - -## Try an Agent First: Your 60-Second Challenge +## Try a Cloud Agent First: Your 60-Second Challenge Before creating your own agent, let's see one in action! The fastest way to experience the power of Continue agents is with our demo repository. -![Agent Mission Control](/images/hub/assets/images/agent-mission-control.gif) - ### See an Agent Create a Pull Request in Under 60 Seconds @@ -79,13 +55,13 @@ Before creating your own agent, let's see one in action! The fastest way to expe - Go to [Mission Control Agents](https://hub.continue.dev/hub?type=agents) and: + Go to [Mission Control](https://hub.continue.dev/) and: - **Connect GitHub** and authorize Continue when prompted - This gives agents access to create PRs in your repositories - **Target your forked demo repo** and try one of these commands: + **Target your forked demo repo** and try one of these commands as a [task](../mission-control/tasks): @@ -131,7 +107,7 @@ Before creating your own agent, let's see one in action! The fastest way to expe ## Example Workflow Tasks -Here are some example tasks you can try with your agents: +Here are some example tasks you can try with your Cloud Agents: @@ -189,7 +165,7 @@ Here are some example tasks you can try with your agents: -## Ways to Run Agents +## Ways to Run Cloud Agents Choose the method that fits your workflow: @@ -198,12 +174,13 @@ Choose the method that fits your workflow: **Web interface for interactive use** Perfect for: - - Exploring agent capabilities + - Exploring AI agent capabilities - Reviewing outputs before action + - Monitoring ongoing workflows - Team collaboration - One-time tasks - Access at [hub.continue.dev/agents](https://hub.continue.dev/hub?type=agents) + Access at [hub.continue.dev/agents](https://hub.continue.dev/agents) @@ -235,9 +212,9 @@ Choose the method that fits your workflow: -## Best Practices for Success +## Best Practices for Cloud Agent Success -The practice of using agents (Continuous AI) requires thoughtful setup of guardrails and habits: +The practice of using Cloud Agents (Continuous AI) requires thoughtful setup of guardrails and habits: diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index a606351eb..97aa40522 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -1,35 +1,29 @@ --- -title: "Agents Overview" -description: "Standardized AI workflows that combine prompts, rules, and tools to complete specific, repeatable tasks" +title: "Cloud Agents & Continuous AI" +description: "Standardized Cloud Agent workflows that combine prompts, rules, and tools to complete specific, repeatable tasks" sidebarTitle: "Overview" --- +## What are Cloud Agents? +Cloud Agents are AI workflows that execute on remote infrastructure (Continue Mission Control) rather than your local machine. Because they live in the cloud, they maintain persistent, secure connections to your development tools and can be triggered in two ways: + +- On-Demand: Manually triggered via Chat, Tasks, or the CLI for complex, human-guided work. + +- Automated: Automatically triggered by schedules (Cron) or events (Webhooks) for background maintenance. + +Unlike local assistants, Cloud Agents provide a centralized "Mission Control" where teams can collaborate on tasks, review shared logs, and standardize automation across repositories. + + Agents are custom AI workflows that combine a prompt, rules, and tools (MCPs and more) to complete specific, repeatable tasks. They live in the Continue Mission Control and can be executed from Mission Control (web interface), TUI mode, or headless automation. -## What Are Agents? -Agents let your team standardize common workflows like opening GitHub PRs, summarizing analytics, or auditing security. Each agent includes: -### Agent Components +## Ways to Run Cloud Agents -| **Component** | **Description** | **Example** | -|----------------|-----------------|--------------| -| **Prompt** | The agent’s main instruction that defines what it does and how it should behave. Additional user input is appended when invoked. | Example prompt: “Summarize ongoing work with status, blockers, and next steps. Use markdown formatting and a concise, professional tone.” | -| **Rules** | Define consistent standards or behaviors that guide how the agent responds. Rules help ensure reliability across team usage. | “Always include related issue or PR links when summarizing work.” | -| **Tools / MCPs** | External systems or integrations the agent can call to complete tasks. MCPs (Model Context Protocols) extend functionality through APIs. | GitHub, PostHog, Supabase | -| **Model** | The large language model that powers the agent’s reasoning and output generation. | Claude Sonnet 4.5 | -| **Visibility** | Determines who can view or use the agent. Controls access at creation time. | Public, Organization, or Private | - - - Mission Control is in beta. Please share any feedback with us in [GitHub discussions](https://github.com/continuedev/continue/discussions/8051). - - -## Ways to Run Agents - -You can run Agents in three main ways: +These execution modes allow Continue agents to function as cloud agents, running continuously, headlessly, or on schedules without requiring a developer in the loop: @@ -74,7 +68,17 @@ You can run Agents in three main ways: -## Pre-configured Agents +## Local vs. Cloud Agents + +| Feature | Local Agents (IDE / TUI) | Cloud Agents (Mission Control) | +|---------|--------------------------|--------------------------------| +| Compute Location | Your Local Machine | Remote Cloud Infrastructure | +| Primary Use Case | fast, private iteration and "single-player" coding | Collaborative tasks, heavy processing, and reliable automation | +| Context Access | Limited to open files and local git state | Full repository access + integrated tools (Sentry, Snyk, etc.) | +| Triggers | Manual Tasks / CLI | Hybrid: Manual Chat, Cron Schedules, or Event Webhooks | +| Availability | Stops when you close your laptop | Always On: Runs asynchronously in the background | + +## Pre-configured Cloud Agents Skip the setup and use battle-tested agents from our cookbook collection: @@ -83,15 +87,14 @@ Skip the setup and use battle-tested agents from our cookbook collection: `continuedev/snyk-continuous-ai-agent` - Finds vulnerabilities and opens PRs with fixes - +A cloud agent that monitors vulnerabilities and automatically opens PRs with fixes. `continuedev/github-project-manager-agent` - Triages issues and manages project workflows + A cloud agent that triages issues and manages project workflows @@ -99,7 +102,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: `continuedev/posthog-continuous-ai-agent` - Analyzes user data and creates actionable tasks + A cloud agent that analyzes user data and creates actionable tasks @@ -107,7 +110,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: `continuedev/netlify-continuous-ai-agent` - Monitors Core Web Vitals and optimizes deployments + A cloud agent that monitors Core Web Vitals and optimizes deployments @@ -115,7 +118,7 @@ Skip the setup and use battle-tested agents from our cookbook collection: `continuedev/supabase-agent` - Audits RLS security and generates migrations + A cloud agent that audits RLS security and generates migrations @@ -123,13 +126,13 @@ Skip the setup and use battle-tested agents from our cookbook collection: `continuedev/dlt-agent` - Inspects pipelines and debugs load errors + A cloud agent that inspects pipelines and debugs load errors - **Explore More Agents**: Browse the complete collection of pre-configured agents and MCP integration cookbooks in our [Guides Overview](/guides/overview#mcp-integration-cookbooks). + **Explore More Cloud Agents**: Browse the complete collection of pre-configured agents and MCP integration cookbooks in our [Guides Overview](/guides/overview#mcp-integration-cookbooks). {/* ## Webhook Integrations diff --git a/docs/guides/atlassian-mcp-continue-cookbook.mdx b/docs/guides/atlassian-mcp-continue-cookbook.mdx index a3fd792c7..393fcead2 100644 --- a/docs/guides/atlassian-mcp-continue-cookbook.mdx +++ b/docs/guides/atlassian-mcp-continue-cookbook.mdx @@ -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/new?type=agent). + Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/guides/dlt-mcp-continue-cookbook.mdx b/docs/guides/dlt-mcp-continue-cookbook.mdx index f25b11bee..b6f6e9d3d 100644 --- a/docs/guides/dlt-mcp-continue-cookbook.mdx +++ b/docs/guides/dlt-mcp-continue-cookbook.mdx @@ -81,7 +81,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/new?type=agent). + Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/guides/github-mcp-continue-cookbook.mdx b/docs/guides/github-mcp-continue-cookbook.mdx index d60cd4a34..feac2bea1 100644 --- a/docs/guides/github-mcp-continue-cookbook.mdx +++ b/docs/guides/github-mcp-continue-cookbook.mdx @@ -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/new?type=agent). + Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/guides/klavis-mcp-continue-cookbook.mdx b/docs/guides/klavis-mcp-continue-cookbook.mdx index 1b4ca3da7..d53d796a0 100644 --- a/docs/guides/klavis-mcp-continue-cookbook.mdx +++ b/docs/guides/klavis-mcp-continue-cookbook.mdx @@ -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/new?type=agent). + Go to the [Continue Hub](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/guides/sanity-mcp-continue-cookbook.mdx b/docs/guides/sanity-mcp-continue-cookbook.mdx index 70e32f32e..dd69fcaa9 100644 --- a/docs/guides/sanity-mcp-continue-cookbook.mdx +++ b/docs/guides/sanity-mcp-continue-cookbook.mdx @@ -111,7 +111,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/new?type=agent). + Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/guides/snyk-mcp-continue-cookbook.mdx b/docs/guides/snyk-mcp-continue-cookbook.mdx index 90463f74f..284a9eb12 100644 --- a/docs/guides/snyk-mcp-continue-cookbook.mdx +++ b/docs/guides/snyk-mcp-continue-cookbook.mdx @@ -123,7 +123,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/new?type=agent). + Go to the [Continue Mission Control](https://hub.continue.dev) and [create a new agent](https://hub.continue.dev/agents/new). diff --git a/docs/mission-control/index.mdx b/docs/mission-control/index.mdx index 54e011a9f..46948a1b9 100644 --- a/docs/mission-control/index.mdx +++ b/docs/mission-control/index.mdx @@ -1,32 +1,29 @@ --- title: "Continue Mission Control" -description: "Your command center for Continue. Create Tasks, set up Workflows, manage Agents, connect Integrations, and share with your team—all in one place." +description: "Continue Mission Control is the control plane for cloud agents where teams create, monitor, and automate AI-powered workflows across their toolchain. Create Tasks, manage Agents, connect Integrations, and share with your team all in one place." sidebarTitle: "Overview" --- ## What You Can Do in Mission Control -Mission Control is where developers and teams use Continue to power everyday coding workflows. From quick one-off Tasks to fully automated pipelines, everything starts here. +Mission Control is where developers and teams use Continue to power everyday coding workflows. From quick one-off Tasks to fully automated pipelines, everything starts here with Cloud Agents (AI-powered). - + Trigger your AI Agents and review or approve the results. - - Create, configure, and monitor your custom Agents across repositories. - - - Schedule recurring Tasks, connect webhooks to trigger Agents automatically, or add + + Configure, run, and monitor your custom Cloud Agents across repositories. - Link GitHub, Slack, and Sentry to power your Tasks and Workflows. + Link GitHub, Slack, Sentry, and more to power your Cloud Agents. ## Inbox: One Place to Triage, Assign, and Take Action -The Inbox is your team's central queue for all AI-powered Tasks, agent activity, and first-class integrations like Sentry and Snyk. It gives developers a shared place to review work, delegate responsibility, and launch follow-up Tasks—all without leaving Mission Control. +The Inbox is your team's central queue for all Cloud Agent powered Tasks, activity, and first-class integrations like Sentry and Snyk. It gives developers a shared place to review work, delegate responsibility, and launch follow-up Tasks—all without leaving Mission Control. @@ -64,31 +61,30 @@ Some signals deserve their own dedicated view. When you connect integrations: ## Monitoring & Insights -Track performance, share configurations across your organization, and monitor agent activity in real time. +Track performance, share configurations across your organization, and monitor Cloud Agent activity in real time. - Measure success rates, PR activity, and intervention trends across Agents. + Measure success rates, PR activity, and intervention trends across Cloud Agents. - Share Agents and Workflows with teammates using built-in access controls. + Share Cloud Agents with teammates using built-in access controls. - - View active runs, logs, and outcomes for every Agent session. + + View active runs, logs, and outcomes for every Cloud Agent session. --- -## Components Behind Mission Control +## Components Behind Mission Control's Cloud Agents -Mission Control uses your configured components to power Agents, Tasks, and Workflows: -Agents are built from reusable components that you can create, share, and customize: +Cloud Agents are built from reusable components that you can create, share, and customize: @@ -98,7 +94,7 @@ Agents are built from reusable components that you can create, share, and custom - + Model Context Protocol servers that provide tools and capabilities like database access, web search, or custom functions @@ -106,7 +102,7 @@ Agents are built from reusable components that you can create, share, and custom - Guidelines that shape AI behavior - coding standards, constraints, or specific instructions for your domain + Guidelines that shape AI Agent behavior - coding standards, constraints, or specific instructions for your domain @@ -120,7 +116,7 @@ Agents are built from reusable components that you can create, share, and custom - When you create a component for your agent in Mission Control, it becomes available according to the permissions you set: Personal, Public, or Organization. + When you create a component for your Cloud Agent in Mission Control, it becomes available according to the permissions you set: Personal, Public, or Organization. @@ -151,12 +147,12 @@ 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 your Tasks using cron schedules or webhooks. + + Automate work using GitHub triggers, cron schedules, or webhooks. - Connect GitHub, Slack, and Sentry to extend your Agents. + 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 41b1b6e23..cb7ac51f4 100644 --- a/docs/mission-control/integrations/atlassian.mdx +++ b/docs/mission-control/integrations/atlassian.mdx @@ -1,9 +1,9 @@ --- title: "Atlassian Integration" -description: "Connect Jira, Confluence, and Compass to automate project management with Continue Agents" +description: "Connect Jira, Confluence, and Compass to automate project management with Continue Cloud Agents" --- @@ -21,7 +21,7 @@ description: "Connect Jira, Confluence, and Compass to automate project manageme The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Atlassian-based updates. - + Automatically translate merged pull requests into clear, business-friendly Jira updates that explain what changed, why it matters, and who benefits. @@ -31,7 +31,7 @@ Official workflow templates may expand over time as new patterns are validated. -## Advanced Use Cases +## Advanced Use Cases for Atlassian Cloud Agents These examples are not officially maintained by the Continue team, but illustrate what’s possible with custom workflows. @@ -49,7 +49,7 @@ These examples are not officially maintained by the Continue team, but illustrat When connecting Atlassian, you’ll authorize Continue to access Jira, Confluence, and Compass data based on your account permissions. - **Project and space access** - Agents can only access Jira projects and Confluence spaces you are permitted to view or edit. + Cloud Agents can only access Jira projects and Confluence spaces you are permitted to view or edit. - **Permissions** Approved permissions allow Continue to read and update Jira tickets, summarize Confluence pages, and create links back to related pull requests. diff --git a/docs/mission-control/integrations/github.mdx b/docs/mission-control/integrations/github.mdx index feb1d5cb0..0f527e50a 100644 --- a/docs/mission-control/integrations/github.mdx +++ b/docs/mission-control/integrations/github.mdx @@ -1,13 +1,13 @@ --- title: "GitHub Integration" -description: "Connect your GitHub account to Continue Mission Control to enable agents to interact with your repositories. Once connected, agents can read code, create pull requests, manage issues, and automate your development workflow." +description: "Connect your GitHub account to Continue Mission Control to enable Cloud Agents to interact with your repositories. Once connected, Cloud Agents can read code, create pull requests, manage issues, and automate your development workflow." --- - - Automatically create pull requests from agent tasks + - Automatically create pull requests from AI agent tasks - Read and analyze repository code and issues - Manage project workflows and milestones - Automate code reviews and quality checks @@ -16,7 +16,7 @@ description: "Connect your GitHub account to Continue Mission Control to enable -## Official Workflow Templates +## Official Workflow Templates for GitHub Cloud Agents in Continue The following **official workflow templates** are maintained by the Continue team and are available directly in the Mission Control Hub. These workflows are designed to work out of the box and represent the recommended ways to automate GitHub-based tasks. @@ -42,11 +42,29 @@ 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**. +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)**. + +## Workflow: GitHub issue → pull request (Cloud Agent) + +**Problem**: GitHub issues pile up because turning an issue into a tested PR takes time and context switching. + +**Solution**: Continue Mission Control Cloud Agents can watch issues (or be triggered by labels) and automatically open pull requests with code changes, tests, and a clear summary. + +**Outcome**: Faster issue throughput, consistent PR quality, and an auditable trail from issue → commits → PR → CI results. + +1. Trigger: issue opened or labeled (for example, `agent:fix`) +2. Agent gathers context: repo code + issue thread + relevant files +3. Agent implements the fix on a branch +4. Agent runs checks: tests/lint/security (your CI) +5. Agent opens a PR with: + - summary of changes + - test results / CI link + - references the original issue (closes #123) + - or whatever you specify in the agent instructions ## Advanced Use Cases - -You can create custom workflows using Continue agents to automate a variety of GitHub-related tasks. Here are some ideas to get you started: + +You can create custom workflows using Continue Cloud Agents to automate a variety of GitHub-related tasks. Here are some ideas to get you started: - Automatically triage new issues with labels and suggested assignees - Review pull requests for security or performance concerns - Draft documentation updates based on code changes @@ -67,6 +85,19 @@ When connecting GitHub, you’ll be asked to configure repository access and app You can revisit or revoke access at any time from GitHub or the Mission Control Hub. --- +## FAQs +### Can Continue turn GitHub issues into ready-to-merge pull requests automatically? +Yes! You can set up workflows where Cloud Agents monitor issues (or specific labels) and create pull requests with code changes, tests, and summaries. + +### How do I trigger an agent from a GitHub issue label? +You can configure a Cloud Agent that is triggered whenever an issue is labeled with a specific tag (e.g., `agent:fix`). The agent will then gather context and create a pull request based on the issue. + +### Can the agent run tests and include results in the PR? +Continue's Cloud Agents can be configured to run your tests and include the results in the pull request summary. + +### How do I restrict which repos/issues agents can act on? +You can configure repository and issue filters within your workflows to control where agents operate. + ## Support & Resources diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index b2475f919..273cc9cd1 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -1,14 +1,14 @@ --- title: "Overview" -description: "Connect GitHub, Slack, Sentry, Snyk, PostHog, Atlassian, and Netlify to power richer Agents, Tasks, and Workflows." +description: "Connect GitHub, Slack, Sentry, Snyk, PostHog, Atlassian, and Netlify to power Cloud Agents to automate your development workflows." sidebarTitle: "Overview" --- -Integrations let Continue connect to the tools you already use, so Agents can read code, open pull requests, send messages, react to real-world events, and more. +Integrations let Continue connect to the tools you already use, so Cloud Agents can read code, open pull requests, send messages, react to real-world events, and more. -Mission Control currently supports these first-class integrations: +Mission Control currently supports these first-class Cloud Agent integrations: diff --git a/docs/mission-control/integrations/netlify.mdx b/docs/mission-control/integrations/netlify.mdx index 4a1c72af9..2d832df17 100644 --- a/docs/mission-control/integrations/netlify.mdx +++ b/docs/mission-control/integrations/netlify.mdx @@ -1,10 +1,10 @@ --- title: "Netlify Integration" -description: "Connect **Netlify** to Mission Control so agents can automatically catch performance regressions by comparing preview and production deploys when code ships." +description: "Connect **Netlify** to Mission Control so Cloud Agents can automatically catch performance regressions by comparing preview and production deploys when code ships." --- @@ -14,7 +14,7 @@ description: "Connect **Netlify** to Mission Control so agents can automatically - Post clear performance summaries directly to pull requests -## Official Workflow Templates +## Official Workflow Templates for Netlify Cloud Agents in Continue The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Netlify performance checks. @@ -108,6 +108,6 @@ You can revoke or rotate the token at any time from your Netlify account setting icon="book-open" href="/guides/netlify-mcp-continuous-deployment" > - Advanced examples for working with Netlify deployments using Continue agents. + Advanced examples for working with Netlify deployments using Continue Cloud Agents. diff --git a/docs/mission-control/integrations/posthog.mdx b/docs/mission-control/integrations/posthog.mdx index 1ff6e9ff2..910c887cf 100644 --- a/docs/mission-control/integrations/posthog.mdx +++ b/docs/mission-control/integrations/posthog.mdx @@ -1,10 +1,10 @@ --- title: "PostHog Integration" -description: "Connect PostHog to Mission Control so agents can keep analytics and tracking in sync with code changes, ensuring dashboards reflect what actually shipped." +description: "Connect PostHog to Mission Control so Cloud Agents can keep analytics and tracking in sync with code changes, ensuring dashboards reflect what actually shipped." --- @@ -52,7 +52,7 @@ When connecting PostHog, you’ll provide an API key that allows Continue to que You’ll need a PostHog API key with permission to read analytics data and modify dashboards. - **Project access** - Agents can only access the PostHog project associated with the API key you provide. + Cloud Agents can only access the PostHog project associated with the API key you provide. You can rotate or revoke the API key at any time from your PostHog settings. diff --git a/docs/mission-control/integrations/sanity.mdx b/docs/mission-control/integrations/sanity.mdx index 75433f22e..058674e83 100644 --- a/docs/mission-control/integrations/sanity.mdx +++ b/docs/mission-control/integrations/sanity.mdx @@ -1,11 +1,11 @@ --- title: "Sanity Integration" -description: "Connect **Sanity** to Mission Control so agents can keep your content documentation in sync with schema and code changes — automatically generating updates when pull requests are opened." +description: "Connect **Sanity** to Mission Control so Cloud Agents can keep your content documentation in sync with schema and code changes — automatically generating updates when pull requests are opened." --- @@ -17,7 +17,7 @@ description: "Connect **Sanity** to Mission Control so agents can keep your cont --- -## Official Workflow Templates +## Official Workflow Templates for Sanity Cloud Agents in Continue The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Sanity documentation updates. @@ -33,7 +33,7 @@ Official workflow templates may expand over time as new patterns are validated. --- -## Advanced Use Cases +## Advanced Use Cases for Sanity Cloud Agents in Continue These examples are not officially maintained by the Continue team, but illustrate what’s possible with custom workflows. @@ -52,7 +52,7 @@ These examples are not officially maintained by the Continue team, but illustrat When connecting Sanity, you’ll authorize Continue to access your workspace and interact with content based on your project permissions. - **Workspace access** - Agents can only access Sanity projects and datasets you are permitted to view. + Cloud Agents can only access Sanity projects and datasets you are permitted to view. - **Permissions** Approved permissions allow Continue to read schemas, run GROQ queries, and create or update documents when workflows require it. @@ -67,7 +67,7 @@ When connecting Sanity, you’ll authorize Continue to access your workspace and icon="book-open" href="/guides/sanity-mcp-continue-cookbook" > - Practical examples for working with Sanity schemas and content using Continue agents. + Practical examples for working with Sanity schemas and content using Continue Cloud Agents. @@ -18,7 +18,7 @@ description: "Connect Sentry to Mission Control so agents can automatically resp -## Official Workflow Templates +## Official Workflow Templates for Sentry Cloud Agents in Continue The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Sentry-based remediation. @@ -32,13 +32,13 @@ 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 → Sentry**. -### Advanced Use Cases +### Advanced Use Cases for Sentry Cloud Agents in Continue These examples are not officially maintained by the Continue team, but illustrate what’s possible with custom workflows. - Trigger investigations only for high-impact or high-frequency errors -- Route specific error types to specialized agents +- Route specific error types to specialized Cloud Agents - Correlate Sentry issues with recent deploys or feature flags - Generate weekly error trend summaries for engineering teams - Combine Sentry signals with GitHub or analytics data @@ -49,7 +49,7 @@ These examples are not officially maintained by the Continue team, but illustrat When connecting Sentry, you’ll authorize Continue to receive error events and access issue data. - **Project and issue access** - Agents can access Sentry projects and issues you have permission to view within your organization. + Cloud Agents can access Sentry projects and issues you have permission to view within your organization. - **Permissions** Approved permissions allow Continue to analyze error events, read issue details, and create pull requests or GitHub issues on your behalf. diff --git a/docs/mission-control/integrations/slack-agent.mdx b/docs/mission-control/integrations/slack-agent.mdx index 98770184b..6134d3c78 100644 --- a/docs/mission-control/integrations/slack-agent.mdx +++ b/docs/mission-control/integrations/slack-agent.mdx @@ -1,6 +1,6 @@ --- title: "Slack Agent" -description: "Kick off background Agents from Slack by mentioning @Continue" +description: "Kick off Cloud Agents from Slack by mentioning @Continue" --- @@ -20,13 +20,14 @@ description: "Kick off background Agents from Slack by mentioning @Continue" ## Usage -To kick off an agent, mention `@Continue` with a short task description. +To kick off a Cloud Agent, mention `@Continue` with a short task description. ### Thread Context -When you mention `@Continue` in a **Slack thread**, Continue automatically uses the entire conversation as context. This means your agent starts with full situational awareness. +When you mention `@Continue` in a **Slack thread**, Continue automatically uses the entire conversation as context. This means your Cloud Agent starts with full situational awareness. If you start a **new message** (not a reply), Continue only sees that single message for context. + Use this for quick standalone requests. @@ -99,9 +100,9 @@ To remove the Slack integration: - + - Learn about Continue agents. + Learn about Continue Cloud Agents. diff --git a/docs/mission-control/integrations/snyk.mdx b/docs/mission-control/integrations/snyk.mdx index 023016d0d..5ed98be6e 100644 --- a/docs/mission-control/integrations/snyk.mdx +++ b/docs/mission-control/integrations/snyk.mdx @@ -1,10 +1,10 @@ --- title: "Snyk Integration" -description: "Connect Snyk to Continue Mission Control to automatically detect and fix vulnerabilities with Continue Agents" +description: "Connect Snyk to Continue Mission Control to automatically detect and fix vulnerabilities with Continue Cloud Agents" --- @@ -15,7 +15,7 @@ description: "Connect Snyk to Continue Mission Control to automatically detect a - Create reports and summaries for security trends -## Official Workflow Templates +## Official Workflow Templates for Snyk Cloud Agents in Continue The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Snyk-based remediation. diff --git a/docs/mission-control/integrations/supabase.mdx b/docs/mission-control/integrations/supabase.mdx index d6313c70c..27263db5c 100644 --- a/docs/mission-control/integrations/supabase.mdx +++ b/docs/mission-control/integrations/supabase.mdx @@ -1,10 +1,10 @@ --- title: "Supabase Integration" -description: "Connect **Supabase** to Mission Control so agents can automatically review **Row Level Security (RLS)** when pull requests touch database-related code." +description: "Connect **Supabase** to Mission Control so Cloud Agents can automatically review **Row Level Security (RLS)** when pull requests touch database-related code." --- @@ -15,7 +15,7 @@ description: "Connect **Supabase** to Mission Control so agents can automaticall -## Official Workflow Templates +## Official Workflow Templates for Supabase Cloud Agents in Continue The following **official workflow template** is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Supabase security reviews. diff --git a/docs/mission-control/metrics.mdx b/docs/mission-control/metrics.mdx index dc2d6bb1e..0dc537292 100644 --- a/docs/mission-control/metrics.mdx +++ b/docs/mission-control/metrics.mdx @@ -1,34 +1,44 @@ --- title: "Metrics" -description: "Track agent performance, workflow activity, and PR outcomes." +description: "Agent observability for Cloud Agents: track activity, success rates, PR outcomes, cost, and workflow reliability across your repositories." --- -Metrics give you visibility into how your Agents and Workflows perform across your repositories. -Use this page to understand activity patterns, identify bottlenecks, and measure success over time. +Metrics provides Agent observability for Cloud Agents and automated workflows. Agent observability answers a simple question: *What are my AI agents doing, and is it working?* Use Metrics to monitor agent activity, understand human intervention, measure success rates, and evaluate the cost and impact of AI-driven work across your repositories. -## What Metrics Show +## What Metrics Show About Your Cloud Agents + +Continue’s Metrics give you **operational observability for AI agents**, similar to how traditional observability tools provide visibility into services, jobs, and pipelines. + +Instead of logs and latency, agent observability focuses on: +- Runs and execution frequency +- Success vs. human intervention +- Pull request outcomes +- Cost per run and per workflow - - A day-by-day graph of total Agent runs across your repositories. - - See which Agents are running most often + + Understand **when and how often your agents run**. + - See which Cloud Agents are running most often - Spot spikes, trends, or recurring failures - Monitor automated Workflows in production - - Per-Agent breakdown of: + + Measure **whether agents produce usable results**. - **Total runs** - **PR creation rate** - **PR status** (open, merged, closed, failed) - **Success vs. intervention rate** - - Track which Workflows create the most tasks or PRs, and how often they complete successfully. + + Evaluate **automated agent workflows in production**. + - Which Workflows generate the most work + - Completion and success rates + - Signals that a Workflow needs refinement or guardrails diff --git a/docs/mission-control/tasks.mdx b/docs/mission-control/tasks.mdx index 9efd78222..1ba8310f7 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/new?type=agent)** before setting up your first task. + Don't have an Agent yet? Create one in **[Mission Control → Agents](https://hub.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 0d4ac035d..6ddf28b59 100644 --- a/docs/mission-control/workflows.mdx +++ b/docs/mission-control/workflows.mdx @@ -1,6 +1,6 @@ --- title: "Workflows" -description: "Workflows trigger agents on a schedule or when events occur." +description: "Cloud agents that are triggered on a schedule or when events occur build automated AI workflows for your repositories." --- @@ -67,7 +67,7 @@ description: "Workflows trigger agents 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/new?type=agent), then return to this screen. + Need a new Agent? Create one in [Mission Control → Agents](https://hub.continue.dev/agents/new), then return to this screen. From 6182a3ffa0f446f054646c6a8140f8d5b21928d3 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:12:19 +0530 Subject: [PATCH 53/97] restore toolpermissionservice changes --- extensions/cli/src/services/ToolPermissionService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/cli/src/services/ToolPermissionService.ts b/extensions/cli/src/services/ToolPermissionService.ts index f1566900a..4e0802272 100644 --- a/extensions/cli/src/services/ToolPermissionService.ts +++ b/extensions/cli/src/services/ToolPermissionService.ts @@ -1,3 +1,5 @@ +import { ALL_BUILT_IN_TOOLS } from "src/tools/allBuiltIns.js"; + import { ensurePermissionsYamlExists } from "../permissions/permissionsYamlLoader.js"; import { resolvePermissionPrecedence } from "../permissions/precedenceResolver.js"; import { @@ -5,7 +7,6 @@ import { ToolPermissionPolicy, ToolPermissions, } from "../permissions/types.js"; -import { ALL_BUILT_IN_TOOLS } from "../tools/allBuiltIns.js"; import { logger } from "../util/logger.js"; import { BaseService, ServiceWithDependencies } from "./BaseService.js"; From fc5e22f5adbb12ddc3bb7c5b24aa1541181d8d1a Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:16:23 +0530 Subject: [PATCH 54/97] fix cyclical import --- extensions/cli/src/tools/subagent.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index ce8044e13..bc15bdf1f 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,5 +1,4 @@ import { services } from "../services/index.js"; -import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, getSubagent, @@ -95,6 +94,8 @@ export const subagentTool: GetTool = (params) => ({ // Create abort controller for child execution const abortController = new AbortController(); + const { executeSubAgent } = await import("../subagent/executor.js"); // prevent cyclical import + // Execute subagent with output streaming const result = await executeSubAgent({ agent, From 25b08e08707851d64761030c74184039f3ad895b Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:28:46 +0530 Subject: [PATCH 55/97] fix gitaiintegration test --- .../cli/src/tools/gitAiIntegration.test.ts | 18 ++++++++++++------ extensions/cli/src/tools/subagent.ts | 5 +---- extensions/cli/src/tools/types.ts | 1 + 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/extensions/cli/src/tools/gitAiIntegration.test.ts b/extensions/cli/src/tools/gitAiIntegration.test.ts index cc5c5f52a..d9d2c85e2 100644 --- a/extensions/cli/src/tools/gitAiIntegration.test.ts +++ b/extensions/cli/src/tools/gitAiIntegration.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect, vi, beforeEach, afterEach } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import type { PreprocessedToolCall } from "./types.js"; @@ -69,6 +69,7 @@ describe("Git AI Integration - executeToolCall", () => { oldContent: "old", newContent: "new", }, + context: { toolCallId: "test-edit-id" }, }, }; @@ -94,11 +95,16 @@ describe("Git AI Integration - executeToolCall", () => { ); // Verify tool.run was called - expect(mockTool.run).toHaveBeenCalledWith({ - resolvedPath: "/test/file.ts", - oldContent: "old", - newContent: "new", - }); + expect(mockTool.run).toHaveBeenCalledWith( + { + resolvedPath: "/test/file.ts", + oldContent: "old", + newContent: "new", + }, + { + toolCallId: "test-edit-id", + }, + ); }); it("should call git-ai before and after MultiEdit tool execution", async () => { diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index bc15bdf1f..1b49d970f 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -91,9 +91,6 @@ export const subagentTool: GetTool = (params) => ({ throw new Error("No active session found"); } - // Create abort controller for child execution - const abortController = new AbortController(); - const { executeSubAgent } = await import("../subagent/executor.js"); // prevent cyclical import // Execute subagent with output streaming @@ -101,7 +98,7 @@ export const subagentTool: GetTool = (params) => ({ agent, prompt, parentSessionId, - abortController, + abortController: new AbortController(), onOutputUpdate: context?.toolCallId ? (output: string) => { try { diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index 235b7e140..a7d8bcde3 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -31,6 +31,7 @@ export interface ToolCallPreview { export interface PreprocessToolCallResult { preview?: ToolCallPreview[]; args: Record; + context?: { toolCallId: string }; } export interface Tool { From 66fe98fe7d78a15d442e5383897c079b16e84364 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 19:22:03 +0530 Subject: [PATCH 56/97] try to fix import issues for tests --- extensions/cli/src/tools/index.tsx | 6 +++++- extensions/cli/src/tools/subagent.ts | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index 797ec1bae..f95cf02ef 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -124,7 +124,11 @@ export async function getAllAvailableTools( } if (isBetaSubagentToolEnabled()) { - tools.push(subagentTool({ modelServiceState: modelState })); + tools.push( + subagentTool({ + modelServiceState: modelState, + }), + ); } const mcpState = await serviceContainer.get( diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 1b49d970f..a41cc86c7 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,4 +1,3 @@ -import { services } from "../services/index.js"; import { generateSubagentToolDescription, getSubagent, @@ -23,7 +22,7 @@ export const subagentTool: GetTool = (params) => ({ properties: { description: { type: "string", - description: "A short (3-5 words) description of the task", + description: "A short description of the task", }, prompt: { type: "string", @@ -86,13 +85,14 @@ export const subagentTool: GetTool = (params) => ({ throw new Error(`Unknown agent type: ${subagent_name}`); } + const { executeSubAgent } = await import("../subagent/executor.js"); + const { services } = await import("../services/index.js"); + const parentSessionId = services.chatHistory.getSessionId(); if (!parentSessionId) { throw new Error("No active session found"); } - const { executeSubAgent } = await import("../subagent/executor.js"); // prevent cyclical import - // Execute subagent with output streaming const result = await executeSubAgent({ agent, From eb77a589b44dc005f1f9a9be7d560e1509626488 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 20:17:47 +0530 Subject: [PATCH 57/97] use subagent tool meta instead of calling the func --- extensions/cli/src/services/index.ts | 2 + extensions/cli/src/subagent/executor.ts | 24 +++++++---- extensions/cli/src/subagent/get-agents.ts | 2 +- extensions/cli/src/tools/allBuiltIns.ts | 7 +-- extensions/cli/src/tools/index.tsx | 2 + extensions/cli/src/tools/subagent.ts | 52 ++++++++++++----------- extensions/cli/src/tools/types.ts | 8 +++- 7 files changed, 57 insertions(+), 40 deletions(-) diff --git a/extensions/cli/src/services/index.ts b/extensions/cli/src/services/index.ts index 1ddc73da7..56a5d4e93 100644 --- a/extensions/cli/src/services/index.ts +++ b/extensions/cli/src/services/index.ts @@ -389,6 +389,8 @@ export const services = { gitAiIntegration: gitAiIntegrationService, } as const; +export type ServicesType = typeof services; + // Export the service container for advanced usage export { serviceContainer }; diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index b42b86baf..405e70705 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -1,12 +1,9 @@ import type { ChatHistoryItem } from "core"; -import { - ModelServiceState, - SERVICE_NAMES, - serviceContainer, - services, -} from "../services/index.js"; -import { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; +import type { ServicesType } from "../services/index.js"; +import type { ServiceContainer } from "../services/ServiceContainer.js"; +import type { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; +import { ModelServiceState, SERVICE_NAMES } from "../services/types.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; import { escapeEvents } from "../util/cli.js"; import { logger } from "../util/logger.js"; @@ -20,6 +17,8 @@ export interface SubAgentExecutionOptions { parentSessionId: string; abortController: AbortController; onOutputUpdate?: (output: string) => void; + services: ServicesType; + serviceContainer: ServiceContainer; } /** @@ -61,13 +60,20 @@ async function buildAgentSystemMessage( export async function executeSubAgent( options: SubAgentExecutionOptions, ): Promise { + const { + agent: subAgent, + prompt, + abortController, + onOutputUpdate, + services, + serviceContainer, + } = options; + const mainAgentPermissionsState = await serviceContainer.get( SERVICE_NAMES.TOOL_PERMISSIONS, ); - const { agent: subAgent, prompt, abortController, onOutputUpdate } = options; - try { logger.debug("Starting subagent execution", { agent: subAgent.model?.name, diff --git a/extensions/cli/src/subagent/get-agents.ts b/extensions/cli/src/subagent/get-agents.ts index 3b5282e4a..9abdc2d3a 100644 --- a/extensions/cli/src/subagent/get-agents.ts +++ b/extensions/cli/src/subagent/get-agents.ts @@ -1,5 +1,5 @@ -import { ModelServiceState } from "../services/index.js"; import { ModelService } from "../services/ModelService.js"; +import type { ModelServiceState } from "../services/types.js"; /** * Get an agent by name diff --git a/extensions/cli/src/tools/allBuiltIns.ts b/extensions/cli/src/tools/allBuiltIns.ts index be5e68b36..0d46de4b9 100644 --- a/extensions/cli/src/tools/allBuiltIns.ts +++ b/extensions/cli/src/tools/allBuiltIns.ts @@ -7,13 +7,14 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { searchCodeTool } from "./searchCode.js"; -import { subagentTool } from "./subagent.js"; +import { SUBAGENT_TOOL_META } from "./subagent.js"; +import type { Tool } from "./types.js"; import { uploadArtifactTool } from "./uploadArtifact.js"; import { writeChecklistTool } from "./writeChecklist.js"; import { writeFileTool } from "./writeFile.js"; // putting in here for circular import issue -export const ALL_BUILT_IN_TOOLS = [ +export const ALL_BUILT_IN_TOOLS: Tool[] = [ readFileTool, editTool, multiEditTool, @@ -23,7 +24,7 @@ export const ALL_BUILT_IN_TOOLS = [ runTerminalCommandTool, fetchTool, writeChecklistTool, - subagentTool(), + SUBAGENT_TOOL_META, exitTool, reportFailureTool, uploadArtifactTool, diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index f95cf02ef..67c4f4482 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -127,6 +127,8 @@ export async function getAllAvailableTools( tools.push( subagentTool({ modelServiceState: modelState, + services, + serviceContainer, }), ); } diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index a41cc86c7..5e38e3719 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,3 +1,4 @@ +import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, getSubagent, @@ -5,17 +6,14 @@ import { } from "../subagent/get-agents.js"; import { logger } from "../util/logger.js"; -import { GetTool } from "./types.js"; +import { GetTool, Tool } from "./types.js"; -export const subagentTool: GetTool = (params) => ({ +export const SUBAGENT_TOOL_META: Tool = { name: "Subagent", displayName: "Subagent", - description: params - ? generateSubagentToolDescription(params.modelServiceState) - : "Use a subagent to handle a specialized task.", + description: "Use a subagent to handle a specialized task.", readonly: false, isBuiltIn: true, - parameters: { type: "object", required: ["description", "prompt", "subagent_name"], @@ -28,6 +26,24 @@ export const subagentTool: GetTool = (params) => ({ type: "string", description: "The task for the agent to perform", }, + subagent_name: { + type: "string", + description: "The type of specialized agent to use for this task.", + }, + }, + }, + run: async () => "", +}; + +export const subagentTool: GetTool = (params) => ({ + ...SUBAGENT_TOOL_META, + + description: generateSubagentToolDescription(params.modelServiceState), + + parameters: { + ...SUBAGENT_TOOL_META.parameters, + properties: { + ...SUBAGENT_TOOL_META.parameters.properties, subagent_name: { type: "string", description: `The type of specialized agent to use for this task. Available agents: ${ @@ -38,18 +54,6 @@ export const subagentTool: GetTool = (params) => ({ }, preprocess: async (args: any) => { - if (!params) { - return { - args, - preview: [ - { - type: "text", - content: "Subagent not found", - }, - ], - }; - } - const { description, subagent_name } = args; const agent = getSubagent(params.modelServiceState, subagent_name); @@ -73,8 +77,6 @@ export const subagentTool: GetTool = (params) => ({ }, run: async (args: any, context?: { toolCallId: string }) => { - if (!params) return ""; - const { prompt, subagent_name } = args; logger.debug("subagent args", { args, context }); @@ -85,10 +87,8 @@ export const subagentTool: GetTool = (params) => ({ throw new Error(`Unknown agent type: ${subagent_name}`); } - const { executeSubAgent } = await import("../subagent/executor.js"); - const { services } = await import("../services/index.js"); - - const parentSessionId = services.chatHistory.getSessionId(); + const chatHistoryService = params.services.chatHistory; + const parentSessionId = chatHistoryService.getSessionId(); if (!parentSessionId) { throw new Error("No active session found"); } @@ -99,10 +99,12 @@ export const subagentTool: GetTool = (params) => ({ prompt, parentSessionId, abortController: new AbortController(), + services: params.services, + serviceContainer: params.serviceContainer, onOutputUpdate: context?.toolCallId ? (output: string) => { try { - services.chatHistory.addToolResult( + chatHistoryService.addToolResult( context.toolCallId, output, "calling", diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index a7d8bcde3..aea513fcf 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -1,6 +1,8 @@ import type { ToolPolicy } from "@continuedev/terminal-security"; -import { ModelServiceState } from "src/services/types.js"; +import type { ServicesType } from "src/services/index.js"; +import type { ServiceContainer } from "src/services/ServiceContainer.js"; +import type { ModelServiceState } from "src/services/types.js"; // JSON Schema compatible parameter definition export interface ParameterSchema { @@ -49,8 +51,10 @@ export interface Tool { ) => ToolPolicy; } -export type GetTool = (params?: { +export type GetTool = (params: { modelServiceState: ModelServiceState; + services: ServicesType; + serviceContainer: ServiceContainer; }) => Tool; export interface ToolCall { From 3fbb428f3f0a7dad6bbee10d1e5e6eed2a8656df Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 20:25:18 +0530 Subject: [PATCH 58/97] add subagent tests --- extensions/cli/src/tools/subagent.test.ts | 118 ++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 extensions/cli/src/tools/subagent.test.ts diff --git a/extensions/cli/src/tools/subagent.test.ts b/extensions/cli/src/tools/subagent.test.ts new file mode 100644 index 000000000..0d7668cea --- /dev/null +++ b/extensions/cli/src/tools/subagent.test.ts @@ -0,0 +1,118 @@ +import { beforeEach, describe, expect, it, vi } from "vitest"; + +import { executeSubAgent } from "../subagent/executor.js"; +import { getAgentNames, getSubagent } from "../subagent/get-agents.js"; + +import { subagentTool } from "./subagent.js"; + +vi.mock("../subagent/get-agents.js"); +vi.mock("../subagent/executor.js"); + +describe("subagentTool", () => { + const modelServiceState = {} as any; + + beforeEach(() => { + vi.clearAllMocks(); + }); + + it("preprocess throws when agent is not found", async () => { + vi.mocked(getAgentNames).mockReturnValue(["code-agent"]); + + const tool = subagentTool({ modelServiceState } as any); + + const args = { + description: "Test task", + prompt: "Do something", + subagent_name: "unknown-agent", + }; + + await expect(tool.preprocess!(args)).rejects.toThrow( + "Unknown agent type: unknown-agent", + ); + expect(vi.mocked(getSubagent)).toHaveBeenCalledWith( + modelServiceState, + "unknown-agent", + ); + }); + + it("preprocess includes agent model name when agent exists", async () => { + vi.mocked(getAgentNames).mockReturnValue(["code-agent"]); + + const tool = subagentTool({ modelServiceState } as any); + + vi.mocked(getSubagent).mockReturnValue({ + model: { name: "test-model" }, + } as any); + + const args = { + description: "Handle specialized task", + prompt: "Do it", + subagent_name: "code-agent", + }; + + const result = await tool.preprocess!(args); + + expect(result.preview).toEqual([ + { + type: "text", + content: "Spawning test-model to: Handle specialized task", + }, + ]); + expect(vi.mocked(getSubagent)).toHaveBeenCalledWith( + modelServiceState, + "code-agent", + ); + }); + + it("run executes subagent and returns formatted output", async () => { + vi.mocked(getAgentNames).mockReturnValue(["code-agent"]); + vi.mocked(getSubagent).mockReturnValue({ + model: { name: "test-model" }, + } as any); + vi.mocked(executeSubAgent).mockResolvedValue({ + success: true, + response: "subagent-output", + } as any); + + const services = { + chatHistory: { + getSessionId: vi.fn().mockReturnValue("parent-session-id"), + addToolResult: vi.fn(), + }, + } as any; + + const serviceContainer = {} as any; + + const tool = subagentTool({ + modelServiceState, + services, + serviceContainer, + } as any); + + const result = await tool.run( + { + prompt: "Subagent prompt", + subagent_name: "code-agent", + }, + { toolCallId: "tool-call-id" }, + ); + + expect(vi.mocked(executeSubAgent)).toHaveBeenCalledTimes(1); + const [options] = vi.mocked(executeSubAgent).mock.calls[0]; + + expect(options.prompt).toBe("Subagent prompt"); + expect(options.parentSessionId).toBe("parent-session-id"); + expect(typeof options.onOutputUpdate).toBe("function"); + + options.onOutputUpdate?.("partial-output"); + expect(services.chatHistory.addToolResult).toHaveBeenCalledWith( + "tool-call-id", + "partial-output", + "calling", + ); + + expect(result).toBe( + "subagent-output\n\nstatus: completed\n", + ); + }); +}); From 2b347b6760b23b2554f89d8899fea3e4d7436825 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 21:39:12 +0530 Subject: [PATCH 59/97] use dynamic to prevent cyclical dependency --- extensions/cli/src/subagent/executor.ts | 15 +++------------ extensions/cli/src/tools/index.tsx | 2 -- extensions/cli/src/tools/subagent.ts | 9 +++++---- extensions/cli/src/tools/types.ts | 4 ---- 4 files changed, 8 insertions(+), 22 deletions(-) diff --git a/extensions/cli/src/subagent/executor.ts b/extensions/cli/src/subagent/executor.ts index 405e70705..1580e7f7f 100644 --- a/extensions/cli/src/subagent/executor.ts +++ b/extensions/cli/src/subagent/executor.ts @@ -1,7 +1,7 @@ import type { ChatHistoryItem } from "core"; -import type { ServicesType } from "../services/index.js"; -import type { ServiceContainer } from "../services/ServiceContainer.js"; +import { services } from "../services/index.js"; +import { serviceContainer } from "../services/ServiceContainer.js"; import type { ToolPermissionServiceState } from "../services/ToolPermissionService.js"; import { ModelServiceState, SERVICE_NAMES } from "../services/types.js"; import { streamChatResponse } from "../stream/streamChatResponse.js"; @@ -17,8 +17,6 @@ export interface SubAgentExecutionOptions { parentSessionId: string; abortController: AbortController; onOutputUpdate?: (output: string) => void; - services: ServicesType; - serviceContainer: ServiceContainer; } /** @@ -60,14 +58,7 @@ async function buildAgentSystemMessage( export async function executeSubAgent( options: SubAgentExecutionOptions, ): Promise { - const { - agent: subAgent, - prompt, - abortController, - onOutputUpdate, - services, - serviceContainer, - } = options; + const { agent: subAgent, prompt, abortController, onOutputUpdate } = options; const mainAgentPermissionsState = await serviceContainer.get( diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index 67c4f4482..f95cf02ef 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -127,8 +127,6 @@ export async function getAllAvailableTools( tools.push( subagentTool({ modelServiceState: modelState, - services, - serviceContainer, }), ); } diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index 5e38e3719..aad198b8b 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,4 +1,3 @@ -import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, getSubagent, @@ -87,7 +86,11 @@ export const subagentTool: GetTool = (params) => ({ throw new Error(`Unknown agent type: ${subagent_name}`); } - const chatHistoryService = params.services.chatHistory; + // Dynamically import to avoid circular dependency and passing repeated params + const { executeSubAgent } = await import("../subagent/executor.js"); + const { services } = await import("../services/index.js"); + + const chatHistoryService = services.chatHistory; const parentSessionId = chatHistoryService.getSessionId(); if (!parentSessionId) { throw new Error("No active session found"); @@ -99,8 +102,6 @@ export const subagentTool: GetTool = (params) => ({ prompt, parentSessionId, abortController: new AbortController(), - services: params.services, - serviceContainer: params.serviceContainer, onOutputUpdate: context?.toolCallId ? (output: string) => { try { diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index aea513fcf..faf68cd4e 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -1,7 +1,5 @@ import type { ToolPolicy } from "@continuedev/terminal-security"; -import type { ServicesType } from "src/services/index.js"; -import type { ServiceContainer } from "src/services/ServiceContainer.js"; import type { ModelServiceState } from "src/services/types.js"; // JSON Schema compatible parameter definition @@ -53,8 +51,6 @@ export interface Tool { export type GetTool = (params: { modelServiceState: ModelServiceState; - services: ServicesType; - serviceContainer: ServiceContainer; }) => Tool; export interface ToolCall { From c2d928d48346125a3b681bb1a8548e06add57b34 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 8 Jan 2026 21:44:08 +0530 Subject: [PATCH 60/97] fix subagent tests --- extensions/cli/src/tools/subagent.test.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/extensions/cli/src/tools/subagent.test.ts b/extensions/cli/src/tools/subagent.test.ts index 0d7668cea..90a53ac8e 100644 --- a/extensions/cli/src/tools/subagent.test.ts +++ b/extensions/cli/src/tools/subagent.test.ts @@ -1,5 +1,6 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; +import { services } from "../services/index.js"; import { executeSubAgent } from "../subagent/executor.js"; import { getAgentNames, getSubagent } from "../subagent/get-agents.js"; @@ -7,6 +8,14 @@ import { subagentTool } from "./subagent.js"; vi.mock("../subagent/get-agents.js"); vi.mock("../subagent/executor.js"); +vi.mock("../services/index.js", () => ({ + services: { + chatHistory: { + getSessionId: vi.fn().mockReturnValue("parent-session-id"), + addToolResult: vi.fn(), + }, + }, +})); describe("subagentTool", () => { const modelServiceState = {} as any; @@ -74,18 +83,10 @@ describe("subagentTool", () => { response: "subagent-output", } as any); - const services = { - chatHistory: { - getSessionId: vi.fn().mockReturnValue("parent-session-id"), - addToolResult: vi.fn(), - }, - } as any; - const serviceContainer = {} as any; const tool = subagentTool({ modelServiceState, - services, serviceContainer, } as any); @@ -105,7 +106,7 @@ describe("subagentTool", () => { expect(typeof options.onOutputUpdate).toBe("function"); options.onOutputUpdate?.("partial-output"); - expect(services.chatHistory.addToolResult).toHaveBeenCalledWith( + expect(vi.mocked(services.chatHistory.addToolResult)).toHaveBeenCalledWith( "tool-call-id", "partial-output", "calling", From 613fef9d24da2ca17fbab84575ba0b41ba7d6bd7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:32:38 +0000 Subject: [PATCH 61/97] chore(deps): bump preact from 10.27.1 to 10.28.2 in /gui (#9440) Bumps [preact](https://github.com/preactjs/preact) from 10.27.1 to 10.28.2. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.27.1...10.28.2) --- updated-dependencies: - dependency-name: preact dependency-version: 10.28.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- gui/package-lock.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gui/package-lock.json b/gui/package-lock.json index 9974b5ad9..1407c4b97 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -117,9 +117,9 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.62.0", - "@aws-sdk/client-bedrock-runtime": "^3.779.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", - "@aws-sdk/credential-providers": "^3.778.0", + "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.13", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", @@ -11131,9 +11131,10 @@ "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==" }, "node_modules/preact": { - "version": "10.27.1", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.27.1.tgz", - "integrity": "sha512-V79raXEWch/rbqoNc7nT9E4ep7lu+mI3+sBmfRD4i1M73R3WLYcCtdI0ibxGVf4eQL8ZIz2nFacqEC+rmnOORQ==", + "version": "10.28.2", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.28.2.tgz", + "integrity": "sha512-lbteaWGzGHdlIuiJ0l2Jq454m6kcpI1zNje6d8MlGAFlYvP2GO4ibnat7P74Esfz4sPTdM6UxtTwh/d3pwM9JA==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/preact" From b426b196c90d651dd2e56a464428d72155c6d8ff Mon Sep 17 00:00:00 2001 From: BekahHW <34313413+BekahHW@users.noreply.github.com> Date: Thu, 8 Jan 2026 19:20:08 -0500 Subject: [PATCH 62/97] Update docs banner to feature Agents page (#9449) Changed banner content to highlight the new Agents page in Mission Control, replacing the previous message about workflows and integrations. Generated with [Continue](https://continue.dev) Co-authored-by: BekahHW Co-authored-by: bekah-hawrot-weigel Co-authored-by: Continue --- docs/docs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs.json b/docs/docs.json index 429de6f45..7a350f41d 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -3,7 +3,7 @@ "theme": "mint", "name": "Continue", "banner": { - "content": "Check out our new look in Mission Control. It's now easier than ever to create [Workflows](https://hub.continue.dev/workflows), [Integrate with the tools you use](https://hub.continue.dev/integrations), and to create a one-off Task.", + "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": { From 3c9078e4ec5a76d7ccb073c8605733fa83ccfb58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Jan 2026 00:51:45 +0000 Subject: [PATCH 63/97] chore(deps): bump react-router and react-router-dom in /gui Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) to 6.30.3 and updates ancestor dependency [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom). These dependencies need to be updated together. Updates `react-router` from 6.30.1 to 6.30.3 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@6.30.3/packages/react-router) Updates `react-router-dom` from 6.30.1 to 6.30.3 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.30.3/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router dependency-version: 6.30.3 dependency-type: indirect - dependency-name: react-router-dom dependency-version: 6.30.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- gui/package-lock.json | 29 ++++++++++++++++------------- gui/package.json | 2 +- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/gui/package-lock.json b/gui/package-lock.json index 1407c4b97..a98a1cbb7 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -52,7 +52,7 @@ "react-markdown": "^9.0.1", "react-redux": "^8.0.5", "react-remark": "^2.1.0", - "react-router-dom": "^6.14.2", + "react-router-dom": "^6.30.3", "react-switch": "^7.0.0", "react-syntax-highlighter": "^15.5.0", "react-tooltip": "^5.18.0", @@ -2116,9 +2116,10 @@ "integrity": "sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==" }, "node_modules/@remix-run/router": { - "version": "1.23.0", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz", - "integrity": "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==", + "version": "1.23.2", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.2.tgz", + "integrity": "sha512-Ic6m2U/rMjTkhERIa/0ZtXJP17QUi2CbWE7cqx4J58M8aA3QTfW+2UlQ4psvTX9IO1RfNVhK3pcpdjej7L+t2w==", + "license": "MIT", "engines": { "node": ">=14.0.0" } @@ -11974,11 +11975,12 @@ } }, "node_modules/react-router": { - "version": "6.30.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.1.tgz", - "integrity": "sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==", + "version": "6.30.3", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz", + "integrity": "sha512-XRnlbKMTmktBkjCLE8/XcZFlnHvr2Ltdr1eJX4idL55/9BbORzyZEaIkBFDhFGCEWBBItsVrDxwx3gnisMitdw==", + "license": "MIT", "dependencies": { - "@remix-run/router": "1.23.0" + "@remix-run/router": "1.23.2" }, "engines": { "node": ">=14.0.0" @@ -11988,12 +11990,13 @@ } }, "node_modules/react-router-dom": { - "version": "6.30.1", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.1.tgz", - "integrity": "sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==", + "version": "6.30.3", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.3.tgz", + "integrity": "sha512-pxPcv1AczD4vso7G4Z3TKcvlxK7g7TNt3/FNGMhfqyntocvYKj+GCatfigGDjbLozC4baguJ0ReCigoDJXb0ag==", + "license": "MIT", "dependencies": { - "@remix-run/router": "1.23.0", - "react-router": "6.30.1" + "@remix-run/router": "1.23.2", + "react-router": "6.30.3" }, "engines": { "node": ">=14.0.0" diff --git a/gui/package.json b/gui/package.json index ef44d12bd..bbf2cc4d7 100644 --- a/gui/package.json +++ b/gui/package.json @@ -61,7 +61,7 @@ "react-markdown": "^9.0.1", "react-redux": "^8.0.5", "react-remark": "^2.1.0", - "react-router-dom": "^6.14.2", + "react-router-dom": "^6.30.3", "react-switch": "^7.0.0", "react-syntax-highlighter": "^15.5.0", "react-tooltip": "^5.18.0", From 75857a8c92e572964993a623090ea45f5db4aed9 Mon Sep 17 00:00:00 2001 From: RomneyDa Date: Fri, 9 Jan 2026 02:34:37 +0000 Subject: [PATCH 64/97] Copy updates for Slack App compliance - Renamed 'Slack Agent' to 'Agent for Slack' and updated copy across pages - Updated nav links and redirects from /slack-agent to /slack - Added safety disclaimer with privacy policy link - Clarified connection/disconnection wording and support notes Generated with [Continue](https://continue.dev) Co-authored-by: dallin Co-Authored-By: Continue --- docs/docs.json | 10 +++++++--- docs/index.mdx | 2 +- docs/mission-control/integrations/index.mdx | 2 +- .../{slack-agent.mdx => slack.mdx} | 20 +++++++++++++------ 4 files changed, 23 insertions(+), 11 deletions(-) rename docs/mission-control/integrations/{slack-agent.mdx => slack.mdx} (77%) diff --git a/docs/docs.json b/docs/docs.json index 7a350f41d..d687da2bb 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -37,7 +37,7 @@ "mission-control/integrations/github", "mission-control/integrations/sentry", "mission-control/integrations/snyk", - "mission-control/integrations/slack-agent", + "mission-control/integrations/slack", "mission-control/integrations/posthog", "mission-control/integrations/atlassian", "mission-control/integrations/netlify", @@ -1482,11 +1482,15 @@ }, { "source": "/hub/agents/slack-agent", - "destination": "/mission-control/integrations/slack-agent" + "destination": "/mission-control/integrations/slack" }, { "source": "/hub/integrations/slack-agent", - "destination": "/mission-control/integrations/slack-agent" + "destination": "/mission-control/integrations/slack" + }, + { + "source": "/mission-control/integrations/slack-agent", + "destination": "/mission-control/integrations/slack" }, { "source": "/hub/integrations/github", diff --git a/docs/index.mdx b/docs/index.mdx index 2132a76dd..12f6e22d7 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -37,7 +37,7 @@ description: "Create, run, and automate AI agents across Mission Control, termin Enable repository access for Agents to read and create PRs. - + Mention @Continue in Slack to trigger Agents and receive updates. diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 273cc9cd1..869afbc1a 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -16,7 +16,7 @@ Mission Control currently supports these first-class Cloud Agent integrations: Required for PR creation, repo access, diffs, and workflow triggers. - + Mention @continue to kick off Agents directly from Slack. diff --git a/docs/mission-control/integrations/slack-agent.mdx b/docs/mission-control/integrations/slack.mdx similarity index 77% rename from docs/mission-control/integrations/slack-agent.mdx rename to docs/mission-control/integrations/slack.mdx index 6134d3c78..4f2635fc0 100644 --- a/docs/mission-control/integrations/slack-agent.mdx +++ b/docs/mission-control/integrations/slack.mdx @@ -1,15 +1,19 @@ --- -title: "Slack Agent" +title: "Agent for Slack" description: "Kick off Cloud Agents from Slack by mentioning @Continue" --- - The Continue Slack app is currently in beta development and undergoing Slack's approval process. + Continue uses AI to generate code, issues, and pull requests. AI-generated content may contain inaccuracies, errors, or unexpected results. Always review AI-generated code and changes before merging. Human oversight is recommended for all automated development tasks. + + Please review our Privacy policy here https://www.continue.dev/privacy + + The Continue App for Slack is currently in beta development and undergoing Slack's approval process. - + - Quick bug fixes and feature implementations - Code reviews and refactoring @@ -80,17 +84,17 @@ You can also click the Slack icon in the agents page to return to the Slack mess ## Disconnecting -To remove the Slack integration: +To remove your Slack connection: 1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations) -2. Find your Slack integration +2. Find your Slack connection 3. Click "Disconnect" ## Support - The Slack integration is in active development. We'd love to hear your feedback: + Our integration with Slack is in active development. We'd love to hear your feedback: - Report issues: [GitHub Issues](https://github.com/continuedev/continue/issues) - Feature requests: [GitHub Discussions](https://github.com/continuedev/continue/discussions) @@ -113,3 +117,7 @@ To remove the Slack integration: + +## Support + +See our support page for more details: https://continue.dev/support From 8b4261d043769e247ba6a066c67dcb0c5b6f47ea Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 8 Jan 2026 19:05:00 -0800 Subject: [PATCH 65/97] docs: remove duplicate support section --- docs/mission-control/integrations/slack.mdx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/mission-control/integrations/slack.mdx b/docs/mission-control/integrations/slack.mdx index 4f2635fc0..2e585669a 100644 --- a/docs/mission-control/integrations/slack.mdx +++ b/docs/mission-control/integrations/slack.mdx @@ -100,6 +100,8 @@ To remove your Slack connection: +See our support page for more details: https://continue.dev/support + ## Related Resources @@ -116,8 +118,4 @@ To remove your Slack connection: - - -## Support - -See our support page for more details: https://continue.dev/support + \ No newline at end of file From d55a13894f842464d71bb2f0e5c4ada17ba8fbeb Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:16:01 +0530 Subject: [PATCH 66/97] decouple allbuiltins and subagent tool meta --- extensions/cli/src/subagent/index.ts | 28 ++++ extensions/cli/src/tools/allBuiltIns.ts | 3 +- extensions/cli/src/tools/index.tsx | 6 +- extensions/cli/src/tools/subagent.ts | 206 +++++++++++------------- extensions/cli/src/tools/types.ts | 6 - 5 files changed, 126 insertions(+), 123 deletions(-) create mode 100644 extensions/cli/src/subagent/index.ts diff --git a/extensions/cli/src/subagent/index.ts b/extensions/cli/src/subagent/index.ts new file mode 100644 index 000000000..29f89fadc --- /dev/null +++ b/extensions/cli/src/subagent/index.ts @@ -0,0 +1,28 @@ +import { Tool } from "../tools/types.js"; + +export const SUBAGENT_TOOL_META: Tool = { + name: "Subagent", + displayName: "Subagent", + description: "Use a subagent to handle a specialized task.", + readonly: false, + isBuiltIn: true, + parameters: { + type: "object", + required: ["description", "prompt", "subagent_name"], + properties: { + description: { + type: "string", + description: "A short description of the task", + }, + prompt: { + type: "string", + description: "The task for the agent to perform", + }, + subagent_name: { + type: "string", + description: "The type of specialized agent to use for this task.", + }, + }, + }, + run: async () => "", +}; diff --git a/extensions/cli/src/tools/allBuiltIns.ts b/extensions/cli/src/tools/allBuiltIns.ts index 0d46de4b9..4e2f4a6d9 100644 --- a/extensions/cli/src/tools/allBuiltIns.ts +++ b/extensions/cli/src/tools/allBuiltIns.ts @@ -1,3 +1,5 @@ +import { SUBAGENT_TOOL_META } from "../subagent/index.js"; + import { editTool } from "./edit.js"; import { exitTool } from "./exit.js"; import { fetchTool } from "./fetch.js"; @@ -7,7 +9,6 @@ import { readFileTool } from "./readFile.js"; import { reportFailureTool } from "./reportFailure.js"; import { runTerminalCommandTool } from "./runTerminalCommand.js"; import { searchCodeTool } from "./searchCode.js"; -import { SUBAGENT_TOOL_META } from "./subagent.js"; import type { Tool } from "./types.js"; import { uploadArtifactTool } from "./uploadArtifact.js"; import { writeChecklistTool } from "./writeChecklist.js"; diff --git a/extensions/cli/src/tools/index.tsx b/extensions/cli/src/tools/index.tsx index f95cf02ef..8ec0aca35 100644 --- a/extensions/cli/src/tools/index.tsx +++ b/extensions/cli/src/tools/index.tsx @@ -124,11 +124,7 @@ export async function getAllAvailableTools( } if (isBetaSubagentToolEnabled()) { - tools.push( - subagentTool({ - modelServiceState: modelState, - }), - ); + tools.push(await subagentTool()); } const mcpState = await serviceContainer.get( diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index aad198b8b..c457440c3 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,133 +1,117 @@ +import { serviceContainer } from "../services/ServiceContainer.js"; +import { ModelServiceState, SERVICE_NAMES } from "../services/types.js"; import { generateSubagentToolDescription, getSubagent, getAgentNames as getSubagentNames, } from "../subagent/get-agents.js"; +import { SUBAGENT_TOOL_META } from "../subagent/index.js"; import { logger } from "../util/logger.js"; -import { GetTool, Tool } from "./types.js"; +import { Tool } from "./types.js"; -export const SUBAGENT_TOOL_META: Tool = { - name: "Subagent", - displayName: "Subagent", - description: "Use a subagent to handle a specialized task.", - readonly: false, - isBuiltIn: true, - parameters: { - type: "object", - required: ["description", "prompt", "subagent_name"], - properties: { - description: { - type: "string", - description: "A short description of the task", - }, - prompt: { - type: "string", - description: "The task for the agent to perform", - }, - subagent_name: { - type: "string", - description: "The type of specialized agent to use for this task.", - }, - }, - }, - run: async () => "", -}; +export const subagentTool = async (): Promise => { + const modelServiceState = await serviceContainer.get( + SERVICE_NAMES.MODEL, + ); -export const subagentTool: GetTool = (params) => ({ - ...SUBAGENT_TOOL_META, + return { + ...SUBAGENT_TOOL_META, - description: generateSubagentToolDescription(params.modelServiceState), + description: generateSubagentToolDescription(modelServiceState), - parameters: { - ...SUBAGENT_TOOL_META.parameters, - properties: { - ...SUBAGENT_TOOL_META.parameters.properties, - subagent_name: { - type: "string", - description: `The type of specialized agent to use for this task. Available agents: ${ - params ? getSubagentNames(params.modelServiceState).join(", ") : "" - }`, - }, - }, - }, - - preprocess: async (args: any) => { - const { description, subagent_name } = args; - - const agent = getSubagent(params.modelServiceState, subagent_name); - if (!agent) { - throw new Error( - `Unknown agent type: ${subagent_name}. Available agents: ${getSubagentNames( - params.modelServiceState, - ).join(", ")}`, - ); - } - - return { - args, - preview: [ - { - type: "text", - content: `Spawning ${agent.model.name} to: ${description}`, + parameters: { + ...SUBAGENT_TOOL_META.parameters, + properties: { + ...SUBAGENT_TOOL_META.parameters.properties, + subagent_name: { + type: "string", + description: `The type of specialized agent to use for this task. Available agents: ${ + modelServiceState + ? getSubagentNames(modelServiceState).join(", ") + : "" + }`, }, - ], - }; - }, + }, + }, - run: async (args: any, context?: { toolCallId: string }) => { - const { prompt, subagent_name } = args; + preprocess: async (args: any) => { + const { description, subagent_name } = args; - logger.debug("subagent args", { args, context }); + const agent = getSubagent(modelServiceState, subagent_name); + if (!agent) { + throw new Error( + `Unknown agent type: ${subagent_name}. Available agents: ${getSubagentNames( + modelServiceState, + ).join(", ")}`, + ); + } - // get agent configuration - const agent = getSubagent(params.modelServiceState, subagent_name); - if (!agent) { - throw new Error(`Unknown agent type: ${subagent_name}`); - } + return { + args, + preview: [ + { + type: "text", + content: `Spawning ${agent.model.name} to: ${description}`, + }, + ], + }; + }, - // Dynamically import to avoid circular dependency and passing repeated params - const { executeSubAgent } = await import("../subagent/executor.js"); - const { services } = await import("../services/index.js"); + run: async (args: any, context?: { toolCallId: string }) => { + const { prompt, subagent_name } = args; - const chatHistoryService = services.chatHistory; - const parentSessionId = chatHistoryService.getSessionId(); - if (!parentSessionId) { - throw new Error("No active session found"); - } + logger.debug("subagent args", { args, context }); - // Execute subagent with output streaming - const result = await executeSubAgent({ - agent, - prompt, - parentSessionId, - abortController: new AbortController(), - onOutputUpdate: context?.toolCallId - ? (output: string) => { - try { - chatHistoryService.addToolResult( - context.toolCallId, - output, - "calling", - ); - } catch { - // Ignore errors during streaming updates + // get agent configuration + const agent = getSubagent(modelServiceState, subagent_name); + if (!agent) { + throw new Error(`Unknown agent type: ${subagent_name}`); + } + + // Dynamically import to avoid circular dependency and passing repeated params + const { executeSubAgent } = await import("../subagent/executor.js"); + const { services } = await import("../services/index.js"); + + const chatHistoryService = services.chatHistory; + const parentSessionId = chatHistoryService.getSessionId(); + if (!parentSessionId) { + throw new Error("No active session found"); + } + + // Execute subagent with output streaming + const result = await executeSubAgent({ + agent, + prompt, + parentSessionId, + abortController: new AbortController(), + onOutputUpdate: context?.toolCallId + ? (output: string) => { + try { + chatHistoryService.addToolResult( + context.toolCallId, + output, + "calling", + ); + } catch { + // Ignore errors during streaming updates + } } - } - : undefined, - }); + : undefined, + }); - logger.debug("subagent result", { result }); + logger.debug("subagent result", { result }); - const output = [ - result.response, - "", - `status: ${result.success ? "completed" : "failed"}`, - "", - ] - .filter(Boolean) - .join("\n"); + const output = [ + result.response, + "", + `status: ${result.success ? "completed" : "failed"}`, + "", + ] + .filter(Boolean) + .join("\n"); - return output; - }, -}); + return output; + }, + }; +}; diff --git a/extensions/cli/src/tools/types.ts b/extensions/cli/src/tools/types.ts index faf68cd4e..544c6d970 100644 --- a/extensions/cli/src/tools/types.ts +++ b/extensions/cli/src/tools/types.ts @@ -1,7 +1,5 @@ import type { ToolPolicy } from "@continuedev/terminal-security"; -import type { ModelServiceState } from "src/services/types.js"; - // JSON Schema compatible parameter definition export interface ParameterSchema { type: string; @@ -49,10 +47,6 @@ export interface Tool { ) => ToolPolicy; } -export type GetTool = (params: { - modelServiceState: ModelServiceState; -}) => Tool; - export interface ToolCall { id: string; name: string; From 72da79366486f358adac59aa8ec96d67ec2c9af3 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:20:58 +0530 Subject: [PATCH 67/97] skip dynamic imports --- extensions/cli/src/tools/subagent.test.ts | 18 ++++++++++-------- extensions/cli/src/tools/subagent.ts | 6 ++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/extensions/cli/src/tools/subagent.test.ts b/extensions/cli/src/tools/subagent.test.ts index 90a53ac8e..e4f2d61ea 100644 --- a/extensions/cli/src/tools/subagent.test.ts +++ b/extensions/cli/src/tools/subagent.test.ts @@ -1,6 +1,7 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; import { services } from "../services/index.js"; +import { serviceContainer } from "../services/ServiceContainer.js"; import { executeSubAgent } from "../subagent/executor.js"; import { getAgentNames, getSubagent } from "../subagent/get-agents.js"; @@ -8,6 +9,11 @@ import { subagentTool } from "./subagent.js"; vi.mock("../subagent/get-agents.js"); vi.mock("../subagent/executor.js"); +vi.mock("../services/ServiceContainer.js", () => ({ + serviceContainer: { + get: vi.fn(), + }, +})); vi.mock("../services/index.js", () => ({ services: { chatHistory: { @@ -22,12 +28,13 @@ describe("subagentTool", () => { beforeEach(() => { vi.clearAllMocks(); + vi.mocked(serviceContainer.get).mockResolvedValue(modelServiceState); }); it("preprocess throws when agent is not found", async () => { vi.mocked(getAgentNames).mockReturnValue(["code-agent"]); - const tool = subagentTool({ modelServiceState } as any); + const tool = await subagentTool(); const args = { description: "Test task", @@ -47,7 +54,7 @@ describe("subagentTool", () => { it("preprocess includes agent model name when agent exists", async () => { vi.mocked(getAgentNames).mockReturnValue(["code-agent"]); - const tool = subagentTool({ modelServiceState } as any); + const tool = await subagentTool(); vi.mocked(getSubagent).mockReturnValue({ model: { name: "test-model" }, @@ -83,12 +90,7 @@ describe("subagentTool", () => { response: "subagent-output", } as any); - const serviceContainer = {} as any; - - const tool = subagentTool({ - modelServiceState, - serviceContainer, - } as any); + const tool = await subagentTool(); const result = await tool.run( { diff --git a/extensions/cli/src/tools/subagent.ts b/extensions/cli/src/tools/subagent.ts index c457440c3..43d2d29eb 100644 --- a/extensions/cli/src/tools/subagent.ts +++ b/extensions/cli/src/tools/subagent.ts @@ -1,5 +1,7 @@ +import { services } from "../services/index.js"; import { serviceContainer } from "../services/ServiceContainer.js"; import { ModelServiceState, SERVICE_NAMES } from "../services/types.js"; +import { executeSubAgent } from "../subagent/executor.js"; import { generateSubagentToolDescription, getSubagent, @@ -69,10 +71,6 @@ export const subagentTool = async (): Promise => { throw new Error(`Unknown agent type: ${subagent_name}`); } - // Dynamically import to avoid circular dependency and passing repeated params - const { executeSubAgent } = await import("../subagent/executor.js"); - const { services } = await import("../services/index.js"); - const chatHistoryService = services.chatHistory; const parentSessionId = chatHistoryService.getSessionId(); if (!parentSessionId) { From 86b9cd41064e9df73dc8a83c87446c815de7b76b Mon Sep 17 00:00:00 2001 From: Alex McGraw Date: Fri, 9 Jan 2026 16:02:04 -0600 Subject: [PATCH 68/97] adding new supported models for Ask Sage --- gui/src/pages/AddNewModel/configs/models.ts | 94 +++++++++++++++++++ .../pages/AddNewModel/configs/providers.ts | 25 +++-- 2 files changed, 110 insertions(+), 9 deletions(-) diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 59edce01d..5858a443a 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -2473,6 +2473,100 @@ export const models: { [key: string]: ModelPackage } = { icon: "anthropic.png", isOpenSource: false, }, + asksageclaude45sonnetgov: { + title: "Claude 4.5 Sonnet gov*", + description: "Anthropic's 4.5 Sonnet model.", + params: { + model: "aws-bedrock-claude-45-sonnet-gov", + contextLength: 200_000, + title: "Claude 4.5 Sonnet gov*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "anthropic.png", + isOpenSource: false, + }, + asksageclaude45opus: { + title: "Claude 4.5 Opus*", + description: "Claude 4.5 Opus", + params: { + model: "google-claude-45-opus", + contextLength: 200_000, + title: "Claude 4.5 Opus*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "anthropic.png", + isOpenSource: false, + }, + asksageclaude45haiku: { + title: "Claude 4.5 Haiku*", + description: "Claude 4.5 Haiku", + params: { + model: "google-claude-45-haiku", + contextLength: 200_000, + title: "Claude 4.5 Haiku*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "anthropic.png", + isOpenSource: false, + }, + asksagegpt51: { + title: "GPT-5.1*", + description: "OpenAI's GPT-5.1 model", + params: { + model: "gpt-5.1", + contextLength: 400_000, + maxTokens: 200_000, + title: "GPT-5.1*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "openai.png", + isOpenSource: false, + }, + asksagegpt52: { + title: "GPT-5.2*", + description: "OpenAI's GPT-5.2 model", + params: { + model: "gpt-5.2", + contextLength: 400_000, + maxTokens: 200_000, + title: "GPT-5.2*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "openai.png", + isOpenSource: false, + }, + asksagegpt03mini: { + title: "GPT-o3-mini", + description: "Azure OpenAI GPT o3-mini model.", + params: { + model: "gpt-o3-mini", + contextLength: 200_000, + maxTokens: 100_000, + title: "GPT-o3-mini", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "openai.png", + isOpenSource: false, + }, + asksagegroqllama4scout: { + title: "Llama 4 Scout", + description: "Llama-4 Scout is a large language model customized by Groq.", + params: { + title: "Llama 4 Scout", + model: "groq-llama4-scout", + contextLength: 128_000, + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "groq.png", + isOpenSource: true, + }, // Gemini series models via CometAPI cometapiGemini25Pro: { diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 085fb9522..10e2493f5 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -988,14 +988,24 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo models.asksageclaude45sonnet, models.asksageclaude4sonnet, models.asksageclaude41opus, - models.asksagegpt5, - models.asksagegpt5nano, - models.asksagegpt5mini, + models.asksageclaude35Sonnet, + models.asksageclaude37sonnet, + models.asksageclaude35gov, + models.asksageclaude37sonnetgov, + models.asksageclaude4s, + models.asksageclaude4o, + models.asksageclaude45sonnetgov, + models.asksageclaude45opus, + models.asksageclaude45haiku, models.asksagegemini20Flash, models.asksagegemini25Pro, models.asksagegemini25flash, - models.asksageclaude35gov, - models.asksageclaude37sonnetgov, + models.asksagegpt5, + models.asksagegpt5nano, + models.asksagegpt5mini, + models.asksagegpt51, + models.asksagegpt52, + models.asksagegpt03mini, models.asksagegpt4o, models.asksagegpt4omini, models.asksagegpt4gov, @@ -1013,11 +1023,8 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo models.asksagenovalite, models.asksagegroq70b, models.asksagegroqllama33, + models.asksagegroqllama4scout, models.asksagegrok4, - models.asksageclaude35Sonnet, - models.asksageclaude37sonnet, - models.asksageclaude4s, - models.asksageclaude4o, ], apiKeyUrl: "https://chat.asksage.ai/", }, From 613ffb8ca9847fcb3ff99beec6f191b25cd85f9b Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 9 Jan 2026 14:28:59 -0800 Subject: [PATCH 69/97] fix: context length fixes, truncation, etc --- .../cli/src/tools/runTerminalCommand.ts | 27 +-- .../cli/src/util/truncateOutput.test.ts | 219 ++++++++++++++++++ extensions/cli/src/util/truncateOutput.ts | 81 +++++++ 3 files changed, 303 insertions(+), 24 deletions(-) create mode 100644 extensions/cli/src/util/truncateOutput.test.ts create mode 100644 extensions/cli/src/util/truncateOutput.ts diff --git a/extensions/cli/src/tools/runTerminalCommand.ts b/extensions/cli/src/tools/runTerminalCommand.ts index ed4a2e49b..c130a47a2 100644 --- a/extensions/cli/src/tools/runTerminalCommand.ts +++ b/extensions/cli/src/tools/runTerminalCommand.ts @@ -10,6 +10,7 @@ import { isGitCommitCommand, isPullRequestCommand, } from "../telemetry/utils.js"; +import { truncateOutputFromStart } from "../util/truncateOutput.js"; import { Tool } from "./types.js"; @@ -120,18 +121,7 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed let output = stdout + (stderr ? `\nStderr: ${stderr}` : ""); output += `\n\n[Command timed out after ${TIMEOUT_MS / 1000} seconds of no output]`; - // Truncate output if it has too many lines - const lines = output.split("\n"); - if (lines.length > 5000) { - const truncatedOutput = lines.slice(0, 5000).join("\n"); - resolve( - truncatedOutput + - `\n\n[Output truncated to first 5000 lines of ${lines.length} total]`, - ); - return; - } - - resolve(output); + resolve(truncateOutputFromStart(output).output); }, TIMEOUT_MS); }; @@ -176,18 +166,7 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed output = stdout + `\nStderr: ${stderr}`; } - // Truncate output if it has too many lines - const lines = output.split("\n"); - if (lines.length > 5000) { - const truncatedOutput = lines.slice(0, 5000).join("\n"); - resolve( - truncatedOutput + - `\n\n[Output truncated to first 5000 lines of ${lines.length} total]`, - ); - return; - } - - resolve(output); + resolve(truncateOutputFromStart(output).output); }); child.on("error", (error) => { diff --git a/extensions/cli/src/util/truncateOutput.test.ts b/extensions/cli/src/util/truncateOutput.test.ts new file mode 100644 index 000000000..cf6fb96c6 --- /dev/null +++ b/extensions/cli/src/util/truncateOutput.test.ts @@ -0,0 +1,219 @@ +import { + truncateOutputFromStart, + TRUNCATION_MAX_CHARACTERS, + TRUNCATION_MAX_LINES, +} from "./truncateOutput.js"; + +describe("truncateOutputFromStart", () => { + describe("no truncation needed", () => { + it("should return empty string unchanged", () => { + const result = truncateOutputFromStart(""); + expect(result.output).toBe(""); + expect(result.wasTruncated).toBe(false); + }); + + it("should return short output unchanged", () => { + const input = "hello world\nline 2\nline 3"; + const result = truncateOutputFromStart(input); + expect(result.output).toBe(input); + expect(result.wasTruncated).toBe(false); + }); + + it("should return output at exactly max lines unchanged", () => { + const lines = Array.from( + { length: TRUNCATION_MAX_LINES }, + (_, i) => `line ${i + 1}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + expect(result.output).toBe(input); + expect(result.wasTruncated).toBe(false); + }); + + it("should return output at exactly max characters unchanged", () => { + const input = "a".repeat(TRUNCATION_MAX_CHARACTERS); + const result = truncateOutputFromStart(input); + expect(result.output).toBe(input); + expect(result.wasTruncated).toBe(false); + }); + }); + + describe("truncation by line count", () => { + it("should truncate when exceeding max lines", () => { + const totalLines = TRUNCATION_MAX_LINES + 500; + const lines = Array.from( + { length: totalLines }, + (_, i) => `line ${i + 1}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("(previous 500 lines truncated)"); + expect(result.output).toContain("line 501"); + expect(result.output).toContain(`line ${totalLines}`); + expect(result.output).not.toContain("line 500\n"); + }); + + it("should preserve the last max lines when truncating", () => { + const totalLines = TRUNCATION_MAX_LINES * 2; + const lines = Array.from( + { length: totalLines }, + (_, i) => `line ${i + 1}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain( + `(previous ${TRUNCATION_MAX_LINES} lines truncated)`, + ); + + // Check that we have lines (MAX_LINES+1) to (MAX_LINES*2) + const outputLines = result.output.split("\n"); + // First line is the truncation message, second is empty, then content + expect(outputLines[2]).toBe(`line ${TRUNCATION_MAX_LINES + 1}`); + expect(outputLines[outputLines.length - 1]).toBe(`line ${totalLines}`); + }); + + it("should handle exactly max lines + 1", () => { + const totalLines = TRUNCATION_MAX_LINES + 1; + const lines = Array.from( + { length: totalLines }, + (_, i) => `line ${i + 1}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("(previous 1 lines truncated)"); + expect(result.output).toContain("line 2"); + expect(result.output).toContain(`line ${totalLines}`); + expect(result.output).not.toContain("\nline 1\n"); + }); + }); + + describe("truncation by character count", () => { + it("should truncate when exceeding max characters", () => { + // Create output that exceeds character limit but not line limit + const input = "a".repeat(TRUNCATION_MAX_CHARACTERS + 10000); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output.length).toBeLessThanOrEqual( + TRUNCATION_MAX_CHARACTERS + 100 /* header allowance */, + ); + expect(result.output).toContain("characters truncated"); + }); + + it("should truncate at line boundary when possible", () => { + // Create lines that exceed character limit + const line = "x".repeat(100) + "\n"; + const input = line.repeat(600); // 60600 characters, 600 lines + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + // Should start at a line boundary (after truncation header) + const contentStart = result.output.indexOf("\n\n") + 2; + const content = result.output.slice(contentStart); + // Content should start with 'x' (beginning of a line, not mid-line) + expect(content[0]).toBe("x"); + }); + }); + + describe("combined truncation", () => { + it("should apply both line and character truncation with single message", () => { + // Create lines that exceed both limits + // 2x max lines, each 100 chars = way more than max characters + const line = "y".repeat(100); + const lines = Array.from( + { length: TRUNCATION_MAX_LINES * 2 }, + () => line, + ); + const input = lines.join("\n"); + + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + // Should be truncated by lines first, then by characters + expect(result.output.length).toBeLessThanOrEqual( + TRUNCATION_MAX_CHARACTERS + 100 /* header allowance */, + ); + + // Should have a single combined message, not duplicate notes + expect(result.output).toContain("previous output truncated:"); + expect(result.output).toContain(`${TRUNCATION_MAX_LINES} lines`); + expect(result.output).toContain("characters removed"); + + // Should NOT have separate line truncation message + const truncationNoteCount = (result.output.match(/\(previous/g) || []) + .length; + expect(truncationNoteCount).toBe(1); + }); + }); + + describe("edge cases", () => { + it("should handle single very long line without newlines", () => { + const input = "z".repeat(TRUNCATION_MAX_CHARACTERS + 10000); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("characters truncated"); + // Should keep approximately max chars (plus header) + expect(result.output.length).toBeLessThanOrEqual( + TRUNCATION_MAX_CHARACTERS + 100, + ); + expect(result.output.length).toBeGreaterThan(TRUNCATION_MAX_CHARACTERS); + }); + + it("should not snap to line boundary if newline is too far into the text", () => { + // Create a massive line followed by a newline far from the truncation point + const leadingChars = TRUNCATION_MAX_CHARACTERS + 5000; + const input = "a".repeat(leadingChars) + "\n" + "b".repeat(10); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + // Should cut mid-line since newline is beyond snap threshold into kept text + // Result should contain 'a' characters (cut mid-line) + const contentStart = result.output.indexOf("\n\n") + 2; + const content = result.output.slice(contentStart); + expect(content[0]).toBe("a"); + }); + + it("should snap to line boundary if newline is within snap threshold", () => { + // Create text where truncation point lands within snap threshold of a newline + const charsBeforeNewline = TRUNCATION_MAX_CHARACTERS / 5; // Well under max + const input = + "a".repeat(charsBeforeNewline) + + "\n" + + "b".repeat(TRUNCATION_MAX_CHARACTERS); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + // Newline should be within snap threshold, so should start with 'b' + const contentStart = result.output.indexOf("\n\n") + 2; + const content = result.output.slice(contentStart); + expect(content[0]).toBe("b"); + }); + + it("should handle output with only newlines", () => { + const input = "\n".repeat(TRUNCATION_MAX_LINES + 500); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("lines truncated)"); + }); + + it("should handle mixed content with empty lines", () => { + const totalLines = TRUNCATION_MAX_LINES + 200; + const lines = Array.from({ length: totalLines }, (_, i) => + i % 2 === 0 ? `content line ${i}` : "", + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("(previous 200 lines truncated)"); + }); + }); +}); diff --git a/extensions/cli/src/util/truncateOutput.ts b/extensions/cli/src/util/truncateOutput.ts new file mode 100644 index 000000000..f3f04b3af --- /dev/null +++ b/extensions/cli/src/util/truncateOutput.ts @@ -0,0 +1,81 @@ +export const TRUNCATION_MAX_CHARACTERS = 50000; +export const TRUNCATION_MAX_LINES = 1000; +export const TRUNCATION_LINE_SNAP_THRESHOLD = 1000; + +interface TruncationResult { + output: string; + wasTruncated: boolean; +} + +/** + * Truncates output from the beginning to fit within limits, preserving the end. + * + * Limits: max 50000 characters OR 1000 lines, whichever is smaller. + * When truncated, removes content from the beginning and adds a "(previous output truncated)" note. + */ +export function truncateOutputFromStart(output: string): TruncationResult { + if (!output) { + return { output, wasTruncated: false }; + } + + const lines = output.split("\n"); + + // Check if we need to truncate by lines first + if (lines.length > TRUNCATION_MAX_LINES) { + const linesTruncated = lines.length - TRUNCATION_MAX_LINES; + const preservedLines = lines.slice(-TRUNCATION_MAX_LINES); + const contentAfterLineTruncation = preservedLines.join("\n"); + + // After line truncation, check character limit + if (contentAfterLineTruncation.length > TRUNCATION_MAX_CHARACTERS) { + return truncateCharactersFromStart( + contentAfterLineTruncation, + linesTruncated, + ); + } + + return { + output: `(previous ${linesTruncated} lines truncated)\n\n${contentAfterLineTruncation}`, + wasTruncated: true, + }; + } + + // Check character limit + if (output.length > TRUNCATION_MAX_CHARACTERS) { + return truncateCharactersFromStart(output, 0); + } + + return { output, wasTruncated: false }; +} + +function truncateCharactersFromStart( + text: string, + linesTruncated: number, +): TruncationResult { + // Remove characters from the beginning, keeping the end + const truncationPoint = text.length - TRUNCATION_MAX_CHARACTERS; + const textToKeep = text.slice(truncationPoint); + + // Try to start at a clean line boundary, but only if there's a newline + // within a reasonable distance. Otherwise just cut mid-line. + const firstNewline = textToKeep.indexOf("\n"); + const shouldSnapToLine = + firstNewline !== -1 && firstNewline < TRUNCATION_LINE_SNAP_THRESHOLD; + const cleanText = shouldSnapToLine + ? textToKeep.slice(firstNewline + 1) + : textToKeep; + + const charsRemoved = text.length - cleanText.length; + + let prefix: string; + if (linesTruncated > 0) { + prefix = `(previous output truncated: ${linesTruncated} lines and ${charsRemoved} characters removed)\n\n`; + } else { + prefix = `(previous ${charsRemoved} characters truncated)\n\n`; + } + + return { + output: prefix + cleanText, + wasTruncated: true, + }; +} From 9a630a025de85dd11069afb04a37f6295aca8029 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 9 Jan 2026 15:13:22 -0800 Subject: [PATCH 70/97] feat: refined cli bash tool truncation --- extensions/cli/src/commands/chat.ts | 9 +- .../streamChatResponse.autoCompaction.test.ts | 14 +- .../streamChatResponse.autoCompaction.ts | 13 +- .../streamChatResponse.compactionHelpers.ts | 51 +++-- .../cli/src/stream/streamChatResponse.ts | 44 ++-- .../cli/src/ui/hooks/useChat.compaction.ts | 5 +- .../util/tokenizer.contextValidation.test.ts | 6 +- extensions/cli/src/util/tokenizer.test.ts | 27 +-- extensions/cli/src/util/tokenizer.ts | 197 ++++++++++++++++-- .../cli/src/util/truncateOutput.test.ts | 185 +++++++++++++--- extensions/cli/src/util/truncateOutput.ts | 47 ++++- 11 files changed, 482 insertions(+), 116 deletions(-) diff --git a/extensions/cli/src/commands/chat.ts b/extensions/cli/src/commands/chat.ts index 71c1d53a4..6ee33737d 100644 --- a/extensions/cli/src/commands/chat.ts +++ b/extensions/cli/src/commands/chat.ts @@ -363,7 +363,14 @@ async function processMessage( telemetryService.logUserPrompt(userInput.length, userInput); // Check if auto-compacting is needed BEFORE adding user message - if (shouldAutoCompact(services.chatHistory.getHistory(), model)) { + // Note: This is a preliminary check without tools/systemMessage context. + // The streaming path performs a more accurate check with full context. + if ( + shouldAutoCompact({ + chatHistory: services.chatHistory.getHistory(), + model, + }) + ) { const newIndex = await handleAutoCompaction( chatHistory, model, diff --git a/extensions/cli/src/stream/streamChatResponse.autoCompaction.test.ts b/extensions/cli/src/stream/streamChatResponse.autoCompaction.test.ts index 1e0b6638a..20c654c40 100644 --- a/extensions/cli/src/stream/streamChatResponse.autoCompaction.test.ts +++ b/extensions/cli/src/stream/streamChatResponse.autoCompaction.test.ts @@ -99,7 +99,12 @@ describe("handleAutoCompaction", () => { wasCompacted: false, }); - expect(shouldAutoCompact).toHaveBeenCalledWith(mockChatHistory, mockModel); + expect(shouldAutoCompact).toHaveBeenCalledWith({ + chatHistory: mockChatHistory, + model: mockModel, + systemMessage: undefined, + tools: undefined, + }); }); it("should perform auto-compaction when context limit is approaching", async () => { @@ -144,7 +149,12 @@ describe("handleAutoCompaction", () => { }, ); - expect(shouldAutoCompact).toHaveBeenCalledWith(mockChatHistory, mockModel); + expect(shouldAutoCompact).toHaveBeenCalledWith({ + chatHistory: mockChatHistory, + model: mockModel, + systemMessage: undefined, + tools: undefined, + }); expect(getAutoCompactMessage).toHaveBeenCalledWith(mockModel); expect(compactChatHistory).toHaveBeenCalledWith( mockChatHistory, diff --git a/extensions/cli/src/stream/streamChatResponse.autoCompaction.ts b/extensions/cli/src/stream/streamChatResponse.autoCompaction.ts index 803e7cb06..c93f97e78 100644 --- a/extensions/cli/src/stream/streamChatResponse.autoCompaction.ts +++ b/extensions/cli/src/stream/streamChatResponse.autoCompaction.ts @@ -1,6 +1,7 @@ import { ModelConfig } from "@continuedev/config-yaml"; import { BaseLlmApi } from "@continuedev/openai-adapters"; import type { ChatHistoryItem } from "core/index.js"; +import type { ChatCompletionTool } from "openai/resources/chat/completions.mjs"; import React from "react"; import { compactChatHistory } from "../compaction.js"; @@ -27,6 +28,7 @@ interface AutoCompactionOptions { format?: "json"; callbacks?: AutoCompactionCallbacks; systemMessage?: string; + tools?: ChatCompletionTool[]; } /** @@ -133,9 +135,18 @@ export async function handleAutoCompaction( isHeadless = false, callbacks, systemMessage: providedSystemMessage, + tools, } = options; - if (!model || !shouldAutoCompact(chatHistory, model)) { + if ( + !model || + !shouldAutoCompact({ + chatHistory, + model, + systemMessage: providedSystemMessage, + tools, + }) + ) { return { chatHistory, compactionIndex: null, wasCompacted: false }; } diff --git a/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts b/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts index d1c42517f..b1d8fbe95 100644 --- a/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts +++ b/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts @@ -1,6 +1,7 @@ import { ModelConfig } from "@continuedev/config-yaml"; import { BaseLlmApi } from "@continuedev/openai-adapters"; import type { ChatHistoryItem } from "core/index.js"; +import type { ChatCompletionTool } from "openai/resources/chat/completions.mjs"; import { services } from "../services/index.js"; import { ToolCall } from "../tools/index.js"; @@ -17,6 +18,7 @@ export interface CompactionHelperOptions { isHeadless: boolean; callbacks?: StreamCallbacks; systemMessage: string; + tools?: ChatCompletionTool[]; } /** @@ -26,8 +28,15 @@ export async function handlePreApiCompaction( chatHistory: ChatHistoryItem[], options: CompactionHelperOptions, ): Promise<{ chatHistory: ChatHistoryItem[]; wasCompacted: boolean }> { - const { model, llmApi, isCompacting, isHeadless, callbacks, systemMessage } = - options; + const { + model, + llmApi, + isCompacting, + isHeadless, + callbacks, + systemMessage, + tools, + } = options; if (isCompacting) { return { chatHistory, wasCompacted: false }; @@ -41,6 +50,7 @@ export async function handlePreApiCompaction( onContent: callbacks?.onContent, }, systemMessage, + tools, }); if (wasCompacted) { @@ -67,7 +77,8 @@ export async function handlePostToolValidation( chatHistory: ChatHistoryItem[], options: CompactionHelperOptions, ): Promise<{ chatHistory: ChatHistoryItem[]; wasCompacted: boolean }> { - const { model, llmApi, isHeadless, callbacks, systemMessage } = options; + const { model, llmApi, isHeadless, callbacks, systemMessage, tools } = + options; if (toolCalls.length === 0) { return { chatHistory, wasCompacted: false }; @@ -82,21 +93,14 @@ export async function handlePostToolValidation( chatHistory = chatHistorySvc.getHistory(); } - // Validate with system message to catch tool result overflow - const postToolSystemItem: ChatHistoryItem = { - message: { - role: "system", - content: systemMessage, - }, - contextItems: [], - }; - const SAFETY_BUFFER = 100; - const postToolValidation = validateContextLength( - [postToolSystemItem, ...chatHistory], + const postToolValidation = validateContextLength({ + chatHistory, model, - SAFETY_BUFFER, - ); + safetyBuffer: SAFETY_BUFFER, + systemMessage, + tools, + }); // If tool results pushed us over limit, force compaction regardless of threshold if (!postToolValidation.isValid) { @@ -114,6 +118,7 @@ export async function handlePostToolValidation( onContent: callbacks?.onContent, }, systemMessage, + tools, }); if (wasCompacted) { @@ -127,11 +132,13 @@ export async function handlePostToolValidation( } // Verify compaction brought us under the limit - const postCompactionValidation = validateContextLength( - [postToolSystemItem, ...chatHistory], + const postCompactionValidation = validateContextLength({ + chatHistory, model, - SAFETY_BUFFER, - ); + safetyBuffer: SAFETY_BUFFER, + systemMessage, + tools, + }); if (!postCompactionValidation.isValid) { logger.error( @@ -171,7 +178,8 @@ export async function handleNormalAutoCompaction( shouldContinue: boolean, options: CompactionHelperOptions, ): Promise<{ chatHistory: ChatHistoryItem[]; wasCompacted: boolean }> { - const { model, llmApi, isHeadless, callbacks, systemMessage } = options; + const { model, llmApi, isHeadless, callbacks, systemMessage, tools } = + options; if (!shouldContinue) { return { chatHistory, wasCompacted: false }; @@ -193,6 +201,7 @@ export async function handleNormalAutoCompaction( onContent: callbacks?.onContent, }, systemMessage, + tools, }); if (wasCompacted) { diff --git a/extensions/cli/src/stream/streamChatResponse.ts b/extensions/cli/src/stream/streamChatResponse.ts index b63541db1..e02a59c86 100644 --- a/extensions/cli/src/stream/streamChatResponse.ts +++ b/extensions/cli/src/stream/streamChatResponse.ts @@ -215,25 +215,17 @@ export async function processStreamingResponse( let chatHistory = options.chatHistory; - // Create temporary system message item for validation - const systemMessageItem: ChatHistoryItem = { - message: { - role: "system", - content: systemMessage, - }, - contextItems: [], - }; - // Safety buffer to account for tokenization estimation errors const SAFETY_BUFFER = 100; - // Validate context length INCLUDING system message - let historyWithSystem = [systemMessageItem, ...chatHistory]; - let validation = validateContextLength( - historyWithSystem, + // Validate context length INCLUDING system message and tools + let validation = validateContextLength({ + chatHistory, model, - SAFETY_BUFFER, - ); + safetyBuffer: SAFETY_BUFFER, + systemMessage, + tools, + }); // Prune last messages until valid (excluding system message) while (chatHistory.length > 1 && !validation.isValid) { @@ -243,9 +235,14 @@ export async function processStreamingResponse( } chatHistory = prunedChatHistory; - // Re-validate with system message - historyWithSystem = [systemMessageItem, ...chatHistory]; - validation = validateContextLength(historyWithSystem, model, SAFETY_BUFFER); + // Re-validate with system message and tools + validation = validateContextLength({ + chatHistory, + model, + safetyBuffer: SAFETY_BUFFER, + systemMessage, + tools, + }); } if (!validation.isValid) { @@ -464,7 +461,10 @@ export async function streamChatResponse( services.toolPermissions.getState().currentMode, ); - // Pre-API auto-compaction checkpoint + // Recompute tools on each iteration to handle mode changes during streaming + const tools = await getRequestTools(isHeadless); + + // Pre-API auto-compaction checkpoint (now includes tools) const preCompactionResult = await handlePreApiCompaction(chatHistory, { model, llmApi, @@ -472,15 +472,13 @@ export async function streamChatResponse( isHeadless, callbacks, systemMessage, + tools, }); chatHistory = preCompactionResult.chatHistory; if (preCompactionResult.wasCompacted) { compactionOccurredThisTurn = true; } - // Recompute tools on each iteration to handle mode changes during streaming - const tools = await getRequestTools(isHeadless); - logger.debug("Tools prepared", { toolCount: tools.length, toolNames: tools.map((t) => t.function.name), @@ -541,6 +539,7 @@ export async function streamChatResponse( isHeadless, callbacks, systemMessage, + tools, }, ); chatHistory = postToolResult.chatHistory; @@ -559,6 +558,7 @@ export async function streamChatResponse( isHeadless, callbacks, systemMessage, + tools, }, ); chatHistory = compactionResult.chatHistory; diff --git a/extensions/cli/src/ui/hooks/useChat.compaction.ts b/extensions/cli/src/ui/hooks/useChat.compaction.ts index 250165499..8b6c3b90a 100644 --- a/extensions/cli/src/ui/hooks/useChat.compaction.ts +++ b/extensions/cli/src/ui/hooks/useChat.compaction.ts @@ -137,9 +137,10 @@ export async function handleAutoCompaction({ currentCompactionIndex: number | null; }> { try { - // Check if auto-compaction is needed // Check if auto-compaction is needed using ChatHistoryItem directly - if (!model || !shouldAutoCompact(chatHistory, model)) { + // Note: TUI mode doesn't have access to tools/systemMessage at this point, + // so we use a simplified check. The streaming path has full context. + if (!model || !shouldAutoCompact({ chatHistory, model })) { return { currentChatHistory: chatHistory, currentCompactionIndex: _compactionIndex, diff --git a/extensions/cli/src/util/tokenizer.contextValidation.test.ts b/extensions/cli/src/util/tokenizer.contextValidation.test.ts index 79377ab48..a9b8dbc2b 100644 --- a/extensions/cli/src/util/tokenizer.contextValidation.test.ts +++ b/extensions/cli/src/util/tokenizer.contextValidation.test.ts @@ -31,7 +31,7 @@ describe("validateContextLength", () => { const model = createMockModel(1000, 200); const chatHistory = createMockHistory(5, 40); // ~50 tokens total - const result = validateContextLength(chatHistory, model); + const result = validateContextLength({ chatHistory, model }); expect(result.isValid).toBe(true); expect(result.error).toBeUndefined(); @@ -41,7 +41,7 @@ describe("validateContextLength", () => { const model = createMockModel(1000, 800); const chatHistory = createMockHistory(20, 100); // ~500+ tokens - const result = validateContextLength(chatHistory, model); + const result = validateContextLength({ chatHistory, model }); expect(result.isValid).toBe(false); expect(result.error).toContain("Context length exceeded"); @@ -54,7 +54,7 @@ describe("validateContextLength", () => { const model = createMockModel(200_000, 64_000); // Claude-like model const chatHistory = createMockHistory(100, 1000); // Large conversation - const result = validateContextLength(chatHistory, model); + const result = validateContextLength({ chatHistory, model }); expect(result.contextLimit).toBe(200_000); expect(result.maxTokens).toBe(64_000); diff --git a/extensions/cli/src/util/tokenizer.test.ts b/extensions/cli/src/util/tokenizer.test.ts index 807f1174d..d982a89fc 100644 --- a/extensions/cli/src/util/tokenizer.test.ts +++ b/extensions/cli/src/util/tokenizer.test.ts @@ -232,7 +232,7 @@ describe("tokenizer", () => { // Threshold: 800 * 0.8 = 640 const chatHistory = createChatHistory(650); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); it("should not compact when input tokens are below threshold with maxTokens", () => { @@ -241,7 +241,7 @@ describe("tokenizer", () => { // Threshold: 800 * 0.8 = 640 const chatHistory = createChatHistory(600); // Below threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(false); + expect(shouldAutoCompact({ chatHistory, model })).toBe(false); }); it("should use 35% default reservation when maxTokens is not set", () => { @@ -251,7 +251,7 @@ describe("tokenizer", () => { // Threshold: 650 * 0.8 = 520 const chatHistory = createChatHistory(530); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); it("should not compact when below default threshold without maxTokens", () => { @@ -260,14 +260,14 @@ describe("tokenizer", () => { // Threshold: 650 * 0.8 = 520 const chatHistory = createChatHistory(500); // Below threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(false); + expect(shouldAutoCompact({ chatHistory, model })).toBe(false); }); it("should throw error when maxTokens >= contextLength", () => { const model = createModel(1000, 1000); // maxTokens equals contextLength const chatHistory = createChatHistory(1); // Minimal input - expect(() => shouldAutoCompact(chatHistory, model)).toThrow( + expect(() => shouldAutoCompact({ chatHistory, model })).toThrow( "max_tokens is larger than context_length, which should not be possible. Please check your configuration.", ); }); @@ -276,7 +276,7 @@ describe("tokenizer", () => { const model = createModel(1000, 1200); // maxTokens exceeds contextLength const chatHistory = createChatHistory(1); // Minimal input - expect(() => shouldAutoCompact(chatHistory, model)).toThrow( + expect(() => shouldAutoCompact({ chatHistory, model })).toThrow( "max_tokens is larger than context_length, which should not be possible. Please check your configuration.", ); }); @@ -287,17 +287,20 @@ describe("tokenizer", () => { // Threshold: 50 * 0.8 = 40 const chatHistory = createChatHistory(45); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); it("should log debug information correctly", () => { const model = createModel(1000, 200); const chatHistory = createChatHistory(600); - shouldAutoCompact(chatHistory, model); + shouldAutoCompact({ chatHistory, model }); expect(logger.debug).toHaveBeenCalledWith("Context usage check", { inputTokens: expect.any(Number), + historyTokens: expect.any(Number), + systemTokens: expect.any(Number), + toolTokens: expect.any(Number), contextLimit: 1000, maxTokens: 200, reservedForOutput: 200, @@ -313,7 +316,7 @@ describe("tokenizer", () => { // Should use default 35% reservation: 1000 * 0.35 = 350 const chatHistory = createChatHistory(530); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); describe("real-world scenarios", () => { @@ -324,7 +327,7 @@ describe("tokenizer", () => { // Threshold: 196k * 0.8 = 156.8k const chatHistory = createChatHistory(160_000); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); it("should prevent GPT-4 context overflow", () => { @@ -334,7 +337,7 @@ describe("tokenizer", () => { // Threshold: 124k * 0.8 = 99.2k const chatHistory = createChatHistory(100_000); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); it("should handle models with very high max_tokens", () => { @@ -344,7 +347,7 @@ describe("tokenizer", () => { // Threshold: 136k * 0.8 = 108.8k const chatHistory = createChatHistory(110_000); // Above threshold - expect(shouldAutoCompact(chatHistory, model)).toBe(true); + expect(shouldAutoCompact({ chatHistory, model })).toBe(true); }); }); }); diff --git a/extensions/cli/src/util/tokenizer.ts b/extensions/cli/src/util/tokenizer.ts index cccc60ad2..cfacac1e8 100644 --- a/extensions/cli/src/util/tokenizer.ts +++ b/extensions/cli/src/util/tokenizer.ts @@ -1,6 +1,7 @@ import { ModelConfig } from "@continuedev/config-yaml"; import type { ChatHistoryItem } from "core/index.js"; import { encode } from "gpt-tokenizer"; +import type { ChatCompletionTool } from "openai/resources/chat/completions.mjs"; import { logger } from "./logger.js"; @@ -196,16 +197,158 @@ export function calculateContextUsagePercentage( } /** - * Check if the chat history exceeds the auto-compact threshold - * @param chatHistory The chat history to check - * @param model The model configuration + * Count tokens for a single parameter field in a tool definition. + * @param fields The field definition object + * @returns Token count for this field + */ +function countParameterFieldTokens( + fields: Record | undefined, +): number { + if (!fields) { + return 0; + } + + let tokens = 0; + const fieldType = fields["type"]; + const fieldDesc = fields["description"]; + const fieldEnum = fields["enum"]; + + if (fieldType && typeof fieldType === "string") { + tokens += 2; // Structure overhead for type + tokens += encode(fieldType).length; + } + + if (fieldDesc && typeof fieldDesc === "string") { + tokens += 2; // Structure overhead for description + tokens += encode(fieldDesc).length; + } + + if (fieldEnum && Array.isArray(fieldEnum)) { + tokens -= 3; + for (const e of fieldEnum) { + tokens += 3; + tokens += typeof e === "string" ? encode(e).length : 5; + } + } + + return tokens; +} + +/** + * Count tokens for a single tool's function definition. + * @param tool The ChatCompletionTool to count + * @returns Token count for this tool + */ +function countSingleToolTokens(tool: ChatCompletionTool): number { + let tokens = encode(tool.function.name).length; + + if (tool.function.description) { + tokens += encode(tool.function.description).length; + } + + const params = tool.function.parameters as + | { properties?: Record } + | undefined; + const props = params?.properties; + + if (props) { + for (const key in props) { + tokens += encode(key).length; + tokens += countParameterFieldTokens( + props[key] as Record | undefined, + ); + } + } + + return tokens; +} + +/** + * Count tokens for tool definitions sent to the API. + * Based on OpenAI's token counting for function calling. + * @see https://community.openai.com/t/how-to-calculate-the-tokens-when-using-function-call/266573/10 + * @param tools Array of ChatCompletionTool objects + * @returns Estimated token count for all tool definitions + */ +export function countToolDefinitionTokens(tools: ChatCompletionTool[]): number { + if (!tools || tools.length === 0) { + return 0; + } + + // Base overhead for the tools array structure + let numTokens = 12; + + for (const tool of tools) { + numTokens += countSingleToolTokens(tool); + } + + // Additional overhead for the tools wrapper + return numTokens + 12; +} + +/** + * Parameters for calculating total input tokens including all components + */ +export interface TotalInputTokenParams { + chatHistory: ChatHistoryItem[]; + systemMessage?: string; + tools?: ChatCompletionTool[]; +} + +/** + * Calculate total input tokens including chat history, system message, and tool definitions. + * This provides a complete picture of tokens that will be sent to the API. + * @param params Object containing chatHistory, optional systemMessage, optional tools, and optional modelName + * @returns Total estimated input token count + */ +export function countTotalInputTokens(params: TotalInputTokenParams): number { + const { chatHistory, systemMessage, tools } = params; + + let totalTokens = countChatHistoryTokens(chatHistory); + + // Add system message tokens if provided and not already in history + if (systemMessage) { + const hasSystemInHistory = chatHistory.some( + (item) => item.message.role === "system", + ); + if (!hasSystemInHistory) { + totalTokens += encode(systemMessage).length; + totalTokens += 4; // Message structure overhead (role + formatting) + } + } + + // Add tool definition tokens + if (tools && tools.length > 0) { + totalTokens += countToolDefinitionTokens(tools); + } + + return totalTokens; +} + +/** + * Parameters for auto-compaction check + */ +export interface AutoCompactParams { + chatHistory: ChatHistoryItem[]; + model: ModelConfig; + systemMessage?: string; + tools?: ChatCompletionTool[]; +} + +/** + * Check if the chat history exceeds the auto-compact threshold. + * Accounts for system message and tool definitions in the calculation. + * @param params Object containing chatHistory, model, optional systemMessage, and optional tools * @returns Whether auto-compacting should be triggered */ -export function shouldAutoCompact( - chatHistory: ChatHistoryItem[], - model: ModelConfig, -): boolean { - const inputTokens = countChatHistoryTokens(chatHistory); +export function shouldAutoCompact(params: AutoCompactParams): boolean { + const { chatHistory, model, systemMessage, tools } = params; + + const inputTokens = countTotalInputTokens({ + chatHistory, + systemMessage, + tools, + }); const contextLimit = getModelContextLimit(model); const maxTokens = model.defaultCompletionOptions?.maxTokens || 0; @@ -225,8 +368,14 @@ export function shouldAutoCompact( const usage = inputTokens / availableForInput; + const toolTokens = tools ? countToolDefinitionTokens(tools) : 0; + const systemTokens = systemMessage ? encode(systemMessage).length : 0; + logger.debug("Context usage check", { inputTokens, + historyTokens: countChatHistoryTokens(chatHistory), + systemTokens, + toolTokens, contextLimit, maxTokens, reservedForOutput, @@ -250,24 +399,36 @@ export function getAutoCompactMessage(model: ModelConfig): string { } /** - * Validates that the input tokens + max_tokens don't exceed context limit - * @param chatHistory The chat history to validate - * @param model The model configuration - * @param safetyBuffer Additional token buffer to account for estimation errors (default: 0) + * Parameters for context length validation + */ +export interface ValidateContextLengthParams { + chatHistory: ChatHistoryItem[]; + model: ModelConfig; + safetyBuffer?: number; + systemMessage?: string; + tools?: ChatCompletionTool[]; +} + +/** + * Validates that the input tokens + max_tokens don't exceed context limit. + * Accounts for system message and tool definitions in the calculation. + * @param params Object containing chatHistory, model, optional safetyBuffer, systemMessage, and tools * @returns Validation result with error details if invalid */ -export function validateContextLength( - chatHistory: ChatHistoryItem[], - model: ModelConfig, - safetyBuffer: number = 0, -): { +export function validateContextLength(params: ValidateContextLengthParams): { isValid: boolean; error?: string; inputTokens?: number; contextLimit?: number; maxTokens?: number; } { - const inputTokens = countChatHistoryTokens(chatHistory); + const { chatHistory, model, safetyBuffer = 0, systemMessage, tools } = params; + + const inputTokens = countTotalInputTokens({ + chatHistory, + systemMessage, + tools, + }); const contextLimit = getModelContextLimit(model); const maxTokens = model.defaultCompletionOptions?.maxTokens || 0; diff --git a/extensions/cli/src/util/truncateOutput.test.ts b/extensions/cli/src/util/truncateOutput.test.ts index cf6fb96c6..37d990dff 100644 --- a/extensions/cli/src/util/truncateOutput.test.ts +++ b/extensions/cli/src/util/truncateOutput.test.ts @@ -1,10 +1,24 @@ import { + DEFAULT_MAX_CHARACTERS, + DEFAULT_MAX_LINES, + getMaxCharacters, + getMaxLines, truncateOutputFromStart, - TRUNCATION_MAX_CHARACTERS, - TRUNCATION_MAX_LINES, } from "./truncateOutput.js"; describe("truncateOutputFromStart", () => { + const originalEnv = process.env; + + beforeEach(() => { + process.env = { ...originalEnv }; + delete process.env.BASH_MAX_OUTPUT_LENGTH; + delete process.env.BASH_MAX_OUTPUT_LINES; + }); + + afterAll(() => { + process.env = originalEnv; + }); + describe("no truncation needed", () => { it("should return empty string unchanged", () => { const result = truncateOutputFromStart(""); @@ -21,7 +35,7 @@ describe("truncateOutputFromStart", () => { it("should return output at exactly max lines unchanged", () => { const lines = Array.from( - { length: TRUNCATION_MAX_LINES }, + { length: DEFAULT_MAX_LINES }, (_, i) => `line ${i + 1}`, ); const input = lines.join("\n"); @@ -31,7 +45,7 @@ describe("truncateOutputFromStart", () => { }); it("should return output at exactly max characters unchanged", () => { - const input = "a".repeat(TRUNCATION_MAX_CHARACTERS); + const input = "a".repeat(DEFAULT_MAX_CHARACTERS); const result = truncateOutputFromStart(input); expect(result.output).toBe(input); expect(result.wasTruncated).toBe(false); @@ -40,7 +54,7 @@ describe("truncateOutputFromStart", () => { describe("truncation by line count", () => { it("should truncate when exceeding max lines", () => { - const totalLines = TRUNCATION_MAX_LINES + 500; + const totalLines = DEFAULT_MAX_LINES + 500; const lines = Array.from( { length: totalLines }, (_, i) => `line ${i + 1}`, @@ -56,7 +70,7 @@ describe("truncateOutputFromStart", () => { }); it("should preserve the last max lines when truncating", () => { - const totalLines = TRUNCATION_MAX_LINES * 2; + const totalLines = DEFAULT_MAX_LINES * 2; const lines = Array.from( { length: totalLines }, (_, i) => `line ${i + 1}`, @@ -66,18 +80,18 @@ describe("truncateOutputFromStart", () => { expect(result.wasTruncated).toBe(true); expect(result.output).toContain( - `(previous ${TRUNCATION_MAX_LINES} lines truncated)`, + `(previous ${DEFAULT_MAX_LINES} lines truncated)`, ); // Check that we have lines (MAX_LINES+1) to (MAX_LINES*2) const outputLines = result.output.split("\n"); // First line is the truncation message, second is empty, then content - expect(outputLines[2]).toBe(`line ${TRUNCATION_MAX_LINES + 1}`); + expect(outputLines[2]).toBe(`line ${DEFAULT_MAX_LINES + 1}`); expect(outputLines[outputLines.length - 1]).toBe(`line ${totalLines}`); }); it("should handle exactly max lines + 1", () => { - const totalLines = TRUNCATION_MAX_LINES + 1; + const totalLines = DEFAULT_MAX_LINES + 1; const lines = Array.from( { length: totalLines }, (_, i) => `line ${i + 1}`, @@ -96,12 +110,12 @@ describe("truncateOutputFromStart", () => { describe("truncation by character count", () => { it("should truncate when exceeding max characters", () => { // Create output that exceeds character limit but not line limit - const input = "a".repeat(TRUNCATION_MAX_CHARACTERS + 10000); + const input = "a".repeat(DEFAULT_MAX_CHARACTERS + 10000); const result = truncateOutputFromStart(input); expect(result.wasTruncated).toBe(true); expect(result.output.length).toBeLessThanOrEqual( - TRUNCATION_MAX_CHARACTERS + 100 /* header allowance */, + DEFAULT_MAX_CHARACTERS + 100 /* header allowance */, ); expect(result.output).toContain("characters truncated"); }); @@ -126,10 +140,7 @@ describe("truncateOutputFromStart", () => { // Create lines that exceed both limits // 2x max lines, each 100 chars = way more than max characters const line = "y".repeat(100); - const lines = Array.from( - { length: TRUNCATION_MAX_LINES * 2 }, - () => line, - ); + const lines = Array.from({ length: DEFAULT_MAX_LINES * 2 }, () => line); const input = lines.join("\n"); const result = truncateOutputFromStart(input); @@ -137,12 +148,12 @@ describe("truncateOutputFromStart", () => { expect(result.wasTruncated).toBe(true); // Should be truncated by lines first, then by characters expect(result.output.length).toBeLessThanOrEqual( - TRUNCATION_MAX_CHARACTERS + 100 /* header allowance */, + DEFAULT_MAX_CHARACTERS + 100 /* header allowance */, ); // Should have a single combined message, not duplicate notes expect(result.output).toContain("previous output truncated:"); - expect(result.output).toContain(`${TRUNCATION_MAX_LINES} lines`); + expect(result.output).toContain(`${DEFAULT_MAX_LINES} lines`); expect(result.output).toContain("characters removed"); // Should NOT have separate line truncation message @@ -154,21 +165,21 @@ describe("truncateOutputFromStart", () => { describe("edge cases", () => { it("should handle single very long line without newlines", () => { - const input = "z".repeat(TRUNCATION_MAX_CHARACTERS + 10000); + const input = "z".repeat(DEFAULT_MAX_CHARACTERS + 10000); const result = truncateOutputFromStart(input); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("characters truncated"); // Should keep approximately max chars (plus header) expect(result.output.length).toBeLessThanOrEqual( - TRUNCATION_MAX_CHARACTERS + 100, + DEFAULT_MAX_CHARACTERS + 100, ); - expect(result.output.length).toBeGreaterThan(TRUNCATION_MAX_CHARACTERS); + expect(result.output.length).toBeGreaterThan(DEFAULT_MAX_CHARACTERS); }); it("should not snap to line boundary if newline is too far into the text", () => { // Create a massive line followed by a newline far from the truncation point - const leadingChars = TRUNCATION_MAX_CHARACTERS + 5000; + const leadingChars = DEFAULT_MAX_CHARACTERS + 5000; const input = "a".repeat(leadingChars) + "\n" + "b".repeat(10); const result = truncateOutputFromStart(input); @@ -182,11 +193,11 @@ describe("truncateOutputFromStart", () => { it("should snap to line boundary if newline is within snap threshold", () => { // Create text where truncation point lands within snap threshold of a newline - const charsBeforeNewline = TRUNCATION_MAX_CHARACTERS / 5; // Well under max + const charsBeforeNewline = DEFAULT_MAX_CHARACTERS / 5; // Well under max const input = "a".repeat(charsBeforeNewline) + "\n" + - "b".repeat(TRUNCATION_MAX_CHARACTERS); + "b".repeat(DEFAULT_MAX_CHARACTERS); const result = truncateOutputFromStart(input); expect(result.wasTruncated).toBe(true); @@ -197,7 +208,7 @@ describe("truncateOutputFromStart", () => { }); it("should handle output with only newlines", () => { - const input = "\n".repeat(TRUNCATION_MAX_LINES + 500); + const input = "\n".repeat(DEFAULT_MAX_LINES + 500); const result = truncateOutputFromStart(input); expect(result.wasTruncated).toBe(true); @@ -205,7 +216,7 @@ describe("truncateOutputFromStart", () => { }); it("should handle mixed content with empty lines", () => { - const totalLines = TRUNCATION_MAX_LINES + 200; + const totalLines = DEFAULT_MAX_LINES + 200; const lines = Array.from({ length: totalLines }, (_, i) => i % 2 === 0 ? `content line ${i}` : "", ); @@ -216,4 +227,128 @@ describe("truncateOutputFromStart", () => { expect(result.output).toContain("(previous 200 lines truncated)"); }); }); + + describe("environment variable configuration", () => { + describe("getMaxCharacters", () => { + it("should return default when env var is not set", () => { + expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + }); + + it("should return env var value when set to valid number", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "100000"; + expect(getMaxCharacters()).toBe(100000); + }); + + it("should return default when env var is empty string", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = ""; + expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + }); + + it("should return default when env var is not a number", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "not-a-number"; + expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + }); + + it("should return default when env var is zero", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "0"; + expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + }); + + it("should return default when env var is negative", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "-100"; + expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + }); + + it("should parse integer from float string", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "12345.67"; + expect(getMaxCharacters()).toBe(12345); + }); + }); + + describe("getMaxLines", () => { + it("should return default when env var is not set", () => { + expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + }); + + it("should return env var value when set to valid number", () => { + process.env.BASH_MAX_OUTPUT_LINES = "5000"; + expect(getMaxLines()).toBe(5000); + }); + + it("should return default when env var is empty string", () => { + process.env.BASH_MAX_OUTPUT_LINES = ""; + expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + }); + + it("should return default when env var is not a number", () => { + process.env.BASH_MAX_OUTPUT_LINES = "invalid"; + expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + }); + + it("should return default when env var is zero", () => { + process.env.BASH_MAX_OUTPUT_LINES = "0"; + expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + }); + + it("should return default when env var is negative", () => { + process.env.BASH_MAX_OUTPUT_LINES = "-500"; + expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + }); + }); + + describe("truncateOutputFromStart with custom limits", () => { + it("should use custom character limit from env var", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "1000"; + const input = "a".repeat(1500); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("characters truncated"); + // Output should be around 1000 chars plus header + expect(result.output.length).toBeLessThanOrEqual(1100); + }); + + it("should use custom line limit from env var", () => { + process.env.BASH_MAX_OUTPUT_LINES = "50"; + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("(previous 50 lines truncated)"); + expect(result.output).toContain("line 51"); + expect(result.output).toContain("line 100"); + }); + + it("should use both custom limits together", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "500"; + process.env.BASH_MAX_OUTPUT_LINES = "100"; + + // Create 200 lines of 10 chars each = 2000+ chars, exceeding both limits + const lines = Array.from({ length: 200 }, () => "x".repeat(10)); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(true); + // Should be truncated by lines first (to 100), then by characters (to ~500) + expect(result.output.length).toBeLessThanOrEqual(600); + }); + + it("should not truncate when output is under custom limits", () => { + process.env.BASH_MAX_OUTPUT_LENGTH = "100000"; + process.env.BASH_MAX_OUTPUT_LINES = "10000"; + + // Create output that would exceed default limits but not custom ones + const lines = Array.from( + { length: DEFAULT_MAX_LINES + 500 }, + (_, i) => `line ${i}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input); + + expect(result.wasTruncated).toBe(false); + expect(result.output).toBe(input); + }); + }); + }); }); diff --git a/extensions/cli/src/util/truncateOutput.ts b/extensions/cli/src/util/truncateOutput.ts index f3f04b3af..65dfe09e6 100644 --- a/extensions/cli/src/util/truncateOutput.ts +++ b/extensions/cli/src/util/truncateOutput.ts @@ -1,7 +1,32 @@ -export const TRUNCATION_MAX_CHARACTERS = 50000; -export const TRUNCATION_MAX_LINES = 1000; +export const DEFAULT_MAX_CHARACTERS = 50000; +export const DEFAULT_MAX_LINES = 1000; export const TRUNCATION_LINE_SNAP_THRESHOLD = 1000; +function parseEnvNumber( + envVar: string | undefined, + defaultValue: number, +): number { + if (!envVar) { + return defaultValue; + } + const parsed = parseInt(envVar, 10); + if (Number.isNaN(parsed) || parsed <= 0) { + return defaultValue; + } + return parsed; +} + +export function getMaxCharacters(): number { + return parseEnvNumber( + process.env.BASH_MAX_OUTPUT_LENGTH, + DEFAULT_MAX_CHARACTERS, + ); +} + +export function getMaxLines(): number { + return parseEnvNumber(process.env.BASH_MAX_OUTPUT_LINES, DEFAULT_MAX_LINES); +} + interface TruncationResult { output: string; wasTruncated: boolean; @@ -18,19 +43,22 @@ export function truncateOutputFromStart(output: string): TruncationResult { return { output, wasTruncated: false }; } + const maxLines = getMaxLines(); + const maxCharacters = getMaxCharacters(); const lines = output.split("\n"); // Check if we need to truncate by lines first - if (lines.length > TRUNCATION_MAX_LINES) { - const linesTruncated = lines.length - TRUNCATION_MAX_LINES; - const preservedLines = lines.slice(-TRUNCATION_MAX_LINES); + if (lines.length > maxLines) { + const linesTruncated = lines.length - maxLines; + const preservedLines = lines.slice(-maxLines); const contentAfterLineTruncation = preservedLines.join("\n"); // After line truncation, check character limit - if (contentAfterLineTruncation.length > TRUNCATION_MAX_CHARACTERS) { + if (contentAfterLineTruncation.length > maxCharacters) { return truncateCharactersFromStart( contentAfterLineTruncation, linesTruncated, + maxCharacters, ); } @@ -41,8 +69,8 @@ export function truncateOutputFromStart(output: string): TruncationResult { } // Check character limit - if (output.length > TRUNCATION_MAX_CHARACTERS) { - return truncateCharactersFromStart(output, 0); + if (output.length > maxCharacters) { + return truncateCharactersFromStart(output, 0, maxCharacters); } return { output, wasTruncated: false }; @@ -51,9 +79,10 @@ export function truncateOutputFromStart(output: string): TruncationResult { function truncateCharactersFromStart( text: string, linesTruncated: number, + maxCharacters: number, ): TruncationResult { // Remove characters from the beginning, keeping the end - const truncationPoint = text.length - TRUNCATION_MAX_CHARACTERS; + const truncationPoint = text.length - maxCharacters; const textToKeep = text.slice(truncationPoint); // Try to start at a clean line boundary, but only if there's a newline From 34537d926fca7017c748fe69c9bf888aee0d8b95 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 9 Jan 2026 15:57:28 -0800 Subject: [PATCH 71/97] feat: CLI tool truncation and docs --- docs/cli/configuration.mdx | 29 ++ docs/docs.json | 3 +- extensions/cli/src/tools/fetch.ts | 35 +- extensions/cli/src/tools/readFile.ts | 37 +- .../cli/src/tools/runTerminalCommand.ts | 37 +- extensions/cli/src/tools/searchCode.ts | 33 +- extensions/cli/src/tools/viewDiff.ts | 24 +- extensions/cli/src/util/tokenizer.test.ts | 298 ++++++++++++++ .../cli/src/util/truncateOutput.test.ts | 381 +++++++++++------- extensions/cli/src/util/truncateOutput.ts | 164 ++++++-- 10 files changed, 841 insertions(+), 200 deletions(-) create mode 100644 docs/cli/configuration.mdx diff --git a/docs/cli/configuration.mdx b/docs/cli/configuration.mdx new file mode 100644 index 000000000..6e20a9ec8 --- /dev/null +++ b/docs/cli/configuration.mdx @@ -0,0 +1,29 @@ +--- +title: "CLI Configuration" +description: "Configure Continue CLI behavior with environment variables" +sidebarTitle: "Configuration" +--- + +Continue CLI tools automatically truncate large outputs to prevent excessive token usage. You can customize these limits using environment variables. + +## Environment Variables + +| Environment Variable | Tool | Default | +|---------------------|------|--------:| +| `CONTINUE_CLI_BASH_MAX_OUTPUT_CHARS` | Bash | 50,000 | +| `CONTINUE_CLI_BASH_MAX_OUTPUT_LINES` | Bash | 1,000 | +| `CONTINUE_CLI_READ_FILE_MAX_OUTPUT_CHARS` | Read | 500,000 | +| `CONTINUE_CLI_READ_FILE_MAX_OUTPUT_LINES` | Read | 5,000 | +| `CONTINUE_CLI_FETCH_MAX_OUTPUT_LENGTH` | Fetch | 20,000 | +| `CONTINUE_CLI_DIFF_MAX_OUTPUT_LENGTH` | Diff | 50,000 | +| `CONTINUE_CLI_SEARCH_CODE_MAX_RESULTS` | Search | 100 | +| `CONTINUE_CLI_SEARCH_CODE_MAX_RESULT_CHARS` | Search | 1,000 | + +## Example + +```bash +# Increase limits for verbose build output +export CONTINUE_CLI_BASH_MAX_OUTPUT_CHARS=100000 +export CONTINUE_CLI_BASH_MAX_OUTPUT_LINES=2000 +cn +``` diff --git a/docs/docs.json b/docs/docs.json index 7a350f41d..7c05d90d5 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -91,7 +91,8 @@ "cli/overview", "cli/install", "cli/quick-start", - "cli/guides" + "cli/guides", + "cli/configuration" ] }, { diff --git a/extensions/cli/src/tools/fetch.ts b/extensions/cli/src/tools/fetch.ts index eaa7d1056..fba08948c 100644 --- a/extensions/cli/src/tools/fetch.ts +++ b/extensions/cli/src/tools/fetch.ts @@ -2,8 +2,23 @@ import type { ContextItem } from "core/index.js"; import { fetchUrlContentImpl } from "core/tools/implementations/fetchUrlContent.js"; import { ContinueError, ContinueErrorReason } from "core/util/errors.js"; +import { + parseEnvNumber, + truncateOutputFromEnd, +} from "../util/truncateOutput.js"; + import { Tool } from "./types.js"; +// Output truncation defaults +const DEFAULT_FETCH_MAX_CHARS = 20000; + +function getFetchMaxChars(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_FETCH_MAX_OUTPUT_LENGTH, + DEFAULT_FETCH_MAX_CHARS, + ); +} + export const fetchTool: Tool = { name: "Fetch", displayName: "Fetch", @@ -54,14 +69,20 @@ export const fetchTool: Tool = { } // Format the results for CLI display - return contextItems - .map((item: ContextItem) => { - if (item.name === "Truncation warning") { - return item.content; - } - return item.content; - }) + const combinedContent = contextItems + .filter((item: ContextItem) => item.name !== "Truncation warning") + .map((item: ContextItem) => item.content) .join("\n\n"); + + // Apply CLI-level truncation + const maxChars = getFetchMaxChars(); + const { output: truncatedOutput } = truncateOutputFromEnd( + combinedContent, + maxChars, + "fetched content", + ); + + return truncatedOutput; } catch (error) { if (error instanceof ContinueError) { throw error; diff --git a/extensions/cli/src/tools/readFile.ts b/extensions/cli/src/tools/readFile.ts index 9bcf18329..3907fd0c8 100644 --- a/extensions/cli/src/tools/readFile.ts +++ b/extensions/cli/src/tools/readFile.ts @@ -3,9 +3,32 @@ import * as fs from "fs"; import { throwIfFileIsSecurityConcern } from "core/indexing/ignore.js"; import { ContinueError, ContinueErrorReason } from "core/util/errors.js"; +import { + parseEnvNumber, + truncateByLinesAndChars, +} from "../util/truncateOutput.js"; + import { formatToolArgument } from "./formatters.js"; import { Tool } from "./types.js"; +// Output truncation defaults +const DEFAULT_READ_FILE_MAX_CHARS = 500000; // ~500KB +const DEFAULT_READ_FILE_MAX_LINES = 5000; + +function getReadFileMaxChars(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_READ_FILE_MAX_OUTPUT_CHARS, + DEFAULT_READ_FILE_MAX_CHARS, + ); +} + +function getReadFileMaxLines(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_READ_FILE_MAX_OUTPUT_LINES, + DEFAULT_READ_FILE_MAX_LINES, + ); +} + // Track files that have been read in the current session export const readFilesSet = new Set(); export function markFileAsRead(filePath: string) { @@ -62,13 +85,17 @@ export const readFileTool: Tool = { // Mark this file as read for the edit tool markFileAsRead(realPath); - const lines = content.split("\n"); - if (lines.length > 5000) { - const truncatedContent = lines.slice(0, 5000).join("\n"); - return `Content of ${filepath} (truncated to first 5000 lines of ${lines.length} total):\n${truncatedContent}`; + const maxLines = getReadFileMaxLines(); + const maxChars = getReadFileMaxChars(); + + const { output: truncatedContent, wasTruncated } = + truncateByLinesAndChars(content, maxLines, maxChars, "file content"); + + if (wasTruncated) { + return `Content of ${filepath} (truncated):\n${truncatedContent}`; } - return `Content of ${filepath}:\n${content}`; + return `Content of ${filepath}:\n${truncatedContent}`; } catch (error) { if (error instanceof ContinueError) { throw error; diff --git a/extensions/cli/src/tools/runTerminalCommand.ts b/extensions/cli/src/tools/runTerminalCommand.ts index c130a47a2..df8a8beea 100644 --- a/extensions/cli/src/tools/runTerminalCommand.ts +++ b/extensions/cli/src/tools/runTerminalCommand.ts @@ -10,10 +10,31 @@ import { isGitCommitCommand, isPullRequestCommand, } from "../telemetry/utils.js"; -import { truncateOutputFromStart } from "../util/truncateOutput.js"; +import { + parseEnvNumber, + truncateOutputFromStart, +} from "../util/truncateOutput.js"; import { Tool } from "./types.js"; +// Output truncation defaults +const DEFAULT_BASH_MAX_CHARS = 50000; +const DEFAULT_BASH_MAX_LINES = 1000; + +function getBashMaxChars(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_BASH_MAX_OUTPUT_CHARS, + DEFAULT_BASH_MAX_CHARS, + ); +} + +function getBashMaxLines(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_BASH_MAX_OUTPUT_LINES, + DEFAULT_BASH_MAX_LINES, + ); +} + // Helper function to use login shell on Unix/macOS and PowerShell on Windows function getShellCommand(command: string): { shell: string; args: string[] } { if (process.platform === "win32") { @@ -121,7 +142,12 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed let output = stdout + (stderr ? `\nStderr: ${stderr}` : ""); output += `\n\n[Command timed out after ${TIMEOUT_MS / 1000} seconds of no output]`; - resolve(truncateOutputFromStart(output).output); + resolve( + truncateOutputFromStart(output, { + maxChars: getBashMaxChars(), + maxLines: getBashMaxLines(), + }).output, + ); }, TIMEOUT_MS); }; @@ -166,7 +192,12 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed output = stdout + `\nStderr: ${stderr}`; } - resolve(truncateOutputFromStart(output).output); + resolve( + truncateOutputFromStart(output, { + maxChars: getBashMaxChars(), + maxLines: getBashMaxLines(), + }).output, + ); }); child.on("error", (error) => { diff --git a/extensions/cli/src/tools/searchCode.ts b/extensions/cli/src/tools/searchCode.ts index e7fa4e502..ab60b1a93 100644 --- a/extensions/cli/src/tools/searchCode.ts +++ b/extensions/cli/src/tools/searchCode.ts @@ -5,6 +5,8 @@ import * as util from "util"; import { ContinueError, ContinueErrorReason } from "core/util/errors.js"; import { findUp } from "find-up"; +import { parseEnvNumber } from "../util/truncateOutput.js"; + import { Tool } from "./types.js"; const execPromise = util.promisify(child_process.exec); @@ -80,9 +82,23 @@ async function searchWithGrepOrFindstr( return await execPromise(command, { cwd: searchPath }); } -// Default maximum number of results to display -const DEFAULT_MAX_RESULTS = 100; -const MAX_LINE_LENGTH = 1000; +// Output truncation defaults +const DEFAULT_SEARCH_MAX_RESULTS = 100; +const DEFAULT_SEARCH_MAX_RESULT_CHARS = 1000; // Max chars per result line + +function getSearchMaxResults(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_SEARCH_CODE_MAX_RESULTS, + DEFAULT_SEARCH_MAX_RESULTS, + ); +} + +function getSearchMaxResultChars(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_SEARCH_CODE_MAX_RESULT_CHARS, + DEFAULT_SEARCH_MAX_RESULT_CHARS, + ); +} export const searchCodeTool: Tool = { name: "Search", @@ -168,19 +184,22 @@ export const searchCodeTool: Tool = { } // Split the results into lines and limit the number of results + const maxResults = getSearchMaxResults(); + const maxResultChars = getSearchMaxResultChars(); + const splitLines = stdout.split("\n"); - const lines = splitLines.filter((line) => line.length <= MAX_LINE_LENGTH); + const lines = splitLines.filter((line) => line.length <= maxResultChars); if (lines.length === 0) { return `No matches found for pattern "${args.pattern}"${ args.file_pattern ? ` in files matching "${args.file_pattern}"` : "" }.`; } - const truncated = lines.length > DEFAULT_MAX_RESULTS; - const limitedLines = lines.slice(0, DEFAULT_MAX_RESULTS); + const truncated = lines.length > maxResults; + const limitedLines = lines.slice(0, maxResults); const resultText = limitedLines.join("\n"); const truncationMessage = truncated - ? `\n\n[Results truncated: showing ${DEFAULT_MAX_RESULTS} of ${lines.length} matches]` + ? `\n\n[Results truncated: showing ${maxResults} of ${lines.length} matches]` : ""; return `Search results for pattern "${args.pattern}"${ diff --git a/extensions/cli/src/tools/viewDiff.ts b/extensions/cli/src/tools/viewDiff.ts index 8b9f12d1d..e9461d66c 100644 --- a/extensions/cli/src/tools/viewDiff.ts +++ b/extensions/cli/src/tools/viewDiff.ts @@ -2,8 +2,23 @@ import * as child_process from "child_process"; import * as fs from "fs"; import * as util from "util"; +import { + parseEnvNumber, + truncateOutputFromEnd, +} from "../util/truncateOutput.js"; + import { Tool } from "./types.js"; +// Output truncation defaults +const DEFAULT_DIFF_MAX_CHARS = 50000; + +function getDiffMaxChars(): number { + return parseEnvNumber( + process.env.CONTINUE_CLI_DIFF_MAX_OUTPUT_LENGTH, + DEFAULT_DIFF_MAX_CHARS, + ); +} + const execPromise = util.promisify(child_process.exec); export const viewDiffTool: Tool = { @@ -60,7 +75,14 @@ export const viewDiffTool: Tool = { return "No changes detected in the git repository."; } - return `Git diff for repository at ${repoPath}:\n\n${stdout}`; + const maxChars = getDiffMaxChars(); + const { output: truncatedOutput } = truncateOutputFromEnd( + stdout, + maxChars, + "diff output", + ); + + return `Git diff for repository at ${repoPath}:\n\n${truncatedOutput}`; } catch (error) { return `Error running git diff: ${ error instanceof Error ? error.message : String(error) diff --git a/extensions/cli/src/util/tokenizer.test.ts b/extensions/cli/src/util/tokenizer.test.ts index d982a89fc..2ac81bdc9 100644 --- a/extensions/cli/src/util/tokenizer.test.ts +++ b/extensions/cli/src/util/tokenizer.test.ts @@ -9,6 +9,7 @@ import { countChatHistoryItemTokens, countChatHistoryTokens, countMessageTokens, + countToolDefinitionTokens, getModelContextLimit, shouldAutoCompact, } from "./tokenizer.js"; @@ -351,4 +352,301 @@ describe("tokenizer", () => { }); }); }); + + describe("countToolDefinitionTokens", () => { + it("should return 0 for empty tools array", () => { + expect(countToolDefinitionTokens([])).toBe(0); + }); + + it("should return 0 for undefined-like input", () => { + // TypeScript types prevent undefined, but test defensive behavior + expect(countToolDefinitionTokens([] as never)).toBe(0); + }); + + it("should count tokens for a simple tool with name only", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "get_weather", + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + // Base overhead (12) + tool tokens + wrapper overhead (12) + expect(tokenCount).toBeGreaterThan(24); // At least base overheads + expect(tokenCount).toBe(27); // 12 + 3 (name) + 12 = 27 + }); + + it("should count tokens for a tool with name and description", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "get_weather", + description: "Get the current weather for a location", + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + // 12 (base) + 3 (name) + 10 (description ~40 chars / 4) + 12 (wrapper) = 37 + expect(tokenCount).toBeGreaterThan(27); + }); + + it("should count tokens for a tool with parameters", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "get_weather", + description: "Get weather", + parameters: { + type: "object", + properties: { + location: { + type: "string", + description: "The city name", + }, + }, + required: ["location"], + }, + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + expect(tokenCount).toBeGreaterThan(30); // Should include parameter tokens + }); + + it("should count tokens for multiple tools", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "tool_one", + }, + }, + { + type: "function" as const, + function: { + name: "tool_two", + }, + }, + ]; + + const singleToolTokens = countToolDefinitionTokens([tools[0]]); + const doubleToolTokens = countToolDefinitionTokens(tools); + + // Two tools should have more tokens than one + expect(doubleToolTokens).toBeGreaterThan(singleToolTokens); + }); + + it("should count tokens for parameters with enum values", () => { + const toolsWithoutEnum = [ + { + type: "function" as const, + function: { + name: "set_mode", + parameters: { + type: "object", + properties: { + mode: { + type: "string", + description: "The mode to set", + }, + }, + }, + }, + }, + ]; + + const toolsWithEnum = [ + { + type: "function" as const, + function: { + name: "set_mode", + parameters: { + type: "object", + properties: { + mode: { + type: "string", + description: "The mode to set", + enum: ["fast", "slow", "medium"], + }, + }, + }, + }, + }, + ]; + + const tokensWithoutEnum = countToolDefinitionTokens(toolsWithoutEnum); + const tokensWithEnum = countToolDefinitionTokens(toolsWithEnum); + + // Enum values should add tokens + expect(tokensWithEnum).toBeGreaterThan(tokensWithoutEnum); + }); + + it("should count tokens for multiple parameters", () => { + const toolWithOneParam = [ + { + type: "function" as const, + function: { + name: "search", + parameters: { + type: "object", + properties: { + query: { + type: "string", + }, + }, + }, + }, + }, + ]; + + const toolWithMultipleParams = [ + { + type: "function" as const, + function: { + name: "search", + parameters: { + type: "object", + properties: { + query: { + type: "string", + }, + limit: { + type: "number", + }, + offset: { + type: "number", + }, + }, + }, + }, + }, + ]; + + const oneParamTokens = countToolDefinitionTokens(toolWithOneParam); + const multiParamTokens = countToolDefinitionTokens( + toolWithMultipleParams, + ); + + expect(multiParamTokens).toBeGreaterThan(oneParamTokens); + }); + + it("should handle tool with empty parameters object", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "no_params", + parameters: { + type: "object", + properties: {}, + }, + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + // Should still return a valid count (base overhead + name) + expect(tokenCount).toBeGreaterThan(0); + }); + + it("should handle tool without parameters field", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "simple_tool", + description: "A simple tool without parameters", + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + expect(tokenCount).toBeGreaterThan(0); + }); + + describe("real-world tool definitions", () => { + it("should count tokens for a complex tool like read_file", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "read_file", + description: + "Use this tool if you need to view the contents of an existing file.", + parameters: { + type: "object", + properties: { + filepath: { + type: "string", + description: + "The path of the file to read. Can be a relative path, absolute path, tilde path, or file:// URI", + }, + }, + required: ["filepath"], + }, + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + expect(tokenCount).toBeGreaterThan(40); // Complex tool should have many tokens + }); + + it("should count tokens for a multi-tool set", () => { + const tools = [ + { + type: "function" as const, + function: { + name: "read_file", + description: "Read a file", + parameters: { + type: "object", + properties: { + filepath: { type: "string", description: "File path" }, + }, + }, + }, + }, + { + type: "function" as const, + function: { + name: "write_file", + description: "Write to a file", + parameters: { + type: "object", + properties: { + filepath: { type: "string", description: "File path" }, + content: { type: "string", description: "Content to write" }, + }, + }, + }, + }, + { + type: "function" as const, + function: { + name: "search", + description: "Search for files", + parameters: { + type: "object", + properties: { + query: { type: "string", description: "Search query" }, + }, + }, + }, + }, + ]; + + const tokenCount = countToolDefinitionTokens(tools); + // Multiple tools should have significant token count + expect(tokenCount).toBeGreaterThan(80); + }); + }); + }); }); diff --git a/extensions/cli/src/util/truncateOutput.test.ts b/extensions/cli/src/util/truncateOutput.test.ts index 37d990dff..02ebf8b18 100644 --- a/extensions/cli/src/util/truncateOutput.test.ts +++ b/extensions/cli/src/util/truncateOutput.test.ts @@ -1,34 +1,31 @@ import { - DEFAULT_MAX_CHARACTERS, - DEFAULT_MAX_LINES, - getMaxCharacters, - getMaxLines, + parseEnvNumber, + truncateByLinesAndChars, + truncateLinesByCount, + truncateOutputFromEnd, truncateOutputFromStart, } from "./truncateOutput.js"; +// Test constants matching the bash tool defaults +const DEFAULT_MAX_CHARS = 50000; +const DEFAULT_MAX_LINES = 1000; + +const defaultLimits = { + maxChars: DEFAULT_MAX_CHARS, + maxLines: DEFAULT_MAX_LINES, +}; + describe("truncateOutputFromStart", () => { - const originalEnv = process.env; - - beforeEach(() => { - process.env = { ...originalEnv }; - delete process.env.BASH_MAX_OUTPUT_LENGTH; - delete process.env.BASH_MAX_OUTPUT_LINES; - }); - - afterAll(() => { - process.env = originalEnv; - }); - describe("no truncation needed", () => { it("should return empty string unchanged", () => { - const result = truncateOutputFromStart(""); + const result = truncateOutputFromStart("", defaultLimits); expect(result.output).toBe(""); expect(result.wasTruncated).toBe(false); }); it("should return short output unchanged", () => { const input = "hello world\nline 2\nline 3"; - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.output).toBe(input); expect(result.wasTruncated).toBe(false); }); @@ -39,14 +36,14 @@ describe("truncateOutputFromStart", () => { (_, i) => `line ${i + 1}`, ); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.output).toBe(input); expect(result.wasTruncated).toBe(false); }); it("should return output at exactly max characters unchanged", () => { - const input = "a".repeat(DEFAULT_MAX_CHARACTERS); - const result = truncateOutputFromStart(input); + const input = "a".repeat(DEFAULT_MAX_CHARS); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.output).toBe(input); expect(result.wasTruncated).toBe(false); }); @@ -60,7 +57,7 @@ describe("truncateOutputFromStart", () => { (_, i) => `line ${i + 1}`, ); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("(previous 500 lines truncated)"); @@ -76,7 +73,7 @@ describe("truncateOutputFromStart", () => { (_, i) => `line ${i + 1}`, ); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain( @@ -97,7 +94,7 @@ describe("truncateOutputFromStart", () => { (_, i) => `line ${i + 1}`, ); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("(previous 1 lines truncated)"); @@ -110,12 +107,12 @@ describe("truncateOutputFromStart", () => { describe("truncation by character count", () => { it("should truncate when exceeding max characters", () => { // Create output that exceeds character limit but not line limit - const input = "a".repeat(DEFAULT_MAX_CHARACTERS + 10000); - const result = truncateOutputFromStart(input); + const input = "a".repeat(DEFAULT_MAX_CHARS + 10000); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output.length).toBeLessThanOrEqual( - DEFAULT_MAX_CHARACTERS + 100 /* header allowance */, + DEFAULT_MAX_CHARS + 100 /* header allowance */, ); expect(result.output).toContain("characters truncated"); }); @@ -124,7 +121,7 @@ describe("truncateOutputFromStart", () => { // Create lines that exceed character limit const line = "x".repeat(100) + "\n"; const input = line.repeat(600); // 60600 characters, 600 lines - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); // Should start at a line boundary (after truncation header) @@ -143,12 +140,12 @@ describe("truncateOutputFromStart", () => { const lines = Array.from({ length: DEFAULT_MAX_LINES * 2 }, () => line); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); // Should be truncated by lines first, then by characters expect(result.output.length).toBeLessThanOrEqual( - DEFAULT_MAX_CHARACTERS + 100 /* header allowance */, + DEFAULT_MAX_CHARS + 100 /* header allowance */, ); // Should have a single combined message, not duplicate notes @@ -165,23 +162,21 @@ describe("truncateOutputFromStart", () => { describe("edge cases", () => { it("should handle single very long line without newlines", () => { - const input = "z".repeat(DEFAULT_MAX_CHARACTERS + 10000); - const result = truncateOutputFromStart(input); + const input = "z".repeat(DEFAULT_MAX_CHARS + 10000); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("characters truncated"); // Should keep approximately max chars (plus header) - expect(result.output.length).toBeLessThanOrEqual( - DEFAULT_MAX_CHARACTERS + 100, - ); - expect(result.output.length).toBeGreaterThan(DEFAULT_MAX_CHARACTERS); + expect(result.output.length).toBeLessThanOrEqual(DEFAULT_MAX_CHARS + 100); + expect(result.output.length).toBeGreaterThan(DEFAULT_MAX_CHARS); }); it("should not snap to line boundary if newline is too far into the text", () => { // Create a massive line followed by a newline far from the truncation point - const leadingChars = DEFAULT_MAX_CHARACTERS + 5000; + const leadingChars = DEFAULT_MAX_CHARS + 5000; const input = "a".repeat(leadingChars) + "\n" + "b".repeat(10); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); // Should cut mid-line since newline is beyond snap threshold into kept text @@ -193,12 +188,10 @@ describe("truncateOutputFromStart", () => { it("should snap to line boundary if newline is within snap threshold", () => { // Create text where truncation point lands within snap threshold of a newline - const charsBeforeNewline = DEFAULT_MAX_CHARACTERS / 5; // Well under max + const charsBeforeNewline = DEFAULT_MAX_CHARS / 5; // Well under max const input = - "a".repeat(charsBeforeNewline) + - "\n" + - "b".repeat(DEFAULT_MAX_CHARACTERS); - const result = truncateOutputFromStart(input); + "a".repeat(charsBeforeNewline) + "\n" + "b".repeat(DEFAULT_MAX_CHARS); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); // Newline should be within snap threshold, so should start with 'b' @@ -209,7 +202,7 @@ describe("truncateOutputFromStart", () => { it("should handle output with only newlines", () => { const input = "\n".repeat(DEFAULT_MAX_LINES + 500); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("lines truncated)"); @@ -221,134 +214,216 @@ describe("truncateOutputFromStart", () => { i % 2 === 0 ? `content line ${i}` : "", ); const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + const result = truncateOutputFromStart(input, defaultLimits); expect(result.wasTruncated).toBe(true); expect(result.output).toContain("(previous 200 lines truncated)"); }); }); - describe("environment variable configuration", () => { - describe("getMaxCharacters", () => { - it("should return default when env var is not set", () => { - expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); + describe("with custom limits", () => { + it("should use custom character limit", () => { + const input = "a".repeat(1500); + const result = truncateOutputFromStart(input, { + maxChars: 1000, + maxLines: 10000, }); - it("should return env var value when set to valid number", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "100000"; - expect(getMaxCharacters()).toBe(100000); - }); - - it("should return default when env var is empty string", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = ""; - expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); - }); - - it("should return default when env var is not a number", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "not-a-number"; - expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); - }); - - it("should return default when env var is zero", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "0"; - expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); - }); - - it("should return default when env var is negative", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "-100"; - expect(getMaxCharacters()).toBe(DEFAULT_MAX_CHARACTERS); - }); - - it("should parse integer from float string", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "12345.67"; - expect(getMaxCharacters()).toBe(12345); - }); + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("characters truncated"); + // Output should be around 1000 chars plus header + expect(result.output.length).toBeLessThanOrEqual(1100); }); - describe("getMaxLines", () => { - it("should return default when env var is not set", () => { - expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); + it("should use custom line limit", () => { + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input, { + maxChars: 100000, + maxLines: 50, }); - it("should return env var value when set to valid number", () => { - process.env.BASH_MAX_OUTPUT_LINES = "5000"; - expect(getMaxLines()).toBe(5000); - }); - - it("should return default when env var is empty string", () => { - process.env.BASH_MAX_OUTPUT_LINES = ""; - expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); - }); - - it("should return default when env var is not a number", () => { - process.env.BASH_MAX_OUTPUT_LINES = "invalid"; - expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); - }); - - it("should return default when env var is zero", () => { - process.env.BASH_MAX_OUTPUT_LINES = "0"; - expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); - }); - - it("should return default when env var is negative", () => { - process.env.BASH_MAX_OUTPUT_LINES = "-500"; - expect(getMaxLines()).toBe(DEFAULT_MAX_LINES); - }); + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("(previous 50 lines truncated)"); + expect(result.output).toContain("line 51"); + expect(result.output).toContain("line 100"); }); - describe("truncateOutputFromStart with custom limits", () => { - it("should use custom character limit from env var", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "1000"; - const input = "a".repeat(1500); - const result = truncateOutputFromStart(input); - - expect(result.wasTruncated).toBe(true); - expect(result.output).toContain("characters truncated"); - // Output should be around 1000 chars plus header - expect(result.output.length).toBeLessThanOrEqual(1100); + it("should use both custom limits together", () => { + // Create 200 lines of 10 chars each = 2000+ chars, exceeding both limits + const lines = Array.from({ length: 200 }, () => "x".repeat(10)); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input, { + maxChars: 500, + maxLines: 100, }); - it("should use custom line limit from env var", () => { - process.env.BASH_MAX_OUTPUT_LINES = "50"; - const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); - const input = lines.join("\n"); - const result = truncateOutputFromStart(input); + expect(result.wasTruncated).toBe(true); + // Should be truncated by lines first (to 100), then by characters (to ~500) + expect(result.output.length).toBeLessThanOrEqual(600); + }); - expect(result.wasTruncated).toBe(true); - expect(result.output).toContain("(previous 50 lines truncated)"); - expect(result.output).toContain("line 51"); - expect(result.output).toContain("line 100"); + it("should not truncate when output is under custom limits", () => { + // Create output that would exceed default limits but not custom ones + const lines = Array.from( + { length: DEFAULT_MAX_LINES + 500 }, + (_, i) => `line ${i}`, + ); + const input = lines.join("\n"); + const result = truncateOutputFromStart(input, { + maxChars: 100000, + maxLines: 10000, }); - it("should use both custom limits together", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "500"; - process.env.BASH_MAX_OUTPUT_LINES = "100"; - - // Create 200 lines of 10 chars each = 2000+ chars, exceeding both limits - const lines = Array.from({ length: 200 }, () => "x".repeat(10)); - const input = lines.join("\n"); - const result = truncateOutputFromStart(input); - - expect(result.wasTruncated).toBe(true); - // Should be truncated by lines first (to 100), then by characters (to ~500) - expect(result.output.length).toBeLessThanOrEqual(600); - }); - - it("should not truncate when output is under custom limits", () => { - process.env.BASH_MAX_OUTPUT_LENGTH = "100000"; - process.env.BASH_MAX_OUTPUT_LINES = "10000"; - - // Create output that would exceed default limits but not custom ones - const lines = Array.from( - { length: DEFAULT_MAX_LINES + 500 }, - (_, i) => `line ${i}`, - ); - const input = lines.join("\n"); - const result = truncateOutputFromStart(input); - - expect(result.wasTruncated).toBe(false); - expect(result.output).toBe(input); - }); + expect(result.wasTruncated).toBe(false); + expect(result.output).toBe(input); }); }); }); + +describe("parseEnvNumber", () => { + it("should return default when env var is undefined", () => { + expect(parseEnvNumber(undefined, 1000)).toBe(1000); + }); + + it("should return env var value when set to valid number", () => { + expect(parseEnvNumber("5000", 1000)).toBe(5000); + }); + + it("should return default when env var is empty string", () => { + expect(parseEnvNumber("", 1000)).toBe(1000); + }); + + it("should return default when env var is not a number", () => { + expect(parseEnvNumber("not-a-number", 1000)).toBe(1000); + }); + + it("should return default when env var is zero", () => { + expect(parseEnvNumber("0", 1000)).toBe(1000); + }); + + it("should return default when env var is negative", () => { + expect(parseEnvNumber("-100", 1000)).toBe(1000); + }); + + it("should parse integer from float string", () => { + expect(parseEnvNumber("12345.67", 1000)).toBe(12345); + }); +}); + +describe("truncateOutputFromEnd", () => { + it("should return empty string unchanged", () => { + const result = truncateOutputFromEnd("", 1000); + expect(result.output).toBe(""); + expect(result.wasTruncated).toBe(false); + }); + + it("should return short output unchanged", () => { + const input = "hello world"; + const result = truncateOutputFromEnd(input, 1000); + expect(result.output).toBe(input); + expect(result.wasTruncated).toBe(false); + }); + + it("should truncate from end when exceeding max chars", () => { + const input = "a".repeat(100) + "b".repeat(100); + const result = truncateOutputFromEnd(input, 100); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("a".repeat(100)); + expect(result.output).not.toContain("b"); + expect(result.output).toContain("characters"); + expect(result.output).toContain("truncated"); + }); + + it("should include context in truncation message", () => { + const input = "x".repeat(200); + const result = truncateOutputFromEnd(input, 100, "file content"); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("of file content"); + }); + + it("should snap to line boundary when possible", () => { + const input = "line1\nline2\nline3\nline4\nline5"; + const result = truncateOutputFromEnd(input, 15); + + expect(result.wasTruncated).toBe(true); + // Should end at a line boundary + expect(result.output).toContain("line1\nline2"); + }); +}); + +describe("truncateLinesByCount", () => { + it("should return empty string unchanged", () => { + const result = truncateLinesByCount("", 100); + expect(result.output).toBe(""); + expect(result.wasTruncated).toBe(false); + }); + + it("should return output unchanged when under limit", () => { + const input = "line1\nline2\nline3"; + const result = truncateLinesByCount(input, 10); + expect(result.output).toBe(input); + expect(result.wasTruncated).toBe(false); + }); + + it("should truncate lines from end", () => { + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateLinesByCount(input, 50); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("line 1"); + expect(result.output).toContain("line 50"); + expect(result.output).not.toContain("line 51"); + expect(result.output).toContain("50 lines"); + expect(result.output).toContain("truncated"); + }); + + it("should include context in truncation message", () => { + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateLinesByCount(input, 50, "test output"); + + expect(result.output).toContain("of test output"); + }); +}); + +describe("truncateByLinesAndChars", () => { + it("should return empty string unchanged", () => { + const result = truncateByLinesAndChars("", 100, 1000); + expect(result.output).toBe(""); + expect(result.wasTruncated).toBe(false); + }); + + it("should truncate by lines first", () => { + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateByLinesAndChars(input, 50, 100000); + + expect(result.wasTruncated).toBe(true); + expect(result.output).toContain("line 1"); + expect(result.output).toContain("line 50"); + expect(result.output).not.toContain("line 51"); + }); + + it("should truncate by chars after lines if still too long", () => { + // Create 50 lines of 100 chars each = 5000+ chars + const lines = Array.from({ length: 50 }, () => "x".repeat(100)); + const input = lines.join("\n"); + const result = truncateByLinesAndChars(input, 100, 500); + + expect(result.wasTruncated).toBe(true); + // Output should be around 500 chars plus truncation message + expect(result.output.length).toBeLessThan(700); + }); + + it("should include context in truncation message", () => { + const lines = Array.from({ length: 100 }, (_, i) => `line ${i + 1}`); + const input = lines.join("\n"); + const result = truncateByLinesAndChars(input, 50, 100000, "file content"); + + expect(result.output).toContain("of file content"); + }); +}); diff --git a/extensions/cli/src/util/truncateOutput.ts b/extensions/cli/src/util/truncateOutput.ts index 65dfe09e6..2c392425e 100644 --- a/extensions/cli/src/util/truncateOutput.ts +++ b/extensions/cli/src/util/truncateOutput.ts @@ -1,8 +1,12 @@ -export const DEFAULT_MAX_CHARACTERS = 50000; -export const DEFAULT_MAX_LINES = 1000; +// Threshold for snapping to line boundaries during character truncation export const TRUNCATION_LINE_SNAP_THRESHOLD = 1000; -function parseEnvNumber( +/** + * Parses an environment variable as a positive integer. + * Returns the default value if the env var is not set, empty, not a number, + * zero, or negative. + */ +export function parseEnvNumber( envVar: string | undefined, defaultValue: number, ): number { @@ -16,35 +20,35 @@ function parseEnvNumber( return parsed; } -export function getMaxCharacters(): number { - return parseEnvNumber( - process.env.BASH_MAX_OUTPUT_LENGTH, - DEFAULT_MAX_CHARACTERS, - ); -} - -export function getMaxLines(): number { - return parseEnvNumber(process.env.BASH_MAX_OUTPUT_LINES, DEFAULT_MAX_LINES); -} - -interface TruncationResult { +export interface TruncationResult { output: string; wasTruncated: boolean; } +export interface TruncationLimits { + maxChars: number; + maxLines: number; +} + /** * Truncates output from the beginning to fit within limits, preserving the end. + * This is the preferred truncation strategy for command output where the most + * recent output is typically most relevant. * - * Limits: max 50000 characters OR 1000 lines, whichever is smaller. * When truncated, removes content from the beginning and adds a "(previous output truncated)" note. + * + * @param output - The string to truncate + * @param limits - The character and line limits to apply */ -export function truncateOutputFromStart(output: string): TruncationResult { +export function truncateOutputFromStart( + output: string, + limits: TruncationLimits, +): TruncationResult { if (!output) { return { output, wasTruncated: false }; } - const maxLines = getMaxLines(); - const maxCharacters = getMaxCharacters(); + const { maxChars, maxLines } = limits; const lines = output.split("\n"); // Check if we need to truncate by lines first @@ -54,11 +58,11 @@ export function truncateOutputFromStart(output: string): TruncationResult { const contentAfterLineTruncation = preservedLines.join("\n"); // After line truncation, check character limit - if (contentAfterLineTruncation.length > maxCharacters) { + if (contentAfterLineTruncation.length > maxChars) { return truncateCharactersFromStart( contentAfterLineTruncation, linesTruncated, - maxCharacters, + maxChars, ); } @@ -69,13 +73,127 @@ export function truncateOutputFromStart(output: string): TruncationResult { } // Check character limit - if (output.length > maxCharacters) { - return truncateCharactersFromStart(output, 0, maxCharacters); + if (output.length > maxChars) { + return truncateCharactersFromStart(output, 0, maxChars); } return { output, wasTruncated: false }; } +/** + * Truncates output from the end to fit within a character limit, preserving the beginning. + * Useful for content where the beginning is most important (e.g., file content, diffs). + * + * @param output - The string to truncate + * @param maxChars - Maximum characters to keep + * @param context - Optional context for the truncation message (e.g., "file content", "diff") + */ +export function truncateOutputFromEnd( + output: string, + maxChars: number, + context?: string, +): TruncationResult { + if (!output || output.length <= maxChars) { + return { output, wasTruncated: false }; + } + + const truncatedContent = output.slice(0, maxChars); + + // Try to end at a clean line boundary + const lastNewline = truncatedContent.lastIndexOf("\n"); + const shouldSnapToLine = + lastNewline !== -1 && + truncatedContent.length - lastNewline < TRUNCATION_LINE_SNAP_THRESHOLD; + const cleanContent = shouldSnapToLine + ? truncatedContent.slice(0, lastNewline) + : truncatedContent; + + const actualCharsRemoved = output.length - cleanContent.length; + const contextStr = context ? ` of ${context}` : ""; + const suffix = `\n\n(${actualCharsRemoved} characters${contextStr} truncated)`; + + return { + output: cleanContent + suffix, + wasTruncated: true, + }; +} + +/** + * Truncates output by line count from the end, preserving the beginning. + * Useful for file content where the start of the file is most relevant. + * + * @param output - The string to truncate + * @param maxLines - Maximum lines to keep + * @param context - Optional context for the truncation message + */ +export function truncateLinesByCount( + output: string, + maxLines: number, + context?: string, +): TruncationResult { + if (!output) { + return { output, wasTruncated: false }; + } + + const lines = output.split("\n"); + if (lines.length <= maxLines) { + return { output, wasTruncated: false }; + } + + const preservedLines = lines.slice(0, maxLines); + const linesTruncated = lines.length - maxLines; + const contextStr = context ? ` of ${context}` : ""; + + return { + output: + preservedLines.join("\n") + + `\n\n(${linesTruncated} lines${contextStr} truncated)`, + wasTruncated: true, + }; +} + +/** + * Combined truncation: first by lines, then by characters, preserving the beginning. + * Used by readFile tool where both limits apply. + * + * @param output - The string to truncate + * @param maxLines - Maximum lines to keep + * @param maxChars - Maximum characters to keep + * @param context - Optional context for the truncation message + */ +export function truncateByLinesAndChars( + output: string, + maxLines: number, + maxChars: number, + context?: string, +): TruncationResult { + if (!output) { + return { output, wasTruncated: false }; + } + + // First truncate by lines + const lineResult = truncateLinesByCount(output, maxLines, context); + + // Then truncate by characters if needed + if (lineResult.output.length > maxChars) { + const charResult = truncateOutputFromEnd( + lineResult.output, + maxChars, + context, + ); + return { + output: charResult.output, + wasTruncated: true, + }; + } + + return lineResult; +} + +// ============================================================================= +// Internal helper functions +// ============================================================================= + function truncateCharactersFromStart( text: string, linesTruncated: number, From 5d7327f8e0f48d2c2f62ee82cb7ea7be3394f78f Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 9 Jan 2026 16:01:07 -0800 Subject: [PATCH 72/97] chore: update read file truncation limit to 25k tokens ish --- docs/cli/configuration.mdx | 2 +- extensions/cli/src/tools/readFile.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli/configuration.mdx b/docs/cli/configuration.mdx index 6e20a9ec8..faaebc6bb 100644 --- a/docs/cli/configuration.mdx +++ b/docs/cli/configuration.mdx @@ -12,7 +12,7 @@ Continue CLI tools automatically truncate large outputs to prevent excessive tok |---------------------|------|--------:| | `CONTINUE_CLI_BASH_MAX_OUTPUT_CHARS` | Bash | 50,000 | | `CONTINUE_CLI_BASH_MAX_OUTPUT_LINES` | Bash | 1,000 | -| `CONTINUE_CLI_READ_FILE_MAX_OUTPUT_CHARS` | Read | 500,000 | +| `CONTINUE_CLI_READ_FILE_MAX_OUTPUT_CHARS` | Read | 100,000 | | `CONTINUE_CLI_READ_FILE_MAX_OUTPUT_LINES` | Read | 5,000 | | `CONTINUE_CLI_FETCH_MAX_OUTPUT_LENGTH` | Fetch | 20,000 | | `CONTINUE_CLI_DIFF_MAX_OUTPUT_LENGTH` | Diff | 50,000 | diff --git a/extensions/cli/src/tools/readFile.ts b/extensions/cli/src/tools/readFile.ts index 3907fd0c8..bde647a07 100644 --- a/extensions/cli/src/tools/readFile.ts +++ b/extensions/cli/src/tools/readFile.ts @@ -12,7 +12,7 @@ import { formatToolArgument } from "./formatters.js"; import { Tool } from "./types.js"; // Output truncation defaults -const DEFAULT_READ_FILE_MAX_CHARS = 500000; // ~500KB +const DEFAULT_READ_FILE_MAX_CHARS = 100000; // ~25k tokens const DEFAULT_READ_FILE_MAX_LINES = 5000; function getReadFileMaxChars(): number { From d7b91f884c2be22fb6805dbcc5a9ad738bb443ee Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 9 Jan 2026 16:07:33 -0800 Subject: [PATCH 73/97] fix: tests and cubic feedback --- extensions/cli/src/tools/fetch.test.ts | 7 ++-- extensions/cli/src/util/tokenizer.test.ts | 47 +++++++++++++++++++++++ extensions/cli/src/util/tokenizer.ts | 2 +- 3 files changed, 51 insertions(+), 5 deletions(-) diff --git a/extensions/cli/src/tools/fetch.test.ts b/extensions/cli/src/tools/fetch.test.ts index 9a1aec105..cbb19e38b 100644 --- a/extensions/cli/src/tools/fetch.test.ts +++ b/extensions/cli/src/tools/fetch.test.ts @@ -48,7 +48,7 @@ describe("fetchTool", () => { ); }); - it("should handle truncation warnings from core implementation", async () => { + it("should filter out truncation warnings from core implementation", async () => { const mockContextItems: ContextItem[] = [ { name: "Long Page", @@ -68,9 +68,8 @@ describe("fetchTool", () => { const result = await fetchTool.run({ url: "https://example.com" }); - expect(result).toBe( - "This is the main content that was truncated.\n\nThe content from https://example.com was truncated because it exceeded the 20000 character limit.", - ); + // Truncation warnings are filtered out - only the main content is returned + expect(result).toBe("This is the main content that was truncated."); }); it("should handle multiple content items", async () => { diff --git a/extensions/cli/src/util/tokenizer.test.ts b/extensions/cli/src/util/tokenizer.test.ts index 2ac81bdc9..f1361732e 100644 --- a/extensions/cli/src/util/tokenizer.test.ts +++ b/extensions/cli/src/util/tokenizer.test.ts @@ -488,6 +488,53 @@ describe("tokenizer", () => { expect(tokensWithEnum).toBeGreaterThan(tokensWithoutEnum); }); + it("should handle empty enum array without negative token count", () => { + const toolsWithEmptyEnum = [ + { + type: "function" as const, + function: { + name: "set_mode", + parameters: { + type: "object", + properties: { + mode: { + type: "string", + description: "The mode to set", + enum: [], + }, + }, + }, + }, + }, + ]; + + const toolsWithoutEnum = [ + { + type: "function" as const, + function: { + name: "set_mode", + parameters: { + type: "object", + properties: { + mode: { + type: "string", + description: "The mode to set", + }, + }, + }, + }, + }, + ]; + + const tokensWithEmptyEnum = countToolDefinitionTokens(toolsWithEmptyEnum); + const tokensWithoutEnum = countToolDefinitionTokens(toolsWithoutEnum); + + // Empty enum should not subtract tokens - should be equal to no enum + expect(tokensWithEmptyEnum).toBe(tokensWithoutEnum); + // Token count should always be positive + expect(tokensWithEmptyEnum).toBeGreaterThan(0); + }); + it("should count tokens for multiple parameters", () => { const toolWithOneParam = [ { diff --git a/extensions/cli/src/util/tokenizer.ts b/extensions/cli/src/util/tokenizer.ts index cfacac1e8..68f10c5f0 100644 --- a/extensions/cli/src/util/tokenizer.ts +++ b/extensions/cli/src/util/tokenizer.ts @@ -223,7 +223,7 @@ function countParameterFieldTokens( tokens += encode(fieldDesc).length; } - if (fieldEnum && Array.isArray(fieldEnum)) { + if (fieldEnum && Array.isArray(fieldEnum) && fieldEnum.length > 0) { tokens -= 3; for (const e of fieldEnum) { tokens += 3; From a0729bd6ec7f5a7b8cdf187baac8abf3156b9f75 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet Date: Sun, 11 Jan 2026 16:23:57 +0100 Subject: [PATCH 74/97] fix: merge yaml.schemas settings Users may already have `yaml.schemas` preferences and the extension should not be overwriting user settings. The code is however free to control keys for `extensionUri`, as long as it leaves other entries alone. See also #7080 --- extensions/vscode/src/activation/activate.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extensions/vscode/src/activation/activate.ts b/extensions/vscode/src/activation/activate.ts index 6f4275f67..45fc24d49 100644 --- a/extensions/vscode/src/activation/activate.ts +++ b/extensions/vscode/src/activation/activate.ts @@ -59,6 +59,7 @@ export async function activateExtension(context: vscode.ExtensionContext) { // Register config.yaml schema by removing old entries and adding new one (uri.fsPath changes with each version) const yamlMatcher = ".continue/**/*.yaml"; const yamlConfig = vscode.workspace.getConfiguration("yaml"); + const yamlSchemas = yamlConfig.get("schemas", {}); const newPath = vscode.Uri.joinPath( context.extension.extensionUri, @@ -68,7 +69,10 @@ export async function activateExtension(context: vscode.ExtensionContext) { try { await yamlConfig.update( "schemas", - { [newPath]: [yamlMatcher] }, + { + ...yamlSchemas, + [newPath]: [yamlMatcher], + }, vscode.ConfigurationTarget.Global, ); } catch (error) { From bf6ee2f71da3008bf01bd5be030f5bff62410d0e Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Tue, 13 Jan 2026 00:06:02 +0530 Subject: [PATCH 75/97] fix: show new rule once created --- core/core.ts | 2 ++ gui/src/pages/config/sections/RulesSection.tsx | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/core.ts b/core/core.ts index 2985c0486..e61c7240e 100644 --- a/core/core.ts +++ b/core/core.ts @@ -414,6 +414,7 @@ export class Core { msg.data.blockType, msg.data.baseFilename, ); + walkDirCache.invalidate(); await this.configHandler.reloadConfig( "Local block created (config/addLocalWorkspaceBlock message)", ); @@ -422,6 +423,7 @@ export class Core { on("config/addGlobalRule", async (msg) => { try { await createNewGlobalRuleFile(this.ide, msg.data?.baseFilename); + walkDirCache.invalidate(); await this.configHandler.reloadConfig( "Global rule created (config/addGlobalRule message)", ); diff --git a/gui/src/pages/config/sections/RulesSection.tsx b/gui/src/pages/config/sections/RulesSection.tsx index e80e83536..205f1ddaa 100644 --- a/gui/src/pages/config/sections/RulesSection.tsx +++ b/gui/src/pages/config/sections/RulesSection.tsx @@ -132,8 +132,6 @@ interface RuleCardProps { const RuleCard: React.FC = ({ rule }) => { const dispatch = useAppDispatch(); - const ideMessenger = useContext(IdeMessengerContext); - const mode = useAppSelector((store) => store.session.mode); const policy = useAppSelector((state) => rule.name ? state.ui.ruleSettings[rule.name] || DEFAULT_RULE_SETTING @@ -397,6 +395,7 @@ function RulesSubSection() { const dispatch = useAppDispatch(); const isLocal = selectedProfile?.profileType === "local"; const [globalRulesMode, setGlobalRulesMode] = useState("workspace"); + const configLoading = useAppSelector((store) => store.config.loading); const handleAddRule = (mode?: string) => { const currentMode = mode || globalRulesMode; @@ -487,6 +486,11 @@ function RulesSubSection() { {sortedRules.map((rule, index) => ( ))} + {configLoading && ( +
+ Reloading rules from your config... +
+ )} ) : ( From 91ddbb8c2e6686f91595132c42fafc6c7518e930 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 12 Jan 2026 19:33:55 -0800 Subject: [PATCH 76/97] fix: use proxy for unrendered injected block secrets --- extensions/cli/src/CLIPlatformClient.test.ts | 303 ++++++++++++++++++ extensions/cli/src/CLIPlatformClient.ts | 62 ++-- .../config-yaml/src/load/injectBlocks.test.ts | 148 +++++++++ packages/config-yaml/src/load/unroll.ts | 12 +- 4 files changed, 496 insertions(+), 29 deletions(-) create mode 100644 extensions/cli/src/CLIPlatformClient.test.ts diff --git a/extensions/cli/src/CLIPlatformClient.test.ts b/extensions/cli/src/CLIPlatformClient.test.ts new file mode 100644 index 000000000..183c97019 --- /dev/null +++ b/extensions/cli/src/CLIPlatformClient.test.ts @@ -0,0 +1,303 @@ +import * as fs from "node:fs"; + +import { FQSN, SecretResult, SecretType } from "@continuedev/config-yaml"; +import { beforeEach, describe, expect, it, vi } from "vitest"; + +import { CLIPlatformClient } from "./CLIPlatformClient.js"; + +// Mock fs module +vi.mock("node:fs", () => ({ + existsSync: vi.fn(), + readFileSync: vi.fn(), +})); + +// Mock env module +vi.mock("./env.js", () => ({ + env: { + continueHome: "/home/user/.continue", + }, +})); + +describe("CLIPlatformClient", () => { + let mockApiClient: { + syncSecrets: ReturnType; + }; + + beforeEach(() => { + vi.resetAllMocks(); + mockApiClient = { + syncSecrets: vi.fn(), + }; + // Reset process.env mocks + vi.unstubAllEnvs(); + }); + + describe("resolveFQSNs", () => { + it("returns empty array for empty input", async () => { + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([]); + expect(results).toEqual([]); + expect(mockApiClient.syncSecrets).not.toHaveBeenCalled(); + }); + + it("prioritizes local env over API results", async () => { + const fqsn: FQSN = { + packageSlugs: [ + { ownerSlug: "anthropic", packageSlug: "claude-sonnet" }, + ], + secretName: "ANTHROPIC_API_KEY", + }; + + // Local env has the secret + vi.stubEnv("ANTHROPIC_API_KEY", "local-api-key"); + + const client = new CLIPlatformClient("org-123", mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + // Should not call API since local env has the secret + expect(mockApiClient.syncSecrets).not.toHaveBeenCalled(); + + expect(results).toHaveLength(1); + expect(results[0]).toMatchObject({ + found: true, + value: "local-api-key", + secretLocation: { + secretType: SecretType.LocalEnv, + secretName: "ANTHROPIC_API_KEY", + }, + }); + }); + + it("falls back to API when local env does not have the secret", async () => { + const fqsn: FQSN = { + packageSlugs: [ + { ownerSlug: "anthropic", packageSlug: "claude-sonnet" }, + ], + secretName: "ANTHROPIC_API_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns a user secret with value + const apiResult: SecretResult = { + found: true, + fqsn, + value: "api-secret-value", + secretLocation: { + secretType: SecretType.User, + userSlug: "testuser", + secretName: "ANTHROPIC_API_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient("org-123", mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + expect(mockApiClient.syncSecrets).toHaveBeenCalledWith({ + syncSecretsRequest: { + fqsns: [fqsn], + orgScopeId: "org-123", + }, + }); + + expect(results).toHaveLength(1); + expect(results[0]).toEqual(apiResult); + }); + + it("keeps API results with secretLocation but no value (models_add_on)", async () => { + const fqsn: FQSN = { + packageSlugs: [ + { ownerSlug: "anthropic", packageSlug: "claude-sonnet" }, + ], + secretName: "ANTHROPIC_API_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns a models_add_on result (has secretLocation but no value) + const apiResult: SecretResult = { + found: true, + fqsn, + secretLocation: { + secretType: SecretType.ModelsAddOn, + blockSlug: { ownerSlug: "anthropic", packageSlug: "claude-sonnet" }, + secretName: "ANTHROPIC_API_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient("org-123", mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + expect(results).toHaveLength(1); + // The result should be kept even though it has no value + expect(results[0]).toEqual(apiResult); + expect(results[0]).not.toHaveProperty("value"); + expect((results[0] as any).secretLocation.secretType).toBe( + SecretType.ModelsAddOn, + ); + }); + + it("keeps API results with secretLocation but no value (free_trial)", async () => { + const fqsn: FQSN = { + packageSlugs: [{ ownerSlug: "openai", packageSlug: "gpt-4" }], + secretName: "OPENAI_API_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns a free_trial result + const apiResult: SecretResult = { + found: true, + fqsn, + secretLocation: { + secretType: SecretType.FreeTrial, + blockSlug: { ownerSlug: "openai", packageSlug: "gpt-4" }, + secretName: "OPENAI_API_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + expect(results).toHaveLength(1); + expect(results[0]).toEqual(apiResult); + expect((results[0] as any).secretLocation.secretType).toBe( + SecretType.FreeTrial, + ); + }); + + it("handles mixed results - some local, some from API", async () => { + const fqsn1: FQSN = { + packageSlugs: [ + { ownerSlug: "anthropic", packageSlug: "claude-sonnet" }, + ], + secretName: "ANTHROPIC_API_KEY", + }; + const fqsn2: FQSN = { + packageSlugs: [{ ownerSlug: "openai", packageSlug: "gpt-4" }], + secretName: "OPENAI_API_KEY", + }; + + // First secret is in local env + vi.stubEnv("ANTHROPIC_API_KEY", "local-anthropic-key"); + // Second secret is not in local env + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns models_add_on for the second secret + const apiResult: SecretResult = { + found: true, + fqsn: fqsn2, + secretLocation: { + secretType: SecretType.ModelsAddOn, + blockSlug: { ownerSlug: "openai", packageSlug: "gpt-4" }, + secretName: "OPENAI_API_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient("org-123", mockApiClient as any); + const results = await client.resolveFQSNs([fqsn1, fqsn2]); + + // API should only be called for the unresolved secret + expect(mockApiClient.syncSecrets).toHaveBeenCalledWith({ + syncSecretsRequest: { + fqsns: [fqsn2], // Only fqsn2 should be sent to API + orgScopeId: "org-123", + }, + }); + + expect(results).toHaveLength(2); + + // First result from local env + expect(results[0]).toMatchObject({ + found: true, + value: "local-anthropic-key", + secretLocation: { + secretType: SecretType.LocalEnv, + }, + }); + + // Second result from API (models_add_on, no value) + expect(results[1]).toEqual(apiResult); + }); + + it("handles API errors gracefully", async () => { + const fqsn: FQSN = { + packageSlugs: [{ ownerSlug: "test", packageSlug: "model" }], + secretName: "API_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API throws an error + mockApiClient.syncSecrets.mockRejectedValue(new Error("Network error")); + + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + // Should return undefined for the unresolved secret + expect(results).toHaveLength(1); + expect(results[0]).toBeUndefined(); + }); + + it("does not call API when all secrets are found locally", async () => { + const fqsn1: FQSN = { + packageSlugs: [], + secretName: "SECRET_1", + }; + const fqsn2: FQSN = { + packageSlugs: [], + secretName: "SECRET_2", + }; + + // Both secrets are in local env + vi.stubEnv("SECRET_1", "value1"); + vi.stubEnv("SECRET_2", "value2"); + + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([fqsn1, fqsn2]); + + // API should not be called at all + expect(mockApiClient.syncSecrets).not.toHaveBeenCalled(); + + expect(results).toHaveLength(2); + expect(results[0]).toMatchObject({ found: true, value: "value1" }); + expect(results[1]).toMatchObject({ found: true, value: "value2" }); + }); + + it("returns undefined for secrets not found anywhere", async () => { + const fqsn: FQSN = { + packageSlugs: [{ ownerSlug: "unknown", packageSlug: "model" }], + secretName: "UNKNOWN_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns not found + const apiResult: SecretResult = { + found: false, + fqsn, + secretLocation: { + secretType: SecretType.NotFound, + secretName: "UNKNOWN_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + expect(results).toHaveLength(1); + // Not found results should not be kept (found: false) + expect(results[0]).toBeUndefined(); + }); + }); +}); diff --git a/extensions/cli/src/CLIPlatformClient.ts b/extensions/cli/src/CLIPlatformClient.ts index 2f0046397..c81e89b57 100644 --- a/extensions/cli/src/CLIPlatformClient.ts +++ b/extensions/cli/src/CLIPlatformClient.ts @@ -96,38 +96,44 @@ export class CLIPlatformClient implements PlatformClient { undefined, ); - // Try to resolve secrets through the API client first - try { - const apiResults: any = await this.apiClient.syncSecrets({ - syncSecretsRequest: { - fqsns, - orgScopeId: this.orgScopeId, - }, - }); - - // Merge API results into our results array - but only if they have an actual value - // API can return found=true for secrets that exist but aren't accessible locally - for (let i = 0; i < apiResults.length; i++) { - if (apiResults[i]?.found && "value" in apiResults[i]) { - results[i] = apiResults[i]; - } + // First, check local env files for secrets (highest priority for CLI) + // This allows users to override any secret with a local environment variable + for (let i = 0; i < fqsns.length; i++) { + const secretFromEnv = this.findSecretInLocalEnvFiles(fqsns[i]); + if (secretFromEnv?.found) { + results[i] = secretFromEnv; } - } catch (error) { - console.warn( - `Error resolving FQSNs through API: ${ - error instanceof Error ? error.message : String(error) - }`, - ); } - // For any secret without a value (not just "not found"), look in local .env files - // This allows environment variables to override org/package secrets that aren't accessible - for (let i = 0; i < fqsns.length; i++) { - if (!results[i] || !("value" in results[i]!)) { - const secretFromEnv = this.findSecretInLocalEnvFiles(fqsns[i]); - if (secretFromEnv?.found) { - results[i] = secretFromEnv; + // For secrets not found locally, try to resolve through the API + const unresolvedIndices = results + .map((r, i) => (r === undefined ? i : -1)) + .filter((i) => i !== -1); + + if (unresolvedIndices.length > 0) { + try { + const unresolvedFqsns = unresolvedIndices.map((i) => fqsns[i]); + const apiResults: any = await this.apiClient.syncSecrets({ + syncSecretsRequest: { + fqsns: unresolvedFqsns, + orgScopeId: this.orgScopeId, + }, + }); + + // Merge API results - keep all found results (with or without value) + // Results with value = user secrets (rendered directly) + // Results with secretLocation but no value = org/package/models_add_on/free_trial (will be proxied) + for (let j = 0; j < apiResults.length; j++) { + if (apiResults[j]?.found) { + results[unresolvedIndices[j]] = apiResults[j]; + } } + } catch (error) { + console.warn( + `Error resolving FQSNs through API: ${ + error instanceof Error ? error.message : String(error) + }`, + ); } } diff --git a/packages/config-yaml/src/load/injectBlocks.test.ts b/packages/config-yaml/src/load/injectBlocks.test.ts index 14feb97dc..5cbe99dc9 100644 --- a/packages/config-yaml/src/load/injectBlocks.test.ts +++ b/packages/config-yaml/src/load/injectBlocks.test.ts @@ -535,4 +535,152 @@ rules: expect(configStr).not.toContain("inputs.db.port"); expect(configStr).not.toContain("inputs.db.user"); }); + + it("converts secrets in injected slug blocks to FQSNs using the block's package identifier", async () => { + const assistant: ConfigYaml = { + name: "FQSN Test Assistant", + version: "1.0.0", + }; + + // This simulates a model block from the hub (e.g., anthropic/claude-sonnet) + // that has a secret reference that needs to be converted to an FQSN + const modelBlockContent = ` +name: Anthropic Claude Model +version: 1.0.0 +schema: v1 +models: + - name: claude-sonnet + provider: anthropic + model: claude-sonnet-4-20250514 + apiKey: \${{ secrets.ANTHROPIC_API_KEY }} +`; + + // Using a slug-type identifier (like anthropic/claude-sonnet from the hub) + const injectedBlockId: PackageIdentifier = { + uriType: "slug", + fullSlug: { + ownerSlug: "anthropic", + packageSlug: "claude-sonnet", + versionSlug: "latest", + }, + }; + + mockRegistry.setContent("anthropic/claude-sonnet", modelBlockContent); + + const result = await unrollBlocks( + assistant, + mockRegistry, + [injectedBlockId], + undefined, + undefined, + undefined, + ); + + expect(result.config).toBeDefined(); + expect(result.config!.models).toBeDefined(); + expect(result.config!.models!.length).toBe(1); + + // The secret should be converted to an FQSN that includes the block's slug + // Format: ${{ secrets.ownerSlug/packageSlug/secretName }} + const model = result.config!.models![0]!; + expect(model.apiKey).toBe( + "${{ secrets.anthropic/claude-sonnet/ANTHROPIC_API_KEY }}", + ); + expect(model.name).toBe("claude-sonnet"); + expect(model.provider).toBe("anthropic"); + expect(model.model).toBe("claude-sonnet-4-20250514"); + }); + + it("converts secrets in injected file blocks to FQSNs using file path shorthand", async () => { + const assistant: ConfigYaml = { + name: "File FQSN Test Assistant", + version: "1.0.0", + }; + + const modelBlockContent = ` +name: Local Model +version: 1.0.0 +schema: v1 +models: + - name: local-model + provider: openai + model: gpt-4 + apiKey: \${{ secrets.OPENAI_API_KEY }} +`; + + const injectedBlockId: PackageIdentifier = { + uriType: "file", + fileUri: "/path/to/local-model.yaml", + }; + + mockRegistry.setContent("/path/to/local-model.yaml", modelBlockContent); + + const result = await unrollBlocks( + assistant, + mockRegistry, + [injectedBlockId], + undefined, + undefined, + undefined, + ); + + expect(result.config).toBeDefined(); + expect(result.config!.models).toBeDefined(); + expect(result.config!.models!.length).toBe(1); + + // For file-type blocks, the shorthand slug is "/" + // So the FQSN becomes: ${{ secrets.//secretName }} + const model = result.config!.models![0]!; + expect(model.apiKey).toBe("${{ secrets.//OPENAI_API_KEY }}"); + }); + + it("converts both inputs and secrets to proper FQSNs in injected blocks", async () => { + const assistant: ConfigYaml = { + name: "Mixed Template Test Assistant", + version: "1.0.0", + }; + + // Block has both inputs and secrets + const modelBlockContent = ` +name: Mixed Model +version: 1.0.0 +schema: v1 +models: + - name: mixed-model + provider: openai + model: \${{ inputs.modelName }} + apiKey: \${{ secrets.API_KEY }} + apiBase: \${{ inputs.apiBase }} +`; + + const injectedBlockId: PackageIdentifier = { + uriType: "slug", + fullSlug: { + ownerSlug: "myorg", + packageSlug: "mixed-model", + versionSlug: "1.0.0", + }, + }; + + mockRegistry.setContent("myorg/mixed-model", modelBlockContent); + + const result = await unrollBlocks( + assistant, + mockRegistry, + [injectedBlockId], + undefined, + undefined, + undefined, + ); + + expect(result.config).toBeDefined(); + expect(result.config!.models).toBeDefined(); + expect(result.config!.models!.length).toBe(1); + + const model = result.config!.models![0]!; + // Inputs get converted to secrets first, then both get FQSN treatment + expect(model.model).toBe("${{ secrets.myorg/mixed-model/modelName }}"); + expect(model.apiKey).toBe("${{ secrets.myorg/mixed-model/API_KEY }}"); + expect(model.apiBase).toBe("${{ secrets.myorg/mixed-model/apiBase }}"); + }); }); diff --git a/packages/config-yaml/src/load/unroll.ts b/packages/config-yaml/src/load/unroll.ts index 49476925e..9fae9d17b 100644 --- a/packages/config-yaml/src/load/unroll.ts +++ b/packages/config-yaml/src/load/unroll.ts @@ -550,10 +550,20 @@ export async function unrollBlocks( const injectedBlockPromises = injectBlocks.map(async (injectBlock) => { try { const blockConfigYaml = await registry.getContent(injectBlock); + // Convert inputs to secrets, then convert secrets to FQSNs using the injected block's identifier + // This ensures secrets are properly namespaced for proxy resolution (e.g., models add-on) const blockConfigYamlWithSecrets = replaceInputsWithSecrets(blockConfigYaml); - const resolvedBlock = parseMarkdownRuleOrConfigYaml( + const blockConfigYamlWithFQSNs = renderTemplateData( blockConfigYamlWithSecrets, + { + secrets: extractFQSNMap(blockConfigYamlWithSecrets, [ + injectBlock, + ]), + }, + ); + const resolvedBlock = parseMarkdownRuleOrConfigYaml( + blockConfigYamlWithFQSNs, injectBlock, ); const blockType = getBlockType(resolvedBlock); From 219f5661c9999daa5e185740dd2fa1d24f0187b2 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 12 Jan 2026 19:44:16 -0800 Subject: [PATCH 77/97] fix: inject blocks tests for cli secret resolution --- extensions/cli/src/CLIPlatformClient.test.ts | 69 +++++++++++++++++++ .../config-yaml/src/load/injectBlocks.test.ts | 49 ++++++------- 2 files changed, 95 insertions(+), 23 deletions(-) diff --git a/extensions/cli/src/CLIPlatformClient.test.ts b/extensions/cli/src/CLIPlatformClient.test.ts index 183c97019..568761dbc 100644 --- a/extensions/cli/src/CLIPlatformClient.test.ts +++ b/extensions/cli/src/CLIPlatformClient.test.ts @@ -299,5 +299,74 @@ describe("CLIPlatformClient", () => { // Not found results should not be kept (found: false) expect(results[0]).toBeUndefined(); }); + + it("resolves secrets from process.env with file-based FQSN format (empty package slugs)", async () => { + // This tests the FQSN format used for slug injected blocks + // e.g., ${{ secrets.//ANTHROPIC_API_KEY }} which decodes to: + // { packageSlugs: [{ ownerSlug: "", packageSlug: "" }], secretName: "ANTHROPIC_API_KEY" } + const fqsn: FQSN = { + packageSlugs: [{ ownerSlug: "", packageSlug: "" }], + secretName: "ANTHROPIC_API_KEY", + }; + + // Secret is in process.env + vi.stubEnv("ANTHROPIC_API_KEY", "my-local-api-key"); + + const client = new CLIPlatformClient(null, mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + // Should not call API since local env has the secret + expect(mockApiClient.syncSecrets).not.toHaveBeenCalled(); + + expect(results).toHaveLength(1); + expect(results[0]).toMatchObject({ + found: true, + value: "my-local-api-key", + fqsn: { + packageSlugs: [{ ownerSlug: "", packageSlug: "" }], + secretName: "ANTHROPIC_API_KEY", + }, + secretLocation: { + secretType: SecretType.LocalEnv, + secretName: "ANTHROPIC_API_KEY", + }, + }); + }); + + it("falls back to API for file-based FQSN when not in local env", async () => { + // File-based FQSN with empty package slugs + const fqsn: FQSN = { + packageSlugs: [{ ownerSlug: "", packageSlug: "" }], + secretName: "OPENAI_API_KEY", + }; + + // No local env secret + vi.mocked(fs.existsSync).mockReturnValue(false); + + // API returns models_add_on (the server can still resolve this) + const apiResult: SecretResult = { + found: true, + fqsn, + secretLocation: { + secretType: SecretType.ModelsAddOn, + blockSlug: { ownerSlug: "", packageSlug: "" }, + secretName: "OPENAI_API_KEY", + }, + }; + mockApiClient.syncSecrets.mockResolvedValue([apiResult]); + + const client = new CLIPlatformClient("org-123", mockApiClient as any); + const results = await client.resolveFQSNs([fqsn]); + + expect(mockApiClient.syncSecrets).toHaveBeenCalledWith({ + syncSecretsRequest: { + fqsns: [fqsn], + orgScopeId: "org-123", + }, + }); + + expect(results).toHaveLength(1); + expect(results[0]).toEqual(apiResult); + }); }); }); diff --git a/packages/config-yaml/src/load/injectBlocks.test.ts b/packages/config-yaml/src/load/injectBlocks.test.ts index 5cbe99dc9..f8623be0f 100644 --- a/packages/config-yaml/src/load/injectBlocks.test.ts +++ b/packages/config-yaml/src/load/injectBlocks.test.ts @@ -75,10 +75,11 @@ models: expect(result.config!.models).toBeDefined(); expect(result.config!.models!.length).toBe(1); - // Check that inputs were converted to secrets in the model + // Check that inputs were converted to secrets and then to FQSNs + // For file-type blocks, the FQSN format is: ${{ secrets.//secretName }} const model = result.config!.models![0]!; - expect(model.apiKey).toBe("${{ secrets.openaiKey }}"); - expect(model.apiBase).toBe("${{ secrets.customEndpoint }}"); + expect(model.apiKey).toBe("${{ secrets.//openaiKey }}"); + expect(model.apiBase).toBe("${{ secrets.//customEndpoint }}"); expect(model.name).toBe("gpt-4"); expect(model.provider).toBe("openai"); expect(model.model).toBe("gpt-4"); @@ -126,14 +127,16 @@ rules: expect(result.config!.rules).toBeDefined(); expect(result.config!.rules!.length).toBe(1); - // Check that input was converted to secret in the rule + // Check that input was converted to secret and then to FQSN // Note: string rules get wrapped in objects with sourceFile when injected const rule = result.config!.rules![0]!; if (typeof rule === "string") { - expect(rule).toBe("Use ${{ secrets.codeStyle }} formatting consistently"); + expect(rule).toBe( + "Use ${{ secrets.//codeStyle }} formatting consistently", + ); } else { expect(rule.rule).toBe( - "Use ${{ secrets.codeStyle }} formatting consistently", + "Use ${{ secrets.//codeStyle }} formatting consistently", ); } @@ -182,11 +185,11 @@ docs: expect(result.config!.docs).toBeDefined(); expect(result.config!.docs!.length).toBe(1); - // Check that inputs were converted to secrets in the doc config + // Check that inputs were converted to secrets and then to FQSNs const doc = result.config!.docs![0]!; - expect(doc.startUrl).toBe("${{ secrets.docsBaseUrl }}/api"); - expect(doc.rootUrl).toBe("${{ secrets.docsBaseUrl }}"); - expect(doc.faviconUrl).toBe("${{ secrets.docsBaseUrl }}/favicon.ico"); + expect(doc.startUrl).toBe("${{ secrets.//docsBaseUrl }}/api"); + expect(doc.rootUrl).toBe("${{ secrets.//docsBaseUrl }}"); + expect(doc.faviconUrl).toBe("${{ secrets.//docsBaseUrl }}/favicon.ico"); expect(doc.name).toBe("project-docs"); // Check that no input variables remain @@ -233,10 +236,10 @@ prompts: expect(result.config!.prompts).toBeDefined(); expect(result.config!.prompts!.length).toBe(1); - // Check that inputs were converted to secrets in the prompt + // Check that inputs were converted to secrets and then to FQSNs const prompt = result.config!.prompts![0]!; expect(prompt.prompt).toBe( - "You are a ${{ secrets.roleType }} assistant. Use ${{ secrets.responseStyle }} responses.", + "You are a ${{ secrets.//roleType }} assistant. Use ${{ secrets.//responseStyle }} responses.", ); expect(prompt.name).toBe("custom-prompt"); expect(prompt.description).toBe("A customizable prompt"); @@ -298,22 +301,22 @@ rules: expect(result.config).toBeDefined(); - // Check model block conversion + // Check model block conversion (file-type blocks use // as FQSN prefix) expect(result.config!.models).toBeDefined(); expect(result.config!.models!.length).toBe(1); const model = result.config!.models![0]!; - expect(model.model).toBe("${{ secrets.modelName }}"); - expect(model.apiKey).toBe("${{ secrets.apiKey }}"); + expect(model.model).toBe("${{ secrets.//modelName }}"); + expect(model.apiKey).toBe("${{ secrets.//apiKey }}"); // Check rules block conversion expect(result.config!.rules).toBeDefined(); expect(result.config!.rules!.length).toBe(1); const rule = result.config!.rules![0]!; if (typeof rule === "string") { - expect(rule).toBe("Follow ${{ secrets.codingStandard }} conventions"); + expect(rule).toBe("Follow ${{ secrets.//codingStandard }} conventions"); } else { expect(rule.rule).toBe( - "Follow ${{ secrets.codingStandard }} conventions", + "Follow ${{ secrets.//codingStandard }} conventions", ); } @@ -417,15 +420,15 @@ rules: ruleText = rule.rule; } - // Input should be converted to secret, others should remain unchanged + // Input should be converted to secret and then to FQSN, others should also get FQSN treatment expect(ruleText).toBe( - "Input: ${{ secrets.userSetting }} | Secret: ${{ secrets.apiKey }} | Continue: ${{ continue.workspaceRoot }}", + "Input: ${{ secrets.//userSetting }} | Secret: ${{ secrets.//apiKey }} | Continue: ${{ continue.workspaceRoot }}", ); // Verify only inputs were converted const configStr = JSON.stringify(result.config); expect(configStr).not.toContain("inputs.userSetting"); - expect(configStr).toContain("secrets.apiKey"); + expect(configStr).toContain("secrets.//apiKey"); expect(configStr).toContain("continue.workspaceRoot"); }); @@ -469,7 +472,7 @@ rules: const rule = result.config!.rules![0]; expect(rule).toMatchObject({ name: "custom-rule", - rule: "Always add type hints with ${{ secrets.typeStyle }}", + rule: "Always add type hints with ${{ secrets.//typeStyle }}", description: "Enforce type hints for better code clarity", sourceFile: "file:///test/source-block.yaml", }); @@ -524,9 +527,9 @@ rules: ruleText = rule.rule; } - // All nested inputs should be converted to secrets + // All nested inputs should be converted to secrets and then to FQSNs expect(ruleText).toBe( - "Database config: host=${{ secrets.db.host }};port=${{ secrets.db.port }};user=${{ secrets.db.user }}", + "Database config: host=${{ secrets.//db.host }};port=${{ secrets.//db.port }};user=${{ secrets.//db.user }}", ); // Verify all nested inputs were converted From dd939190701be55917d4d224f012017e8ea17be9 Mon Sep 17 00:00:00 2001 From: ThanhNguyxn Date: Tue, 13 Jan 2026 11:06:29 +0700 Subject: [PATCH 78/97] fix: add GH_TOKEN to continue-agents workflow Fixes #9493 Agents using the gh CLI were failing with 'missing GH_TOKEN' error. This adds the github.token to the Run agent step environment. --- .github/workflows/continue-agents.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continue-agents.yml b/.github/workflows/continue-agents.yml index 8c96ede98..fd3fc4297 100644 --- a/.github/workflows/continue-agents.yml +++ b/.github/workflows/continue-agents.yml @@ -93,6 +93,7 @@ jobs: id: run env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + GH_TOKEN: ${{ github.token }} run: | AGENT_FILE="${{ matrix.agent }}" From 6b3c0be2f1443e47db3e985560cb859b8e42f6a9 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 12 Jan 2026 20:09:08 -0800 Subject: [PATCH 79/97] fix: env stubs for cli platform tests --- extensions/cli/src/CLIPlatformClient.test.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/extensions/cli/src/CLIPlatformClient.test.ts b/extensions/cli/src/CLIPlatformClient.test.ts index 568761dbc..b54ab972b 100644 --- a/extensions/cli/src/CLIPlatformClient.test.ts +++ b/extensions/cli/src/CLIPlatformClient.test.ts @@ -76,7 +76,8 @@ describe("CLIPlatformClient", () => { secretName: "ANTHROPIC_API_KEY", }; - // No local env secret + // Ensure no local env secret exists + vi.stubEnv("ANTHROPIC_API_KEY", undefined as unknown as string); vi.mocked(fs.existsSync).mockReturnValue(false); // API returns a user secret with value @@ -114,7 +115,8 @@ describe("CLIPlatformClient", () => { secretName: "ANTHROPIC_API_KEY", }; - // No local env secret + // Ensure no local env secret exists + vi.stubEnv("ANTHROPIC_API_KEY", undefined as unknown as string); vi.mocked(fs.existsSync).mockReturnValue(false); // API returns a models_add_on result (has secretLocation but no value) @@ -147,7 +149,8 @@ describe("CLIPlatformClient", () => { secretName: "OPENAI_API_KEY", }; - // No local env secret + // Ensure no local env secret exists + vi.stubEnv("OPENAI_API_KEY", undefined as unknown as string); vi.mocked(fs.existsSync).mockReturnValue(false); // API returns a free_trial result @@ -186,7 +189,8 @@ describe("CLIPlatformClient", () => { // First secret is in local env vi.stubEnv("ANTHROPIC_API_KEY", "local-anthropic-key"); - // Second secret is not in local env + // Ensure second secret is not in local env + vi.stubEnv("OPENAI_API_KEY", undefined as unknown as string); vi.mocked(fs.existsSync).mockReturnValue(false); // API returns models_add_on for the second secret @@ -340,7 +344,8 @@ describe("CLIPlatformClient", () => { secretName: "OPENAI_API_KEY", }; - // No local env secret + // Ensure no local env secret exists + vi.stubEnv("OPENAI_API_KEY", undefined as unknown as string); vi.mocked(fs.existsSync).mockReturnValue(false); // API returns models_add_on (the server can still resolve this) From cc1c70d246b124a592cf94b17cb1fe7ba8fa2bc2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 13 Jan 2026 08:40:57 +0000 Subject: [PATCH 80/97] fix: upgrade monaco-editor from 0.45.0 to 0.55.1 Snyk has created this PR to upgrade monaco-editor from 0.45.0 to 0.55.1. See this package in npm: monaco-editor See this project in Snyk: https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr --- extensions/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 7848e78f4..7fcb45164 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -754,7 +754,7 @@ "lru-cache": "^11.0.2", "minisearch": "^7.0.0", "mocha": "^11.7.5", - "monaco-editor": "^0.45.0", + "monaco-editor": "^0.55.1", "monaco-vscode-textmate-theme-converter": "^0.1.7", "ncp": "^2.0.0", "node-fetch": "^3.3.2", From 269be8bb5fdb4651a2e52f832e92f5dc8b250b55 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 13 Jan 2026 08:41:02 +0000 Subject: [PATCH 81/97] fix: upgrade lru-cache from 11.0.2 to 11.2.4 Snyk has created this PR to upgrade lru-cache from 11.0.2 to 11.2.4. See this package in npm: lru-cache See this project in Snyk: https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr --- extensions/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 7848e78f4..fb4dffe65 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -751,7 +751,7 @@ "https-proxy-agent": "^7.0.2", "ignore": "^5.3.0", "jsdom": "^24.0.0", - "lru-cache": "^11.0.2", + "lru-cache": "^11.2.4", "minisearch": "^7.0.0", "mocha": "^11.7.5", "monaco-editor": "^0.45.0", From 0ee57188f294270f45f4556421d502d9a76c5185 Mon Sep 17 00:00:00 2001 From: joffeoja <51059438+joffeoja@users.noreply.github.com> Date: Tue, 13 Jan 2026 11:09:13 +0100 Subject: [PATCH 82/97] Update tidy-up-codebase.yml --- .github/workflows/tidy-up-codebase.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tidy-up-codebase.yml b/.github/workflows/tidy-up-codebase.yml index dc70faaaa..bd490022a 100644 --- a/.github/workflows/tidy-up-codebase.yml +++ b/.github/workflows/tidy-up-codebase.yml @@ -8,6 +8,8 @@ on: jobs: run-cn-task: + # Only run this workflow on the main repository (continuedev/continue) + if: github.repository == 'continuedev/continue' uses: ./.github/workflows/run-continue-agent.yml with: agent: continuedev/tidy-up-markdown-agent From 1bfb72edf3f6c0eccb66454eb9e3ad423f58bee5 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 13 Jan 2026 12:23:33 -0800 Subject: [PATCH 83/97] fix: context length error detection --- extensions/cli/src/util/exponentialBackoff.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extensions/cli/src/util/exponentialBackoff.ts b/extensions/cli/src/util/exponentialBackoff.ts index c44aee6e8..1c5657e5d 100644 --- a/extensions/cli/src/util/exponentialBackoff.ts +++ b/extensions/cli/src/util/exponentialBackoff.ts @@ -82,6 +82,13 @@ function isConnectionError(errorMessage: string): boolean { */ export function isContextLengthError(error: any): boolean { const errorMessage = error.message?.toLowerCase() || ""; + + if (errorMessage.includes("invalid_request_error")) { + if (errorMessage.includes("context")) { + return true; + } + } + const contextLengthPatterns = [ // Anthropic Claude "input length and max_tokens exceed context limit", @@ -94,7 +101,6 @@ export function isContextLengthError(error: any): boolean { "use a shorter prompt", // Generic patterns "context_length_exceeded", - "invalid_request_error", ]; return contextLengthPatterns.some((pattern) => From fa5bea12414209d481b6ffe15f2fab786f801be6 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 13 Jan 2026 12:25:34 -0800 Subject: [PATCH 84/97] chore: remove any type --- extensions/cli/src/util/exponentialBackoff.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/cli/src/util/exponentialBackoff.ts b/extensions/cli/src/util/exponentialBackoff.ts index 1c5657e5d..8f3004ae9 100644 --- a/extensions/cli/src/util/exponentialBackoff.ts +++ b/extensions/cli/src/util/exponentialBackoff.ts @@ -80,7 +80,10 @@ function isConnectionError(errorMessage: string): boolean { /** * Checks if the error indicates a context length issue (non-retryable) */ -export function isContextLengthError(error: any): boolean { +export function isContextLengthError(error: unknown): boolean { + if (!(error instanceof Error)) { + return false; + } const errorMessage = error.message?.toLowerCase() || ""; if (errorMessage.includes("invalid_request_error")) { From ad1568e21ae5cdfea8869d90aa70d2495a67187a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 22:16:27 +0000 Subject: [PATCH 85/97] chore(deps): bump hono from 4.11.3 to 4.11.4 in /core Bumps [hono](https://github.com/honojs/hono) from 4.11.3 to 4.11.4. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.11.3...v4.11.4) --- updated-dependencies: - dependency-name: hono dependency-version: 4.11.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- core/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/package-lock.json b/core/package-lock.json index 41d773631..221dcca25 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -14149,9 +14149,9 @@ } }, "node_modules/hono": { - "version": "4.11.3", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.3.tgz", - "integrity": "sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w==", + "version": "4.11.4", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.11.4.tgz", + "integrity": "sha512-U7tt8JsyrxSRKspfhtLET79pU8K+tInj5QZXs1jSugO1Vq5dFj3kmZsRldo29mTBfcjDRVRXrEZ6LS63Cog9ZA==", "license": "MIT", "peer": true, "engines": { From 2c4cb38df9298a7aa59adc3e8c60b0fc623fe6bb Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Tue, 13 Jan 2026 14:22:07 -0800 Subject: [PATCH 86/97] docs: fix broken links in documentation (#9506) - Update relative URLs to absolute URLs - Fix links to external resources - Correct navigation paths in docs.json - Update references to moved documentation pages Generated with [Continue](https://continue.dev) Co-authored-by: Continue --- docs/CONTRIBUTING.mdx | 4 ++-- docs/agents/intro.mdx | 3 +++ docs/agents/overview.mdx | 4 ++-- docs/customize/deep-dives/configuration.mdx | 2 +- .../tetrate_agent_router_service.mdx | 2 +- docs/customize/overview.mdx | 2 +- docs/docs.json | 22 +++++++++---------- docs/guides/cli.mdx | 2 +- docs/guides/posthog-github-continuous-ai.mdx | 2 +- docs/guides/sanity-mcp-continue-cookbook.mdx | 2 +- docs/guides/understanding-configs.mdx | 4 ++-- .../ide-extensions/autocomplete/next-edit.mdx | 2 +- docs/ide-extensions/quick-start.mdx | 6 ++--- .../mission-control/configs/edit-a-config.mdx | 2 +- .../governance/org-permissions.mdx | 6 ++--- .../secrets/secret-resolution.mdx | 16 +++++++------- docs/mission-control/secrets/secret-types.mdx | 4 ++-- 17 files changed, 44 insertions(+), 41 deletions(-) diff --git a/docs/CONTRIBUTING.mdx b/docs/CONTRIBUTING.mdx index 6f1483c74..7b8ff4bd5 100644 --- a/docs/CONTRIBUTING.mdx +++ b/docs/CONTRIBUTING.mdx @@ -126,7 +126,7 @@ The easiest way to get started is using our pre-configured documentation agent: - You can also remix this config to customize it for your specific needs. Learn how to create your own remix in our [remix config documentation](/hub/configs/create-a-config#how-to-remix-a-config). + You can also remix this config to customize it for your specific needs. Learn how to create your own remix in our [remix config documentation](/mission-control/configs/create-a-config#how-to-remix-a-config). ### Option 2: Create Your Own Custom Agent @@ -135,7 +135,7 @@ If you want more control or customization, you can create your own documentation - Follow our [config creation guide](/hub/configs/create-a-config) to set up your own config. + Follow our [config creation guide](/mission-control/configs/create-a-config) to set up your own config. diff --git a/docs/agents/intro.mdx b/docs/agents/intro.mdx index 97b1f6f47..92e334fa4 100644 --- a/docs/agents/intro.mdx +++ b/docs/agents/intro.mdx @@ -34,6 +34,9 @@ Use Mission Control to kick off Cloud Agents for: + + **New to agents?** Check out our [pre-configured agents](/agents/overview#pre-configured-agents) to test out a workflow immediately. + ## Try a Cloud Agent First: Your 60-Second Challenge diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index 97aa40522..8a6d1afcf 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -183,7 +183,7 @@ Agents are organizational assets — once created, everyone in your org can use - Ready to build custom workflows? Learn how in our [Create and Edit guide](/hub/agents/create-and-edit). + Ready to build custom workflows? Learn how in our [Create and Edit guide](/agents/create-and-edit). @@ -231,7 +231,7 @@ The practice of using cloud agents, which we call Continuous AI, requires foreth ## Next Steps - + Build your first custom agent with prompts, rules, and tools diff --git a/docs/customize/deep-dives/configuration.mdx b/docs/customize/deep-dives/configuration.mdx index 694b75430..6644e2248 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](/hub/configs/edit-a-config) + Hub Configs can be managed in [the Hub](https://hub.continue.dev). See [Editing a config](/mission-control/configs/edit-a-config) ## How to Configure Local Configs with YAML 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 fbd188807..5ba6184f8 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 @@ -46,7 +46,7 @@ Click "Use Model", or "Remix" to change the model ID if needed -Add your API key to Continue. See [adding secrets in Continue Mission Control](/hub/secrets/secret-types) and [managing local secrets in the FAQ](/faqs#managing-local-secrets-and-environment-variables) +Add your API key to Continue. See [adding secrets in Continue Mission Control](/mission-control/secrets/secret-types) and [managing local secrets in the FAQ](/faqs#managing-local-secrets-and-environment-variables) Add it as a Continue Mission Control secret named `TETRATE_API_KEY` to reuse across projects. diff --git a/docs/customize/overview.mdx b/docs/customize/overview.mdx index c8c35930a..238eba18c 100644 --- a/docs/customize/overview.mdx +++ b/docs/customize/overview.mdx @@ -66,5 +66,5 @@ You can easily access your configuration from the Continue Chat sidebar. Open th ## Manage Your Configuration -- See [Editing Hub Configurations](/hub/configs/edit-a-config) for more details on managing your hub configuration +- See [Editing Hub Configurations](/mission-control/configs/edit-a-config) for more details on managing your hub configuration - See the [Config Deep Dive](/reference) for more details on local configurations diff --git a/docs/docs.json b/docs/docs.json index 635f5d196..cb02ca373 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -657,39 +657,39 @@ }, { "source": "/actions/how-to-use-it", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/actions/how-to-customize", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/actions", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/actions/model-setup", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/actions/context-selection", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/actions/how-it-works", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/customize/slash-commands", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/customization/slash-commands", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/advanced/deep-dives/slash-commands", - "destination": "/customize/deep-dives/slash-commands" + "destination": "/customize/deep-dives/prompts" }, { "source": "/walkthroughs/quick-actions", @@ -1097,7 +1097,7 @@ }, { "source": "/about", - "destination": "/about-us" + "destination": "https://continue.dev/about-us" }, { "source": "/autocomplete/model-setup", @@ -1173,7 +1173,7 @@ }, { "source": "/guides/set-up-codestral", - "destination": "/customize/model-providers/top-level/mistral" + "destination": "/customize/model-providers/more/mistral" }, { "source": "/guides/build-your-own-context-provider", diff --git a/docs/guides/cli.mdx b/docs/guides/cli.mdx index 87e29a51b..2d17481fc 100644 --- a/docs/guides/cli.mdx +++ b/docs/guides/cli.mdx @@ -52,7 +52,7 @@ echo "$(git diff) Generate a conventional commit name for the current git change ## How to Configure Continue CLI -`cn` uses [`config.yaml`](/reference), the exact same configuration file as Continue. This means that you can log in to [Continue Mission Control](/hub/introduction) or use your existing local configuration. +`cn` uses [`config.yaml`](/reference), the exact same configuration file as Continue. This means that you can log in to [Continue Mission Control](/mission-control) or use your existing local configuration. To switch between configurations, you can use the `/config` slash command in `cn`, or you can start it with the `--config` flag (e.g. `cn --config continuedev/default-cli-config` or `cn --config ~/.continue/config.yaml`). diff --git a/docs/guides/posthog-github-continuous-ai.mdx b/docs/guides/posthog-github-continuous-ai.mdx index d5201f3b0..e36e1c85f 100644 --- a/docs/guides/posthog-github-continuous-ai.mdx +++ b/docs/guides/posthog-github-continuous-ai.mdx @@ -101,7 +101,7 @@ First, you'll need to gather your PostHog and GitHub API credentials and add the -See https://docs.continue.dev/hub/secrets/secret-types#secret-types for adding secrets +See the [secret types documentation](/mission-control/secrets/secret-types) for adding secrets You only need to configure the PostHog MCP credential - it automatically handles project selection. To add environment variables to your Continue Mission Control account: diff --git a/docs/guides/sanity-mcp-continue-cookbook.mdx b/docs/guides/sanity-mcp-continue-cookbook.mdx index dd69fcaa9..864c00d1d 100644 --- a/docs/guides/sanity-mcp-continue-cookbook.mdx +++ b/docs/guides/sanity-mcp-continue-cookbook.mdx @@ -14,7 +14,7 @@ sidebarTitle: "Sanity CMS with Continue" Before starting, ensure you have: - Continue account with **Hub access** - - Read: [Understanding Configs — How to get started with Hub configs](/hub/configs/intro) + - Read: [Understanding Configs — How to get started with Hub configs](/mission-control/configs/intro) - Node.js 20+ installed locally - A [Sanity account](https://www.sanity.io/) and project (free tier works) - Basic understanding of content management systems diff --git a/docs/guides/understanding-configs.mdx b/docs/guides/understanding-configs.mdx index 6d4c451d7..c4133227d 100644 --- a/docs/guides/understanding-configs.mdx +++ b/docs/guides/understanding-configs.mdx @@ -61,7 +61,7 @@ Pro tip: Hub configurations are perfect for teams. Create a custom config with y ### 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](/hub/configs/edit-a-config). +All Hub config management happens through [Mission Control](https://hub.continue.dev). For detailed customization, see our guide on [Editing a Config](/mission-control/configs/edit-a-config). ## What Are Local Configs: The Power User's Choice @@ -203,7 +203,7 @@ You can switch between them seamlessly using the configs selector in your IDE. Now that you understand both configuration approaches, you're ready to dive deeper: - - **For Hub Users**: [Create A Config](/hub/configs/create-a-config) + - **For Hub Users**: [Create A Config](/mission-control/configs/create-a-config) - **For Local Users**: [Explore the Config Reference](/reference) - **For Everyone**: [Discover Available Models](/customize/model-providers/overview) diff --git a/docs/ide-extensions/autocomplete/next-edit.mdx b/docs/ide-extensions/autocomplete/next-edit.mdx index 71760f4ba..68e98707e 100644 --- a/docs/ide-extensions/autocomplete/next-edit.mdx +++ b/docs/ide-extensions/autocomplete/next-edit.mdx @@ -74,7 +74,7 @@ Next Edit requires: - Compatible AI models (Mercury Coder or Instinct) - VS Code (JetBrains support coming soon) -- **API Keys**: Organizations can add API keys to [org secrets](/hub/secrets/secret-types) for team-wide access. Individual users need to provide their own API keys in their [model configuration](/customize/model-providers/overview) +- **API Keys**: Organizations can add API keys to [org secrets](/mission-control/secrets/secret-types) for team-wide access. Individual users need to provide their own API keys in their [model configuration](/customize/model-providers/overview) To use Next Edit, you must have the Instinct or Mercury Coder model configured diff --git a/docs/ide-extensions/quick-start.mdx b/docs/ide-extensions/quick-start.mdx index a339bc76a..aa170bbf1 100644 --- a/docs/ide-extensions/quick-start.mdx +++ b/docs/ide-extensions/quick-start.mdx @@ -313,9 +313,9 @@ Ready to master specific features? Check out these detailed guides: - Explore [Hub configurations](/hub/configs/intro), [organization - management](/hub/governance/creating-an-org), and [sharing - configurations](/hub/sharing). + Explore [Hub configurations](/mission-control/configs/intro), [organization + management](/mission-control/governance/creating-an-org), and [sharing + configurations](/mission-control/sharing). diff --git a/docs/mission-control/configs/edit-a-config.mdx b/docs/mission-control/configs/edit-a-config.mdx index 7542a34d1..ac7b4f6c7 100644 --- a/docs/mission-control/configs/edit-a-config.mdx +++ b/docs/mission-control/configs/edit-a-config.mdx @@ -12,7 +12,7 @@ For tools or models that require secret values like API keys, you will see a sma To delete part of your config, you can remove it from the yaml. -If a rule, prompt, or tool you want to use does not exist yet, you can [create it](/hub/introduction#creating-components). +If a rule, prompt, or tool you want to use does not exist yet, you can create it in Mission Control. When you are done editing, click "Publish" to publish a new version of the config. diff --git a/docs/mission-control/governance/org-permissions.mdx b/docs/mission-control/governance/org-permissions.mdx index da0cd601b..06ae2b713 100644 --- a/docs/mission-control/governance/org-permissions.mdx +++ b/docs/mission-control/governance/org-permissions.mdx @@ -8,6 +8,6 @@ description: "Users can have the following roles within an organization:" **User permissions for each role depend on the pricing plan:** -- [Solo](/hub/governance/pricing#solo) -- [Teams](/hub/governance/pricing#teams) -- [Enterprise](/hub/governance/pricing#enterprise) +- [Solo](/mission-control/governance/pricing#solo) +- [Teams](/mission-control/governance/pricing#teams) +- [Enterprise](/mission-control/governance/pricing#enterprise) diff --git a/docs/mission-control/secrets/secret-resolution.mdx b/docs/mission-control/secrets/secret-resolution.mdx index 00bf36aff..ee8208e10 100644 --- a/docs/mission-control/secrets/secret-resolution.mdx +++ b/docs/mission-control/secrets/secret-resolution.mdx @@ -3,14 +3,14 @@ title: "Secret Resolution" description: "User or Org secrets should be used depending on how users want them to be shared within their organization and configs." --- -For individual users and [Solo](/hub/governance/pricing#solo) organizations, secret resolution is performed in the following order: +For individual users and [Solo](/mission-control/governance/pricing#solo) organizations, secret resolution is performed in the following order: -1. User [models add-on](/hub/governance/pricing#models-add-on) (if subscribed) -2. [User secrets](/hub/secrets/secret-types#user-secrets) (if set) -3. [Free trial](/hub/governance/pricing#free-trial) (if below limit) +1. User [models add-on](/mission-control/governance/pricing#models-add-on) (if subscribed) +2. [User secrets](/mission-control/secrets/secret-types#user-secrets) (if set) +3. [Free trial](/mission-control/governance/pricing#free-trial) (if below limit) -For [Teams](/hub/governance/pricing#teams) and [Enterprise](/hub/governance/pricing#enterprise) organizations, secret resolution is performed in the following order: +For [Teams](/mission-control/governance/pricing#teams) and [Enterprise](/mission-control/governance/pricing#enterprise) organizations, secret resolution is performed in the following order: -1. Org [models add-on](/hub/governance/pricing#models-add-on) (if subscribed) -2. [Org secrets](/hub/secrets/secret-types#org-secrets) (if set) -3. [User secrets](/hub/secrets/secret-types#user-secrets) (if set) +1. Org [models add-on](/mission-control/governance/pricing#models-add-on) (if subscribed) +2. [Org secrets](/mission-control/secrets/secret-types#org-secrets) (if set) +3. [User secrets](/mission-control/secrets/secret-types#user-secrets) (if set) diff --git a/docs/mission-control/secrets/secret-types.mdx b/docs/mission-control/secrets/secret-types.mdx index e9d0b07c6..4ebcd0cf8 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](/hub/governance/pricing#solo), [Teams](/hub/governance/pricing#teams), and [Enterprise](/hub/governance/pricing#enterprise). User secrets can be managed [here](https://hub.continue.dev/settings/secrets) in Mission Control. +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. ## 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](/hub/governance/pricing#teams) and [Enterprise](/hub/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 / 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. From ca5d945d97e5ac2638bfe73485b7d474759e445b Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 13 Jan 2026 14:43:17 -0800 Subject: [PATCH 87/97] chore: update package lock for lru-cache update --- extensions/vscode/package-lock.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 19e9b9e5b..875c69bae 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -32,7 +32,7 @@ "https-proxy-agent": "^7.0.2", "ignore": "^5.3.0", "jsdom": "^24.0.0", - "lru-cache": "^11.0.2", + "lru-cache": "^11.2.4", "minisearch": "^7.0.0", "mocha": "^11.7.5", "monaco-editor": "^0.45.0", @@ -8524,9 +8524,10 @@ } }, "node_modules/lru-cache": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz", - "integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==", + "version": "11.2.4", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", + "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==", + "license": "BlueOak-1.0.0", "engines": { "node": "20 || >=22" } From 78c0a5d44cedb3cb26597cc029d9899fcd2bb0fd Mon Sep 17 00:00:00 2001 From: Alex McGraw Date: Tue, 13 Jan 2026 16:52:26 -0600 Subject: [PATCH 88/97] Updating ask sage models to support tool calling. Plan and Agent mode now work correctly. --- core/llm/llms/Asksage.ts | 55 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/core/llm/llms/Asksage.ts b/core/llm/llms/Asksage.ts index 93d2016c3..d00222e54 100644 --- a/core/llm/llms/Asksage.ts +++ b/core/llm/llms/Asksage.ts @@ -4,6 +4,8 @@ import { CompletionOptions, LLMOptions, TextMessagePart, + Tool, + ToolCallDelta, } from "../../index.js"; import { BaseLLM } from "../index.js"; @@ -61,15 +63,26 @@ interface AskSageRequestArgs { file?: unknown; } +interface AskSageToolCall { + id: string; + type: "function"; + function: { + name: string; + arguments: string; + }; +} + interface AskSageResponse { text?: string; answer?: string; message?: string; status?: number | string; response?: unknown; + tool_calls?: AskSageToolCall[]; choices?: Array<{ message?: { content?: string; + tool_calls?: AskSageToolCall[]; }; }>; } @@ -185,6 +198,17 @@ class Asksage extends BaseLLM { }; } + protected _convertToolToAskSageTool(tool: Tool): AskSageTool { + return { + type: tool.type, + function: { + name: tool.function.name, + description: tool.function.description, + parameters: tool.function.parameters, + }, + }; + } + protected _convertArgs( options: AskSageCompletionOptions, messages: ChatMessage[], @@ -196,6 +220,14 @@ class Asksage extends BaseLLM { formattedMessage = messages.map(this._convertMessage); } + // Convert standard tools to AskSage format, or use askSageTools if provided + const tools = + options.tools?.map((tool) => this._convertToolToAskSageTool(tool)) ?? + options.askSageTools; + + // Map standard toolChoice to AskSage format, or use askSageToolChoice if provided + const toolChoice = options.toolChoice ?? options.askSageToolChoice; + const args: AskSageRequestArgs = { message: formattedMessage, model: options.model, @@ -207,10 +239,8 @@ class Asksage extends BaseLLM { options.systemPrompt ?? process.env.ASKSAGE_SYSTEM_PROMPT ?? "You are an expert software developer. You give helpful and concise responses.", - tools: options.askSageTools, - // enabled_mcp_tools: options.enabledMcpTools as string[] | undefined, - // tools_to_execute: options.toolsToExecute as string[] | undefined, - tool_choice: options.askSageToolChoice, + tools, + tool_choice: toolChoice, reasoning_effort: options.reasoningEffort as | "low" | "medium" @@ -391,6 +421,22 @@ class Asksage extends BaseLLM { const data = (await response.json()) as AskSageResponse; + // Extract tool calls from response (check both top-level and choices format) + const rawToolCalls = + data.tool_calls || data.choices?.[0]?.message?.tool_calls; + + // Convert to ToolCallDelta format if present + const toolCalls: ToolCallDelta[] | undefined = rawToolCalls?.map( + (tc) => ({ + id: tc.id, + type: tc.type, + function: { + name: tc.function.name, + arguments: tc.function.arguments, + }, + }), + ); + const assistantMessage: ChatMessage = { role: "assistant", content: @@ -399,6 +445,7 @@ class Asksage extends BaseLLM { data.message || data.choices?.[0]?.message?.content || "", + ...(toolCalls && toolCalls.length > 0 ? { toolCalls } : {}), }; yield assistantMessage; From d105405488242a1d3b10fe9e56a6821579592fdc Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 13 Jan 2026 15:39:25 -0800 Subject: [PATCH 89/97] chore: update package lock for monaco update --- extensions/vscode/package-lock.json | 41 ++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 875c69bae..eaf9af461 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -35,7 +35,7 @@ "lru-cache": "^11.2.4", "minisearch": "^7.0.0", "mocha": "^11.7.5", - "monaco-editor": "^0.45.0", + "monaco-editor": "^0.55.1", "monaco-vscode-textmate-theme-converter": "^0.1.7", "ncp": "^2.0.0", "node-fetch": "^3.3.2", @@ -2815,6 +2815,13 @@ "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", "dev": true }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT", + "optional": true + }, "node_modules/@types/unist": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", @@ -5492,6 +5499,15 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, + "node_modules/dompurify": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.7.tgz", + "integrity": "sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==", + "license": "(MPL-2.0 OR Apache-2.0)", + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } + }, "node_modules/domutils": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", @@ -8675,6 +8691,18 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/marked": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.0.0.tgz", + "integrity": "sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", @@ -9557,9 +9585,14 @@ } }, "node_modules/monaco-editor": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.45.0.tgz", - "integrity": "sha512-mjv1G1ZzfEE3k9HZN0dQ2olMdwIfaeAAjFiwNprLfYNRSz7ctv9XuCT7gPtBGrMUeV1/iZzYKj17Khu1hxoHOA==" + "version": "0.55.1", + "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.55.1.tgz", + "integrity": "sha512-jz4x+TJNFHwHtwuV9vA9rMujcZRb0CEilTEwG2rRSpe/A7Jdkuj8xPKttCgOh+v/lkHy7HsZ64oj+q3xoAFl9A==", + "license": "MIT", + "dependencies": { + "dompurify": "3.2.7", + "marked": "14.0.0" + } }, "node_modules/monaco-vscode-textmate-theme-converter": { "version": "0.1.7", From f7323381fe1a150e24724ca8df5d34b0ccc8cd42 Mon Sep 17 00:00:00 2001 From: BekahHW <34313413+BekahHW@users.noreply.github.com> Date: Tue, 13 Jan 2026 19:10:43 -0500 Subject: [PATCH 90/97] docs: cloud agent guides (#9495) * Update Guides nav to include cloud agents * Add guide to cloud agents * Update for GEO * Add new folder structure and link * Add cloud agents taxonomy * Add mermaid diagram * Remove verbose line * Add when to use cloud agents guide * Add task to automation guide * Add cloud agents v cicd * Add operating cloud agents guide * Add to navigation * Make snyk guide clearer * Revise taxonomy for clarity and style * Clean up * Edit and Polish * Edit and Optimize * Beautify the mermaid chart * Add diagram for CICD + Continue * Change CTA * Add to overview guides page * Update docs/guides/cloud-agents/cloud-agents-taxonomy.mdx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * fix typo Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Fix indentation Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Fix spacing * Fix path to guide Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Refine wording in cloud agents guide * Move guides to top level * Remove next steps --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- docs/docs.json | 54 ++-- ...tomated-security-remediation-with-snyk.mdx | 279 ++++++++++++++++++ .../cloud-agents/cloud-agents-taxonomy.mdx | 238 +++++++++++++++ .../cloud-agents/cloud-agents-vs-ci.mdx | 127 ++++++++ .../cloud-agents/from-task-to-automation.mdx | 118 ++++++++ .../cloud-agents/guide-to-cloud-agents.mdx | 188 ++++++++++++ .../operating-cloud-agents-safely.mdx | 233 +++++++++++++++ .../cloud-agents/when-to-use-cloud-agents.mdx | 89 ++++++ docs/guides/overview.mdx | 11 + docs/mission-control/integrations/index.mdx | 2 +- 10 files changed, 1319 insertions(+), 20 deletions(-) create mode 100644 docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx create mode 100644 docs/guides/cloud-agents/cloud-agents-taxonomy.mdx create mode 100644 docs/guides/cloud-agents/cloud-agents-vs-ci.mdx create mode 100644 docs/guides/cloud-agents/from-task-to-automation.mdx create mode 100644 docs/guides/cloud-agents/guide-to-cloud-agents.mdx create mode 100644 docs/guides/cloud-agents/operating-cloud-agents-safely.mdx create mode 100644 docs/guides/cloud-agents/when-to-use-cloud-agents.mdx diff --git a/docs/docs.json b/docs/docs.json index cb02ca373..308a0e933 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -253,10 +253,26 @@ { "tab": "Guides", "groups": [ + { + "group": "Getting Started", + "icon": "rocket-launch", + "pages": ["guides/overview"] + }, + { + "group": "Cloud Agents", + "pages": [ + "guides/cloud-agents/cloud-agents-taxonomy", + "guides/cloud-agents/guide-to-cloud-agents", + "guides/cloud-agents/when-to-use-cloud-agents", + "guides/cloud-agents/from-task-to-automation", + "guides/cloud-agents/cloud-agents-vs-ci", + "guides/cloud-agents/operating-cloud-agents-safely", + "guides/cloud-agents/automated-security-remediation-with-snyk" + ] + }, { "group": "Guides", "pages": [ - "guides/overview", { "group": "Understanding Continue", "pages": [ @@ -288,26 +304,26 @@ "guides/notion-continue-guide", "guides/github-pr-review-bot" ] + }, + { + "group": "Cookbooks", + "icon": "book-open-cover", + "pages": [ + "guides/posthog-github-continuous-ai", + "guides/continue-docs-mcp-cookbook", + "guides/github-mcp-continue-cookbook", + "guides/atlassian-mcp-continue-cookbook", + "guides/sanity-mcp-continue-cookbook", + "guides/sentry-mcp-error-monitoring", + "guides/snyk-mcp-continue-cookbook", + "guides/supabase-mcp-database-workflow", + "guides/dlt-mcp-continue-cookbook", + "guides/netlify-mcp-continuous-deployment", + "guides/chrome-devtools-mcp-performance", + "guides/klavis-mcp-continue-cookbook" + ] } ] - }, - { - "group": "Cookbooks", - "icon": "book-open-cover", - "pages": [ - "guides/posthog-github-continuous-ai", - "guides/continue-docs-mcp-cookbook", - "guides/github-mcp-continue-cookbook", - "guides/atlassian-mcp-continue-cookbook", - "guides/sanity-mcp-continue-cookbook", - "guides/sentry-mcp-error-monitoring", - "guides/snyk-mcp-continue-cookbook", - "guides/supabase-mcp-database-workflow", - "guides/dlt-mcp-continue-cookbook", - "guides/netlify-mcp-continuous-deployment", - "guides/chrome-devtools-mcp-performance", - "guides/klavis-mcp-continue-cookbook" - ] } ] }, diff --git a/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx b/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx new file mode 100644 index 000000000..be4322f86 --- /dev/null +++ b/docs/guides/cloud-agents/automated-security-remediation-with-snyk.mdx @@ -0,0 +1,279 @@ +--- +title: "Automatically Remediate High & Critical Vulnerabilities with Cloud Agents" +description: "How teams use cloud agents to automatically investigate and remediate high and critical Snyk vulnerabilities safely, reviewably, and without a dedicated security team." +sidebarTitle: "Snyk Remediation" +--- + +## Why This Workflow Exists + +Most teams don’t struggle to *detect* security vulnerabilities. They struggle to *keep up with fixing them*. + +- alerts pile up +- critical issues linger +- fixes get deferred behind feature work +- security becomes reactive instead of routine + +This guide shows how teams use cloud agents to automatically remediate high and critical Snyk vulnerabilities without introducing risk or losing control. + + +**Who this is for?** +Full-stack teams without a dedicated AppSec or DevOps function who still need to ship securely. + + +## The Core Problem + + + + Snyk finds real issues, but teams can’t keep up with triage and fixes. + + + Security work interrupts feature delivery and breaks focus. + + + Many fixes are repetitive, low-risk, and still handled manually. + + + + +The risk isn’t that vulnerabilities exist. The risk is that known high-severity issues remain unfixed. + + +## Why use an Agent? (vs. Snyk's Native Auto-PRs) + +Snyk has an excellent "Automatic Fix" feature that opens PRs to upgrade vulnerable dependencies. However, because Snyk cannot run your application's build or test suite, these PRs often break the build and require human cleanup. + +Continue's Cloud Agent sits *on top* of Snyk to complete the engineering work: + +| Feature | Snyk Native Auto-PR | Continue Cloud Agent | +| :--- | :--- | :--- | +| **The Fix** | "Bump `lodash` to v4.17.21" | "Analyze security issue and create PR with fix" | +| **Context** | Vulnerability Database | Vuln DB + Security Impact Analysis | +| **Intelligence** |Deterministic (Always bumps version) | Reasoning: "Analyzes dependency risks" and suggests updates | +| **Result** | A PR that might break the build | A PR that is green and ready to merge | + + +Snyk tells you *what* to upgrade. The Cloud Agent does the *engineering work* to make that upgrade safe. + + +## 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. + + + + - High & critical Snyk vulnerability events + - Repository context + - Dependency graph and version constraints + + + + - Draft or ready PR with remediation + - Clear summary of risk and fix + + + + +The agent doesn’t silently change production code. It produces **reviewable security PRs**. + + +## How the Workflow Runs + + + + A new **high or critical** vulnerability is detected by Snyk + (event-driven) or during a scheduled scan. + + + + The agent investigates: + - the vulnerable dependency + - available remediation paths + - breaking-change risk + + + + The agent: + - applies the minimal safe update + - avoids unnecessary refactors + - preserves existing behavior + + + + A PR is created with: + - a clear title + - summary of the vulnerability + - explanation of the fix + + + + A developer reviews and merges (or adjusts) the fix. + + + +## The Agent Configuration + +Continue's Snyk Cloud Agent is built from these core components: + + + + **Webhook:** Snyk new vulnerability event + + + **Snyk MCP:** Fetch vulnerability details + + + **GitHub CLI:** Tells the agent how to create PRs + + + + +```markdown Remediation Prompt expandable +A new Snyk vulnerability has been detected. Please investigate and resolve the issue. This should include the following steps: + +**Step 1: Investigate the Issue** +Make sure you understand the vulnerability, the options for resolution, and what their consequences are. + +**Step 2: Implement Fix** +- Focus on fixing the immediate issue identified +- Avoid overdoing it with error handling, cleaning up other problems, etc. +- Avoid making breaking changes +- Ensure the solution is robust and follows best practices. + +**Step 3: Create Draft Pull Request** +Create a draft pull request with the following structure: + +-- +**PR Title:** [Snyk] + +## Issue + +**Snyk Link:** []() +**Issue Type:** `` +**Priority:** +**Summary:** + +``` + +## Governance: How This Stays Safe + + + + **Assisted automation** + + - Agent runs automatically + - PRs require human approval + - CI must pass before merge + + *This is where most teams should live.* + + + + **Manual / On-Demand** + + - Agent is triggered manually + - Used to validate behavior and build trust + + + + **Selective Automation** + + - Narrow classes of fixes only + - Patch-level updates + - Strict constraints and rollback paths + + + +## What This Replaces (and What It Doesn’t) + + + + - manual dependency bump PRs + - repetitive vulnerability triage + - security work that constantly interrupts feature delivery + + + + - security design reviews + - architectural threat modeling + - decisions about major upgrades or breaking changes + + + + +## Why Cloud Agents (Not Just CI or Scripts) for Automatic Security Remediation + + + + CI can *detect* vulnerabilities, + but it can’t reason about fixes or propose patches. + + + + Cloud agents: + - interpret Snyk findings + - choose appropriate fixes + - produce PRs developers can review + + + + +CI enforces. Cloud agents **respond**. + + +## Security Benefits Teams See + + + + High-severity issues are fixed days or weeks sooner. + + + Developers review PRs instead of context-switching to triage. + + + Vulnerabilities stop piling up and become routine maintenance. + + + + +## A Good First Setup + + +- Only **high & critical** vulnerabilities +- One repo or service +- PRs only (no direct merges) +- CI required before merge +- Named owner for review + + +## Where This Fits in the Bigger Picture + +This workflow is often a team’s **first successful cloud agent** because: + +- the ROI is immediate +- the risk is bounded +- the output is reviewable +- leadership already cares about the problem + +Once this is working, teams often expand into: +- error remediation +- dependency hygiene +- operational cleanup + +## Where to Go Next + + + + More information on the Continue Snyk Integration and how you can get started today. + + + + Get started by adding the Snyk integration to your projects + + + + +## One Sentence to Remember + + +Cloud agents turn security remediation from an interruption into routine maintenance. + \ No newline at end of file diff --git a/docs/guides/cloud-agents/cloud-agents-taxonomy.mdx b/docs/guides/cloud-agents/cloud-agents-taxonomy.mdx new file mode 100644 index 000000000..4b2b16e5b --- /dev/null +++ b/docs/guides/cloud-agents/cloud-agents-taxonomy.mdx @@ -0,0 +1,238 @@ +--- +title: "The Cloud Agents Taxonomy" +description: "A practical taxonomy of cloud agents for software teams, including definitions, categories, triggers, and when to use them safely in production." +sidebarTitle: "Cloud Agents Taxonomy" +--- + +## Why This Taxonomy Exists + +“Cloud agents” is a term that gets used to describe everything from cron jobs to IDE copilots. + +That ambiguity causes teams to: +- choose the wrong abstraction +- automate too early +- or avoid cloud agents entirely because they feel risky + +This guide exists to: + +> **Define what cloud agents actually are, how they differ from other agents, and when they make sense for software teams.** + +## A Clear Definition of Cloud Agents + + +A **cloud agent** is an AI-driven process that runs on remote infrastructure, is triggered by tasks, schedules, or external events, and uses reasoning over changing inputs to produce reviewable outcomes across shared engineering systems. + + +Key characteristics: +- runs outside a developer’s local environment +- operates on shared team context (repos, alerts, analytics, infra) +- produces reviewable outcomes (PRs, reports, actions) +- can run asynchronously and repeatedly + +Cloud agents exist to **handle work that benefits from reasoning, shared context, and reviewability.** + +## What Cloud Agents Are Often Confused With + +Cloud agents are often confused with other tools. + + + + IDE agents focus on individual productivity and local context. Cloud agents operate on shared systems and team-owned work. + + + + Cron is a trigger. Cloud agents reason over changing inputs and produce reviewable outcomes. + + + + Scripts execute fixed logic. Cloud agents apply reasoning and shared context even for a single run. + + + + Cloud agents still require review, ownership, and guardrails. + + + +## The Two Axes That Matter + +Cloud agents are best understood along **two dimensions**: +1. **What triggers them** +2. **How they’re governed** + +Everything else is implementation detail. + +```mermaid +quadrantChart + title Cloud Agents Taxonomy + x-axis One-Off --> Event-Driven + y-axis Manual --> Automated + + quadrant-1 Automated & Event-Driven + quadrant-2 Manual & Event-Driven + quadrant-3 Manual & One-Off + quadrant-4 Automated & Scheduled + + "Weekly dependency updates" : [0.65, 0.85] + "Security scan with PR review" : [0.75, 0.60] + "One-off repo audit" : [0.25, 0.25] + "Nightly analytics summary" : [0.45, 0.75] + "Incident response triage" : [0.85, 0.40] +``` + +*Most teams start bottom-left and move diagonally as trust increases to create their [Continuous AI Workflow](../continuous-ai).* + +## Axis 1: Cloud Agent Trigger Type + +### 1. One-Off Cloud Agents +*Manually triggered when a human explicitly dispatches work to an agent. One-off cloud agents are first-class agents that differ by trigger, not by capability.* + + + + - Analyze the top recurring Sentry errors + - Audit a repo for security issues + - Summarize system behavior + + + - Unknown scope + - Exploratory work + - Building confidence before automation + + + +### 2. Scheduled Cloud Agents +*Time-based triggers that run on a fixed cadence (daily, weekly, hourly).* + + + + - Weekly vulnerability scans + - Nightly analytics summaries + - Regular dependency updates + + + - Predictable recurring work + - Backlog prevention + - Drift detection + + + +### 3. Event-Driven Cloud Agents +*Signal-based triggers that react to real-time events from external systems.* + + + + - New high-severity alert + - Failed deployment + - Critical security finding + + + - Operational workflows + - Incident response + - Time-sensitive fixes + + + +## Axis 2: Cloud Agent Governance Level + +This is where most teams get into trouble. + + + + - Human decides when the agent runs + - Human reviews everything + + *Safest starting point.* + + + + - Agent runs automatically + - Human approves outcomes + + *Where most teams should live first.* + + + + - Agent runs unattended + - Outcomes merge or act directly + + *Earned over time — not assumed.* + + + + +Cloud agents don’t fail because they’re autonomous. They fail because teams skip the control phase. + + +## Cloud Agents vs Local / IDE Agents + +| Local / IDE Agents | Cloud Agents | +|------------------|-------------| +| Individual context | Team context | +| Short-lived | Long-running | +| Developer-initiated | System-initiated | +| Productivity focus | Reliability & ownership focus | + +Both are useful. They solve different problems. + +## Why Cloud Agents Exist at All + +Most engineering pain is recurrence. + +- alerts repeat +- security issues resurface +- operational work interrupts feature work + +Cloud agent workflows exist to: +- notice repetition +- respond consistently +- reduce future interruptions + +The goal is not more automation. The goal is less work over time. + +## When Cloud Agents Make Sense + +Use cloud agents when: +- the same class of issue keeps returning +- the cost is in handling, not solving +- work spans multiple systems +- review and traceability matter + +Avoid them when: +- the problem is novel +- ownership is unclear +- blast radius isn’t understood yet + +## The Architectural Reality + +As teams adopt cloud agents, they discover: + +> **Agents alone don’t scale without control and visibility.** + +Production cloud agents eventually require: +- a shared place to review runs +- a record of decisions +- adjustable prompts and rules +- gradual automation + +Without this, cloud agents become brittle fast. + +--- + +## Where to Go Next + + + + Learn how cloud agents are implemented and used in practice. + + + + Explore how teams manage cloud agents safely at scale. + + + +--- + +## One Sentence to Remember + + +Cloud agents are how teams take ownership of work that happens after code ships. + diff --git a/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx b/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx new file mode 100644 index 000000000..88b540e5a --- /dev/null +++ b/docs/guides/cloud-agents/cloud-agents-vs-ci.mdx @@ -0,0 +1,127 @@ +--- +title: "Cloud Agents vs CI/CD" +description: "Understand when cloud agents complement CI/CD jobs and when CI is the better tool." +sidebarTitle: "Vs CI/CD" +--- + + +Many teams see cloud agents and think: “Isn’t this just CI?” Sometimes the answer is yes and that’s good. CI is excellent. This guide explains the boundary so you choose the right tool. + + + +## What CI/CD Is Great At + + + + - **Deterministic** — the same inputs produce the same results + - **Repeatable** — runs consistently on every commit + - **Policy-enforced** — clear pass/fail rules + - **Strongly testable** — success can be verified automatically + + + + - Run tests + - Build artifacts + - Enforce lint rules + - Run static analysis + - Execute fixed scripts + + + +## Where CI/CD Breaks Down + +CI/CD is weaker when the work requires: +- interpretation of changing signals +- multi-system context (errors + analytics + issues) +- generating patches with reasoning +- summarizing incidents across tools +- deciding next steps based on incomplete information + + +## What Cloud Agents Add + +Cloud agents are useful when the job is: +- triage + propose +- interpret + summarize +- patch + open a PR +- coordinate across systems + + +CI is the best executor of deterministic checks. Cloud agents are best at interpreting signals and producing reviewable outcomes. + + + +## Practical Pairings for CI + Cloud Agents + +```mermaid +sequenceDiagram + participant Dev as Developer + participant Repo as Code Repository + participant CI as CI Pipeline (GitHub Actions) + participant MC as Mission Control + participant Agent as Cloud Agent (Continue) + + Dev->>Repo: git push (feature-branch) + Repo->>CI: Trigger Build & Test + + rect rgb(255, 240, 240) + Note over CI: ❌ Build Fails (Lint/Test Error) + CI->>MC: Emit failure + logs + MC->>Agent: Dispatch "Fix Build" task (attach logs + repo context) + end + + Note over Agent: 1. Analyzes error logs
2. Proposes minimal fix + Agent->>Repo: Push fix to agent branch + Agent->>Repo: Open **draft PR** ("[Fix Build] ") + + Repo->>CI: Trigger Build & Test (PR checks) + + rect rgb(240, 255, 240) + Note over CI: ✅ Build Passes (PR checks) + end + + CI->>MC: Report status on PR + MC->>Dev: Notify "Draft PR ready for review" + ``` +### Pattern 1: CI detects, Agent responds + +- CI detects failure or policy issue +- Cloud agent proposes fix and opens PR +- Human reviews + +### Pattern 2: Agent prepares, CI verifies +- Cloud agent proposes changes +- CI runs tests and checks +- PR is only mergeable if CI passes + +### Pattern 3: Agent maintains, CI enforces +- Agent keeps dependencies tidy weekly +- CI ensures nothing breaks on merge + + +## A Simple Decision Table + +| If your work is... | Prefer... | +|---|---| +| deterministic & testable | CI/CD | +| interpretive & contextual | Cloud agent | +| needs a patch proposal | Cloud agent + CI validation | +| needs strict policy enforcement | CI/CD | + +--- + +## 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/from-task-to-automation.mdx b/docs/guides/cloud-agents/from-task-to-automation.mdx new file mode 100644 index 000000000..f9f633c50 --- /dev/null +++ b/docs/guides/cloud-agents/from-task-to-automation.mdx @@ -0,0 +1,118 @@ +--- +title: "From Task to Automation: How Cloud Agents Earn Trust" +description: "A practical path from one-off tasks to safe automation, including governance levels, review, and failure modes." +sidebarTitle: "Task → Automation" +--- + +## The Core Idea + +Cloud agents are powerful, but the real skill is **governance**: knowing what should be manual, assisted, or automated. + + + If you want the taxonomy first, including more information on trigger types + governance levels, check out the [Cloud Agents Taxonomy guide](/guides/cloud-agents/cloud-agents-taxonomy). + + +## The Cloud Agent Trust Ladder + +```mermaid +flowchart TD + A[Manual / One-Off Task] --> B[Assisted Runs] + B --> C[Scheduled Automation] + C --> D[Event-Driven Automation] + B --> E[Stop / Re-scope] + C --> E + D --> E + %% Styling + classDef stage fill:#F4F1FF,stroke:#7B61FF,stroke-width:2px,rx:12,ry:12,color:#1F2937; + classDef exit fill:#FFFFFF,stroke:#7B61FF,stroke-width:2px,rx:12,ry:12,color:#1F2937; + + class A,B,C,D stage + class E exit + + %% Layout hints + linkStyle 0,1,2 stroke:#7B61FF,stroke-width:2px; + linkStyle 3,4,5 stroke:#9CA3AF,stroke-width:2px,stroke-dasharray:4 4; +``` + + + + Most teams should spend the most time in **Assisted** mode. That’s where trust compounds. + + +## Stage 1: Manual Tasks (Human-Triggered) + + *Goal: Learn the pattern and define review criteria.* + + What you do + - Dispatch a task + - Review the output carefully + - Capture what “good” looks like + + Exit criteria + - You can describe expected output in plain language + - Failures are understandable (not mysterious) + - The work is clearly recurring + +⸻ + +## Stage 2: Assisted Runs (Auto-run, Human Approval) +*Goal: Reduce handling cost without increasing risk.* + +What changes +- The agent runs based on a trigger (schedule/event) +- A human reviews outcomes before merge/action + +Best practices + - Require PRs/diffs as outputs + - Use checklists for review + - Keep blast radius small (one repo, one class of issues) + +⸻ + +## Stage 3: Scheduled Automation + +*Goal: Prevent backlog by handling predictable work on a cadence.* + +Best fits + - dependency hygiene + - weekly security remediation + - routine cleanup + +Guardrails + - bounded scope + - predictable triggers + - clear rollback path + +⸻ + +## Stage 4: Event-Driven Automation +*Goal: Respond quickly to high-signal events.* + +Best fits + - high-severity security findings + - production regressions with clear patterns + - incident triage summaries + +Guardrails + - tight scope + - rapid feedback loops + - human review of outcomes + +## Common Cloud Agent Failure Modes (and Fixes) + + + **Fix:** Start manual. Write explicit acceptance criteria. Move to assisted only after you can review quickly. + + + **Fix:** Restrict to one repo, one class of issues, one trigger. + + + **Fix:** Assign ownership before automation. Automation without ownership creates invisible work. + + + **Fix:** Prefer PRs, diffs, and reports over “actions taken silently.” + + + + + diff --git a/docs/guides/cloud-agents/guide-to-cloud-agents.mdx b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx new file mode 100644 index 000000000..e1f530205 --- /dev/null +++ b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx @@ -0,0 +1,188 @@ +--- +title: "The Developer’s Guide to Cloud Agents" +description: "Learn how Cloud Agents are implemented and used in practice, from on-demand tasks to automated workflows in Mission Control." +--- + + +This guide assumes you already understand what Cloud Agents are and when to use them. If you’re looking for a clear definition, categories, and mental models, start with the **[Cloud Agents Taxonomy](../cloud-agents/cloud-agents-taxonomy)**. + + +## Introduction: Moving Beyond "Chat" + +For the last few years, AI coding has been defined by the Local Copilot: a chat window in your IDE that helps you write a function or explain a snippet. It is a powerful tool, but it has a hard limit because it requires *you* to be the driver. If you close your laptop, it stops working. If you switch contexts, it loses focus. + + + + Cloud Agents move AI execution from your local machine to remote infrastructure. Instead of just "chatting" with a model, you **dispatch work** to it. Whether you trigger it manually from a task list or set it to run automatically on a schedule, the heavy lifting happens in the cloud, unblocking your local environment and enabling true automation. + + + +## How Cloud Agents Are Implemented in Practice + +Cloud Agents are AI-driven processes that run on remote infrastructure and are triggered by tasks, schedules, or events across a team’s engineering systems. + +With Continue, Cloud Agents run in [Mission Control](../../mission-control), where teams configure execution, connect tools, review outcomes, and decide which workflows become automated over time. + + + + Because they run on persistent cloud infrastructure, these agents are not limited to the files currently open in your text editor. They maintain secure connections to your broader engineering ecosystem—GitHub, Linear, Sentry, Snyk, and more—allowing them to read code, open Pull Requests, and triage alerts without human supervision. + + + +### Common Components in a Production Cloud Agent + +Most production Cloud Agents share a common structure that balances reasoning, action, and guardrails. + + + + + The core instruction defining the task. + + + + + + The LLM powering the reasoning. + + + + + + The capabilities to fetch data or take action. + + + + + + The guardrails ensuring the output matches your team's coding standards. + + + + +## The Two Modes: Interactive vs. Automated + +This section focuses on *how* Cloud Agents are executed day to day, not *whether* they should be used. + +The defining feature of a Cloud Agent isn't just *automation*; it is **availability**. Because the compute is remote, you can interact with Cloud Agents in two distinct ways depending on the complexity of the task: + + + + + ### Human-in-the-Loop Approach + + You can trigger agents manually (with Continue, use the [Continue CLI](../../cli/overview) or [Mission Control](../../mission-control)) when you need a one-off task that you want to review. + + + + You send a "Refactor" task to a Cloud Agent. It clones the repo, runs the refactor in the cloud, and creates a PR for you to approve. **You can close your laptop while it works.** + + + + **Best for:** + - Exploring agent capabilities + - Fixes you don't want to break your focus for + - Tasks requiring human review before deployment + + + + + + ### Headless Approach + + You configure these agents to run in the background based on triggers, with no human intervention required until the final PR review. + + + + 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. + + + + **Best for:** + - Continuous security monitoring + - Automated dependency updates without breaking things + - Event-driven workflows + + + + + +## Why "Cloud" Matters + +The distinction between running an agent locally (TUI/IDE) and in the cloud (Mission Control) comes down to **scope** and **reliability**. + + + + + - **Local Agents:** Run on your local machine + - **Cloud Agents:** Run on remote cloud infrastructure + + Cloud Agents free up your local resources for development work while heavy AI tasks run in the background. + + + + + + - **Local Agents:** Fast, private iteration and "single-player" coding + - **Cloud Agents:** Collaborative tasks, heavy processing, and reliable automation + + Choose local for quick iterations, cloud for team-wide workflows. + + + + + + - **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 can access your entire engineering ecosystem, not just what's visible in your IDE. + + + + + + - **Local Agents:** Manual Chat / CLI + - **Cloud Agents:** Hybrid approach—Manual Chat, Cron Schedules, or Event Webhooks + + Cloud Agents support both manual execution and automated scheduling. + + + + + + - **Local Agents:** Stop when you close your laptop + - **Cloud Agents:** **Always On**—Runs asynchronously in the background + + This is the key differentiator: Cloud Agents work 24/7, even when you're offline. + + + + +## Getting Started + +Ready to build your first Cloud Agent? Check out these resources: + + + + + Browse ready-to-use AI agents in Continue Mission Control. + + + + + + Learn how to build custom Cloud Agents. + + + + + + Connect your agents to external services. + + + + + + Get started with Continue Mission Control. + + + diff --git a/docs/guides/cloud-agents/operating-cloud-agents-safely.mdx b/docs/guides/cloud-agents/operating-cloud-agents-safely.mdx new file mode 100644 index 000000000..a6c427e4a --- /dev/null +++ b/docs/guides/cloud-agents/operating-cloud-agents-safely.mdx @@ -0,0 +1,233 @@ +--- +title: "Operating Cloud Agents Safely" +description: "Guardrails for running cloud agents in production: ownership, permissions, review, auditability, and blast radius." +sidebarTitle: "Operate Safely" +--- + + + +Cloud agents should reduce risk and interruptions not introduce new ones. This guide covers practical guardrails that make cloud agents safe for real teams. + + +## The Safety Baseline for Cloud Agents + + + + Every workflow has a named owner and an escalation path. + + + Outputs are diffable, explainable, and revertible. + + + One repo → + one workflow → + one trigger. + *Expand only after success.* + + + + +## A Safe Adoption Path + + + + Run as a one-off task. Validate cloud agent outputs and define acceptance criteria. + + + + Allow automated triggering, but keep human approval before merge/action. + + + + Only automate workflows with predictable blast radius, clear rollback, and stable output quality. + + + + +Cloud agents don’t fail because they’re autonomous. +They fail because teams automate before they’ve defined review criteria and ownership. + + +## 1) Ownership Comes First + +Before you automate anything, make these true: + + + + One person is responsible for: + - reviewing outcomes + - tuning prompts/rules + - responding to failures + + + + Decide what happens when: + - the cloud agent can’t complete work + - output confidence is low + - a run fails repeatedly + + + + + + - The workflow has a dedicated Slack channel or notification route + - There is a “stop the line” decision owner + - Ownership does not rotate implicitly (it’s explicit) + + + + - “Whoever sees it first” is the owner + - Alerts route to a general channel with no responder + - No one feels safe turning it off + + + +## 2) Constrain Blast Radius + +The fastest path to trust is a smaller blast radius. + + + + Pick a low-risk repo or a single service to prove value. + + + + Narrow the scope: one recurring error type, one vuln class, one cleanup task. + + + + Set expectations like “no more than N files” or “single dependency PRs.” + + + + +Prefer PRs and reports over direct writes or production actions. + + +## 3) Review Is the Safety Rail + +Treat every cloud agent run like you’d treat a teammate’s PR. + + + + Use a lightweight checklist: + + - [ ] Does the change match the prompt intent? + - [ ] Is the blast radius clear? + - [ ] Are tests updated or unaffected? + - [ ] Are failure cases acceptable? + - [ ] Is rollback straightforward? + + + + Reviewable outputs are: + + - **Diffable** (PRs, patches, file changes) + - **Explainable** (short rationale, linked inputs) + - **Revertible** (easy rollback path) + + + + Block merge when: + + - scope is unexpectedly broad + - behavior changes are unclear + - it introduces new dependencies without justification + - it “fixes” by deleting or disabling core functionality + + + +## 4) Permissions: Least Privilege by Default + +Give agents the smallest set of permissions required for the job. + + + + - Prefer **read-only** until the workflow proves reliable + - Prefer **PR creation** over direct push + - Scope external tools (Sentry/Snyk/etc.) to the minimum endpoints + + + + - Level 1: Read repo + create report + - Level 2: Create PRs (drafts first) + - Level 3: Update PRs based on review comments + - Level 4: Automate merges only for narrow, proven workflows + + + + +Do not start with permissions that allow silent writes to main or production mutations. + + +## 5) Observability & Auditability + +If you can’t answer these questions, you don’t have a safe system yet: + + + + - What ran? + - Why did it run? + - What inputs did it use? + + + + - What did it change? + - Who reviewed/approved it? + - Did it succeed or require intervention? + + + + +Auditability turns “AI did something” into “we can explain what happened.” +That’s the difference between experimentation and production. + + +## 6) Failure Handling & Safe Defaults + +Set defaults that fail safely. + + + + - **Fail closed** (no silent actions) + - If uncertain, produce a **report** instead of a change + + + + - External tool API is unavailable + - Repo state changed mid-run + - Cloud agent proposes a fix that doesn’t pass CI + - Output becomes noisy (too many PRs/reports) + + + + - Pause the workflow + - Reduce scope / increase constraints + - Move back a governance level (Automated → Assisted → Manual) + - Update acceptance criteria and rerun + + + +## Pre-Flight Checklist + + +- [ ] Workflow owner is named +- [ ] Trigger is defined and bounded +- [ ] Outputs are reviewable (PR/report) +- [ ] Permissions follow least-privilege +- [ ] Blast radius is constrained +- [ ] Failure handling is defined +- [ ] There is a way to pause/disable quickly + + +## Where to Go Next + + + + The trust ladder for moving from manual to automated safely. + + + + Proven starter workflow with clear triggers and review points. + + \ No newline at end of file diff --git a/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx b/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx new file mode 100644 index 000000000..28caf7a0a --- /dev/null +++ b/docs/guides/cloud-agents/when-to-use-cloud-agents.mdx @@ -0,0 +1,89 @@ +--- +title: "When to Use Cloud Agents (and When Not To)" +description: "A decision guide for choosing cloud agents vs scripts, CI jobs, or local agents—plus a checklist for safe adoption." +sidebarTitle: "When to Use" +--- + +## When Cloud Agents Make Sense +This guide helps you decide whether **cloud agents** are the right abstraction for your problem. + + +Use cloud agents when the work is **recurring**, spans **multiple systems**, and needs **team-owned outcomes**. If you want the canonical definition and taxonomy first, read: [Cloud Agents Taxonomy](/guides/cloud-agents/cloud-agents-taxonomy). + + +Use cloud agents when: + +- The same class of issue returns weekly (or daily) +- The work is mostly handling (triage, patching, cleanup), not discovery +- Inputs come from tools like GitHub, error monitoring, security scanners, analytics +- You need a reviewable outcome (PR, report, ticket update) +- You want to reduce interruptions, not just respond faster + + + + + - security remediation + - recurring error triage + - dependency hygiene + - analytics-driven fixes + + + + - task dispatch + - schedules + - event webhooks + + + +## When Cloud Agents Are a Bad Idea + +Avoid cloud agents when: + +- The problem is novel and poorly understood +- The blast radius is unclear +- Ownership is ambiguous (“someone should handle this”) +- You can’t define review criteria +- The work is better solved by eliminating the root cause directly + + +Cloud agents amplify whatever system you already have. If ownership is unclear, automation will make it worse. + + + +## Cloud Agents vs Alternatives + +## Comparison Matrix + +| Feature | Scripts / CI Jobs | Local Agents (TUI) | Cloud Agents (Headless) | +| :--- | :--- | :--- | :--- | +| **Logic** | Deterministic (If/Then) | AI / Probabilistic | AI / Probabilistic | +| **Context** | Inputs only | Full Repo + User Chat | Repo + Integrations (Snyk/GitHub/etc.) | +| **Interaction** | None (Logs only) | Interactive (Conversations) | Autonomous (Fire & Forget) | +| **Tool Access** | Unlimited | All (Ask permission supported) | Safe (No "Ask" tools) | +| **Best For** | Testing, Building, Linting | Debugging, Refactoring, Exploration | Triage, Remediation, Reporting | + +## The Decision Checklist + +Use cloud agents if you can say “yes” to most of these: + +- [ ] We’ve seen this problem at least twice +- [ ] Inputs come from shared systems (alerts, issues, analytics) +- [ ] We can define what “good output” looks like +- [ ] A PR/report is an acceptable artifact +- [ ] Someone owns reviewing the result +- [ ] We can start in a manual or assisted mode + + +If you’re unsure, start with a one-off [task](../../mission-control/tasks) and treat it like an experiment. + + +## 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/overview.mdx b/docs/guides/overview.mdx index f6eae2c06..fc601ca63 100644 --- a/docs/guides/overview.mdx +++ b/docs/guides/overview.mdx @@ -9,6 +9,17 @@ description: "Comprehensive collection of practical guides for Continue includin - [How to Self-Host a Model](/guides/how-to-self-host-a-model) - Self-hosting AI models - [Running Continue Without Internet](/guides/running-continue-without-internet) - Offline development setup +## Cloud Agents + +- [Cloud Agents Taxonomy](/guides/cloud-agents/cloud-agents-taxonomy) - Different types of cloud agents and their use cases +- [Developers Guide to Cloud Agents](/guides/cloud-agents/guide-to-cloud-agents) - Overview of cloud agents and their benefits +- [When to Use Cloud Agents](/guides/cloud-agents/when-to-use-cloud-agents) - Deciding when cloud agents are the right tool +- [From Manual to Automated Cloud Agents](/guides/cloud-agents/from-task-to-automation) - Transitioning from manual to automated workflows +- [Cloud Agents vs CI/CD](/guides/cloud-agents/cloud-agents-vs-ci) - When to use cloud agents vs CI/CD pipelines +- [Operating Cloud Agents Safely](/guides/cloud-agents/operating-cloud-agents-safely) - Best practices for secure cloud agent operation +- [Automated Security Remediation with Snyk](/guides/cloud-agents/automated-security-remediation-with-snyk) - Using cloud agents for security fixes + + ## Continuous AI - [Continuous AI: A Developer's Guide](/guides/continuous-ai) - Integrating AI into development workflows diff --git a/docs/mission-control/integrations/index.mdx b/docs/mission-control/integrations/index.mdx index 869afbc1a..4584fc4e7 100644 --- a/docs/mission-control/integrations/index.mdx +++ b/docs/mission-control/integrations/index.mdx @@ -21,7 +21,7 @@ Mission Control currently supports these first-class Cloud Agent integrations: - Trigger Agents automatically when new Sentry issues appear. + Trigger Cloud Agents automatically when new Sentry issues appear. From 44fba34d296e47e9a612048078c55362a3743e54 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 13 Jan 2026 16:42:24 -0800 Subject: [PATCH 91/97] Security updates: upgrade @modelcontextprotocol/sdk and @reduxjs/toolkit (#9498) - Upgrade @modelcontextprotocol/sdk from 1.24.0 to 1.25.2 (fixes SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802 ReDoS vulnerability) - Upgrade @reduxjs/toolkit from 2.3.0 to 2.11.2 (fixes SNYK-JS-DAGRED3ES-13110069 prototype pollution vulnerability) - Update core/package-lock.json and gui/package-lock.json with latest dependencies Generated with [Continue](https://continue.dev) Co-authored-by: RomneyDa Co-authored-by: Continue --- core/package-lock.json | 2 +- core/package.json | 2 +- gui/package-lock.json | 20 +++++++++++--------- gui/package.json | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/core/package-lock.json b/core/package-lock.json index 221dcca25..1bebe5fb5 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -19,7 +19,7 @@ "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.24.0", + "@modelcontextprotocol/sdk": "^1.25.2", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", diff --git a/core/package.json b/core/package.json index 023cecf70..6b577f51e 100644 --- a/core/package.json +++ b/core/package.json @@ -64,7 +64,7 @@ "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.24.0", + "@modelcontextprotocol/sdk": "^1.25.2", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", diff --git a/gui/package-lock.json b/gui/package-lock.json index a98a1cbb7..328c5a148 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -12,7 +12,7 @@ "@headlessui/react": "^2.2.0", "@heroicons/react": "^2.0.18", "@panzoom/panzoom": "^4.6.0", - "@reduxjs/toolkit": "^2.3.0", + "@reduxjs/toolkit": "^2.11.2", "@sentry/react": "^9.43.0", "@sentry/vite-plugin": "^4.0.2", "@tiptap/core": "^2.27.0", @@ -126,7 +126,7 @@ "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.24.0", + "@modelcontextprotocol/sdk": "^1.25.2", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", @@ -2086,13 +2086,14 @@ } }, "node_modules/@reduxjs/toolkit": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.9.0.tgz", - "integrity": "sha512-fSfQlSRu9Z5yBkvsNhYF2rPS8cGXn/TZVrlwN1948QyZ8xMZ0JvP50S2acZNaf+o63u6aEeMjipFyksjIcWrog==", + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.11.2.tgz", + "integrity": "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ==", + "license": "MIT", "dependencies": { "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", - "immer": "^10.0.3", + "immer": "^11.0.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.1.0" @@ -8357,9 +8358,10 @@ } }, "node_modules/immer": { - "version": "10.1.3", - "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.3.tgz", - "integrity": "sha512-tmjF/k8QDKydUlm3mZU+tjM6zeq9/fFpPqH9SzWmBnVVKsPBg/V66qsMwb3/Bo90cgUN+ghdVBess+hPsxUyRw==", + "version": "11.1.3", + "resolved": "https://registry.npmjs.org/immer/-/immer-11.1.3.tgz", + "integrity": "sha512-6jQTc5z0KJFtr1UgFpIL3N9XSC3saRaI9PwWtzM2pSqkNGtiNkYY2OSwkOGDK2XcTRcLb1pi/aNkKZz0nxVH4Q==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/immer" diff --git a/gui/package.json b/gui/package.json index bbf2cc4d7..24547c7c7 100644 --- a/gui/package.json +++ b/gui/package.json @@ -21,7 +21,7 @@ "@headlessui/react": "^2.2.0", "@heroicons/react": "^2.0.18", "@panzoom/panzoom": "^4.6.0", - "@reduxjs/toolkit": "^2.3.0", + "@reduxjs/toolkit": "^2.11.2", "@sentry/react": "^9.43.0", "@sentry/vite-plugin": "^4.0.2", "@tiptap/core": "^2.27.0", From 9448930f6094cf46dff5001664c9033312072edc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 14 Jan 2026 04:30:01 +0000 Subject: [PATCH 92/97] fix: upgrade @sentry/profiling-node from 9.46.0 to 9.47.1 Snyk has created this PR to upgrade @sentry/profiling-node from 9.46.0 to 9.47.1. See this package in npm: @sentry/profiling-node See this project in Snyk: https://app.snyk.io/org/continue-dev-inc.-default/project/e65f7c5c-f4c9-43c7-a439-4aa9a53f831f?utm_source=github&utm_medium=referral&page=upgrade-pr --- extensions/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cli/package.json b/extensions/cli/package.json index 3acb225ce..98e2b26d5 100644 --- a/extensions/cli/package.json +++ b/extensions/cli/package.json @@ -44,7 +44,7 @@ }, "homepage": "https://continue.dev", "dependencies": { - "@sentry/profiling-node": "^9.43.0", + "@sentry/profiling-node": "^9.47.1", "fdir": "^6.4.2", "find-up": "^8.0.0", "fzf": "^0.5.2", From c4fe9a6c98809f0f71b0a9fa0267c0f12304cc48 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 14 Jan 2026 10:49:55 -0800 Subject: [PATCH 93/97] chore: cli package lock udpate --- extensions/cli/package-lock.json | 108 ++++++++++++------------------- 1 file changed, 42 insertions(+), 66 deletions(-) diff --git a/extensions/cli/package-lock.json b/extensions/cli/package-lock.json index b86896f4f..7d4dd8b17 100644 --- a/extensions/cli/package-lock.json +++ b/extensions/cli/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-dev", "license": "Apache-2.0", "dependencies": { - "@sentry/profiling-node": "^9.43.0", + "@sentry/profiling-node": "^9.47.1", "fdir": "^6.4.2", "find-up": "^8.0.0", "fzf": "^0.5.2", @@ -120,16 +120,16 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.62.0", - "@aws-sdk/client-bedrock-runtime": "^3.779.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", - "@aws-sdk/credential-providers": "^3.778.0", + "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.13", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.24.0", + "@modelcontextprotocol/sdk": "^1.25.2", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", @@ -275,8 +275,8 @@ "@ai-sdk/anthropic": "^1.0.10", "@ai-sdk/openai": "^1.0.10", "@anthropic-ai/sdk": "^0.67.0", - "@aws-sdk/client-bedrock-runtime": "^3.929.0", - "@aws-sdk/credential-providers": "^3.929.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", + "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "^1.36.0", "@continuedev/fetch": "^1.6.0", @@ -520,7 +520,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" }, @@ -544,7 +543,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" } @@ -1809,7 +1807,6 @@ "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.1", @@ -1980,7 +1977,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -2002,7 +1998,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-2.0.1.tgz", "integrity": "sha512-XuY23lSI3d4PEqKA+7SLtAgwqIfc6E/E9eAQWLN1vlpC53ybO3o6jW4BsXo1xvz9lYyyWItfQDDLzezER01mCw==", "license": "Apache-2.0", - "peer": true, "engines": { "node": "^18.19.0 || >=20.6.0" }, @@ -2015,7 +2010,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.0.1.tgz", "integrity": "sha512-MaZk9SJIDgo1peKevlbhP6+IwIiNPNmswNL4AF0WaQJLbHXjr9SrZMgS12+iqr9ToV4ZVosCcc0f8Rg67LXjxw==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/semantic-conventions": "^1.29.0" }, @@ -2257,7 +2251,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.203.0.tgz", "integrity": "sha512-ke1qyM+3AK2zPuBPb6Hk/GCsc5ewbLvPNkEuELx/JmANeEp6ZjnZ+wypPAJSucTw0wvCGrUaibDSdcrGFoWxKQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/api-logs": "0.203.0", "import-in-the-middle": "^1.8.1", @@ -3574,7 +3567,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.0.1.tgz", "integrity": "sha512-dZOB3R6zvBwDKnHDTB4X1xtMArB/d324VsbiPkX/Yu0Q8T2xceRthoIVFhJdvgVM2QhGVUyX9tzwiNxGtoBJUw==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "2.0.1", "@opentelemetry/semantic-conventions": "^1.29.0" @@ -3663,7 +3655,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.0.1.tgz", "integrity": "sha512-xYLlvk/xdScGx1aEqvxLwf6sXQLXCjk3/1SQT9X9AoN5rXRhkdvIFShuNNmtTEPRBqcsMbS4p/gJLNI2wXaDuQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@opentelemetry/core": "2.0.1", "@opentelemetry/resources": "2.0.1", @@ -3699,7 +3690,6 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.36.0.tgz", "integrity": "sha512-TtxJSRD8Ohxp6bKkhrm27JRHAxPczQA7idtcTOMYI+wQRRrfgqxHv1cFbCApcSnNjtXkmzFozn6jQtFrOmbjPQ==", "license": "Apache-2.0", - "peer": true, "engines": { "node": ">=14" } @@ -4681,18 +4671,18 @@ } }, "node_modules/@sentry/core": { - "version": "9.46.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.46.0.tgz", - "integrity": "sha512-it7JMFqxVproAgEtbLgCVBYtQ9fIb+Bu0JD+cEplTN/Ukpe6GaolyYib5geZqslVxhp2sQgT+58aGvfd/k0N8Q==", + "version": "9.47.1", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.47.1.tgz", + "integrity": "sha512-KX62+qIt4xgy8eHKHiikfhz2p5fOciXd0Cl+dNzhgPFq8klq4MGMNaf148GB3M/vBqP4nw/eFvRMAayFCgdRQw==", "license": "MIT", "engines": { "node": ">=18" } }, "node_modules/@sentry/node": { - "version": "9.46.0", - "resolved": "https://registry.npmjs.org/@sentry/node/-/node-9.46.0.tgz", - "integrity": "sha512-pRLqAcd7GTGvN8gex5FtkQR5Mcol8gOy1WlyZZFq4rBbVtMbqKOQRhohwqnb+YrnmtFpj7IZ7KNDo077MvNeOQ==", + "version": "9.47.1", + "resolved": "https://registry.npmjs.org/@sentry/node/-/node-9.47.1.tgz", + "integrity": "sha512-CDbkasBz3fnWRKSFs6mmaRepM2pa+tbZkrqhPWifFfIkJDidtVW40p6OnquTvPXyPAszCnDZRnZT14xyvNmKPQ==", "license": "MIT", "dependencies": { "@opentelemetry/api": "^1.9.0", @@ -4725,9 +4715,9 @@ "@opentelemetry/sdk-trace-base": "^1.30.1", "@opentelemetry/semantic-conventions": "^1.34.0", "@prisma/instrumentation": "6.11.1", - "@sentry/core": "9.46.0", - "@sentry/node-core": "9.46.0", - "@sentry/opentelemetry": "9.46.0", + "@sentry/core": "9.47.1", + "@sentry/node-core": "9.47.1", + "@sentry/opentelemetry": "9.47.1", "import-in-the-middle": "^1.14.2", "minimatch": "^9.0.0" }, @@ -4736,13 +4726,13 @@ } }, "node_modules/@sentry/node-core": { - "version": "9.46.0", - "resolved": "https://registry.npmjs.org/@sentry/node-core/-/node-core-9.46.0.tgz", - "integrity": "sha512-XRVu5pqoklZeh4wqhxCLZkz/ipoKhitctgEFXX9Yh1e1BoHM2pIxT52wf+W6hHM676TFmFXW3uKBjsmRM3AjgA==", + "version": "9.47.1", + "resolved": "https://registry.npmjs.org/@sentry/node-core/-/node-core-9.47.1.tgz", + "integrity": "sha512-7TEOiCGkyShJ8CKtsri9lbgMCbB+qNts2Xq37itiMPN2m+lIukK3OX//L8DC5nfKYZlgikrefS63/vJtm669hQ==", "license": "MIT", "dependencies": { - "@sentry/core": "9.46.0", - "@sentry/opentelemetry": "9.46.0", + "@sentry/core": "9.47.1", + "@sentry/opentelemetry": "9.47.1", "import-in-the-middle": "^1.14.2" }, "engines": { @@ -4946,12 +4936,12 @@ } }, "node_modules/@sentry/opentelemetry": { - "version": "9.46.0", - "resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-9.46.0.tgz", - "integrity": "sha512-w2zTxqrdmwRok0cXBoh+ksXdGRUHUZhlpfL/H2kfTodOL+Mk8rW72qUmfqQceXoqgbz8UyK8YgJbyt+XS5H4Qg==", + "version": "9.47.1", + "resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-9.47.1.tgz", + "integrity": "sha512-STtFpjF7lwzeoedDJV+5XA6P89BfmFwFftmHSGSe3UTI8z8IoiR5yB6X2vCjSPvXlfeOs13qCNNCEZyznxM8Xw==", "license": "MIT", "dependencies": { - "@sentry/core": "9.46.0" + "@sentry/core": "9.47.1" }, "engines": { "node": ">=18" @@ -4965,14 +4955,14 @@ } }, "node_modules/@sentry/profiling-node": { - "version": "9.46.0", - "resolved": "https://registry.npmjs.org/@sentry/profiling-node/-/profiling-node-9.46.0.tgz", - "integrity": "sha512-MPNjVx6m9fn+HUU1FGr5PzgAKLLJA6eXXf+xobtVk+jNo9e0YczUUcnSTJz+VeIUG2joFm9sPfRjYLyONNLuxQ==", + "version": "9.47.1", + "resolved": "https://registry.npmjs.org/@sentry/profiling-node/-/profiling-node-9.47.1.tgz", + "integrity": "sha512-4Llq0it2nL/1iJcEEm3JwdRyvRAjYuoS0MB9+9eKRaCJBIj//3fOcyjw75BbhdSFBhkDMRv2W5b3gn9oPrJAHA==", "license": "MIT", "dependencies": { "@sentry-internal/node-cpu-profiler": "^2.2.0", - "@sentry/core": "9.46.0", - "@sentry/node": "9.46.0" + "@sentry/core": "9.47.1", + "@sentry/node": "9.47.1" }, "bin": { "sentry-prune-profiler-binaries": "scripts/prune-profiler-binaries.js" @@ -5110,7 +5100,8 @@ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@types/body-parser": { "version": "1.19.6", @@ -5398,7 +5389,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.0.tgz", "integrity": "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==", "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.10.0" } @@ -5468,7 +5458,6 @@ "integrity": "sha512-lr3jdBw/BGj49Eps7EvqlUaoeA0xpj3pc0RoJkHpYaCHkVK7i28dKyImLQb3JVlqs3aYSXf7qYuWOW/fgZnTXQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.0.2" } @@ -5590,7 +5579,6 @@ "integrity": "sha512-w/EboPlBwnmOBtRbiOvzjD+wdiZdgFeo17lkltrtn7X37vagKKWJABvyfsJXTlHe6XBzugmYgd4A4nW+k8Mixw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "8.40.0", @@ -5621,7 +5609,6 @@ "integrity": "sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.40.0", "@typescript-eslint/types": "8.40.0", @@ -6222,7 +6209,6 @@ "integrity": "sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@vitest/utils": "3.2.4", "fflate": "^0.8.2", @@ -6303,7 +6289,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -6511,6 +6496,7 @@ "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "dequal": "^2.0.3" } @@ -8384,7 +8370,8 @@ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/dot-prop": { "version": "5.3.0", @@ -8925,7 +8912,6 @@ "integrity": "sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", @@ -9097,7 +9083,6 @@ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -9545,7 +9530,6 @@ "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", @@ -12142,6 +12126,7 @@ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", "dev": true, "license": "MIT", + "peer": true, "bin": { "lz-string": "bin/bin.js" } @@ -12169,7 +12154,6 @@ "integrity": "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "marked": "bin/marked.js" }, @@ -15077,7 +15061,6 @@ "dev": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -15992,7 +15975,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "devOptional": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -16214,7 +16196,6 @@ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -16318,6 +16299,7 @@ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", @@ -16333,6 +16315,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -16561,7 +16544,6 @@ "integrity": "sha512-DGrYcCWK7tvYMnWh79yrPHt+vdx9tY+1gPZa7nJQtO/p8bLTDaHp4dzwEhQB7pZ4Xe3ok4XKuEPrVuc+wlpkmw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -16572,6 +16554,7 @@ "integrity": "sha512-ibrK8llX2a4eOskq1mXKu/TGZj9qzomO+sNfO98M6d9zIPOEhlBkMkBUBLd1vgS0gQsLDBzA+8jJBVXDnfHmJg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -16584,14 +16567,16 @@ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/react-reconciler": { "version": "0.32.0", @@ -17083,7 +17068,6 @@ "integrity": "sha512-g7RssbTAbir1k/S7uSwSVZFfFXwpomUB9Oas0+xi9KStSCmeDXcA7rNhiskjLqvUe/Evhx8fVCT16OSa34eM5g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", @@ -18616,7 +18600,6 @@ "integrity": "sha512-yyxBKfORQ7LuRt/BQKBXrpcq59ZvSW0XxwfjAt3w2/8PmdxaFzijtMhTawprSHhpzeM5BgU2hXHG3lklIERZXg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "~0.25.0", "get-tsconfig": "^4.7.5" @@ -18766,7 +18749,6 @@ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -18886,7 +18868,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "napi-postinstall": "^0.3.0" }, @@ -19000,7 +18981,6 @@ "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -19099,7 +19079,6 @@ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", @@ -19635,7 +19614,6 @@ "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -19710,7 +19688,6 @@ "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "dev": true, "license": "ISC", - "peer": true, "bin": { "yaml": "bin.mjs" }, @@ -19840,7 +19817,6 @@ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "dev": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } From 49071db4b3250ed52152be0325bbb4b4ae2c36cd Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 14 Jan 2026 11:31:41 -0800 Subject: [PATCH 94/97] chore: continue package bumps (#9532) --- core/package-lock.json | 4 +- core/package.json | 2 +- packages/continue-sdk/package-lock.json | 8 +- packages/continue-sdk/package.json | 2 +- packages/hub/package-lock.json | 8 +- packages/hub/package.json | 2 +- packages/openai-adapters/VERCEL_AI_SDK.md | 2 +- packages/openai-adapters/package-lock.json | 374 ++++++++++++++++++--- packages/openai-adapters/package.json | 2 +- 9 files changed, 337 insertions(+), 67 deletions(-) diff --git a/core/package-lock.json b/core/package-lock.json index 1bebe5fb5..3ce231f23 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -13,7 +13,7 @@ "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", "@aws-sdk/credential-providers": "^3.931.0", - "@continuedev/config-types": "^1.0.13", + "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", "@continuedev/llm-info": "file:../packages/llm-info", @@ -226,7 +226,7 @@ "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@continuedev/fetch": "^1.6.0", "@google/genai": "^1.30.0", "ai": "^4.0.33", diff --git a/core/package.json b/core/package.json index 6b577f51e..bcdb36a3d 100644 --- a/core/package.json +++ b/core/package.json @@ -58,7 +58,7 @@ "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", "@aws-sdk/credential-providers": "^3.931.0", - "@continuedev/config-types": "^1.0.13", + "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", "@continuedev/llm-info": "file:../packages/llm-info", diff --git a/packages/continue-sdk/package-lock.json b/packages/continue-sdk/package-lock.json index 0262bae53..ff2c99637 100644 --- a/packages/continue-sdk/package-lock.json +++ b/packages/continue-sdk/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "license": "Apache-2.0", "dependencies": { - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@openapitools/openapi-generator-cli": "^2.25.1", "express": "^4.22.0", "swagger-ui-express": "^5.0.0" @@ -38,9 +38,9 @@ } }, "node_modules/@continuedev/config-yaml": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.36.0.tgz", - "integrity": "sha512-uYFs22npkF2wvvpkRDsDJyaGNRydHxYW+ekksGOMj2MFbUkFMH3CZ/K/tD8S/DW6ZXbwju4datXr+BthW0n0Cg==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.38.0.tgz", + "integrity": "sha512-KkkuWdqRVx20sRY0GlntxgrX4El1SrWzOe1nPuW39fH9tDFqRcJtIqvEbCrhD6zJSVYOrfuhBUzBeje/UuDBFA==", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "^1.0.14", diff --git a/packages/continue-sdk/package.json b/packages/continue-sdk/package.json index 97f35bc48..e89656bdf 100644 --- a/packages/continue-sdk/package.json +++ b/packages/continue-sdk/package.json @@ -14,7 +14,7 @@ "author": "Continue Dev, Inc.", "license": "Apache-2.0", "dependencies": { - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@openapitools/openapi-generator-cli": "^2.25.1", "express": "^4.22.0", "swagger-ui-express": "^5.0.0" diff --git a/packages/hub/package-lock.json b/packages/hub/package-lock.json index 14e2b2a9c..19dca50fc 100644 --- a/packages/hub/package-lock.json +++ b/packages/hub/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.7", "license": "Apache-2.0", "dependencies": { - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "js-yaml": "^4.1.1" }, "devDependencies": { @@ -545,9 +545,9 @@ } }, "node_modules/@continuedev/config-yaml": { - "version": "1.36.0", - "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.36.0.tgz", - "integrity": "sha512-uYFs22npkF2wvvpkRDsDJyaGNRydHxYW+ekksGOMj2MFbUkFMH3CZ/K/tD8S/DW6ZXbwju4datXr+BthW0n0Cg==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.38.0.tgz", + "integrity": "sha512-KkkuWdqRVx20sRY0GlntxgrX4El1SrWzOe1nPuW39fH9tDFqRcJtIqvEbCrhD6zJSVYOrfuhBUzBeje/UuDBFA==", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "^1.0.14", diff --git a/packages/hub/package.json b/packages/hub/package.json index 1094165d5..256500e78 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -12,7 +12,7 @@ "author": "Continue Dev, Inc.", "license": "Apache-2.0", "dependencies": { - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "js-yaml": "^4.1.1" }, "devDependencies": { diff --git a/packages/openai-adapters/VERCEL_AI_SDK.md b/packages/openai-adapters/VERCEL_AI_SDK.md index ad623c553..32e05a57e 100644 --- a/packages/openai-adapters/VERCEL_AI_SDK.md +++ b/packages/openai-adapters/VERCEL_AI_SDK.md @@ -403,7 +403,7 @@ USE_VERCEL_AI_SDK_OPENAI=false cn **Short-term (< 1 hour):** ```json -"@continuedev/openai-adapters": "1.31.0" +"@continuedev/openai-adapters": "1.36.0" ``` **Long-term:** diff --git a/packages/openai-adapters/package-lock.json b/packages/openai-adapters/package-lock.json index b110cac0e..66735957e 100644 --- a/packages/openai-adapters/package-lock.json +++ b/packages/openai-adapters/package-lock.json @@ -15,7 +15,7 @@ "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@continuedev/fetch": "^1.6.0", "@google/genai": "^1.30.0", "ai": "^4.0.33", @@ -1025,6 +1025,7 @@ "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -1067,6 +1068,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -1077,6 +1079,7 @@ "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/parser": "^7.28.5", "@babel/types": "^7.28.5", @@ -1094,6 +1097,7 @@ "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/compat-data": "^7.27.2", "@babel/helper-validator-option": "^7.27.1", @@ -1111,6 +1115,7 @@ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" } @@ -1121,6 +1126,7 @@ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -1131,6 +1137,7 @@ "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/traverse": "^7.27.1", "@babel/types": "^7.27.1" @@ -1145,6 +1152,7 @@ "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-module-imports": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1", @@ -1163,6 +1171,7 @@ "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -1173,6 +1182,7 @@ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -1193,6 +1203,7 @@ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -1203,6 +1214,7 @@ "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/template": "^7.27.2", "@babel/types": "^7.28.4" @@ -1217,6 +1229,7 @@ "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.28.5" }, @@ -1233,6 +1246,7 @@ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1246,6 +1260,7 @@ "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1259,6 +1274,7 @@ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -1272,6 +1288,7 @@ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -1288,6 +1305,7 @@ "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1304,6 +1322,7 @@ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -1317,6 +1336,7 @@ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1330,6 +1350,7 @@ "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1346,6 +1367,7 @@ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -1359,6 +1381,7 @@ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1372,6 +1395,7 @@ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -1385,6 +1409,7 @@ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1398,6 +1423,7 @@ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1411,6 +1437,7 @@ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -1424,6 +1451,7 @@ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -1440,6 +1468,7 @@ "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -1456,6 +1485,7 @@ "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1481,6 +1511,7 @@ "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/parser": "^7.27.2", @@ -1496,6 +1527,7 @@ "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1515,6 +1547,7 @@ "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" @@ -1528,7 +1561,8 @@ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@colors/colors": { "version": "1.5.0", @@ -1551,9 +1585,9 @@ } }, "node_modules/@continuedev/config-yaml": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.37.0.tgz", - "integrity": "sha512-OFt5HzBp0UT3HV/vG7IaHLI7mQp5oCn39pzW+zy7jV7mFcgWYMPeC0VeN++tvvE9W2CvKmeBEEE9Nn2othnekQ==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.38.0.tgz", + "integrity": "sha512-KkkuWdqRVx20sRY0GlntxgrX4El1SrWzOe1nPuW39fH9tDFqRcJtIqvEbCrhD6zJSVYOrfuhBUzBeje/UuDBFA==", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "^1.0.14", @@ -1608,6 +1642,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" @@ -1620,6 +1655,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.4.0" } @@ -1631,6 +1667,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.4.0" } @@ -2121,6 +2158,7 @@ "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -2138,6 +2176,7 @@ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -2148,6 +2187,7 @@ "integrity": "sha512-+O1ifRjkvYIkBqASKWgLxrpEhQAAE7hY77ALLUufSk5717KfOShg6IbqLmdsLMPdUiFvA2kTs0R7YZy+l0IzZQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2166,6 +2206,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -2179,6 +2220,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -2200,6 +2242,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2218,6 +2261,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2231,6 +2275,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -2246,6 +2291,7 @@ "integrity": "sha512-03W6IhuhjqTlpzh/ojut/pDB2LPRygyWX8ExpgHtQA8H/3K7+1vKmcINx5UzeOX1se6YEsBsOHQ1CRzf3fOwTQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/console": "30.2.0", "@jest/pattern": "30.0.1", @@ -2294,6 +2340,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -2307,6 +2354,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -2328,6 +2376,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2346,6 +2395,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2359,6 +2409,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -2374,6 +2425,7 @@ "integrity": "sha512-n5H8QLDJ47QqbCNn5SuFjCRDrOLEZ0h8vAHCK5RL9Ls7Xa8AQLa/YxAc9UjFqoEDM48muwtBGjtMY5cr0PLDCw==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } @@ -2384,6 +2436,7 @@ "integrity": "sha512-/QPTL7OBJQ5ac09UDRa3EQes4gt1FTEG/8jZ/4v5IVzx+Cv7dLxlVIvfvSVRiiX2drWyXeBjkMSR8hvOWSog5g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/fake-timers": "30.2.0", "@jest/types": "30.2.0", @@ -2400,6 +2453,7 @@ "integrity": "sha512-V9yxQK5erfzx99Sf+7LbhBwNWEZ9eZay8qQ9+JSC0TrMR1pMDHLMY+BnVPacWU6Jamrh252/IKo4F1Xn/zfiqA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "expect": "30.2.0", "jest-snapshot": "30.2.0" @@ -2427,6 +2481,7 @@ "integrity": "sha512-1JnRfhqpD8HGpOmQp180Fo9Zt69zNtC+9lR+kT7NVL05tNXIi+QC8Csz7lfidMoVLPD3FnOtcmp0CEFnxExGEA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0" }, @@ -2440,6 +2495,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -2453,6 +2509,7 @@ "integrity": "sha512-u/feCi0GPsI+988gU2FLcsHyAHTU0MX1Wg68NhAnN7z/+C5wqG+CY8J53N9ioe8RXgaoz0nBR/TYMf3AycUuPw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/expect-utils": "30.2.0", "@jest/get-type": "30.1.0", @@ -2471,6 +2528,7 @@ "integrity": "sha512-dQHFo3Pt4/NLlG5z4PxZ/3yZTZ1C7s9hveiOj+GCN+uT109NC2QgsoVZsVOAvbJ3RgKkvyLGXZV9+piDpWbm6A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/diff-sequences": "30.0.1", "@jest/get-type": "30.1.0", @@ -2487,6 +2545,7 @@ "integrity": "sha512-dQ94Nq4dbzmUWkQ0ANAWS9tBRfqCrn0bV9AMYdOi/MHW726xn7eQmMeRTpX2ViC00bpNaWXq+7o4lIQ3AX13Hg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "chalk": "^4.1.2", @@ -2503,6 +2562,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -2524,6 +2584,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2542,6 +2603,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2555,6 +2617,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -2570,6 +2633,7 @@ "integrity": "sha512-HI3tRLjRxAbBy0VO8dqqm7Hb2mIa8d5bg/NJkyQcOk7V118ObQML8RC5luTF/Zsg4474a+gDvhce7eTnP4GhYw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@sinonjs/fake-timers": "^13.0.0", @@ -2588,6 +2652,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -2601,6 +2666,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -2622,6 +2688,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2640,6 +2707,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2653,6 +2721,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -2668,6 +2737,7 @@ "integrity": "sha512-eMbZE2hUnx1WV0pmURZY9XoXPkUYjpc55mb0CrhtdWLtzMQPFvu/rZkTLZFTsdaVQa+Tr4eWAteqcUzoawq/uA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } @@ -2678,6 +2748,7 @@ "integrity": "sha512-b63wmnKPaK+6ZZfpYhz9K61oybvbI1aMcIs80++JI1O1rR1vaxHUCNqo3ITu6NU0d4V34yZFoHMn/uoKr/Rwfw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/environment": "30.2.0", "@jest/expect": "30.2.0", @@ -2694,6 +2765,7 @@ "integrity": "sha512-gWp7NfQW27LaBQz3TITS8L7ZCQ0TLvtmI//4OwlQRx4rnWxcPNIYjxZpDcN4+UlGxgm3jS5QPz8IPTCkb59wZA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*", "jest-regex-util": "30.0.1" @@ -2708,6 +2780,7 @@ "integrity": "sha512-DRyW6baWPqKMa9CzeiBjHwjd8XeAyco2Vt8XbcLFjiwCOEKOvy82GJ8QQnJE9ofsxCMPjH4MfH8fCWIHHDKpAQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "30.2.0", @@ -2751,6 +2824,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -2764,6 +2838,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -2785,6 +2860,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2803,6 +2879,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2816,6 +2893,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -2831,6 +2909,7 @@ "integrity": "sha512-DmdYgtezMkh3cpU8/1uyXakv3tJRcmcXxBOcO0tbaozPwpmh4YMsnWrQm9ZmZMfa5ocbxzbFk6O4bDPEc/iAnA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@sinclair/typebox": "^0.34.0" }, @@ -2844,6 +2923,7 @@ "integrity": "sha512-0aVxM3RH6DaiLcjj/b0KrIBZhSX1373Xci4l3cW5xiUWPctZ59zQ7jj4rqcJQ/Z8JuN/4wX3FpJSa3RssVvCug==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "chalk": "^4.1.2", @@ -2860,6 +2940,7 @@ "integrity": "sha512-MIRWMUUR3sdbP36oyNyhbThLHyJ2eEDClPCiHVbrYAe5g3CHRArIVpBw7cdSB5fr+ofSfIb2Tnsw8iEHL0PYQg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "callsites": "^3.1.0", @@ -2875,6 +2956,7 @@ "integrity": "sha512-RF+Z+0CCHkARz5HT9mcQCBulb1wgCP3FBvl9VFokMX27acKphwyQsNuWH3c+ojd1LeWBLoTYoxF0zm6S/66mjg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/console": "30.2.0", "@jest/types": "30.2.0", @@ -2891,6 +2973,7 @@ "integrity": "sha512-wXKgU/lk8fKXMu/l5Hog1R61bL4q5GCdT6OJvdAFz1P+QrpoFuLU68eoKuVc4RbrTtNnTL5FByhWdLgOPSph+Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/test-result": "30.2.0", "graceful-fs": "^4.2.11", @@ -2907,6 +2990,7 @@ "integrity": "sha512-XsauDV82o5qXbhalKxD7p4TZYYdwcaEXC77PPD2HixEFF+6YGppjrAAQurTl2ECWcEomHBMMNS9AH3kcCFx8jA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/core": "^7.27.4", "@jest/types": "30.2.0", @@ -2934,6 +3018,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -2952,6 +3037,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2965,6 +3051,7 @@ "integrity": "sha512-H9xg1/sfVvyfU7o3zMfBEjQ1gcsdeTMgqHoYdN79tuLqfTtuu7WckRA1R5whDwOzxaZAeMKTYWqP+WCAi0CHsg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/pattern": "30.0.1", "@jest/schemas": "30.0.5", @@ -2984,6 +3071,7 @@ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" @@ -2995,6 +3083,7 @@ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -3023,6 +3112,7 @@ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -3035,6 +3125,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", @@ -3057,7 +3148,6 @@ "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.3", @@ -3240,6 +3330,7 @@ "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "^12.20.0 || ^14.18.0 || >=16.0.0" }, @@ -4045,7 +4136,8 @@ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.41.tgz", "integrity": "sha512-6gS8pZzSXdyRHTIqoqSVknxolr1kzfy4/CeDnrzsVz8TTIWUbOBr6gnzOmTYJ3eXQNh4IYHIGi5aIL7sOZ2G/g==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@sindresorhus/is": { "version": "4.6.0", @@ -4079,6 +4171,7 @@ "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "type-detect": "4.0.8" } @@ -4089,6 +4182,7 @@ "integrity": "sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "@sinonjs/commons": "^3.0.1" } @@ -4778,6 +4872,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.4.0" } @@ -4788,6 +4883,7 @@ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -4802,6 +4898,7 @@ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.0.0" } @@ -4812,6 +4909,7 @@ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" @@ -4823,6 +4921,7 @@ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/types": "^7.28.2" } @@ -4919,7 +5018,6 @@ "integrity": "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.16.0" } @@ -4960,7 +5058,8 @@ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/@unrs/resolver-binding-android-arm-eabi": { "version": "1.11.1", @@ -4974,7 +5073,8 @@ "optional": true, "os": [ "android" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-android-arm64": { "version": "1.11.1", @@ -4988,7 +5088,8 @@ "optional": true, "os": [ "android" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-darwin-arm64": { "version": "1.11.1", @@ -5002,7 +5103,8 @@ "optional": true, "os": [ "darwin" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-darwin-x64": { "version": "1.11.1", @@ -5016,7 +5118,8 @@ "optional": true, "os": [ "darwin" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-freebsd-x64": { "version": "1.11.1", @@ -5030,7 +5133,8 @@ "optional": true, "os": [ "freebsd" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { "version": "1.11.1", @@ -5044,7 +5148,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { "version": "1.11.1", @@ -5058,7 +5163,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { "version": "1.11.1", @@ -5072,7 +5178,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-arm64-musl": { "version": "1.11.1", @@ -5086,7 +5193,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { "version": "1.11.1", @@ -5100,7 +5208,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { "version": "1.11.1", @@ -5114,7 +5223,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { "version": "1.11.1", @@ -5128,7 +5238,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { "version": "1.11.1", @@ -5142,7 +5253,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-x64-gnu": { "version": "1.11.1", @@ -5156,7 +5268,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-linux-x64-musl": { "version": "1.11.1", @@ -5170,7 +5283,8 @@ "optional": true, "os": [ "linux" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-wasm32-wasi": { "version": "1.11.1", @@ -5182,6 +5296,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "@napi-rs/wasm-runtime": "^0.2.11" }, @@ -5201,7 +5316,8 @@ "optional": true, "os": [ "win32" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { "version": "1.11.1", @@ -5215,7 +5331,8 @@ "optional": true, "os": [ "win32" - ] + ], + "peer": true }, "node_modules/@unrs/resolver-binding-win32-x64-msvc": { "version": "1.11.1", @@ -5229,7 +5346,8 @@ "optional": true, "os": [ "win32" - ] + ], + "peer": true }, "node_modules/@vitest/expect": { "version": "3.2.4", @@ -5427,6 +5545,7 @@ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "type-fest": "^0.21.3" }, @@ -5477,6 +5596,7 @@ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -5498,6 +5618,7 @@ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "sprintf-js": "~1.0.2" } @@ -5532,6 +5653,7 @@ "integrity": "sha512-0YiBEOxWqKkSQWL9nNGGEgndoeL0ZpWrbLMNL5u/Kaxrli3Eaxlt3ZtIDktEvXt4L/R9r3ODr2zKwGM/2BjxVw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/transform": "30.2.0", "@types/babel__core": "^7.20.5", @@ -5554,6 +5676,7 @@ "integrity": "sha512-D8Z6Qm8jCvVXtIRkBnqNHX0zJ37rQcFJ9u8WOS6tkYOsRdHBzypCstaxWiu5ZIlqQtviRYbgnRLSoCEvjqcqbA==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "workspaces": [ "test/babel-8" ], @@ -5574,6 +5697,7 @@ "integrity": "sha512-ftzhzSGMUnOzcCXd6WHdBGMyuwy15Wnn0iyyWGKgBDLxf9/s5ABuraCSpBX2uG0jUg4rqJnxsLc5+oYBqoxVaA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/babel__core": "^7.20.5" }, @@ -5587,6 +5711,7 @@ "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", @@ -5614,6 +5739,7 @@ "integrity": "sha512-US4Z3NOieAQumwFnYdUWKvUKh8+YSnS/gB3t6YBiz0bskpu7Pine8pPCheNxlPEW4wnUkma2a94YuW2q3guvCQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "babel-plugin-jest-hoist": "30.2.0", "babel-preset-current-node-syntax": "^1.2.0" @@ -5657,6 +5783,7 @@ "integrity": "sha512-PxSsosKQjI38iXkmb3d0Y32efqyA0uW4s41u4IVBsLlWLhCiYNpH/AfNOVWRqCQBlD8TFJTz6OUWNd4DFJCnmw==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "baseline-browser-mapping": "dist/cli.js" } @@ -5766,6 +5893,7 @@ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "node-int64": "^0.4.0" } @@ -5781,7 +5909,8 @@ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/cac": { "version": "6.7.14", @@ -5809,6 +5938,7 @@ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -5832,7 +5962,8 @@ "url": "https://github.com/sponsors/ai" } ], - "license": "CC-BY-4.0" + "license": "CC-BY-4.0", + "peer": true }, "node_modules/chai": { "version": "5.3.3", @@ -5910,7 +6041,8 @@ "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.1.1.tgz", "integrity": "sha512-+CmxIZ/L2vNcEfvNtLdU0ZQ6mbq3FZnwAP2PPTiKP+1QOoKwlKlPgb8UKV0Dds7QVaMnHm+FwSft2VB0s/SLjQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/clean-stack": { "version": "2.2.0", @@ -6193,6 +6325,7 @@ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" @@ -6203,7 +6336,8 @@ "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz", "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/color-convert": { "version": "2.0.1", @@ -6239,7 +6373,8 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/config-chain": { "version": "1.1.13", @@ -6328,7 +6463,8 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/core-util-is": { "version": "1.0.3", @@ -6485,6 +6621,7 @@ "integrity": "sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ==", "dev": true, "license": "MIT", + "peer": true, "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, @@ -6520,6 +6657,7 @@ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -6539,6 +6677,7 @@ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -6637,7 +6776,8 @@ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.265.tgz", "integrity": "sha512-B7IkLR1/AE+9jR2LtVF/1/6PFhY5TlnEHnlrKmGk7PvkJibg5jr+mLXLLzq3QYl6PA1T/vLDthQPqIPAlS/PPA==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/emittery": { "version": "0.13.1", @@ -6645,6 +6785,7 @@ "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -6931,6 +7072,7 @@ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -6992,6 +7134,7 @@ "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8.0" } @@ -7077,6 +7220,7 @@ "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "bser": "2.1.1" } @@ -7139,6 +7283,7 @@ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -7268,7 +7413,8 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/fsevents": { "version": "2.3.3", @@ -7333,6 +7479,7 @@ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -7353,6 +7500,7 @@ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8.0.0" } @@ -7532,7 +7680,8 @@ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/http-proxy-agent": { "version": "7.0.2", @@ -7617,6 +7766,7 @@ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -7683,6 +7833,7 @@ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -7741,6 +7892,7 @@ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -7840,6 +7992,7 @@ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "engines": { "node": ">=8" } @@ -7850,6 +8003,7 @@ "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "@babel/core": "^7.23.9", "@babel/parser": "^7.23.9", @@ -7867,6 +8021,7 @@ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^4.0.0", @@ -7882,6 +8037,7 @@ "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.23", "debug": "^4.1.1", @@ -7897,6 +8053,7 @@ "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -7964,6 +8121,7 @@ "integrity": "sha512-L8lR1ChrRnSdfeOvTrwZMlnWV8G/LLjQ0nG9MBclwWZidA2N5FviRki0Bvh20WRMOX31/JYvzdqTJrk5oBdydQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "execa": "^5.1.1", "jest-util": "30.2.0", @@ -7979,6 +8137,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -7997,6 +8156,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8010,6 +8170,7 @@ "integrity": "sha512-Fh0096NC3ZkFx05EP2OXCxJAREVxj1BcW/i6EWqqymcgYKWjyyDpral3fMxVcHXg6oZM7iULer9wGRFvfpl+Tg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/environment": "30.2.0", "@jest/expect": "30.2.0", @@ -8042,6 +8203,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8055,6 +8217,7 @@ "integrity": "sha512-dQHFo3Pt4/NLlG5z4PxZ/3yZTZ1C7s9hveiOj+GCN+uT109NC2QgsoVZsVOAvbJ3RgKkvyLGXZV9+piDpWbm6A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/diff-sequences": "30.0.1", "@jest/get-type": "30.1.0", @@ -8071,6 +8234,7 @@ "integrity": "sha512-dQ94Nq4dbzmUWkQ0ANAWS9tBRfqCrn0bV9AMYdOi/MHW726xn7eQmMeRTpX2ViC00bpNaWXq+7o4lIQ3AX13Hg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "chalk": "^4.1.2", @@ -8087,6 +8251,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -8108,6 +8273,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8126,6 +8292,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8139,6 +8306,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -8154,6 +8322,7 @@ "integrity": "sha512-Os9ukIvADX/A9sLt6Zse3+nmHtHaE6hqOsjQtNiugFTbKRHYIYtZXNGNK9NChseXy7djFPjndX1tL0sCTlfpAA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/core": "30.2.0", "@jest/test-result": "30.2.0", @@ -8187,6 +8356,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8205,6 +8375,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8218,6 +8389,7 @@ "integrity": "sha512-g4WkyzFQVWHtu6uqGmQR4CQxz/CH3yDSlhzXMWzNjDx843gYjReZnMRanjRCq5XZFuQrGDxgUaiYWE8BRfVckA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/core": "^7.27.4", "@jest/get-type": "30.1.0", @@ -8270,6 +8442,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8283,6 +8456,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8301,6 +8475,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8314,6 +8489,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -8345,6 +8521,7 @@ "integrity": "sha512-tR/FFgZKS1CXluOQzZvNH3+0z9jXr3ldGSD8bhyuxvlVUwbeLOGynkunvlTMxchC5urrKndYiwCFC0DLVjpOCA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "detect-newline": "^3.1.0" }, @@ -8358,6 +8535,7 @@ "integrity": "sha512-lpWlJlM7bCUf1mfmuqTA8+j2lNURW9eNafOy99knBM01i5CQeY5UH1vZjgT9071nDJac1M4XsbyI44oNOdhlDQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "@jest/types": "30.2.0", @@ -8375,6 +8553,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8388,6 +8567,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8406,6 +8586,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8419,6 +8600,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -8434,6 +8616,7 @@ "integrity": "sha512-ElU8v92QJ9UrYsKrxDIKCxu6PfNj4Hdcktcn0JX12zqNdqWHB0N+hwOnnBBXvjLd2vApZtuLUGs1QSY+MsXoNA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/environment": "30.2.0", "@jest/fake-timers": "30.2.0", @@ -8453,6 +8636,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8471,6 +8655,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8494,6 +8679,7 @@ "integrity": "sha512-sQA/jCb9kNt+neM0anSj6eZhLZUIhQgwDt7cPGjumgLM4rXsfb9kpnlacmvZz3Q5tb80nS+oG/if+NBKrHC+Xw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8519,6 +8705,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8537,6 +8724,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8550,6 +8738,7 @@ "integrity": "sha512-M6jKAjyzjHG0SrQgwhgZGy9hFazcudwCNovY/9HPIicmNSBuockPSedAP9vlPK6ONFJ1zfyH/M2/YYJxOz5cdQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "pretty-format": "30.2.0" @@ -8564,6 +8753,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8577,6 +8767,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -8667,6 +8858,7 @@ "integrity": "sha512-JNNNl2rj4b5ICpmAcq+WbLH83XswjPbjH4T7yvGzfAGCPh1rw+xVNbtk+FnRslvt9lkCcdn9i1oAoKUuFsOxRw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8682,6 +8874,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8700,6 +8893,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8713,6 +8907,7 @@ "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" }, @@ -8731,6 +8926,7 @@ "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } @@ -8741,6 +8937,7 @@ "integrity": "sha512-TCrHSxPlx3tBY3hWNtRQKbtgLhsXa1WmbJEqBlTBrGafd5fiQFByy2GNCEoGR+Tns8d15GaL9cxEzKOO3GEb2A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "chalk": "^4.1.2", "graceful-fs": "^4.2.11", @@ -8761,6 +8958,7 @@ "integrity": "sha512-xTOIGug/0RmIe3mmCqCT95yO0vj6JURrn1TKWlNbhiAefJRWINNPgwVkrVgt/YaerPzY3iItufd80v3lOrFJ2w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "jest-regex-util": "30.0.1", "jest-snapshot": "30.2.0" @@ -8775,6 +8973,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8793,6 +8992,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8806,6 +9006,7 @@ "integrity": "sha512-PqvZ2B2XEyPEbclp+gV6KO/F1FIFSbIwewRgmROCMBo/aZ6J1w8Qypoj2pEOcg3G2HzLlaP6VUtvwCI8dM3oqQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/console": "30.2.0", "@jest/environment": "30.2.0", @@ -8840,6 +9041,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8853,6 +9055,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -8874,6 +9077,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -8892,6 +9096,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -8905,6 +9110,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -8920,6 +9126,7 @@ "integrity": "sha512-p1+GVX/PJqTucvsmERPMgCPvQJpFt4hFbM+VN3n8TMo47decMUcJbt+rgzwrEme0MQUA/R+1de2axftTHkKckg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/environment": "30.2.0", "@jest/fake-timers": "30.2.0", @@ -8954,6 +9161,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -8967,6 +9175,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -8988,6 +9197,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -9006,6 +9216,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -9019,6 +9230,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -9034,6 +9246,7 @@ "integrity": "sha512-5WEtTy2jXPFypadKNpbNkZ72puZCa6UjSr/7djeecHWOu7iYhSXSnHScT8wBz3Rn8Ena5d5RYRcsyKIeqG1IyA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/core": "^7.27.4", "@babel/generator": "^7.27.5", @@ -9067,6 +9280,7 @@ "integrity": "sha512-1JnRfhqpD8HGpOmQp180Fo9Zt69zNtC+9lR+kT7NVL05tNXIi+QC8Csz7lfidMoVLPD3FnOtcmp0CEFnxExGEA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0" }, @@ -9080,6 +9294,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -9093,6 +9308,7 @@ "integrity": "sha512-u/feCi0GPsI+988gU2FLcsHyAHTU0MX1Wg68NhAnN7z/+C5wqG+CY8J53N9ioe8RXgaoz0nBR/TYMf3AycUuPw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/expect-utils": "30.2.0", "@jest/get-type": "30.1.0", @@ -9111,6 +9327,7 @@ "integrity": "sha512-dQHFo3Pt4/NLlG5z4PxZ/3yZTZ1C7s9hveiOj+GCN+uT109NC2QgsoVZsVOAvbJ3RgKkvyLGXZV9+piDpWbm6A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/diff-sequences": "30.0.1", "@jest/get-type": "30.1.0", @@ -9127,6 +9344,7 @@ "integrity": "sha512-dQ94Nq4dbzmUWkQ0ANAWS9tBRfqCrn0bV9AMYdOi/MHW726xn7eQmMeRTpX2ViC00bpNaWXq+7o4lIQ3AX13Hg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "chalk": "^4.1.2", @@ -9143,6 +9361,7 @@ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@jest/types": "30.2.0", @@ -9164,6 +9383,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -9182,6 +9402,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -9195,6 +9416,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -9282,6 +9504,7 @@ "integrity": "sha512-FBGWi7dP2hpdi8nBoWxSsLvBFewKAg0+uSQwBaof4Y4DPgBabXgpSYC5/lR7VmnIlSpASmCi/ntRWPbv7089Pw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/get-type": "30.1.0", "@jest/types": "30.2.0", @@ -9300,6 +9523,7 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -9313,6 +9537,7 @@ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -9326,6 +9551,7 @@ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/schemas": "30.0.5", "ansi-styles": "^5.2.0", @@ -9341,6 +9567,7 @@ "integrity": "sha512-PYxa28dxJ9g777pGm/7PrbnMeA0Jr7osHP9bS7eJy9DuAjMgdGtxgf0uKMyoIsTWAkIbUW5hSDdJ3urmgXBqxg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/test-result": "30.2.0", "@jest/types": "30.2.0", @@ -9361,6 +9588,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -9379,6 +9607,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -9392,6 +9621,7 @@ "integrity": "sha512-0Q4Uk8WF7BUwqXHuAjc23vmopWJw5WH7w2tqBoUOZpOjW/ZnR44GXXd1r82RvnmI2GZge3ivrYXk/BE2+VtW2g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*", "@ungap/structured-clone": "^1.3.0", @@ -9409,6 +9639,7 @@ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/types": "30.2.0", "@types/node": "*", @@ -9427,6 +9658,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -9440,6 +9672,7 @@ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -9463,6 +9696,7 @@ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -9477,6 +9711,7 @@ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "license": "MIT", + "peer": true, "bin": { "jsesc": "bin/jsesc" }, @@ -9608,6 +9843,7 @@ "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -9665,6 +9901,7 @@ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "p-locate": "^4.1.0" }, @@ -9741,6 +9978,7 @@ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "yallist": "^3.0.2" } @@ -9792,6 +10030,7 @@ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "semver": "^7.5.3" }, @@ -9815,6 +10054,7 @@ "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, "license": "BSD-3-Clause", + "peer": true, "dependencies": { "tmpl": "1.0.5" } @@ -9825,7 +10065,6 @@ "integrity": "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "marked": "bin/marked.js" }, @@ -10020,6 +10259,7 @@ "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", "dev": true, "license": "MIT", + "peer": true, "bin": { "napi-postinstall": "lib/cli.js" }, @@ -10035,7 +10275,8 @@ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/neo-async": { "version": "2.6.2", @@ -10110,14 +10351,16 @@ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/node-releases": { "version": "2.0.27", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/normalize-package-data": { "version": "6.0.2", @@ -10140,6 +10383,7 @@ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -12602,7 +12846,6 @@ "dev": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -12870,6 +13113,7 @@ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "wrappy": "1" } @@ -12972,6 +13216,7 @@ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "yocto-queue": "^0.1.0" }, @@ -12988,6 +13233,7 @@ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "p-limit": "^2.2.0" }, @@ -13001,6 +13247,7 @@ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "p-try": "^2.0.0" }, @@ -13053,6 +13300,7 @@ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -13138,6 +13386,7 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -13148,6 +13397,7 @@ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -13246,6 +13496,7 @@ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 6" } @@ -13343,6 +13594,7 @@ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "find-up": "^4.0.0" }, @@ -13472,7 +13724,8 @@ "url": "https://opencollective.com/fast-check" } ], - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/rc": { "version": "1.2.8", @@ -13651,6 +13904,7 @@ "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "resolve-from": "^5.0.0" }, @@ -13757,7 +14011,6 @@ "integrity": "sha512-phCkJ6pjDi9ANdhuF5ElS10GGdAKY6R1Pvt9lT3SFhOwM4T7QZE7MLpBDbNruUx/Q3gFD92/UOFringGipRqZA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", @@ -14280,6 +14533,7 @@ "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -14343,7 +14597,8 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "peer": true }, "node_modules/stack-utils": { "version": "2.0.6", @@ -14406,6 +14661,7 @@ "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -14420,6 +14676,7 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -14430,6 +14687,7 @@ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -14539,6 +14797,7 @@ "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" } @@ -14559,6 +14818,7 @@ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=8" }, @@ -14665,6 +14925,7 @@ "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@pkgr/core": "^0.2.9" }, @@ -14736,6 +14997,7 @@ "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", @@ -14751,6 +15013,7 @@ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -14763,6 +15026,7 @@ "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -14784,6 +15048,7 @@ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -14908,7 +15173,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -14951,7 +15215,8 @@ "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "peer": true }, "node_modules/to-regex-range": { "version": "5.0.1", @@ -15057,7 +15322,6 @@ "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -15108,6 +15372,7 @@ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=4" } @@ -15118,6 +15383,7 @@ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dev": true, "license": "(MIT OR CC0-1.0)", + "peer": true, "engines": { "node": ">=10" }, @@ -15224,6 +15490,7 @@ "dev": true, "hasInstallScript": true, "license": "MIT", + "peer": true, "dependencies": { "napi-postinstall": "^0.3.0" }, @@ -15272,6 +15539,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" @@ -15335,6 +15603,7 @@ "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -15361,7 +15630,6 @@ "integrity": "sha512-tI2l/nFHC5rLh7+5+o7QjKjSR04ivXDF4jcgV0f/bTQ+OJiITy5S6gaynVsEM+7RqzufMnVbIon6Sr5x1SDYaQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", @@ -15478,7 +15746,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -15578,6 +15845,7 @@ "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "dependencies": { "makeerror": "1.0.12" } @@ -15730,7 +15998,8 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/write-file-atomic": { "version": "5.0.1", @@ -15807,7 +16076,8 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true, - "license": "ISC" + "license": "ISC", + "peer": true }, "node_modules/yaml": { "version": "2.8.2", @@ -15914,6 +16184,7 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=10" }, @@ -15939,7 +16210,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/packages/openai-adapters/package.json b/packages/openai-adapters/package.json index a504f3682..0de2ef12c 100644 --- a/packages/openai-adapters/package.json +++ b/packages/openai-adapters/package.json @@ -18,7 +18,7 @@ "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@continuedev/fetch": "^1.6.0", "@google/genai": "^1.30.0", "ai": "^4.0.33", From 2371bf99acc7ff94762969e4c59bd205eef107d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 21:22:31 +0000 Subject: [PATCH 95/97] chore(deps): bump undici from 7.16.0 to 7.18.2 in /binary Bumps [undici](https://github.com/nodejs/undici) from 7.16.0 to 7.18.2. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.16.0...v7.18.2) --- updated-dependencies: - dependency-name: undici dependency-version: 7.18.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- binary/package-lock.json | 592 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 582 insertions(+), 10 deletions(-) diff --git a/binary/package-lock.json b/binary/package-lock.json index a49050b34..2023ac656 100644 --- a/binary/package-lock.json +++ b/binary/package-lock.json @@ -49,16 +49,16 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.62.0", - "@aws-sdk/client-bedrock-runtime": "^3.779.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", - "@aws-sdk/credential-providers": "^3.778.0", - "@continuedev/config-types": "^1.0.13", + "@aws-sdk/credential-providers": "^3.931.0", + "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.12.0", + "@modelcontextprotocol/sdk": "^1.25.2", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", @@ -42085,12 +42085,16 @@ "version": "1.32.0", "license": "Apache-2.0", "dependencies": { + "@ai-sdk/anthropic": "^1.0.10", + "@ai-sdk/openai": "^1.0.10", "@anthropic-ai/sdk": "^0.67.0", - "@aws-sdk/client-bedrock-runtime": "^3.925.0", - "@aws-sdk/credential-providers": "^3.929.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", + "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.14", - "@continuedev/config-yaml": "^1.36.0", + "@continuedev/config-yaml": "^1.38.0", "@continuedev/fetch": "^1.6.0", + "@google/genai": "^1.30.0", + "ai": "^4.0.33", "dotenv": "^16.5.0", "google-auth-library": "^10.4.1", "json-schema": "^0.4.0", @@ -57692,6 +57696,193 @@ "node": ">=14.21.3" } }, + "node_modules/@biomejs/cli-darwin-x64": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.6.4.tgz", + "integrity": "sha512-uo1zgM7jvzcoDpF6dbGizejDLCqNpUIRkCj/oEK0PB0NUw8re/cn1EnxuOLZqDpn+8G75COLQTOx8UQIBBN/Kg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.6.4.tgz", + "integrity": "sha512-wAOieaMNIpLrxGc2/xNvM//CIZg7ueWy3V5A4T7gDZ3OL/Go27EKE59a+vMKsBCYmTt7jFl4yHz0TUkUbodA/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-arm64-musl": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.6.4.tgz", + "integrity": "sha512-Hp8Jwt6rjj0wCcYAEN6/cfwrrPLLlGOXZ56Lei4Pt4jy39+UuPeAVFPeclrrCfxyL1wQ2xPrhd/saTHSL6DoJg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.6.4.tgz", + "integrity": "sha512-qTWhuIw+/ePvOkjE9Zxf5OqSCYxtAvcTJtVmZT8YQnmY2I62JKNV2m7tf6O5ViKZUOP0mOQ6NgqHKcHH1eT8jw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-linux-x64-musl": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.6.4.tgz", + "integrity": "sha512-wqi0hr8KAx5kBO0B+m5u8QqiYFFBJOSJVSuRqTeGWW+GYLVUtXNidykNqf1JsW6jJDpbkSp2xHKE/bTlVaG2Kg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-arm64": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.6.4.tgz", + "integrity": "sha512-Wp3FiEeF6v6C5qMfLkHwf4YsoNHr/n0efvoC8jCKO/kX05OXaVExj+1uVQ1eGT7Pvx0XVm/TLprRO0vq/V6UzA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-win32-x64": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.6.4.tgz", + "integrity": "sha512-mz183Di5hTSGP7KjNWEhivcP1wnHLGmOxEROvoFsIxMYtDhzJDad4k5gI/1JbmA0xe4n52vsgqo09tBhrMT/Zg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/darwin-arm64": { "version": "0.19.11", "cpu": [ @@ -57707,6 +57898,312 @@ "node": ">=12" } }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -58153,6 +58650,58 @@ "darwin" ] }, + "node_modules/@lancedb/vectordb-darwin-x64": { + "version": "0.4.20", + "resolved": "https://registry.npmjs.org/@lancedb/vectordb-darwin-x64/-/vectordb-darwin-x64-0.4.20.tgz", + "integrity": "sha512-GSYsXE20RIehDu30FjREhJdEzhnwOTV7ZsrSXagStzLY1gr7pyd7sfqxmmUtdD09di7LnQoiM71AOpPTa01YwQ==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lancedb/vectordb-linux-arm64-gnu": { + "version": "0.4.20", + "resolved": "https://registry.npmjs.org/@lancedb/vectordb-linux-arm64-gnu/-/vectordb-linux-arm64-gnu-0.4.20.tgz", + "integrity": "sha512-FpNOjOsz3nJVm6EBGyNgbOW2aFhsWZ/igeY45Z8hbZaaK2YBwrg/DASoNlUzgv6IR8cUaGJ2irNVJfsKR2cG6g==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lancedb/vectordb-linux-x64-gnu": { + "version": "0.4.20", + "resolved": "https://registry.npmjs.org/@lancedb/vectordb-linux-x64-gnu/-/vectordb-linux-x64-gnu-0.4.20.tgz", + "integrity": "sha512-pOqWjrRZQSrLTlQPkjidRii7NZDw8Xu9pN6ouVu2JAK8n81FXaPtFCyAI+Y3v9GpnYDN0rvD4eQ36aHAVPsa2g==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lancedb/vectordb-win32-x64-msvc": { + "version": "0.4.20", + "resolved": "https://registry.npmjs.org/@lancedb/vectordb-win32-x64-msvc/-/vectordb-win32-x64-msvc-0.4.20.tgz", + "integrity": "sha512-5J5SsYSJ7jRCmU/sgwVHdrGz43B/7R2T9OEoFTKyVAtqTZdu75rkytXyn9SyEayXVhlUOaw76N0ASm0hAoDS/A==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@neon-rs/load": { "version": "0.0.74", "license": "MIT" @@ -62629,9 +63178,9 @@ } }, "node_modules/undici": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.16.0.tgz", - "integrity": "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g==", + "version": "7.18.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.18.2.tgz", + "integrity": "sha512-y+8YjDFzWdQlSE9N5nzKMT3g4a5UBX1HKowfdXh0uvAnTaqqwqB92Jt4UXBAeKekDs5IaDKyJFR4X1gYVCgXcw==", "license": "MIT", "engines": { "node": ">=20.18.1" @@ -62789,6 +63338,29 @@ "split": "^1.0.1" } }, + "node_modules/win-export-certificate-and-key": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/win-export-certificate-and-key/-/win-export-certificate-and-key-1.1.2.tgz", + "integrity": "sha512-3Su7Xdt9UR8pZicWQDcGSWNL6We/NzAGxe7AeQ1Z/zAeGHWlTKAh3HemGvIvxLRPsk4NW9D/QL3cL6SIvFcTvQ==", + "hasInstallScript": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "dependencies": { + "bindings": "^1.5.0", + "node-addon-api": "^3.1.0", + "node-forge": "^1.2.1" + } + }, + "node_modules/win-export-certificate-and-key/node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "license": "MIT", + "optional": true + }, "node_modules/wordwrapjs": { "version": "5.1.0", "license": "MIT", From 81d5c5ac971c69cfb39aa6b4ee45fe5aec1d97d3 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 14 Jan 2026 14:11:00 -0800 Subject: [PATCH 96/97] chore: bump prerelease versions --- extensions/intellij/gradle.properties | 2 +- extensions/vscode/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/intellij/gradle.properties b/extensions/intellij/gradle.properties index 06b3b1159..243d1e896 100644 --- a/extensions/intellij/gradle.properties +++ b/extensions/intellij/gradle.properties @@ -1,5 +1,5 @@ pluginGroup=com.github.continuedev.continueintellijextension -pluginVersion=1.0.57 +pluginVersion=1.0.58 platformVersion=2024.1 kotlin.stdlib.default.dependency=false org.gradle.configuration-cache=true diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 295d74a98..23784b81d 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "1.3.28", + "version": "1.3.29", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" From 529d50a9be4ebcc1b849364e71f2e9f700c89cfc Mon Sep 17 00:00:00 2001 From: RomneyDa Date: Wed, 14 Jan 2026 22:16:59 +0000 Subject: [PATCH 97/97] Filter out .md files when loading agent configs During config loading in core, if any non-YAML files are in .continue/agents or .continue/assistants directories, it tries to load them as configs. This change filters out .md files by explicitly setting fileExtType to 'yaml' when loading agent and assistant config profiles. The getAllDotContinueDefinitionFiles function already supports filtering by file extension type, but it wasn't being used in ConfigHandler. This ensures only .yaml and .yml files are loaded as config profiles, preventing errors when markdown documentation files exist in the agents/assistants directories. Co-authored-by: dallin Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- core/config/ConfigHandler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/config/ConfigHandler.ts b/core/config/ConfigHandler.ts index 134f79d4e..86489dc44 100644 --- a/core/config/ConfigHandler.ts +++ b/core/config/ConfigHandler.ts @@ -360,12 +360,12 @@ export class ConfigHandler { if (options.includeWorkspace) { const assistantFiles = await getAllDotContinueDefinitionFiles( this.ide, - options, + { ...options, fileExtType: "yaml" }, "assistants", ); const agentFiles = await getAllDotContinueDefinitionFiles( this.ide, - options, + { ...options, fileExtType: "yaml" }, "agents", ); const profiles = [...assistantFiles, ...agentFiles].map((assistant) => {