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
pip3 install pdfplumber
python3 -c "import pdfplumber; print(pdfplumber.open('file.pdf').pages[0].extract_text())"
Expected Behavior
PDF files should be readable like other document formats, or documentation should indicate PDF is not supported.
### Plugins
_No response_
### OpenCode version
_No response_
### Steps to reproduce
_No response_
### Screenshot and/or share link
_No response_
### Operating System
_No response_
### Terminal
_No response_
I've investigated this issue and identified the root cause. The crash happens because prompt.ts:993 uses Effect.catch(Effect.die) which converts file read IO errors into unrecoverable defects during user attachment processing.
Activity
github-actions commentedon Apr 7, 2026
This issue might be a duplicate of existing issues. Please check:
Please review these issues to see if your problem is already being tracked. If your issue is different, feel free to add clarifying details.
zhiyiwang-byte commentedon Jun 8, 2026
I've investigated this issue and identified the root cause. The crash happens because
prompt.ts:993usesEffect.catch(Effect.die)which converts file read IO errors into unrecoverable defects during user attachment processing.I've opened a fix PR: #31329
github-actions commentedon Aug 8, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.