Skip to content

[FEATURE]:Support base64 decoding in the harness to post images to the agent #12480

@vampaz

Description

@vampaz

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

As a user, I want to be able to paste base64 encoded images into the TUI and have the app decode them and attach them to the prompt.

This is useful since a web screenshot tool has no other way to share images with opencode.

Acceptance criteria

When data:image/png;base64,iVBORw0KGgoAAAANSU.... is found in the prompt, it should be decoded and an image inserted in the call

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions