dsh-wsl-tray: A Windows System Tray Launcher for dsh Web in WSL

After running dsh web in WSL, directly accessing :3081 will return a 401 error due to the missing token. The manual process of restarting and obtaining the token is cumbersome. The dsh-wsl-tray plugin provides Windows tray shortcuts that integrate launching, restarting, and health checks into the desktop environment.

What It Is

This is a DeepSeek Harness (DSH) plugin. It is responsible for installing or reporting a tray icon/shortcut in the Windows system for managing dsh web running inside WSL. This plugin is part of the dsh-wsl-kit suite.

Core Features

  1. Windows Tray/Shortcut Launcher: Provides an entry point on the Windows desktop for opening the dsh web UI.
  2. Process Management: Supports starting, restarting, and health check functionality.

Installation and Activation

Install the plugin using the officially provided command:

dsh plugin --profile web add github:173787247/dsh-wsl-tray

After installation, it is part of the dsh-wsl-kit suite.

Typical Usage

  1. Set Kit Path: Before using the tray tool, you need to set the environment variable DSH_WSL_KIT to your kit checkout directory (or pass it via the kitPath parameter).
  2. Restart Service: Restart dsh web and open a new session. The tool name is wsl_tray.
  3. Access UI: After the restart completes, open a terminal to view the ui= URL printed in the restart logs, or check the /tmp/dsh-ui-url file. Clicking “Restart” in the tray menu will regenerate a valid URL.

Notes

  1. Version Dependency: DSH version >= 0.1.2 is required to use the Web UI’s single-use ?token= functionality.
  2. Token Mechanism: The token is only valid for the current process and will become invalid after restarting dsh. Therefore, do not bookmark the bare :3081 address directly.
  3. Configuration Separation: Cloud Flash configuration is independent; this plugin does not handle related configurations.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye