deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Andyqwe44/dsh-notify-win
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness (DSH) Windows notification plugin — native toast + taskbar flash when a task finishes or your input is needed.
English | 中文



Screenshots are from Windows 11. The taskbar flash is animated; the screenshot shows the DSH taskbar button highlighted by the system warm pulse.
FlashWindowEx) when DSH is in the backgroundidle)session/event → compaction/end)ask_user_question)dsh plugin --profile web add dsh-notify-win
Requires
pnpmon PATH (corepack enableif missing). See Install for details.
Prerequisite: pnpm
corepack enable
Or without admin, put a user-level shim in a PATH directory:
Set-Content -Path "$env:LOCALAPPDATA\Microsoft\WindowsApps\pnpm.cmd" -Value "@echo off`r`ncorepack pnpm %*`r`n"
corepack pnpm --version
Install the plugin
# From npm (recommended)
dsh plugin --profile web add dsh-notify-win
# Or directly from GitHub:
dsh plugin --profile web add github:Andyqwe44/dsh-notify-win
# If github: is blocked, use SSH:
dsh plugin --profile web add git+ssh://git@github.com/Andyqwe44/dsh-notify-win.git
Verify
dsh --profile web --dump-config # look for: # == dsh-notify-win / - id: dsh-notify-win
Restart and test
dsh web
Complete any task. The first notification self-registers the branded toast identity (Start Menu shortcut + AppUserModelID, one-time). If the toast header still shows DeepSeekHarness without an icon, restart Explorer once:
Stop-Process -Name explorer -Force; Start-Process explorer
web recommended)ask_user_question); done/compact toasts use PowerShell and do not require itEdit $env:USERPROFILE\.dsh\profiles\web\cordis.patch.yml:
- id: dsh-notify-win
config:
doneTitle: 'DeepSeek Harness · Task complete'
doneBody: 'Your task has finished.'
compactTitle: 'DeepSeek Harness · Context compacted'
compactBody: 'Context compaction finished, you can continue.'
questionTitle: 'DeepSeek Harness · Action needed'
questionBody: 'An approval or decision is waiting.'
askTitle: 'DeepSeek Harness · Question for you'
askBody: 'The assistant asked you something.'
dedupMs: 1500 # suppress duplicate notifications within this window
showProject: true # prefix body with project label
To disable:
- id: dsh-notify-win
disabled: true
Restart after install/disable changes (web profile HMR is disabled by default).
| Concern | Implementation |
|---|---|
| Trigger "done" | agent/status event with status: 'idle' (root agents only) |
| Trigger "compact" | session/event → compaction/end (no error) |
| Trigger "question" | approval/request waterfall + tools/execute for ask_user_question |
| Done/compact toast | WinRT Windows.UI.Notifications via notify.ps1 with hero banner, falls back to NotifyIcon balloon |
| Interactive question toast | .NET helper dsh-toast-question.exe (reads dropdown/text input and posts the answer back to the host) |
| Taskbar flash | EnumWindows + FlashWindowEx (FLASHW_TRAY \| FLASHW_TIMERNOFG = 14) |
| Execution | Fire-and-forget subprocess (powershell / dsh-toast-question.exe) |
The plugin registers no service, tool, or settings namespace — a plain consumer row, safe in any profile.
FlashWindowEx uses the system's warm-pulse highlight; custom colors are not possible.idle, so a cancelled task still triggers the "done" toast.dedupMs (default 1500 ms).npm run check # syntax check
npm test # logic smoke test (mocked ctx)
# Show a real toast + taskbar flash:
powershell -NoProfile -File lib/notify.ps1 -Kind done -Title "test" -Body "test"
# Rebuild the interactive question helper:
dotnet publish src/DshToastQuestion/DshToastQuestion.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o lib
dsh-notify-win/
├── lib/
│ ├── index.js # Host half: event listeners -> subprocess spawn
│ ├── client.js # Browser-side click-to-focus / answer polling
│ ├── notify.ps1 # Done/compact toast + taskbar flash
│ ├── focus-dsh.ps1 # Focus/launch the DSH Edge PWA
│ ├── focus-dsh.vbs # Hidden launcher for focus-dsh.ps1
│ ├── dsh-toast-question.exe # Interactive question toast helper (C#)
│ └── dsh-*.png / dsh-*.ico # Branding assets
├── src/DshToastQuestion/
│ ├── Program.cs # C# helper source
│ └── DshToastQuestion.csproj
├── test/
│ ├── smoke.mjs # Plugin logic smoke test
│ └── headless-overlay.yml
├── docs/
│ └── assets/screenshots/ # README screenshots
├── cordis.patch.yml # DSH bundle patch
├── package.json # dsh.bundle declaration
├── README.md
└── README.zh.md
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。