Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:mill413/dsh-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文说明
Desktop notifications and configurable HTTP pushes for DeepSeek Harness. Get a reminder when a task stops running or needs approval, an answer, or plan review. Clicking a desktop notification returns you to its session.
The published version is 0.4.2, validated with npm DSH 0.2.1-rc.3. Other host versions have not been verified. MIT licensed.
The plugin is published on npm; no source build is needed:
dsh plugin --profile web add @mill413/dsh-notify@0.4.2
Use the DSH CLI that runs your target profile, with the same DSH_HOME. If you use Launcher, use its configured DSH_LAUNCHER_DSH_COMMAND. The package includes its bundle patch; do not edit the host or profile manually.
Reload DSH and refresh the page after installation. On installations managed by dsh-web.service, restart that user service once installation is complete, then check its status.
| Channel | Events | Requirements |
|---|---|---|
| Desktop notification | Main session stops running; new approval, question, or plan-review request | Keep the DSH page open and allow browser notifications |
| HTTP push | Main agent changes from running to idle; an agent requests approval or asks a question | Keep the DSH host running; the browser may be closed |
Subagent completion does not produce a separate completion alert; subagent approval and question requests do. Desktop notifications are sent only while the page is hidden or unfocused by default. This restriction does not apply to HTTP pushes.
“Task complete” refers to a running-to-idle transition and does not guarantee success. The HTTP channel does not subscribe to a separate plan-review event. Initial browser snapshots establish a baseline and do not replay old alerts.
Desktop notifications and HTTP pushes have separate master switches. Completion and attention-needed preferences are shared between the channels. The HTTP test uses the current unsaved form and works while the channel is disabled.
Requests run on the DSH host. An endpoint containing localhost refers to that machine. Supported methods are POST, PUT, PATCH and GET; GET has no body. You may configure authentication headers, a body template and an icon URL. Endpoint URLs must use HTTP(S) and cannot contain a username or password.
Default body:
{"title":"{{title}}","body":"{{body}}","level":"{{level}}","group":"{{group}}","icon":"{{icon}}"}
Template variables: title (session title), body (event summary), event (complete, approval, question, or test), level, group, sessionId, time and icon. Unknown variables are left unchanged. Substitution applies to body values, not URLs, headers or JSON keys. Valid JSON is parsed before substitution and serialized afterwards; other bodies are treated as text without URL encoding.
A request with a body defaults to application/json unless a Content-Type header is supplied. Requests time out after five seconds. There is no retry or offline queue; HTTP 2xx is treated as successful delivery to the configured endpoint, not proof of delivery to a recipient.
HTTP delivery is disabled by default and has no built-in third-party destination. Only the endpoint you configure receives requests. The default template sends the session title and event summary; the plugin does not proactively send conversation contents. Credentials are stored with the plugin settings in the DSH profile and are not encrypted by this plugin. Do not commit real request headers or credential-bearing screenshots.
The test route uses DSH authentication. Users with access to it can ask the host to contact a configured HTTP address, including addresses on its network. Follow the host's access controls.
Use Node.js 22.18.0 or newer and the package manager declared in package.json. SDK development dependencies come from npm and are pinned to the target DSH version; the repository does not depend on an adjacent Harness checkout.
pnpm install --frozen-lockfile
pnpm run verify
pnpm run test:release
pnpm test
pnpm run build
pnpm run check:package
The package includes host code, browser UI, locale files, its bundle patch and icon. The settings UI supports Chinese and English; default HTTP titles and bodies are Chinese and can be customized through the body template. See publishing instructions for the GitHub/npm release workflow.
MIT © 2026 mill413.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notifications、webhooks。