You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the attachment button in OpenCode Desktop fails immediately with request failed (desktop IPC handler failed). File dialog never opens, so no file can be attached at all.
Environment
opencode version: 2.0.11 (desktop, user-reported; opencode --version Unavailable: CLI not in PATH)
OS: Microsoft Windows [Version 10.0.26200.9445] (Windows_NT 10.0.26200 win32 x64)
File picker dialog opens so a file can be selected and attached.
Actual Behavior
Error notification appears instantly, no dialog, attachment impossible. Affects all files.
Additional Context
Frequency: consistent (100%), fresh install, first use
Tried Run as administrator, still fails
Server log (~/.local/share/opencode/log/opencode.log, 32KB) shows only routine INFO/WARN (provider.updated, model.updated, worktree discovery failed for non-git dir), no upload ERROR — points to desktop client IPC, not server
opencode and gh CLIs not in PATH, could not auto-publish
Workaround: manual copy via Explorer into project dir works for reading files
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.
Activity
Hona commentedon Sep 22, 2026
Fixed in #50599 (merged to
v2as 8e62ad7). The renderer sent optional picker fields asundefined, 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.