deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Unofficial — an independent community project, not affiliated with or endorsed by DeepSeek.
English · 中文
A drop-in UI enhancement for DeepSeek Harness (DSH): keep an eye on your balance and today's cost, browse and edit-worthy project files, review Git changes & history, open a terminal, and update Harness in one click — all from the sidebar, no extra config.
Features · Screenshots · Install · Configuration · FAQ · Known limitations · License


Usage at a glance
Harness updates, one click away
Project workspace panel
projectRoot; path traversal and out-of-root symlinks are rejected.git, node_modules, dist, lib, coverage, .next, .cachePrivacy by default
allowRemote: truectx.credentials and never exposed to the browserdsh web runningdsh plugin --profile web add "github:deepseek-dsh/dsh-workspace#dev"
Restart dsh web after installation.
dsh web --dump-config | grep dsh-workspace # confirm the plugin layer is mounted
dsh plugin --profile web remove dsh-workspace # remove, then restart dsh web
The plugin works with zero configuration. The following options can be set in the profile's config file when needed:
| Option | Default | Description |
|---|---|---|
baseUrl |
https://api.deepseek.com |
DeepSeek API base URL |
apiKeyEnv |
DEEPSEEK_API_KEY |
Env name of the API key resolved via ctx.credentials |
projectRoot |
— | Absolute project root to preview; defaults to the session working directory |
peakWindows |
[[540, 720], [840, 1080]] |
Peak billing windows in minutes (Beijing time) |
allowRemote |
false |
Allow non-loopback access to the plugin endpoints |
| Symptom | Cause | Fix |
|---|---|---|
| No sidebar entry after install | Bundle plugins need a process restart | Restart dsh web, then check dsh web --dump-config \| grep dsh-workspace |
[WARN] Issues with peer dependencies found |
Peer deps (@deepseek-ai/*, react) are provided by the profile |
Harmless warning, ignore |
ERR_PNPM_IGNORED_BUILDS |
pnpm rejects the node-pty native build script |
Add node-pty to allowBuilds in the profile pnpm-workspace.yaml and reinstall |
Cannot find package '...' |
Dependencies not hoisted under a strict pnpm layout | Set nodeLinker: hoisted in the profile pnpm-workspace.yaml and reinstall |
| Today's cost always shows the estimate | Authentication failed on platform.deepseek.com | Make sure the key behind apiKeyEnv is valid there; the plugin falls back to the estimate automatically |
Installed and restarted, but there is still no sidebar entry?
A: Make sure it is installed into the web profile (command uses --profile web) and confirm the plugin layer is mounted with dsh web --dump-config | grep dsh-workspace. Refreshing the page is not enough; restart the dsh web process.
Today's cost does not match the official bill?
A: The cost is taken from the official platform bill first, so it shows real spending; when the platform API fails authentication it falls back to a local token estimate, which is approximate and not a bill. The source is labeled next to the amount.
Why is the balance red?
A: The balance turns red when it drops to 10 (CNY) or below as a low-balance reminder; it is display only and does not affect API calls.
Does "Update" really upgrade Harness?
A: Yes. It installs the latest published Harness version via npm, then restarts the process automatically; the page recovers itself. A full update takes about a minute.
Can I access it from my phone or another device?
A: Project data is loopback-only by default; other browsers get a 403. If you really need it, set allowRemote: true and make sure the access is secured.
Does the idle/peak label affect billing?
A: The label mirrors DeepSeek's actual peak/off-peak tariff (peak 9:00–12:00 and 14:00–18:00 Beijing time, off-peak at half price). The local estimate prices tokens at the current period, so it already accounts for peak vs off-peak. The official bill always takes precedence.
node-pty native module; see Troubleshooting if platform builds failMIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。