Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:idoall/dsh-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
In-page task notifications for DeepSeek Harness: clear status toasts, a collapsible stack, sound, and background-tab attention. Live delivery only — notification records are never stored.
English | 中文
What it does · Quick start · Settings · Compatibility · Uninstall · Changelog
DSH Notify is a DeepSeek Harness community plugin. It registers only a settings section and an in-page overlay; it does not modify DSH source.
When a session really stops, fails, asks a question, or needs approval, a card appears in the top-right corner of the current page. A green Task completed card follows DSH's native agent/status: idle transition — the same state that stops the session-tree spinner — rather than the earlier moment when text first looks complete. Intermediate goal rounds and queued follow-up turns stay quiet. Everything happens in the page you already have open: there is no service worker, web push, host OS notification, or notification history.
18px lower edges. Pointer entry or keyboard focus expands the pile. From two cards on, a Clear all action sits above the pile and retires every card on this page at once; clearing stays page-local, so a pending question or approval is untouched and still waits in its session. The page keeps up to 50 live cards; pending actions are prioritised before ordinary cards, then newer cards come first.idle, matching the session-tree spinner instead of guessing from a rendered answer or an elapsed timer. A plan review and an execution approval are control gates, so their temporary idle pause does not create an extra completion card; the later work turn supplies the one card. An ordinary question is different: if its answer directly finishes the task, that same turn still produces one green card. If work resumes, the prior candidate is cancelled and only the final native-idle transition is announced.Requirements:
0.2.2-rc.4Install from npm into your Web profile:
dsh plugin --profile web add @idoall/dsh-notify@latest
Install from GitHub:
dsh plugin --profile web add "github:idoall/dsh-notify"
From a local clone:
git clone https://github.com/idoall/dsh-notify.git
cd dsh-notify
npm install
dsh plugin --profile web add "link:$(pwd)"
Reload the profile or restart DSH only when its plugin host has not hot-reloaded the client. The client registers settings.section and shell.overlay; the host mounts through cordis.patch.yml.
Name note: the unscoped npm name
dsh-notifybelongs to another author. Install this plugin as@idoall/dsh-notify. Its internal Cordis name, mount id, and/plugins/dsh-notify/*routes remaindsh-notify.
Settings → Notifications provides a compact preview-first control surface:
| Setting | Default | What it does |
|---|---|---|
| Toast position | conversation top-right | Anchors the overlay to the chat column and follows sidebar layout changes. |
| Notification style | Enhanced | Enhanced uses clear status colours and a short attention bar; Soft uses a quieter presentation. |
| Collapse multiple notifications | on | From two cards onward, show the newest card fully and stack older cards below it; hover or focus expands them. |
| In-page sound | on | Plays one cue when a polling batch admits one or more new visible Toasts, including while DSH is in a background tab. Built-ins: chime, ping, alert, silent; custom uploads are supported. |
| Subtask / background completion | off | Enables notifications for subagents, background jobs, and workflows, which can otherwise be noisy. |
| Preview and self-test | — | Sends page-local examples only: Completed, Confirm, Failed, Info, replay all four styles, fold the active examples, or clear them. No test sends a system notification or changes a real task. |
Custom sounds are stored in <dataDir>/sounds/ in the profile data directory, not the plugin installation. Uploads are limited to 1 MB and mp3 / m4a / aac / wav / ogg / flac; names must be a single path segment.
Above the cards, the page shows the running version against the newest one on npm: v0.4.15 ✓ 最新, v0.4.14 ➔ v0.4.15, or v0.4.15 · 检查失败. 检查更新 forces a fresh lookup (GET /plugins/dsh-notify/update?force=1, authenticated); a page load reuses the host's six-hour cache. When a newer version exists the row reveals dsh plugin --profile web add @idoall/dsh-notify@<version> with a copy button — installing it, and restarting DSH afterwards, stays your decision.
Current release: plugin 0.4.15 is verified against DeepSeek Harness 0.2.2-rc.4.
| Plugin | Verified DeepSeek Harness | What that version is |
|---|---|---|
0.4.15 |
0.2.2-rc.4 |
Declares DSH 0.2.2-rc.4 compatible. The one break since rc.3 moves the DeepSeek refusal code to CONTENT_REFUSED, which this plugin never classifies. Of the 15 packages it binds, everything is byte-identical apart from each package.json's version; only the general-settings display version and the module loader's reported commit changed at runtime. No notification source changes. |
0.4.14 |
0.2.2-rc.3 |
Declares DSH 0.2.2-rc.3 compatible and reviews every break between it and rc.1. Of the 15 packages it binds, nothing on its call path moved: dsh-host-webserver's register(route) half and dsh-client-connection's host half are byte-identical, and the hoc slot kind, JobError and one web/providers-changed declaration are all additive. No notification source changes. |
0.4.13 |
0.2.2-rc.1 |
Declares the new DSH RC compatible, preserves existing support, and updates bilingual release information and the current DSH Node.js requirement. No notification source changes. |
0.4.12 |
0.2.2-alpha.3 |
Fixes Client entry lifecycle handling (constructor detection and cleanup return), declares the current DSH alpha compatible, synchronizes lockfile DSH peer ranges, updates locked Zod, and adds bilingual release checks. Notification logic is unchanged; see the release notes for verification limits. |
0.4.11 |
0.2.2-alpha.2 |
Declares DSH 0.2.2-alpha.2 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: dsh-client-ui-renderer, which owns the whole slots service, is byte-identical, as are dsh-client-ui-settings, dsh-jobs, dsh-client-ui-slots, dsh-tool-workflow and dsh-client-connection's host half. The six packages that did change are all additive and off the notification call path — a second resource route style in dsh-host-webserver (its register(route) body and the {kind,path,handler} dispatch are unchanged), one new whenAccess() in dsh-client-ui-session, six locale dictionaries in dsh-client-ui-layout, require.asset plus the /plugins/<pkg>/assets route in dsh-client-modules, a settings-panel grid restyle in dsh-client-ui-settings-general (the seat's {close} props are unchanged), and one browser-transport type in dsh-client-connection |
0.4.10 |
0.2.1-rc.4 |
Declares DSH 0.2.1-rc.4 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: of the packages it binds, every one is byte-identical across 0.2.1-rc.3 → 0.2.1-rc.4 except dsh-client-ui-settings-general, whose client only substitutes the host version string it displays |
0.4.9 |
0.2.1-rc.3 |
Adds one-click clear-all above the notification pile — page-local, it never answers a waiting interaction; host requirement and DSH declarations are unchanged |
0.4.8 |
0.2.1-rc.3 |
Declares DSH 0.2.1-rc.3 compatible; notification behavior and the existing host requirement are unchanged |
0.4.7 |
0.2.1-rc.2 |
Declares DeepSeek Harness 0.2.1-rc.2 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: of the packages it binds, only dsh-client-ui-settings-general differs across 0.2.1-alpha.5 → 0.2.1-rc.2, and only in the host version string it displays. The host's cordis and schemastery also promoted to stable 4.0.5 / 3.18.5, which are byte-identical to the alphas this plugin already ran against |
0.4.6 |
0.2.1-alpha.5 |
Declares DeepSeek Harness 0.2.1-alpha.5 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: every package it binds is byte-identical across 0.2.1-alpha.4 → 0.2.1-alpha.5 except two that changed off this plugin's paths — dsh-tools (the run_code tool description) and dsh-client-ui-settings-general (the displayed host version string). Also fixes the Chinese README's DSH badge, which had been left two releases behind |
0.4.5 |
0.2.1-alpha.4 |
Declares DeepSeek Harness 0.2.1-alpha.4 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: every package it binds is byte-identical across 0.2.1-alpha.3 → 0.2.1-alpha.4 except dsh-client-ui-settings-general, whose only additions are a Host release prompt and its locale keys |
0.4.4 |
0.2.1-alpha.3 |
Declares DeepSeek Harness 0.2.1-alpha.3 compatible — one dshReleases line, since >=0.1.7-rc.1 <0.3.0 already admitted it. No source change: every interface it binds is unchanged, and the running 0.4.3 was already booting and delivering on 0.2.1-alpha.3 |
0.4.3 |
0.2.1-alpha.1 |
The 「通知位置」and「提示音」dropdowns pin their own 13px instead of following the host's content font size, which made them render larger than their own labels. Client half only |
0.4.2 |
0.2.1-alpha.1 |
A task that asked for your approval is announced again when it finishes (since 0.3.2 those completions were withheld forever), and 0.2.0-rc.2 / 0.2.1-alpha.1 are declared compatible — one dshReleases line each, since >=0.1.7-rc.1 <0.3.0 already admitted them |
0.4.1 |
0.2.0-rc.1 |
Compatibility follow-up: declares the DSH 0.2.0 line (>=0.1.7-rc.1 <0.3.0), so the plugin is no longer dropped at profile load when 0.2.0 ships. No source change — every interface it binds is unchanged |
0.4.0 |
0.1.7-rc.2 |
Online version detection in 设置 → 通知: the running version against npm's newest, a manual 检查更新 (?force=1), repository/changelog/issues links, and a copyable upgrade command — read-only, cached, and it never installs or restarts anything |
0.3.4 |
0.1.7-rc.1 |
Trigger-timing fixes: a failure is delivered at agent/error (one card with turn/end), a same-stack idle → running flap no longer announces a finished task, and the client pulls at once on a session-state change or a visible-again tab (1.5 s interval kept as fallback) |
0.3.3 |
0.1.7-rc.1 |
Adapts to DSH 0.1.7: job completions follow jobs.events.subscribe, tool results read the flattened tool-role message, in-toast answers read uiSession.sessionStatus, and @deepseek-ai/schemastery is a peer |
0.3.2 |
0.1.6-alpha.1 |
Completion follows native agent/status: idle; one green card per continuous task |
0.3.1 |
0.1.6-alpha.1 |
Sound matches visible delivery; open interactions recover after overlay remount |
0.3.0 |
0.1.6-alpha.1 |
Enhanced/soft styles, collapsed stack, and page-local self-test |
0.2.2 |
0.1.6-alpha.1 |
Latest published npm latest until 0.3.3 is released |
0.2.1 |
0.1.6-alpha.1 |
— |
0.2.0 |
0.1.6-alpha.1 |
— |
0.1.2 |
0.1.6-alpha.1 |
— |
0.3.3 supports the DSH 0.1.7 line only. DSH 0.1.7 removed jobs.onJobDone, flattened tool-result identity onto the tool-role message, and replaced uiSession.pendingInteractions with the unified sessionStatus snapshot. On an older DSH — including 0.1.6-alpha.1 — stay on plugin 0.3.2.dsh.engines.dsh and every @deepseek-ai/dsh-* peer state the same requirement, >=0.1.7-rc.1 <0.3.0 as of 0.4.1. DSH refuses an incompatible bundle at profile load, so a range that excluded the running release would silently drop the plugin — which is exactly what the old <0.2.0 ceiling would have done on the 0.2.0 release.approval.request() awaits its outcome under an open turn; exit_plan_mode returns its verdict to the same turn), so the turn that resumes is the turn that asked, and its end is the user's task finishing. 0.4.2 makes that the rule; 0.3.2–0.4.1 suppressed the whole turn, which silently dropped the completion of every approval-gated task.@deepseek-ai/schemastery is a peer, not a plain dependency: DSH resolves only a linked plugin's peer dependencies from the running installation, so a link: install of this directory would otherwise fail to import the Host half.dsh.compatibility.dshReleases names every release this plugin was actually booted on (0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, 0.2.0-rc.2, 0.2.1-alpha.1, 0.2.1-alpha.3, 0.2.1-alpha.4, 0.2.1-alpha.5, 0.2.1-rc.2, 0.2.1-rc.3, 0.2.1-rc.4, 0.2.2-alpha.2, 0.2.2-alpha.3, 0.2.2-rc.1, 0.2.2-rc.3, 0.2.2-rc.4 as of 0.4.15) and npm run pack:check fails when one of them falls outside the declared range. Each entry means a real boot, not a semver guess.The screenshots below come from earlier browser verification, not a new RC visual test. This check covers interface compatibility, automated tests and live overlay registration, not a fresh visual or audio test. The layout was checked at a 390px mobile viewport: the settings controls reflow and the toast becomes full-width without falling behind the mobile sidebar.
At this release, npm DSH next points to the running 0.2.2-rc.4, latest to 0.2.2-rc.1, and alpha to 0.2.2-alpha.3. latest trails the build this release was booted on by three RCs; every channel is in the verified list, so any of them is safe to run.
dsh plugin --profile web remove @idoall/dsh-notify
Uninstalling does not delete uploaded sounds or settings.json in the profile data directory. Notification records are never written to disk.
npm install
npm run verify # typecheck + tests + build + package check
npm run test # node --test test/*.test.js
npm run build # dist/index.js, dist/client.js
npm run pack:check # publish preconditions + client registration check
Releases are tag-driven. Bump package.json and the lockfile root versions, synchronize both READMEs and the DSH declarations, move the matching CHANGELOG section out of Unreleased, write release-notes/v<version>.md, then push the release commit and tag:
git tag v0.4.15
git push origin v0.4.15
The release workflow runs npm run verify, packs the plugin, publishes through npm trusted publishing (OIDC), and creates a GitHub Release with the package tarball and sha256.
MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: notifications。