npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-office-kit

v0.4.8

Published

Office documents, PDF, presentations, and spreadsheets for DeepSeek Harness

Readme

DSH Office Kit

npm version npm downloads bundle JSDocs License

为 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 表格(读区、写值、样式、图表、重算、保存)。

🚀 快速开始

通过菜单处理文档

  1. 在输入框键入 /,选择 文档、PDF 文档、演示文稿 或 电子表格。
  2. 回车插入 Chip,描述创建、读取或修改任务。
  3. 打开生成的文件,在侧边栏预览结果。

在预览中请求修改

| | | | ------------- | ------------- |

  1. 打开 PDF 或 DOC/DOCX,点击工具栏的 请求修改。
  2. 悬停吸附段落,点击或拖动框选,输入要求并添加注释。
  3. 悬停底部 注释数量 查看列表,点击 发送;取消 清空本批。
  • 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

📜️ 许可证