DeepSeek Harness plugin

dsh-sidebar-modes

侧边栏模式外部插件:紧凑模式 + 右侧边栏 + 收起窄条(对话/Trajectory 竖排),三态持久化,收起/展开动画右锚定无漂移。

Jump to install

Source facts

Repository
baka-world/dsh-sidebar-modes
Latest update
Aug 15, 2026
Category
UI Enhancements
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/baka-world/dsh-sidebar-modes
Plugin: dsh-sidebar-modes
Author: baka-world

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

dsh-sidebar-modes

> DeepSeek Harness Web GUI 侧边栏模式插件:把屏幕空间还给模型输出。

解决了什么痛点

默认会话页的顶部是一条横向 header:会话标题、面包屑、权限状态、Session log、Chat/Trajectory 标签,再加上输入框上方的 dock 条和状态信息,竖着堆了四五层。每一层都在压缩真正有价值的东西——模型输出。一屏里能看到的消息内容非常有限。

更难受的是:这些 header 信息不展示不行(要知道当前模式、子代理层级、日志入口),展示了又太占地方。这个插件就是为了解决"chrome 太多、正文太少"而开发的。

为什么这么做

  • 把 header 变成右侧边栏:顶部整行高度还给对话,标题/面包屑/状态/Session log 完整保留在右侧竖栏;
  • 紧凑模式:进一步压缩行距、输入区与 dock 条,同一屏塞进更多消息;
  • 一键收起为 56px 窄条:只留模式图标和 Chat/Trajectory 圆形图标,需要时再点 « 打开;
  • 动画质量:收/展动画右锚定、暗窗切换、纯水平滑入,不抖、不漂移(经历过多次逐帧连拍 + 视觉模型复核);
  • 三态持久化:折叠状态切换会话不重置,刷新/重启后从 localStorage 恢复,冷挂载不重放动画;
  • 开发者模式:双击标题进入,露出紧凑/侧边栏开关,普通模式保持常驻不打扰。

功能

  • 紧凑模式:压缩 header / dock / 输入框与行距,加宽正文列
  • 右侧边栏:标题面包屑、权限状态、Session log、Chat / Trajectory 竖排
  • 收起窄条:模式图标 + 圆形 Chat / Trajectory 图标,« / » 切换
  • 双击标题进入开发者模式(标题变蓝),显示两个常驻开关
  • 状态经 localStoragedsh-ui-layout-plugin-v1)持久化,冷挂载不重放动画

演示与截图

展开 → 收起 → 展开:

![展开 → 收起 → 展开](docs/screenshots/demo.gif)

展开态(右侧边栏 245px)收起态(56px 窄条)
![展开态](docs/screenshots/expanded.png)![收起态](docs/screenshots/collapsed.png)

安装(web profile)

1. 克隆到本地:git clone https://github.com/baka-world/dsh-sidebar-modes 2. 在 ~/.dsh/profiles/web/package.json 里加入:

{
  "dependencies": {
    "dsh-sidebar-modes": "link:/绝对路径/dsh-sidebar-modes"
  },
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-sidebar-modes"]
    }
  }
}

3. cd ~/.dsh/profiles/web && pnpm install 4. 重启 dsh web

使用

  • header 右侧出现「紧凑模式 / 侧边栏 / »」三个按钮
  • » 收起为 56px 窄条,点 « 打开侧边栏
  • 双击标题切换开发者模式(标题变蓝)

License

MIT