HuanLinOTO/dsh-plugin-ya-workspace-sidebar
DSH Web 工作区侧栏替代:顶部全局最近会话 + 工作区→会话二级菜单 + 面包屑导航
Project Overview项目介绍
This is a native DSH plugin that replaces the default web workspace sidebar for DeepSeek Harness, built exclusively for DSH. It can be installed directly via the DSH CLI by running the command dsh plugin --profile web add @huanlin/dsh-plugin-ya-workspace-sidebar from npm, which is the recommended installation method for most users. The plugin displays all recent global sessions at the top via virtual scrolling, rather than being limited to just 5 sessions like the default sidebar, and adds a draggable splitter between the session list and the lower workspace session menu.
The splitter can be adjusted with arrow keys for fine positioning and reset to its default size by double-clicking. Sessions under the selected workspace are grouped by local calendar date into today, yesterday, and earlier groups, which makes it far easier to scan and find the specific session you need. It is designed for DSH Web users who manage multiple working sessions regularly, and it retains all original DSH native capabilities for common operations like searching, adding, renaming, deleting, and archiving workspaces.
The plugin adds convenient right-click menus for both session rows and workspace rows, with extra options like pinning sessions locally, marking sessions as unread, opening the working directory in file explorer, and copying various paths. Some path copy options are only available for jsonl file-based persistent deployments, and they are automatically disabled for sqlite-based deployments like @morlay/better-session. It requires DSH version v0.1.2-alpha.1 or newer to work properly, and after any source code modification, you need to rebuild the plugin and restart DSH Web for changes to take effect.
这是一款专为 DeepSeek Harness 开发的原生 Web 工作区侧栏替代插件。插件顶部采用虚拟滚动展示全部最近会话,不限制仅显示 5 条,顶部与下方「工作区→会话」二级菜单之间设有可拖拽分隔条,支持方向键微调位置、双击重置分隔条,面包屑导航下选中工作区的会话按本地日历日期分组为今天、昨天、更早三个组别。
搜索工作区、新建工作区、重命名删除归档等基础操作仍沿用 DSH 原生宿主能力,插件额外为会话行和工作区行提供了右键菜单,支持本地置顶会话、标记未读、打开工作目录、复制各类路径等操作,可满足用户更精细化的工作区会话管理需求,适合日常使用 DSH Web 管理多个会话的用户。
该插件以 bundle 形式分发,安装可通过 DSH CLI 执行 dsh plugin --profile web add @huanlin/dsh-plugin-ya-workspace-sidebar 从 npm 安装,支持 DSH v0.1.2-alpha.1 及以上版本,部分路径复制功能仅对 jsonl 文件型持久化部署可用,sqlite 型部署对应菜单会自动禁用,修改源码后需重新构建再重启 DSH Web 生效。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-ya-workspace-sidebar(HuanLinOTO/dsh-plugin-ya-workspace-sidebar)
仓库:https://github.com/HuanLinOTO/dsh-plugin-ya-workspace-sidebar
本站详情页:https://www.yhbd.top/plugins/huanlinoto-dsh-plugin-ya-workspace-sidebar/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 13 · 最近提交 2026-09-30 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 13 stars - an early-stage project星标 13,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @huanlin/dsh-plugin-ya-workspace-sidebar
把 HuanLinOTO/dsh-plugin-ya-workspace-sidebar 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
ya-workspace-sidebar

DSH Web 工作区侧栏替代插件。顶部以虚拟滚动展示全局最近会话(完整列表,不限于 5 条),与下方 Workspace → Session 二级菜单之间有一条可拖拽分隔条(也支持方向键微调、双击复位),面包屑导航与选中工作区的会话按本地日历日期分组(今天/昨天/更早);搜索、添加工作区、重命名、删除、Fork 与归档继续使用 DSH 原生 Host 能力。会话行支持右键菜单(与 … 按钮菜单一致):置顶(本地,置顶行浮于日期分组之上)、重命名、标记未读(本地蓝点,打开会话自动清除)、在资源管理器中打开工作目录、复制路径 / 任务路径 / 日志路径 / 会话 ID。任务路径与日志路径仅文件型(jsonl)持久化部署可用;sqlite 型部署(如 @morlay/better-session)对应菜单项自动禁用。工作区行不设悬停按钮,右键直接弹出菜单(新建会话 / 在资源管理器中打开 / 复制路径 / 重命名 / 删除);标题超宽时以渐隐(mask 渐变)截断、不显示省略号,路径保持左对齐省略号硬截断。
运行
插件采用 bundle 形式,cordis.patch.yml 会禁用官方 ui-workspace 并插入 @huanlin/dsh-plugin-ya-workspace-sidebar。DSH v0.1.2-alpha.1 起,官方 ui-sidebar / ui-conversation / ui-agent-preset 及目录选择器组合包会注入 ctx.uiWorkspace 服务,本插件 client entry 通过 src/client/navigation.ts 自供该服务的替身(含复用/新建会话导航、current/recent 回退、归档清理与启动自动选择策略),否则这些条目会永久 pending 导致 WebUI 启动死锁。安装:
# 从 npm 安装(推荐):
dsh plugin --profile web add @huanlin/dsh-plugin-ya-workspace-sidebar
# 本地开发(热更新):
dsh plugin --profile web add "link:D:/Projects/deepseek-harness/ya-workspace-sidebar"
修改源码后重新运行 pnpm run build,再重启 dsh web 并硬刷新浏览器。
开发
pnpm install
pnpm run typecheck
pnpm test
pnpm run build
dsh/ 仅作为类型和行为参考,插件不会修改 DSH checkout。浏览器产物预构建到 lib/client.js,因此仓库发布时必须提交 lib/。
检查
pnpm run typecheck
pnpm test
pnpm run build
构建后确认 lib/index.js、lib/client.js 和 lib/types/ 存在,并确认 lib/client.js 使用 window.__ModuleLoader__.load() 包装。
本包自 v0.1.2-rc.1 起不再发布
./invariant导出:本插件贡献的均为 client-only slot 条目,无独立可分歧的观察,按新 invariant 规则省略其源码与接线。
gjj-star/dsh-conversation-navigator
masknull/dsh-qoder-connect
Aik358/dsh-anchored-monitor
EugeneVl/dsh_session_folders
lw-storm/dsh-plugin-masterprompt
Yiheng-guo/dsh-boot-animation-pro
taoser258/dsh-client-ui-skin-qingxiao