返回目录
模型与 MCP 插件

dsh-plugin-office-fill-tool

ten-feng/dsh-plugin-office-fill-tool

DSH plugin: batch-generate Office files from templates and data ledgers

Stars
0
Forks
0
Issues
0
更新
23 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:ten-feng/dsh-plugin-office-fill-tool

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-plugin-office-fill-tool

DeepSeek Harness(DSH)插件:根据 Excel/Word 模板和数据台账批量生成文件,并向模型返回生成的文件列表。

功能

  • batch_generate_files:传入 template、data、output_dir、mode,后台生成并返回 folder / count / files。
  • open_office_fill_tool:打开 Windows 图形界面,手动操作。
  • 支持 Excel(.xlsx)和 Word(.docx)模板。
  • 保留模板的单元格边框、行级格式、合并单元格等格式。

安装

要求:Windows、DSH 版本 >= 0.2.1-rc.2。

dsh plugin --profile desktop add github:ten-feng/dsh-plugin-office-fill-tool

安装后重启 DSH,在插件页应看到 office fill tool。

也可以使用本地目录或 tarball 安装:

dsh plugin --profile desktop add "C:\path\to\dsh-plugin-office-fill-tool"
dsh plugin --profile desktop add .\dsh-plugin-office-fill-tool-0.2.0.tgz

使用示例

在 DSH 对话中:

用 batch_generate_files 生成文件: template = C:...\模板.xlsx data = C:...\台账.xlsx output_dir = C:...\输出 mode = excel

返回:

{
  "folder": "C:\\...\\输出\\生成文件_20261025",
  "count": 9,
  "files": ["C:\\...\\A区.xlsx", "C:\\...\\B区.xlsx"]
}

目录结构

.
├─ package.json
├─ index.js
├─ cordis.patch.yml
├─ README.md
├─ LICENSE
└─ bin/
   ├─ office fill tool.exe
   └─ _internal/

限制

  • 仅 Windows 可用(exe 为 Windows 程序)。
  • 生成配置和日志写在 bin/ 目录。
  • 第一次调用时 DSH 需要能执行本机 exe,部分安全软件可能拦截。

卸载

dsh plugin --profile desktop remove dsh-plugin-office-fill-tool

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。