Browse, preview, edit, and save files under the current project's openspec/ directory from a Web UI header panel that follows the session workspace.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:wx971025/dsh-openspec
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness Web UI 插件:在会话标题栏打开当前项目的 openspec/ 目录,浏览、预览、编辑并保存其中的文件。
它做什么
安装后,Web UI 会话标题栏 Session log 旁会出现 OpenSpec 按钮。点击弹出面板:
- 跟随当前会话的工作区(或会话目录),不用再配置项目路径
- 项目里有
openspec/:列出该文件夹下的全部内容(config.yaml、specs/、changes/、archive/等) - 没有
openspec/:提示「当前项目没有 OpenSpec」 .md做 Markdown 预览,其他文本按源码预览,都可以编辑保存- 保存成功以 Host 写盘确认为准
- 不创建、删除或重命名文件,不调用
openspecCLI
配色跟随 Harness Web UI 主题(含明暗切换)。
针对 DeepSeek Harness 0.1.0-rc.5 的 Web profile。其他版本请自行核对扩展点是否仍可用。
安装到自己的 DeepSeek Harness Web UI
需要本机已能运行 dsh,并且使用 web profile(dsh web 或 dsh --profile web)。
源码安装
先把仓库克隆到本地:
git clone https://github.com/wx971025/dsh-openspec.git
cd dsh-openspec
再用本仓库的绝对路径装进 web profile:
dsh plugin --profile web add /absolute/path/to/dsh-openspec
这是本地 link: 安装:profile 会指向这个目录,目录要一直留着,删掉或挪走后插件会加载失败。
Git 安装
不克隆到本地,直接让 profile 从 GitHub 拉取:
dsh plugin --profile web add github:wx971025/dsh-openspec#v0.1.0
等价写法:
dsh plugin --profile web add git+https://github.com/wx971025/dsh-openspec.git#v0.1.0
pnpm 10 可能要求允许该包的构建脚本。若安装时提示 blocked,按终端说明把对应 key 写入 profile 的 pnpm-workspace.yaml 的 allowBuilds,再执行一次上面的 dsh plugin add。
启动
dsh web
浏览器打开 Harness Web(默认 http://127.0.0.1:3080)。打开一个已经绑定了项目目录的会话,点标题栏 OpenSpec。
该项目根目录下有 openspec/ 就会列出文件;没有则提示没有 OpenSpec。
确认是否装上:
dsh --profile web --dump-config
输出里应能看到 dsh-openspec。
卸载
dsh plugin --profile web remove dsh-openspec
卸载后按钮和 /openspec-viewer 接口会消失。磁盘上的 openspec/ 文件不会被删。
Links
More in this category
tt-a1i/archify#integrations/deepseek-harness★ 81264
Generate validated, self-contained interactive architecture, workflow, sequence, data-flow, and lifecycle diagrams from repositories or system descriptions.
dream-num/dsh-univer-office★ 493
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
PerryLink/dsh-industry-research★ 213
Deterministic industry research reports for DeepSeek Harness — company and industry research flows produce structured, verifiable reports from staged evidence.
PolinniZhong/dsh-knit★ 53
Lists the Markdown documents, images and video that already exist anywhere in the session workspace in the DSH sidebar, ranked by relevance to the current conversation: recent messages are matched locally against document title, summary and body with IDF weighting, with no model calls and no network. Because the list is scanned from the workspace instead of remembered, restarting DSH or starting a new session does not empty it. Images and video preview in place, with relative-path images resolved and video streamed over HTTP Range. A references bar under the preview header shows which documents cite the one being previewed and which it cites, with one click to jump between them. The same ranking is exposed to the agent as a knit_docs tool, which returns the most relevant documents along with the passage that matched in each, where one is found.
HuanLinOTO/dsh-plugin-mineru★ 46
Expose MineRU document parsing tools to the model.
kw78/dsh-office-tools★ 27
Workspace-safe Office tools for agents: create/read Word, create/read/update Excel, and create/read PowerPoint decks with PNG/JPG/GIF image placement.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.