DSH Notify: Native Handling of DSH Notifications, Approvals, and Q&A on macOS

Preface

When running long tasks in DeepSeek Harness Desktop, completions, errors, commands awaiting approval, or questions requiring answers often occur in the background. If you have to switch back to the application to handle them one by one, the interruption cost is high. Browser notifications or third-party bridges can provide a layer of reminders, but approval details, multi-question Q&A, and returning to the correct session usually still require opening the Desktop to search for them yourself.

The following introduces the community plugin DSH Notify (repository realDGD/dsh-macos-notify), maintained by realDGD and categorized as a client-side plugin. It provides native macOS notifications, quick approval, complete Q&A forms, and a menu bar session panel for the official DeepSeek Harness Desktop; clicking a notification takes you back to the corresponding workspace and session. The project consists of the DSH plugin and the background assistant DSH Notify.app. The assistant starts and stops with the Desktop and does not depend on a browser, DSH Bridge, or additional model services. The current stable version is v0.5.0 (MIT License).

What is this

DSH Notify is positioned to push states within the Desktop that require human intervention to macOS system notifications and the menu bar, completing approvals and entire question groups in native windows. DSH still determines whether to accept answers; the first accepted answer takes effect, and answered, canceled, or expired requests are retracted, so old buttons will not execute repeatedly.

Core Features

The capabilities listed in the documentation are as follows, usable according to scenarios.

Feature Description
Native Notifications Reminders for task completion, errors, approvals, and Q&A; clicking returns to the corresponding DSH session.
Quick Approval Select “Allow once” or “Deny” in the system notification or menu bar; open approval details when the command needs verification.
Complete Q&A One reminder opens the entire group of questions, preserving options and independent text input for each question, supporting single choice, multiple choice, and batch submission.
Session Panel Menu bar fish icon: active sessions, nested sub-agents, and the last 5 main sessions, showing status and task progress.
Context & Code Context related to approval/Q&A supports Markdown, formulas, and code; Shell/JSON highlighting, with automatic line wrapping for commands and parameters.
Language The interface follows DSH’s Chinese/English settings; session names, question stems, options, answers, and commands retain the original text.

On the menu bar, the fish icon spins when tasks are running; it is orange for pending approval or Q&A, red for exceptions, and green for completion. Closing the Q&A window or a brief disconnection preserves drafts for each question; “Clear Answers” only clears options and text, it does not cancel the request. Drafts are stored only in the assistant’s memory and are cleared after DSH confirms they are answered, canceled, or the request has expired; exiting the assistant discards unsubmitted drafts.

Environment and Prerequisites

  • System: macOS 13 or newer.
  • Client: Official DeepSeek Harness Desktop; documentation records the currently verified version as 0.2.1-rc.1.
  • Build: Installing via Desktop uses its built-in Node.js/pnpm; Node.js 22+ is only required for manual builds or development. It is recommended to run Apple Command Line Tools before installation:
xcode-select --install

Installation and Activation

Installing within DeepSeek Harness Desktop is recommended. v0.5.0 supports auto-installing the assistant to /Applications/DSH Notify.app; existing matching assistants will be reused, and upgrades will preserve settings and back up the old version.

  1. Open DSH Desktop and go to the sidebar Plugins → Add Plugin.
  2. Paste the following address and install after confirming the source:
github:realDGD/dsh-macos-notify
  1. If a prompt indicates the build script was blocked, review the plugin and click “Allow these scripts and retry”, waiting for the installation to complete.
  2. Enable DSH Notify (or Enable now in the English interface). Save the current task, press ⌘Q to quit DSH Desktop, and then reopen it (closing the window alone does not quit the app). The assistant starts automatically with the Desktop; allow notifications for DSH Notify when the system asks.
  3. Open Settings → DSH Notify, check the assistant connection and notification permissions, send a safety test notification, and click it to confirm it opens the corresponding session.

Terminal Command (Optional)

First, install dsh via Manage dsh Command… in the Desktop app menu, then execute in a new terminal:

dsh plugin --profile desktop add github:realDGD/dsh-macos-notify

After installation, return to the Desktop plugin list to confirm it is enabled, then follow steps 4 and 5 above to restart and verify. Desktop uses the desktop profile; do not mix it with --profile web.

The plugin runs with the current DSH process permissions; you should read the repository source code and MIT license before installation, and only allow build scripts from trusted sources.

Typical Usage

Click the menu bar fish icon to open the panel. The active area prioritizes pinned, pending, or exceptional sessions, followed by ongoing sessions; the recent area holds up to 5 main sessions. When waiting for approval, you can allow or deny directly; when waiting for an answer, open the complete Q&A. When the same session has multiple requests, operate separately via the “Handle Requests” menu. Right-clicking the fish icon allows opening DSH, opening DSH Notify settings, hiding the menu bar, or quitting DSH.

Approval

System notifications provide Allow, Deny, and “View Details”. Viewing details opens the approval detail window, displaying the request reason, command to be executed, full parameters, and relevant context. “View Original” and “Copy Raw Parameters” preserve the original content; the display format does not alter the request actually submitted to DSH.

Q&A

Click “Open Full Q&A” in the notification to open the complete Q&A window; each question has independent options and text input, and the entire group of answers is submitted at the last moment. If you answer in DSH first, the old request in the notification becomes invalid; after successfully jumping via “Back to DSH Session,” the Q&A window will automatically close.

Notifications and Silence

In DSH Notify settings, you can toggle reminder types, system sound alerts, sub-agent results, summary completion after waiting for sub-agents, and silent reminders when viewing the current session separately. After turning off the menu bar display, notifications and native Q&A/approval windows remain available.

Scenarios and Cautions

Suitable for: Users primarily using DeepSeek Harness Desktop on Mac who want task completions, errors, approvals, and Q&A handled at the system level, and need to return to the correct session from a notification with one click.

Boundaries and Privacy (from project description): It does not add network monitoring, cloud services, or model sessions; the native assistant and plugin exchange data via the current user’s private local files. Q&A and approval content are temporarily stored locally to display forms and are not exported with diagnostics. macOS controls notification display and Focus modes; silence only affects reminders and will not automatically approve, deny, or answer. Multiple hosts sharing the same state directory have not been verified; for real-machine support on older systems and Intel, see docs/compatibility.md in the repository.

Upgrade and Uninstall: Before upgrading, save tasks, handle unsubmitted drafts, and close native Q&A/approval windows. The current Plugin Manager installs the new version by removing and re-adding the plugin. To uninstall, first remove this plugin in the Plugin Manager, then execute bash macos/uninstall.sh from the plugin source directory, and restart the Desktop.

Conclusion

DSH Notify connects the “needs a human glance” states within the Desktop to macOS native notifications and the menu bar, completing approvals and entire question groups without leaving the system UI, while preserving the path back to specific sessions. Community directory page: realdgd/dsh-macos-notify; Source code and Releases: GitHub realDGD/dsh-macos-notify.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye