Skip to content

Cant attach files in opencode desktop app #50583

Description

@Romelt766358

When I try to attatch a file to the chat I get "Desktop IPC handler failed". I have this problem only after updating to OpenCode 2.0.11, in v1 I didn´t have this issue.

If i drag the file from the file explorer sometimes it works sometimes it doesn't.

Activity

  1. github-actions commented on Sep 22, 2026

    @github-actions
    Contributor

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

    Please search existing issues before opening a new one, and consider adding your details (OS, version, steps to reproduce) to one of the above threads instead.

  2. Hona commented on Sep 22, 2026

    @Hona
    Member

    Fixed in #50599 (merged to v2 as 8e62ad7). The renderer sent optional picker fields as undefined, which the main process's JSON schema codec rejected before the handler ran. The fix lands in the next desktop release after 2.0.12.

    Workaround until then: drag and drop or paste from the clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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