Repository navigation
Limit showImages to inline tool output - #77
Merged
formulahendry merged 3 commits intoAug 14, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Limits image suppression to inline tool output while preserving explicit agent images and attachments.
Changes:
- Tracks image sources and filters only tool-generated images.
- Adds coverage for tool images, resources, raw output, and attachments.
- Clarifies configuration and CLI documentation.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/acp/client.ts |
Applies source-aware image filtering. |
src/config.ts |
Clarifies showImages behavior. |
tests/client.test.ts |
Tests updated image-routing semantics. |
bin/wechat-acp.ts |
Updates CLI help text. |
README.md |
Documents image suppression scope. |
CHANGELOG.md |
Records the behavior change. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
formulahendry
approved these changes
Aug 14, 2026
formulahendry
left a comment
Owner
There was a problem hiding this comment.
The image-source routing now satisfies #76, including runtime bridge.images semantics and documentation. The regression coverage covers tool images, explicit response images, embedded resources, resource links, and raw-output fallbacks.
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
showImagesand--hide-imagessuppress only inline tool imagesresource_linkattachments enabledrawOutputfallbacksTesting
node --import tsx/esm --test tests/client.test.tsnpm run buildCloses #76