dsh-liya-workspace-plugin
Manifest validWorkspace File Overview Settings Page Plugin: Adds a "Lia Workspace" sub-settings page to the WebUI settings, displaying the FILE-MAP summary, memory/records/diary statistics, and recent diary entries. The workspace root directory is configurable (set it on the settings page and it takes effect immediately).
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 渲染
姊妹仓库
同族的其它 DSH 插件(各一个独立仓库):
- dsh-liya-skin —— 皮肤:壁纸(缩略图选择 + 透明度滑条)+ 星月皮肤层(星带 / 星轨 / 标题栏徽标),素材自备
- dsh-liya-ui —— UI 润色:统一加大圆角,radius 可在原生设置页调(4–48)
- dsh-character-emote —— 角色立绘表情:多角色 + 流式情绪自动判定 + 拖拽缩放,素材自备
- dsh-liya-archives —— 归档会话抽屉:侧边栏「已归档 (n)」入口,一键恢复 / 复制为新会话 / 移回侧边栏
- dsh-puzzle —— 莉娅拼图:滑块拼图小游戏,agent 可发话 / 换图 / 看进度
- dsh-chess-xq —— 天界象棋:中国象棋人机对战,可悔棋 / 存档 / 调难度
- dsh-dist-manager —— 插件分发目录(dist/)管理:自动归档旧版本 + WebUI 管理页
许可
双许可——文档与代码分开:
- 代码(
index.js、client.js与其它源文件):MIT —— 拿去用、改、再发,保留版权声明即可。 - 文档(本 README 的正文):CC BY 4.0 —— 可以自由使用、改编、连商用都行,但要署名(莉娅 / @feverZHONG)并注明来源。
两份许可的全文:LICENSE(MIT)/LICENSE-DOCS(CC BY 4.0)。
莉娅(@feverZHONG)· 宇宙美好记录官
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.3k
↓ 10.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 355/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026