rong-coder/dsh-office-tool1

dsh-office-tool

dsh plugin: complete Office document tools for the agent (create/read/edit .docx/.xlsx/.pptx through the OfficeCLI binary) plus a document preview in the dsh web sidebar via dsh-better-sidebar.

AI Analysis

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

Package
dsh-office-tool
Version
0.1.0
License
MIT
Last updated
Aug 17, 2026

Install

$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'.