dsh-offwork-countdown: Windows Desktop Off-Work Countdown Launched by DSH

Introduction

When developing with DeepSeek Harness (DSH) or running agents, the main interface usually focuses on logs and conversations, leaving little room for a standalone countdown tool. Browser embeds consume Harness layout, while system calendar reminders do not meet the same need as “how many hours until off work.” dsh-offwork-countdown takes a different path: as a DSH companion plugin, it launches the bundled Windows desktop process when the combined load is complete, displaying the off-work countdown in a semi-transparent, always-on-top small window without occupying the Harness page.

The following introduces the plugin’s positioning, capabilities, installation steps, and usage limitations. Facts are based on the repository README and package.json; the community directory is at SkillHub Plugin Page, and the source code is on GitHub.

What is this

The maintainer is suojianan, classified as a client-side plugin in the DSH ecosystem (os restricted to win32 in package.json). The host side is handled by index.js, which launches and terminates the desktop window when DSH starts and stops; the actual interface is handled by the pre-built OffWorkCountdown.exe ( .NET Framework 4.8). Full C# / WPF source code is in source.zip inside the repository, which can be extracted and rebuilt using build.ps1.

Core Features

The capabilities listed in the README are as follows; you can check against them before installation to see if they fit your desktop habits.

Time & Status

  • Calculates real-time based on configured work and end times; the main display is an HH:MM:SS countdown until off work.
  • Includes a “Sunset into the Sea” progress: the sun slides from the start time to the end time, and sinks to the end of the line after passing the end time.
  • Status includes: Before work, Working, Last 10 minutes, Off work (overtime timer), and Weekend rest.

Window & Interaction

  • Default ~88% opacity, adjustable from 65%–100% in the settings panel; the glass layer is separated from the text layer.
  • Borderless, always on top, draggable, snap to edge, remembers position.
  • System tray: hide/show, bring to front, mouse click-through; shortcut Ctrl+Alt+D to toggle click-through.

Configuration Persistence

  • Set work and end times, weekdays only, opacity, and always on top.
  • Configuration file path: %APPDATA%\OffWorkCountdown\settings.json.

Installation and Enabling

The plugin is installed via DSH’s desktop profile. The official command is as follows (do not rewrite as other forms of dsh plugin add):

dsh plugin --profile desktop add github:suojianan/dsh-offwork-countdown

After installation, wait for the DSH combined load to complete, and the plugin will launch the desktop window. Windows treats the new process as a normal desktop application; if you do not see the window, you can check the sunset icon in the bottom-right corner of the taskbar.

Uninstall:

dsh plugin --profile desktop remove dsh-offwork-countdown

If the window remains after exiting DSH, you can right-click the tray icon to exit. The window can also be run directly by double-clicking OffWorkCountdown.exe in the plugin directory without going through DSH (in this case, the DSH plugin will not take over the instance you manually opened).

Typical Usage

Daily Monitoring

  1. Install the plugin and keep the DSH desktop profile enabled.
  2. After the window appears for the first time, drag it to your preferred position (the position will be remembered).
  3. Adjust work and end times and “weekdays only” via the tray menu or settings; enable mouse click-through when you need to see the underlying window, or use Ctrl+Alt+D to toggle quickly.

Modifying Configuration or Troubleshooting

Edit directly (or modify in the application settings UI and then save to disk):

%APPDATA%\OffWorkCountdown\settings.json

Building from Source (Optional)

source.zip inside the repository has no NuGet dependencies. After decompressing on Windows, execute:

Set-ExecutionPolicy -Scope Process Bypass
.\build.ps1

The build uses the system’s built-in .NET Framework 4.8 csc.exe and produces a new OffWorkCountdown.exe. The README suggests running .\run-tests.ps1 to test time-related features (29 time tests are included in the source package).

Applicable Scenarios and Notes

Who is it for

  • Users who use DSH daily on 64-bit Windows 10/11 and want the off-work countdown on the desktop rather than inside the Harness page.
  • Workflows that require a lightweight, always-on-top, semi-transparent overlay on top of IDEs or terminals.

Environment & Permissions

  • The plugin runs with the permissions of the current DSH process; you should read the repository source code and the MIT License before installation to confirm that you accept the bundled binaries and behavioral description.
  • The pre-built OffWorkCountdown.exe is not code-signed, so Windows SmartScreen may block or prompt; you can use source.zip to build locally for verification.

Explicit Capability Boundaries

  • Does not support overnight shifts.
  • Rest days are only judged by Saturday and Sunday; public holidays are not recognized.
  • When the plugin stops or is disabled, the window launched by the plugin will end; if the window was manually opened first, the plugin will not take over that instance.
  • The window is an independent process appearing above all desktop windows, not embedded inside the Harness page—this is a design goal, not a bug.

The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites with no official affiliation with DeepSeek/Fangfang. The plugin introduced here is a community-maintained third-party plugin, not an official app store entry.

Conclusion

dsh-offwork-countdown moves “how long until off work” from the browser to the Windows desktop: DSH handles launch and lifecycle, while the window handles countdown, status, and the tray. If you need to see the off-work progress at a glance while writing Harness, you can install it to the desktop profile using the command above and align your schedule in the tray and settings.json.

  • Directory Page: https://www.skillhub.cn/plugins/suojianan/dsh-offwork-countdown
  • GitHub: https://github.com/suojianan/dsh-offwork-countdown
羽毛球分组比赛记分
小程序二维码

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

Xiaoye