sakuraboy9128-cmd/dsh-approval-notify ↗★ 0
dsh-approval-notify
在智能体请求工具调用授权时发送系统通知 适合在后台运行任务,需要即时接收工具调用审批提醒的用户。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sakuraboy9128-cmd/dsh-approval-notify说明文档
阅读完整 README ↗Configuration
The row's config accepts these fields. Defaults are shown; an unusable value falls back to its default and is written to the plugin log as a warning.
| Field | Default | Meaning |
|---|---|---|
enabled | true | false activates the bundle without notifying anything |
mode | auto | auto = toast, then card. Also toast, popup, balloon, none |
clickAction | focus-dsh | focus-dsh focuses or launches the DSH window; none does nothing |
locale | auto | auto follows the host locale; or zh, en |
title | '' | Custom title; empty selects the localized default |
includeReason | true | Include the request's own reason in the body |
maxBodyChars | 220 | Truncate title and body beyond this |
dedupeWindowMs | 4000 | Suppress an identical tool + reason repeat inside this window; 0 disables it |
appId | '' | WinRT toast AppUserModelID; empty tries DSH's own IDs, then Explorer's |
dshExePath | '' | Executable used when no DSH window exists; empty auto-detects |
windowTitleSuffix | DeepSeek Harness | Title suffix identifying the DSH window to focus |
registerProtocol | true | Register the dsh-approval-notify:// handler so a toast click can focus DSH |
popupTimeoutMs | 12000 | How long the card stays on screen; hovering pauses the countdown |
helperIdleMs | 900000 | Stop the helper after this much inactivity |
sound | true | Play the notification sound |
dshExeCandidates | [] | Extra executable paths tried before the built-in ones |
Example patch row:
- id: approval-notify
name: 'dsh-approval-notify'
config:
mode: popup
locale: zh
dedupeWindowMs: 10000