diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 44569c51a..8e2ec109e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -28,7 +28,7 @@ body: - **OS**: macOS - **Continue version**: v0.9.4 - **IDE version**: VSCode 1.85.1 - - Model: Claude Sonnet 3.5 + - Model: Claude Sonnet 4.5 - Agent configuration value: | - OS: diff --git a/.github/workflows/jetbrains-release.yaml b/.github/workflows/jetbrains-release.yaml index d08f4f9a0..54b3c7812 100644 --- a/.github/workflows/jetbrains-release.yaml +++ b/.github/workflows/jetbrains-release.yaml @@ -107,7 +107,7 @@ jobs: ref: ${{ github.event.release.tag_name }} - name: Import Apple certificate - uses: apple-actions/import-codesign-certs@v5 + uses: apple-actions/import-codesign-certs@v6 with: keychain: ${{ github.run_id }} keychain-password: ${{ github.run_id }} diff --git a/core/config/workspace/workspaceBlocks.ts b/core/config/workspace/workspaceBlocks.ts index d3dfa8690..4f20eda89 100644 --- a/core/config/workspace/workspaceBlocks.ts +++ b/core/config/workspace/workspaceBlocks.ts @@ -42,9 +42,9 @@ function getContentsForNewBlock(blockType: BlockType): ConfigYaml { configYaml.models = [ { provider: "anthropic", - model: "claude-3-7-sonnet-latest", + model: "claude-sonnet-4-5", apiKey: "${{ secrets.ANTHROPIC_API_KEY }}", - name: "Claude 3.7 Sonnet", + name: "Claude Sonnet 4.5", roles: ["chat", "edit"], }, ]; diff --git a/core/llm/llms/Anthropic.vitest.ts b/core/llm/llms/Anthropic.vitest.ts index 5c623b05e..07915a93a 100644 --- a/core/llm/llms/Anthropic.vitest.ts +++ b/core/llm/llms/Anthropic.vitest.ts @@ -134,7 +134,7 @@ describe("Anthropic", () => { test("streamChat should send a valid request", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -155,7 +155,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -177,7 +177,7 @@ describe("Anthropic", () => { test("chat should send a valid request", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -198,7 +198,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -220,7 +220,7 @@ describe("Anthropic", () => { test("streamComplete should send a valid request", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -238,7 +238,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -260,7 +260,7 @@ describe("Anthropic", () => { test("complete should send a valid request", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -278,7 +278,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -301,7 +301,7 @@ describe("Anthropic", () => { test("should handle system message", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -325,7 +325,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -347,7 +347,7 @@ describe("Anthropic", () => { test("should handle tool calls", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -386,7 +386,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 8192, stream: true, messages: [ @@ -424,7 +424,7 @@ describe("Anthropic", () => { test("should handle custom max tokens", async () => { const anthropic = new Anthropic({ apiKey: "test-api-key", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); @@ -446,7 +446,7 @@ describe("Anthropic", () => { "x-api-key": "test-api-key", }, body: { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", max_tokens: 1000, stream: true, messages: [ @@ -470,7 +470,7 @@ describe("Anthropic", () => { test("should throw error when API key is missing", async () => { const anthropic = new Anthropic({ apiKey: "", - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiBase: "https://api.anthropic.com/v1/", }); diff --git a/core/llm/llms/OpenRouter.vitest.ts b/core/llm/llms/OpenRouter.vitest.ts index e6e8afdd2..85ca5dd1c 100644 --- a/core/llm/llms/OpenRouter.vitest.ts +++ b/core/llm/llms/OpenRouter.vitest.ts @@ -6,13 +6,13 @@ import OpenRouter from "./OpenRouter"; describe("OpenRouter Anthropic Caching", () => { it("should detect Anthropic models correctly", () => { const openRouter = new OpenRouter({ - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiKey: "test-key", }); // Test private method through modifyChatBody const body: ChatCompletionCreateParams = { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", messages: [], }; @@ -22,7 +22,7 @@ describe("OpenRouter Anthropic Caching", () => { it("should add cache_control to user messages when caching is enabled", () => { const openRouter = new OpenRouter({ - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4.5", apiKey: "test-key", cacheBehavior: { cacheConversation: true, @@ -31,7 +31,7 @@ describe("OpenRouter Anthropic Caching", () => { }); const body: ChatCompletionCreateParams = { - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4.5", messages: [ { role: "user", content: "First message" }, { role: "assistant", content: "Response" }, @@ -71,7 +71,7 @@ describe("OpenRouter Anthropic Caching", () => { it("should correctly handle cache_control with system messages present", () => { const openRouter = new OpenRouter({ - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiKey: "test-key", cacheBehavior: { cacheConversation: true, @@ -80,7 +80,7 @@ describe("OpenRouter Anthropic Caching", () => { }); const body: ChatCompletionCreateParams = { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", messages: [ { role: "system", content: "You are a helpful assistant" }, { role: "user", content: "First user message" }, @@ -137,7 +137,7 @@ describe("OpenRouter Anthropic Caching", () => { it("should add cache_control to system message when caching is enabled", () => { const openRouter = new OpenRouter({ - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiKey: "test-key", cacheBehavior: { cacheConversation: false, @@ -146,7 +146,7 @@ describe("OpenRouter Anthropic Caching", () => { }); const body: ChatCompletionCreateParams = { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", messages: [ { role: "system", content: "You are a helpful assistant" }, { role: "user", content: "Hello" }, @@ -176,7 +176,7 @@ describe("OpenRouter Anthropic Caching", () => { it("should handle array content correctly", () => { const openRouter = new OpenRouter({ - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", apiKey: "test-key", cacheBehavior: { cacheConversation: true, @@ -185,7 +185,7 @@ describe("OpenRouter Anthropic Caching", () => { }); const body: ChatCompletionCreateParams = { - model: "claude-3-5-sonnet-latest", + model: "claude-sonnet-4-5", messages: [ { role: "user", diff --git a/core/llm/toolSupport.test.ts b/core/llm/toolSupport.test.ts index 2f0f566e7..7981dac5f 100644 --- a/core/llm/toolSupport.test.ts +++ b/core/llm/toolSupport.test.ts @@ -179,17 +179,11 @@ describe("PROVIDER_TOOL_SUPPORT", () => { }); it("should return undefined for Claude Haiku and Opus models", () => { - expect(supportsFn("anthropic.claude-3-5-haiku-20240307-v1:0")).toBe( - false, - ); - expect(supportsFn("anthropic.claude-3.5-haiku-20240620-v1:0")).toBe( - false, - ); - expect(supportsFn("anthropic.claude-3-7-haiku-20240620-v1:0")).toBe( - false, - ); - expect(supportsFn("anthropic.claude-3-5-opus-20240620-v1:0")).toBe(false); - expect(supportsFn("anthropic.claude-3.7-opus-20240620-v1:0")).toBe(false); + expect(supportsFn("anthropic.claude-3-5-haiku-20240307-v1:0")).toBe(true); + expect(supportsFn("anthropic.claude-3.5-haiku-20240620-v1:0")).toBe(true); + expect(supportsFn("anthropic.claude-3-7-haiku-20240620-v1:0")).toBe(true); + expect(supportsFn("anthropic.claude-3-5-opus-20240620-v1:0")).toBe(true); + expect(supportsFn("anthropic.claude-3.7-opus-20240620-v1:0")).toBe(true); }); it("should return undefined for other unsupported models", () => { diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index 01ad20798..3466a50ee 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -14,39 +14,17 @@ export const PROVIDER_TOOL_SUPPORT: Record boolean> = } } catch (e) {} - return [ - "claude-3-5", - "claude-3.5", - "claude-3-7", - "claude-3.7", - "claude-sonnet-4", - "claude-4-sonnet", - "gpt-4", - "o3", - "gemini", - "claude-opus-4", - "gemma", - ].some((part) => model.toLowerCase().startsWith(part)); + return ["claude", "gpt-4", "o3", "gemini", "gemma"].some((part) => + model.toLowerCase().startsWith(part), + ); }, anthropic: (model) => { - const lower = model.toLowerCase(); - if ( - [ - "claude-3-5", - "claude-3.5", - "claude-3-7", - "claude-3.7", - "claude-sonnet-4", - "claude-4-sonnet", - "claude-opus-4", - ].some((part) => lower.startsWith(part)) - ) { + if (model.includes("claude-2") || model.includes("claude-instant")) { + return false; + } + if (["claude"].some((part) => model.toLowerCase().startsWith(part))) { return true; } - if (lower.includes("claude") && lower.includes("4-5")) { - return true; - } - return false; }, azure: (model) => { @@ -125,15 +103,12 @@ export const PROVIDER_TOOL_SUPPORT: Record boolean> = ); }, bedrock: (model) => { + if (model.includes("claude-2") || model.includes("claude-instant")) { + return false; + } if ( [ - "claude-3-5-sonnet", - "claude-3.5-sonnet", - "claude-3-7-sonnet", - "claude-3.7-sonnet", - "claude-sonnet-4", - "claude-4-sonnet", - "claude-opus-4", + "claude", "nova-lite", "nova-pro", "nova-micro", @@ -280,8 +255,7 @@ export const PROVIDER_TOOL_SUPPORT: Record boolean> = "openai/o3", "openai/o4", "openai/gpt-oss", - "anthropic/claude-3", - "anthropic/claude-4", + "anthropic/claude", "microsoft/phi-3", "google/gemini-flash-1.5", "google/gemini-2", @@ -391,7 +365,8 @@ export function isRecommendedAgentModel(modelName: string): boolean { const recs: RegExp[][] = [ [/o[134]/], [/deepseek/, /r1|reasoner/], - [/gemini/, /2\.5|3/, /pro/], + [/gemini/, /2\.5/, /pro/], + [/gemini/, /3-pro/], [/gpt/, /-5|5\.1/], [/claude/, /sonnet/, /3\.7|3-7|-4/], [/claude/, /opus/, /-4/], diff --git a/core/package-lock.json b/core/package-lock.json index 34913ac9a..e6868edc1 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -221,8 +221,8 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.67.0", - "@aws-sdk/client-bedrock-runtime": "^3.842.0", - "@aws-sdk/credential-providers": "^3.913.0", + "@aws-sdk/client-bedrock-runtime": "^3.925.0", + "@aws-sdk/credential-providers": "^3.925.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "^1.36.0", "@continuedev/fetch": "^1.6.0", @@ -270,7 +270,6 @@ "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,7 +282,6 @@ "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" } @@ -1324,6 +1322,7 @@ "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", @@ -4472,6 +4471,7 @@ "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", @@ -4616,6 +4616,7 @@ "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" } @@ -4637,6 +4638,7 @@ "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" }, @@ -4649,6 +4651,7 @@ "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" }, @@ -5168,6 +5171,7 @@ "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" @@ -5193,6 +5197,7 @@ "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", @@ -5219,6 +5224,7 @@ "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" } @@ -5629,8 +5635,7 @@ "node_modules/@rtsao/scc": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", - "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", - "peer": true + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==" }, "node_modules/@sentry/babel-plugin-component-annotate": { "version": "4.0.2", @@ -6845,14 +6850,12 @@ "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==", - "peer": true + "integrity": "sha512-UuKzKpJJ/Ief6ufIaIzr3A/0XnluX7RvFgwkV89Yzvm77wCh1kFaFmqN8XEnGcN62EuHdedQjEMb8mYxFLGPyA==" }, "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==", - "peer": true + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==" }, "node_modules/@types/connect": { "version": "3.4.38", @@ -6968,8 +6971,7 @@ "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==", - "peer": true + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, "node_modules/@types/long": { "version": "4.0.2", @@ -7034,8 +7036,7 @@ "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==", - "peer": true + "integrity": "sha512-Xd22WCRBydkGSApl5Bw0PhAOHKSVjNL3E3AwzKaps96IMraPqy5BvZIsBVK6JLwdybUzjHnuWVwpDd0JjTfHXA==" }, "node_modules/@types/pg": { "version": "8.11.10", @@ -7244,6 +7245,7 @@ "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", @@ -7667,6 +7669,7 @@ "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" }, @@ -7881,7 +7884,6 @@ "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" } @@ -7890,7 +7892,6 @@ "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" @@ -7906,7 +7907,6 @@ "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", @@ -7931,7 +7931,6 @@ "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", @@ -7951,7 +7950,6 @@ "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", @@ -7969,7 +7967,6 @@ "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", @@ -7987,7 +7984,6 @@ "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", @@ -8064,7 +8060,6 @@ "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" }, @@ -8520,6 +8515,7 @@ "url": "https://github.com/sponsors/ai" } ], + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001669", "electron-to-chromium": "^1.5.41", @@ -8825,7 +8821,6 @@ "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" }, @@ -9134,7 +9129,6 @@ "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", @@ -9149,7 +9143,6 @@ "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", @@ -9164,7 +9157,6 @@ "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" } @@ -9173,7 +9165,6 @@ "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" } @@ -9441,7 +9432,6 @@ "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", @@ -9458,7 +9448,6 @@ "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", @@ -9475,7 +9464,6 @@ "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", @@ -9714,7 +9702,8 @@ "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" + "license": "BSD-3-Clause", + "peer": true }, "node_modules/diff": { "version": "7.0.0", @@ -10032,7 +10021,6 @@ "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", @@ -10141,7 +10129,6 @@ "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" } @@ -10150,7 +10137,6 @@ "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", @@ -10606,6 +10592,7 @@ "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", @@ -10690,7 +10677,6 @@ "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", @@ -10701,7 +10687,6 @@ "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" } @@ -10710,7 +10695,6 @@ "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" }, @@ -10727,7 +10711,6 @@ "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" } @@ -10736,7 +10719,6 @@ "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", @@ -10770,7 +10752,6 @@ "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" @@ -10780,7 +10761,6 @@ "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" } @@ -10789,7 +10769,6 @@ "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" }, @@ -10801,7 +10780,6 @@ "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" }, @@ -11413,7 +11391,6 @@ "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" }, @@ -11452,8 +11429,7 @@ "node_modules/flatbuffers": { "version": "23.5.26", "resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-23.5.26.tgz", - "integrity": "sha512-vE+SI9vrJDwi1oETtTIFldC/o9GsVKRM+s6EL0nQgxXlYV1Vc4Tk30hj4xGICftInKQKj1F3up2n8UbIVobISQ==", - "peer": true + "integrity": "sha512-vE+SI9vrJDwi1oETtTIFldC/o9GsVKRM+s6EL0nQgxXlYV1Vc4Tk30hj4xGICftInKQKj1F3up2n8UbIVobISQ==" }, "node_modules/flatted": { "version": "3.3.2", @@ -11488,7 +11464,6 @@ "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" } @@ -11633,7 +11608,6 @@ "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", @@ -11651,7 +11625,6 @@ "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" } @@ -11843,7 +11816,6 @@ "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", @@ -11954,7 +11926,6 @@ "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" @@ -12143,7 +12114,6 @@ "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" } @@ -12179,7 +12149,6 @@ "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" }, @@ -12537,7 +12506,6 @@ "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", @@ -12571,7 +12539,6 @@ "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" @@ -12592,7 +12559,6 @@ "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" }, @@ -12607,7 +12573,6 @@ "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" }, @@ -12634,7 +12599,6 @@ "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" @@ -12650,7 +12614,6 @@ "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" }, @@ -12676,7 +12639,6 @@ "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" }, @@ -12691,7 +12653,6 @@ "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" }, @@ -12733,7 +12694,6 @@ "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" }, @@ -12765,7 +12725,6 @@ "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" }, @@ -12806,7 +12765,6 @@ "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" }, @@ -12818,7 +12776,6 @@ "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" }, @@ -12838,7 +12795,6 @@ "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" @@ -12877,7 +12833,6 @@ "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", @@ -12895,7 +12850,6 @@ "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" }, @@ -12907,7 +12861,6 @@ "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" }, @@ -12933,7 +12886,6 @@ "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" @@ -12949,7 +12901,6 @@ "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", @@ -12966,7 +12917,6 @@ "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" }, @@ -12986,7 +12936,6 @@ "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" }, @@ -12998,7 +12947,6 @@ "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" }, @@ -13010,7 +12958,6 @@ "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" @@ -13036,8 +12983,7 @@ "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "peer": true + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, "node_modules/isexe": { "version": "2.0.0", @@ -13187,6 +13133,7 @@ "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", @@ -14109,6 +14056,7 @@ "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", @@ -14168,7 +14116,6 @@ "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" } @@ -14424,8 +14371,7 @@ "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==", - "peer": true + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" }, "node_modules/lodash.debounce": { "version": "4.0.8", @@ -14732,9 +14678,9 @@ } }, "node_modules/mdast-util-to-hast": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", - "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==", + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", + "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", "dev": true, "license": "MIT", "dependencies": { @@ -15623,7 +15569,6 @@ "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", @@ -15641,7 +15586,6 @@ "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", @@ -15655,7 +15599,6 @@ "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", @@ -15965,7 +15908,6 @@ "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" }, @@ -16144,6 +16086,7 @@ "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", @@ -16408,7 +16351,6 @@ "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" } @@ -16861,7 +16803,8 @@ "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==" + "integrity": "sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==", + "peer": true }, "node_modules/puppeteer-chromium-resolver/node_modules/puppeteer-core": { "version": "23.10.2", @@ -17078,7 +17021,6 @@ "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", @@ -17160,7 +17102,6 @@ "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", @@ -17506,7 +17447,6 @@ "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", @@ -17543,7 +17483,6 @@ "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", @@ -17673,7 +17612,6 @@ "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", @@ -18275,7 +18213,6 @@ "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" } @@ -18345,7 +18282,6 @@ "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", @@ -18363,7 +18299,6 @@ "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", @@ -18377,7 +18312,6 @@ "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", @@ -18502,7 +18436,6 @@ "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", @@ -18523,7 +18456,6 @@ "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" } @@ -18532,7 +18464,6 @@ "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" } @@ -18800,6 +18731,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -18991,7 +18923,6 @@ "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", @@ -19003,7 +18934,6 @@ "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" }, @@ -19015,7 +18945,6 @@ "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" } @@ -19109,7 +19038,6 @@ "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", @@ -19123,7 +19051,6 @@ "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", @@ -19142,7 +19069,6 @@ "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", @@ -19163,7 +19089,6 @@ "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", @@ -19189,6 +19114,7 @@ "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" @@ -19201,7 +19127,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "peer": true, "engines": { "node": ">=8" } @@ -19222,7 +19147,6 @@ "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", @@ -19622,6 +19546,7 @@ "integrity": "sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -19793,6 +19718,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -19987,7 +19913,6 @@ "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", @@ -20006,7 +19931,6 @@ "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", @@ -20033,7 +19957,6 @@ "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", @@ -20051,7 +19974,6 @@ "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", @@ -20277,7 +20199,6 @@ "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" } @@ -20343,6 +20264,7 @@ "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" }, @@ -20413,6 +20335,7 @@ "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" }, @@ -20470,6 +20393,7 @@ "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/core/tools/parseArgs.ts b/core/tools/parseArgs.ts index 543e6ba53..f919ddc92 100644 --- a/core/tools/parseArgs.ts +++ b/core/tools/parseArgs.ts @@ -18,15 +18,38 @@ export function getStringArg( argName: string, allowEmpty = false, ): string { - if (!args || !(argName in args) || typeof args[argName] !== "string") { + if (!args || !(argName in args)) { throw new Error( `\`${argName}\` argument is required${allowEmpty ? "" : " and must not be empty or whitespace-only"}. (type string)`, ); } - if (!allowEmpty && !args[argName].trim()) { + + let value = args[argName]; + + // Handle case where JSON was parsed into an object by the tool call parser. + // If the arguments to the tool call are valid JSON (e.g. the model attempts to create a .json file) + // the earlier call to JSON.parse() will have deeply parsed the returned arguments. + // If that has happened, convert back to string. + if (typeof value === "object" && value !== null) { + try { + value = JSON.stringify(value); + return value; + } catch (e) { + //Swallow this, because it might be fine later. + } + } + + if (typeof value !== "string") { + throw new Error( + `\`${argName}\` argument is required${allowEmpty ? "" : " and must not be empty or whitespace-only"}. (type string)`, + ); + } + + if (!allowEmpty && !value.trim()) { throw new Error(`Argument ${argName} must not be empty or whitespace-only`); } - return args[argName]; + + return value; } export function getOptionalStringArg( diff --git a/core/tools/parseArgs.vitest.ts b/core/tools/parseArgs.vitest.ts index 71bfc0cc5..ed0463259 100644 --- a/core/tools/parseArgs.vitest.ts +++ b/core/tools/parseArgs.vitest.ts @@ -144,6 +144,50 @@ describe("getStringArg", () => { "`name` argument is required and must not be empty or whitespace-only. (type string)", ); }); + + it("should convert parsed JSON object to string for contents parameter", () => { + // This simulates the case where JSON.parse() has converted a JSON string into an object + const args = { contents: { key: "value", number: 123 } }; + const result = getStringArg(args, "contents"); + expect(result).toBe('{"key":"value","number":123}'); + }); + + it("should convert nested JSON object to string for contents parameter", () => { + const args = { + contents: { + user: { + name: "John", + details: { + age: 30, + preferences: ["coding", "reading"], + }, + }, + }, + }; + const result = getStringArg(args, "contents"); + const expected = + '{"user":{"name":"John","details":{"age":30,"preferences":["coding","reading"]}}}'; + expect(result).toBe(expected); + }); + + it("should convert JSON array to string for contents parameter", () => { + const args = { contents: ["item1", "item2", { key: "value" }] }; + const result = getStringArg(args, "contents"); + expect(result).toBe('["item1","item2",{"key":"value"}]'); + }); + + it("should handle contents parameter that is already a string", () => { + const args = { contents: "already a string" }; + const result = getStringArg(args, "contents"); + expect(result).toBe("already a string"); + }); + + it("should handle contents parameter that is null", () => { + const args = { contents: null }; + expect(() => getStringArg(args, "contents")).toThrowError( + "`contents` argument is required and must not be empty or whitespace-only. (type string)", + ); + }); }); describe("getOptionalStringArg", () => { diff --git a/docs/customize/deep-dives/autocomplete.mdx b/docs/customize/deep-dives/autocomplete.mdx index d2c2b28ba..b4d669a7b 100644 --- a/docs/customize/deep-dives/autocomplete.mdx +++ b/docs/customize/deep-dives/autocomplete.mdx @@ -21,6 +21,10 @@ If you want to have the best autocomplete experience, we recommend using Codestr ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Codestral provider: mistral @@ -68,6 +72,10 @@ Then, add the model to your configuration: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen 1.5b Autocomplete Model provider: ollama @@ -104,6 +112,10 @@ For example: ```yaml title="config.yaml" +name: My Config +version: 0.0.1 +schema: v1 + models: - name: Qwen3 without Thinking for Autocomplete provider: ollama diff --git a/docs/customize/model-providers/more/SambaNova.mdx b/docs/customize/model-providers/more/SambaNova.mdx index 4b46333d1..3cb4dd3e0 100644 --- a/docs/customize/model-providers/more/SambaNova.mdx +++ b/docs/customize/model-providers/more/SambaNova.mdx @@ -8,6 +8,10 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: GPT OSS 120B provider: sambanova diff --git a/docs/customize/model-providers/more/asksage.mdx b/docs/customize/model-providers/more/asksage.mdx index 8654d5ca1..76b73a70f 100644 --- a/docs/customize/model-providers/more/asksage.mdx +++ b/docs/customize/model-providers/more/asksage.mdx @@ -33,6 +33,10 @@ Add your Ask Sage model to your Continue configuration file. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: GPT-4 gov provider: askSage @@ -66,6 +70,10 @@ For secure environments, specify your DoD CA bundle path: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: GPT-4 gov provider: askSage diff --git a/docs/customize/model-providers/more/cerebras.mdx b/docs/customize/model-providers/more/cerebras.mdx index c8d28888d..32d5598cd 100644 --- a/docs/customize/model-providers/more/cerebras.mdx +++ b/docs/customize/model-providers/more/cerebras.mdx @@ -12,6 +12,10 @@ Cerebras Inference uses specialized silicon to provides fast inference. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Cerebras Llama 3.1 70B provider: cerebras diff --git a/docs/customize/model-providers/more/cloudflare.mdx b/docs/customize/model-providers/more/cloudflare.mdx index 1373b637f..7182af581 100644 --- a/docs/customize/model-providers/more/cloudflare.mdx +++ b/docs/customize/model-providers/more/cloudflare.mdx @@ -8,6 +8,10 @@ Cloudflare Workers AI can be used for both chat and tab autocompletion in Contin ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3 8B provider: cloudflare diff --git a/docs/customize/model-providers/more/cohere.mdx b/docs/customize/model-providers/more/cohere.mdx index 117465918..d34bb4f97 100644 --- a/docs/customize/model-providers/more/cohere.mdx +++ b/docs/customize/model-providers/more/cohere.mdx @@ -12,6 +12,10 @@ We recommend configuring **Command A** as your chat model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Command A 03-2025 provider: cohere @@ -48,6 +52,10 @@ We recommend configuring **embed-v4.0** as your embeddings model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Cohere Embed v4.0 provider: cohere @@ -77,6 +85,10 @@ We recommend configuring **rerank-v3.5** as your reranking model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Cohere Rerank v3.5 provider: cohere diff --git a/docs/customize/model-providers/more/deepinfra.mdx b/docs/customize/model-providers/more/deepinfra.mdx index 733432fbd..97338a2ad 100644 --- a/docs/customize/model-providers/more/deepinfra.mdx +++ b/docs/customize/model-providers/more/deepinfra.mdx @@ -16,6 +16,10 @@ description: "Configure DeepInfra with Continue to access low-cost inference for ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: deepinfra diff --git a/docs/customize/model-providers/more/deepseek.mdx b/docs/customize/model-providers/more/deepseek.mdx index 6e39c9227..e7441b668 100644 --- a/docs/customize/model-providers/more/deepseek.mdx +++ b/docs/customize/model-providers/more/deepseek.mdx @@ -16,6 +16,10 @@ slug: ../deepseek ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: deepseek diff --git a/docs/customize/model-providers/more/flowise.mdx b/docs/customize/model-providers/more/flowise.mdx index fb504628f..ca0598570 100644 --- a/docs/customize/model-providers/more/flowise.mdx +++ b/docs/customize/model-providers/more/flowise.mdx @@ -8,6 +8,10 @@ description: "Configure Flowise with Continue to integrate with this low-code/no ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Flowise provider: flowise diff --git a/docs/customize/model-providers/more/function-network.mdx b/docs/customize/model-providers/more/function-network.mdx index b83f5aa40..07ae65577 100644 --- a/docs/customize/model-providers/more/function-network.mdx +++ b/docs/customize/model-providers/more/function-network.mdx @@ -18,6 +18,10 @@ Function Network supports a number of models for chat. We recommend using LLama ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3.1 70b provider: function-network @@ -52,6 +56,10 @@ Function Network supports a number of models for autocomplete. We recommend usin ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Deepseek Coder 6.7b provider: function-network @@ -82,6 +90,10 @@ Function Network supports a number of models for embeddings. We recommend using ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: BGE Base En provider: function-network diff --git a/docs/customize/model-providers/more/groq.mdx b/docs/customize/model-providers/more/groq.mdx index 1d0a2b5e9..0b2a4dd7d 100644 --- a/docs/customize/model-providers/more/groq.mdx +++ b/docs/customize/model-providers/more/groq.mdx @@ -12,6 +12,10 @@ sidebarTitle: "Groq" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: groq diff --git a/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx b/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx index badaa36e5..49c705b22 100644 --- a/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx +++ b/docs/customize/model-providers/more/huggingfaceinferenceapi.mdx @@ -11,6 +11,10 @@ title: "Hugging Face" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: huggingface-inference-api diff --git a/docs/customize/model-providers/more/ipex_llm.mdx b/docs/customize/model-providers/more/ipex_llm.mdx index e82fd2f34..39478c49d 100644 --- a/docs/customize/model-providers/more/ipex_llm.mdx +++ b/docs/customize/model-providers/more/ipex_llm.mdx @@ -14,6 +14,10 @@ IPEX-LLM supports accelerated Ollama backend to be hosted on Intel GPU. Refer to ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: IPEX-LLM provider: ollama @@ -40,6 +44,10 @@ If you would like to reach the Ollama service from another machine, make sure yo ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: IPEX-LLM provider: ollama diff --git a/docs/customize/model-providers/more/kindo.mdx b/docs/customize/model-providers/more/kindo.mdx index 2c0a87c6c..42d5f6896 100644 --- a/docs/customize/model-providers/more/kindo.mdx +++ b/docs/customize/model-providers/more/kindo.mdx @@ -10,6 +10,10 @@ Kindo offers centralized control over your organization's AI operations, ensurin ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Claude 3.5 Sonnet provider: kindo @@ -38,6 +42,10 @@ Kindo offers centralized control over your organization's AI operations, ensurin ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: WhiteRabbitNeo provider: kindo diff --git a/docs/customize/model-providers/more/lemonade.mdx b/docs/customize/model-providers/more/lemonade.mdx index 79afd957d..62b59cf0d 100644 --- a/docs/customize/model-providers/more/lemonade.mdx +++ b/docs/customize/model-providers/more/lemonade.mdx @@ -33,6 +33,10 @@ If you need custom settings, you can manually configure Lemonade: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Lemonade provider: lemonade diff --git a/docs/customize/model-providers/more/llamacpp.mdx b/docs/customize/model-providers/more/llamacpp.mdx index 54699c35a..f2ebb754b 100644 --- a/docs/customize/model-providers/more/llamacpp.mdx +++ b/docs/customize/model-providers/more/llamacpp.mdx @@ -11,6 +11,10 @@ title: "Llama.cpp" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: llama.cpp diff --git a/docs/customize/model-providers/more/llamafile.mdx b/docs/customize/model-providers/more/llamafile.mdx index 1bf4b534e..736cddc8e 100644 --- a/docs/customize/model-providers/more/llamafile.mdx +++ b/docs/customize/model-providers/more/llamafile.mdx @@ -8,6 +8,10 @@ A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contai ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llamafile provider: llamafile diff --git a/docs/customize/model-providers/more/llamastack.mdx b/docs/customize/model-providers/more/llamastack.mdx index 3f048e6c6..ea6fc19f9 100644 --- a/docs/customize/model-providers/more/llamastack.mdx +++ b/docs/customize/model-providers/more/llamastack.mdx @@ -10,6 +10,10 @@ keywords: [llama, stack, local, api, inference] ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: llamastack diff --git a/docs/customize/model-providers/more/mistral.mdx b/docs/customize/model-providers/more/mistral.mdx index cc6043039..6c8c74561 100644 --- a/docs/customize/model-providers/more/mistral.mdx +++ b/docs/customize/model-providers/more/mistral.mdx @@ -16,6 +16,10 @@ slug: ../mistral ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: mistral diff --git a/docs/customize/model-providers/more/moonshot.mdx b/docs/customize/model-providers/more/moonshot.mdx index 73f7927ed..2fbed3513 100644 --- a/docs/customize/model-providers/more/moonshot.mdx +++ b/docs/customize/model-providers/more/moonshot.mdx @@ -15,6 +15,10 @@ To use Moonshot AI models, you need to: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Moonshot provider: moonshot @@ -61,6 +65,10 @@ Here's a complete configuration example: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Moonshot-8K provider: moonshot diff --git a/docs/customize/model-providers/more/morph.mdx b/docs/customize/model-providers/more/morph.mdx index 30ef1efec..b6bf8bb57 100644 --- a/docs/customize/model-providers/more/morph.mdx +++ b/docs/customize/model-providers/more/morph.mdx @@ -8,6 +8,10 @@ Morph provides a fast apply model that helps you quickly and accurately apply co ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - uses: morphllm/morph-v0 with: @@ -15,6 +19,10 @@ Morph provides a fast apply model that helps you quickly and accurately apply co ``` or ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + - name: Morph Fast Apply provider: openai model: morph-v2 @@ -54,6 +62,10 @@ We recommend configuring **morph-embedding-v2** as your embeddings model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Morph Embeddings provider: openai @@ -85,6 +97,10 @@ We recommend configuring **morph-rerank-v2** as your reranking model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Morph Reranker provider: cohere diff --git a/docs/customize/model-providers/more/msty.mdx b/docs/customize/model-providers/more/msty.mdx index 9d889bd0d..6e15cc030 100644 --- a/docs/customize/model-providers/more/msty.mdx +++ b/docs/customize/model-providers/more/msty.mdx @@ -8,6 +8,10 @@ description: "Configure Msty with Continue to easily run both online and local o ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Msty provider: msty @@ -47,6 +51,10 @@ If you need to send custom headers for authentication, you may use the `requestO ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Msty provider: msty diff --git a/docs/customize/model-providers/more/nebius.mdx b/docs/customize/model-providers/more/nebius.mdx index b3491908c..eb100bf5f 100644 --- a/docs/customize/model-providers/more/nebius.mdx +++ b/docs/customize/model-providers/more/nebius.mdx @@ -14,6 +14,10 @@ Available models can be found on the [Nebius AI Studio models page](https://stud ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: DeepSeek R1 provider: nebius @@ -44,6 +48,10 @@ Available models can be found on the [Nebius AI Studio embeddings page](https:// ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: BAAI Embedder provider: nebius diff --git a/docs/customize/model-providers/more/novita.mdx b/docs/customize/model-providers/more/novita.mdx index bb01ef77a..c661fc786 100644 --- a/docs/customize/model-providers/more/novita.mdx +++ b/docs/customize/model-providers/more/novita.mdx @@ -8,6 +8,10 @@ description: "Configure Novita AI with Continue to access their affordable and r ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3.1 8B provider: novita diff --git a/docs/customize/model-providers/more/nvidia.mdx b/docs/customize/model-providers/more/nvidia.mdx index 534583b31..bfb66e1a8 100644 --- a/docs/customize/model-providers/more/nvidia.mdx +++ b/docs/customize/model-providers/more/nvidia.mdx @@ -11,6 +11,10 @@ title: "NVIDIA" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: nvidia diff --git a/docs/customize/model-providers/more/openvino_model_server.mdx b/docs/customize/model-providers/more/openvino_model_server.mdx index 8c7fc889a..1ff6f3bdf 100644 --- a/docs/customize/model-providers/more/openvino_model_server.mdx +++ b/docs/customize/model-providers/more/openvino_model_server.mdx @@ -14,6 +14,10 @@ OpenVINO™ Mode Server supports text generation via OpenAI Chat Completions API Example configuration once OVMS is launched: ```yaml title="config.yaml" +name: My Config +version: 0.0.1 +schema: v1 + models: - name: OVMS CodeLlama-7b-Instruct-hf provider: openai diff --git a/docs/customize/model-providers/more/ovhcloud.mdx b/docs/customize/model-providers/more/ovhcloud.mdx index 3a7b00549..433534434 100644 --- a/docs/customize/model-providers/more/ovhcloud.mdx +++ b/docs/customize/model-providers/more/ovhcloud.mdx @@ -20,6 +20,10 @@ Check our [catalog](https://endpoints.ai.cloud.ovh.net/catalog) to see all of ou ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen2.5-Coder-32B-Instruct provider: ovhcloud @@ -50,6 +54,10 @@ We recommend configuring **bge-multilingual-gemma2** as your embeddings model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: BGE Multilingual Gemma2 provider: ovhcloud diff --git a/docs/customize/model-providers/more/replicatellm.mdx b/docs/customize/model-providers/more/replicatellm.mdx index 939072cf2..51c5385f6 100644 --- a/docs/customize/model-providers/more/replicatellm.mdx +++ b/docs/customize/model-providers/more/replicatellm.mdx @@ -8,6 +8,10 @@ Replicate is a great option for newly released language models or models that yo ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Replicate CodeLLama provider: replicate diff --git a/docs/customize/model-providers/more/sagemaker.mdx b/docs/customize/model-providers/more/sagemaker.mdx index ba1ab58c6..43505d55b 100644 --- a/docs/customize/model-providers/more/sagemaker.mdx +++ b/docs/customize/model-providers/more/sagemaker.mdx @@ -10,6 +10,10 @@ Here is an example Sagemaker configuration setup: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: deepseek-6.7b-instruct provider: sagemaker diff --git a/docs/customize/model-providers/more/scaleway.mdx b/docs/customize/model-providers/more/scaleway.mdx index 5b840d1a1..e6c605d4d 100644 --- a/docs/customize/model-providers/more/scaleway.mdx +++ b/docs/customize/model-providers/more/scaleway.mdx @@ -20,6 +20,10 @@ We recommend configuring **Qwen2.5-Coder-32B-Instruct** as your chat model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen2.5-Coder-32B-Instruct provider: scaleway @@ -56,6 +60,10 @@ We recommend configuring **BGE-Multilingual-Gemma2** as your embeddings model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: BGE Multilingual Gemma2 provider: scaleway diff --git a/docs/customize/model-providers/more/siliconflow.mdx b/docs/customize/model-providers/more/siliconflow.mdx index 1b008dc6e..f75ce2a9c 100644 --- a/docs/customize/model-providers/more/siliconflow.mdx +++ b/docs/customize/model-providers/more/siliconflow.mdx @@ -15,6 +15,10 @@ We recommend configuring **Qwen/Qwen2.5-Coder-32B-Instruct** as your chat model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen provider: siliconflow @@ -47,6 +51,10 @@ We recommend configuring **Qwen/Qwen2.5-Coder-7B-Instruct** as your autocomplete ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen provider: siliconflow diff --git a/docs/customize/model-providers/more/textgenwebui.mdx b/docs/customize/model-providers/more/textgenwebui.mdx index 29ac9fa01..032e6a681 100644 --- a/docs/customize/model-providers/more/textgenwebui.mdx +++ b/docs/customize/model-providers/more/textgenwebui.mdx @@ -8,6 +8,10 @@ TextGenWebUI is a comprehensive, open-source language model UI and local server. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Text Generation WebUI provider: text-gen-webui diff --git a/docs/customize/model-providers/more/together.mdx b/docs/customize/model-providers/more/together.mdx index e9a98b9b7..7de616a44 100644 --- a/docs/customize/model-providers/more/together.mdx +++ b/docs/customize/model-providers/more/together.mdx @@ -16,6 +16,10 @@ sidebarTitle: "Together AI" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: together diff --git a/docs/customize/model-providers/more/vllm.mdx b/docs/customize/model-providers/more/vllm.mdx index 3f3bdd643..57c99dd39 100644 --- a/docs/customize/model-providers/more/vllm.mdx +++ b/docs/customize/model-providers/more/vllm.mdx @@ -16,6 +16,10 @@ We recommend configuring **Llama3.1 8B** as your chat model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama3.1 8B Instruct provider: vllm @@ -46,6 +50,10 @@ We recommend configuring **Qwen2.5-Coder 1.5B** as your autocomplete model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Qwen2.5-Coder 1.5B provider: vllm @@ -76,6 +84,10 @@ We recommend configuring **Nomic Embed Text** as your embeddings model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: VLLM Nomad Embed Text provider: vllm diff --git a/docs/customize/model-providers/more/watsonx.mdx b/docs/customize/model-providers/more/watsonx.mdx index aafb45b1d..7681b5b27 100644 --- a/docs/customize/model-providers/more/watsonx.mdx +++ b/docs/customize/model-providers/more/watsonx.mdx @@ -46,6 +46,10 @@ Add the following configuration: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: watsonx - Model Name provider: watsonx @@ -83,6 +87,10 @@ If you are using a custom deployment endpoint, set `deploymentID` to the model's ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: watsonx - Model Name provider: watsonx @@ -121,6 +129,10 @@ You can also configure generation parameters, such as temperature, topP, topK, f ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Granite Code 20b provider: watsonx @@ -180,6 +192,10 @@ Granite models are recommended for tab auto complete. The configuration is simil ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Granite Code 8b provider: watsonx @@ -217,6 +233,10 @@ To view the list of available embeddings models, visit [this page](https://datap ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Watsonx Embedder provider: watsonx @@ -250,6 +270,10 @@ To view the list of available embeddings models, visit [this page](https://datap ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Watsonx Reranker provider: watsonx diff --git a/docs/customize/model-providers/more/xAI.mdx b/docs/customize/model-providers/more/xAI.mdx index c90b2196e..a01e22c39 100644 --- a/docs/customize/model-providers/more/xAI.mdx +++ b/docs/customize/model-providers/more/xAI.mdx @@ -12,6 +12,10 @@ slug: ../xai ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: xai diff --git a/docs/customize/model-providers/top-level/anthropic.mdx b/docs/customize/model-providers/top-level/anthropic.mdx index 7231e93e9..cd46a20b7 100644 --- a/docs/customize/model-providers/top-level/anthropic.mdx +++ b/docs/customize/model-providers/top-level/anthropic.mdx @@ -17,6 +17,10 @@ sidebarTitle: "Anthropic" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: anthropic @@ -41,7 +45,7 @@ sidebarTitle: "Anthropic" - **Check out a more advanced configuration [here](https://hub.continue.dev/anthropic/claude-4-sonnet?view=config)** + **Check out a more advanced configuration [here](https://hub.continue.dev/anthropic/claude-sonnet-4-5?view=config)** ## How to Enable Prompt Caching with Claude @@ -53,6 +57,10 @@ To enable caching of the system message and the turn-by-turn conversation, updat ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: anthropic diff --git a/docs/customize/model-providers/top-level/azure.mdx b/docs/customize/model-providers/top-level/azure.mdx index 62275b321..4fc3f86db 100644 --- a/docs/customize/model-providers/top-level/azure.mdx +++ b/docs/customize/model-providers/top-level/azure.mdx @@ -11,6 +11,10 @@ sidebarTitle: "Azure AI Foundry" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: azure @@ -55,6 +59,10 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: model: diff --git a/docs/customize/model-providers/top-level/bedrock.mdx b/docs/customize/model-providers/top-level/bedrock.mdx index 5b3d581ef..905428d07 100644 --- a/docs/customize/model-providers/top-level/bedrock.mdx +++ b/docs/customize/model-providers/top-level/bedrock.mdx @@ -17,6 +17,10 @@ sidebarTitle: "Amazon Bedrock" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: bedrock @@ -57,6 +61,10 @@ messages between requests. Enable this behavior by adding configuration. ```yaml title="config.yaml" +name: My Config +version: 0.0.1 +schema: v1 + models: - name: provider: bedrock @@ -84,6 +92,10 @@ You can also use an AWS `accessKeyId` and `secretAccessKey` for authentication i ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: bedrock @@ -121,6 +133,10 @@ To setup Bedrock using custom imported models, add the following to your config ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: bedrockimport diff --git a/docs/customize/model-providers/top-level/gemini.mdx b/docs/customize/model-providers/top-level/gemini.mdx index 40ca45ba3..e86000bb8 100644 --- a/docs/customize/model-providers/top-level/gemini.mdx +++ b/docs/customize/model-providers/top-level/gemini.mdx @@ -17,6 +17,10 @@ sidebarTitle: "Gemini" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: gemini diff --git a/docs/customize/model-providers/top-level/inception.mdx b/docs/customize/model-providers/top-level/inception.mdx index cd1225f7d..a18b89be1 100644 --- a/docs/customize/model-providers/top-level/inception.mdx +++ b/docs/customize/model-providers/top-level/inception.mdx @@ -17,6 +17,10 @@ sidebarTitle: "Inception" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: inception diff --git a/docs/customize/model-providers/top-level/lmstudio.mdx b/docs/customize/model-providers/top-level/lmstudio.mdx index 06d7fa77f..d151d17b6 100644 --- a/docs/customize/model-providers/top-level/lmstudio.mdx +++ b/docs/customize/model-providers/top-level/lmstudio.mdx @@ -15,6 +15,10 @@ title: "LM Studio" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: lmstudio diff --git a/docs/customize/model-providers/top-level/ollama.mdx b/docs/customize/model-providers/top-level/ollama.mdx index 77cd6757a..fa608672f 100644 --- a/docs/customize/model-providers/top-level/ollama.mdx +++ b/docs/customize/model-providers/top-level/ollama.mdx @@ -17,6 +17,10 @@ sidebarTitle: "Ollama" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: ollama @@ -51,6 +55,10 @@ Ollama models usually have their capabilities auto-detected correctly. However, ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: ollama diff --git a/docs/customize/model-providers/top-level/openai.mdx b/docs/customize/model-providers/top-level/openai.mdx index 3249e27c9..20f735ad1 100644 --- a/docs/customize/model-providers/top-level/openai.mdx +++ b/docs/customize/model-providers/top-level/openai.mdx @@ -17,6 +17,10 @@ sidebarTitle: "OpenAI" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openai @@ -63,6 +67,10 @@ If you are using an OpenAI API compatible providers, you can change the `apiBase ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openai @@ -95,6 +103,10 @@ To force usage of `completions` instead of `chat/completions` endpoint you can s ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openai diff --git a/docs/customize/model-providers/top-level/openrouter.mdx b/docs/customize/model-providers/top-level/openrouter.mdx index de4aee896..9f429c6e5 100644 --- a/docs/customize/model-providers/top-level/openrouter.mdx +++ b/docs/customize/model-providers/top-level/openrouter.mdx @@ -14,6 +14,10 @@ sidebarTitle: "OpenRouter" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openrouter @@ -52,6 +56,10 @@ For example, to prevent extra long prompts from being compressed, you can explic ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openrouter @@ -97,6 +105,10 @@ If you're experiencing issues with Agent mode or tools not working, you can add ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: openrouter diff --git a/docs/customize/model-providers/top-level/vertexai.mdx b/docs/customize/model-providers/top-level/vertexai.mdx index 0a5892a67..d85c11043 100644 --- a/docs/customize/model-providers/top-level/vertexai.mdx +++ b/docs/customize/model-providers/top-level/vertexai.mdx @@ -14,6 +14,10 @@ sidebarTitle: "Vertex AI" ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: vertexai @@ -47,6 +51,10 @@ You can use Vertex AI in [express mode](https://cloud.google.com/vertex-ai/gener ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: provider: vertexai diff --git a/docs/customize/model-roles/chat.mdx b/docs/customize/model-roles/chat.mdx index e62179b5b..ba45fee75 100644 --- a/docs/customize/model-roles/chat.mdx +++ b/docs/customize/model-roles/chat.mdx @@ -29,6 +29,10 @@ Our current top recommendations are Claude Opus 4.5 and Claude Sonnet 4 from [An ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Claude Opus 4.5 provider: anthropic @@ -57,6 +61,10 @@ If you prefer to use an open-weight model, then the Gemma family of Models from ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: "Gemma 3 27B" provider: "ollama" @@ -65,6 +73,10 @@ If you prefer to use an open-weight model, then the Gemma family of Models from ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: "Gemma 3 27B" provider: "together" @@ -86,6 +98,10 @@ If you prefer to use a model from [OpenAI](../model-providers/top-level/openai), ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: GPT-5.1 provider: openai @@ -105,6 +121,10 @@ If you prefer to use a model from [xAI](../model-providers/more/xAI), then we re ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Grok-4.1 provider: xAI @@ -124,6 +144,10 @@ If you prefer to use a model from [Google](../model-providers/top-level/gemini), ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Gemini 3 Pro provider: gemini @@ -157,6 +181,10 @@ If your local machine can run an 8B parameter model, then we recommend running L ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3.1 8B provider: ollama @@ -165,6 +193,10 @@ If your local machine can run an 8B parameter model, then we recommend running L ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3.1 8B provider: lmstudio @@ -173,6 +205,10 @@ If your local machine can run an 8B parameter model, then we recommend running L ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Llama 3.1 8B provider: msty @@ -203,6 +239,10 @@ If your local machine can run a 16B parameter model, then we recommend running D ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: DeepSeek Coder 2 16B provider: ollama @@ -211,6 +251,10 @@ If your local machine can run a 16B parameter model, then we recommend running D ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: DeepSeek Coder 2 16B provider: lmstudio @@ -219,6 +263,10 @@ If your local machine can run a 16B parameter model, then we recommend running D ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: DeepSeek Coder 2 16B provider: msty diff --git a/docs/customize/model-roles/edit.mdx b/docs/customize/model-roles/edit.mdx index 3fe2b9143..425fd20a3 100644 --- a/docs/customize/model-roles/edit.mdx +++ b/docs/customize/model-roles/edit.mdx @@ -11,6 +11,10 @@ It's often useful to select a different model to respond to Edit instructions th In Continue, you can add `edit` to a model's roles to specify that it can be used for Edit requests. If no edit models are specified, the selected `chat` model is used. ```yaml title="config.yaml" +name: My Config +version: 0.0.1 +schema: v1 + models: - name: Claude 4 Sonnet provider: anthropic diff --git a/docs/customize/model-roles/embeddings.mdx b/docs/customize/model-roles/embeddings.mdx index 91e172ca2..95cd5ff29 100644 --- a/docs/customize/model-roles/embeddings.mdx +++ b/docs/customize/model-roles/embeddings.mdx @@ -37,6 +37,10 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Voyage Code 3 provider: voyage @@ -70,6 +74,10 @@ See [here](../model-providers/top-level/ollama#embeddings-model) for instruction ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: default-transformers provider: transformers.js @@ -99,6 +107,10 @@ See [here](../model-providers/top-level/ollama#embeddings-model) for instruction */} ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Huggingface TEI Embedder provider: huggingface-tei diff --git a/docs/customize/model-roles/reranking.mdx b/docs/customize/model-roles/reranking.mdx index 7d057cbb4..edacf773a 100644 --- a/docs/customize/model-roles/reranking.mdx +++ b/docs/customize/model-roles/reranking.mdx @@ -24,12 +24,20 @@ Voyage AI offers the best reranking model for code with their `rerank-2` model. ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - uses: voyageai/rerank-2 ``` ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: My Voyage Reranker provider: voyage @@ -52,6 +60,10 @@ See Cohere's documentation for rerankers [here](https://docs.cohere.com/docs/rer */} ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Cohere Reranker provider: cohere @@ -74,6 +86,10 @@ If you only have access to a single LLM, then you can use it as a reranker. This */} ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: LLM Reranker provider: openai @@ -97,6 +113,10 @@ If you only have access to a single LLM, then you can use it as a reranker. This */} ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: Huggingface-tei Reranker provider: huggingface-tei diff --git a/docs/customize/models.mdx b/docs/customize/models.mdx index a21827a30..85bcf25c4 100644 --- a/docs/customize/models.mdx +++ b/docs/customize/models.mdx @@ -30,10 +30,10 @@ Read more about [model roles](/customize/model-roles), [model capabilities](/cus # Frontier Models -[Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) from Anthropic +[Claude Sonnet 4.5](https://hub.continue.dev/anthropic/claude-sonnet-4-5) from Anthropic 1. Get your API key from [Anthropic](https://console.anthropic.com/) -2. Add [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) to a config on Continue Mission Control +2. Add[Claude Sonnet 4.5](https://hub.continue.dev/anthropic/claude-sonnet-4-5) to a config on Continue Mission Control 3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://hub.continue.dev/settings/secrets) 4. Click `Reload config` in the config selector in the Continue IDE extension diff --git a/docs/guides/atlassian-mcp-continue-cookbook.mdx b/docs/guides/atlassian-mcp-continue-cookbook.mdx index dcfd64a99..fa47a9aed 100644 --- a/docs/guides/atlassian-mcp-continue-cookbook.mdx +++ b/docs/guides/atlassian-mcp-continue-cookbook.mdx @@ -141,6 +141,10 @@ For all options, first: Install from Hub (recommended) or add YAML manually. Minimal YAML example: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + mcpServers: - name: Atlassian Rovo MCP type: sse diff --git a/docs/guides/github-mcp-continue-cookbook.mdx b/docs/guides/github-mcp-continue-cookbook.mdx index b994025de..d60cd4a34 100644 --- a/docs/guides/github-mcp-continue-cookbook.mdx +++ b/docs/guides/github-mcp-continue-cookbook.mdx @@ -83,6 +83,10 @@ After ensuring you meet the **Prerequisites** above, you have two paths to get s Install from Hub (recommended) or add YAML manually. Minimal YAML example: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + mcpServers: - name: GitHub MCP command: npx diff --git a/docs/reference.mdx b/docs/reference.mdx index e467a5a31..23a08cb48 100644 --- a/docs/reference.mdx +++ b/docs/reference.mdx @@ -45,7 +45,9 @@ The top-level properties in the `config.yaml` configuration file are: The `name` property specifies the name of your project or configuration. ```yaml title="config.yaml" -name: MyProject +name: My Config +version: 1.0.0 +schema: v1 ``` --- @@ -149,6 +151,9 @@ The `models` section defines the language models used in your configuration. Mod **Example:** ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 models: - name: GPT-4o provider: openai @@ -198,6 +203,9 @@ More information about usage/params for each context provider can be found [here **Example:** ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 context: - provider: file - provider: code @@ -218,6 +226,9 @@ Rules are concatenated into the system message for all [Agent](/ide-extensions/a Confiugration example: ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 rules: - uses: sanity/sanity-opinionated # rules file stored on Continue Mission Control - uses: file://user/Desktop/rules.md # rules file stored on local computer @@ -244,6 +255,9 @@ Prompts can be invoked with a / command. Configuration example: ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 prompts: - uses: supabase/create-functions # prompts file stored on Continue Mission Control - uses: file://user/Desktop/prompts.md # prompts file stored on local computer @@ -278,6 +292,9 @@ List of documentation sites to index. **Example:** ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 docs: - name: Continue startUrl: https://docs.continue.dev/intro @@ -303,6 +320,9 @@ The [Model Context Protocol](https://modelcontextprotocol.io/introduction) is a **Example:** ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 mcpServers: - name: My MCP Server command: uvx @@ -334,6 +354,9 @@ Destinations to which [development data](/customize/deep-dives/development-data) **Example:** ```yaml title="config.yaml" +name: My Config +version: 1.0.0 +schema: v1 data: - name: Local Data Bank destination: file:///Users/dallin/Documents/code/continuedev/continue-extras/external-data @@ -355,8 +378,8 @@ data: Putting it all together, here's a complete example of a `config.yaml` configuration file: ```yaml title="config.yaml" -name: MyProject -version: 0.0.1 +name: My Config +version: 1.0.0 schema: v1 models: - uses: anthropic/claude-3.5-sonnet @@ -430,8 +453,8 @@ You can also use node anchors to avoid duplication of properties. To do so, addi ```yaml title="config.yaml" %YAML 1.1 --- -name: MyProject -version: 0.0.1 +name: My Config +version: 1.0.0 schema: v1 model_defaults: &model_defaults provider: openai diff --git a/docs/reference/deprecated-codebase.mdx b/docs/reference/deprecated-codebase.mdx index 6e552493b..505534191 100644 --- a/docs/reference/deprecated-codebase.mdx +++ b/docs/reference/deprecated-codebase.mdx @@ -67,6 +67,10 @@ There are a few options that let you configure the behavior of the `@codebase` c ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + context: - provider: codebase params: diff --git a/docs/reference/deprecated-docs.mdx b/docs/reference/deprecated-docs.mdx index f0e57d5d0..6364ae77e 100644 --- a/docs/reference/deprecated-docs.mdx +++ b/docs/reference/deprecated-docs.mdx @@ -30,6 +30,10 @@ To enable the `@Docs` context provider, add it to the list of context providers ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + context: - provider: docs ``` @@ -90,6 +94,10 @@ For bulk documentation site adds or edits, we recommend editing your global conf ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + docs: - title: Nest.js startUrl: https://docs.nestjs.com/ @@ -128,6 +136,10 @@ As with [@Codebase context provider configuration](./deprecated-codebase#configu ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + context: - provider: docs params: @@ -161,6 +173,10 @@ The GitHub API rate limits public requests to 60 per hour. If you want to reliab ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + context: - provider: docs params: @@ -192,6 +208,10 @@ If your documentation is private, you can skip the default crawler and use a loc ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + docs: - title: My Private Docs startUrl: http://10.2.1.2/docs @@ -255,6 +275,10 @@ The following configuration example works out of the box for VS Code. This uses ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + context: - provider: docs @@ -289,6 +313,10 @@ Here is the equivalent minimal example for Jetbrains, which requires setting up ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: LMStudio embedder provider: lmstudio @@ -337,6 +365,10 @@ The following configuration example includes: ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + models: - name: LMStudio Nomic Text provider: lmstudio diff --git a/docs/reference/json-reference.mdx b/docs/reference/json-reference.mdx index ad5ef6d16..e490968ff 100644 --- a/docs/reference/json-reference.mdx +++ b/docs/reference/json-reference.mdx @@ -120,7 +120,7 @@ Specifies options for tab autocompletion behavior. - `debounceDelay`: Delay (in ms) before triggering autocomplete (default: `350`). - `maxSuffixPercentage`: Maximum percentage of prompt for suffix (default: `0.2`). - `prefixPercentage`: Percentage of input for prefix (default: `0.3`). -- `template`: Template string for autocomplete, using Mustache templating. You can use the `{{{ prefix }}}`, `{{{ suffix }}}`, `{{{ filename }}}`, `{{{ reponame }}}`, and `{{{ language }}}` variables. +- `template`: Template string for autocomplete, using Mustache templating. You can use the `{{{prefix}}}`, `{{{suffix}}}`, `{{{filename}}}`, `{{{reponame}}}`, and `{{{language}}}` variables. - `onlyMyCode`: If `true`, only includes code within the repository (default: `true`). Example diff --git a/extensions/cli/spec/shell-mode.md b/extensions/cli/spec/shell-mode.md index 06ad477e9..2a4693b8a 100644 --- a/extensions/cli/spec/shell-mode.md +++ b/extensions/cli/spec/shell-mode.md @@ -44,8 +44,8 @@ Output handling - Stdout is streamed into memory; Stderr is captured and appended as a trailing "Stderr: ..." section on success. - If the process exits non-zero and Stderr contains content, the tool call is marked as error and the error text is shown. - Output is truncated to the first 5000 lines if exceeded. -- Timeout behavior: If no output is received for 30 seconds (configurable in tests), the process is terminated and the result includes a note like: - "[Command timed out after 30 seconds of no output]". +- Timeout behavior: If no output is received for 120 seconds (configurable in tests), the process is terminated and the result includes a note like: + "[Command timed out after 120 seconds of no output]". Keyboard behaviors (summary) diff --git a/extensions/cli/src/stream/streamChatResponse.autoContinuation.test.ts b/extensions/cli/src/stream/streamChatResponse.autoContinuation.test.ts new file mode 100644 index 000000000..8803ea987 --- /dev/null +++ b/extensions/cli/src/stream/streamChatResponse.autoContinuation.test.ts @@ -0,0 +1,324 @@ +import { ModelConfig } from "@continuedev/config-yaml"; +import { BaseLlmApi } from "@continuedev/openai-adapters"; +import type { ChatHistoryItem } from "core/index.js"; +import { convertToUnifiedHistory } from "core/util/messageConversion.js"; +import type { ChatCompletionChunk } from "openai/resources/chat/completions.mjs"; +import { beforeEach, describe, expect, it, vi } from "vitest"; + +import { streamChatResponse } from "./streamChatResponse.js"; + +// Mock all dependencies +vi.mock("../compaction.js", () => ({ + compactChatHistory: vi.fn(), + pruneLastMessage: vi.fn((history) => history.slice(0, -1)), +})); + +vi.mock("../session.js", () => ({ + updateSessionHistory: vi.fn(), +})); + +vi.mock("../util/tokenizer.js", () => ({ + shouldAutoCompact: vi.fn(), + getAutoCompactMessage: vi.fn(() => "Auto-compacting..."), + countChatHistoryItemTokens: vi.fn(() => 100), + validateContextLength: vi.fn(() => ({ isValid: true })), +})); + +vi.mock("../telemetry/telemetryService.js", () => ({ + telemetryService: { + logApiRequest: vi.fn(), + recordResponseTime: vi.fn(), + recordTokenUsage: vi.fn(), + recordCost: vi.fn(), + }, +})); + +vi.mock("../telemetry/posthogService.js", () => ({ + posthogService: { + capture: vi.fn(), + }, +})); + +vi.mock("../util/logger.js", () => ({ + logger: { + info: vi.fn(), + debug: vi.fn(), + error: vi.fn(), + warn: vi.fn(), + }, +})); + +vi.mock("../services/index.js", () => ({ + services: { + systemMessage: { + getSystemMessage: vi.fn(() => Promise.resolve("System message")), + }, + toolPermissions: { + getState: vi.fn(() => ({ currentMode: "enabled" })), + isHeadless: vi.fn(() => false), + }, + chatHistory: { + isReady: vi.fn(() => true), + getHistory: vi.fn(() => []), + setHistory: vi.fn(), + addUserMessage: vi.fn(), + }, + }, +})); + +vi.mock("./handleToolCalls.js", () => ({ + handleToolCalls: vi.fn(() => Promise.resolve(false)), + getRequestTools: vi.fn(() => Promise.resolve([])), +})); + +vi.mock("./streamChatResponse.compactionHelpers.js", () => ({ + handlePreApiCompaction: vi.fn((chatHistory) => + Promise.resolve({ chatHistory, wasCompacted: false }), + ), + handlePostToolValidation: vi.fn((_, chatHistory) => + Promise.resolve({ chatHistory, wasCompacted: false }), + ), + handleNormalAutoCompaction: vi.fn((chatHistory) => + Promise.resolve({ chatHistory, wasCompacted: false }), + ), +})); + +describe("streamChatResponse - auto-continuation after compaction", () => { + const mockModel: ModelConfig = { + provider: "openai", + name: "gpt-4", + model: "gpt-4", + defaultCompletionOptions: { + contextLength: 8192, + maxTokens: 2048, + }, + } as any; + + let mockLlmApi: BaseLlmApi; + let mockAbortController: AbortController; + let chatHistory: ChatHistoryItem[]; + let chunks: ChatCompletionChunk[]; + let responseCount: number; + + function contentChunk(content: string): ChatCompletionChunk { + return { + id: "test", + object: "chat.completion.chunk", + created: Date.now(), + model: "test-model", + choices: [ + { + index: 0, + delta: { content }, + finish_reason: null, + }, + ], + }; + } + + beforeEach(() => { + vi.clearAllMocks(); + responseCount = 0; + chunks = [contentChunk("Initial response")]; + chatHistory = convertToUnifiedHistory([{ role: "user", content: "Hello" }]); + + mockLlmApi = { + chatCompletionStream: vi.fn().mockImplementation(async function* () { + responseCount++; + for (const chunk of chunks) { + yield chunk; + } + }), + } as unknown as BaseLlmApi; + + mockAbortController = { + signal: { aborted: false }, + abort: vi.fn(), + } as unknown as AbortController; + }); + + it("should automatically continue after compaction when no tool calls remain", async () => { + const { services } = await import("../services/index.js"); + const { handleNormalAutoCompaction } = await import( + "./streamChatResponse.compactionHelpers.js" + ); + const { logger } = await import("../util/logger.js"); + + // Track history modifications + const historyUpdates: string[] = []; + vi.mocked(services.chatHistory.addUserMessage).mockImplementation((msg) => { + historyUpdates.push(msg); + return { + message: { role: "user", content: msg }, + contextItems: [], + }; + }); + + // First call: compaction happens + // Second call (after continuation): no compaction + let compactionCallCount = 0; + vi.mocked(handleNormalAutoCompaction).mockImplementation(() => { + compactionCallCount++; + return Promise.resolve({ + chatHistory, + wasCompacted: compactionCallCount === 1, // Only first call has compaction + }); + }); + + // Simulate: first response completes (no tool calls), triggering auto-continue + let callCount = 0; + mockLlmApi.chatCompletionStream = vi + .fn() + .mockImplementation(async function* () { + callCount++; + if (callCount === 1) { + // First call: just content, no tool calls (shouldContinue = false) + yield contentChunk("First response"); + } else if (callCount === 2) { + // Second call: after auto-continuation + yield contentChunk("Continued after compaction"); + } + }) as any; + + await streamChatResponse( + chatHistory, + mockModel, + mockLlmApi, + mockAbortController, + ); + + // Verify "continue" message was added + expect(historyUpdates).toContain("continue"); + + // Verify logging occurred + expect(logger.debug).toHaveBeenCalledWith( + "Auto-compaction occurred during this turn - automatically continuing session", + ); + expect(logger.debug).toHaveBeenCalledWith( + "Added continuation message after compaction", + ); + + // Verify the LLM was called multiple times (continuing the conversation) + expect(callCount).toBeGreaterThan(1); + }); + + it("should not auto-continue if compaction occurs with tool calls pending", async () => { + const { services } = await import("../services/index.js"); + const { handleNormalAutoCompaction } = await import( + "./streamChatResponse.compactionHelpers.js" + ); + const { handleToolCalls } = await import("./handleToolCalls.js"); + + const historyUpdates: string[] = []; + vi.mocked(services.chatHistory.addUserMessage).mockImplementation((msg) => { + historyUpdates.push(msg); + return { + message: { role: "user", content: msg }, + contextItems: [], + }; + }); + + // Compaction happens + vi.mocked(handleNormalAutoCompaction).mockResolvedValue({ + chatHistory, + wasCompacted: true, + }); + + // But tool calls are still being processed (shouldContinue = true) + // This is simulated by having handleToolCalls return true (shouldReturn) + vi.mocked(handleToolCalls).mockResolvedValue(true); + + // Mock tool calls in response + mockLlmApi.chatCompletionStream = vi + .fn() + .mockImplementation(async function* () { + yield { + id: "test", + object: "chat.completion.chunk", + created: Date.now(), + model: "test-model", + choices: [ + { + index: 0, + delta: { + tool_calls: [ + { + index: 0, + id: "call_123", + type: "function", + function: { + name: "ReadFile", + arguments: '{"filepath": "/test"}', + }, + }, + ], + }, + finish_reason: null, + }, + ], + }; + }) as any; + + await streamChatResponse( + chatHistory, + mockModel, + mockLlmApi, + mockAbortController, + ); + + // Should NOT auto-continue because tool calls are pending + expect(historyUpdates).not.toContain("continue"); + }); + + it("should not create infinite loops - flag is reset after continuation", async () => { + const { services } = await import("../services/index.js"); + const { handleNormalAutoCompaction } = await import( + "./streamChatResponse.compactionHelpers.js" + ); + + const historyUpdates: string[] = []; + vi.mocked(services.chatHistory.addUserMessage).mockImplementation((msg) => { + historyUpdates.push(msg); + return { + message: { role: "user", content: msg }, + contextItems: [], + }; + }); + + // Track calls - compaction happens on 1st turn, then again on 2nd turn + let normalCompactionCallCount = 0; + vi.mocked(handleNormalAutoCompaction).mockImplementation(() => { + normalCompactionCallCount++; + // Compaction happens on first two calls + return Promise.resolve({ + chatHistory, + wasCompacted: normalCompactionCallCount <= 1, + }); + }); + + let streamCallCount = 0; + mockLlmApi.chatCompletionStream = vi + .fn() + .mockImplementation(async function* () { + streamCallCount++; + yield contentChunk(`Response ${streamCallCount}`); + }) as any; + + await streamChatResponse( + chatHistory, + mockModel, + mockLlmApi, + mockAbortController, + ); + + // Should only add "continue" once + // The flag is reset after the first continuation + const continueCount = historyUpdates.filter( + (msg) => msg === "continue", + ).length; + expect(continueCount).toBeLessThanOrEqual(1); + + // Should have called the LLM at least once + expect(streamCallCount).toBeGreaterThanOrEqual(1); + }); +}); diff --git a/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts b/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts index 722e384a3..d1c42517f 100644 --- a/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts +++ b/extensions/cli/src/stream/streamChatResponse.compactionHelpers.ts @@ -66,11 +66,11 @@ export async function handlePostToolValidation( toolCalls: ToolCall[], chatHistory: ChatHistoryItem[], options: CompactionHelperOptions, -): Promise { +): Promise<{ chatHistory: ChatHistoryItem[]; wasCompacted: boolean }> { const { model, llmApi, isHeadless, callbacks, systemMessage } = options; if (toolCalls.length === 0) { - return chatHistory; + return { chatHistory, wasCompacted: false }; } // Get updated history after tool execution @@ -150,6 +150,7 @@ export async function handlePostToolValidation( inputTokens: postCompactionValidation.inputTokens, contextLimit: postCompactionValidation.contextLimit, }); + return { chatHistory, wasCompacted: true }; } else { // Compaction failed, cannot continue logger.error("Failed to compact history after tool execution overflow"); @@ -159,7 +160,7 @@ export async function handlePostToolValidation( } } - return chatHistory; + return { chatHistory, wasCompacted: false }; } /** @@ -169,11 +170,11 @@ export async function handleNormalAutoCompaction( chatHistory: ChatHistoryItem[], shouldContinue: boolean, options: CompactionHelperOptions, -): Promise { +): Promise<{ chatHistory: ChatHistoryItem[]; wasCompacted: boolean }> { const { model, llmApi, isHeadless, callbacks, systemMessage } = options; if (!shouldContinue) { - return chatHistory; + return { chatHistory, wasCompacted: false }; } const chatHistorySvc = services.chatHistory; @@ -198,11 +199,14 @@ export async function handleNormalAutoCompaction( // Use the service to update history if available, otherwise use local copy if (chatHistorySvc && typeof chatHistorySvc.setHistory === "function") { chatHistorySvc.setHistory(updatedChatHistory); - return chatHistorySvc.getHistory(); + return { + chatHistory: chatHistorySvc.getHistory(), + wasCompacted: true, + }; } // Fallback: return the compacted history directly when service unavailable - return updatedChatHistory; + return { chatHistory: updatedChatHistory, wasCompacted: true }; } - return chatHistory; + return { chatHistory, wasCompacted: false }; } diff --git a/extensions/cli/src/stream/streamChatResponse.ts b/extensions/cli/src/stream/streamChatResponse.ts index 814a12992..be23f9f7f 100644 --- a/extensions/cli/src/stream/streamChatResponse.ts +++ b/extensions/cli/src/stream/streamChatResponse.ts @@ -70,6 +70,63 @@ function handleContentDisplay( } } +// Helper function to refresh chat history from service +function refreshChatHistoryFromService( + chatHistory: ChatHistoryItem[], + isCompacting: boolean, +): ChatHistoryItem[] { + const chatHistorySvc = services.chatHistory; + if ( + typeof chatHistorySvc?.isReady === "function" && + chatHistorySvc.isReady() + ) { + try { + // use chat history from params when isCompacting is true + // otherwise use the full history + if (!isCompacting) { + return chatHistorySvc.getHistory(); + } + } catch {} + } + return chatHistory; +} + +// Helper function to handle auto-continuation after compaction +function handleAutoContinuation( + compactionOccurred: boolean, + shouldContinue: boolean, + chatHistory: ChatHistoryItem[], +): { shouldAutoContinue: boolean; chatHistory: ChatHistoryItem[] } { + if (!compactionOccurred || shouldContinue) { + return { shouldAutoContinue: false, chatHistory }; + } + + logger.debug( + "Auto-compaction occurred during this turn - automatically continuing session", + ); + + // Add a continuation message to the history + const chatHistorySvc = services.chatHistory; + if ( + typeof chatHistorySvc?.isReady === "function" && + chatHistorySvc.isReady() + ) { + chatHistorySvc.addUserMessage("continue"); + chatHistory = chatHistorySvc.getHistory(); + } else { + chatHistory.push({ + message: { + role: "user", + content: "continue", + }, + contextItems: [], + }); + } + + logger.debug("Added continuation message after compaction"); + return { shouldAutoContinue: true, chatHistory }; +} + // Helper function to process a single chunk interface ProcessChunkOptions { chunk: any; @@ -379,22 +436,11 @@ export async function streamChatResponse( let fullResponse = ""; let finalResponse = ""; + let compactionOccurredThisTurn = false; // Track if compaction happened during this conversation turn while (true) { // If ChatHistoryService is available, refresh local chatHistory view - const chatHistorySvc = services.chatHistory; - if ( - typeof chatHistorySvc?.isReady === "function" && - chatHistorySvc.isReady() - ) { - try { - // use chat history from params when isCompacting is true - // otherwise use the full history - if (!isCompacting) { - chatHistory = chatHistorySvc.getHistory(); - } - } catch {} - } + chatHistory = refreshChatHistoryFromService(chatHistory, isCompacting); logger.debug("Starting conversation iteration"); logger.debug("debug1 streamChatResponse history", { chatHistory }); @@ -414,6 +460,9 @@ export async function streamChatResponse( systemMessage, }); chatHistory = preCompactionResult.chatHistory; + if (preCompactionResult.wasCompacted) { + compactionOccurredThisTurn = true; + } // Recompute tools on each iteration to handle mode changes during streaming const tools = await getRequestTools(isHeadless); @@ -467,17 +516,25 @@ export async function streamChatResponse( } // After tool execution, validate that we haven't exceeded context limit - chatHistory = await handlePostToolValidation(toolCalls, chatHistory, { - model, - llmApi, - isCompacting, - isHeadless, - callbacks, - systemMessage, - }); + const postToolResult = await handlePostToolValidation( + toolCalls, + chatHistory, + { + model, + llmApi, + isCompacting, + isHeadless, + callbacks, + systemMessage, + }, + ); + chatHistory = postToolResult.chatHistory; + if (postToolResult.wasCompacted) { + compactionOccurredThisTurn = true; + } // Normal auto-compaction check at 80% threshold - chatHistory = await handleNormalAutoCompaction( + const compactionResult = await handleNormalAutoCompaction( chatHistory, shouldContinue, { @@ -489,9 +546,28 @@ export async function streamChatResponse( systemMessage, }, ); + chatHistory = compactionResult.chatHistory; + if (compactionResult.wasCompacted) { + compactionOccurredThisTurn = true; + } - // Check if we should continue - if (!shouldContinue) { + // If compaction happened during this turn and we're about to stop, + // automatically send a continuation message to keep the agent going + const autoContinueResult = handleAutoContinuation( + compactionOccurredThisTurn, + shouldContinue, + chatHistory, + ); + chatHistory = autoContinueResult.chatHistory; + const shouldAutoContinue = autoContinueResult.shouldAutoContinue; + + // Reset flag to avoid infinite continuation + if (shouldAutoContinue) { + compactionOccurredThisTurn = false; + } + + // Check if we should continue (skip break if auto-continuing after compaction) + if (!shouldContinue && !shouldAutoContinue) { break; } } diff --git a/extensions/cli/src/tools/runTerminalCommand.ts b/extensions/cli/src/tools/runTerminalCommand.ts index 69706c21a..cfa096655 100644 --- a/extensions/cli/src/tools/runTerminalCommand.ts +++ b/extensions/cli/src/tools/runTerminalCommand.ts @@ -88,7 +88,7 @@ IMPORTANT: To edit files, use Edit/MultiEdit tools instead of bash commands (sed const TIMEOUT_MS = process.env.NODE_ENV === "test" && process.env.TEST_TERMINAL_TIMEOUT ? parseInt(process.env.TEST_TERMINAL_TIMEOUT, 10) - : 30000; // 30 seconds default, configurable for tests + : 120000; // 120 seconds default, configurable for tests const resetTimeout = () => { if (timeoutId) { diff --git a/extensions/cli/src/ui/__tests__/TUIChat.editMessage.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.editMessage.test.tsx index 9e6a92874..2a537cf3d 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.editMessage.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.editMessage.test.tsx @@ -1,4 +1,5 @@ -import { testBothModes, renderInMode } from "./TUIChat.dualModeHelper.js"; +import { renderInMode, testBothModes } from "./TUIChat.dualModeHelper.js"; +import { waitForCondition } from "./TUIChat.testHelper.js"; /** * Integration tests for the message edit feature in TUIChat @@ -10,7 +11,6 @@ import { testBothModes, renderInMode } from "./TUIChat.dualModeHelper.js"; * 4. History is rewound and new message is submitted * 5. Chat updates correctly */ - describe("TUIChat - Message Edit Feature", () => { testBothModes("double Esc should open edit selector", async (mode) => { const { lastFrame, stdin } = renderInMode(mode); @@ -119,7 +119,11 @@ describe("TUIChat - Message Edit Feature", () => { // Perform various operations stdin.write("\u001b"); stdin.write("\u001b"); // Open edit with separate Esc presses - await new Promise((resolve) => setTimeout(resolve, 100)); + + // Wait for selector to open (poll instead of fixed timeout) + await waitForCondition( + () => lastFrame()?.includes("No user messages to edit") ?? false, + ); // Verify selector opened let frame = lastFrame(); @@ -130,7 +134,11 @@ describe("TUIChat - Message Edit Feature", () => { await new Promise((resolve) => setTimeout(resolve, 50)); stdin.write("\u001b"); // Close - await new Promise((resolve) => setTimeout(resolve, 100)); + + // Wait for selector to close (poll instead of fixed timeout) + await waitForCondition( + () => !(lastFrame()?.includes("No user messages to edit") ?? true), + ); frame = lastFrame(); diff --git a/extensions/cli/src/ui/__tests__/TUIChat.fileSearch.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.fileSearch.test.tsx index b38a90cb6..b469b2725 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.fileSearch.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.fileSearch.test.tsx @@ -1,5 +1,5 @@ import { renderInMode, testSingleMode } from "./TUIChat.dualModeHelper.js"; -import { waitForNextRender } from "./TUIChat.testHelper.js"; +import { waitForCondition } from "./TUIChat.testHelper.js"; describe("TUIChat - @ File Search Tests", () => { testSingleMode("shows @ character when user types @", "local", async () => { @@ -34,17 +34,20 @@ describe("TUIChat - @ File Search Tests", () => { // Type @ followed by text to filter files stdin.write("@READ"); - // Wait for file search to filter and display results - await new Promise((resolve) => setTimeout(resolve, 500)); + let frame = lastFrame(); - const frame = lastFrame()!; + await waitForCondition(() => { + frame = lastFrame(); + return frame?.includes("@READ") ?? false; + }); + expect(frame).toBeDefined(); // Should show the typed text expect(frame).toContain("@READ"); // Should show either navigation hints or at least indicate file search is working - const hasNavigationHints = frame.includes("↑/↓ to navigate"); - const hasFileSearch = frame.includes("@READ"); + const hasNavigationHints = frame!.includes("↑/↓ to navigate"); + const hasFileSearch = frame!.includes("@READ"); expect(hasNavigationHints || hasFileSearch).toBe(true); // Local mode specific UI expectations @@ -57,10 +60,13 @@ describe("TUIChat - @ File Search Tests", () => { // Type multiple @ characters stdin.write("@@test"); - // Wait for UI update - await waitForNextRender(); - const frame = lastFrame(); + let frame = lastFrame(); + + await waitForCondition(() => { + frame = lastFrame(); + return frame?.includes("@@test") ?? false; + }); // Should handle multiple @ without crashing expect(frame).toBeDefined(); diff --git a/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx index 1f63f3814..6f44933b6 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx @@ -1,5 +1,5 @@ import { renderInMode, testBothModes } from "./TUIChat.dualModeHelper.js"; -import { waitForNextRender } from "./TUIChat.testHelper.js"; +import { waitForCondition, waitForNextRender } from "./TUIChat.testHelper.js"; describe("TUIChat - Slash Commands Tests", () => { testBothModes("shows slash when user types /", async (mode) => { @@ -28,9 +28,13 @@ describe("TUIChat - Slash Commands Tests", () => { // Type /exi to trigger slash command filtering stdin.write("/exi"); - await waitForNextRender(); - const frame = lastFrame(); + let frame = lastFrame(); + + await waitForCondition(() => { + frame = lastFrame(); + return frame?.includes("/exi") ?? false; + }); // Should show the typed command expect(frame).toContain("/exi"); diff --git a/extensions/cli/src/ui/__tests__/TUIChat.testHelper.ts b/extensions/cli/src/ui/__tests__/TUIChat.testHelper.ts index 37ebb5c3e..00a0e16a3 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.testHelper.ts +++ b/extensions/cli/src/ui/__tests__/TUIChat.testHelper.ts @@ -458,6 +458,24 @@ export function expectNormalMode(frame: string | undefined) { expect(frame).toContain("Continue CLI"); } +/** + * Helper to wait for a condition to be true + * similar to `waitFor` in testing libraries + */ +export async function waitForCondition( + conditionFn: () => boolean, + timeoutMs = 2000, + intervalMs = 50, +): Promise { + const startTime = Date.now(); + while (Date.now() - startTime < timeoutMs) { + if (conditionFn()) { + return; + } + await new Promise((resolve) => setTimeout(resolve, intervalMs)); + } +} + // Make runTest available globally for test files declare global { var runTest: ( diff --git a/extensions/intellij/gradle.properties b/extensions/intellij/gradle.properties index 6f9b64db7..06b3b1159 100644 --- a/extensions/intellij/gradle.properties +++ b/extensions/intellij/gradle.properties @@ -1,5 +1,5 @@ pluginGroup=com.github.continuedev.continueintellijextension -pluginVersion=1.0.56 +pluginVersion=1.0.57 platformVersion=2024.1 kotlin.stdlib.default.dependency=false org.gradle.configuration-cache=true diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt index 5135dc87a..725cc948a 100644 --- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt +++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/ServerConstants.kt @@ -14,10 +14,10 @@ const val DEFAULT_CONFIG = { "models": [ { - "model": "claude-3-5-sonnet-latest", + "model": "claude-sonnet-4-5", "provider": "anthropic", "apiKey": "", - "title": "Claude 3.5 Sonnet" + "title": "Claude Sonnet 4.5" } ], "tabAutocompleteModel": { diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 111db4046..c7ea072f4 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -850,14 +850,10 @@ "anyOf": [ { "enum": [ - "claude-2", - "claude-instant-1", - "claude-3-5-sonnet-latest", - "claude-3-7-sonnet-20250219", - "claude-3-opus-20240229", - "claude-3-sonnet-20240229", - "claude-3-haiku-20240307", - "claude-2.1" + "claude-sonnet-4", + "claude-sonnet-4-5", + "claude-opus-4-1", + "claude-haiku-4-5" ] }, { @@ -1610,14 +1606,10 @@ "codeup-13b", "deepseek-7b", "deepseek-33b", - "claude-2", - "claude-instant-1", - "claude-3-5-sonnet-latest", - "claude-3-5-sonnet-20240620", - "claude-3-opus-20240229", - "claude-3-sonnet-20240229", - "claude-3-haiku-20240307", - "claude-2.1", + "claude-sonnet-4", + "claude-sonnet-4-5", + "claude-opus-4-1", + "claude-haiku-4-5", "command-r", "command-r-plus", "chat-bison-001", diff --git a/extensions/vscode/e2e/test-continue/config.json b/extensions/vscode/e2e/test-continue/config.json index fbe78fa0a..814552d91 100644 --- a/extensions/vscode/e2e/test-continue/config.json +++ b/extensions/vscode/e2e/test-continue/config.json @@ -16,7 +16,7 @@ { "provider": "mock", "title": "TOOL MOCK LLM", - "model": "claude-3-5-sonnet-latest", + "model": "claude-sonnet-4-5", "capabilities": { "tools": true }, @@ -50,7 +50,7 @@ { "provider": "mock", "title": "SYSTEM MESSAGE MOCK LLM", - "model": "claude-3-5-sonnet-latest", + "model": "claude-sonnet-4-5", "requestOptions": { "extraBodyProperties": { "chatStream": [["REPEAT_SYSTEM_MSG"]] @@ -60,7 +60,7 @@ { "provider": "mock", "title": "LAST MESSAGE MOCK LLM", - "model": "claude-3-5-sonnet-latest", + "model": "claude-sonnet-4-5", "requestOptions": { "extraBodyProperties": { "chatStream": [["REPEAT_LAST_MSG"]] diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index ad35bbe88..9808290a3 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.27", + "version": "1.3.28", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 7de58309d..59edce01d 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -1213,17 +1213,45 @@ export const models: { [key: string]: ModelPackage } = { icon: "openai.png", isOpenSource: false, }, - claude4Sonnet: { - title: "Claude 4 Sonnet", + claude45Sonnet: { + title: "Claude Sonnet 4.5", description: - "The most intelligent model in the Claude 4 series. Costing lesser than Claude 4 Opus.", + "Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.", + params: { + model: "claude-sonnet-4-5-20250929", + contextLength: 200_000, + title: "Claude 4.5 Sonnet", + apiKey: "", + }, + providerOptions: ["anthropic", "replicate"], + icon: "anthropic.png", + isOpenSource: false, + }, + claude45Haiku: { + title: "Claude Haiku 4.5", + description: + "Anthropic's fastest model with near-frontier intelligence, ideal for quick and accurate responses.", + params: { + model: "claude-haiku-4-5-20251001", + contextLength: 200_000, + title: "Claude Haiku 4.5", + apiKey: "", + }, + providerOptions: ["anthropic"], + icon: "anthropic.png", + isOpenSource: false, + }, + claude4Sonnet: { + title: "Claude Sonnet 4", + description: + "The most intelligent model in the Claude 4 series. Costing lesser than Claude Opus 4.", params: { model: "claude-4-sonnet-latest", contextLength: 200_000, title: "Claude 4 Sonnet", apiKey: "", }, - providerOptions: ["anthropic", "replicate"], + providerOptions: ["anthropic"], icon: "anthropic.png", isOpenSource: false, }, @@ -1240,14 +1268,13 @@ export const models: { [key: string]: ModelPackage } = { icon: "anthropic.png", isOpenSource: false, }, - claude35Haiku: { - title: "Claude 3.5 Haiku", - description: - "The fastest model in the Claude 3.5 series: a compact model for near-instant responsiveness", + claude41Opus: { + title: "Claude Opus 4.1", + description: "The most capable model in the Claude 4 series", params: { - model: "claude-3-5-haiku-latest", + model: "claude-opus-4-1-20250805", contextLength: 200_000, - title: "Claude 3.5 Haiku", + title: "Claude Opus 4.1", apiKey: "", }, providerOptions: ["anthropic"], @@ -1643,20 +1670,7 @@ export const models: { [key: string]: ModelPackage } = { icon: "openai.png", isOpenSource: false, }, - asksageclaude35Sonnet: { - title: "Claude 3.5 Sonnet", - description: - "Anthropic's most intelligent model, but much less expensive than Claude 3 Opus", - params: { - model: "claude-35-sonnet", - contextLength: 200_000, - title: "Claude 3.5 Sonnet", - apiKey: "", - }, - providerOptions: ["askSage"], - icon: "anthropic.png", - isOpenSource: false, - }, + asksageclaude37sonnet: { title: "Claude 3.7 Sonnet", description: "Anthropic's 3.7 model.", @@ -1683,19 +1697,7 @@ export const models: { [key: string]: ModelPackage } = { icon: "anthropic.png", isOpenSource: false, }, - asksageclaude35gov: { - title: "Claude 3.5 Sonnet gov*", - description: "Anthropic's 3.5 Sonnet model.", - params: { - model: "aws-bedrock-claude-35-sonnet-gov", - contextLength: 200_000, - title: "Claude 3.5 Sonnet gov*", - apiKey: "", - }, - providerOptions: ["askSage"], - icon: "anthropic.png", - isOpenSource: false, - }, + asksageclaude4s: { title: "Claude 4 Sonnet", description: "Anthropic's Claude 4 Sonnet", @@ -2416,20 +2418,61 @@ export const models: { [key: string]: ModelPackage } = { icon: "cometapi.png", isOpenSource: false, }, - cometapiClaude35HaikuLatest: { - title: "Claude 3.5 Haiku Latest", + cometapiClaude45Sonnet: { + title: "Claude 4.5 Sonnet Latest", description: - "Claude 3.5 Haiku Latest via CometAPI - fast and efficient model from Anthropic.", + "Claude 4.5 Sonnet Latest via CometAPI - Anthropic's smartest model for complex agents and coding.", params: { - model: "claude-3-5-haiku-latest", + model: "claude-sonnet-4-5-20250929", contextLength: 200_000, - title: "Claude 3.5 Haiku Latest", + title: "Claude 4.5 Sonnet Latest", apiKey: "", }, providerOptions: ["cometapi"], icon: "cometapi.png", isOpenSource: false, }, + cometapiClaude45Haiku: { + title: "Claude 4.5 Haiku Latest", + description: + "Claude 4.5 Haiku Latest via CometAPI - Anthropic's fastest model with near-frontier intelligence.", + params: { + model: "claude-haiku-4-5-20251001", + contextLength: 200_000, + title: "Claude 4.5 Haiku Latest", + apiKey: "", + }, + providerOptions: ["cometapi"], + icon: "cometapi.png", + isOpenSource: false, + }, + asksageclaude35Sonnet: { + title: "Claude 3.5 Sonnet", + description: + "Anthropic's most intelligent model, but much less expensive than Claude 3 Opus", + params: { + model: "claude-35-sonnet", + contextLength: 200_000, + title: "Claude 3.5 Sonnet", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "anthropic.png", + isOpenSource: false, + }, + asksageclaude35gov: { + title: "Claude 3.5 Sonnet gov*", + description: "Anthropic's 3.5 Sonnet model.", + params: { + model: "aws-bedrock-claude-35-sonnet-gov", + contextLength: 200_000, + title: "Claude 3.5 Sonnet gov*", + apiKey: "", + }, + providerOptions: ["askSage"], + icon: "anthropic.png", + isOpenSource: false, + }, // 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 8af104347..085fb9522 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -77,12 +77,13 @@ export const providers: Partial> = { models.cometapiO4Mini, models.cometapiO3Pro, // Anthropic Claude family + models.cometapiClaude45Sonnet, + models.cometapiClaude45Haiku, models.cometapiClaudeOpus41, models.cometapiClaudeOpus41Thinking, models.cometapiClaudeSonnet4, models.cometapiClaudeSonnet4Thinking, models.cometapiClaude37SonnetLatest, - models.cometapiClaude35HaikuLatest, // Google Gemini family models.cometapiGemini25Pro, models.cometapiGemini25Flash, @@ -169,9 +170,11 @@ export const providers: Partial> = { }, ], packages: [ - models.claude4Sonnet, models.claude4_5Opus, - models.claude35Haiku, + models.claude45Sonnet, + models.claude45Haiku, + models.claude41Opus, + models.claude4Sonnet, ], apiKeyUrl: "https://console.anthropic.com/account/keys", }, diff --git a/gui/src/pages/gui/StreamError.tsx b/gui/src/pages/gui/StreamError.tsx index c3bb95efb..7f7c32245 100644 --- a/gui/src/pages/gui/StreamError.tsx +++ b/gui/src/pages/gui/StreamError.tsx @@ -5,7 +5,7 @@ import { Cog6ToothIcon, KeyIcon, } from "@heroicons/react/24/outline"; -import { DISCORD_LINK, GITHUB_LINK } from "core/util/constants"; +import { DISCORD_LINK } from "core/util/constants"; import { useContext, useMemo } from "react"; import { GhostButton, SecondaryButton } from "../../components"; import { useEditModel } from "../../components/mainInput/Lump/useEditBlock"; @@ -290,11 +290,27 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { { - ideMessenger.post("openUrl", GITHUB_LINK); + const issueTitle = `Error: ${selectedModel?.title || "Model"} - ${statusCode || "Unknown error"}`; + const issueBody = `**Error Details** + +Model: ${selectedModel?.title || "Unknown"} +Provider: ${selectedModel?.provider || "Unknown"} +Status Code: ${statusCode || "N/A"} + +**Error Output** +\`\`\` +${parsedError} +\`\`\` + +**Additional Context** +Please add any additional context about the error here +`; + const url = `https://github.com/continuedev/continue/issues/new?title=${encodeURIComponent(issueTitle)}&body=${encodeURIComponent(issueBody)}`; + ideMessenger.post("openUrl", url); }} > - Github + Open GitHub issue 1 && isStreamingComplete; const activeCalls = toolCallStates.filter( - (call) => call.status !== "canceled", + (call) => call.status !== "canceled" && call.status !== "done", ); const renderToolCall = (toolCallState: ToolCallState) => { diff --git a/gui/src/redux/slices/sessionSlice.ts b/gui/src/redux/slices/sessionSlice.ts index 3656af0c1..abe3434c8 100644 --- a/gui/src/redux/slices/sessionSlice.ts +++ b/gui/src/redux/slices/sessionSlice.ts @@ -598,7 +598,6 @@ export const sessionSlice = createSlice({ }, contextItems: [], }; - handleToolCallsInMessage(message, historyItem); state.history.push(historyItem); lastItem = state.history[state.history.length - 1]; lastMessage = lastItem.message; diff --git a/gui/src/redux/thunks/streamNormalInput.ts b/gui/src/redux/thunks/streamNormalInput.ts index dcd179d8b..13cc5ebbf 100644 --- a/gui/src/redux/thunks/streamNormalInput.ts +++ b/gui/src/redux/thunks/streamNormalInput.ts @@ -2,6 +2,7 @@ import { createAsyncThunk, unwrapResult } from "@reduxjs/toolkit"; import { LLMFullCompletionOptions, ModelDescription } from "core"; import { getRuleId } from "core/llm/rules/getSystemMessageWithRules"; import { ToCoreProtocol } from "core/protocol"; +import { BUILT_IN_GROUP_NAME } from "core/tools/builtIn"; import { selectActiveTools } from "../selectors/selectActiveTools"; import { selectSelectedChatModel } from "../slices/configSlice"; import { @@ -317,14 +318,43 @@ export const streamNormalInput = createAsyncThunk< generatedCalls3, toolPolicies, ); - const anyRequireApproval = policies.find( + const autoApprovedPolicies = policies.filter( + ({ policy }) => policy === "allowedWithoutPermission", + ); + const needsApprovalPolicies = policies.filter( ({ policy }) => policy === "allowedWithPermission", ); // 4. Execute remaining tool calls - // Only set inactive if not all tools were auto-approved - // This prevents UI flashing for auto-approved tools - if (originalToolCalls.length === 0 || anyRequireApproval) { + if (originalToolCalls.length === 0) { + dispatch(setInactive()); + } else if (needsApprovalPolicies.length > 0) { + const builtInReadonlyAutoApproved = autoApprovedPolicies.filter( + ({ toolCallState }) => + toolCallState.tool?.group === BUILT_IN_GROUP_NAME && + toolCallState.tool?.readonly, + ); + + if (builtInReadonlyAutoApproved.length > 0) { + const state4 = getState(); + if (streamAborter.signal.aborted || !state4.session.isStreaming) { + return; + } + await Promise.all( + builtInReadonlyAutoApproved.map(async ({ toolCallState }) => { + unwrapResult( + await dispatch( + callToolById({ + toolCallId: toolCallState.toolCallId, + isAutoApproved: true, + depth: depth + 1, + }), + ), + ); + }), + ); + } + dispatch(setInactive()); } else { // auto stream cases increase thunk depth by 1 for debugging @@ -334,7 +364,6 @@ export const streamNormalInput = createAsyncThunk< return; } if (generatedCalls4.length > 0) { - // All that didn't fail are auto approved - call them await Promise.all( generatedCalls4.map(async ({ toolCallId }) => { unwrapResult( @@ -349,7 +378,6 @@ export const streamNormalInput = createAsyncThunk< }), ); } else { - // All failed - stream on for (const { toolCallId } of originalToolCalls) { unwrapResult( await dispatch( diff --git a/manual-testing-sandbox/requirements.txt b/manual-testing-sandbox/requirements.txt index 55452b992..787755f1d 100644 --- a/manual-testing-sandbox/requirements.txt +++ b/manual-testing-sandbox/requirements.txt @@ -5,7 +5,7 @@ scipy==1.7.1 # Web development flask==2.0.2 -django==4.2.22 +django==4.2.27 # Request handling requests==2.26.0 diff --git a/packages/config-yaml/src/markdown/agentFiles.test.ts b/packages/config-yaml/src/markdown/agentFiles.test.ts index 20763ff0e..2937db476 100644 --- a/packages/config-yaml/src/markdown/agentFiles.test.ts +++ b/packages/config-yaml/src/markdown/agentFiles.test.ts @@ -185,7 +185,7 @@ describe("serializeAgentFile", () => { const agentFile: AgentFile = { name: "Test Agent File", description: "A test agent file", - model: "anthropic/claude-3-sonnet", + model: "anthropic/claude-sonnet-4-5", tools: "tool1, tool2", rules: "rule1, rule2", prompt: "This is the test prompt", diff --git a/packages/config-yaml/src/schemas/commonSlugs.ts b/packages/config-yaml/src/schemas/commonSlugs.ts index 3ba10bbd5..c0790c448 100644 --- a/packages/config-yaml/src/schemas/commonSlugs.ts +++ b/packages/config-yaml/src/schemas/commonSlugs.ts @@ -1,19 +1,20 @@ export const commonModelSlugs = [ - "anthropic/claude-3-7-sonnet", + "anthropic/claude-sonnet-4", "togetherai/llama-4-maverick-instruct-17bx128e", "google/gemini-2.5-pro", "mistral/codestral", "voyageai/voyage-code-3", + "anthropic/claude-sonnet-4-5", "relace/instant-apply", "xai/grok-2", "openai/gpt-4o", "togetherai/llama-4-scout-instruct-17bx16e", - "anthropic/claude-3-5-sonnet", + "anthropic/claude-haiku-4-5", "google/gemini-2.0-flash", "voyageai/rerank-2", + "anthropic/claude-opus-4-1", "ollama/deepseek-r1", "morphllm/morph-v0", - "anthropic/claude-3-5-haiku", "lmstudio/deepseek-r1", "openai/o3-mini", "voyageai/voyage-code-2", diff --git a/packages/llm-info/src/providers/anthropic.ts b/packages/llm-info/src/providers/anthropic.ts index 176cd3727..a84709f7b 100644 --- a/packages/llm-info/src/providers/anthropic.ts +++ b/packages/llm-info/src/providers/anthropic.ts @@ -4,13 +4,43 @@ export const Anthropic: ModelProvider = { id: "anthropic", displayName: "Anthropic", models: [ + { + model: "claude-sonnet-4-5-20250929", + displayName: "Claude 4.5 Sonnet", + contextLength: 200000, + maxCompletionTokens: 64000, + description: + "Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.", + regex: /claude-(?:4[.-]5-sonnet|sonnet-4[.-]5).*/i, + recommendedFor: ["chat"], + }, + { + model: "claude-haiku-4-5-20251001", + displayName: "Claude 4.5 Haiku", + contextLength: 200000, + maxCompletionTokens: 64000, + description: + "Anthropic's fastest model with near-frontier intelligence, ideal for quick and accurate responses.", + regex: /claude-(?:4[.-]5-haiku|haiku-4[.-]5).*/i, + recommendedFor: ["chat"], + }, + { + model: "claude-opus-4-1-20250805", + displayName: "Claude 4.1 Opus", + contextLength: 200000, + maxCompletionTokens: 32000, + description: + "Exceptional model for specialized reasoning tasks with advanced agentic capabilities and superior coding performance.", + regex: /claude-opus-4[.-]1.*/i, + recommendedFor: ["chat"], + }, { model: "claude-sonnet-4-20250514", displayName: "Claude 4 Sonnet", contextLength: 200000, maxCompletionTokens: 8192, description: - "Most intelligent model with the highest level of intelligence and capability.", + "Previous generation model with strong coding and reasoning capabilities, now superseded by Claude 4.5 Sonnet.", // Sometimes written as claude-4-sonnet, other times as claude-sonnet-4 regex: /claude-(?:4-sonnet|sonnet-4).*/i, recommendedFor: ["chat"], @@ -40,31 +70,32 @@ export const Anthropic: ModelProvider = { displayName: "Claude 4 Opus", contextLength: 200000, maxCompletionTokens: 8192, - description: "Previous iteration on Opus", + description: + "Previous generation model with high intelligence, now superseded by Claude 4.1 Opus.", regex: /claude-(?:4-opus|opus-4).*/i, recommendedFor: ["chat"], }, + { + model: "claude-3-7-sonnet-latest", + displayName: "Claude 3.7 Sonnet", + contextLength: 200000, + maxCompletionTokens: 128000, + description: + "First hybrid reasoning model with extended thinking capabilities, excellent for coding and front-end development.", + regex: /claude-3[.-]7-sonnet.*/i, + recommendedFor: ["chat"], + }, { model: "claude-3-5-sonnet-latest", displayName: "Claude 3.5 Sonnet", contextLength: 200000, maxCompletionTokens: 8192, description: - "Most intelligent model with the highest level of intelligence and capability.", + "Previous flagship model with strong performance across diverse tasks, now superseded by Claude 4.5.", regex: /claude-3[.-]5-sonnet.*/i, recommendedFor: ["chat"], }, - { - model: "claude-3-7-sonnet-latest", - displayName: "Claude 3.7 Sonnet", - contextLength: 200000, - maxCompletionTokens: 8192, - description: - "Most intelligent model with the highest level of intelligence and capability.", - regex: /claude-3[.-]7-sonnet.*/i, - recommendedFor: ["chat"], - }, { model: "claude-3-opus-20240229", displayName: "Claude 3 Opus", @@ -116,7 +147,7 @@ export const Anthropic: ModelProvider = { contextLength: 100000, maxCompletionTokens: 4096, description: - "Our cheapest small and fast model, a predecessor of Claude Haiku.", + "Anthropic's cheapest small and fast model, a predecessor of Claude Haiku.", regex: /claude-instant-1\.2/i, }, ], diff --git a/packages/llm-info/src/providers/cometapi.ts b/packages/llm-info/src/providers/cometapi.ts index bb11aea61..3efe24dc6 100644 --- a/packages/llm-info/src/providers/cometapi.ts +++ b/packages/llm-info/src/providers/cometapi.ts @@ -79,6 +79,24 @@ export const CometAPI: ModelProvider = { }, // Claude Series + { + model: "claude-sonnet-4-5", + displayName: "Claude 4.5 Sonnet", + contextLength: 200000, + maxCompletionTokens: 64000, + description: + "Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.", + recommendedFor: ["chat"], + }, + { + model: "claude-haiku-4-5-20251001", + displayName: "Claude 4.5 Haiku (2025-10-01)", + contextLength: 200000, + maxCompletionTokens: 64000, + description: + "Anthropic's fastest model with near-frontier intelligence, ideal for quick and accurate responses.", + recommendedFor: ["chat"], + }, { model: "claude-opus-4-1-20250805", displayName: "Claude Opus 4.1 (2025-08-05)", diff --git a/packages/openai-adapters/package-lock.json b/packages/openai-adapters/package-lock.json index 148d33050..9fd0048d1 100644 --- a/packages/openai-adapters/package-lock.json +++ b/packages/openai-adapters/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@anthropic-ai/sdk": "^0.67.0", "@aws-sdk/client-bedrock-runtime": "^3.925.0", - "@aws-sdk/credential-providers": "^3.925.0", + "@aws-sdk/credential-providers": "^3.929.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "^1.36.0", "@continuedev/fetch": "^1.6.0", @@ -260,24 +260,24 @@ } }, "node_modules/@aws-sdk/client-cognito-identity": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.925.0.tgz", - "integrity": "sha512-7koO8MTU6T0dKAaFi7Bm06t4l8M9z798WSvpwzcCVItf6UAj+popz5MKzomxpd4Ire7C1jqqponiM8rrxNyYcQ==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.929.0.tgz", + "integrity": "sha512-2h4Vb4aIjsDWgfgbUaiy+3Q6u3j5kU3ZB7f9b5rADdM6MGlxWxAa8IKOUXYG6ST3XBL8lAdfUtoyj6yB67U6WA==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.922.0", - "@aws-sdk/credential-provider-node": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/credential-provider-node": "3.929.0", "@aws-sdk/middleware-host-header": "3.922.0", "@aws-sdk/middleware-logger": "3.922.0", "@aws-sdk/middleware-recursion-detection": "3.922.0", - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/region-config-resolver": "3.925.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@aws-sdk/util-user-agent-browser": "3.922.0", - "@aws-sdk/util-user-agent-node": "3.922.0", + "@aws-sdk/util-user-agent-node": "3.928.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", "@smithy/fetch-http-handler": "^5.3.5", @@ -310,23 +310,23 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/client-sso": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.925.0.tgz", - "integrity": "sha512-ixC9CyXe/mBo1X+bzOxIIzsdBYzM+klWoHUYzwnPMrXhpDrMjj8D24R/FPqrDnhoYYXiyS4BApRLpeymsFJq2Q==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.929.0.tgz", + "integrity": "sha512-CE1T7PvN2MDRCw96BTUz2Zcnb6Lae3Dl4w3TPB5auBv2sAiIPbQegFUwT2C8teMDGCNXyndzoTvAd4wmO9AcpA==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/middleware-host-header": "3.922.0", "@aws-sdk/middleware-logger": "3.922.0", "@aws-sdk/middleware-recursion-detection": "3.922.0", - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/region-config-resolver": "3.925.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@aws-sdk/util-user-agent-browser": "3.922.0", - "@aws-sdk/util-user-agent-node": "3.922.0", + "@aws-sdk/util-user-agent-node": "3.928.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", "@smithy/fetch-http-handler": "^5.3.5", @@ -359,9 +359,9 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/core": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.922.0.tgz", - "integrity": "sha512-EvfP4cqJfpO3L2v5vkIlTkMesPtRwWlMfsaW6Tpfm7iYfBOuTi6jx60pMDMTyJNVfh6cGmXwh/kj1jQdR+w99Q==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.928.0.tgz", + "integrity": "sha512-e28J2uKjy2uub4u41dNnmzAu0AN3FGB+LRcLN2Qnwl9Oq3kIcByl5sM8ZD+vWpNG+SFUrUasBCq8cMnHxwXZ4w==", "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.922.0", @@ -383,12 +383,12 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-env": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.922.0.tgz", - "integrity": "sha512-WikGQpKkROJSK3D3E7odPjZ8tU7WJp5/TgGdRuZw3izsHUeH48xMv6IznafpRTmvHcjAbDQj4U3CJZNAzOK/OQ==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.928.0.tgz", + "integrity": "sha512-tB8F9Ti0/NFyFVQX8UQtgRik88evtHpyT6WfXOB4bAY6lEnEHA0ubJZmk9y+aUeoE+OsGLx70dC3JUsiiCPJkQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/types": "^4.8.1", @@ -399,12 +399,12 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-http": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.922.0.tgz", - "integrity": "sha512-i72DgHMK7ydAEqdzU0Duqh60Q8W59EZmRJ73y0Y5oFmNOqnYsAI+UXyOoCsubp+Dkr6+yOwAn1gPt1XGE9Aowg==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.928.0.tgz", + "integrity": "sha512-67ynC/8UW9Y8Gn1ZZtC3OgcQDGWrJelHmkbgpmmxYUrzVhp+NINtz3wiTzrrBFhPH/8Uy6BxvhMfXhn0ptcMEQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/fetch-http-handler": "^5.3.5", "@smithy/node-http-handler": "^4.4.4", @@ -420,18 +420,18 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.925.0.tgz", - "integrity": "sha512-TOs/UkKWwXrSPolRTChpDUQjczw6KqbbanF0EzjUm3sp/AS1ThOQCKuTTdaOBZXkCIJdvRmZjF3adccE3rAoXg==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.929.0.tgz", + "integrity": "sha512-XIzWsJUYeS/DjggHFB53sGGjXdlN/BA6x+Y/JvLbpdkGD2yLISU34/cDPbK/O8BAQCRTCQ69VPa/1AdNgZZRQw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/credential-provider-env": "3.922.0", - "@aws-sdk/credential-provider-http": "3.922.0", - "@aws-sdk/credential-provider-process": "3.922.0", - "@aws-sdk/credential-provider-sso": "3.925.0", - "@aws-sdk/credential-provider-web-identity": "3.925.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/credential-provider-env": "3.928.0", + "@aws-sdk/credential-provider-http": "3.928.0", + "@aws-sdk/credential-provider-process": "3.928.0", + "@aws-sdk/credential-provider-sso": "3.929.0", + "@aws-sdk/credential-provider-web-identity": "3.929.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/credential-provider-imds": "^4.2.4", "@smithy/property-provider": "^4.2.4", @@ -444,17 +444,17 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-node": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.925.0.tgz", - "integrity": "sha512-+T9mnnTY73MLkVxsk5RtzE4fv7GnMhR7iXhL/yTusf1zLfA09uxlA9VCz6tWxm5rHcO4ZN0x4hnqqDhM+DB5KQ==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.929.0.tgz", + "integrity": "sha512-GhNZEacpa7fh8GNggshm5S93UK25bCV5aDK8c2vfe7Y3OxBiL89Ox5GUKCu0xIOqiBdfYkI9wvWCFsQRRn7Bjw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "3.922.0", - "@aws-sdk/credential-provider-http": "3.922.0", - "@aws-sdk/credential-provider-ini": "3.925.0", - "@aws-sdk/credential-provider-process": "3.922.0", - "@aws-sdk/credential-provider-sso": "3.925.0", - "@aws-sdk/credential-provider-web-identity": "3.925.0", + "@aws-sdk/credential-provider-env": "3.928.0", + "@aws-sdk/credential-provider-http": "3.928.0", + "@aws-sdk/credential-provider-ini": "3.929.0", + "@aws-sdk/credential-provider-process": "3.928.0", + "@aws-sdk/credential-provider-sso": "3.929.0", + "@aws-sdk/credential-provider-web-identity": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/credential-provider-imds": "^4.2.4", "@smithy/property-provider": "^4.2.4", @@ -467,12 +467,12 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-process": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.922.0.tgz", - "integrity": "sha512-1DZOYezT6okslpvMW7oA2q+y17CJd4fxjNFH0jtThfswdh9CtG62+wxenqO+NExttq0UMaKisrkZiVrYQBTShw==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.928.0.tgz", + "integrity": "sha512-XL0juran8yhqwn0mreV+NJeHJOkcRBaExsvVn9fXWW37A4gLh4esSJxM2KbSNh0t+/Bk3ehBI5sL9xad+yRDuw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -484,14 +484,14 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.925.0.tgz", - "integrity": "sha512-aZlUC6LRsOMDvIu0ifF62mTjL3KGzclWu5XBBN8eLDAYTdhqMxv3HyrqWoiHnGZnZGaVU+II+qsVoeBnGOwHow==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.929.0.tgz", + "integrity": "sha512-aADe6cLo4+9MUOe0GnC5kUn8IduEKnTxqBlsciZOplU0/0+Rdp9rRh/e9ZBskeIXZ33eO2HG+KDAf1lvtPT7dA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.925.0", - "@aws-sdk/core": "3.922.0", - "@aws-sdk/token-providers": "3.925.0", + "@aws-sdk/client-sso": "3.929.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/token-providers": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -503,13 +503,13 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.925.0.tgz", - "integrity": "sha512-dR34s8Sfd1wJBzIuvRFO2FCnLmYD8iwPWrdXWI2ZypFt1EQR8jeQ20mnS+UOCoR5Z0tY6wJqEgTXKl4KuZ+DUg==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.929.0.tgz", + "integrity": "sha512-L18JtW28xUZVTRHblgqZ8QTVGQfxpMLIuVYgQXrVWiY9Iz9EF4XrfZo3ywCAgqfgLi5pgg3fCxx/pe7uiMOs2w==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -520,58 +520,13 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-host-header": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.922.0.tgz", - "integrity": "sha512-HPquFgBnq/KqKRVkiuCt97PmWbKtxQ5iUNLEc6FIviqOoZTmaYG3EDsIbuFBz9C4RHJU4FKLmHL2bL3FEId6AA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/protocol-http": "^5.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-logger": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.922.0.tgz", - "integrity": "sha512-AkvYO6b80FBm5/kk2E636zNNcNgjztNNUxpqVx+huyGn9ZqGTzS4kLqW2hO6CBe5APzVtPCtiQsXL24nzuOlAg==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.922.0.tgz", - "integrity": "sha512-TtSCEDonV/9R0VhVlCpxZbp/9sxQvTTRKzIf8LxW3uXpby6Wl8IxEciBJlxmSkoqxh542WRcko7NYODlvL/gDA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@aws/lambda-invoke-store": "^0.1.1", - "@smithy/protocol-http": "^5.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.922.0.tgz", - "integrity": "sha512-N4Qx/9KP3oVQBJOrSghhz8iZFtUC2NNeSZt88hpPhbqAEAtuX8aD8OzVcpnAtrwWqy82Yd2YTxlkqMGkgqnBsQ==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.928.0.tgz", + "integrity": "sha512-ESvcfLx5PtpdUM3ptCwb80toBTd3y5I4w5jaeOPHihiZr7jkRLE/nsaCKzlqscPs6UQ8xI0maav04JUiTskcHw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@smithy/core": "^3.17.2", @@ -584,23 +539,23 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/nested-clients": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.925.0.tgz", - "integrity": "sha512-Fc8QhH+1YzGQb5aWQUX6gRnKSzUZ9p3p/muqXIgYBL8RSd5O6hSPhDTyrOWE247zFlOjVlAlEnoTMJKarH0cIA==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.929.0.tgz", + "integrity": "sha512-emR4LTSupxPed1ni0zVxz5msezz/gA1YYXooiW567+NyhvLgSzDvNjK7GPU1waLCj1LrRFe7NkXX1pwa5sPrpw==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/middleware-host-header": "3.922.0", "@aws-sdk/middleware-logger": "3.922.0", "@aws-sdk/middleware-recursion-detection": "3.922.0", - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/region-config-resolver": "3.925.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@aws-sdk/util-user-agent-browser": "3.922.0", - "@aws-sdk/util-user-agent-node": "3.922.0", + "@aws-sdk/util-user-agent-node": "3.928.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", "@smithy/fetch-http-handler": "^5.3.5", @@ -632,30 +587,14 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/region-config-resolver": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.925.0.tgz", - "integrity": "sha512-FOthcdF9oDb1pfQBRCfWPZhJZT5wqpvdAS5aJzB1WDZ+6EuaAhLzLH/fW1slDunIqq1PSQGG3uSnVglVVOvPHQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/config-resolver": "^4.4.2", - "@smithy/node-config-provider": "^4.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/token-providers": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.925.0.tgz", - "integrity": "sha512-F4Oibka1W5YYDeL+rGt/Hg3NLjOzrJdmuZOE0OFQt/U6dnJwYmYi2gFqduvZnZcD1agNm37mh7/GUq1zvKS6ig==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.929.0.tgz", + "integrity": "sha512-78kph1R6TVJ53VXDKUmt64HMqWjTECLymJ7kLguz2QJiWh2ZdLvpyYGvaueEwwhisHYBh2qef1tGIf/PpEb8SQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -666,54 +605,13 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.922.0.tgz", - "integrity": "sha512-eLA6XjVobAUAMivvM7DBL79mnHyrm+32TkXNWZua5mnxF+6kQCfblKKJvxMZLGosO53/Ex46ogim8IY5Nbqv2w==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-endpoints": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.922.0.tgz", - "integrity": "sha512-4ZdQCSuNMY8HMlR1YN4MRDdXuKd+uQTeKIr5/pIM+g3TjInZoj8imvXudjcrFGA63UF3t92YVTkBq88mg58RXQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "@smithy/url-parser": "^4.2.4", - "@smithy/util-endpoints": "^3.2.4", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.922.0.tgz", - "integrity": "sha512-qOJAERZ3Plj1st7M4Q5henl5FRpE30uLm6L9edZqZXGR6c7ry9jzexWamWVpQ4H4xVAVmiO9dIEBAfbq4mduOA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "bowser": "^2.11.0", - "tslib": "^2.6.2" - } - }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.922.0.tgz", - "integrity": "sha512-NrPe/Rsr5kcGunkog0eBV+bY0inkRELsD2SacC4lQZvZiXf8VJ2Y7j+Yq1tB+h+FPLsdt3v9wItIvDf/laAm0Q==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.928.0.tgz", + "integrity": "sha512-s0jP67nQLLWVWfBtqTkZUkSWK5e6OI+rs+wFya2h9VLyWBFir17XSDI891s8HZKIVCEl8eBrup+hhywm4nsIAA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/node-config-provider": "^4.3.4", "@smithy/types": "^4.8.1", @@ -731,29 +629,6 @@ } } }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/xml-builder": { - "version": "3.921.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.921.0.tgz", - "integrity": "sha512-LVHg0jgjyicKKvpNIEMXIMr1EBViESxcPkqfOlT+X1FkmUMTNZEEVF18tOJg4m4hV5vxtkWcqtr4IEeWa1C41Q==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^4.8.1", - "fast-xml-parser": "5.2.5", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws/lambda-invoke-store": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.1.1.tgz", - "integrity": "sha512-RcLam17LdlbSOSp9VxmUu1eI6Mwxp+OwhD2QhiSNmNCzoDb0EeUXTD2n/WbcnrAYMGlmf05th6QYq23VqvJqpA==", - "license": "Apache-2.0", - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/client-sso": { "version": "3.925.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.925.0.tgz", @@ -828,12 +703,12 @@ } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.925.0.tgz", - "integrity": "sha512-hSA6PE/u+DYYJVJ01cyKiDR3d31kOJ1l+qJJimEiG+jH1K+EUgjhNVZKHUzEbumVvpWVHeZJ7Hs6iq4F/rS4+g==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.929.0.tgz", + "integrity": "sha512-M9h1z/Us5eJyOMijmngcfo/uBgwhIer5fk5rFI++3Bf1jqzjkF9xERW0xklbShRHKLlNfG6EOpBEhvbm8Clygw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-cognito-identity": "3.925.0", + "@aws-sdk/client-cognito-identity": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/types": "^4.8.1", @@ -843,19 +718,6 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.922.0.tgz", - "integrity": "sha512-eLA6XjVobAUAMivvM7DBL79mnHyrm+32TkXNWZua5mnxF+6kQCfblKKJvxMZLGosO53/Ex46ogim8IY5Nbqv2w==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/credential-provider-env": { "version": "3.922.0", "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.922.0.tgz", @@ -995,22 +857,22 @@ } }, "node_modules/@aws-sdk/credential-providers": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.925.0.tgz", - "integrity": "sha512-CTTFn+8NiXRoyKbaTKXCSZ9pUs3R3HllTgl2In8Mxl60Eim9QrP3QYbSjH+pqaIOf1qhbe1UuEICzGrO3Y+8MA==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.929.0.tgz", + "integrity": "sha512-AOzXE24dnHtJLYVByqanxVyHk0A4K4OJRX/i37NqBweuDdt+cM35zEohYck/DbflIWjyQSOT9JO5zGLfrhbQEQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-cognito-identity": "3.925.0", - "@aws-sdk/core": "3.922.0", - "@aws-sdk/credential-provider-cognito-identity": "3.925.0", - "@aws-sdk/credential-provider-env": "3.922.0", - "@aws-sdk/credential-provider-http": "3.922.0", - "@aws-sdk/credential-provider-ini": "3.925.0", - "@aws-sdk/credential-provider-node": "3.925.0", - "@aws-sdk/credential-provider-process": "3.922.0", - "@aws-sdk/credential-provider-sso": "3.925.0", - "@aws-sdk/credential-provider-web-identity": "3.925.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/client-cognito-identity": "3.929.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/credential-provider-cognito-identity": "3.929.0", + "@aws-sdk/credential-provider-env": "3.928.0", + "@aws-sdk/credential-provider-http": "3.928.0", + "@aws-sdk/credential-provider-ini": "3.929.0", + "@aws-sdk/credential-provider-node": "3.929.0", + "@aws-sdk/credential-provider-process": "3.928.0", + "@aws-sdk/credential-provider-sso": "3.929.0", + "@aws-sdk/credential-provider-web-identity": "3.929.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", @@ -1025,23 +887,23 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/client-sso": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.925.0.tgz", - "integrity": "sha512-ixC9CyXe/mBo1X+bzOxIIzsdBYzM+klWoHUYzwnPMrXhpDrMjj8D24R/FPqrDnhoYYXiyS4BApRLpeymsFJq2Q==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.929.0.tgz", + "integrity": "sha512-CE1T7PvN2MDRCw96BTUz2Zcnb6Lae3Dl4w3TPB5auBv2sAiIPbQegFUwT2C8teMDGCNXyndzoTvAd4wmO9AcpA==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/middleware-host-header": "3.922.0", "@aws-sdk/middleware-logger": "3.922.0", "@aws-sdk/middleware-recursion-detection": "3.922.0", - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/region-config-resolver": "3.925.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@aws-sdk/util-user-agent-browser": "3.922.0", - "@aws-sdk/util-user-agent-node": "3.922.0", + "@aws-sdk/util-user-agent-node": "3.928.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", "@smithy/fetch-http-handler": "^5.3.5", @@ -1074,9 +936,9 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/core": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.922.0.tgz", - "integrity": "sha512-EvfP4cqJfpO3L2v5vkIlTkMesPtRwWlMfsaW6Tpfm7iYfBOuTi6jx60pMDMTyJNVfh6cGmXwh/kj1jQdR+w99Q==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.928.0.tgz", + "integrity": "sha512-e28J2uKjy2uub4u41dNnmzAu0AN3FGB+LRcLN2Qnwl9Oq3kIcByl5sM8ZD+vWpNG+SFUrUasBCq8cMnHxwXZ4w==", "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.922.0", @@ -1098,12 +960,12 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-env": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.922.0.tgz", - "integrity": "sha512-WikGQpKkROJSK3D3E7odPjZ8tU7WJp5/TgGdRuZw3izsHUeH48xMv6IznafpRTmvHcjAbDQj4U3CJZNAzOK/OQ==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.928.0.tgz", + "integrity": "sha512-tB8F9Ti0/NFyFVQX8UQtgRik88evtHpyT6WfXOB4bAY6lEnEHA0ubJZmk9y+aUeoE+OsGLx70dC3JUsiiCPJkQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/types": "^4.8.1", @@ -1114,12 +976,12 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-http": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.922.0.tgz", - "integrity": "sha512-i72DgHMK7ydAEqdzU0Duqh60Q8W59EZmRJ73y0Y5oFmNOqnYsAI+UXyOoCsubp+Dkr6+yOwAn1gPt1XGE9Aowg==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.928.0.tgz", + "integrity": "sha512-67ynC/8UW9Y8Gn1ZZtC3OgcQDGWrJelHmkbgpmmxYUrzVhp+NINtz3wiTzrrBFhPH/8Uy6BxvhMfXhn0ptcMEQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/fetch-http-handler": "^5.3.5", "@smithy/node-http-handler": "^4.4.4", @@ -1135,18 +997,18 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.925.0.tgz", - "integrity": "sha512-TOs/UkKWwXrSPolRTChpDUQjczw6KqbbanF0EzjUm3sp/AS1ThOQCKuTTdaOBZXkCIJdvRmZjF3adccE3rAoXg==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.929.0.tgz", + "integrity": "sha512-XIzWsJUYeS/DjggHFB53sGGjXdlN/BA6x+Y/JvLbpdkGD2yLISU34/cDPbK/O8BAQCRTCQ69VPa/1AdNgZZRQw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/credential-provider-env": "3.922.0", - "@aws-sdk/credential-provider-http": "3.922.0", - "@aws-sdk/credential-provider-process": "3.922.0", - "@aws-sdk/credential-provider-sso": "3.925.0", - "@aws-sdk/credential-provider-web-identity": "3.925.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/credential-provider-env": "3.928.0", + "@aws-sdk/credential-provider-http": "3.928.0", + "@aws-sdk/credential-provider-process": "3.928.0", + "@aws-sdk/credential-provider-sso": "3.929.0", + "@aws-sdk/credential-provider-web-identity": "3.929.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/credential-provider-imds": "^4.2.4", "@smithy/property-provider": "^4.2.4", @@ -1159,17 +1021,17 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-node": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.925.0.tgz", - "integrity": "sha512-+T9mnnTY73MLkVxsk5RtzE4fv7GnMhR7iXhL/yTusf1zLfA09uxlA9VCz6tWxm5rHcO4ZN0x4hnqqDhM+DB5KQ==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.929.0.tgz", + "integrity": "sha512-GhNZEacpa7fh8GNggshm5S93UK25bCV5aDK8c2vfe7Y3OxBiL89Ox5GUKCu0xIOqiBdfYkI9wvWCFsQRRn7Bjw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "3.922.0", - "@aws-sdk/credential-provider-http": "3.922.0", - "@aws-sdk/credential-provider-ini": "3.925.0", - "@aws-sdk/credential-provider-process": "3.922.0", - "@aws-sdk/credential-provider-sso": "3.925.0", - "@aws-sdk/credential-provider-web-identity": "3.925.0", + "@aws-sdk/credential-provider-env": "3.928.0", + "@aws-sdk/credential-provider-http": "3.928.0", + "@aws-sdk/credential-provider-ini": "3.929.0", + "@aws-sdk/credential-provider-process": "3.928.0", + "@aws-sdk/credential-provider-sso": "3.929.0", + "@aws-sdk/credential-provider-web-identity": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/credential-provider-imds": "^4.2.4", "@smithy/property-provider": "^4.2.4", @@ -1182,12 +1044,12 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-process": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.922.0.tgz", - "integrity": "sha512-1DZOYezT6okslpvMW7oA2q+y17CJd4fxjNFH0jtThfswdh9CtG62+wxenqO+NExttq0UMaKisrkZiVrYQBTShw==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.928.0.tgz", + "integrity": "sha512-XL0juran8yhqwn0mreV+NJeHJOkcRBaExsvVn9fXWW37A4gLh4esSJxM2KbSNh0t+/Bk3ehBI5sL9xad+yRDuw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -1199,14 +1061,14 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.925.0.tgz", - "integrity": "sha512-aZlUC6LRsOMDvIu0ifF62mTjL3KGzclWu5XBBN8eLDAYTdhqMxv3HyrqWoiHnGZnZGaVU+II+qsVoeBnGOwHow==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.929.0.tgz", + "integrity": "sha512-aADe6cLo4+9MUOe0GnC5kUn8IduEKnTxqBlsciZOplU0/0+Rdp9rRh/e9ZBskeIXZ33eO2HG+KDAf1lvtPT7dA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.925.0", - "@aws-sdk/core": "3.922.0", - "@aws-sdk/token-providers": "3.925.0", + "@aws-sdk/client-sso": "3.929.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/token-providers": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -1218,13 +1080,13 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.925.0.tgz", - "integrity": "sha512-dR34s8Sfd1wJBzIuvRFO2FCnLmYD8iwPWrdXWI2ZypFt1EQR8jeQ20mnS+UOCoR5Z0tY6wJqEgTXKl4KuZ+DUg==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.929.0.tgz", + "integrity": "sha512-L18JtW28xUZVTRHblgqZ8QTVGQfxpMLIuVYgQXrVWiY9Iz9EF4XrfZo3ywCAgqfgLi5pgg3fCxx/pe7uiMOs2w==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -1235,58 +1097,13 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-host-header": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.922.0.tgz", - "integrity": "sha512-HPquFgBnq/KqKRVkiuCt97PmWbKtxQ5iUNLEc6FIviqOoZTmaYG3EDsIbuFBz9C4RHJU4FKLmHL2bL3FEId6AA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/protocol-http": "^5.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-logger": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.922.0.tgz", - "integrity": "sha512-AkvYO6b80FBm5/kk2E636zNNcNgjztNNUxpqVx+huyGn9ZqGTzS4kLqW2hO6CBe5APzVtPCtiQsXL24nzuOlAg==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.922.0.tgz", - "integrity": "sha512-TtSCEDonV/9R0VhVlCpxZbp/9sxQvTTRKzIf8LxW3uXpby6Wl8IxEciBJlxmSkoqxh542WRcko7NYODlvL/gDA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@aws/lambda-invoke-store": "^0.1.1", - "@smithy/protocol-http": "^5.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.922.0.tgz", - "integrity": "sha512-N4Qx/9KP3oVQBJOrSghhz8iZFtUC2NNeSZt88hpPhbqAEAtuX8aD8OzVcpnAtrwWqy82Yd2YTxlkqMGkgqnBsQ==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.928.0.tgz", + "integrity": "sha512-ESvcfLx5PtpdUM3ptCwb80toBTd3y5I4w5jaeOPHihiZr7jkRLE/nsaCKzlqscPs6UQ8xI0maav04JUiTskcHw==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@smithy/core": "^3.17.2", @@ -1299,23 +1116,23 @@ } }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/nested-clients": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.925.0.tgz", - "integrity": "sha512-Fc8QhH+1YzGQb5aWQUX6gRnKSzUZ9p3p/muqXIgYBL8RSd5O6hSPhDTyrOWE247zFlOjVlAlEnoTMJKarH0cIA==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.929.0.tgz", + "integrity": "sha512-emR4LTSupxPed1ni0zVxz5msezz/gA1YYXooiW567+NyhvLgSzDvNjK7GPU1waLCj1LrRFe7NkXX1pwa5sPrpw==", "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.922.0", + "@aws-sdk/core": "3.928.0", "@aws-sdk/middleware-host-header": "3.922.0", "@aws-sdk/middleware-logger": "3.922.0", "@aws-sdk/middleware-recursion-detection": "3.922.0", - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/region-config-resolver": "3.925.0", "@aws-sdk/types": "3.922.0", "@aws-sdk/util-endpoints": "3.922.0", "@aws-sdk/util-user-agent-browser": "3.922.0", - "@aws-sdk/util-user-agent-node": "3.922.0", + "@aws-sdk/util-user-agent-node": "3.928.0", "@smithy/config-resolver": "^4.4.2", "@smithy/core": "^3.17.2", "@smithy/fetch-http-handler": "^5.3.5", @@ -1347,30 +1164,14 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/region-config-resolver": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.925.0.tgz", - "integrity": "sha512-FOthcdF9oDb1pfQBRCfWPZhJZT5wqpvdAS5aJzB1WDZ+6EuaAhLzLH/fW1slDunIqq1PSQGG3uSnVglVVOvPHQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/config-resolver": "^4.4.2", - "@smithy/node-config-provider": "^4.3.4", - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/token-providers": { - "version": "3.925.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.925.0.tgz", - "integrity": "sha512-F4Oibka1W5YYDeL+rGt/Hg3NLjOzrJdmuZOE0OFQt/U6dnJwYmYi2gFqduvZnZcD1agNm37mh7/GUq1zvKS6ig==", + "version": "3.929.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.929.0.tgz", + "integrity": "sha512-78kph1R6TVJ53VXDKUmt64HMqWjTECLymJ7kLguz2QJiWh2ZdLvpyYGvaueEwwhisHYBh2qef1tGIf/PpEb8SQ==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.922.0", - "@aws-sdk/nested-clients": "3.925.0", + "@aws-sdk/core": "3.928.0", + "@aws-sdk/nested-clients": "3.929.0", "@aws-sdk/types": "3.922.0", "@smithy/property-provider": "^4.2.4", "@smithy/shared-ini-file-loader": "^4.3.4", @@ -1381,54 +1182,13 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.922.0.tgz", - "integrity": "sha512-eLA6XjVobAUAMivvM7DBL79mnHyrm+32TkXNWZua5mnxF+6kQCfblKKJvxMZLGosO53/Ex46ogim8IY5Nbqv2w==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^4.8.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/util-endpoints": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.922.0.tgz", - "integrity": "sha512-4ZdQCSuNMY8HMlR1YN4MRDdXuKd+uQTeKIr5/pIM+g3TjInZoj8imvXudjcrFGA63UF3t92YVTkBq88mg58RXQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "@smithy/url-parser": "^4.2.4", - "@smithy/util-endpoints": "^3.2.4", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.922.0.tgz", - "integrity": "sha512-qOJAERZ3Plj1st7M4Q5henl5FRpE30uLm6L9edZqZXGR6c7ry9jzexWamWVpQ4H4xVAVmiO9dIEBAfbq4mduOA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.922.0", - "@smithy/types": "^4.8.1", - "bowser": "^2.11.0", - "tslib": "^2.6.2" - } - }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.922.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.922.0.tgz", - "integrity": "sha512-NrPe/Rsr5kcGunkog0eBV+bY0inkRELsD2SacC4lQZvZiXf8VJ2Y7j+Yq1tB+h+FPLsdt3v9wItIvDf/laAm0Q==", + "version": "3.928.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.928.0.tgz", + "integrity": "sha512-s0jP67nQLLWVWfBtqTkZUkSWK5e6OI+rs+wFya2h9VLyWBFir17XSDI891s8HZKIVCEl8eBrup+hhywm4nsIAA==", "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-user-agent": "3.922.0", + "@aws-sdk/middleware-user-agent": "3.928.0", "@aws-sdk/types": "3.922.0", "@smithy/node-config-provider": "^4.3.4", "@smithy/types": "^4.8.1", @@ -1446,29 +1206,6 @@ } } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/xml-builder": { - "version": "3.921.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.921.0.tgz", - "integrity": "sha512-LVHg0jgjyicKKvpNIEMXIMr1EBViESxcPkqfOlT+X1FkmUMTNZEEVF18tOJg4m4hV5vxtkWcqtr4IEeWa1C41Q==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^4.8.1", - "fast-xml-parser": "5.2.5", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws/lambda-invoke-store": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.1.1.tgz", - "integrity": "sha512-RcLam17LdlbSOSp9VxmUu1eI6Mwxp+OwhD2QhiSNmNCzoDb0EeUXTD2n/WbcnrAYMGlmf05th6QYq23VqvJqpA==", - "license": "Apache-2.0", - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/eventstream-handler-node": { "version": "3.922.0", "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-handler-node/-/eventstream-handler-node-3.922.0.tgz", @@ -1781,15 +1518,6 @@ "node": ">=18.0.0" } }, - "node_modules/@aws/lambda-invoke-store": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.0.1.tgz", - "integrity": "sha512-ORHRQ2tmvnBXc8t/X9Z8IcSbBA4xTLKuN873FopzklHMeqBst7YG0d+AX97inkvDX+NChYtSr+qGfcqGFaI8Zw==", - "license": "Apache-2.0", - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@babel/code-frame": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", diff --git a/packages/openai-adapters/package.json b/packages/openai-adapters/package.json index 6a6554ae9..c31c5d70f 100644 --- a/packages/openai-adapters/package.json +++ b/packages/openai-adapters/package.json @@ -14,7 +14,7 @@ "dependencies": { "@anthropic-ai/sdk": "^0.67.0", "@aws-sdk/client-bedrock-runtime": "^3.925.0", - "@aws-sdk/credential-providers": "^3.925.0", + "@aws-sdk/credential-providers": "^3.929.0", "@continuedev/config-types": "^1.0.14", "@continuedev/config-yaml": "^1.36.0", "@continuedev/fetch": "^1.6.0", diff --git a/packages/openai-adapters/src/apis/OpenRouter.test.ts b/packages/openai-adapters/src/apis/OpenRouter.test.ts index 6b7175446..e62e2123f 100644 --- a/packages/openai-adapters/src/apis/OpenRouter.test.ts +++ b/packages/openai-adapters/src/apis/OpenRouter.test.ts @@ -14,7 +14,7 @@ describe("OpenRouterApi Anthropic caching", () => { const api = new OpenRouterApi(baseConfig); const body: ChatCompletionCreateParams = { - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4-5", messages: [ { role: "user", content: "First" }, { role: "assistant", content: "Resp" }, @@ -161,7 +161,7 @@ describe("OpenRouterApi Anthropic caching", () => { describe("applyAnthropicCachingToOpenRouterBody", () => { it("mutates OpenAI chat body with system and tool caching", () => { const body: ChatCompletionCreateParams = { - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4-5", messages: [ { role: "system", content: "You are helpful" }, { role: "user", content: "Alpha" }, @@ -241,7 +241,7 @@ describe("OpenRouterApi Anthropic caching", () => { it("leaves system untouched when strategy is none while caching users", () => { const body: ChatCompletionCreateParams = { - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4-5", messages: [ { role: "system", content: "Stay focused" }, { role: "user", content: "Question" }, @@ -276,7 +276,7 @@ describe("OpenRouterApi Anthropic caching", () => { it("adds cache_control only to final text segment of user arrays", () => { const body: ChatCompletionCreateParams = { - model: "anthropic/claude-3.5-sonnet", + model: "anthropic/claude-sonnet-4-5", messages: [ { role: "user", diff --git a/packages/openai-adapters/src/test/anthropic-adapter.vitest.ts b/packages/openai-adapters/src/test/anthropic-adapter.vitest.ts index 859bcab02..dba75137c 100644 --- a/packages/openai-adapters/src/test/anthropic-adapter.vitest.ts +++ b/packages/openai-adapters/src/test/anthropic-adapter.vitest.ts @@ -35,7 +35,7 @@ describe("Anthropic Adapter Tests", () => { methodToTest: "chatCompletionNonStream", params: [ { - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", messages: [{ role: "user", content: "hello" }], }, new AbortController().signal, @@ -62,7 +62,7 @@ describe("Anthropic Adapter Tests", () => { }, ], system: undefined, - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", max_tokens: 32000, stream: undefined, }, @@ -77,7 +77,7 @@ describe("Anthropic Adapter Tests", () => { text: "Hello! How can I help you today?", }, ], - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", stop_reason: "end_turn", stop_sequence: null, usage: { @@ -98,7 +98,7 @@ describe("Anthropic Adapter Tests", () => { methodToTest: "chatCompletionStream", params: [ { - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", messages: [{ role: "user", content: "hello" }], stream: true, }, @@ -126,7 +126,7 @@ describe("Anthropic Adapter Tests", () => { }, ], system: undefined, - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", max_tokens: 32000, stream: true, }, @@ -160,7 +160,7 @@ describe("Anthropic Adapter Tests", () => { methodToTest: "chatCompletionStream", params: [ { - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", messages: [ { role: "system", content: "You are a helpful assistant." }, { role: "user", content: "hello" }, @@ -197,7 +197,7 @@ describe("Anthropic Adapter Tests", () => { cache_control: { type: "ephemeral" }, }, ], - model: "claude-3-5-sonnet-20241022", + model: "claude-sonnet-4-5", max_tokens: 32000, stream: true, }, diff --git a/packages/openai-adapters/src/test/main.test.ts b/packages/openai-adapters/src/test/main.test.ts index 3b7b96193..8a10c8b72 100644 --- a/packages/openai-adapters/src/test/main.test.ts +++ b/packages/openai-adapters/src/test/main.test.ts @@ -70,7 +70,7 @@ const TESTS: Omit[] = [ }, { provider: "anthropic", - model: "claude-3-5-haiku-latest", + model: "claude-haiku-4-5", apiKey: process.env.ANTHROPIC_API_KEY!, roles: ["chat"], options: {