文件历史

提交图

12 次代码提交

作者 SHA1 备注 提交日期
Simon Zünd 7ba63a8777 chore(build): add devtools-formatter-worker.ts bundle (#792)
The `devtools-formatter-worker` is a separate entrypoint from the MCP
entrypoint. It is identical to the upstream
`front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.js`
and a required part to make source mapping, formatting and other
AST-based DevTools features work.

The implementation consists of 3 parts:
1) A trivial `devtools-formatter-worker.ts` file that imports the
DevTools entrypoint.
2) A new bundle output, bundling everything that needs to run in the
worker.
3) A call that initializes the `FormatterWorkerPool` with the custom
entrypoint. Otherwise we'd use the unbundled entrypoint from
`chrome-devtools-frontend` not available to us at runtime.

Note that we could improve code splitting in the future as some things
like `core/common` are now bundled twice.

---------

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2026-01-19 09:18:08 +00:00
dependabot[bot] 11d1f59953 chore(deps-dev): bump chrome-devtools-frontend from 1.0.1555430 to 1.0.1556696 in the bundled-devtools group (#666)
Bumps the bundled-devtools group with 1 update:
[chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend).

Updates `chrome-devtools-frontend` from 1.0.1555430 to 1.0.1556696
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/83a3c3fc7efa15178d90405227c47eaabc65d953"><code>83a3c3f</code></a>
Update Chrome (for Testing) PIN</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/ff42883953527aa4c191efa25a67db73572a3e1a"><code>ff42883</code></a>
Update DevTools DEPS (trusted)</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/e920d51d47588421b72a53dbb3ed4e80033e4aa7"><code>e920d51</code></a>
[scopes] Record mapping positions for method scopes</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/7c374960df3ee955592b67dd1d0f13bf85e910a3"><code>7c37496</code></a>
[GreenDev] Auto-open artifacts viewer when it's not empty</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/48ed0fb16bfd6eeff258e1e836623540501e1f1f"><code>48ed0fb</code></a>
Migrate protocol handlers section to the
&lt;devtools-report-view&gt;</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/bb04a982f1fed3cda647470ef9d98d4549090def"><code>bb04a98</code></a>
Migrate elements/styles-3/styles-disable-then-delete to an e2e test</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/8368e5ccae8f1da1e3992c08491f1ec75e119cd8"><code>8368e5c</code></a>
Update Chrome (for Testing) PIN</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/deddd98fd4c3ec7324abf6653050e1be390ed8d6"><code>deddd98</code></a>
Update DevTools DEPS (trusted)</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/d998df961baf27d919a95d97252023399916e090"><code>d998df9</code></a>
[TDR] Remove TODOs linked to issue 372319476</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/2c8ec9761b2465869d3c1656502c99641565a816"><code>2c8ec97</code></a>
[AI Assistance] Move origin and context to AI Conversation</li>
<li>Additional commits viewable in <a
href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1555430...v1.0.1556696">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chrome-devtools-frontend&package-manager=npm_and_yarn&previous-version=1.0.1555430&new-version=1.0.1556696)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2026-01-08 09:31:22 +00:00
dependabot[bot] 3bd0797184 chore(deps-dev): bump chrome-devtools-frontend from 1.0.1550444 to 1.0.1553956 in the bundled-devtools group (#646)
Bumps the bundled-devtools group with 1 update:
[chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend).

Updates `chrome-devtools-frontend` from 1.0.1550444 to 1.0.1553956
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/4c880be46773cf87ed44689f41644da65ba56c1c"><code>4c880be</code></a>
Update Chrome (for Testing) PIN</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/5e5b9a675e2c0f695b17ff8d50c7734d18bf0804"><code>5e5b9a6</code></a>
Use the view function in the unit tests</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/2bb187213adcda40b7e49a27c944afe779cbc577"><code>2bb1872</code></a>
Fix styling of ThreadsSidebarPane</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/069e2e5fd49bb0517c2c13d74a9f3a9db5b56d10"><code>069e2e5</code></a>
Update DevTools DEPS (trusted)</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/7be07519f3f49c4b9e61ba2de8f504b0a34e8268"><code>7be0751</code></a>
[UI] Migrate IgnoreListSetting to UI eng vision</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/8ef4b7fa008e22f5c71e37fae37a103f03403662"><code>8ef4b7f</code></a>
[UI] Migrate NetworkRequestTooltip to UI eng vision</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/50782823d2aac9ea68184c562e123c9da7a01f97"><code>5078282</code></a>
Adopt UI Eng Vision in RuleSetGrid.</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/2ed44f238cd48c8753392fced8ae6ff18db8db0d"><code>2ed44f2</code></a>
[UI] Migrate SidebarSingleInsightSet to UI eng vision</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/93fc1c6ef39c32b8a18b3bf7103265cbb8b789a8"><code>93fc1c6</code></a>
[UI] Migrate InteractionBreakdown to UI eng vision</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/d515f3bb861b2b1402b8315c3e279cebed3cf967"><code>d515f3b</code></a>
[cleanup] Remove unused ChromeLink</li>
<li>Additional commits viewable in <a
href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1550444...v1.0.1553956">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chrome-devtools-frontend&package-manager=npm_and_yarn&previous-version=1.0.1550444&new-version=1.0.1553956)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2025-12-10 10:16:04 +00:00
dependabot[bot] c458fd1ebd chore(deps-dev): bump chrome-devtools-frontend from 1.0.1547571 to 1.0.1549484 in the bundled-devtools group (#615)
Bumps the bundled-devtools group with 1 update:
[chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend).

Updates `chrome-devtools-frontend` from 1.0.1547571 to 1.0.1549484
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/368d4ccab51b3beda5bfb059b10d512274ceb49d"><code>368d4cc</code></a>
Update DevTools DEPS (trusted)</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/380221dc052d258da0db8552b0794ed6043d0c56"><code>380221d</code></a>
[ui] Pass 'Universe' to 'loadView' functions of view registrations</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/2d2c0e53c854383f0b3c1d8dcf0875802ced74ad"><code>2d2c0e5</code></a>
[sdk] Pass PageResourceLoader to the source map loading helpers</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/09ac2b70f14015843a9fee943392346f239222ce"><code>09ac2b7</code></a>
[GreenDev]: Polish the AnnotationRepository API.</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/174bfd0cbff018503e9810bb9ec87f3619f4b2f5"><code>174bfd0</code></a>
Roll browser-protocol</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/1669e7ef0ab344b970a7afcb33985dc5dcbf6feb"><code>1669e7e</code></a>
[ui] Delay 'PreRegisteredView' instantiation</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/a4a64ee4b4469472c756c513892c9552b4dbd0e9"><code>a4a64ee</code></a>
Move the utilities related to the markup highlighting to a dedicated
component</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/a88394a2d7d60890bf29b13d9f7767a60a7b963a"><code>a88394a</code></a>
Update the roll script to handle transitive dependencies</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/ca54db6ac8ecb0019673ed127a82cc5a7244e9e2"><code>ca54db6</code></a>
[GreenDev]: Add annotation indicator for the panels tab switcher.</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/53e6e75d0fabf7d22ac46b9d08f94062f527f01d"><code>53e6e75</code></a>
[AI Assistance] Fix icons getting cut off on small screens</li>
<li>Additional commits viewable in <a
href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1547571...v1.0.1549484">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chrome-devtools-frontend&package-manager=npm_and_yarn&previous-version=1.0.1547571&new-version=1.0.1549484)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2025-11-27 07:59:21 +00:00
Alex Rudenko a5c40d14a9 chore: remove i18n mocks (#576)
i18n can now run in node.js.
2025-11-19 09:32:54 +00:00
Natasha Gorshunova c1e4118992 feat: report console issues in list_console_messages (#505)
Co-authored-by: Natallia Harshunova <nharshunova@chromium.org>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2025-11-17 10:38:46 +01:00
dependabot[bot] 247e1b6a71 chore(deps-dev): bump chrome-devtools-frontend from 1.0.1539728 to 1.0.1541169 in the bundled-devtools group (#536)
Bumps the bundled-devtools group with 1 update:
[chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend).

Updates `chrome-devtools-frontend` from 1.0.1539728 to 1.0.1541169
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/393435aef80c8bff3fa7ed835992704ea5a7339e"><code>393435a</code></a>
Update Chrome (for Testing) PIN</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/59cc38b28a0697eb6908ba9e6c2502edb08fe349"><code>59cc38b</code></a>
Update DevTools DEPS (trusted)</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/67a631561ba193aaf72303215d5ef5bd2def4811"><code>67a6315</code></a>
[RPP] Simplify insight set id</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/941f21add00a7a522cb5dfa13c99b032f3c782be"><code>941f21a</code></a>
[AI] Present trace facts grouped by insight set</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/8ae5a850eb98c42fd882dab3a59115e6f2d6a8ef"><code>8ae5a85</code></a>
Revert from <code>fetch</code> back to <code>http.request</code> in
resultsdb.ts</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/774cfe78fe219714e5d89354d7815ac91342dc2a"><code>774cfe7</code></a>
Update Chrome (for Testing) PIN</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/76cbb2c5b1627eb6903b8ad9f8a93ef77f442ed9"><code>76cbb2c</code></a>
[eslint] Add <code>eslint-plugin-lit</code></li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/92be0b6fde17878efced6c91330b29b3adefe6a9"><code>92be0b6</code></a>
Replace <code>outline-width: 0</code> with <code>outline-style:
none</code></li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/fa72d9702d35727a48d567a67df26a23e6e2ef74"><code>fa72d97</code></a>
Move affected count updates out of list rendering</li>
<li><a
href="https://github.com/ChromeDevTools/devtools-frontend/commit/baec26cf66c7dae30594b4a03f696fb3f17fa337"><code>baec26c</code></a>
Roll browser-protocol</li>
<li>Additional commits viewable in <a
href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1539728...v1.0.1541169">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chrome-devtools-frontend&package-manager=npm_and_yarn&previous-version=1.0.1539728&new-version=1.0.1541169)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2025-11-10 14:23:08 +00:00
Alex Rudenko ad307f6c2d chore: restrict imports outside of the mcp.js (#456) 2025-10-22 14:02:35 +00:00
Nikolay Vitkov 6d9cd17714 chore: unblock uses with Deno and Bun (#151)
I wanna test more NodeJS versions to see that this does not cause other
issues.

Deno test command: 
```sh
npx @modelcontextprotocol/inspector deno --allow-env --allow-read ./build/src/index.js 
```

Bun test command:
```sh
npx @modelcontextprotocol/inspector bun ./build/src/index.js 
```
2025-09-26 08:31:41 +02:00
Alex Rudenko 3f38bf10c9 chore: define es and lib requirements (#60) 2025-09-22 13:01:20 +02:00
Jack Franklin 0cb6147b87 feat: use Performance Trace Formatter in trace output (#36)
Note: this will error until a chrome-devtools-frontend with this change

https://chromiumdash.appspot.com/commit/62e1652b2bf044ec53a2ec212cf53b1a62bc357e
is released on npm.
2025-09-16 17:07:58 +00:00
Alex Rudenko 31a0bdce26 feat: initial version 2025-09-11 12:46:05 +02:00