From a5dbef3828e5233048bcebe4aa3734cf42182643 Mon Sep 17 00:00:00 2001 From: mq200 Date: Mon, 5 May 2025 09:36:01 -0700 Subject: [PATCH 1/7] watsonx - messages API integration --- core/llm/autodetect.ts | 4 +- core/llm/llms/WatsonX.ts | 103 +++++++++++++++++++++++++++------------ core/llm/toolSupport.ts | 13 ++++- 3 files changed, 86 insertions(+), 34 deletions(-) diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index 1393ac44e..c45d6e46a 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -78,7 +78,8 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [ "azure", "scaleway", "nebius", - "ovhcloud" + "ovhcloud", + "watsonx", ]; const MODEL_SUPPORTS_IMAGES: string[] = [ @@ -98,6 +99,7 @@ const MODEL_SUPPORTS_IMAGES: string[] = [ "llama3.2", "llama-3.2", "llama4", + "granite-vision", ]; function modelSupportsTools(modelDescription: ModelDescription) { diff --git a/core/llm/llms/WatsonX.ts b/core/llm/llms/WatsonX.ts index ac91d3fa9..2e7de9332 100644 --- a/core/llm/llms/WatsonX.ts +++ b/core/llm/llms/WatsonX.ts @@ -4,9 +4,12 @@ import { CompletionOptions, LLMOptions, } from "../../index.js"; +import { + fromChatCompletionChunk, +} from "../openaiTypeConverters.js"; import { renderChatMessage } from "../../util/messageContent.js"; import { BaseLLM } from "../index.js"; -import { streamResponse } from "../stream.js"; +import { streamResponse, streamSse } from "../stream.js"; let watsonxToken = { expiration: 0, @@ -82,10 +85,8 @@ class WatsonX extends BaseLLM { } } - getWatsonxEndpoint(): string { - return this.deploymentId - ? `${this.apiBase}/ml/v1/deployments/${this.deploymentId}/text/generation_stream?version=${this.apiVersion}` - : `${this.apiBase}/ml/v1/text/generation_stream?version=${this.apiVersion}`; + _getEndpoint(endpoint: string): string { + return `${this.apiBase}/ml/v1/${this.deploymentId ? `deployments/${this.deploymentId}` : ""}text/${endpoint}_stream?version=${this.apiVersion}` } static providerName = "watsonx"; @@ -117,14 +118,10 @@ class WatsonX extends BaseLLM { }; } - protected _convertModelName(model: string): string { - return model; - } - protected _convertArgs(options: any, messages: ChatMessage[]) { const finalOptions = { messages: messages.map(this._convertMessage).filter(Boolean), - model: this._convertModelName(options.model), + model: options.model, max_tokens: options.maxTokens, temperature: options.temperature, top_p: options.topP, @@ -185,26 +182,11 @@ class WatsonX extends BaseLLM { signal: AbortSignal, options: CompletionOptions, ): AsyncGenerator { - for await (const chunk of this._streamChat( - [{ role: "user", content: prompt }], - signal, - options, - )) { - yield renderChatMessage(chunk); - } - } - protected async *_streamChat( - messages: ChatMessage[], - signal: AbortSignal, - options: CompletionOptions, - ): AsyncGenerator { await this.updateWatsonxToken(); - const stopSequences = - options.stop?.slice(0, 6) ?? - (options.model?.includes("granite") ? ["Question:"] : []); - const url = this.getWatsonxEndpoint(); + const stopSequences = options.stop?.slice(0, 6) ?? []; + const url = this._getEndpoint("generation"); const headers = this._getHeaders(); const parameters: any = { @@ -224,7 +206,7 @@ class WatsonX extends BaseLLM { } const payload: any = { - input: messages[messages.length - 1].content, + input: prompt, parameters: parameters, }; if (!this.deploymentId) { @@ -268,10 +250,67 @@ class WatsonX extends BaseLLM { } } }); - yield { - role: "assistant", - content: generatedChunk, - }; + yield generatedChunk + } + } + } + + protected async *_streamChat( + messages: ChatMessage[], + signal: AbortSignal, + options: CompletionOptions, + ): AsyncGenerator { + await this.updateWatsonxToken(); + + const stopSequences = options.stop?.slice(0, 6) ?? []; + const url = this._getEndpoint("chat"); + const headers = this._getHeaders(); + + const payload: any = { + messages: messages, + max_tokens: options.maxTokens ?? 1024, + stop: stopSequences, + frequency_penalty: options.frequencyPenalty || 1, + presence_penalty: options.presencePenalty || 1, + }; + + if (!this.deploymentId) { + payload.model_id = options.model; + payload.project_id = this.projectId; + } + + if (!!options.temperature) { + payload.temperature = options.temperature; + } + if (!!options.topP) { + payload.top_p = options.topP; + } + if (!!options.tools) { + payload.tools = options.tools; + if (options.toolChoice) { + payload.tool_choice = options.toolChoice; + } else { + payload.tool_choice_option = "auto"; + } + } + + var response = await this.fetch(url, { + method: "POST", + headers: headers, + body: JSON.stringify(payload), + signal, + }); + + if (!response.ok || response.body === null) { + throw new Error( + "Something went wrong. No response received, check your connection", + ); + } else { + for await (const value of streamSse(response)) { + const chunk = fromChatCompletionChunk(value); + if (chunk) { + yield chunk; + } } } } diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index cea36da6b..8a2b55195 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -148,5 +148,16 @@ export const PROVIDER_TOOL_SUPPORT: Record< if(model !== "deepseek-reasoner") { return true; } - } + }, + watsonx: (model) => { + if (model.toLowerCase().includes("guard")) return false; + if ([ + "llama-3", + "llama-4", + "mistral", + "codestral", + "granite-3" + ].some((part) => model.toLowerCase().includes(part))) + return true; + } }; From 21458828c509b2a5a5c78f685926f207467e1c8d Mon Sep 17 00:00:00 2001 From: mq200 Date: Mon, 5 May 2025 17:14:58 -0700 Subject: [PATCH 2/7] watsonx endpoint formatting --- core/llm/llms/WatsonX.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/llms/WatsonX.ts b/core/llm/llms/WatsonX.ts index 2e7de9332..49b2f9ce8 100644 --- a/core/llm/llms/WatsonX.ts +++ b/core/llm/llms/WatsonX.ts @@ -86,7 +86,7 @@ class WatsonX extends BaseLLM { } _getEndpoint(endpoint: string): string { - return `${this.apiBase}/ml/v1/${this.deploymentId ? `deployments/${this.deploymentId}` : ""}text/${endpoint}_stream?version=${this.apiVersion}` + return `${this.apiBase}/ml/v1/${this.deploymentId ? `deployments/${this.deploymentId}/` : ""}text/${endpoint}_stream?version=${this.apiVersion}` } static providerName = "watsonx"; From 419fb27238d86cd47e69125699514659e4d7c6c7 Mon Sep 17 00:00:00 2001 From: Anthony Accomazzo Date: Wed, 7 May 2025 16:16:16 -0700 Subject: [PATCH 3/7] Fix frontmatter in mcp.md --- docs/docs/blocks/mcp.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/docs/blocks/mcp.md b/docs/docs/blocks/mcp.md index 7201c4ac1..604d80203 100644 --- a/docs/docs/blocks/mcp.md +++ b/docs/docs/blocks/mcp.md @@ -1,13 +1,9 @@ --- -title: MCP Blocks ---- - title: MCP Blocks sidebar_label: MCP description: Model Context Protocol servers provide specialized functionality keywords: [mcp, blocks, model context protocol, integrations, tools] sidebar_position: 4 - --- Model Context Protocol servers provide specialized functionality: From 15870eaa40e7d5bb5f7216bfbf85258d2b2a5e0f Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 9 May 2025 09:27:51 -0700 Subject: [PATCH 4/7] Update pr_checks.yaml --- .github/workflows/pr_checks.yaml | 96 +++++++++++++++++++++++++++++--- 1 file changed, 87 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index c490373a0..77e6541f3 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -563,11 +563,36 @@ jobs: cd packages/config-yaml npm run build - - name: Download Dependencies - if: steps.storage-cache.outputs.cache-hit != 'true' - run: | - cd extensions/vscode - npm run e2e:ci:download + - name: Download Dependencies + if: steps.storage-cache.outputs.cache-hit != 'true' + run: | + cd extensions/vscode + + # Print the extest version to check compatibility + echo "Extest version:" + npx extest --version || echo "Could not determine extest version" + + # Check package.json for VSCode and chromedriver versions + echo "Using VSCode/chromedriver version from package.json scripts:" + grep "CODE_VERSION" package.json + + # Run the download + npm run e2e:ci:download + + # Check what was downloaded + echo "Downloaded VSCode version:" + if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then + e2e/storage/VSCode-linux-x64/code --version + else + echo "VSCode binary not found" + ls -la e2e/storage + fi + + echo "Downloaded chromedriver directory contents:" + ls -la e2e/storage/chromedriver-linux64/ || echo "chromedriver-linux64 directory not found" + + echo "Looking for chromedriver executable:" + find e2e/storage -name "chromedriver*" -type f - name: Upload e2e dependencies uses: actions/upload-artifact@v4 @@ -636,10 +661,63 @@ jobs: cd packages/config-yaml npm run build - - name: Fix VSCode binary permissions - run: | - chmod +x extensions/vscode/e2e/storage/VSCode-linux-x64/code - chmod +x extensions/vscode/e2e/storage/chromedriver-linux64/chromedriver + - name: Fix VSCode binary permissions and verify environment + run: | + cd extensions/vscode + + echo "VSCode storage directory structure:" + find e2e/storage -type d | sort + + echo "Chromedriver files:" + find e2e/storage -name "chromedriver*" -type f + + # Fix permissions for VSCode + if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then + chmod +x e2e/storage/VSCode-linux-x64/code + echo "Fixed VSCode permissions" + else + echo "ERROR: VSCode binary not found at expected path" + find e2e/storage -name "code" -type f + fi + + # Fix permissions for chromedriver and create symlink if needed + CHROMEDRIVER_PATH=$(find e2e/storage -name "chromedriver" -type f | head -1) + if [ -n "$CHROMEDRIVER_PATH" ]; then + chmod +x "$CHROMEDRIVER_PATH" + echo "Fixed chromedriver permissions at $CHROMEDRIVER_PATH" + + # Create the symlink if it's not at the expected path + if [ "$CHROMEDRIVER_PATH" != "e2e/storage/chromedriver" ]; then + ln -sf "$(pwd)/$CHROMEDRIVER_PATH" "$(pwd)/e2e/storage/chromedriver" + echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_PATH" + fi + else + echo "ERROR: No chromedriver found, looking for alternative chrome files:" + find e2e/storage -name "*chrome*" -type f + + # Try to find chromedriver in subdirectories + CHROMEDRIVER_DIR=$(find e2e/storage -name "chromedriver*" -type d | head -1) + if [ -n "$CHROMEDRIVER_DIR" ]; then + CHROMEDRIVER_IN_DIR=$(find "$CHROMEDRIVER_DIR" -name "chromedriver" -type f | head -1) + if [ -n "$CHROMEDRIVER_IN_DIR" ]; then + chmod +x "$CHROMEDRIVER_IN_DIR" + ln -sf "$(pwd)/$CHROMEDRIVER_IN_DIR" "$(pwd)/e2e/storage/chromedriver" + echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_IN_DIR" + fi + fi + fi + + # Create the directory structure if needed + mkdir -p e2e/storage + + # Verify the setup + echo "Final check after setup:" + if [ -f "e2e/storage/chromedriver" ]; then + echo "Chromedriver is at the expected location" + ls -la e2e/storage/chromedriver + else + echo "ERROR: Still could not find or create chromedriver at the expected location" + fi - name: Set up SSH env: From ecfaf4fb8f7a9a7455fc9a0545340232306fb905 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 9 May 2025 09:35:40 -0700 Subject: [PATCH 5/7] Update pr_checks.yaml --- .github/workflows/pr_checks.yaml | 60 ++++++++++++++++---------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 77e6541f3..0ae5a6ce5 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -563,36 +563,36 @@ jobs: cd packages/config-yaml npm run build - - name: Download Dependencies - if: steps.storage-cache.outputs.cache-hit != 'true' - run: | - cd extensions/vscode - - # Print the extest version to check compatibility - echo "Extest version:" - npx extest --version || echo "Could not determine extest version" - - # Check package.json for VSCode and chromedriver versions - echo "Using VSCode/chromedriver version from package.json scripts:" - grep "CODE_VERSION" package.json - - # Run the download - npm run e2e:ci:download - - # Check what was downloaded - echo "Downloaded VSCode version:" - if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then - e2e/storage/VSCode-linux-x64/code --version - else - echo "VSCode binary not found" - ls -la e2e/storage - fi - - echo "Downloaded chromedriver directory contents:" - ls -la e2e/storage/chromedriver-linux64/ || echo "chromedriver-linux64 directory not found" - - echo "Looking for chromedriver executable:" - find e2e/storage -name "chromedriver*" -type f + - name: Download Dependencies + if: steps.storage-cache.outputs.cache-hit != 'true' + run: | + cd extensions/vscode + + # Print the extest version to check compatibility + echo "Extest version:" + npx extest --version || echo "Could not determine extest version" + + # Check package.json for VSCode and chromedriver versions + echo "Using VSCode/chromedriver version from package.json scripts:" + grep "CODE_VERSION" package.json + + # Run the download + npm run e2e:ci:download + + # Check what was downloaded + echo "Downloaded VSCode version:" + if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then + e2e/storage/VSCode-linux-x64/code --version + else + echo "VSCode binary not found" + ls -la e2e/storage + fi + + echo "Downloaded chromedriver directory contents:" + ls -la e2e/storage/chromedriver-linux64/ || echo "chromedriver-linux64 directory not found" + + echo "Looking for chromedriver executable:" + find e2e/storage -name "chromedriver*" -type f - name: Upload e2e dependencies uses: actions/upload-artifact@v4 From 5d28889e8f079a954e287e0f0df95d97e105533d Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 9 May 2025 09:52:01 -0700 Subject: [PATCH 6/7] Update pr_checks.yaml --- .github/workflows/pr_checks.yaml | 104 +++++++++++++++---------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 0ae5a6ce5..ee8bafa1a 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -661,63 +661,63 @@ jobs: cd packages/config-yaml npm run build - - name: Fix VSCode binary permissions and verify environment - run: | - cd extensions/vscode + - name: Fix VSCode binary permissions and verify environment + run: | + cd extensions/vscode + + echo "VSCode storage directory structure:" + find e2e/storage -type d | sort + + echo "Chromedriver files:" + find e2e/storage -name "chromedriver*" -type f + + # Fix permissions for VSCode + if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then + chmod +x e2e/storage/VSCode-linux-x64/code + echo "Fixed VSCode permissions" + else + echo "ERROR: VSCode binary not found at expected path" + find e2e/storage -name "code" -type f + fi + + # Fix permissions for chromedriver and create symlink if needed + CHROMEDRIVER_PATH=$(find e2e/storage -name "chromedriver" -type f | head -1) + if [ -n "$CHROMEDRIVER_PATH" ]; then + chmod +x "$CHROMEDRIVER_PATH" + echo "Fixed chromedriver permissions at $CHROMEDRIVER_PATH" - echo "VSCode storage directory structure:" - find e2e/storage -type d | sort - - echo "Chromedriver files:" - find e2e/storage -name "chromedriver*" -type f - - # Fix permissions for VSCode - if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then - chmod +x e2e/storage/VSCode-linux-x64/code - echo "Fixed VSCode permissions" - else - echo "ERROR: VSCode binary not found at expected path" - find e2e/storage -name "code" -type f + # Create the symlink if it's not at the expected path + if [ "$CHROMEDRIVER_PATH" != "e2e/storage/chromedriver" ]; then + ln -sf "$(pwd)/$CHROMEDRIVER_PATH" "$(pwd)/e2e/storage/chromedriver" + echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_PATH" fi + else + echo "ERROR: No chromedriver found, looking for alternative chrome files:" + find e2e/storage -name "*chrome*" -type f - # Fix permissions for chromedriver and create symlink if needed - CHROMEDRIVER_PATH=$(find e2e/storage -name "chromedriver" -type f | head -1) - if [ -n "$CHROMEDRIVER_PATH" ]; then - chmod +x "$CHROMEDRIVER_PATH" - echo "Fixed chromedriver permissions at $CHROMEDRIVER_PATH" - - # Create the symlink if it's not at the expected path - if [ "$CHROMEDRIVER_PATH" != "e2e/storage/chromedriver" ]; then - ln -sf "$(pwd)/$CHROMEDRIVER_PATH" "$(pwd)/e2e/storage/chromedriver" - echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_PATH" - fi - else - echo "ERROR: No chromedriver found, looking for alternative chrome files:" - find e2e/storage -name "*chrome*" -type f - - # Try to find chromedriver in subdirectories - CHROMEDRIVER_DIR=$(find e2e/storage -name "chromedriver*" -type d | head -1) - if [ -n "$CHROMEDRIVER_DIR" ]; then - CHROMEDRIVER_IN_DIR=$(find "$CHROMEDRIVER_DIR" -name "chromedriver" -type f | head -1) - if [ -n "$CHROMEDRIVER_IN_DIR" ]; then - chmod +x "$CHROMEDRIVER_IN_DIR" - ln -sf "$(pwd)/$CHROMEDRIVER_IN_DIR" "$(pwd)/e2e/storage/chromedriver" - echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_IN_DIR" - fi + # Try to find chromedriver in subdirectories + CHROMEDRIVER_DIR=$(find e2e/storage -name "chromedriver*" -type d | head -1) + if [ -n "$CHROMEDRIVER_DIR" ]; then + CHROMEDRIVER_IN_DIR=$(find "$CHROMEDRIVER_DIR" -name "chromedriver" -type f | head -1) + if [ -n "$CHROMEDRIVER_IN_DIR" ]; then + chmod +x "$CHROMEDRIVER_IN_DIR" + ln -sf "$(pwd)/$CHROMEDRIVER_IN_DIR" "$(pwd)/e2e/storage/chromedriver" + echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_IN_DIR" fi fi - - # Create the directory structure if needed - mkdir -p e2e/storage - - # Verify the setup - echo "Final check after setup:" - if [ -f "e2e/storage/chromedriver" ]; then - echo "Chromedriver is at the expected location" - ls -la e2e/storage/chromedriver - else - echo "ERROR: Still could not find or create chromedriver at the expected location" - fi + fi + + # Create the directory structure if needed + mkdir -p e2e/storage + + # Verify the setup + echo "Final check after setup:" + if [ -f "e2e/storage/chromedriver" ]; then + echo "Chromedriver is at the expected location" + ls -la e2e/storage/chromedriver + else + echo "ERROR: Still could not find or create chromedriver at the expected location" + fi - name: Set up SSH env: From 006e1e4b3bad2a8545a492cbeeb3238a1bf3345b Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 9 May 2025 11:57:06 -0700 Subject: [PATCH 7/7] fix: bump extension tester version --- .github/workflows/pr_checks.yaml | 98 ++--------- extensions/vscode/e2e/README.md | 8 +- extensions/vscode/package-lock.json | 248 +++++++++++++++++++--------- extensions/vscode/package.json | 8 +- 4 files changed, 187 insertions(+), 175 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index ee8bafa1a..56920694f 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -567,33 +567,8 @@ jobs: if: steps.storage-cache.outputs.cache-hit != 'true' run: | cd extensions/vscode - - # Print the extest version to check compatibility - echo "Extest version:" - npx extest --version || echo "Could not determine extest version" - - # Check package.json for VSCode and chromedriver versions - echo "Using VSCode/chromedriver version from package.json scripts:" - grep "CODE_VERSION" package.json - - # Run the download npm run e2e:ci:download - # Check what was downloaded - echo "Downloaded VSCode version:" - if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then - e2e/storage/VSCode-linux-x64/code --version - else - echo "VSCode binary not found" - ls -la e2e/storage - fi - - echo "Downloaded chromedriver directory contents:" - ls -la e2e/storage/chromedriver-linux64/ || echo "chromedriver-linux64 directory not found" - - echo "Looking for chromedriver executable:" - find e2e/storage -name "chromedriver*" -type f - - name: Upload e2e dependencies uses: actions/upload-artifact@v4 with: @@ -661,63 +636,10 @@ jobs: cd packages/config-yaml npm run build - - name: Fix VSCode binary permissions and verify environment + - name: Fix VSCode binary permissions run: | - cd extensions/vscode - - echo "VSCode storage directory structure:" - find e2e/storage -type d | sort - - echo "Chromedriver files:" - find e2e/storage -name "chromedriver*" -type f - - # Fix permissions for VSCode - if [ -f "e2e/storage/VSCode-linux-x64/code" ]; then - chmod +x e2e/storage/VSCode-linux-x64/code - echo "Fixed VSCode permissions" - else - echo "ERROR: VSCode binary not found at expected path" - find e2e/storage -name "code" -type f - fi - - # Fix permissions for chromedriver and create symlink if needed - CHROMEDRIVER_PATH=$(find e2e/storage -name "chromedriver" -type f | head -1) - if [ -n "$CHROMEDRIVER_PATH" ]; then - chmod +x "$CHROMEDRIVER_PATH" - echo "Fixed chromedriver permissions at $CHROMEDRIVER_PATH" - - # Create the symlink if it's not at the expected path - if [ "$CHROMEDRIVER_PATH" != "e2e/storage/chromedriver" ]; then - ln -sf "$(pwd)/$CHROMEDRIVER_PATH" "$(pwd)/e2e/storage/chromedriver" - echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_PATH" - fi - else - echo "ERROR: No chromedriver found, looking for alternative chrome files:" - find e2e/storage -name "*chrome*" -type f - - # Try to find chromedriver in subdirectories - CHROMEDRIVER_DIR=$(find e2e/storage -name "chromedriver*" -type d | head -1) - if [ -n "$CHROMEDRIVER_DIR" ]; then - CHROMEDRIVER_IN_DIR=$(find "$CHROMEDRIVER_DIR" -name "chromedriver" -type f | head -1) - if [ -n "$CHROMEDRIVER_IN_DIR" ]; then - chmod +x "$CHROMEDRIVER_IN_DIR" - ln -sf "$(pwd)/$CHROMEDRIVER_IN_DIR" "$(pwd)/e2e/storage/chromedriver" - echo "Created symlink from $(pwd)/e2e/storage/chromedriver to $(pwd)/$CHROMEDRIVER_IN_DIR" - fi - fi - fi - - # Create the directory structure if needed - mkdir -p e2e/storage - - # Verify the setup - echo "Final check after setup:" - if [ -f "e2e/storage/chromedriver" ]; then - echo "Chromedriver is at the expected location" - ls -la e2e/storage/chromedriver - else - echo "ERROR: Still could not find or create chromedriver at the expected location" - fi + chmod +x extensions/vscode/e2e/storage/VSCode-linux-x64/code + chmod +x extensions/vscode/e2e/storage/chromedriver-linux64/chromedriver - name: Set up SSH env: @@ -748,13 +670,6 @@ jobs: cd extensions/vscode rm -rf e2e/.test-extensions/continue* - - name: Upload e2e test screenshots - if: failure() - uses: actions/upload-artifact@v4 - with: - name: e2e-failure-screenshots - path: extensions/vscode/e2e/storage/screenshots - - name: Sanitize test file name id: sanitize_filename if: always() @@ -763,6 +678,13 @@ jobs: SANITIZED_FILENAME="${FILENAME//\//-}" # Replace / with - using bash parameter expansion echo "sanitized_test_file=${SANITIZED_FILENAME}" >> $GITHUB_OUTPUT + - name: Upload e2e test screenshots + if: failure() + uses: actions/upload-artifact@v4 + with: + name: e2e-failure-screenshots-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ matrix.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }} + path: extensions/vscode/e2e/storage/screenshots + - name: Find e2e log file if: always() run: | diff --git a/extensions/vscode/e2e/README.md b/extensions/vscode/e2e/README.md index 46d0ee178..ac0cc22ea 100644 --- a/extensions/vscode/e2e/README.md +++ b/extensions/vscode/e2e/README.md @@ -1,4 +1,6 @@ -### Setup +# E2E Tests + +## Setup When running e2e tests for the first time @@ -6,7 +8,7 @@ When running e2e tests for the first time npm run e2e:all ``` -### Run +## Run Depending on what code you update, you can use a faster loop to test your changes: @@ -14,7 +16,7 @@ Depending on what code you update, you can use a faster loop to test your change - If you update the extension code, you can run `npm run e2e:recompile` - If you update the gui code, you can run `npm run e2e:rebuild-gui` -### Writing tests +## Writing tests All e2e tests are separated (by folder) into diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 8bdc0f0e5..e4157188c 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "1.1.31", + "version": "1.1.33", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "1.1.31", + "version": "1.1.33", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "^1.0.14", @@ -91,7 +91,7 @@ "typescript": "^5.6.3", "vite": "^4.5.14", "vsce": "^2.15.0", - "vscode-extension-tester": "^8.10.0" + "vscode-extension-tester": "^8.14.1" }, "engines": { "node": ">=20.19.0", @@ -512,7 +512,8 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/@bazel/runfiles/-/runfiles-6.3.1.tgz", "integrity": "sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/@bcherny/json-schema-ref-parser": { "version": "10.0.5-fork", @@ -533,10 +534,14 @@ } }, "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz", + "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } }, "node_modules/@biomejs/biome": { "version": "1.6.4", @@ -1284,6 +1289,7 @@ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1821,26 +1827,28 @@ } }, "node_modules/@redhat-developer/locators": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@redhat-developer/locators/-/locators-1.8.0.tgz", - "integrity": "sha512-N83s7QTKjT2EEnKA4NiWGhTyrU4gUwsadiO0ueDg4xfXNcfJ2aUMSAzcvJWUDQbOftDMg4xawx9ho7UlI/+jQg==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@redhat-developer/locators/-/locators-1.12.1.tgz", + "integrity": "sha512-bJZSZ1J1t0NM0UroK2jiT125hEiqzaGjcKCZBXyOQoUGTr9XvGnk/nDg1VBEm1krQjLdsNxZ3TgfCRDbXsQCnA==", "dev": true, + "license": "Apache-2.0", "peerDependencies": { "@redhat-developer/page-objects": ">=1.0.0", "selenium-webdriver": ">=4.6.1" } }, "node_modules/@redhat-developer/page-objects": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@redhat-developer/page-objects/-/page-objects-1.8.0.tgz", - "integrity": "sha512-lbB3liUNVBj6yddqJDxejHcTaGg5WA8nlCOtZHzA/mLnotMqkt+wDjJ22z/zAfc4K2zhRZZFXpnjl7SMjO8XAQ==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@redhat-developer/page-objects/-/page-objects-1.12.1.tgz", + "integrity": "sha512-rfSQDYlHLeSpn+OHzMb3AYmTG5c2Ped4JRH7eHQb5yhhcxkZA755Ik0DvvdRQZMo1H9Kk8Ajn44PdicPewhPVg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "clipboardy": "^4.0.0", "clone-deep": "^4.0.1", "compare-versions": "^6.1.1", - "fs-extra": "^11.2.0", - "type-fest": "^4.27.0" + "fs-extra": "^11.3.0", + "type-fest": "^4.39.1" }, "peerDependencies": { "selenium-webdriver": ">=4.6.1", @@ -1851,13 +1859,15 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@redhat-developer/page-objects/node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -1868,10 +1878,11 @@ } }, "node_modules/@redhat-developer/page-objects/node_modules/type-fest": { - "version": "4.30.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.0.tgz", - "integrity": "sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==", + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, @@ -1906,7 +1917,8 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@sindresorhus/is": { "version": "4.6.0", @@ -2164,7 +2176,8 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", @@ -2328,10 +2341,11 @@ } }, "node_modules/@types/selenium-webdriver": { - "version": "4.1.27", - "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-4.1.27.tgz", - "integrity": "sha512-ALqsj8D7Swb6MnBQuAQ58J3KC3yh6fLGtAmpBmnZX8j+0kmP7NaLt56CuzBw2W2bXPrvHFTgn8iekOQFUKXEQA==", + "version": "4.1.28", + "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-4.1.28.tgz", + "integrity": "sha512-Au7CXegiS7oapbB16zxPToY4Cjzi9UQQMf3W2ZZM8PigMLTGR3iUAHjPUTddyE5g1SBjT/qpmvlsAQLBfNAdKg==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "@types/ws": "*" @@ -3625,12 +3639,13 @@ } }, "node_modules/c8": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz", - "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.3.tgz", + "integrity": "sha512-LvcyrOAaOnrrlMpW22n690PUvxiq4Uf9WMhQwNJ9vgagkL/ph1+D4uvjvDA5XCbykrc0sx+ay6pVi9YZ1GnhyA==", "dev": true, + "license": "ISC", "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", + "@bcoe/v8-coverage": "^1.0.1", "@istanbuljs/schema": "^0.1.3", "find-up": "^5.0.0", "foreground-child": "^3.1.1", @@ -3662,6 +3677,7 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } @@ -4085,6 +4101,7 @@ "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-4.0.0.tgz", "integrity": "sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==", "dev": true, + "license": "MIT", "dependencies": { "execa": "^8.0.1", "is-wsl": "^3.1.0", @@ -4102,6 +4119,7 @@ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^8.0.1", @@ -4125,6 +4143,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true, + "license": "MIT", "engines": { "node": ">=16" }, @@ -4137,6 +4156,7 @@ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=16.17.0" } @@ -4146,6 +4166,7 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -4158,6 +4179,7 @@ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", "dev": true, + "license": "MIT", "dependencies": { "is-inside-container": "^1.0.0" }, @@ -4173,6 +4195,7 @@ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4185,6 +4208,7 @@ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^4.0.0" }, @@ -4200,6 +4224,7 @@ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^4.0.0" }, @@ -4215,6 +4240,7 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4227,6 +4253,7 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -4239,6 +4266,7 @@ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4307,6 +4335,7 @@ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -4622,7 +4651,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cookie": { "version": "0.7.1", @@ -6265,6 +6295,7 @@ "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-4.0.2.tgz", "integrity": "sha512-KQVhvhK8ZkWzxKxOr56CPulAhH3dobtuQ4+hNQ+HekH/Wp5gSOafqRAeTphQUJAIk0GBvHZgJ2ZGRWd5kphMuw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 18" } @@ -6836,7 +6867,8 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/htmlparser2": { "version": "9.1.0", @@ -7269,6 +7301,7 @@ "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", "dev": true, + "license": "MIT", "dependencies": { "is-docker": "^3.0.0" }, @@ -7287,6 +7320,7 @@ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", "dev": true, + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -7343,6 +7377,7 @@ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -7409,6 +7444,7 @@ "resolved": "https://registry.npmjs.org/is64bit/-/is64bit-2.0.0.tgz", "integrity": "sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw==", "dev": true, + "license": "MIT", "dependencies": { "system-architecture": "^0.1.0" }, @@ -7434,6 +7470,7 @@ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -7448,6 +7485,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=8" } @@ -7457,6 +7495,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^4.0.0", @@ -7471,6 +7510,7 @@ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -7814,6 +7854,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -8029,6 +8070,7 @@ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.5.3" }, @@ -10722,6 +10764,7 @@ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -11450,9 +11493,9 @@ } }, "node_modules/selenium-webdriver": { - "version": "4.27.0", - "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.27.0.tgz", - "integrity": "sha512-LkTJrNz5socxpPnWPODQ2bQ65eYx9JK+DQMYNihpTjMCqHwgWGYQnQTCAAche2W3ZP87alA+1zYPvgS8tHNzMQ==", + "version": "4.32.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.32.0.tgz", + "integrity": "sha512-dG48JJnB96Aea1iVaZOKGmd6yT6aemeI1heWI/i8DtfD3pDX7uIlwpDBoGauNhtXAaFaamP+U4hIab8zZkg3Ag==", "dev": true, "funding": [ { @@ -11464,6 +11507,7 @@ "url": "https://opencollective.com/selenium" } ], + "license": "Apache-2.0", "dependencies": { "@bazel/runfiles": "^6.3.1", "jszip": "^3.10.1", @@ -11471,7 +11515,7 @@ "ws": "^8.18.0" }, "engines": { - "node": ">= 14.21.0" + "node": ">= 18.20.5" } }, "node_modules/semver": { @@ -11594,6 +11638,7 @@ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -12256,6 +12301,7 @@ "resolved": "https://registry.npmjs.org/system-architecture/-/system-architecture-0.1.0.tgz", "integrity": "sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -12624,6 +12670,7 @@ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz", "integrity": "sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==", "dev": true, + "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^10.4.1", @@ -12638,6 +12685,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -12647,6 +12695,7 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -12667,6 +12716,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -12682,6 +12732,7 @@ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } @@ -13349,6 +13400,7 @@ "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, + "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -14055,26 +14107,27 @@ } }, "node_modules/vscode-extension-tester": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/vscode-extension-tester/-/vscode-extension-tester-8.10.0.tgz", - "integrity": "sha512-Q4Fd1GJ0V1kA5+a6JEzUOkeLE/5zndVr1sBWtYjQuuswp9ef1PxWtqjFtC8kFy7pfZbmD2PpN+EH3uhR5rX76g==", + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/vscode-extension-tester/-/vscode-extension-tester-8.14.1.tgz", + "integrity": "sha512-yu5nvQBI69Nwy7OZyNNmYcTMfcMbFy4jX2XjQc+jqenzifjOYLmr4iB427fA0A+fycl1S3ynbDlu9wKygcpdcA==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@redhat-developer/locators": "^1.8.0", - "@redhat-developer/page-objects": "^1.8.0", - "@types/selenium-webdriver": "^4.1.27", - "@vscode/vsce": "^3.2.1", - "c8": "^10.1.2", - "commander": "^12.1.0", + "@redhat-developer/locators": "^1.12.1", + "@redhat-developer/page-objects": "^1.12.1", + "@types/selenium-webdriver": "^4.1.28", + "@vscode/vsce": "^3.3.2", + "c8": "^10.1.3", + "commander": "^13.1.0", "compare-versions": "^6.1.1", "find-up": "7.0.0", - "fs-extra": "^11.2.0", - "glob": "^11.0.0", - "got": "^14.4.4", + "fs-extra": "^11.3.0", + "glob": "^11.0.1", + "got": "^14.4.7", "hpagent": "^1.2.0", "js-yaml": "^4.1.0", "sanitize-filename": "^1.6.3", - "selenium-webdriver": "^4.26.0", + "selenium-webdriver": "^4.31.0", "targz": "^1.0.1", "unzipper": "^0.12.3" }, @@ -14091,6 +14144,7 @@ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.0.1.tgz", "integrity": "sha512-QWLl2P+rsCJeofkDNIT3WFmb6NrRud1SUYW8dIhXK/46XFV8Q/g7Bsvib0Askb0reRLe+WYPeeE+l5cH7SlkuQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -14103,6 +14157,7 @@ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", "dev": true, + "license": "MIT", "dependencies": { "defer-to-connect": "^2.0.1" }, @@ -14111,10 +14166,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/@vscode/vsce": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@vscode/vsce/-/vsce-3.2.1.tgz", - "integrity": "sha512-AY9vBjwExakK1c0cI/3NN2Ey0EgiKLBye/fxl/ue+o4q6RZ7N+xzd1jAD6eI6eBeMVANi617+V2rxIAkDPco2Q==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@vscode/vsce/-/vsce-3.3.2.tgz", + "integrity": "sha512-XQ4IhctYalSTMwLnMS8+nUaGbU7v99Qm2sOoGfIEf2QC7jpiLXZZMh7NwArEFsKX4gHTJLx0/GqAUlCdC3gKCw==", "dev": true, + "license": "MIT", "dependencies": { "@azure/identity": "^4.1.0", "@vscode/vsce-sign": "^2.0.0", @@ -14122,7 +14178,7 @@ "chalk": "^2.4.2", "cheerio": "^1.0.0-rc.9", "cockatiel": "^3.1.2", - "commander": "^6.2.1", + "commander": "^12.1.0", "form-data": "^4.0.0", "glob": "^11.0.0", "hosted-git-info": "^4.0.2", @@ -14152,12 +14208,13 @@ } }, "node_modules/vscode-extension-tester/node_modules/@vscode/vsce/node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", "dev": true, + "license": "MIT", "engines": { - "node": ">= 6" + "node": ">=18" } }, "node_modules/vscode-extension-tester/node_modules/ansi-styles": { @@ -14165,6 +14222,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -14177,6 +14235,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -14186,6 +14245,7 @@ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" } @@ -14195,6 +14255,7 @@ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-12.0.1.tgz", "integrity": "sha512-Yo9wGIQUaAfIbk+qY0X4cDQgCosecfBe3V9NSyeY4qPC2SAkbCS4Xj79VP8WOzitpJUZKc/wsRCYF5ariDIwkg==", "dev": true, + "license": "MIT", "dependencies": { "@types/http-cache-semantics": "^4.0.4", "get-stream": "^9.0.1", @@ -14213,6 +14274,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -14227,6 +14289,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } @@ -14235,13 +14298,15 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-extension-tester/node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", + "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" } @@ -14257,6 +14322,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -14279,10 +14345,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -14297,6 +14364,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, + "license": "MIT", "dependencies": { "@sec-ant/readable-stream": "^0.4.1", "is-stream": "^4.0.1" @@ -14309,10 +14377,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/glob": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", - "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.2.tgz", + "integrity": "sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^4.0.1", @@ -14336,6 +14405,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14347,10 +14417,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/got": { - "version": "14.4.5", - "resolved": "https://registry.npmjs.org/got/-/got-14.4.5.tgz", - "integrity": "sha512-sq+uET8TnNKRNnjEOPJzMcxeI0irT8BBNmf+GtZcJpmhYsQM1DSKmCROUjPWKsXZ5HzwD5Cf5/RV+QD9BSTxJg==", + "version": "14.4.7", + "resolved": "https://registry.npmjs.org/got/-/got-14.4.7.tgz", + "integrity": "sha512-DI8zV1231tqiGzOiOzQWDhsBmncFW7oQDH6Zgy6pDPrqJuVZMtoSgPLLsBZQj8Jg4JFfwoOsDA8NGtLQLnIx2g==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/is": "^7.0.1", "@szmarczak/http-timer": "^5.0.1", @@ -14376,6 +14447,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -14385,6 +14457,7 @@ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", "dev": true, + "license": "MIT", "dependencies": { "quick-lru": "^5.1.1", "resolve-alpn": "^1.2.0" @@ -14398,6 +14471,7 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -14406,10 +14480,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/jackspeak": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz", - "integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.0.tgz", + "integrity": "sha512-9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -14425,6 +14500,7 @@ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", "dev": true, + "license": "MIT", "dependencies": { "uc.micro": "^2.0.0" } @@ -14449,6 +14525,7 @@ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -14461,6 +14538,7 @@ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1", "entities": "^4.4.0", @@ -14477,13 +14555,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-extension-tester/node_modules/mimic-response": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -14496,6 +14576,7 @@ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } @@ -14505,6 +14586,7 @@ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -14517,6 +14599,7 @@ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-4.0.1.tgz", "integrity": "sha512-wBowNApzd45EIKdO1LaU+LrMBwAcjfPaYtVzV3lmfM3gf8Z4CHZsiIqlM8TZZ8okYvh5A1cP6gTfCRQtwUpaUg==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" } @@ -14565,6 +14648,7 @@ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" @@ -14581,6 +14665,7 @@ "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", "dev": true, + "license": "MIT", "dependencies": { "lowercase-keys": "^3.0.0" }, @@ -14596,6 +14681,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -14604,10 +14690,11 @@ } }, "node_modules/vscode-extension-tester/node_modules/type-fest": { - "version": "4.30.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.0.tgz", - "integrity": "sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==", + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, @@ -14619,7 +14706,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-extension-tester/node_modules/yocto-queue": { "version": "1.1.1", diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index e7d8e2bb2..b772f4a8c 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -612,14 +612,14 @@ "e2e:compile": "tsc -p ./tsconfig.e2e.json", "e2e:build": "npm --prefix ../../gui run build && npm run package", "e2e:create-storage": "mkdir -p ./e2e/storage", - "e2e:get-chromedriver": "CODE_VERSION=\"1.95.0\" extest get-chromedriver --storage ./e2e/storage", - "e2e:get-vscode": "CODE_VERSION=\"1.95.0\" extest get-vscode --storage ./e2e/storage", + "e2e:get-chromedriver": "extest get-chromedriver --storage ./e2e/storage --code_version 1.95.0", + "e2e:get-vscode": "extest get-vscode --storage ./e2e/storage --code_version 1.95.0", "e2e:sign-vscode": "codesign --entitlements entitlements.plist --deep --force -s - './e2e/storage/Visual Studio Code.app'", "e2e:copy-vsix": "chmod +x ./e2e/get-latest-vsix.sh && bash ./e2e/get-latest-vsix.sh", "e2e:install-vsix": "extest install-vsix -f ./e2e/vsix/continue.vsix --extensions_dir ./e2e/.test-extensions --storage ./e2e/storage", "e2e:install-extensions": "extest install-from-marketplace ms-vscode-remote.remote-ssh --extensions_dir ./e2e/.test-extensions --storage ./e2e/storage && extest install-from-marketplace ms-vscode-remote.remote-containers --extensions_dir ./e2e/.test-extensions --storage ./e2e/storage && extest install-from-marketplace ms-vscode-remote.remote-wsl --extensions_dir ./e2e/.test-extensions --storage ./e2e/storage", "e2e:test": "extest run-tests ${TEST_FILE:-'./e2e/_output/tests/*.test.js'} --code_settings settings.json --extensions_dir ./e2e/.test-extensions --storage ./e2e/storage", - "e2e:clean": "rm -rf ./e2e/_output", + "e2e:clean": "rm -rf ./e2e/_output ./e2e/storage", "e2e:all": "npm run e2e:build && npm run e2e:compile && npm run e2e:create-storage && npm run e2e:get-chromedriver && npm run e2e:get-vscode && npm run e2e:sign-vscode && npm run e2e:copy-vsix && npm run e2e:install-vsix && npm run e2e:install-extensions && CONTINUE_GLOBAL_DIR=e2e/test-continue npm run e2e:test && npm run e2e:clean", "e2e:recompile-extension": "npm run package && npm run e2e:compile && npm run e2e:copy-vsix && npm run e2e:install-vsix && npm run e2e:install-extensions && CONTINUE_GLOBAL_DIR=e2e/test-continue npm run e2e:test && npm run e2e:clean", "e2e:rebuild-gui": "rm -rf gui && cp -r ../../gui/dist gui && npm run package && npm run e2e:copy-vsix && npm run e2e:install-vsix && npm run e2e:install-extensions && CONTINUE_GLOBAL_DIR=e2e/test-continue npm run e2e:test && npm run e2e:clean", @@ -658,7 +658,7 @@ "typescript": "^5.6.3", "vite": "^4.5.14", "vsce": "^2.15.0", - "vscode-extension-tester": "^8.10.0" + "vscode-extension-tester": "^8.14.1" }, "dependencies": { "@continuedev/config-types": "^1.0.14",