Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:BillyWang-7/dsh-turn-bell
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DSH plugin that rings a native DeepSeek Harness notification — the app's own icon and sound — when a turn finishes, or when the agent is waiting for you to approve something or answer a question. Clicking the banner opens the conversation it is about.
com.deepseek.dsh),所以横幅上是 DSH 的应用图标和提示音,系统设置里也是按 DSH 这个应用来管。dsh plugin add dsh-turn-bell
或者从本地目录安装(开发时):
dsh plugin add /path/to/dsh-turn-bell
装好后刷新一次 Web 页面(macOS 按 Cmd+R,Windows / Linux 按 Ctrl+R)或重开窗口,让新的客户端模块加载。
系统设置 → 通知 → DeepSeek Harness(Windows:设置 → 系统 → 通知;Linux:系统通知设置里找 DeepSeek Harness)。第一次弹之前系统可能先问你一次是否允许;关掉过的话在这里重新打开。横幅样式与专注模式屏蔽都在这一页。提示音在 macOS 上可由宿主兜底通道的 sound 指定;渲染通道与 Windows 的提示音跟随系统,不想响就在系统里把 DSH 的通知声音关掉。
插件带一个宿主端兜底通道(macOS 用 osascript,Linux 用 notify-send),默认关闭。只有在渲染进程不可用(比如纯 CLI 场景需要通知)时才需要打开;macOS 上那条通道的横幅会被系统归到「脚本编辑器」,所以不建议和渲染进程通道同时开。Windows 不提供宿主通道——桌面端始终有渲染进程,用渲染通道即可。
| 键 | 默认 | 含义 |
|---|---|---|
enabled |
false |
打开宿主端兜底横幅 |
title |
DeepSeek Harness |
兜底横幅标题 |
subtitle |
任务完成 |
兜底横幅副标题,留空则不显示 |
sound |
Glass |
兜底提示音(仅 macOS);silent 表示不响 |
notifySubagents |
false |
子代理会话也通知(仅兜底通道) |
notifyOnBlocked |
false |
blocked 的轮次也通知(仅兜底通道) |
这些值写在插件的 cordis.patch.yml 里,也可以在插件列表里改。
uiSession.sessionStatus 和 uiWorkspace.openSession,在 DSH 0.2.x 上验证(0.2.2-rc.3)。notify-send 兜底需要系统装有 libnotify。node --check client.js
node --check index.js
node test/client-harness.mjs # 桩环境跑通知逻辑,不联网
client.js 不监听宿主事件总线,只读客户端发布的会话状态表——客户端模块收不到宿主的 session/event,这是这套实现的核心约束。
com.deepseek.dsh).dsh plugin add dsh-turn-bell
From a local checkout during development:
dsh plugin add /path/to/dsh-turn-bell
Reload the Web page (Cmd+R on macOS, Ctrl+R on Windows and Linux) or reopen the window afterwards so the client module is picked up.
System Settings → Notifications → DeepSeek Harness (Windows: Settings → System → Notifications; Linux: the system notification settings). The OS may ask once before the first banner; if it was turned off, re-enable it there. Banner style and Focus filtering live on that page. On macOS the fallback channel can pick a sound name; the renderer channel — and Windows generally — use the system default, so turn the app's notification sound off in the OS to silence it.
A host-side fallback ships disabled (osascript on macOS, notify-send on Linux). Enable it only where the renderer is unavailable; on macOS banners from that path are attributed to “Script Editor”, so do not run both channels at once. Windows has no host channel — the desktop app always has a renderer.
| Key | Default | Meaning |
|---|---|---|
enabled |
false |
Turn the host-side banner on |
title |
DeepSeek Harness |
Fallback banner title |
subtitle |
任务完成 |
Fallback subtitle; empty omits it |
sound |
Glass |
Fallback sound name (macOS only); silent for none |
notifySubagents |
false |
Also notify for subagent turns (fallback only) |
notifyOnBlocked |
false |
Also notify for blocked turns (fallback only) |
Set these in the plugin's cordis.patch.yml, or edit the row in the plugin list.
uiSession.sessionStatus and uiWorkspace.openSession APIs; verified on DSH 0.2.x (0.2.2-rc.3).notify-send fallback needs libnotify installed.node --check client.js
node --check index.js
node test/client-harness.mjs # exercises the notification logic against stubs
client.js reads the client-published session status store instead of listening to host events: client modules never receive the host session/event bus, and that constraint shapes the whole implementation.
MIT © BillyWang (Billy王)
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notification、notifications。