@huiliyi37/dsh-office
适用于 DeepSeek Harness 的 Office 文档工具,支持生成、读取和编辑电子表格(xlsx)、PDF、演示文稿(pptx)以及 Word 文档(docx)。
AI 分析
核心用于在 DSH 中处理 Office 和 PDF 文档。适合需要自动化生成报表、演示文稿或读取文档数据的用户。注意:必须满足 dsh 核心版本不低于 0.1.0-rc.5 的兼容性要求。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:omdsh-dev/dsh-office說明文件
閱讀完整 README ↗Usage examples
// xlsx_write — create a workbook
{ "file_path": "report.xlsx", "data": [["Name", "Score"], ["Alice", 92]], "header_bold": true }
// pdf_create — document with a heading, table and list
{
"destination_path": "doc.pdf",
"title": "Quarterly Report",
"content": [
{ "type": "heading", "text": "Summary" },
{ "type": "table", "headers": ["Region", "Revenue"], "rows": [["APAC", "120"]] },
{ "type": "list", "items": ["Alpha", "Beta"] }
],
"page_numbers": true
}
// pptx_create — a deck with a title slide and a bullet slide
{
"destination_path": "deck.pptx",
"slides": [
{ "type": "title", "title": "Roadmap 2026" },
{ "type": "content", "title": "Highlights", "items": ["Plugin runtime", "Office tools"] }
]
}