DeepSeek Harness 插件

luxi233/dsh-settings-nav-scroll

Star 数 ★ 1 分类 UI 增强 收录于 2026-09-02

当 DSH Web 设置导航的分区超出视口时,为其添加可见的纵向滚动条。

安装

# Release 预构建包

dsh plugin --profile web add "https://github.com/luxi233/dsh-settings-nav-scroll/releases/download/v0.1.0/dsh-settings-nav-scroll-0.1.0.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:luxi233/dsh-settings-nav-scroll

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

为 DSH Web 设置弹窗左侧导航增加纵向滚动能力。当安装的插件较多、设置分区超出视口时,导航栏会显示细滚动条,所有设置入口都可滚动访问。

Adds vertical scrolling to the left navigation of the DSH Web settings dialog. When installed plugins create more settings sections than fit in the viewport, every entry remains reachable through a visible scrollbar.

特点

  • 仅作用于 [role="dialog"] nav 中包含按钮的设置导航。
  • 使用宿主主题变量,兼容明暗主题。
  • 不修改 DSH 核心文件,停用或卸载插件后样式自动移除。
  • 同时支持 Chromium/WebKit 和 Firefox 的滚动条样式。

安装

dsh plugin --profile web add github:luxi233/dsh-settings-nav-scroll

安装后重启 DSH Web,并刷新浏览器页面。

Restart DSH Web after installation, then refresh the browser page.

验证

npm test
npm run check

卸载

dsh plugin --profile web remove dsh-settings-nav-scroll

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。