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¶
- Windows Tray/Shortcut Launcher: Provides an entry point on the Windows desktop for opening the dsh web UI.
- 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¶
- Set Kit Path: Before using the tray tool, you need to set the environment variable
DSH_WSL_KITto your kit checkout directory (or pass it via thekitPathparameter). - Restart Service: Restart
dsh weband open a new session. The tool name iswsl_tray. - 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-urlfile. Clicking “Restart” in the tray menu will regenerate a valid URL.
Notes¶
- Version Dependency: DSH version
>= 0.1.2is required to use the Web UI’s single-use?token=functionality. - Token Mechanism: The token is only valid for the current process and will become invalid after restarting dsh. Therefore, do not bookmark the bare
:3081address directly. - Configuration Separation: Cloud Flash configuration is independent; this plugin does not handle related configurations.