DeepSeek Harness 插件

BaihaiMianbaofang/dsh-liangdeng

Star 数 ★ 0 分类 UI 增强 收录于 2026-11-27

给 DeepSeek Harness 加屏幕中间的呼叫弹窗,和一排可拖动的会话小方块。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装

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

dsh plugin --profile web add github:BaihaiMianbaofang/dsh-liangdeng

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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

Two small things for the DeepSeek Harness Web UI:

  1. A call popup — an agent calls the call_user tool, and a card appears in the centre of the screen with 确认 (dismiss) and 跳转 (switch to that session).
  2. A lantern dock — a draggable column of 32×32 session chips. Click one to switch to that session; a chip fills with its colour when the session has an unread completion or is waiting for you.

中文说明见文末。

Settings

Click the small gear on the top-right corner of the lamp (bottom of the sidebar). There you can:

  • turn the chime on or off, and set its volume
  • point it at your own sound file (relative to the workspace, mp3 / wav / ogg / m4a)
  • change each session chip's colour and letter

Leave the sound path empty to keep the built-in three-note chime. If the workspace contains 声音/提示音.mp3 (or .wav / .ogg / .m4a), that file is used automatically.

Settings live in this browser only.

Close it by clicking outside the card, pressing Esc, or using the × in its corner.

Install

dsh plugin --profile <your-profile> add github:BaihaiMianbaofang/dsh-liangdeng

Or, in the app: Plugins → Add plugin, pick this folder. Then reload the page with Ctrl + Shift + R.

The plugin declares dsh.bundle, so it installs from source with no build step and no dependencies.

Usage

call_user(
  from    = "producer",              // who is calling
  title   = "The cut is ready",      // one line, plain language
  body    = "Stills are on disk",    // optional second line
  session = "<session id>"           // optional; adds the 跳转 button
)
  • 确认 dismisses the card.
  • 跳转 switches to the calling session (only when session is given).
  • Esc or a click on the backdrop also dismisses it.

The dock

  • Lists the top-level sessions of the current workspace (sub-agents are skipped).
  • Each chip shows the first character of the session title; hovering shows the full title.
  • Click a chip to switch to that session.
  • Drag a chip anywhere; drag it into the dashed box to line chips up 4 × 2, drag it out to move it freely.
  • A chip fills with its colour when that session has an unread completion or is waiting for input.

Limits

  • The page has to be open. If DSH is closed there is no popup — this is not a system notification.
  • Chips are letters, not images. There is no avatar upload.
  • Chip positions and the dock layout live in the browser's localStorage; pending calls live in the host's memory and are cleared when DSH restarts.
  • The 留言本 shortcut only lights up when the workspace contains 留言本/留言本.md.

Requirements

DeepSeek Harness 0.2.x (developed against 0.2.2-rc.5).

License

MIT.


中文

给 DeepSeek Harness 的网页界面加两样东西:

  1. 呼叫弹窗:agent 调 call_user,屏幕中间弹出一张卡片,带【确认】【跳转】。
  2. 灯牌:一排 32×32 的会话小方块,可以拖。点一下切到那个会话;那个会话有未读、或者在等你操作时,方块会填上颜色。

设置

点侧边栏底部那盏灯右上角的小齿轮。可以改:

  • 提示音开/关、音量
  • 自己的音频文件(相对工作区,mp3 / wav / ogg / m4a)
  • 每个方块的颜色和文字

音频路径留空 = 用内置的三音。工作区里有 声音/提示音.mp3(或 .wav / .ogg / .m4a)会自动用它。

设置只存在这台电脑的浏览器里。

关掉它:点卡片外面、按 Esc、或点右上角 ×。

安装

dsh plugin --profile <你的 profile> add github:BaihaiMianbaofang/dsh-liangdeng

或者:插件 → 添加插件,选这个文件夹;然后 Ctrl + Shift + R 刷新页面。

用法

call_user(
  from    = "打样",
  title   = "女05 对照好啦",
  body    = "448 norm 宽度零差异",   // 可省略
  session = "<会话 id>"              // 可省略;填了才有【跳转】
)

限制

  • 页面得开着;DSH 关掉就不会弹,这不是系统通知。
  • 方块是首字 + 颜色,没有图片头像。
  • 布局存在浏览器 localStorage,待确认的呼叫存在宿主内存里,重启清空。
  • 「留言本」入口只有在工作区里有 留言本/留言本.md 时才亮。

许可

MIT。

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

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