Windows desktop floating assistant for DeepSeek Harness: an always-on-top chat panel with streaming answers, model switching, and region-screenshot questions.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-float
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:18840024879/dsh-float
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A Windows desktop assistant for DeepSeek Harness that lives in its own always-on-top window: ask from any application, send a region screenshot with one click, and read the streaming answer without switching back to DSH.
Features
- Floating chat panel: a borderless, always-on-top window with a drag handle and resizable edges; its position and size are remembered.
- Screenshot questions: click the camera button, drag a region, and the cropped image is attached to your question. The panel hides itself for the capture and comes back afterwards, and the capture overlay waits until the pixels are ready so it never flashes black.
- Streaming answers with stop, model selection, and a new-chat button. History keeps the last 8 rounds and the last 12 messages are shown.
- Markdown and LaTeX: headings, lists, tables, quotes, fenced code, inline code, and
$...$/$$...$$formulas are rendered with the bundled KaTeX fonts. - Optional desktop-pet entry: when dsh-pet is installed, double-clicking the pet opens or hides the panel.
Alt+Space(orCtrl+Alt+Spacewhen taken) and the tray menu work without it. - No extra API key: chat goes through the models and account already configured in DSH. A text-only model is automatically routed to an image-capable provider when the message carries a screenshot; if none is available the request fails with a clear error instead of silently dropping the image.
Requirements
- Windows 10/11, x64 (arm64 is not tested).
- DeepSeek Harness Desktop 0.2.1-rc.2 or a compatible 0.2.x runtime.
- Internet access on first launch if Electron is not already present.
Install
dsh plugin --profile desktop add dsh-float
Restart DeepSeek Harness after installation. The tray icon, Alt+Space, and the camera button are available once [dsh-float] loaded appears in the DSH log.
Electron
The helper is a separate Electron process. It looks for an existing electron.exe in this order:
DSH_FLOAT_ELECTRON_PATHDSH_PET_ELECTRON_PATH- the plugin's own
electrondependency %USERPROFILE%\.dsh\electron\electron.exe(used by dsh-pet)%USERPROFILE%\.dsh\dsh-float\electron\v43.3.0-win32-x64\electron.exe
When none exists, the plugin downloads Electron 43.3.0 into the last path above on first launch (about 110 MB, one time). The download uses the npmmirror Electron mirror first and falls back to the official GitHub release. Set DSH_FLOAT_ELECTRON_PATH to skip the download and reuse an existing runtime.
Usage
- Double-click the dsh-pet pet to toggle the panel, or press
Alt+Space/ use the tray menu. - Drag the title bar to move the panel; drag the right edge, bottom edge, or corner to resize it (minimum 320×420).
Entersends,Shift+Enterinserts a newline, and the stop button appears while an answer streams.- Camera button: drag a region and release to attach it;
Esccancels. The capture overlay closes after 60 seconds without a selection. - The model name at the top opens the model list. "Follow dsh default" uses the current DSH session model.
Data and privacy
Everything is stored under %USERPROFILE%\.dsh\dsh-float\:
| File | Contents |
|---|---|
config.json |
hotkey, system prompt, model preference, history length, autoVision |
history.json |
the last 40 conversation entries |
window.json |
last panel position and size |
Screenshots are written as shot-*.png under %TEMP%\dsh-float\ and deleted by the host after a successful send. The screen-capture stream is opened only while the pointer is over the camera button or during a capture, and it is stopped after one frame. The helper only listens on 127.0.0.1 and authenticates the host with a per-process token; no content leaves the machine except through the DSH model you selected.
Troubleshooting
- Panel does not open: check that dsh-pet is running when double-clicking the pet, and that both clicks land on the pet itself within the system double-click interval.
Alt+Spaceand the tray menu work independently of dsh-pet. - Electron download fails: set
DSH_FLOAT_ELECTRON_PATHto an existingelectron.exe, or install dsh-pet (which provides one). Progress and errors are logged in%USERPROFILE%\.dsh\dsh-float\helper-debug.log. - Hotkey unavailable: another application owns it; the plugin falls back to
Ctrl+Alt+Spaceand the tray menu shows the active shortcut. - Screenshot is black: update the GPU driver. The helper uses a desktop stream first and falls back to
desktopCapturer, then PowerShell capture. - Missing vision model: install or enable modlens, or select a model whose
inputModalitiesincludeimage.
Development
node --check lib/index.js
node --check runtime/electron-helper/main.js
env -u ELECTRON_RUN_AS_NODE "$USERPROFILE/.dsh/electron/electron.exe" \
runtime/electron-helper/main.js --mock
node tools/mock-host.mjs
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10172
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10172
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 7101
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 6959
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 4959
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1744
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.