dream-num/dsh-univer-plugin ↗★ 0
@univer-cli/dsh-univer-plugin
DSH × Univer integration: preview Univer spreadsheets (and other units) inline in DeepSeek Harness — node half manages the univer CLI/daemon, client half renders a preview card at the turn tail with in-app fullscreen viewing.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dream-num/dsh-univer-plugin说明文档
阅读完整 README ↗DSH × Univer 插件
在 DeepSeek Harness 应用内直接预览 Univer 表格:跑过 univer 命令的回合会自动出现预览卡片,点击即在应用内全屏展开 —— 无需浏览器、无需手动起服务。
┌────────────────────────────────────────┐
│ 📊 销售表格.univer [wt-xxx] [展开预览 ▾] │ ← 回合尾部卡片
│ /Users/.../销售表格.univer │
└────────────────────────────────────────┘
功能
- 回合尾部预览卡片 —— 回合内 bash 调用中出现过
.univer文件的,回合结束后自动出现预览卡片(支持--worktree)。 - 应用内全屏预览 —— 点卡片在应用内 iframe 中打开表格;✕ / 遮罩 / Esc 关闭。
- daemon 管理 —— 绿点 = daemon 运行中;黄点 = 未运行,点击自动启动。
- 多会话并行 —— 各会话显示各自回合的卡片。
- 双语界面 —— 卡片跟随应用语言(中/英)。
环境要求
- macOS(或 Linux)+ 已安装 DeepSeek Harness
- 建议安装 univer-cli:
npm i -g univer-cli;未安装时插件仍可安装,需要时会提示
安装
本包是一个标准 DSH bundle:声明了 dsh.bundle 并自带 cordis.patch.yml,可通过标准 loader 安装:
从 git 安装
dsh plugin --profile web add github:dream-num/dsh-univer-plugin
从 npm 安装
dsh plugin --profile web add @univer-cli/dsh-univer-plugin
从本地 checkout 安装(开发用)
dsh plugin --profile web add /path/to/dsh-univer-plugin
profile 首次使用会自动初始化;
dsh会把该 bundle 追加到dsh.profile.bundles,pnpm 链接包后,loader 自动应用插件的cordis.patch.yml层。可用dsh --profile web --dump-config验证(应能看到# == @univer-cli/dsh-univer-plugin层)。
备用:一键安装脚本(无 dsh CLI 时)
无法运行 dsh CLI 时,可使用便利安装脚本:
bash install.sh