dsh-office-kit
Manifest valid★ 5Creates, reads, and edits DOCX, PDF, PPTX, and XLSX through `/documents`, `/pdf`, `/presentations`, and `/spreadsheets`; renders pages to check layout, and turns selections in the sidebar preview into
DSH Office Kit
为 DeepSeek Harness (DSH) 提供本地 Word、PDF、演示文稿与电子表格能力,支持 / 菜单、引用 Chip,以及侧边栏预览中的选区标注与修改请求。
📦 安装
在官方插件中安装 dsh-office-kit
或使用命令行安装
dsh plugin add dsh-office-kit
- 在 设置 → 插件 中启用。
- 需要 DSH ≥
0.2.1-rc.2、Python(无需,没有将自动安装)3.10–3.13。 - Windows 缺少兼容 Python 时自动安装;macOS / Linux 使用现有 Python。
特性
- 📝 Word:
/documents创建、读取和编辑 DOCX,支持表格、图片、公式与页眉页脚。 - 📄 PDF:
/pdf创建、读取和编辑 PDF,支持合并、旋转、删页与元数据。 - 📽️ 演示文稿:
/presentations创建、读取和编辑 PPTX,支持项目符号、表格、图表与图片。 - 📊 电子表格:
/spreadsheets创建、读取和编辑 XLSX,支持公式、样式、图表、冻结窗格与重算。 - 🖍️ 侧边栏标注:在 PDF、DOC/DOCX、PPTX、XLSX 预览中吸附段落或框选区域,批量提交修改要求。
- 🔗 会话引用:通过 Chip 调用文档技能;注释链接可悬停查看文件名与要求,PDF 标注附选区截图。
- 🖼️ 渲染校验:DOCX/PPTX/XLSX 经 DeepSeek Harness 自带的 LibreOffice Kit(Windows/macOS 原生引擎,Linux 走 WASM)栅格化,PDF 直接用 PyMuPDF;缺失字体会在报告里点名,不再静默产出豆腐块。SVG/PDF 素材可用
ensure_raster_image.py转成 PNG 后嵌入。 - 🧮 活体表格:
excel-live-control技能通过 COM 驱动已经打开的 Excel / WPS 表格(读区、写值、样式、图表、重算、保存)。
🚀 快速开始
通过菜单处理文档
- 在输入框键入
/,选择 文档、PDF 文档、演示文稿 或 电子表格。 - 回车插入 Chip,描述创建、读取或修改任务。
- 打开生成的文件,在侧边栏预览结果。
在预览中请求修改
![]() | ![]() |
|---|
- 打开 PDF 或 DOC/DOCX,点击工具栏的 请求修改。
- 悬停吸附段落,点击或拖动框选,输入要求并添加注释。
- 悬停底部 注释数量 查看列表,点击 发送;取消 清空本批。
- Esc:先取消当前选区,再按一次退出标注模式。
- 附件:PDF 附选区截图;DOC/DOCX 仅发送文字与定位信息。
- 草稿:已有输入时先合入草稿,由你确认发送;暂存注释刷新后不保留。
💡 示例文档
📚 配置与限制
- Python:
DSH_OFFICE_PYTHON可指定解释器。 - 标注范围:仅 PDF、DOC/DOCX;扫描 PDF 可框选截图,不提供 OCR。
- 本地文件:不支持 Google Docs / Slides / Sheets 或远程编辑。
- 完整清单:能力与未支持项。
🛠️ 开发与贡献
pnpm install
pnpm run lint --fix
pnpm run typecheck
pnpm run test -- --run
pnpm run build
📜️ 许可证
- MIT
- 示例文档保留 Apache Tika 的许可与声明。
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.0.0-stage | — | — |
| 0.2.0 | — | — |
| 0.1.0 | — | — |
| 0.3.0 | — | — |
| 0.3.1 | — | — |
| 0.3.2 | — | — |
| 0.3.3 | — | — |
| 0.4.0 | — | — |
| 0.4.1 | — | — |
| 0.4.2 | — | — |
| 0.4.3 | — | — |
| 0.4.4 | — | — |
| 0.4.5 | — | — |
| 0.4.6 | — | — |
Comments
Loading…
Similar plugins
by omdsh-dev
办公三件套!Office document tools for DeepSeek Harness (dsh): generate, read, and edit spreadsheets (.xlsx), PDFs, and presentations (.pptx).
★ 27
↓ 253/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @huiliyi37/dsh-officeby zhangjiabo522
DeepSeek Harness 文档工具插件:read/create/edit PDF/DOCX/XLSX/PPTX/CSV/Markdown(read_document、create_document、edit_document)
★ 0
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add @deepseek-ai/dsh-tool-docby pqkisvery666
DSH 办公文件插件:阅读 PDF/DOCX/XLSX/PPTX,生成 DOCX/XLSX/PPTX/PDF/CSV。A DSH plugin for reading and generating common office files.
★ 3
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-basic-officeby Whatsmore-nf
PDF编辑插件,支持单页、批量、换版式,HTML中转保留样式,高效处理大文件。 PDF editor. Supports single-page, batch, and layout changes. HTML intermediate preserves styles. Optimized for large files.
★ 3
↓ 190/wk
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-pdf-editby Z8906
读取 Office / PDF 前先转成 Markdown,用一行路径代替整份全文 —— 省 token 的 DSH bundle 插件。0 npm 依赖,转换全在本地,产物归你所有,卸载自动清理 Python 环境。 Convert Office/PDF to Markdown before reading in DeepSeek Harness — one path instead of the whole document.
★ 1
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-plugin-office-markdownby rong-coder
dsh plugin for DeepSeek Harness: complete Office document tools for the agent (create/read/edit .docx/.xlsx/.pptx via OfficeCLI) plus high-fidelity document preview in the dsh web sidebar through dsh-
★ 6
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-office-tool
