返回插件市场

dsh-office-tools

多模态与创作

kw78/dsh-office-tools

面向模型的 Office 工具,用于 DeepSeek Harness 创建、读取和更新 Word、Excel 和 PowerPoint 文件,支持工作区安全路径和 PPT 图片嵌入。

  • deepseek-harness
  • deepseek-harness-plugin
  • dsh
  • dsh-plugin
  • dsh-plugin-market
  • dsh-plugins
  • office
GitHub Stars
27GitHub
浏览量
5DSH Plugin Hub
Forks
4GitHub
开放问题
0GitHub Issues
Manifest 版本
0.1.0dsh-office-tools
最近推送
2026年10月1日GitHub
许可证
MITTypeScript
插件类型
Host运行于 DSH Host

验证与兼容性

这里展示目录实际采集到的证据;未声明的信息会明确标为未知。

静态检查通过
01精确来源: npm · dsh-office-tools@0.1.002验证时间: 2026年8月23日03验证版本: 0.1.0-rc.7
当前版本兼容性
已在当前目录版本验证
声明的 Harness 范围
未声明
声明的平台
未声明
适用 Profile
web
构建授权
未知
权限声明
未声明
外部服务
未声明
遥测声明
未知
未发现已知风险标记

这不是安全背书;安装前仍应查看源码、权限和配置。

查看证据与判定范围

验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。

  • dsh-office-tools@0.1.0
  • 插件通过清单与静态结构检查,尚未完成运行时加载检查。

README

查看源文件

dsh-office-tools

npm version ci License: MIT Listed on awesome-dsh-plugin

If you find this project useful, please give it a ⭐ Star — it helps others find it.

Eight model-facing Office file tools for DeepSeek Harness: create, read, and update Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files inside the session workspace. Zero runtime dependencies — every package is generated and parsed by the plugin's own OOXML engine, and every byte crosses the official ctx.fs service.

Tools

ToolPurpose
word_createCreate .docx (title, paragraphs, bullets, one table)
word_readExtract text; format: "markdown" renders structure
word_updateAppend paragraphs, bullets, and/or a table
excel_createCreate multi-sheet .xlsx from cell grids
excel_readRead sheets as rows; formulas return cached values or '=…'
excel_updateReplace/create sheets, or write cells by A1 address
ppt_createCreate 16:9 .pptx (slides, bullets, notes, linked images)
ppt_readExtract text, notes, tables, and per-shape geometry

Strings starting with = become real Excel formulas.

Demo

One prompt, a quarterly-report trio:

Install

dsh plugin --profile web add dsh-office-tools              # npm (recommended)
dsh plugin --profile web add github:kw78/dsh-office-tools  # from source

Restart DSH after installing. Requires a profile that provides the fs service (every profile with built-in read/write tools does).

Notes

  • All paths are confined to the session workspace; overwrite defaults to false.
  • Reads accept any real package (STORE/DEFLATE) with zip-bomb guards; updates refuse packages with binary parts instead of corrupting them.
  • PPT images are linked, not embedded: the sanctioned ctx.fs write channel is UTF-8 text only, so a package cannot carry binary image parts. Keep image files next to the deck when moving it, and note that PowerPoint blocks external content by default — a linked picture renders as a "blocked automatic download" placeholder until you enable external content (File → Info → Enable Content, or add the folder under Trust Center → Trusted Locations). This is a PowerPoint security policy, not a package defect.
  • ppt_create echoes every element's landing position; ppt_read returns the same geometry for any deck.

Configuration

One option: enablePptTools (default true) — set it to false to coexist with a dedicated presentation plugin such as dsh-ppt:

- insert:
    - id: dsh-office-tools
      config:
        enablePptTools: false

Development

pnpm install && pnpm run check   # typecheck + tests + build
pnpm run test:e2e                # real-composition E2E (sandbox-policy + fs-sandbox + tools)

Compatibility: the declared DSH 0.1.x ranges and >=0.2.0-rc.1 <0.3.0-0; exact tested releases live in package.json (dsh.compatibility.dshReleases). CI exercises both 0.1.2-rc.1 and 0.2.0-rc.1. DSH 0.3.x is not declared supported.

Generated packages are limited to 50 MiB. Up to 200 PPT slides (including an optional title slide) are accepted; linked images remain external. See architecture and migration plan for the binary-write seam needed for true embedding.

Further reading: DEVELOPMENT.md · ROADMAP.md · hub-registration.md · MIT License

评论

0
最新优先