DSH Notch 的配套助手,同步 Desktop、Web 与 Notch 之间的会话跳转和已读状态。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-notch-focus
# Release 预构建包
dsh plugin --profile web add -w "https://github.com/aa2246740/dsh-notch/releases/download/v0.3.4/dsh-notch-focus-0.1.2.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:aa2246740/dsh-notch#path:/companions/dsh-notch-focus
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 Notch 的客户端同步助手。0.1.6 源码的 @deepseek-ai/dsh-* peer 为 >=0.2.2-rc.1 <0.2.3,对应 DeepSeek Harness dsh-v0.2.2-rc.5 Desktop / Web,与 dsh-notch 0.3.9 同时更新。该范围接受 0.2.2-rc.5 和稳定版 0.2.2,拒绝 0.2.1-rc.5、0.2.1 和 0.2.3。已发布的 0.1.1 包仍在 v0.3.2 Release 里。
- 从 Notch 点击会话,通过 RC2 的
uiWorkspace.openSession打开对话。 - 从 RC2
uiSession.sessionStatus读取未读完成状态,通过retainedBy.mainView识别当前会话。 - 仅前台页面查看已完成会话时发送带时间的阅读确认;后台页面、仍运行的会话不会清除未读结果。
- 保留用户 fork,只排除
origin: subagent的子代理;允许 API 创建的自定义会话 ID。 - 首次轮询忽略旧跳转请求,避免重新打开页面时意外切换会话。
安装
与 Host 插件装到同一个 profile。Desktop 在添加插件向导里填 dsh-notch-focus;Web 使用:
dsh plugin --profile web add dsh-notch-focus
离线包是 v0.3.9 Release 的 dsh-notch-focus-0.1.6.tgz。已发布的 0.1.1 包仍在 v0.3.2 Release。
包内已有官方 dsh.bundle.patch,不要再手动追加同名条目。按管理器提示完成加载并重新打开页面;已有安装更新原条目。只替换磁盘文件不代表当前页面已加载新代码。
从源码构建
开发者需要 Node.js 24、DSHX 和已备好依赖的 dsh-v0.2.2-rc.5 Harness checkout。在本目录运行:
npm ci --ignore-scripts --legacy-peer-deps
DSHX_HARNESS=/absolute/path/to/deepseek-harness npm run build
编译只写本插件的 lib/。客户端产物为 lib/client.js,使用 DSHX 的外部构建适配器。发布包已经带有该产物,安装者无需源码构建或 DSHX。
English
The 0.1.6 companion source targets DSH dsh-v0.2.2-rc.5 Desktop and Web with Notch 0.3.9. Its @deepseek-ai/dsh-* peer is >=0.2.2-rc.1 <0.2.3: that accepts 0.2.2-rc.5 and stable 0.2.2, and rejects 0.2.1-rc.5, 0.2.1, and 0.2.3. It uses uiWorkspace.openSession, uiSession.sessionStatus, and main-view retention for bidirectional navigation and timestamped reading acknowledgements. Inactive pages and running sessions cannot clear unread results. User forks remain independent; delegated subagents are excluded. The published 0.1.1 tarball remains on the v0.3.2 release. Offline install uses dsh-notch-focus-0.1.6.tgz from the v0.3.9 release.
Install the prebuilt .tgz from the linked release using the Desktop Plugins page or the Web CLI above. Both plugins must use the same profile. The package supplies its Bundle patch; do not mount it again manually. Follow the manager's loading instructions and reopen the page. Client HMR in every Desktop variant is not claimed.
链接
同类插件
xmanrui/dsh-im★ 3832
通过二维码或机器人凭据将 IM 机器人接入 DeepSeek Harness(支持飞书、微信、钉钉、企业微信、QQ、Slack、Telegram、Discord 和 WhatsApp 共 9 种渠道)。
shaobeichen/dsh-pocket★ 3187
手机远程访问 DSH Web 界面:扫码即用局域网或公网(cloudflared 隧道)访问,实时同屏、移动端适配布局,带设置页管理。
c1overzz/dsh-bili-scroll★ 1478
让你的 DSH 自己刷 B站 —— 读字幕原文挑内容、写日报,遇到值得看的会发评论 @ 你。
OpenPetsHQ/openpets#dsh★ 1416
将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 611
通过 WebSocket V2 将 DeepSeek Harness 接入 Avernet Bot 协作网络,支持自动注册、Agent 会话隔离、工具调用事件和多 Bot 路由工具。
zaofan-make/dsh-qqbot★ 286
QQ 官方机器人通道(tencent-connect/dsh-qqbot 的增强 fork):群/私聊ai陪聊、富媒体收发、表情包打标入库+检索发图、入群审批/禁言/群发、定时唤醒、QQ 远程审批与提问卡、互动按钮卡、多账号多实例、扩展接口、群友记忆注入、按消息价值唤醒省token、上下文自动压缩、悬浮球设置面板。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。