Repository navigation
ci: sync fork with upstream daily - #4
Merged
Merged
Conversation
…s#2743) Currently we unconditionally log all MCP and Puppeteer logs to the files. This adds regression test using mocks to simplify testings. Closes ChromeDevTools#2734 Closes ChromeDevTools#2706 Fixes ChromeDevTools#2731
…meDevTools#2735) Bumps the dev-dependencies group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [globals](https://github.com/sindresorhus/globals). Updates `@types/node` from 26.4.0 to 26.4.1 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> Updates `globals` from 17.11.0 to 17.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/globals/releases">globals's releases</a>.</em></p> <blockquote> <h2>v17.12.0</h2> <ul> <li>Update globals (2026-09-01) (<a href="https://redirect.github.com/sindresorhus/globals/issues/353">#353</a>) 50a2119</li> <li>Add <code>__webpack_layer__</code> global (<a href="https://redirect.github.com/sindresorhus/globals/issues/351">#351</a>) 779a11a</li> </ul> <hr /> <p><a href="https://github.com/sindresorhus/globals/compare/v17.11.0...v17.12.0">https://github.com/sindresorhus/globals/compare/v17.11.0...v17.12.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/globals/commit/98008c3200fc994ef3c074699e8ce0c9691fd071"><code>98008c3</code></a> 17.12.0</li> <li><a href="https://github.com/sindresorhus/globals/commit/50a2119777b37fef046c2e0bc24bca0bd9feb0be"><code>50a2119</code></a> Update globals (2026-09-01) (<a href="https://redirect.github.com/sindresorhus/globals/issues/353">#353</a>)</li> <li><a href="https://github.com/sindresorhus/globals/commit/779a11a345f072a7fbb76b8b92458987a9a8fa38"><code>779a11a</code></a> Add <code>__webpack_layer__</code> global (<a href="https://redirect.github.com/sindresorhus/globals/issues/351">#351</a>)</li> <li>See full diff in <a href="https://github.com/sindresorhus/globals/compare/v17.11.0...v17.12.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Description This PR migrates fixture-based heap snapshot tests off `withMcpContext` to avoid launching and closing headless Chromium unnecessarily: - **Formatting tests relocated**: Moved fixture-based formatting tests from `tests/tools/memory.test.ts` to `tests/formatters/HeapSnapshotFormatter.test.ts` using `HeapSnapshotManager` directly (exercises genuine `.heapsnapshot` fixtures in Node without browser overhead). - **Tool handler unit tests**: Converted tool handlers in `tests/tools/memory.test.ts` to mock-based unit tests using `createHandlerMocks()` to verify parameter validation, default handling, and method delegation to `context` and `response`. - **E2E test retained**: Kept `take_heapsnapshot` as a real-browser e2e test with `withMcpContext` (genuinely requires live CDP `captureHeapSnapshot` on a real page). - **Caching test relocated**: Moved comparison cache test to `tests/processors/HeapSnapshotManager.test.ts`. - **Mock helpers**: Added typed mock factories to `tests/mocks.ts`. ## Test Plan - `npm run build` - `node scripts/test.js tests/processors/HeapSnapshotManager.test.ts` - `node scripts/test.js tests/formatters/HeapSnapshotFormatter.test.ts` - `node scripts/test.js tests/tools/memory.test.ts` - `npm run check-format` - `npm run docs:generate`
…2747) Fixes ChromeDevTools#2746. Returning the inner yargs parser result applies option coercers twice, so JSON-configured viewport and wsHeaders fail. Returning the original JSON values after strict validation lets the outer parser coerce them once and preserves CLI overrides. Tests: npm run test -- tests/cli.test.ts and npm run check-format pass. The full npm run test reaches five unrelated PWA failures because the test server cannot bind 0.0.0.0:10236 with EACCES on this Windows host.
…2751) Refs ChromeDevTools#2639. ## Summary - Migrate the existing slim evaluate success/error tests and URL-rejection tests to `createHandlerMocks()`. - Assert exact evaluation arguments and response output, and verify rejected URLs do not call `goto`. - Keep the real-browser navigation and screenshot tests unchanged; remove only the two snapshots replaced by direct output assertions. ## Testing - `npm run test tests/tools/slim/tools.test.ts`: 7 passed. - Run the five migrated tests with an invalid `PUPPETEER_EXECUTABLE_PATH`: 5 passed; the original five tests fail with the same unavailable browser path. - `npm run check-format` and `git diff --check`: passed. - Full-suite comparison before updating to the latest main, at `17c6718`: the migration run had 1016 passed, 6 failed, 3 skipped; an unmodified same-commit baseline had 1017 passed, 5 failed, 3 skipped. Both failed the previous-navigation network snapshot test and the oversized screenshot test. The other failures varied between extension-related tests and DevTools session tests; a focused rerun of all seven differing tests passed on both baseline and this change. These full-suite results are not a green run of the final head. No production code or shared mock helpers are changed.
…s#2634) Follow-up to ChromeDevTools#261. That issue was closed by ChromeDevTools#338, which added `--chrome-arg` so the sandbox can be disabled explicitly. The flag works, but the failure it fixes is still undiscoverable — you cannot find out that `--chrome-arg=--no-sandbox` is the answer. ### Problem `launch()` uses `pipe: true`. In pipe mode Puppeteer never calls `waitForLineOutput()`, which is the only place Chrome's stderr makes it into the thrown error. So when Chrome exits at startup with ``` Running as root without --no-sandbox is not supported. See https://crbug.com/638180. ``` that line is dropped, and what reaches the MCP client is: ``` Protocol error (Target.setDiscoverTargets): Target closed ``` Reproduced on `main` (v1.8.0) by pointing `executablePath` at a stub that prints Chrome's message to stderr and exits 1 — exactly the symptom reported in ChromeDevTools#261. The `catch` in `launch()` only recognised `The browser is already running`. ### Fix Detect the case and rethrow with an explanation. Deliberately **not** disabling the sandbox automatically, per ChromeDevTools#261 (comment): ``` Chrome failed to start: Protocol error (Target.setDiscoverTargets): Target closed chrome-devtools-mcp is running as root and Chrome does not start as root unless its sandbox is disabled (https://crbug.com/638180). Prefer running chrome-devtools-mcp as a non-root user. If that is not possible, for example in a container, pass --chrome-arg=--no-sandbox. That disables the Chrome sandbox, so only do it for content you trust. ``` Notes on the shape of the check: - It runs **only on a failed launch**, so root with a properly installed setuid sandbox is unaffected. - The original error is kept in the message and as `cause`, so an unrelated failure under root is never masked or mislabelled. - `--no-sandbox` present in the args short-circuits it: root is then not what stopped Chrome. - `--disable-setuid-sandbox` and `--no-sandbox-and-elevated` do **not** count as opting out — Chrome's zygote check requires `--no-sandbox` specifically. Covered by a test. - On Windows `process.getuid` is undefined, so the check is a no-op. Also adds a "Running as root" section to `docs/troubleshooting.md`, next to the existing "Operating system sandboxes". ### Testing Five unit tests in `tests/browser.test.ts` covering root / non-root / no-uid platforms, the already-opted-out args, and the near-miss args above. The pre-existing integration tests in that file cannot run in my environment — Chrome reports `No usable sandbox! ... AppArmor userns restrictions` there, on a clean checkout as well as with this change.
…f267d` (ChromeDevTools#2749) Bumps [third_party/devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend) from `717509a` to `c2f267d`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/c2f267d88a781b257df5f4f75252236417e051de"><code>c2f267d</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/c2af926f2843ccaff2a6d5e987959ee1d36b90d3"><code>c2af926</code></a> Declare Deps used in test infra</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/fd3d63955fb7b38ebf296c45ba8e42bad32eb240"><code>fd3d639</code></a> Fix test to unblock the Tree</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/75afaab2ee443b830c7177655258dd8c423dc8d1"><code>75afaab</code></a> Revert "RPP: optimize FlameChart canvas redraws and stabilize event titles"</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/7e803179a79a85f06300d6b25aa46f6d65e9abce"><code>7e80317</code></a> [uxw] Consistently remove ending period in UI Strings</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/323f6e0c2442b57cdd04952d1598ca3df89c9bcf"><code>323f6e0</code></a> [source-map] Decode the "rangeMappings" field</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/408b822fbf1b4e78ceb5803625cf5c5282839325"><code>408b822</code></a> RPP: optimize FlameChart canvas redraws and stabilize event titles</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/7562edac3b9f077dea25c1b59e4f460326ab21a0"><code>7562eda</code></a> [ai-assistance] Use DOMNode#securityOrigin() in DOMNodeContext</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/aee2b5bf38c900c4a2583479891ebb6217646717"><code>aee2b5b</code></a> Set UTF-8 charset in GCS upload Content-Type metadata</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/2a3a496f068f4e1d32e850469e46c98a2879872a"><code>2a3a496</code></a> [security] Migrate SecurityOriginView certificate section to Lit</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/717509a45bfc11f9d7c5f0453ebe48761ef18bae...c2f267d88a781b257df5f4f75252236417e051de">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Samiya Caur <samiyac@google.com>
The concurrent sessions guide documented a removed option. Update it to the current page routing option, explain that routing is enabled by default, and document the selected-page-only opt-out. Tests: npm run check-format.
…9ffcb` (ChromeDevTools#2755) Bumps [third_party/devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend) from `c2f267d` to `fd9ffcb`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/fd9ffcbdc0527137328240cd9613da7613cc7f7c"><code>fd9ffcb</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/bab0dc0f2e9808a10f6278179b7409184cf62046"><code>bab0dc0</code></a> AI: Migrate Storage and Cookie tools to OriginLockState [4/4]</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/92f2bcdd0bd6d1dc071705e973282b8c6b6b7262"><code>92f2bcd</code></a> AI: Migrate Network and Sources tools to OriginLockState [3/4]</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/5298f48d60de603a8c09d0ea58b26aff4568dd04"><code>5298f48</code></a> Remove dead code</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/44ed95fcdf9fe4e86bf7edcb624b03a08f4b8068"><code>44ed95f</code></a> Clean up after ESM migration</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/11add863b1b9470fffa94b0ae936cb7badada2dd"><code>11add86</code></a> [DevTools a11y] Fix page freeze in live announcement recorder</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/9b7c489ae1e193933eb74ed6cf5b592cf4890b80"><code>9b7c489</code></a> RPP Comments [2/3]: Add FlameChart dimensions and COMMENT_PIN overlay</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/e5b3e3e544537136c348c7912a4a37c1ce5f195b"><code>e5b3e3e</code></a> AI: Migrate DOM and execution tools to OriginLockState [2/4]</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/ce86a448224dbec8b3daf33e512d6ef9432aa0ab"><code>ce86a44</code></a> AI Assistance: Add e2e tests for V2 architecture</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/49cf4fd19d8bb7649f78dcb1861f93ed26ff687f"><code>49cf4fd</code></a> [elements] Add declarative attribute highlighting and adorner reactivity</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/c2f267d88a781b257df5f4f75252236417e051de...fd9ffcbdc0527137328240cd9613da7613cc7f7c">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1e2a0` (ChromeDevTools#2759) Bumps [third_party/devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend) from `fd9ffcb` to `101e2a0`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/101e2a0d99c47c4b3803916a055ca95b6d84b10c"><code>101e2a0</code></a> [network] Extract event handlers in NetworkConfigView</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/cf88dfb2eb4cb093820dc277139fc1c39bbcff3d"><code>cf88dfb</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/307c1fae1880f5834e4152212da335839cd7887c"><code>307c1fa</code></a> Network backend linking: Tie setting to the feature flag</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/b10d8e6d16440de94dcdbfc051e0f0e859afebf4"><code>b10d8e6</code></a> Add per-task artifact upload and completion recording helpers</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/0e7d90d1c53cef9216a949d6d36102bee783e346"><code>0e7d90d</code></a> Add EvalLogger for capturing run and task evaluation logs</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/85e3d7f00c2bc1c0aba1259335c4f5aa1de32d2c"><code>85e3d7f</code></a> Add chat log formatting, slug, and trajectory export helpers</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/56cd150160e77d69a29041a98489238252895777"><code>56cd150</code></a> RPP: avoid converting uncolored FlameChart entries to grey when dimmed</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/971e09341d49f8744915f24d1e148bd5cfc385e0"><code>971e093</code></a> [UI] CommentThread: Fixed cursor inside the CommentThread popup</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/bba6655b24bdae5987bd0195f3a9ad0d1c0907e0"><code>bba6655</code></a> Fix gn_deps_verifier to handle ts_deps correctly</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/4ee4085749b94fdb461d87128cc7515fab67c57c"><code>4ee4085</code></a> Resolve the ChangeTracker from the widget universe</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/fd9ffcbdc0527137328240cd9613da7613cc7f7c...101e2a0d99c47c4b3803916a055ca95b6d84b10c">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…Tools#2668) Fixes ChromeDevTools#2741 ## Problem `chrome-devtools upload_file <pageId> <uid> <path>` always fails: ``` MCP error -32602: Input validation error: Invalid arguments for tool upload_file: Expected array, received string at filePaths ``` Every form fails (one path, several paths, `--filePaths=x`, repeated flags). Reproduced on v1.8.0 and current `main`. ## Cause The generated yargs command string appends the optional flags as `[--flag]` tokens after the required positionals, e.g. `upload_file <pageId> <uid> <filePaths> [--includeSnapshot]`. yargs parses each `[--flag]` token as another optional positional. A variadic positional has to be the last one, so `filePaths` can never be variadic and yargs always hands the daemon a plain string, which the tool's `z.array(z.string())` schema rejects. Setting `type: 'array'` on the positional does not change this. ## Fix - Mark array-typed required args as variadic in the command string (`<filePaths..>`). - Move the `[--flag]` tokens into the command's `usage()` line, which is all they were for. `--help` output for every command is unchanged except for the `..` marker on `upload_file`. ## Verification Built CLI against a headless daemon on a `data:` page with `<input type=file multiple>`: ``` $ chrome-devtools upload_file 2 1_1 /tmp/a.txt /tmp/a.txt File uploaded from /private/tmp/a.txt, /private/tmp/a.txt. $ chrome-devtools evaluate_script --pageId 2 "() => Array.from(document.getElementById('f').files).map(f=>f.name)" ["a.txt","a.txt"] ``` `upload_file` is the only tool with a required array argument, so no other command's parsing changes. `tests/cli.test.ts` and `tests/daemon/client.test.ts` pass. The command-string construction moves into `src/config/cli-commands.ts` so `tests/cli.test.ts` can cover it. Alongside the `upload_file` cases there is a check over every generated command asserting no command string contains a `--` token and that any required array arg is rendered variadic and last — all four fail against the previous behaviour.
…hromeDevTools#2721) > [!NOTE] > This PR is marked as **WIP (Work in Progress)** / Draft to gather feedback and extra opinions on the streaming / chunked parsing strategy for large performance traces. ## Problem Statement When recording performance traces on busy sites or over long recording durations, the resulting trace buffer often exceeds 512 MB (and can reach 1 GB+). Currently, `parseRawTraceBuffer` decodes the entire raw buffer into a single string via `new TextDecoder().decode(buffer)` and parses it with `JSON.parse(asString)`. In V8 (64-bit), strings are strictly limited to $2^{29} - 24$ characters (~512 MB). Any trace exceeding ~512 MB throws a fatal error: ``` RangeError: Cannot create a string longer than 0x1fffffe8 characters ``` This prevents the MCP server from parsing and analyzing large traces even when sufficient heap memory is available. ## Proposed Solution: Chunked Trace Buffer Scanner This change introduces `ChunkedTraceParser.ts` to extract trace events directly from the raw binary buffer in bounded batches without materializing the full trace JSON into a single string: 1. **Byte-Level Delimiter & Escape Scanning**: - Scans the `Uint8Array` directly using ASCII byte codes (`0x7B` `{`, `0x7D` `}`, `0x22` `"`, `0x5C` `\`). - Tracks brace nesting depth while properly handling escaped quotes within strings. - Supports both bare JSON arrays (`[ {...}, ... ]`) and top-level object envelopes (`{ "traceEvents": [ ... ], "metadata": { ... } }`). 2. **Batched Native `JSON.parse`**: - Accumulates slices of events into bounded batches (default: 5,000 events) wrapped in `[` and `]`. - Parses each batch using native V8 `JSON.parse`, keeping intermediate string allocations small (< 5 MB) and short-lived. - Pushes parsed events iteratively to avoid V8 function call argument stack limits. 3. **Metadata Preservation**: - Extracts top-level metadata from object envelopes (such as `cpuThrottling` and `networkThrottling`) and merges it with caller options. 4. **Strict Structural Validation**: - Enforces valid structural tokens (closing brackets, braces, colons, commas) and prevents silent truncation on incomplete buffers or unexpected EOF. ## Testing - Unit tests in `tests/trace-processing/ChunkedTraceParser.test.ts` covering: - Both top-level array and object formats. - Custom batch sizes and large batches exceeding function call argument limits (70,000+ events). - Malformed inputs: truncated arrays, unterminated strings, unquoted keys, trailing characters. - Multibyte UTF-8 characters split across byte boundaries. - Full regression tests against existing trace fixtures (`basic-trace.json.gz`, `web-dev-with-commit.json.gz`).
Prefactoring for the SDK v2.
This fixes two issues: - Timer would start too early and could timeout before the navigation begin. Clean up is handled by the AbortController - Cross process navigation can be slow on Windows, we started from `about:blank` to `http://127.0.0.1`
This is required for the SDK v2 migration.
The code changes here are a subset that works for both the current and the update one. Splitting to reduce the review process.
…eDevTools#2790) setAgentAttached can be used as an indication that the MCP server is listening for changes.
This was generated based on the documents provided in the SDK v2 migration for both the SDK and the MCP version. It is to serve as a template for pre-factoring and other changes.
…dit (ChromeDevTools#2795) `lighthouse_audit` never set `emulatedUserAgent`, so desktop audits ran with Lighthouse's default mobile UA. It now mirrors the UA constants Lighthouse's own presets use. It also reported `URL: undefined` in snapshot mode, because `mainDocumentUrl` is only populated for navigations; it now uses `finalDisplayedUrl`.
…evTools#2792) `handleActionError` previously rewrote every `click`/`hover`/`fill`/`fill_form` failure as "The element did not become interactive within the configured timeout", discarding the real cause. It now keeps that wording only for an actual Puppeteer `TimeoutError` and surfaces the underlying message otherwise, so e.g. selecting a missing option now reports `Could not find option with text "..."`.
…ith 5 updates (ChromeDevTools#2779) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.4.1` | `26.5.1` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.69.0` | `8.70.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.69.0` | `8.70.0` | | [rollup](https://github.com/rollup/rollup) | `4.63.1` | `4.63.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.69.0` | `8.70.0` | Updates `@types/node` from 26.4.1 to 26.5.1 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/eslint-plugin` from 8.69.0 to 8.70.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">@typescript-eslint/eslint-plugin's releases</a>.</em></p> <blockquote> <h2>v8.70.0</h2> <h2>8.70.0 (2026-09-07)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-generated-empty-object-type] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12730">#12730</a>)</li> <li><strong>website:</strong> generate per-page social preview cards (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12734">#12734</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li>use stable release of pnpm 12 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12808">#12808</a>)</li> <li>update pnpm to 12.3.4 and dedupe Docusaurus packages (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12829">#12829</a>)</li> <li><strong>eslint-plugin:</strong> [member-ordering] don't report fields that read fields declared before them (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12729">#12729</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] no false positive on RHS of a nested logical expression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12728">#12728</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated imported values used in object shorthand properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12780">#12780</a>)</li> <li><strong>project-service:</strong> avoid discarded tsserver logs (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12748">#12748</a>)</li> <li><strong>typescript-estree:</strong> clarify the parserOptions.project error message (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12817">#12817</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Barry <a href="https://github.com/barry166"><code>@barry166</code></a></li> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Goldberg</li> <li>Josh Goldberg ✨ <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Ulrich Stark <a href="https://github.com/ulrichstark"><code>@ulrichstark</code></a></li> <li>송재욱</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md">@typescript-eslint/eslint-plugin's changelog</a>.</em></p> <blockquote> <h2>8.70.0 (2026-09-07)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-generated-empty-object-type] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12730">#12730</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated imported values used in object shorthand properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12780">#12780</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] no false positive on RHS of a nested logical expression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12728">#12728</a>)</li> <li><strong>eslint-plugin:</strong> [member-ordering] don't report fields that read fields declared before them (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12729">#12729</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Josh Goldberg ✨ <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a></li> <li>Ulrich Stark <a href="https://github.com/ulrichstark"><code>@ulrichstark</code></a></li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/7ee76085c22e923c0036b8e0733a3ca7dfd82b60"><code>7ee7608</code></a> chore(release): publish 8.70.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/f66bdcac30c13c7ca8932667494550fd13fde5fc"><code>f66bdca</code></a> test(eslint-plugin): [member-ordering] use <code>RuleTester</code> directly in `optional...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/4586535ab24d7d5e9b3ba87e4adb8636f9314aca"><code>4586535</code></a> fix(eslint-plugin): [no-deprecated] report deprecated imported values used in...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/f8e1e4e2f7454ab2ba680cb523f9e3abe6582f81"><code>f8e1e4e</code></a> fix(eslint-plugin): [no-unnecessary-condition] no false positive on RHS of a ...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/889cece8bba520fc8c342dade4adf42b5d7f671e"><code>889cece</code></a> fix(eslint-plugin): [member-ordering] don't report fields that read fields de...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/1a5a8b124b905c81a76ba1104a6396e65ad407dd"><code>1a5a8b1</code></a> feat(eslint-plugin): [no-generated-empty-object-type] add rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/12730">#12730</a>)</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.70.0/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/parser` from 8.69.0 to 8.70.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">@typescript-eslint/parser's releases</a>.</em></p> <blockquote> <h2>v8.70.0</h2> <h2>8.70.0 (2026-09-07)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-generated-empty-object-type] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12730">#12730</a>)</li> <li><strong>website:</strong> generate per-page social preview cards (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12734">#12734</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li>use stable release of pnpm 12 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12808">#12808</a>)</li> <li>update pnpm to 12.3.4 and dedupe Docusaurus packages (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12829">#12829</a>)</li> <li><strong>eslint-plugin:</strong> [member-ordering] don't report fields that read fields declared before them (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12729">#12729</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] no false positive on RHS of a nested logical expression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12728">#12728</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated imported values used in object shorthand properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12780">#12780</a>)</li> <li><strong>project-service:</strong> avoid discarded tsserver logs (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12748">#12748</a>)</li> <li><strong>typescript-estree:</strong> clarify the parserOptions.project error message (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12817">#12817</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Barry <a href="https://github.com/barry166"><code>@barry166</code></a></li> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Goldberg</li> <li>Josh Goldberg ✨ <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Ulrich Stark <a href="https://github.com/ulrichstark"><code>@ulrichstark</code></a></li> <li>송재욱</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md">@typescript-eslint/parser's changelog</a>.</em></p> <blockquote> <h2>8.70.0 (2026-09-07)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/7ee76085c22e923c0036b8e0733a3ca7dfd82b60"><code>7ee7608</code></a> chore(release): publish 8.70.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.70.0/packages/parser">compare view</a></li> </ul> </details> <br /> Updates `rollup` from 4.63.1 to 4.63.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rollup/rollup/releases">rollup's releases</a>.</em></p> <blockquote> <h2>v4.63.3</h2> <h2>4.63.3</h2> <p><em>2026-09-14</em></p> <h3>Bug Fixes</h3> <ul> <li>Make sure that the internal shims for basename and extname in the browser build fully match NodeJS (<a href="https://redirect.github.com/rollup/rollup/issues/6473">#6473</a>)</li> <li>Always report and recover from failures on invalidation in watch mode (<a href="https://redirect.github.com/rollup/rollup/issues/6506">#6506</a>)</li> <li>Respect windows line terminators when tree-shaking in situations where line-breaks need to be removed to prevent automatic semicolon insertion (<a href="https://redirect.github.com/rollup/rollup/issues/6514">#6514</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://redirect.github.com/rollup/rollup/pull/6473">#6473</a>: fix(browser): match node's basename and extname (<a href="https://github.com/luantaraschi"><code>@luantaraschi</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6506">#6506</a>: fix(watch): await the rerun so listener failures surface as ERROR events (<a href="https://github.com/yoominho91"><code>@yoominho91</code></a>, <a href="https://github.com/irontaek"><code>@irontaek</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6514">#6514</a>: Remove the whole CRLF pair when suppressing ASI (<a href="https://github.com/NgoQuocViet2001"><code>@NgoQuocViet2001</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6515">#6515</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> </ul> <h2>v4.63.2</h2> <h2>4.63.2</h2> <p><em>2026-09-12</em></p> <h3>Bug Fixes</h3> <ul> <li>Fix a bug when filtering logs for nested properties via the CLI (<a href="https://redirect.github.com/rollup/rollup/issues/6511">#6511</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://redirect.github.com/rollup/rollup/pull/6498">#6498</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6503">#6503</a>: fix(deps): update minor/patch updates (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6504">#6504</a>: chore(deps): update dependency eslint-plugin-unicorn to v74 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6505">#6505</a>: pin mocha to v11 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6508">#6508</a>: docs: fix AGENTS.md 'Generated files' rule to reference real paths (<a href="https://github.com/Larslllllll"><code>@Larslllllll</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6510">#6510</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6511">#6511</a>: Fix nested log filters for primitive values (<a href="https://github.com/jakezwang"><code>@jakezwang</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6512">#6512</a>: chore(deps): update dtolnay/rust-toolchain digest to 6bed076 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6513">#6513</a>: fix(deps): update minor/patch updates (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rollup/rollup/blob/master/CHANGELOG.md">rollup's changelog</a>.</em></p> <blockquote> <h2>4.63.3</h2> <p><em>2026-09-14</em></p> <h3>Bug Fixes</h3> <ul> <li>Make sure that the internal shims for basename and extname in the browser build fully match NodeJS (<a href="https://redirect.github.com/rollup/rollup/issues/6473">#6473</a>)</li> <li>Always report and recover from failures on invalidation in watch mode (<a href="https://redirect.github.com/rollup/rollup/issues/6506">#6506</a>)</li> <li>Respect windows line terminators when tree-shaking in situations where line-breaks need to be removed to prevent automatic semicolon insertion (<a href="https://redirect.github.com/rollup/rollup/issues/6514">#6514</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://redirect.github.com/rollup/rollup/pull/6473">#6473</a>: fix(browser): match node's basename and extname (<a href="https://github.com/luantaraschi"><code>@luantaraschi</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6506">#6506</a>: fix(watch): await the rerun so listener failures surface as ERROR events (<a href="https://github.com/yoominho91"><code>@yoominho91</code></a>, <a href="https://github.com/irontaek"><code>@irontaek</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6514">#6514</a>: Remove the whole CRLF pair when suppressing ASI (<a href="https://github.com/NgoQuocViet2001"><code>@NgoQuocViet2001</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6515">#6515</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> </ul> <h2>4.63.2</h2> <p><em>2026-09-12</em></p> <h3>Bug Fixes</h3> <ul> <li>Fix a bug when filtering logs for nested properties via the CLI (<a href="https://redirect.github.com/rollup/rollup/issues/6511">#6511</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://redirect.github.com/rollup/rollup/pull/6498">#6498</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6503">#6503</a>: fix(deps): update minor/patch updates (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6504">#6504</a>: chore(deps): update dependency eslint-plugin-unicorn to v74 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6505">#6505</a>: pin mocha to v11 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6508">#6508</a>: docs: fix AGENTS.md 'Generated files' rule to reference real paths (<a href="https://github.com/Larslllllll"><code>@Larslllllll</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6510">#6510</a>: chore(deps): lock file maintenance (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot])</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6511">#6511</a>: Fix nested log filters for primitive values (<a href="https://github.com/jakezwang"><code>@jakezwang</code></a>, <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6512">#6512</a>: chore(deps): update dtolnay/rust-toolchain digest to 6bed076 (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> <li><a href="https://redirect.github.com/rollup/rollup/pull/6513">#6513</a>: fix(deps): update minor/patch updates (<a href="https://github.com/renovate"><code>@renovate</code></a>[bot], <a href="https://github.com/lukastaegert"><code>@lukastaegert</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rollup/rollup/commit/250deca2945f8817350564f7d52bab0f79175d1b"><code>250deca</code></a> 4.63.3</li> <li><a href="https://github.com/rollup/rollup/commit/01ab3f82d4930089ef95e72ca6d128439e381105"><code>01ab3f8</code></a> fix(watch): await the rerun so listener failures surface as ERROR events (<a href="https://redirect.github.com/rollup/rollup/issues/6506">#6506</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/3cf1a0f3a6422f8a08db03cfe8e8d66c16f8ecd2"><code>3cf1a0f</code></a> Remove the whole CRLF pair when suppressing ASI (<a href="https://redirect.github.com/rollup/rollup/issues/6514">#6514</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/63381e262bebf8be935ea3df368070427ce00ce9"><code>63381e2</code></a> Refine instructions</li> <li><a href="https://github.com/rollup/rollup/commit/8da2d500e606c83f4743a638fb687604179ff657"><code>8da2d50</code></a> fix(browser): match node's basename and extname (<a href="https://redirect.github.com/rollup/rollup/issues/6473">#6473</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/59d1e863500c0633e2405a8a86290300f3f3ce15"><code>59d1e86</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/rollup/rollup/issues/6515">#6515</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/43ed4ec364940fbce7054d8da1f92c695d1e6808"><code>43ed4ec</code></a> 4.63.2</li> <li><a href="https://github.com/rollup/rollup/commit/47282da372a739f1da35d6b72a586c4906058962"><code>47282da</code></a> chore(deps): update dtolnay/rust-toolchain digest to 6bed076 (<a href="https://redirect.github.com/rollup/rollup/issues/6512">#6512</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/ce22c334b46e7914b8bb85160839cfee9e514598"><code>ce22c33</code></a> Fix nested log filters for primitive values (<a href="https://redirect.github.com/rollup/rollup/issues/6511">#6511</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/d05409fbc738679661e5293a2228bfc9a5dc7a3f"><code>d05409f</code></a> fix(deps): update minor/patch updates (<a href="https://redirect.github.com/rollup/rollup/issues/6513">#6513</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rollup/rollup/compare/v4.63.1...v4.63.3">compare view</a></li> </ul> </details> <br /> Updates `typescript-eslint` from 8.69.0 to 8.70.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint's releases</a>.</em></p> <blockquote> <h2>v8.70.0</h2> <h2>8.70.0 (2026-09-07)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [no-generated-empty-object-type] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12730">#12730</a>)</li> <li><strong>website:</strong> generate per-page social preview cards (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12734">#12734</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li>use stable release of pnpm 12 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12808">#12808</a>)</li> <li>update pnpm to 12.3.4 and dedupe Docusaurus packages (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12829">#12829</a>)</li> <li><strong>eslint-plugin:</strong> [member-ordering] don't report fields that read fields declared before them (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12729">#12729</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] no false positive on RHS of a nested logical expression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12728">#12728</a>)</li> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated imported values used in object shorthand properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12780">#12780</a>)</li> <li><strong>project-service:</strong> avoid discarded tsserver logs (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12748">#12748</a>)</li> <li><strong>typescript-estree:</strong> clarify the parserOptions.project error message (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12817">#12817</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Barry <a href="https://github.com/barry166"><code>@barry166</code></a></li> <li>Evyatar Daud <a href="https://github.com/StyleShit"><code>@StyleShit</code></a></li> <li>Josh Goldberg</li> <li>Josh Goldberg ✨ <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Ulrich Stark <a href="https://github.com/ulrichstark"><code>@ulrichstark</code></a></li> <li>송재욱</li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md">typescript-eslint's changelog</a>.</em></p> <blockquote> <h2>8.70.0 (2026-09-07)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-deprecated] report deprecated imported values used in object shorthand properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/12780">#12780</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Ulrich Stark <a href="https://github.com/ulrichstark"><code>@ulrichstark</code></a></li> </ul> <p>See <a href="https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.70.0">GitHub Releases</a> for more information.</p> <p>You can read about our <a href="https://typescript-eslint.io/users/versioning">versioning strategy</a> and <a href="https://typescript-eslint.io/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/7ee76085c22e923c0036b8e0733a3ca7dfd82b60"><code>7ee7608</code></a> chore(release): publish 8.70.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/4586535ab24d7d5e9b3ba87e4adb8636f9314aca"><code>4586535</code></a> fix(eslint-plugin): [no-deprecated] report deprecated imported values used in...</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.70.0/packages/typescript-eslint">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…eDevTools#2799) Sets default page size to 10 and page index to 0
…277fe` (ChromeDevTools#2798) Bumps [third_party/devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend) from `101e2a0` to `61277fe`. Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…d group across 1 directory (ChromeDevTools#2780) Bumps the bundled group with 1 update in the / directory: [puppeteer](https://github.com/puppeteer/puppeteer). Updates `puppeteer` from 25.10.0 to 25.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/puppeteer/puppeteer/releases">puppeteer's releases</a>.</em></p> <blockquote> <h2>puppeteer-core: v25.11.0</h2> <h2><a href="https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v25.10.0...puppeteer-core-v25.11.0">25.11.0</a> (2026-09-13)</h2> <h3>🎉 Features</h3> <ul> <li>roll to Chrome 153.0.8010.36 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15443">#15443</a>) (<a href="https://github.com/puppeteer/puppeteer/commit/947d5279dc5b57d2e850e2d651e31e3d5f50803d">947d527</a>)</li> </ul> <h3>🛠️ Fixes</h3> <ul> <li>roll to Chrome 152.0.7977.82 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15434">#15434</a>) (<a href="https://github.com/puppeteer/puppeteer/commit/f0dc34c9afd8e39d64805f61b08f306a25f7c56b">f0dc34c</a>)</li> <li>roll to Firefox 155.0.1 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15421">#15421</a>) (<a href="https://github.com/puppeteer/puppeteer/commit/25832f917ed9cfe02e8060ed622ad97671fb4905">25832f9</a>)</li> </ul> <h3>📄 Documentation</h3> <ul> <li>clarify JavaScript coverage across navigations (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15445">#15445</a>) (<a href="https://github.com/puppeteer/puppeteer/commit/499c713ae7256c4322dc3f760f223ead2afcb0a3">499c713</a>)</li> </ul> <h2>puppeteer: v25.11.0</h2> <h2><a href="https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.10.0...puppeteer-v25.11.0">25.11.0</a> (2026-09-13)</h2> <h3>🎉 Features</h3> <ul> <li>roll to Chrome 153.0.8010.36 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15443">#15443</a>) (<a href="https://github.com/puppeteer/puppeteer/commit/947d5279dc5b57d2e850e2d651e31e3d5f50803d">947d527</a>)</li> </ul> <h3>Dependencies</h3> <ul> <li>The following workspace dependencies were updated <ul> <li>dependencies <ul> <li>puppeteer-core bumped from 25.10.0 to 25.11.0</li> </ul> </li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/puppeteer/puppeteer/commit/043cd46e594b39ea77343e221a59724183448059"><code>043cd46</code></a> chore: release main (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15433">#15433</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/079789a903c32abf7156d6cfa08cabbc56e49037"><code>079789a</code></a> chore(deps): bump the all group in /website with 2 updates (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15448">#15448</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/499c713ae7256c4322dc3f760f223ead2afcb0a3"><code>499c713</code></a> docs: clarify JavaScript coverage across navigations (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15445">#15445</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/e1a15e7de574df20e51920197d22ffe55bc2ee60"><code>e1a15e7</code></a> chore(deps): bump js-yaml from 4.3.1 to 4.3.2 in /website (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15444">#15444</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/947d5279dc5b57d2e850e2d651e31e3d5f50803d"><code>947d527</code></a> feat: roll to Chrome 153.0.8010.36 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15443">#15443</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/23fd45fd3b0fdaf56e566076929f660d8fa8e37f"><code>23fd45f</code></a> build: use portable npm output in browser revision update (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15442">#15442</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/966916beb9b9fe6e72c7ffd8d4e83537f4f89f0f"><code>966916b</code></a> chore: avoid Unix-only tail in protocol check (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15438">#15438</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/84a8f0e6e0eb0064288c0abd4ca8ee3953977a4e"><code>84a8f0e</code></a> build: run docs versioning on Windows (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15439">#15439</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/a2086c77718ac817784453cc4f489ffda2fedf12"><code>a2086c7</code></a> test: cover Browser.connected state after disconnect (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15355">#15355</a>)</li> <li><a href="https://github.com/puppeteer/puppeteer/commit/f0dc34c9afd8e39d64805f61b08f306a25f7c56b"><code>f0dc34c</code></a> fix: roll to Chrome 152.0.7977.82 (<a href="https://redirect.github.com/puppeteer/puppeteer/issues/15434">#15434</a>)</li> <li>Additional commits viewable in <a href="https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.10.0...puppeteer-v25.11.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2773) ## Summary `ConsoleCollector` calls `super(page, listeners)` without passing a `maxResourcesPerNavigation` value, so the per-navigation trim that `PageCollector` already implements never runs for console messages. A long-lived page (or an SPA that does not navigate) can therefore accumulate unbounded console entries in a single navigation bucket. `NetworkCollector` already passes `MAX_REQUESTS_PER_NAVIGATION = 1_000` and `ServiceWorkerConsoleCollector` caps its own buffer at 1 000 entries. This change applies the same bound to `ConsoleCollector`. ## Changes **`src/collectors/PageCollector.ts`** - Add `static readonly MAX_MESSAGES_PER_NAVIGATION = 1_000` to `ConsoleCollector`. - Accept an optional `maxMessagesPerNavigation` constructor parameter (defaults to the constant) and forward it to `PageCollector`. **`tests/collectors/PageCollector.test.ts`** - Add a test that emits more messages than a custom cap and asserts only the newest are retained. - Add a test that emits more messages than the default cap and asserts the retained count equals `MAX_MESSAGES_PER_NAVIGATION`. ## Verification ``` npm run typecheck # no errors npm run build # clean npm run test:no-build -- tests/collectors/PageCollector.test.ts # 22 tests pass (20 existing + 2 new) ``` Fixes ChromeDevTools#2768 --------- Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com> Co-authored-by: Nicholas Roscino <nroscino@google.com>
…ools#2276) Let sessionId be set via `CHROME_DEVTOOLS_MCP_SESSION_ID` environment variable. --------- Co-authored-by: Piotr Paulski <piotrpaulski@chromium.org> Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
## Description This PR migrates `tests/tools/network.test.ts` off `withMcpContext` to fast mock-based unit tests using `createHandlerMocks()`: - **Tool handler unit tests**: Converted `list_network_requests` and `get_network_request` handlers in `tests/tools/network.test.ts` to mock unit tests verifying parameter parsing, default fallbacks, DevTools UI selection resolution, and delegation to `page` and `response`. - **Harness & snapshot cleanup**: Removed obsolete snapshot file `tests/tools/network.test.js.snapshot` and `withMcpContext` / `serverHooks()` overhead, reducing test duration from ~45s to ~5s. - **Coverage preserved**: Genuine real-network behavior (request isolation per navigation, preserved navigations, redirects, and request lookup across navigations) is fully covered in `tests/collectors/PageCollector.test.ts` (`NetworkCollector`) and `tests/formatters/NetworkFormatter.test.ts`. ## Test Plan - `npm run build` - `node scripts/test.js tests/tools/network.test.ts` - `node scripts/test.js tests/collectors/PageCollector.test.ts` - `node scripts/test.js tests/formatters/NetworkFormatter.test.ts` - `npm run check-format` - `npm run docs:generate`
Adds FLUJO to the client configuration guide in alphabetical order. The instructions cover an existing Chrome instance, separate executable/arguments in FLUJO's Standard IO form, and verification with the built-in tool tester. Validated in an isolated Debian 12 cloud environment: - FLUJO 3.45.2, Chrome DevTools MCP 1.8.0, Node 22.23.2. - Actual Google Chrome for Testing 152.0.7977.82 with a dedicated profile and local debugging endpoint. - FLUJO's connection test completed the MCP handshake and discovered 29 tools. - new_page opened a disposable local fixture URL. - take_snapshot returned the fixture's title, heading and button. - git diff --check and the scoped Prettier check for docs/client-configurations.md passed using the repository dependency/config. The full-repository npm run format did not finish in this 2GB VM: ESLint exceeded the default Node heap, and a 1536MB heap retry was killed. The changed Markdown file passes its scoped formatting check. The FLUJO data directory and browser profiles were fresh; the installed FLUJO/Node runtime was reused. This verifies the existing-browser connection route, not automatic Chrome launch, performance tracing, or model chat. [Genuine screenshots and test details](https://github.com/flujo-app/flujo-mcp-client-validation/tree/main/chrome-devtools). Prepared and tested with Codex assistance for the FLUJO project. Google CLA coverage for flujo-app is verified; the cla/google check passes. Co-authored-by: FLUJO <300233937+flujo-app@users.noreply.github.com>
…meDevTools#2794) Locator actions time out while the page is blocked by a JavaScript dialog, even though the action was dispatched and opened that dialog. That surfaced as an error contradicting the "Call handle_dialog to handle it before continuing" hint in the same response. These are now reported as an interruption instead of a failure, and `fill_form` stops rather than trying to fill the remaining elements against a blocked page.
Adds 5 evals for `get_css_styles`: - `css_important_vs_specificity_test.ts`: an `!important` rule wins even though another rule has higher specificity - `css_inline_style_override_test.ts`: an inline style attribute is overriding the stylesheet - `css_custom_property_resolution_test.ts`: a CSS variable was redefined on a parent element, overriding the value set at `:root` - `css_descendant_specificity_test.ts`: the rule with highest specificity wins - `css_cascade_layer_override_test.ts`: an unlayered rule beats the `@layer` rule
🤖 I have created a release *beep* *boop* --- ## [1.10.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v1.9.0...chrome-devtools-mcp-v1.10.0) (2026-09-23) ### 🎉 Features * add css formatter class ([ChromeDevTools#2707](ChromeDevTools#2707)) ([f0b5fa4](ChromeDevTools@f0b5fa4)) * add get_css_style tool ([ChromeDevTools#2612](ChromeDevTools#2612)) ([4454ae0](ChromeDevTools@4454ae0)) * **performance:** chunked trace buffer parser for large recordings ([ChromeDevTools#2721](ChromeDevTools#2721)) ([23b9a48](ChromeDevTools@23b9a48)) * set default pageSize and pageIdx for get_css_styles tool ([ChromeDevTools#2799](ChromeDevTools#2799)) ([dc9d14d](ChromeDevTools@dc9d14d)) * support config file ([ChromeDevTools#2661](ChromeDevTools#2661)) ([314a5fa](ChromeDevTools@314a5fa)) * **telemetry:** persist date of the last tool call. ([ChromeDevTools#2705](ChromeDevTools#2705)) ([c54a493](ChromeDevTools@c54a493)) * **telemetry:** recording a sanitized version of the client name ([ChromeDevTools#2757](ChromeDevTools#2757)) ([55fbc57](ChromeDevTools@55fbc57)) * **telemetry:** report hermes client usage. ([ChromeDevTools#2703](ChromeDevTools#2703)) ([fb47e6c](ChromeDevTools@fb47e6c)) * update css formatter class to add AtRule, PositionTryRule, PropertyRule, FunctionRule ([ChromeDevTools#2717](ChromeDevTools#2717)) ([d4a0620](ChromeDevTools@d4a0620)) * update css formatter class to add inherited rules ([ChromeDevTools#2715](ChromeDevTools#2715)) ([3d7e7bb](ChromeDevTools@3d7e7bb)) * update css formatter class to add matched rules ([ChromeDevTools#2713](ChromeDevTools#2713)) ([8c8616f](ChromeDevTools@8c8616f)) * update css formatter class to add pseudo element ([ChromeDevTools#2716](ChromeDevTools#2716)) ([df1469a](ChromeDevTools@df1469a)) * update css formatter to add keyframes rules ([ChromeDevTools#2718](ChromeDevTools#2718)) ([cdc365c](ChromeDevTools@cdc365c)) ### 🛠️ Fixes * bound ConsoleCollector retention per navigation ([ChromeDevTools#2773](ChromeDevTools#2773)) ([e98a3ca](ChromeDevTools@e98a3ca)) * **cli:** forward explicit false options on start ([ChromeDevTools#2702](ChromeDevTools#2702)) ([d9a8cb6](ChromeDevTools@d9a8cb6)) * **config:** preserve raw values for config coercion ([ChromeDevTools#2747](ChromeDevTools#2747)) ([906c83b](ChromeDevTools@906c83b)) * don't log Puppeteer logs to file unless requested ([ChromeDevTools#2743](ChromeDevTools#2743)) ([4fbfbc4](ChromeDevTools@4fbfbc4)) * explain launch failures caused by running as root ([ChromeDevTools#2634](ChromeDevTools#2634)) ([9d29223](ChromeDevTools@9d29223)) * handle JavaScript dialogs opened during input tool actions ([ChromeDevTools#2794](ChromeDevTools#2794)) ([266112b](ChromeDevTools@266112b)) * **performance:** prevent memory leak by scoping trace engine model per parse ([ChromeDevTools#2720](ChromeDevTools#2720)) ([d05cbc0](ChromeDevTools@d05cbc0)) * preserve console history across same-document navigations ([ChromeDevTools#2676](ChromeDevTools#2676)) ([aa25562](ChromeDevTools@aa25562)) * preserve underlying error message in input tool actions ([ChromeDevTools#2792](ChromeDevTools#2792)) ([6e47dbb](ChromeDevTools@6e47dbb)) * set emulatedUserAgent and use finalDisplayedUrl in lighthouse_audit ([ChromeDevTools#2795](ChromeDevTools#2795)) ([941f82a](ChromeDevTools@941f82a)) * timout in WaitForHelper.ts ([ChromeDevTools#2772](ChromeDevTools#2772)) ([dc1d055](ChromeDevTools@dc1d055)) ### 📄 Documentation * add FLUJO client configuration ([ChromeDevTools#2690](ChromeDevTools#2690)) ([65a679e](ChromeDevTools@65a679e)) * fix categories not being configured correclty ([ChromeDevTools#2807](ChromeDevTools#2807)) ([2250cdc](ChromeDevTools@2250cdc)) * fix defaults for non-boolean values ([ChromeDevTools#2744](ChromeDevTools#2744)) ([342d243](ChromeDevTools@342d243)) * update page routing option name ([ChromeDevTools#2748](ChromeDevTools#2748)) ([8939965](ChromeDevTools@8939965)) * update SKILL for chrome-devtools to use get_css_styles tool ([ChromeDevTools#2760](ChromeDevTools#2760)) ([421011e](ChromeDevTools@421011e)) ### 🏗️ Refactor * disable tools instead of not registering them ([ChromeDevTools#2636](ChromeDevTools#2636)) ([b455469](ChromeDevTools@b455469)) * extract browser in a BrowserManager class ([ChromeDevTools#2787](ChromeDevTools#2787)) ([3228f44](ChromeDevTools@3228f44)) * migrate the MCP SDK to v2 ([ChromeDevTools#2408](ChromeDevTools#2408)) ([da3c406](ChromeDevTools@da3c406)) * move comments formatting to CommentFormatter class ([ChromeDevTools#2719](ChromeDevTools#2719)) ([e3cded0](ChromeDevTools@e3cded0)) * prepare for SDK v2 ([ChromeDevTools#2771](ChromeDevTools#2771)) ([61780c7](ChromeDevTools@61780c7)) * simplify our gen scritps ([ChromeDevTools#2793](ChromeDevTools#2793)) ([5068584](ChromeDevTools@5068584)) * unify call type and ensure typesafety ([ChromeDevTools#2659](ChromeDevTools#2659)) ([882f93e](ChromeDevTools@882f93e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…vTools#2814) pkce-challenge (a dependency of @modelcontextprotocol/client) defines package.json exports with only 'browser' and 'node' conditions and no 'default' condition. Because @rollup/plugin-node-resolve defaults to ['default', 'module', 'import'], it failed to resolve pkce-challenge during 'npm run bundle'. Rollup then emitted an UNRESOLVED_IMPORT warning and left an unbundled external 'import "pkce-challenge"' in build/src/third_party/index.js, causing the published npm package to fail at runtime with ERR_MODULE_NOT_FOUND. Configure nodeResolve with exportConditions: ['node'] and preferBuiltins: true, mark optional @puppeteer/browsers peer dependencies (proxy-agent, yauzl) as external, and fail the Rollup build on any UNRESOLVED_IMPORT warning. Closes ChromeDevTools#2813
🤖 I have created a release *beep* *boop* --- ## [1.10.1](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v1.10.0...chrome-devtools-mcp-v1.10.1) (2026-09-23) ### 🛠️ Fixes * **build:** resolve node export conditions in rollup bundle ([ChromeDevTools#2814](ChromeDevTools#2814)) ([d7c9b55](ChromeDevTools@d7c9b55)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
this allows DevTools page to know if the MCP server is connected.
Add a MCP tool for detecting dead context variables in a heap snapshot.
It can detect for example cases like this:
```js
function setupUserSession(userId) {
const largeBuffer = new ArrayBuffer(10 * 1024 * 1024); // 10MB
let isOnline = true;
// Force largeBuffer into context.
fetch('/api/sync').then(() => {
processData(largeBuffer);
});
// Long-lived event listener uses isOnline in same
// context object and keeps alive largeBuffer.
window.addEventListener('online', () => {
updateStatus(userId, isOnline);
});
}
```
Removes warning around `inputSchema.additionalProperties`.
…1eaf4` (ChromeDevTools#2806) Bumps [third_party/devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend) from `61277fe` to `921eaf4`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/921eaf4a0ad768d1c3b773ea7547d9543039a5e1"><code>921eaf4</code></a> [security] Migrate SecurityOriginView certificate transparency section to Lit</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/fa086293155b150610cbe569b7c949c7c513294e"><code>fa08629</code></a> [DevTools a11y] CSV export for live announcement recorder</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/fc1d216b63393b2c8a17b95aa738e83ed8a61471"><code>fc1d216</code></a> Change CSS selector that shows Edit button based on keyboard focus</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/4893f99ef80c8947647100ec660196c2bd27981b"><code>4893f99</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/66e90cd5c757fc9581f8a095ac1aa17110f4693b"><code>66e90cd</code></a> [ai_assistance] Unify taskId naming across auto-run and eval output</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/018f8c1f86646d5827bae9625bb7f33de0e7d67a"><code>018f8c1</code></a> Rename ElementsTreeOutline.ts to DOMTreeWidget.ts</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/3c8a9f68b24329d80a9ba2080642b67fd5003769"><code>3c8a9f6</code></a> [comments] Disable toggle-comment-mode action when agent is not attached</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/52a785fa1392add95b1cc8599825029f90a0e99f"><code>52a785f</code></a> [DevTools] Serve overridden response when an override is active</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/b2e620fcd2a92e55532d260ee7f84ea3da4cbde6"><code>b2e620f</code></a> [test] Fix flaky Memory E2E tests and test server stdout pipe</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/cd425fc566be75e29c5f6def96631d70e0259898"><code>cd425fc</code></a> Add a feature flag DevToolsNaturalLanguageInterface</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/61277feec01840bfa7cffb21d90bed500f973c70...921eaf4a0ad768d1c3b773ea7547d9543039a5e1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation