Skip to content

fix: include saved image paths in CLI JSON output#2070

Merged
nroscino merged 3 commits into
ChromeDevTools:mainfrom
popsiclelmlm:cli-output-json
May 18, 2026
Merged

fix: include saved image paths in CLI JSON output#2070
nroscino merged 3 commits into
ChromeDevTools:mainfrom
popsiclelmlm:cli-output-json

Conversation

@popsiclelmlm
Copy link
Copy Markdown
Contributor

Fixes #1910

Summary:

  • save image content before returning structured CLI JSON output
  • include saved image metadata in structuredContent.images
  • add coverage for JSON output with image content

Tests:

  • npm test -- tests/daemon/client.test.ts
  • npx eslint src/daemon/client.ts tests/daemon/client.test.ts && npx prettier --check src/daemon/client.ts tests/daemon/client.test.ts

Copy link
Copy Markdown
Contributor

@nroscino nroscino left a comment

Choose a reason for hiding this comment

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

Hey! Thank you for the PR!
LGTM!

@nroscino nroscino added this pull request to the merge queue May 18, 2026
Merged via the queue into ChromeDevTools:main with commit a9fb555 May 18, 2026
2 checks passed
OrKoN pushed a commit that referenced this pull request May 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](chrome-devtools-mcp-v1.0.0...chrome-devtools-mcp-v1.0.1)
(2026-05-18)


### 🛠️ Fixes

* include saved image paths in CLI JSON output
([#2070](#2070))
([a9fb555](a9fb555))


### 📄 Documentation

* add version to the LTS
([#2080](#2080))
([a2083a2](a2083a2))

---
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.

feat(cli): add --output-format=json flag for binary tool responses

2 participants