Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yaorenliang/dsh-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
★ Star the repo if this saved you a plugin — that is how the next person finds it.
One notification plugin for DeepSeek Harness: browser system notifications and Bark push, decided once.
Most setups end up with two plugins — one that shows browser notifications and one that pushes to a phone. They classify events independently, so they drift: the phone reports "turn 12 ended" while the browser reports "finished", an approval arrives twice, and a subagent's chatter leaks into both. dsh-notify classifies once on the Host, then fans the same event out to every channel.
completed, failed, interrupted, approval, question. Each logical happening is delivered at most once./api fence; there is no unauthenticated route to change your device key.dsh plugin --profile web add @yaorenliang/dsh-notify
Then reload the page and open Settings → Session alerts, paste your Bark device key, enable the channels you want, and press Test on each. The profile hot-applies the bundle, so no restart is required.
From a local checkout:
pnpm install
pnpm build
dsh plugin --profile web add ./dsh-notify
The Host owns one JSON document in the active profile directory (~/.dsh/profiles/web/dsh-notify.json by default, or $DSH_PROFILE_DIR when set). The browser only ever receives a redacted projection: a secret shows as configured plus its last four characters, an empty field keeps the stored value, and only an explicit null erases one.
| Key | Meaning |
|---|---|
bark.baseUrl |
UI root a push click opens, e.g. http://127.0.0.1:3080. Empty pushes without a link. |
notifySubagents |
Whether sessions spawned by another session may alert. Off by default. |
events.<kind>.enabled |
Per-kind switch for both channels. |
events.<kind>.sound |
Browser sound: chime, fault, pop, alert. |
events.<kind>.barkSound |
Bark sound name; system uses the device default. |
browser.enabled / browser.volume |
Browser channel and its volume (0–1). |
browser.currentSessionMode |
hidden (quiet only while the tab is visible), unfocused (quiet only while focused), always. |
bark.enabled / bark.serverUrl / bark.deviceKey |
Bark channel and credentials. |
bark.group |
Notification group shown by the Bark app; defaults to DSH. |
Host events ──► classifier ──► delivery policy ──► ┬─► Bark (HTTPS)
(turn/end, (5 kinds, (subagent, └─► SSE ──► browser card + sound
approval/asked, one per presence,
questions) happening) per-kind switch)
session/event for turn/end, to the approval/request waterfall for permissions, and to user-questions/request for questions. A turn is completed only when its recorded reason says so.visible, focused) and expires; an expired report means "nobody is looking" and the notification goes out./api/dsh-notify/*, registered through ctx.connection.fetch so Connection authenticates every request.>=0.2.2-rc.1 <0.3.0, Node >=20.https://api.day.app).pnpm install
pnpm test # unit tests for the event model, policy, config, and channels
pnpm typecheck
pnpm build # Host ESM entry + browser lazy-CJS bundle
node scripts/accept.mjs --test # after a restart: check the live Host end to end
Layout: src/core is pure logic (no Host, no DOM, runs under vitest), src/host owns classification and delivery, src/client owns presentation.
MIT © 姚壬亮
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notification。