From c65d6dfb9ac9daac866fc55b62a55de6fd9a402c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 10 Dec 2025 23:03:38 +0000 Subject: [PATCH 1/3] fix: upgrade mocha from 11.7.1 to 11.7.5 Snyk has created this PR to upgrade mocha from 11.7.1 to 11.7.5. See this package in npm: mocha See this project in Snyk: https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr --- extensions/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 9808290a37..c62ab0f40d 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -753,7 +753,7 @@ "jsdom": "^24.0.0", "lru-cache": "^11.0.2", "minisearch": "^7.0.0", - "mocha": "^11.7.1", + "mocha": "^11.7.5", "monaco-editor": "^0.45.0", "monaco-vscode-textmate-theme-converter": "^0.1.7", "ncp": "^2.0.0", From 1cca84815ec535130f507dc6f85e5acf68edbfcf Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Wed, 10 Dec 2025 23:07:41 +0000 Subject: [PATCH 2/3] Update package-lock.json for mocha 11.7.5 This updates the lockfile to match the package.json change from mocha 11.7.1 to 11.7.5, fixing the CI build failure. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue Co-authored-by: nate --- extensions/vscode/package-lock.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 4d08584347..60a79ab45d 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -34,7 +34,7 @@ "jsdom": "^24.0.0", "lru-cache": "^11.0.2", "minisearch": "^7.0.0", - "mocha": "^11.7.1", + "mocha": "^11.7.5", "monaco-editor": "^0.45.0", "monaco-vscode-textmate-theme-converter": "^0.1.7", "ncp": "^2.0.0", @@ -100,16 +100,16 @@ "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.62.0", - "@aws-sdk/client-bedrock-runtime": "^3.779.0", + "@aws-sdk/client-bedrock-runtime": "^3.931.0", "@aws-sdk/client-sagemaker-runtime": "^3.777.0", - "@aws-sdk/credential-providers": "^3.778.0", + "@aws-sdk/credential-providers": "^3.931.0", "@continuedev/config-types": "^1.0.13", "@continuedev/config-yaml": "file:../packages/config-yaml", "@continuedev/fetch": "file:../packages/fetch", "@continuedev/llm-info": "file:../packages/llm-info", "@continuedev/openai-adapters": "file:../packages/openai-adapters", "@continuedev/terminal-security": "file:../packages/terminal-security", - "@modelcontextprotocol/sdk": "^1.12.0", + "@modelcontextprotocol/sdk": "^1.24.0", "@mozilla/readability": "^0.5.0", "@octokit/rest": "^20.1.1", "@sentry/cli": "^2.50.2", @@ -7820,7 +7820,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, "engines": { "node": ">=8" } @@ -9417,9 +9416,9 @@ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" }, "node_modules/mocha": { - "version": "11.7.1", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.1.tgz", - "integrity": "sha512-5EK+Cty6KheMS/YLPPMJC64g5V61gIR25KsRItHw6x4hEKT6Njp1n9LOlH4gpevuwMVS66SXaBBpg+RWZkza4A==", + "version": "11.7.5", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.5.tgz", + "integrity": "sha512-mTT6RgopEYABzXWFx+GcJ+ZQ32kp4fMf0xvpZIIfSq9Z8lC/++MtcCnQ9t5FP2veYEP95FIYSvW+U9fV4xrlig==", "license": "MIT", "dependencies": { "browser-stdout": "^1.3.1", @@ -9430,6 +9429,7 @@ "find-up": "^5.0.0", "glob": "^10.4.5", "he": "^1.2.0", + "is-path-inside": "^3.0.3", "js-yaml": "^4.1.0", "log-symbols": "^4.1.0", "minimatch": "^9.0.5", From ba750e4f78730359b8b1bda43d6dc2b5e106a4ed Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Wed, 10 Dec 2025 23:20:29 +0000 Subject: [PATCH 3/3] Fix flaky slash command test on Windows The test was timing out on Windows CI due to slower rendering. Increased the timeout from 2000ms to 5000ms and interval from 50ms to 100ms to give more time for the UI to render the /title command. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue Co-authored-by: nate --- .../__tests__/TUIChat.slashCommands.test.tsx | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx b/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx index e1ee6d001b..c0a7a3b7b8 100644 --- a/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx +++ b/extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx @@ -125,15 +125,19 @@ describe("TUIChat - Slash Commands Tests", () => { stdin.write("/title"); let frameAfterCommand = lastFrame(); - await waitForCondition(() => { - frameAfterCommand = lastFrame(); - - return ( - frameAfterCommand?.includes( - mode === "remote" ? "Remote Mode" : "/title", - ) ?? false - ); - }); + await waitForCondition( + () => { + frameAfterCommand = lastFrame(); + + return ( + frameAfterCommand?.includes( + mode === "remote" ? "Remote Mode" : "/title", + ) ?? false + ); + }, + 5000, + 100, + ); if (mode === "remote") { // In remote mode, /title might not be a valid command, so just check we're in remote mode