Agent enhancements for DeepSeek Harness Desktop: prompt history, one-click optimize with undo, next-prompt prediction, conversation and tracked-file restore, model bill, context details with compact, Auto routing, and per-provider DeepSeek balance.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-agent-enhancer
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:rebornace/dsh-agent-enhancer
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
English | 简体中文
Make DeepSeek Harness Desktop easier to write, refine, roll back, and see usage & context.
Features live inside the official chat and settings. Defaults on; turn off individually under Settings → Built-in plugins → Agent Enhance.
Features
Previews are 56×56 squares — click for the full image. UI language follows Desktop (zh / en).
| Capability | How | Preview |
|---|---|---|
| Write | ↑↓ / Alt+R history; Optimize (undo); after a reply, Tab for gray predict; select in chat / preview / editor / terminal → Quote text |
|
| Soft pause | Pause / Resume on the latest user bubble toolbar (‖ in a circle): hold the next model step to save later tokens; the current stream and in-flight tools still finish. Official Stop remains a hard interrupt | |
| Run alerts | Finish / approval / error alerts; default when unfocused (dual-monitor or another app), or background-only / always; OS notification while away, Toast after focus if needed | |
| Restore | Bubble or timeline Restore to here (optional tracked text files) → preview → confirm; + / / Undo restore |
|
| Workspace | Preview Edit (Monaco); guide capsule Extra folders; left-nav Skills / Connectors (Plugins-page chrome: list · Add dialog · detail; Skills GitHub·Zip → ~/.agents/skills → /; Connectors via mcp.json); session ⋯ Delete session |
|
| Usage | Token usage → model bill; Settings → Models for per-provider balance | |
| Context | Meter → right-pane details; one-click official /compact |
|
| Routing | Pick Auto in the model list; map Instant / Thinking / Pro in settings | |
| Settings | Features thirteen toggles · Models & routing helpers / Auto · About updates |
Limits (short): Quote never calls a model; streaming assistant replies and HTML/PDF/Excel previews are not quote sources yet. Restore tracks UTF-8 text only — no processes / terminals / untracked / binaries. Extra folders do not widen the Agent sandbox. Skills and Connectors are left-nav peers under Plugins (Plugins-page chrome): Skills use GitHub·Zip install / search / detail / uninstall (default ~/.agents/skills; GitHub can update, Zip cannot; no AGENTS.md or empty stubs; invoke via /); Connectors add via mcp.json, toggle in the list, tools on the detail page. Session delete is permanent. Context numbers are heuristic; bill “≈ ¥” is not an invoice. Soft pause holds later model steps after pause; the gate is not kept across restarts. Run alerts post to the Windows Action Center via the Host (under DeepSeek Harness / DSH Desktop); otherwise a Toast appears after focus returns. Level is adjustable on Features; they do not replace sidebar status dots.
Feature toggles: history · optimize · predict · quote · rollback · softPause · runAlerts · contextInspect · usage · sessionDelete · fileEdit · instructionsSkills · mcpConnectors (all default on; Extra folders follows fileEdit).
Install
Targets Desktop / the desktop profile (do not validate with web). Quit Desktop (including tray) first.
| Method | Steps |
|---|---|
| In-app (recommended) | Settings → Plugins → search dsh-agent-enhancer / Agent Enhance → install → restart |
| CLI | dsh plugin --profile desktop add dsh-agent-enhancer@0.3.8 |
| Dev | corepack pnpm install --frozen-lockfile → corepack pnpm desktop:link → restart; back to npm: corepack pnpm desktop:npm |
Optional market: dsh-market (in-app search dshmarket; do not use the web profile). Remove legacy dsh-composer-enhancer before installing this package.
Do not install into Desktop with
dsh plugin --profile web …. Do notadd/link:/file:a repo path (Windows Junctions exposenode_modulesand leave the plugin off). Usedesktop:link(pack snapshot; re-link after code changes).
Uninstall: in-app remove, or dsh plugin --profile desktop remove dsh-agent-enhancer. For a linked dev install, do not remove blindly — edit the profile package.json, then delete only the node_modules link.
Compatibility: DSH >=0.2.2-rc.1 <0.3.0-0.
Privacy
- History / select-to-quote: no model calls. Optimize / predict: only the needed draft or latest completed turn.
- Bill and context stay local; balances use Desktop-stored credentials — this plugin ships no keys. No telemetry upload.
- Overlap with third-party plugins is hinted only; never auto-disabled.
Development
corepack pnpm install --frozen-lockfile
corepack pnpm check # typecheck + test + build + pack verify
src/host/ · src/client/ · tests/ · lib/ build output · docs/images/ screenshots (thumbs/ via scripts/make-readme-thumbs.py).
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10247
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★ 10247
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★ 7252
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7046
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★ 5011
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★ 1778
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.