Chrome DevTools for coding agents
docs: remove windows workaround and document Node LTS support (#2074)
Alex Rudenko30dcd0ba965d
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex e68ef1d0..b9afd88b 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -21,10 +21,10 @@ jobs:- windows-latest- macos-latestnode:- - 20- 22- - 23- 24+ - 26+steps:- name: Check out repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2@@ -43,12 +43,6 @@ jobs:env:PUPPETEER_SKIP_DOWNLOAD: true- - name: Patch- if: ${{ matrix.os == 'windows-latest' }}- shell: bash- run: |- node scripts/patch.mjs-- name: Install browsershell: bashrun: npx puppeteer browsers install chromediff --git a/README.md b/README.mdindex 1596043a..fc8ad9b9 100644--- a/README.md+++ b/README.md@@ -61,7 +61,7 @@ You can disable these update checks by setting the `CHROME_DEVTOOLS_MCP_NO_UPDAT## Requirements-- [Node.js](https://nodejs.org/) v20.19 or a newer [latest maintenance LTS](https://github.com/nodejs/Release#release-schedule) version.+- [Node.js](https://nodejs.org/) [LTS](https://github.com/nodejs/Release#release-schedule).- [Chrome](https://www.google.com/chrome/) current stable version or newer.- [npm](https://www.npmjs.com/)diff --git a/scripts/patch.mjs b/scripts/patch.mjsdeleted file mode 100644index 00db41b1..00000000--- a/scripts/patch.mjs+++ /dev/null@@ -1,41 +0,0 @@-/**- * @license- * Copyright 2026 Google LLC- * SPDX-License-Identifier: Apache-2.0- */--import fs from 'node:fs';-import path from 'node:path';--const file = path.join(- process.cwd(),- 'node_modules',- '@puppeteer',- 'browsers',- 'lib',- 'fileUtil.js',-);--if (!fs.existsSync(file)) {- console.error(- 'File not found. Make sure you run this from the project root and npm install has been run.',- );- process.exit(1);-}--const search =- "await execFileAsync('tar.exe', ['-xf', archivePath, '-C', folderPath]);";--// Double escape the backslashes so they write as single backslashes into the target file-const replace = `const systemRoot = process.env['SystemRoot'] ?? process.env['SYSTEMROOT'] ?? 'C:\\\\Windows';- const systemTar = \`\${systemRoot}\\\\System32\\\\tar.exe\`;- await execFileAsync(systemTar, ['-xf', archivePath, '-C', folderPath]);`;--let content = fs.readFileSync(file, 'utf8');--if (content.includes(search)) {- fs.writeFileSync(file, content.replace(search, replace));- console.log('Patch applied successfully.');-} else {- console.log('Target string not found. Already patched?');-}