dsh-approval-notify
Manifest validDSH approval/question/completion notifier with native browser notifications and toast fallback. / DSH approval/question/completion notifier plugin, supporting native browser notifications and toast fallback.
@whoisddd/dsh-approval-notify
English | 中文
A minimal browser-only DSH Web GUI plugin that reminds you when a session needs attention or a background session finishes.
The plugin watches the live DSH session list for completion state and the alpha.2 uiSession.pendingInteractions feed for approval, question, and plan-review state. It prefers native browser notifications, and falls back to a larger stacked toast panel when native notifications are unavailable. On Windows, granted browser notifications surface through the system notification center.
What it notifies
| DSH state | Notification title | Notes |
|---|---|---|
approval | Approval request | The session is waiting for an approval decision. |
question | Question request | The session is waiting for a user choice or answer. |
plan-review | Plan review | The session is waiting for plan confirmation. |
completed | Completed | A top-level background session has finished. |
completed on a subagent | Subagent completed | A subagent/background child session has finished. |
Highlights
- Browser-only; the host half is intentionally empty.
- Watches the live DSH session list and alpha.2 pending-interaction feed; no dependency on
dsh-web-ui-all. - Uses only the public
sessionsanduiSessionClient services; no DOM queries of core page structure. - Uses native browser notifications first, with
requireInteraction: true. - Falls back to a larger right-bottom toast panel when native notifications fail.
- Supports multiple stacked fallback toasts.
- Deduplicates unchanged attention states so the same pending/completed state does not repeat.
- Labels completed subagents separately from completed top-level sessions.
- Unknown future pending-interaction kinds are ignored safely until they have an explicit notification mapping.
Install
git clone https://github.com/whoisDDD/dsh-approval-notify.git
cd dsh-approval-notify
pnpm install
pnpm build
dsh plugin --profile web add link:$(pwd)
After installation, reload the DSH Web GUI page. The browser may ask for notification permission on first load. If permission is denied or native notification creation fails, the plugin still shows in-page toast reminders.
Development
pnpm install
pnpm test
pnpm typecheck
pnpm build
Useful scripts:
pnpm test— run all Vitest tests.pnpm test:notify— run the core notification behavior tests.pnpm typecheck— run TypeScript type checking.pnpm build— generatelib/artifacts.pnpm watch— rebuild the client bundle during development.
Notes and limitations
- This plugin does not implement a settings UI yet.
- Notification delivery depends on browser permission and the operating system notification policy.
- Completed-session reminders follow DSH's
completedsummary flag. Approval, question, and plan-review reminders use alpha.2'suiSession.pendingInteractionsservice rather than the removed legacySessionSummary.pendingInteractionfield. Top-level sessions and subagents are both notified, but subagents use a distinct title. - Notification text uses only the session's display label and fixed state wording; unrelated session fields are not included.
License
BSD-3-Clause.
Comments
Loading…
From the same category
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status bad
★ 2.1k
MIT
C#
dsh plugin --profile web add dsh-infinite-gen-4by toby-bridges
Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.
★ 870
AGPL-3.0
Python
Oct 7, 2026
dsh plugin --profile web add dsh-api-relay-auditby SeaOf0
基于dsh web实现的多种模式,目的是服务于redteam进行授权的安全研究,覆盖渗透测试、红队评估、代码审计等范围领域,请勿用于非法行为。(允许二开,赋予模块各位自己的业务逻辑,方法论只有自己熟练的才好用,好的方法论=好的生态)
★ 668
MIT
Python
Sep 24, 2026
dsh plugin --profile web add @dsh-external/dsh-redteam-modelby agentic-os-org
ANOLISA (Agentic Nexus Operating Layer & Interface System Architecture) | Agentic OS with runtime, security, observability, and Tokenless response compression for lower token usage and cost.
★ 659
Apache-2.0
Rust
Oct 7, 2026
by howmp
面向 DeepSeek Harness(dsh)的渗透测试模式 @CloverSecLabs
★ 595
NOASSERTION
JavaScript
Oct 6, 2026
dsh plugin --profile web add @howmp/dsh-pentestby xiaods
k8e.sh - OpenSource Agentic AI Sandbox Matrix
★ 500
↓ 7/wk
Apache-2.0
Go
Sep 28, 2026
dsh plugin --profile agent add @k8e-sandbox/dsh-k8e-sandbox-bundle