Plugin directory / Developer / dsh-liya-workspace
dsh-liya-workspace
Verified · install-tested on dsh feverZHONG
What it does
A plugin in the Developer category for DeepSeek Harness.
Works — verified, early-stage project
A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-liya-workspace-plugin · 工作区档案速览插件
在 DeepSeek Harness WebUI 设置里新增「莉娅工作区」子设置页,实时展示工作区档案速览:
FILE-MAP 摘要、memory / records / diary 目录统计、最近日记列表。
结构
| 文件 | 作用 |
|---|---|
index.js |
Host 半:注册 webServer 路由 /dsh-liya-workspace/summary,实时读工作区档案统计 |
client.js |
Client 半(手写 bundle):设置页 settings.section 注册 + fetch 展示 + 极简 markdown 渲染 |
cordis.patch.yml |
插件挂载行(insert 进配置树) |
安装
# 方式一:本地目录(开发期,改源码重启即生效)
dsh plugin --profile web add <本目录>
# 方式二:tgz 包(交付/分发,可移植)
pnpm pack
dsh plugin --profile web add <本目录>/dsh-liya-workspace-plugin-<版本号>.tgz
dsh请替换为阁下 DSH 安装对应的 CLI 调用方式。
装完重启 WebUI(完全退出再打开)生效。卸载:dsh plugin --profile web remove dsh-liya-workspace-plugin
配置工作区根目录
插件需要知道工作区根目录(其下应包含 workspace/、diary/ 等目录),解析优先级:
- 设置页:设置 → 莉娅工作区 →
workspaceRoot字段,填写绝对路径,保存即时生效(推荐) - cordis.yml:插件条目
config.workspaceRoot作为启动兜底 - 进程工作目录:两者都为空时使用 DSH host 进程的当前工作目录
数据链路
host(ctx.webServer 路由)→ JSON → client(fetch('/dsh-liya-workspace/summary'))→ 渲染。
验证
- 路由:
Invoke-WebRequest http://127.0.0.1:<port>/dsh-liya-workspace/summary→ 200 + JSON - 设置页:设置 → 莉娅工作区 → 档案速览 + FILE-MAP markdown 渲染
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-liya-workspace for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:feverZHONG/dsh-liya-workspace Headless (CLI) profile:
dsh plugin --profile headless add github:feverZHONG/dsh-liya-workspace Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.