rong-coder/dsh-office-tool1

dsh-office-tool

dsh 插件:通过 OfficeCLI 读写 Office 文档(.docx/.xlsx/.pptx),并在侧边栏预览

AI 分析

核心用途是让 Agent 具备创建、读取和编辑 Office 文档的能力,并在 DSH 侧边栏提供文档预览。适合需要处理办公文档自动化任务的用户,必要条件是需配置 OfficeCLI 二进制文件路径。

包名
dsh-office-tool
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:rong-coder/dsh-office-tool

Configuration

Override rows in your profile cordis.patch.yml (a patch replaces a row's whole config):

- id: office-tool
  config:
    command: 'C:\path\to\officecli.exe'   # binary name or absolute path (env DSH_OFFICECLI wins)
    timeoutMs: 60000
    maxOutputBytes: 16777216
- id: office-tool-preview
  config:
    preview:
      allowOutsideWorkspace: false        # allow rendering absolute paths outside the host cwd
    watch:
      enabled: true
      idleSeconds: 300

command accepts a bare name resolved on PATH, or an absolute path (Windows .exe). $DSH_OFFICECLI overrides the default 'officecli'.