Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:chengzhi43/dsh-desktop-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 · English
DeepSeek Harness sessions run in the background. The plugin reports the two moments that need you: the turn finished, or the agent is waiting for your choice.
A star helps the next person who needs this plugin find it.
A session commonly runs for several minutes. While the window is in the background, two events matter: the turn finishes, or the agent stops and waits for an answer. The plugin delivers both through the system notification center, and a click returns to that conversation.
It is a client-side bundle: one directory, no dependencies, no build step, no network requests, and nothing written to disk.
| Event | Body | Click |
|---|---|---|
| A turn finishes | <conversation> · finished |
Opens that conversation |
| A question, approval, plan review, or action card starts waiting | <conversation> · waiting for your choice |
Opens that conversation |
The title is always DeepSeek Harness; the body carries the conversation name and the state. The state text follows the application language, currently eight of them. Subagent conversations are excluded, and a pending request that is published again does not produce a second notification.
Two methods are available. Either one produces the same plugin directory.
https://raw.githubusercontent.com/chengzhi43/dsh-desktop-notify/main/index.json
dsh-desktop-notify. Choose Install. Every entry pins a commit, so the installed files match the listed version.The index file can be inspected directly at index.json.
dsh-desktop-notify.zip from the latest release.package.json.Cmd/Ctrl + R.For both methods, the operating system must permit notifications from the application: macOS System Settings → Notifications → DeepSeek Harness, Windows Settings → System → Notifications.
Platform verification, including the open Windows toast question, is recorded in docs/WINDOWS-VERIFICATION.md.
DSH client (open page)
uiSession.sessionStatus running + highest-precedence pending interaction
dsh-desktop-notify diff one snapshot against the previous one
Notification "<title> · finished" / "<title> · waiting for your choice"
click uiWorkspace.openSession(sessionId)
fallback: sessions.list running state only, completions still announced
The plugin keeps a small map in memory and compares each snapshot with the previous one. A running value that changes from true to false indicates a finished turn; a new pending-interaction key indicates that the application expects an answer. No state is persisted, and unloading the bundle removes the subscription.
The state it reads is the one the application already publishes, the same source behind the sidebar indicator and the pending panel in the composer. Approval prompts and plan reviews are covered for that reason: they share this status, so no separate handling is required.
uiSession.sessionStatus falls back to the conversation list and then reports completions only, without the waiting state.dsh://open call, which this plugin does not make.git clone https://github.com/chengzhi43/dsh-desktop-notify.git
cd dsh-desktop-notify
node --check client.js
node test/harness.cjs
The harness replaces the client services with stubs, so it runs without a DOM, Electron, or DSH. It covers completion, pending choice, duplicate suppression, subagent exclusion, click navigation, teardown, and the fallback path. CI runs the same commands on Linux and validates the index file; see .github/workflows/checks.yml.
Issues in Chinese or English are both acceptable. For code changes: keep the bundle dependency-free and client-side, keep the status comparison as the only source of state, and add an entry to CHANGELOG.md. A new kind of notification usually means the application gained a new pending interaction rather than that this plugin needs more code.
MIT. Use, fork, and redistribute it inside your own setup.
If the plugin is useful: star the repository, watch releases for updates, and open an issue when a notification is missing or repeatedly noisy.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notifications。