opencode
opencode copied to clipboard
fix: handle EACCES permission error when creating data directories
When ~/.local/share exists with restrictive permissions (e.g., created by PowerShell or uv), opencode crashes with an unhelpful EACCES error. This adds proper error handling that provides clear remediation steps.
Fixes #6343