DeepSeek Harness Plugin

aa2246740/dsh-notch#dsh-notch-focus

Stars ★ 7 Downloads (30d) 1,056 Category Notifications & Integrations Added 2026-10-13 npm dsh-notch-focus

Companion for DSH Notch that synchronizes session navigation and read state with DSH Desktop and Web.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-notch-focus

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/aa2246740/dsh-notch/releases/download/v0.3.4/dsh-notch-focus-0.1.2.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:aa2246740/dsh-notch#path:/companions/dsh-notch-focus

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

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.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.