Skip to content

feat(cli): generate commands for conditional tools#1962

Merged
nroscino merged 10 commits into
mainfrom
feat/update-cli
Apr 30, 2026
Merged

feat(cli): generate commands for conditional tools#1962
nroscino merged 10 commits into
mainfrom
feat/update-cli

Conversation

@nroscino

@nroscino nroscino commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

This PR adds all tools in the CLI interface. When a tool is not enabled the server responds with an error guiding the user on how to enable the category or the experiment.

Closes: #1933

@nroscino nroscino requested a review from OrKoN April 27, 2026 15:18
@nroscino nroscino marked this pull request as ready for review April 27, 2026 15:18
Comment thread skills/chrome-devtools-cli/SKILL.md Outdated
Comment thread skills/chrome-devtools-cli/SKILL.md Outdated
Comment thread src/bin/chrome-devtools-cli-options.ts
Comment thread src/bin/chrome-devtools-cli-options.ts Outdated
Comment thread src/bin/chrome-devtools-cli-options.ts Outdated
@nroscino nroscino self-assigned this Apr 28, 2026
Comment thread src/bin/chrome-devtools-cli-options.ts
@nroscino nroscino requested a review from OrKoN April 28, 2026 14:10
Comment thread src/bin/chrome-devtools-cli-options.ts Outdated
@nroscino nroscino requested a review from OrKoN April 28, 2026 15:28
@OrKoN

OrKoN commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

The tests seem to fail still.

Comment thread src/bin/chrome-devtools.ts
Comment thread src/bin/chrome-devtools.ts
Comment thread src/bin/chrome-devtools.ts
Comment thread src/bin/chrome-devtools.ts
Comment thread src/index.ts Outdated
@nroscino nroscino requested a review from OrKoN April 29, 2026 10:44
Comment thread scripts/generate-cli.ts
Comment thread scripts/generate-cli.ts
Comment thread src/telemetry/flag_usage_metrics.json
@nroscino nroscino requested a review from OrKoN April 29, 2026 15:29
@OrKoN OrKoN changed the title chore: update CLI generator to generate all possible tools feat: update CLI generator to generate all possible tools Apr 30, 2026
@OrKoN OrKoN changed the title feat: update CLI generator to generate all possible tools feat(CLI): generate commands for conditional tools Apr 30, 2026

@OrKoN OrKoN left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@OrKoN

OrKoN commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

Looks like this PR needs a rebase

@OrKoN OrKoN changed the title feat(CLI): generate commands for conditional tools feat(cli): generate commands for conditional tools Apr 30, 2026
@OrKoN

OrKoN commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

@nroscino please link the issue it is closing

@nroscino nroscino added this pull request to the merge queue Apr 30, 2026
Merged via the queue into main with commit b2b3e99 Apr 30, 2026
20 checks passed
@nroscino nroscino deleted the feat/update-cli branch April 30, 2026 08:08
pull Bot pushed a commit to Mu-L/chrome-devtools-mcp that referenced this pull request May 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.24.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v0.23.0...chrome-devtools-mcp-v0.24.0)
(2026-05-02)


### 🎉 Features

* agentic browsing in lighthouse
([ChromeDevTools#1931](ChromeDevTools#1931))
([5fa2750](ChromeDevTools@5fa2750))
* **cli:** generate commands for conditional tools
([ChromeDevTools#1962](ChromeDevTools#1962))
([b2b3e99](ChromeDevTools@b2b3e99))
* group identical consecutive console messages in list_console_messages
([ChromeDevTools#1939](ChromeDevTools#1939))
([dbddb2e](ChromeDevTools@dbddb2e))
* support MCP client roots feature
([ChromeDevTools#1945](ChromeDevTools#1945))
([def53dd](ChromeDevTools@def53dd))


### 🛠️ Fixes

* add proactive tool rejection when dialog is open
([ChromeDevTools#1978](ChromeDevTools#1978))
([6ce254e](ChromeDevTools@6ce254e))
* always allow tmpdir access with client roots
([ChromeDevTools#1984](ChromeDevTools#1984))
([a90378a](ChromeDevTools@a90378a))
* **cli:** re-generate cli correctly
([ChromeDevTools#1969](ChromeDevTools#1969))
([8cbdb8d](ChromeDevTools@8cbdb8d))
* handle errors due to open dialogs during tool calls
([ChromeDevTools#1953](ChromeDevTools#1953))
([06b331f](ChromeDevTools@06b331f))
* note about missing elements should not show in verbose mode
([ChromeDevTools#1950](ChromeDevTools#1950))
([80bee1e](ChromeDevTools@80bee1e))
* **telemetry:** bucketize string length
([ChromeDevTools#1972](ChromeDevTools#1972))
([bf3cb58](ChromeDevTools@bf3cb58))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CLI generator to generate interfaces for all possible tools

2 participants