GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bug: MCP tool binary attachment triggers Bedrock document name ValidationException (variant of #36113) · Issue #37191 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionDescriptionVariant of #36113 with the same root cause (unsanitized document filename sent to the Bedrock Converse API), but a different source: an MCP tool attachment instead of a user file upload. No user-uploaded files exist in the session. When an MCP tool returns a binary file attachment (e.g. Slack MCP Confirmed via DB inspection of the session. The stored part in opencode.db: {
"type": "file",
"mime": "application/pdf",
"url": "data:application/pdf;base64,...",
"filename": "slack-file://F0XXXXXXX"
}The synthetic filename contains Why it persists: once the attachment lands in session history, every subsequent Bedrock turn re-sends the document block with the invalid name. The session becomes unrecoverable without reverting to before the tool call, even if subsequent prompts explicitly avoid the file. Proposed fix: sanitize Session ID: ses_09a3a6cf0ffegoP0YYJYWqmQti PluginsSlack MCP OpenCode version1.18.1 Steps to reproduce
Operating SystemLinux arm64 Terminalxterm-256color Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |