omdsh-dev/DSH-better-sidebar
开放侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理页面。
Project Overview项目介绍
This is a native sidebar framework plugin built exclusively for DeepSeek Harness (DSH). It follows official DSH plugin specifications and includes a valid bundle manifest, so it can be installed directly from the DSH plugin marketplace or via the npm package manager. It adapts to DSH's native right sidebar API starting from DSH v0.1.5-rc.1, and exposes a service called ctx.betterSidebar that allows other DSH plugins to register custom tabs, file viewers, and file icons for ecosystem extension.
It comes with an out-of-the-box full-featured workspace, combining a native DSH right sidebar and a draggable bottom panel that stays only on wide desktop viewports. Core features include a lazy-loaded file explorer, CodeMirror editor, pre-built viewers for images, Markdown, PDF, and HTML, a sandboxed embedded browser, and a real terminal with node-pty and xterm.js. It also includes built-in sensitive data masking, syntax highlighting, and unified diff rendering for both Git changes and per-session file edits.
It works across Windows, Linux, and macOS, with pre-built binaries for the node-pty dependency that avoid the need for local compilation in most cases. It has several documented limitations, including no support for Git push/pull/fetch, no separate bottom panel on mobile narrow screens, and some sites block embedding via iframe due to X-Frame-Options policies. The project is released under the open-source MIT license, so it is free to use, modify, and distribute by any developer or end user.
这是一款专为DeepSeek Harness(DSH)开发的原生侧边栏框架插件,提供开箱即用的双工作台体验:右侧适配DSH原生右侧栏API(v0.19.0起,支持DSH 0.1.5-rc.1及以上版本),底部保留自绘开放工作台。它开放ctx.betterSidebar服务给其他DSH插件,支持注册自定义标签页、文件查看器和文件图标,方便生态扩展新功能。
它集成了文件管理、CodeMirror编辑器、多类型文件预览、内嵌沙箱浏览器、基于xterm.js和node-pty的真实终端、文件变动双视角追踪、侧边对话等完整功能,默认自带敏感内容脱敏、语法高亮、统一diff渲染等安全和便利特性。适合DSH普通用户增强界面交互体验,也方便插件开发者基于它扩展自定义功能模块。
它支持Windows、Linux、macOS三大平台,node-pty终端依赖优先使用预编译二进制,编译失败需本地配置对应开发工具链。已知限制包括不支持Git推送拉取、移动端窄屏自动合并底部面板到右侧栏、部分受限制站点无法嵌入内嵌浏览器。项目采用MIT许可证开源,完全免费供用户使用和二次开发。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:DSH-better-sidebar(omdsh-dev/DSH-better-sidebar)
仓库:https://github.com/omdsh-dev/DSH-better-sidebar
本站详情页:https://www.yhbd.top/plugins/omdsh-dev-dsh-better-sidebar/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3980 · 最近提交 2026-10-01 · 主语言 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 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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 dsh-better-sidebar@latest
把 omdsh-dev/DSH-better-sidebar 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-better-sidebar
[!IMPORTANT] v0.19.0 起接入 DSH 原生侧边栏:右列就是 DSH 自己的右侧栏,插件把每个 tab 类型注册为原生 tab(不再自绘右侧面板),只保留自绘的底部工作台与开放给所有插件的
ctx.betterSidebar服务。v0.24.1 起要求 DSH
0.2.0-rc.1+(peer 下限^0.2.0-rc.1)。0.2.0 对本插件所用的全部宿主 API 是纯增量(零导出删除、会话格式仍 v4、CLI 与客户端运行时未变),所以这一版没有运行时兼容分支,只把支持线整体前移。DSH 0.1.7 线的用户请固定dsh-better-sidebar@0.22.1——caret 范围跨 minor 不成立,^0.1.7-rc.1在 0.2.0 宿主上会被启动预检静默禁用;按 DSH 版本选插件版本的对照表见安装。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Cerbur/clutch-dsh
Aealen/dsh-coding-workspace
loopx-project/loopx
LiPu-jpg/Openwrite