CatNebulaaaa/wps-dsh-plugin ↗★ 4

dsh-plugin-wps-office

Unofficial DeepSeek Harness bundle for WPS Office via lc2panda/wps-skills 适合需在 DSH 中操作 WPS Office 的用户,需配置 WPS_SKILLS_ROOT 环境变量。

Package
dsh-plugin-wps-office
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CatNebulaaaa/wps-dsh-plugin

配置 WPS 路径

推荐设置 WPS_SKILLS_ROOT 为上游仓库的绝对路径:

$env:WPS_SKILLS_ROOT = (Resolve-Path 'C:\path\to\wps-skills').Path

也可以只设置编译入口:

$env:WPS_OFFICE_MCP_ENTRY = (Resolve-Path 'C:\path\to\wps-skills\wps-office-mcp\dist\index.js').Path

DSH 会从启动目录的 .env 和 $DSH_HOME/.env 加载环境变量。需要跨项目使用时,可将不含密钥的路径配置写入 $DSH_HOME/.env;不要把个人路径或任何凭据提交到 Git。

上游 MCP 默认把日志写到用户主目录的 .wps-office-mcp/logs。如果运行环境限制该目录写入,可把日志重定向到另一个可写目录:

$env:WPS_MCP_HOME = 'D:\path\to\writable-home'

使用本地构建的 DSH 安装

下面示例直接运行源码 checkout 已构建的 CLI:

$DshRoot = 'D:\path\to\deepseek-harness'
$PluginRoot = 'D:\path\to\dsh-plugin-wps-office'

node "$DshRoot\apps\cli\lib\bin.js" plugin --profile web add $PluginRoot
node "$DshRoot\apps\cli\lib\bin.js" --profile web --dump-config
node "$DshRoot\apps\cli\lib\bin.js" web

已全局安装 DSH 时:

dsh plugin --profile web add .
dsh --profile web --dump-config
dsh web

安装 GitHub 版本时建议固定 commit:

dsh plugin --profile web add github:CatNebulaaaa/wps-dsh-plugin#COMMIT_SHA