nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:pengpenglele/dsh-approval-notify
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文文档 · English
A DeepSeek Harness (DSH) desktop plugin: sends a native Windows toast notification when DSH needs your approval, is waiting for your answer / review, or finishes a turn — with the full reason in the notification. Every switch is graphical, on DSH's Plugins page, and applies on save — no restart.
com.deepseek.dsh) and lands in the Windows notification center.approval/request / user-questions/request waterfalls, so it never takes part in approving or answering.C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe present (the WinRT toast projection is only available in PowerShell 5.1).desktop, runtime 0.2.x (developed on 0.2.1-rc.3).dsh-win-approval-notify (to pin a version, write dsh-win-approval-notify@0.1.1) and click Install.If the default install source (the China mirror) cannot find the package yet, switch the install source to the official npm registry and install again.
Run this in a normal PowerShell window (not DSH's sandboxed terminal):
& "<DSH install dir>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add dsh-win-approval-notify
link: for developmentPoint it at the cloned directory:
& "<DSH install dir>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add "link:E:/codeDir/ds_tools/dsh-approval-notify"
Then fully quit and restart DeepSeek Harness (session history is preserved). dsh plugin add installs the dependencies into the profile and adds this package to dsh.profile.bundles.
For a local link: install, install the dependencies (@deepseek-ai/schemastery, @deepseek-ai/cosmokit) in this directory first with pnpm install; an install from npm brings them along automatically.
To verify it loaded: Plugins → Installed → dsh-win-approval-notify → row approval-notify; the row details should show a Configure button.
Plugins → dsh-win-approval-notify → row approval-notify → Configure. The page has four groups:
| Group | Contents |
|---|---|
| What to notify about | approval (+ tool allowlist), questions, plan review, turn finished / errored / blocked / interrupted / limit reached (8 independent switches) |
| Trigger and pacing | background-task switch, per-session cooldown, delayed coalescing, concurrent-notification cap |
| Notification appearance | display duration, silent, title prefix, AUMID, whether to include the full reason / question text |
| Diagnostics | send a test notification per scenario, last result, log paths, debug logging |
The page only writes when you click Save; the write goes into the current profile's Cordis patch and takes effect immediately through a volatile config reference (no restart). Restore defaults resets the draft only and still needs a Save.
The default values are also written into cordis.patch.yml, so the plugin works even if the settings page has never been opened.
$ps = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe"
$task = Join-Path $env:TEMP "dsh-toast-test.json"
'{"title":"Test","body":"Channel OK","appId":"com.deepseek.dsh","duration":"long","silent":false}' | Set-Content $task -Encoding UTF8
& $ps -NoProfile -ExecutionPolicy Bypass `
-File "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-win-approval-notify\lib\toast.ps1" `
-TaskFile $task
Note: a PowerShell process launched inside DSH's sandboxed terminal runs at Low integrity, and Windows rejects WinRT toasts from it (
0x80073D54). Run channel self-tests in a normal PowerShell window.
%TEMP%\dsh-win-approval-notify\notify.log records delivery / skip / failure; %TEMP%\dsh-win-approval-notify\toast-error.log records the HRESULT when the toast itself fails; %TEMP%\dsh-win-approval-notify\diag.log records the notification status the system reports for this app (Enabled / empty), which is what to use for banner problems.toast rejected shows up in the log; the plugin then tries a native topmost card as a fallback. Usually the AUMID is not registered or system notifications are off — leave AUMID empty on the settings page (use the default) or check the Windows notification settings.approval-notify row is enabled; older DSH versions have no plugins.row.config slot, in which case edit cordis.patch.yml instead (functionality is unaffected).& "E:\azml\deepseek\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-win-approval-notify
Then restart the app. The plugin is its own bundle row, so removing it does not affect other plugins; override values written by the settings page stop applying along with the row.
%TEMP%\dsh-win-approval-notify\.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent。