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