aa2246740/dsh-notch
Native macOS Notch for DSH sessions, inline answers and animated task status
Project Overview项目介绍
DSH Notch is a macOS-native companion built specifically for the DeepSeek Harness desktop client, pinning real conversation status, pending questions, and unread results into a compact notch window along the screen edge. It ships as two coordinated pieces: an in-app Host plugin loaded inside DSH that syncs active sessions, background subagents, and approval prompts and writes a private connection file at $DSH_HOME/dsh-notch/runtime.json, plus a SwiftUI/AppKit/Canvas binary that renders the notch, animates elastic docking, opens the official com.deepseek.dsh desktop bundle on click, and falls back to the legacy local.dsh.desktop shell. Status is encoded as four counters — blue for running sessions, yellow for awaiting input or approval, green for unread completions, and red for failures — and idle returns to an OpenBotMotion robot that stays put when nothing else needs attention.
The intended workflow is for DSH power users running long sessions with spawned subagents and external workers from Codex, Claude Code, ACP, and the DSH SDK: install dsh-notch@0.3.4 and dsh-notch-focus@0.1.2 via the official Desktop plugin manager or dsh plugin --profile web add …, extract dsh-notch-0.3.3-macos-arm64.tar.gz, run ./dsh-notch --verify-idle-resources to confirm IDLE_RESOURCES=10/10, and then launch ./dsh-notch. Once running, clicking the notch returns to the originating conversation, answering a prompt inside the notch submits it back to the subagent, and bringing a completed session to the front in DSH clears its unread badge. Subagents, workflow tasks, and externally imported background jobs are all rolled up under their parent conversation, so the blue and green counters reflect user-facing dialogs rather than every background worker.
Prebuilt artifacts target macOS 14 on Apple Silicon only; other architectures require a source build. Building from source needs Node.js 24, Swift 6, the Xcode Command Line Tools, and, for the dsh-notch-focus companion, the dshx devkit at version 0.9.2 against a dsh-v0.2.0-rc.2 Harness checkout. First-run caveats include keeping the terminal open until idle resources verify, ensuring both the Host and the binary point at the same DSH_HOME, never launching a second instance manually while helperPath is set, and re-running npm run build plus npm run build:macos after any change to src/. The repository is MIT-licensed, only reads state without consuming model notifications, and the bundled bot assets are derived from OpenBotMotion under its retained MIT notice.
DSH Notch 是一款专为 DeepSeek Harness 打造的 macOS 边缘状态栏插件,专注于把真实会话的运行态、待答问题和未读结果以紧凑的 Notch 窗口固定在屏幕边沿。它由两部分组成:装入 DSH 的 Host 插件负责同步会话并生成 $DSH_HOME/dsh-notch/runtime.json 私有连接文件;原生 SwiftUI/AppKit/Canvas 程序负责渲染和点击交互,点击会话可唤起官方 com.deepseek.dsh 桌面版并跳回对应对话,闲置时回到待机机器人。
典型流程是在官方 DSH 桌面端或 Web profile 中启用 dsh-notch@0.3.4 与 dsh-notch-focus@0.1.2,再解压 dsh-notch-0.3.3-macos-arm64.tar.gz 并执行 ./dsh-notch;状态灯分蓝/黄/绿/红四色,蓝色为运行中会话、黄色为待回答问题、绿色为未读完成、红色为失败结果。子代理归入主对话计数,工作流和嵌套子代理不单独累加;外部 Codex、Claude Code、ACP、DSH SDK 子代理转入官方后台任务后同样归并到主对话。
依赖上,预编译包只需 macOS 14+ 与 Apple Silicon;源码构建需要 Node.js 24、Swift 6、Command Line Tools,以及 DSHX 0.9.2 与 dsh-v0.2.0-rc.2 Harness checkout。首次运行必须保持终端打开并核对 IDLE_RESOURCES=10/10,自定义 DSH_HOME 时 Host 与原生程序需指向同一 Home,插件与二进制也不要分开存放。多 Home、远程 Host 与各版本 DSH 的兼容性不可只凭安装成功判断。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-notch(aa2246740/dsh-notch)
仓库:https://github.com/aa2246740/dsh-notch
本站详情页:https://www.yhbd.top/plugins/aa2246740-dsh-notch/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-30 · 主语言 Swift
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-notch@0.3.4
把 aa2246740/dsh-notch 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Notch
DSH Notch 是 DeepSeek Harness 的 macOS 插件。 它把真实会话的运行状态、待回答问题和未读结果放在屏幕边缘:查看任务、直接回答问题、点击回到对应会话;空闲时显示待机机器人。
插件包含两部分:装进 DSH 的 Host 插件负责同步会话,原生 Notch 程序负责显示和交互。下面的安装步骤会装好这两部分。
安装
DSH Notch 0.3.4 支持官方 DeepSeek Harness 0.2.0-rc.2。 从 npm 安装 dsh-notch@0.3.4 和 dsh-notch-focus@0.1.2。原生 macOS 程序继续使用 0.3.3,包含在下面的发布页中。本次只调整 npm 打包和安装说明,运行代码与 0.3.3 相同。
1. 下载发布包
从 v0.3.4 Release 下载:
| 文件 | 用途 |
|---|---|
dsh-notch-0.3.4.tgz |
Host 插件,提供状态、问题和原生程序连接 |
dsh-notch-focus-0.1.2.tgz |
客户端同步助手,负责双向会话跳转与已读同步 |
dsh-notch-0.3.3-macos-arm64.tar.gz |
macOS 14+、Apple Silicon 原生程序及机器人资源 |
SHA256SUMS |
下载校验;与上述文件放在同一目录后执行 shasum -a 256 -c SHA256SUMS |
预编译包无需 Swift 或 DSHX。其他架构需从源码构建,尚未提供验收过的预编译包。
2. 在 DSH 安装两个插件包
官方 Desktop: 在应用内插件管理页分别输入 dsh-notch@0.3.4 和 dsh-notch-focus@0.1.2,确认都已启用,按应用提示完成加载,再重新打开页面。Desktop profile 由应用管理。
Web: 对运行中的 Host 使用相同的 DSH_HOME,在下载目录执行:
dsh plugin --profile web add dsh-notch@0.3.4
dsh plugin --profile web add dsh-notch-focus@0.1.2
两个包都声明了官方 dsh.bundle.patch。按插件管理器的提示加载,并重新打开页面;不要再手工追加同名 insert。已有安装应更新原条目,避免 Bundle 与旧手动配置重复挂载。
Host 加载后生成 $DSH_HOME/dsh-notch/runtime.json。这是插件管理的私有连接文件,不需要填写或分享。找不到它时,先检查 Host 插件的加载错误。
3. 解压并启动原生程序
tar -xzf dsh-notch-0.3.3-macos-arm64.tar.gz
cd dsh-notch-0.3.3-macos-arm64
./dsh-notch --verify-idle-resources
./dsh-notch
资源检查应输出 IDLE_RESOURCES=10/10。首次运行请保持终端打开;如果已有桌面启动器管理 Notch,更新它使用的那份程序即可。移动时始终把 dsh-notch 和 DshNotch_DshNotch.bundle 放在一起。使用自定义 DSH_HOME 时,原生程序和 Host 必须指向同一 Home。
可在 Host 插件配置中把 helperPath 设为已解压的 dsh-notch 的绝对路径,让插件随 Host 管理辅助进程;配置后按应用的插件加载提示生效。请勿同时手工启动另一份。
4. 确认同步正常
- 正在运行的主会话显示蓝色计数;完成、失败或等待回答显示对应状态。
- 点击 Notch 的会话,DSH 打开对应对话。
- 在 DSH 前台打开已完成的会话,Notch 清除该条未读状态;仍在运行的任务继续保留。
- 全部结果读完后,Notch 回到机器人待机。
Notch 跟随连接文件中的 Host 进程退出。临时请求失败不会让它退出;只关闭窗口而 Host 仍在后台运行时,它会继续显示任务。桌面托管说明介绍了辅助程序的退出与快速重启联动。
使用
| 状态 / 操作 | 含义 |
|---|---|
| 蓝色数字 | 正在运行的会话数量 |
| 黄色感叹号 | 有待处理的问题或决定 |
| 绿色数字 | 未读的完成结果 |
| 红色数字 | 失败结果 |
| 点击问题选项 | 直接提交该选项;多选或多题按面板提示完成 |
| 点击问题标题 | 回到 DSH 查看完整上下文 |
| 全部结果读完 | 回到机器人待机 |
| 拖动 Notch 后松手 | 弹性收纳到屏幕边缘;再拖出即可恢复 |
| 隐藏时出现新完成、错误或待审批问题 | 自动弹回正常紧凑状态;同一提醒不会因轮询反复弹出 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Nwflower/dsh-chat-import
PolinniZhong/dsh-knit
MichengAI/dsh-automation
titanwings/dsh-plannotator
AHGGG/dsh-side-chat
bobleer/dsh-acp-for-bitfun