Skip to content

Feature Request: Support for WPS Office documents #60170

Closed as not planned
Closed as not planned

Description

@chinahotman

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.

Activity

  1. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    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:

    • The file view can show read-only previews of .docx, .xlsx and .pptx (added in feat(app): preview Word, Excel and PowerPoint files #53305).
    • 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.

    Related issues:

    Maintainers will consider this request.

  2. neriousy commented on Nov 12, 2026

    @neriousy
    Member

    Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.

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

Metadata

Metadata

Assignees

No one assigned

    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