dsh-autostart
Manifest validStarts DeepSeek Harness at Windows logon and sends that boot window straight to the system tray: a bundled 8 KB launcher runs the app, waits for its main window and closes it once, so the boot session
dsh-autostart · 开机自启与托盘
A tiny DeepSeek Harness (DSH) bundle that starts DSH when you log in to Windows and sends that boot instance straight to the system tray — the session keeps running, the taskbar stays clean, and a manual launch still shows its window.
一个小巧的 DeepSeek Harness 插件:登录 Windows 后自动打开 DSH,并让开机这一次的窗口直接收进系统托盘;你之后自己点图标打开时,窗口照常显示。
Features
- Autostart toggle — writes/removes
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\DSHStartup. - Hide-on-boot toggle — the Run value carries
--hide(hide the boot window) or--start-only(just start). - Self-healing — on every DSH start the plugin reconciles the Run value with your settings: moved installations, hand-edited values and old
DSHBoot.exeentries are repaired or removed. - Instant test — “立即收进托盘 / Hide now” hides the current window without touching the Run key.
- Status line — shows the stored Run value, whether it matches the settings, and the launcher path.
Install
Requires Windows and DSH Desktop (the Web-only form has no window and the panel says so).
dsh plugin --profile desktop add https://github.com/Agelei19/dsh-autostart
No git? Add the tarball instead:
dsh plugin --profile desktop add https://github.com/Agelei19/dsh-autostart/archive/refs/heads/main.tar.gz
Then open 设置 → 插件 → 开机自启与托盘 and flip the two switches.
Panel
| Switch | ON | OFF |
|---|---|---|
| 开机自动启动 / Start at login | Run value DSHStartup written | Run value removed |
| 启动后收进托盘 / Hide on boot | value carries --hide | value carries --start-only |
The status row shows the current value and whether it matches the settings; 立即收进托盘 tests hiding on the current window.
How it works
- The plugin copies the bundled launcher
launcher/DSHStartup.exeto%LOCALAPPDATA%\dsh-autostart\, so the Run key never points into a workspace checkout that may move. - The Run value becomes
"…\DSHStartup.exe" --hide --exe "…\DeepSeek Harness.exe". - At login the launcher starts DSH, waits for its main window and hides it with
WM_CLOSE— the desktop shell treats close as “minimize to tray”, so the session keeps running and the tray icon stays. - Every DSH start re-checks the value and repairs drift.
Build the launcher yourself
launcher/DSHStartup.exe is a ~8 KB native helper. Its source is launcher/DSHStartup.cs; rebuild with the .NET Framework compiler that ships with Windows:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /nologo /target:winexe /out:launcher\DSHStartup.exe launcher\DSHStartup.cs
DSH plugins run in the Host and the Web front end and have no API for hiding a native window, which is why this helper exists.
Limitations
- Windows desktop only.
- Hiding happens only on the boot launch — a manual launch never hides the window you just opened.
- If the window still shows up after login,
%LOCALAPPDATA%\dsh-autostart\dshstartup.logrecords every step. - No sandbox, approval or plan-mode behaviour is changed.
License
MIT — see LICENSE.
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.0 | — | — |
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 25.5k
CC0-1.0
Python
Nov 23, 2026
by woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
★ 1.7k
↓ 5.6k/wk
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-media-deskby 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.4k
CC0-1.0
Python
Nov 6, 2026
by keli-wen
Hire Google's Antigravity CLI (agy) as a fast Gemini staffer for Claude Code, OpenAI Codex, and DeepSeek Harness.
★ 917
MIT
JavaScript
Nov 19, 2026
dsh plugin --profile agent add agy-staffby SAOS-3624
Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.
★ 594
↓ 17k/wk
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add dsh-video-storyboardby omdsh-dev
DSH(DeepSeek Harness)插件:把 ego-lite 浏览器(给 AI Agent 用的 Chromium)接入 HARNESS——13 个结构化 ego_* 工具(文本语义快照、语义定位点击、表单填充、截图、CDP 控制、任务空间隔离),内置 ego 运行时,Linux + Chrome 开箱即用,无需克隆官方仓库或手动构建。
★ 570
↓ 13.5k/wk
NOASSERTION
TypeScript
Nov 23, 2026
dsh plugin --profile web add dsh-ego-browser