Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Lubaoshuai/dsh-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Push notifications for DeepSeek Harness. Two capabilities in one plugin:
notify_send tool — the agent can push a message to your phone / chat at any time: long build finished, approval needed, nightly job done, error hit.@deepseek-ai/dsh-schedule package delivers reminders only inside the conversation (by design, "no email, SMS, or push notification"). dsh-notify watches the same schedule/change event stream and mirrors every dispatch to your channels, so a reminder also reaches you outside the session.| Channel | Fields | Notes |
|---|---|---|
telegram |
botToken, chatId, apiBase? |
Bot API sendMessage; apiBase for self-hosted bot API servers |
slack |
url |
Incoming webhook |
discord |
url |
Webhook |
feishu 飞书 |
url, secret? |
Custom bot; HMAC signing supported |
dingtalk 钉钉 |
url, secret? |
Custom bot; HMAC signing supported |
bark |
deviceKey, barkServer? |
iOS push; server defaults to https://api.day.app |
ntfy |
topic, server?, token? |
Server defaults to https://ntfy.sh |
webhook |
url, headers? |
Generic POST of { title, message, level, source, timestamp } |
Configure any number of channels; every notification fans out to all of them concurrently. One broken channel never blocks the others — the tool reports a per-channel receipt.
dsh plugin --profile web add dsh-notify # from npm once published
dsh plugin --profile web add github:Lubaoshuai/dsh-notify # straight from GitHub
Then restart your dsh web session. The notify_send tool appears in the conversation.
Create ~/.dsh/dsh-notify/config.json (respects $DSH_HOME):
{
"channels": [
{ "type": "feishu", "url": "https://open.feishu.cn/open-apis/bot/v2/hook/xxx", "secret": "optional" },
{ "type": "telegram", "botToken": "123456:ABC", "chatId": "42" },
{ "type": "bark", "deviceKey": "your-device-key" }
],
"scheduleNotifications": true,
"timeoutMs": 15000
}
The plugin also registers the dsh-notify settings namespace, so when a settings provider is mounted its document layers on top of the file. Changes are picked up live; no restart needed.
Restart dsh after editing the file, then ask the agent: "notify me when the tests finish" — or schedule a reminder and watch it arrive on your phone.
notify_send is a normal registered tool: typed JSON-Schema arguments, canonical { delivered, failed, results } output, cooperative timeoutMs, concurrency-safe.schedule/change events (create → delete → dispatch) per session, exactly like the official package, so the notification can quote the original reminder prompt (dispatch events carry only the id).dsh must be running for a notification to fire (any in-process plugin has this limit). A reminder that fires while dsh is closed is delivered by schedule on next resume, and dsh-notify mirrors it then.DSH_HOME; keep it file-mode 0600 if the machine is shared.webhook channel posts to whatever URL you configure — use HTTPS and treat it as an outbound integration, not an inbound API.npm install
npm run check # typecheck + tests + build + pack dry-run
npm run typecheck — two tsc passes (sources, sources+tests)npm test — vitest: fold protocol, per-channel HTTP payloads (local node:http server), signing schemes, config normalizationnpm run build — tsc emit to lib/ (JS to lib/, declarations to lib/types/)Peer dependencies track the published @deepseek-ai/* packages; the plugin loads against the real harness (dsh.bundle patch row in cordis.patch.yml, row name = package name).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: telegram、notification。