didclawapp-ai/DSH-Office

用于PPTX/DOCX/XLSX/PDF读写编辑的DeepSeek Harness插件

项目介绍Project Overview

DSH-Office 是 DeepSeek Harness 插件,通过本机 zagens-office 引擎生成与编辑 PPTX、DOCX、XLSX 和 PDF。它提供 office_schema 取 JSON 契约、office_write 新建、office_edit 按操作改写、office_read 回读核对四项能力。写文档前应先调 schema 获取字段结构。缺失引擎时模型会自动下载到 ~/.zagens-pro/bin,建议钉死 commit-sha 版本以保证稳定。

DSH-Office is a DeepSeek Harness plugin that generates and edits PPTX, DOCX, XLSX, and PDF files through a local zagens-office engine. It exposes office_schema to fetch the JSON contract, office_write to create documents, office_edit to apply operations to existing files, and office_read to verify results. Call office_schema before writing to learn the field structure. If the engine is missing, the model auto-downloads it to ~/.zagens-pro/bin; pin to a commit-sha for reproducible installs.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:didclawapp-ai/DSH-Office

didclawapp-ai/DSH-Office 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH-Office

DeepSeek Harness 插件:用本机 zagens-office 生成和编辑 PPTX / DOCX / XLSX / PDF。

工具 作用
office_schema 取 JSON 契约,写/改之前先调
office_write 新建文档
office_edit 按 op 改已有文档
office_read 读回文档核对

没有引擎时,模型会自行下载到 ~/.zagens-pro/bin

安装

已安装发布版 dsh

dsh plugin --profile web add github:didclawapp-ai/DSH-Office
dsh web

从 Harness 源码跑(没有 PATH 上的 dsh)把上面的 dsh 换成 pnpm dsh。也可以 npx @deepseek-ai/dsh

启动日志出现 [zagens-office] plugin loaded 即成功。钉死版本:github:didclawapp-ai/DSH-Office#<commit-sha>。卸载:dsh plugin --profile web remove dsh-zagens-office

上一个 Prev dsh-codex-pet 下一个 Next dsh-obsidian-assistant