dsh-notifications: DeepSeek Harness macOS Menu Bar Notifications and Status Indicators

Preface

When using the DeepSeek Harness runtime, developers often need to handle approval requests, answer model questions, or review plans in the background. Relying solely on the terminal or browser tabs can easily lead to missed critical events. As a purely third-party plugin, dsh-notifications adds a status item to the macOS menu bar, providing real-time session/event counts, a sweeping light visual cue, and system-level notifications. This ensures you can respond to Harness requests promptly, even when working on other tasks.

Plugin Overview

  • Positioning: Client-side plugin providing menu bar status indicators and system-level alerts.
  • Maintainer: haotian-lu-prog
  • License: MIT

Core Features

  • Real-time Session Count: The status item displays the number of currently running Agents. When there is no activity, it displays only the whale icon.
  • Pending Event Indicators: When pending events exist, the number switches to a total count. ‘Q’ represents questions, and ‘S’ represents approvals (e.g., 2-QS indicates one pending question and one pending approval).
  • Sweeping Light Enhancement: When pending events exist, a sweeping light effect animates across the icon.
  • Click to Focus: Clicking the menu bar status item brings the Chrome tab containing the open Harness process to the foreground; it never opens a new tab.
  • Live Configuration: The status item, the two subscription types, and the sweeping light effect can all be toggled in real-time via the built-in settings panel in the Web Client without requiring a restart.
  • Instant Alerts: When tool privilege escalation, sandbox approvals, model questions, or plan reviews are requested, system notifications are triggered. The status item also plays a sound, turns red, and flashes until the event is handled.
  • Keyword Rules: Supports inclusion/exclusion filtering based on session title, tool name, and response text, with support for regular expressions and case sensitivity.

Installation and Configuration

Use the official installation command to add the plugin to the specified Web profile:

dsh plugin --profile web-notifications add dsh-notifications

Environment Requirements

  • macOS 13 or higher.
  • Node.js ^22.19 or >=24.
  • DeepSeek Harness 0.1.7-rc.2 or 0.2.0-rc.1.
  • Xcode Command Line Tools (required for local builds; not needed if using a pre-built tarball).

Permission Requirements

After installation, you must grant the following permissions to the plugin in macOS System Settings:
1. Notification Permission: Required for displaying system alerts.
2. Automation Permission: Required for controlling Chrome tab switching via the menu item.

Usage Instructions

  1. Menu Bar Interaction: Click the whale icon in the menu bar to automatically jump to the Chrome tab where Harness is already open. If no matching tab is currently open, the action silently does nothing.
  2. Built-in Settings: Locate the “Notifications” page within the Harness Web Client’s built-in settings to manage all subscription toggles, keyword rules, and notification sounds.

Technical Details and Privacy

  • Listening Scope: The plugin only listens to four types of events: agent/status, agent/disposed, user-questions/request, and approval/request.
  • Privacy Protection: The plugin does not transmit Session IDs, prompts, model outputs, credentials, or file paths to the native helper; it only transmits counts and marker letters.

Conclusion

dsh-notifications solves the issue of delayed information feedback during Harness background operations by utilizing the menu bar and system notifications. You can view plugin details or source code via the following links:
* Plugin Directory
* GitHub Repository

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

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

Xiaoye