omdsh-dev/DSH-better-sidebar 预览 preview

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许可证开源,完全免费供用户使用和二次开发。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • 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 版本选插件版本的对照表见安装。

一个服务化的侧边栏框架,一套开箱即用的完整工作台

npm version npm downloads CI GitHub stars License: MIT dshfind

支持的 DSH 版本(v0.24.1):0.2.0-rc.1+ 插件生态:GitHub topic dsh-better-sidebar

文件管理 编辑预览 底部工作台 文件变动 后台任务 侧边对话 插件接入

右侧栏 + 底部面板双工作台,并把 ctx.betterSidebar 服务开放给所有插件——
通过 registerTab / registerFileViewer 注册新的侧边栏页面与文件预览器。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-TUI 下一个 Next DeepSeek-Balance-Whale-Widget →