Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:apodemakeles/dsh-macos-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Archived / superseded. This plugin is now part of
@apodemakeles/dsh-kit, which merges the token dashboard and turn notifications into one bundle. This repository is archived and no longer maintained.
English | 中文
A DeepSeek Harness (DSH) plugin: when a conversation turn finishes while the harness window is not in the foreground, show a macOS system notification. It also leaves an in-app unread dot on sessions that finished while you were away.
Status: v0.1.2, distributed from GitHub. The unscoped npm name
dsh-macos-notifybelongs to another package, so install this plugin from the@apodemakelesscope through GitHub.


| turn/end reason | notification |
|---|---|
completed, max-tokens, blocked |
title = session name, body = completed (localized) |
error |
title = session name, body = failed (localized) |
aborted, interrupted, unknown |
silent |
| subagent sessions | silent |
document.hasFocus() === false).The desktop profile is managed by the Electron app, so dsh plugin --profile desktop is refused. Add the dependency and the bundle to the profile the same way the app's plugin manager does:
DSH_HOME=${DSH_HOME:-$HOME/.dsh}
PROFILE="$DSH_HOME/profiles/desktop"
pnpm --dir "$PROFILE" add github:apodemakeles/dsh-macos-notify
Then add @apodemakeles/dsh-macos-notify to dsh.profile.bundles in $PROFILE/package.json:
{ "dsh": { "profile": { "bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@apodemakeles/dsh-macos-notify"
] } } }
Restart the app. Plugins → Installed lists the plugin, and Settings → Notifications shows the switch.
dsh plugin --profile web add github:apodemakeles/dsh-macos-notify
# restart dsh web
Each GitHub release includes apodemakeles-dsh-macos-notify-<version>.tgz:
dsh plugin --profile web add file:/path/to/apodemakeles-dsh-macos-notify-0.1.2.tgz
The first notification needs permission: click Request permission or Send a test notification in Settings → Notifications, then allow DeepSeek Harness in System Settings → Notifications.
A Focus mode can silently hold notifications (delay delivery) even when the app is allowed. Add DeepSeek Harness to that Focus mode's allowed apps, or turn the Focus mode off. The in-app unread dot is independent of Focus.
src/index.ts, src/projection.ts) registers a turn-notify session projection. It folds turn/start and turn/end.reason and exposes { turn, reason } to the client. No webServer route, launch token, or Electron shell code.src/client/index.ts) watches the session list, detects a fresh projection turn, applies the master switch / subagent filter / reason mapping / focus gate, shows a browser Notification, and opens the session with uiWorkspace.openSession(id) on click. The unread dot is rendered through the official sidebar.session.row.leading slot, only while the official status dot is idle.zod for the projection schema; React stays external in the client and comes from the shell's module table.0.2.x (engines.dsh: >=0.2.0-rc.1 <0.3.0); tested with the desktop app 0.2.1-rc.2 and CLI 0.2.0-rc.1.>=22.git clone https://github.com/apodemakeles/dsh-macos-notify.git
cd dsh-macos-notify
pnpm install
pnpm typecheck
pnpm test
pnpm build
pnpm build produces:
lib/index.js — host ESM; registers the projection.lib/client.js — browser CJS bundle wrapped in the window.__ModuleLoader__.load factory.lib/types/** — declaration files.For local development, install the checkout into a profile with dsh plugin --profile web add link:$(pwd) (or the equivalent pnpm --dir "$PROFILE" add link:$(pwd) for the desktop profile).
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notifications。