Skip to content

Commit 1619bcf

Browse files
authored
Merge branch 'main' into screenshot-tool-enhancement
2 parents 13d8c56 + 9b21f8b commit 1619bcf

88 files changed

Lines changed: 4086 additions & 1194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agent/rules/coding.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
trigger: always_on
3+
---
4+
5+
# Instructions
6+
7+
- Use only scripts from `package.json` to run commands.
8+
- Use `npm run build` to run tsc and test build.
9+
- Use `npm run test` to build and run tests, run all tests to verify correctness.
10+
- Use `npm run test path-to-test.ts` to build and run a single test file, for example, `npm run test tests/McpContext.test.ts`.
11+
- Use `npm run format` to fix formatting and get linting errors.
12+
13+
## Rules for TypeScript
14+
15+
- Do not use `any` type.
16+
- Do not use `as` keyword for type casting.
17+
- Do not use `!` operator for type assertion.
18+
- Do not use `// @ts-ignore` comments.
19+
- Do not use `// @ts-nocheck` comments.
20+
- Do not use `// @ts-expect-error` comments.
21+
- Prefer `for..of` instead of `forEach`.

.claude-plugin/marketplace.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
"plugins": [
1010
{
1111
"name": "chrome-devtools-mcp",
12-
"source": {
13-
"source": "github",
14-
"repo": "ChromeDevTools/chrome-devtools-mcp"
15-
},
12+
"source": "./",
1613
"description": "Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer"
1714
}
1815
]

.github/workflows/convetional-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 'Conventional Commit'
22

33
on:
4+
merge_group:
45
pull_request_target:
56
types:
67
# Defaults
@@ -19,6 +20,7 @@ jobs:
1920
permissions:
2021
pull-requests: read
2122
steps:
22-
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
23+
- if: github.event_name != 'merge_group'
24+
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pre-release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Pre-release
33
permissions: read-all
44

55
on:
6+
workflow_dispatch:
67
push:
78
branches:
89
- release-please-*
@@ -18,15 +19,10 @@ jobs:
1819
fetch-depth: 2
1920

2021
- name: Set up Node.js
21-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
22+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2223
with:
2324
cache: npm
2425
node-version-file: '.nvmrc'
2526

26-
- name: Install MCP Publisher
27-
run: |
28-
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
29-
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
30-
3127
- name: Verify server.json
3228
run: npm run verify-server-json-version

.github/workflows/presubmit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Check code before submitting
33
permissions: read-all
44

55
on:
6+
merge_group:
67
push:
78
branches:
89
- main
@@ -20,7 +21,7 @@ jobs:
2021
fetch-depth: 2
2122

2223
- name: Set up Node.js
23-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
24+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2425
with:
2526
cache: npm
2627
node-version-file: '.nvmrc'
@@ -42,7 +43,7 @@ jobs:
4243
fetch-depth: 2
4344

4445
- name: Set up Node.js
45-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
46+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
4647
with:
4748
cache: npm
4849
node-version-file: '.nvmrc'

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 2
3131

3232
- name: Set up Node.js
33-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
33+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3434
with:
3535
cache: npm
3636
node-version-file: '.nvmrc'
@@ -63,7 +63,7 @@ jobs:
6363
fetch-depth: 2
6464

6565
- name: Set up Node.js
66-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
66+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
6767
with:
6868
cache: npm
6969
node-version-file: '.nvmrc'

.github/workflows/run-tests.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Compile and run tests
33
permissions: read-all
44

55
on:
6+
merge_group:
67
push:
78
branches:
89
- main
@@ -31,7 +32,7 @@ jobs:
3132
fetch-depth: 2
3233

3334
- name: Set up Node.js
34-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
35+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3536
with:
3637
cache: npm
3738
node-version: 22 # build works only with 22+.
@@ -46,7 +47,7 @@ jobs:
4647
NODE_OPTIONS: '--max_old_space_size=4096'
4748

4849
- name: Set up Node.js
49-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
50+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
5051
with:
5152
cache: npm
5253
node-version: ${{ matrix.node }}
@@ -56,15 +57,10 @@ jobs:
5657
shell: bash
5758
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
5859

59-
- name: Run tests (node20)
60-
if: ${{ matrix.node == '20' }}
61-
shell: bash
62-
run: npm run test:node20
63-
6460
- name: Run tests
6561
shell: bash
66-
if: ${{ matrix.node != '20' }}
67-
run: npm run test:no-build
62+
# Retry tests if they fail in the merge queue.
63+
run: npm run test:no-build -- ${{ github.event_name == 'merge_group' && '--retry' || '' }}
6864

6965
# Gating job for branch protection.
7066
test-success:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ yarn-error.log*
77
lerna-debug.log*
88
.pnpm-debug.log*
99

10+
trace.json
11+
trace.json.gz
12+
1013
# Diagnostic reports (https://nodejs.org/api/report.html)
1114
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
1215

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.12.1"
2+
".": "0.13.0"
33
}

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## [0.13.0](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.12.1...chrome-devtools-mcp-v0.13.0) (2026-01-14)
4+
5+
6+
### 🎉 Features
7+
8+
* Allow opting out of default Chrome launch arguments ([#729](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/729)) ([9a51af2](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/9a51af219fc9216cd463bef9363716283f41f36a))
9+
* support filePath in performance tools ([#686](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/686)) ([68ae2f8](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/68ae2f8253e2ba5c34436e25df114874c537f6df))
10+
11+
12+
### 🛠️ Fixes
13+
14+
* support resize_page when browser window is maximized/fullscreenwindow state ([#748](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/748)) ([4d9ac22](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/4d9ac227ddff6fc4aec44e46673f6e44a8168db9))
15+
* use relative path for plugin source in marketplace ([#724](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/724)) ([5c1ecf8](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/5c1ecf835ac8aad4947d0a8f82c899acd4115b64))
16+
17+
18+
### 📄 Documentation
19+
20+
* add experimental chrome on android guide ([#691](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/691)) ([4a87702](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/4a87702ca6913ed62987f71e080f3d481d13b8d8))
21+
* autoConnect - clarify how the mcp server selects a profile ([#693](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/693)) ([28b8ff8](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/28b8ff816461760c82e9b19b70f288bc7fa2fa38))
22+
* claude code broken link ([#707](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/707)) ([1f532b8](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/1f532b8fafa0fa60aaf94c302bad663fab1c12ea))
23+
* enhance cli docs + sort required vs opt params ([#674](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/674)) ([81cbd99](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/81cbd99f52d013d07bdcf21a0840f61a16bacd33))
24+
* update auto connect docs to mention min Chrome version ([#681](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/681)) ([ab2340f](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/ab2340f40127dcdabde6887a411163ce9d130394))
25+
* Update Claude Code instructions in README.md ([#711](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/711)) ([f81cd2d](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/f81cd2d8dfc35da8c718b227e0ee4c4d7c5daca8))
26+
* update readme to include OpenCode example ([#560](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/560)) ([fbba3c9](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/fbba3c9461cec8113216fa4569e879c85312ea29))
27+
28+
29+
### ♻️ Chores
30+
31+
* change pageIdx to page ids ([#741](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/741)) ([a23c6ba](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/a23c6ba8c9e1da90c885e68946635a8cc536a11e))
32+
333
## [0.12.1](https://github.com/ChromeDevTools/chrome-devtools-mcp/compare/chrome-devtools-mcp-v0.12.0...chrome-devtools-mcp-v0.12.1) (2025-12-12)
434

535

0 commit comments

Comments
 (0)