GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pasted images lose their original file path · Issue #23801 · anomalyco/opencode

Pasted images lose their original file path #23801

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Pasted images lose their original file path#23801
Copy link
Assignees
nexxeln

Description

@0xWerz
0xWerz
opened on Apr 22, 2026
Issue body actions

When I paste an image into the prompt, the agent gets the image data but not the path. So if I say "copy this logo to the project" or "use this image," the agent has no idea where the original file is. It has to try to decode the base64 and save it manually, which doesn't really work.

What happens now:

Paste an image from disk → agent sees [Image 1] with raw pixel data → agent thinks "I don't have a direct file path" → tries to decode base64 and re-save the image, which breaks the workflow.

For example, I pasted an image and told the agent to copy it somewhere. It couldn't because there was no path to reference. It just got stuck trying to extract the image from the attachment instead of using the original file.

agent-thinking-no-path

What i think should happen:

If the image came from a file on disk, the agent should know the path so it can reference or copy it directly. Not sure how it should work for screenshots or copied image data, but at least for actual files this would save a lot of hassle.

Related: #17488

PR: #23802

Activity

  1. github-actions
    assigned
    rekram1-node
    on Apr 22, 2026
  2. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 22, 2026
  3. github-actions commented on Apr 22, 2026

    @github-actions
    github-actionsBot
    on Apr 22, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Drag-dropped images lose absolute file path, preventing tools from accessing them #17488: Drag-dropped images lose absolute file path, preventing tools from accessing them — describes essentially the same problem (pasted/dragged images not preserving their source file path in the TUI)
  4. 0xWerz
    added a commit that references this issue on Apr 22, 2026

    chore: add screenshot for issue anomalyco#23801

    5d1f7ba
  5. thdxr
    removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. thdxr
    assigned
    nexxeln
    and unassigned
    rekram1-node
    on May 3, 2026
  7. github-actions commented on Jul 3, 2026

    @github-actions
    github-actionsBot
    on Jul 3, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  8. github-actions
    closed this as not plannedon Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @nexxeln
    nexxeln

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue 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.