DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Sidebar Width — DeepSeek Harness 插件(DSH Plugin)
← Plugins
S

dsh-sidebar-width

Sidebar Width

在 dsh web 启动时,通过修补已安装的 ui-layout 客户端 bundle,控制 DeepSeek Harness Web UI 左侧边栏宽度(最小值/最大值/默认值)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:garrisonz/dsh-sidebar-width#ff9e16386068f815d5a189e2eea40675addd0f08
README兼容性版本

兼容性与来源证明

Sidebar Width 以 dsh-sidebar-width 发布,当前版本为 0.2.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/11

版本

0.2.1stable
2026/9/11

相关插件

正在加载相关插件…

最新版
0.2.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/9/11
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包

README

dsh-sidebar-width

Control the left sidebar (session list) width of the DeepSeek Harness Web UI: lower the drag minimum (official floor 264px), optionally the drag maximum and the expanded default width. Nothing outside the sidebar is touched.

控制 DeepSeek Harness Web UI 左侧会话列表栏宽度:调低拖动下限(官方 264px), 可选调整拖动上限与展开默认宽度。不涉及任何其他功能模块。

Why a patch-style plugin / 为什么是"打补丁"式插件

The sidebar width clamp (clampWidth(px, 264, 420)) and the 280px default are baked into the client bundle @deepseek-ai/dsh-client-ui-layout/lib/client.js (grid solver computeColumns + layout store setSidebar/init/toggle). The client runtime exposes no seam to change them (the store and its actions are private to the bundle), so this plugin patches the served bundle file once at dsh web startup:

侧边栏宽度钳制与默认值写死在客户端 bundle @deepseek-ai/dsh-client-ui-layout/lib/client.js 中(网格求解器 + layout store),客户端运行时没有可改的接缝,因此插件在 dsh web 启动时修补被服务的 bundle 文件:

  • first run backs up to client.js.dsh-sidebar-width.bak / 首次运行先备份
  • compatible with both store shapes: d.sidebar (≤ 0.1.0) and d.layoutInfo.sidebar (≥ 0.1.5, state nested under layoutInfo) — the site regexes are shape-tolerant, and a version guard refuses to touch a bundle whose sites no longer match (fail-safe, never corrupts) / 兼容两代 store 结构:d.sidebar(≤ 0.1.0)与 d.layoutInfo.sidebar(≥ 0.1.5 嵌套在 layoutInfo 下);站点正则对结构容错,若未来版本结构再变则安全拒绝、绝不破坏文件
  • idempotent — a marker makes re-runs no-ops; a dsh upgrade replaces the file and the next startup re-patches / 幂等——升级覆盖文件后下次启动自动重打补丁
  • configurable via the plugin row / 全部数值可配置

Config / 配置

keymeaning / 含义default / 默认
minlower drag bound, px / 拖动下限180
maxupper drag bound, px / 拖动上限keep bundle value (420)
defaultWidthexpanded default width, px / 展开默认宽度keep bundle value (280)
pathabsolute path of the layout client.js / 手动指定 bundle 路径auto-locate

All keys optional. / 全部可选。

Install / 安装

dsh plugin --profile web add dsh-sidebar-width   # npm(推荐)
# 或本地开发: dsh plugin --profile web add link:/path/to/dsh-sidebar-width
# 然后重启 dsh web(插件在启动时打补丁)

dsh plugin requires pnpm on PATH. / 需要 PATH 上有 pnpm。

Tune / 调参

Edit ~/.dsh/profiles/web/cordis.patch.yml (user layer overrides the bundle row):

- id: sidebar-width
  name: 'dsh-sidebar-width'
  config:
    min: 160
    max: 420
    defaultWidth: 240

Restart to apply. / 重启生效。

Uninstall / 卸载

dsh plugin --profile web remove dsh-sidebar-width

The patch itself stays (harmless); restore manually from the backup: 补丁不会自动回滚(无害),可手动还原:

mv <install>/.../dsh-client-ui-layout/lib/client.js.dsh-sidebar-width.bak \
   <install>/.../dsh-client-ui-layout/lib/client.js

Scope / 边界

This plugin's only job is the sidebar width. No UI buttons, no other panels, no settings surface. / 本插件唯一职责就是侧边栏宽度:不加按钮、不动其他面板、不扩功能。

Publish / 发布(for maintainers)

  1. Push the repo to GitHub and add the dsh-plugin topic.
  2. npm publish (name dsh-sidebar-width is free on npm as of 2026-08-15).
  3. Open a PR to awesome-dsh-plugin: add one line under UI Enhancements / UI 增强 in both README.md and README.zh.md. dsh-market picks the list up automatically.