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
{{ message }}
Repository navigation
Feature Request: Support for WPS Office documents #60170
Currently OpenCode cannot recognize or process WPS document files (.wps, .et, .dps,'docx','xlsx').
Could you please add support for WPS format in future updates?
Many users in China rely on WPS, and this feature will greatly improve usability. Thank you.
Thanks for the request! You'd like OpenCode to read WPS Office files, both the WPS formats (.wps, .et, .dps) and .docx / .xlsx, so the agent can work with their contents.
The agent's file-reading tool doesn't read binary documents yet (you'll see "Cannot read binary file"), and nothing handles the WPS formats yet.
For now, you can ask the agent to convert the file with a shell command, for example libreoffice --headless --convert-to docx file.wps or pandoc file.docx -t markdown, if those tools are installed.
Activity
opencodejr commentedon Oct 29, 2026
Thanks for the request! You'd like OpenCode to read WPS Office files, both the WPS formats (
.wps,.et,.dps) and.docx/.xlsx, so the agent can work with their contents.What v2 supports today:
.docx,.xlsxand.pptx(added in feat(app): preview Word, Excel and PowerPoint files #53305).libreoffice --headless --convert-to docx file.wpsorpandoc file.docx -t markdown, if those tools are installed.Related issues:
.docx/.xlsxas attachments and pass their content to the model (overlaps the.docx/.xlsxpart of this request)Maintainers will consider this request.
neriousy commentedon Nov 12, 2026
Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.