Skip to content

Limit showImages to inline tool output - #77

Merged
formulahendry merged 3 commits into
formulahendry:mainfrom
Eskibear:eskibear-control-image-messages
Aug 14, 2026
Merged

formulahendry merged 3 commits into
formulahendry:mainfrom
Eskibear:eskibear-control-image-messages

Conversation

@Eskibear

Copy link
Copy Markdown
Contributor

Summary

  • make showImages and --hide-images suppress only inline tool images
  • keep explicit agent message images and resource_link attachments enabled
  • cover standard tool images, embedded resources, and Copilot CLI rawOutput fallbacks
  • update CLI and configuration documentation

Testing

  • node --import tsx/esm --test tests/client.test.ts
  • npm run build

Closes #76

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 14:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread README.md Resolved
Eskibear and others added 2 commits August 14, 2026 22:27
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 14, 2026 14:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

@formulahendry formulahendry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

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.

@formulahendry
formulahendry merged commit d99d021 into formulahendry:main Aug 14, 2026
1 check passed
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.

Limit showImages to inline tool output

3 participants