anomalyco / anomalyco/opencode
[FEATURE]:支持上传 Office 文档(Word/Excel/PPT)作为附件
Open
@jlongster is already working on this.
Since Sep 17, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
问题描述
当前对话框仅支持附加图片、PDF 或文本文件,无法直接上传 Office 文档(.docx、.xlsx、.pptx)。
使用场景
在与 AI 对话时,经常需要参考 Word 文档、Excel 表格或 PPT 演示文稿的内容,但目前必须先手动转换为文本或 PDF 才能上传,增加了操作成本。
期望功能
支持以下 Office 文档格式的直接上传和内容解析:
- Word (.docx)
- Excel (.xlsx)
- PowerPoint (.pptx)
建议实现方式
- 在上传时自动将 Office 文档转换为文本内容
- 或在
attachment配置中增加office类型的开关选项
环境信息
- opencode 版本:latest
- 操作系统:Windows
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.