@feiyang666/dsh-vault
Manifest valid★ 4Data Vault: Provides backup, empty-data detection, and one-click recovery for DeepSeek Harness. Backup trigger timing: startup backup, unexpected shutdown backup, and manual backup (no longer saving per session or performing scheduled full backups, to avoid freezing when a large number of tasks are running). Automatically backs up the chat history (sessions), workspace data (storages), settings (settings.yaml), credentials, and profile configuration from ~/.dsh to the user's home directory ~/.dsh-backups (keeping up to 10 copies); if the usage plugin (dsh-usage-plugin) is installed, its usage data (usage-records.json / pricing.json) is backed up as well and can be restored to the original directory. Detects whether data has been cleared and supports range-based recovery and backup deletion. The settings page provides a "Backup Management" interface (Host+Client dual-sided plugin).
DeepSeek Harness Data Vault (dsh-vault) 🛡
English · 简体中文
A community plugin for DeepSeek Harness — auto backup → wipe detection → one-click restore. Backs up chat history, workspace data, settings, and credentials to a safe location outside ~/.dsh.
🔔 Important Notice (2026-08-16): This project has been renamed
1️⃣ Repository renamed
Old New (current) GitHub repo feiyang-dev/deepseekharnessdesktop-vaultfeiyang-dev/dsh-vaultLocal remote https://github.com/feiyang-dev/deepseekharnessdesktop-vault.githttps://github.com/feiyang-dev/dsh-vault.gitThe old URL redirects (301) to the new one automatically. All stars / forks / issues / releases are preserved. If you already cloned the repo locally, just update the remote:
git remote set-url origin https://github.com/feiyang-dev/dsh-vault.git2️⃣ npm package renamed
Old package New package (current) npm package @feiyang666/deepseekharnessdesktop-vault@feiyang666/dsh-vault
- For install / upgrade, use the new package name:
dsh plugin --profile web add @feiyang666/dsh-vault- The old package
@feiyang666/deepseekharnessdesktop-vaultremains published for a while, but it is no longer maintained and will not receive updates — please migrate soon.- The desktop client (
DeepSeek Harness Desktop) supports both package names and will auto-detect and upgrade installs made with the old name.
Overview
When the DeepSeek Harness desktop client detects a plugin load failure, it may force-clear the local ~/.dsh data (chat history, workspace data, settings, credentials, plugin configs) and restore factory defaults. dsh-vault continuously backs up all critical data to a safe location outside ~/.dsh, so your data can be fully recovered even after a wipe.
npm package: @feiyang666/dsh-vault (same series as the @feiyang666/dsh-usage-plugin usage plugin).
Features
| Capability | Description |
|---|---|
| Settings page "Backup Manager" | Adds a "Backup Manager" page to the Web settings: view backup status and history, back up now, one-click restore by scope (All / Chat history only / Workspace settings only), delete backups (with confirmation) |
| Automatic backup | First backup 6s after startup + debounced backup after session writes/settings changes (2 min) + scheduled backup every 15 min |
| Backup contents | sessions/ (chat history, zstd binary full copy), storages/ (workspace data), settings.yaml, .credentials.yaml, .anonymous-user-id, profiles/ configs (excluding reinstallable node_modules); if the usage plugin (dsh-usage-plugin) is installed, its usage data (usage-records.json / pricing.json etc.) is included and restored to its original directory |
| Backup location | ~/.dsh-backups/<timestamp>/ — outside ~/.dsh, untouched by data wipes |
| Wipe detection | On startup, compares backup vs current session count; red alert when data is suspected wiped |
| One-click restore | Settings page or the backup_vault tool restores by scope (All / chat history only / workspace settings only) |
| Restore script | Generates restore-latest.ps1; after quitting the desktop app, right-click to run and restore offline |
| Delete backups | Delete a specific backup by name from the settings page (with confirmation) |
Recommended Installation
Either method works and is equivalent. We recommend the desktop app — fully graphical, no command line needed.
Option 1 (recommended): One-click via the desktop app
Install DeepSeek Harness Desktop, open it, then go to "Install Plugins" → Recommended → Data Vault → Install and click "Restart Service Now" to activate.
Option 2: Command line
# Prerequisite: install dsh (npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add @feiyang666/dsh-vault
This plugin is a standard Cordis bundle plugin installed via npm and mounted into a dsh profile:
# 1. Install into the profile (equivalent to the official bundle mechanism)
npm install --prefix "$HOME/.dsh/profiles/web" @feiyang666/dsh-vault
# 2. Register the bundle in the profile's package.json (the dsh.vault row mounts automatically via cordis.patch.yml)
# Or use your desktop app's plugin manager
Or manually edit ~/.dsh/profiles/web/package.json and add "@feiyang666/dsh-vault" to dsh.profile.bundles.
Usage 1: Settings page "Backup Manager" (Web)
After installing and restarting, open Settings → "Backup Manager":
- Top shows backup directory, last backup time, backup count, and data-integrity status
- "Back Up Now" button triggers a manual backup
- The "Backup History" list offers "Restore" (scope: All / chat history only / workspace settings only) and "Delete" (with confirmation) per item
Usage 2: backup_vault tool (TUI / Web universal)
The plugin registers the backup_vault model tool — just tell the assistant "back me up / check backup status / restore chat history from the latest backup / delete that old backup":
action: status— backup directory, last backup, backup list, whether a wipe was detectedaction: backup— back up nowaction: list— list all backupsaction: restore(name+scope: all/sessions/data) — restoreaction: delete(name) — delete a backupaction: make_script— generate a one-click restore script
Manual restore (after quitting the desktop app)
- Find the backup directory
~/.dsh-backups/ - If
restore-latest.ps1was generated, quit the desktop app and right-click → "Run with PowerShell" - Or manually copy the contents of
backup-<timestamp>/back into~/.dsh/
Safety notes
- Backups include
.credentials.yaml(API keys) — keep the backup directory safe (you may copy it to an encrypted disk / cloud drive). - Restore overwrites current data — confirm the backup time point first.
- Chat-history files may be locked while DSH is running; it's best to quit the desktop app before restoring chat history.
Related Projects
| Project | Description | Installation |
|---|---|---|
| DeepSeek Harness Desktop | Windows desktop console: install/start/stop/restart the dsh web service with one click, built-in plugin management — install this plugin from its Recommended section | Download the desktop app and click a few buttons |
| Usage & Cost Tracker (dsh-usage-plugin) | Per-call token/cache-hit stats, peak/off-peak billing, balance query, CSV/JSON/PNG export | One-click from the desktop app, or dsh plugin add @feiyang666/dsh-usage-plugin |
| DeepSeek-Harness | Official CLI / Web service | Quick start below |
Running DeepSeek Harness
Quick start (via npm)
Install Node.js, then run:
npx @deepseek-ai/dsh web
This command starts the Web UI at the default address http://127.0.0.1:3080. See the Web UI Guide for details.
Run from source
To run from the repository source:
git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web
License
MIT © dsh-vault
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.3.0 | — | — |
| 1.3.1 | — | — |
| 1.3.2 | — | — |
| 1.5.0 | — | — |
| 1.3.3 | — | — |
Comments
Loading…
Similar plugins
by GHJIVHIDD
原生UI界面。面向 DeepSeek Harness Web 的虚拟机沙箱插件:它基于 OrbStack 为每个会话提供独立的 debian/alpine 沙箱虚拟机,在会话视图环中新增「虚拟机」页签,支持查看/启动/休眠/删除和详细配置展示,同时为模型提供 `vm_list`、`vm_create`、`vm_exec`、`vm_delete` 工具,并内置全局运行上限、闲置自动休眠、归档/删除自
★ 3
Apache-2.0
JavaScript
Sep 30, 2026
dsh plugin --profile web add @deepseek-ai/dsh-plugin-vm-sandboxby jh1016248
DSH(DeepSeek Harness)插件:会话标题栏一键导出当前会话 —— 「保存 MD」下载纯净 Markdown,「保存 HTML」下载带左侧目录、表格与代码块渲染的网页。自动过滤模型思考过程与工具调用记录,只保留用户与助手的正文,适合归档、分享与撰写报告。安装:dsh plugin --profile web add dsh-save-session
★ 0
↓ 690/wk
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-save-sessionby xia-sc
DeepSeek Harness Web GUI 的完整 Git 管理插件,形态为一个可折叠的悬浮面板, 实时跟随当前会话的工作区——在侧边栏点击不同的会话/工作区,面板会瞬间 重新绑定到对应仓库。 支持的工作流: 分支切换 · 拉取更新(fetch) · 拉取合并(pull,仅快进) · 暂存全部 · 提交(commit,可用 AI 起草提交信息) · 推送(push) · 状态(status) · 最近提交 · 未提交文件列表 · 点击变更看差异 · 基于某分支新建分支。
★ 3
↓ 34/wk
MIT
JavaScript
Oct 9, 2026
dsh plugin --profile web add @xia-sc/dsh-gitby sky-unicorn
DeepSeek Harness(DSH)一站式增强套件,基于公开插件扩展点构建,无需修改 DSH Core。提供 Windows Launcher、桌面通知与动态桌宠、Plugin Community、MCP Server Manager、模型输入类型配置、最后一条消息编辑与重新生成,以及 Claude Code / Codex Subagents 实时控制。所有功能均可独立安装,支持全量部署、
★ 4
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-enhanced-pluginsby xiaoyuyu6420
One command backs up & restores all of ~/.dsh for DeepSeek Harness: /backup, scheduled auto-backup, upgrade snapshots, session-log doctor & repair, out-of-process rescue console, credential redaction,
★ 27
↓ 1.3k/wk
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add @xiaoyuyu6420/dsh-backupby zxmqq1234
DeepSeek Harness(dsh)自动重试插件:报错自动重试、中断自动继续、挂起自动唤醒、 每一步右上角弹窗告诉你,不用再手动发"继续",数据看板还原每一次重试的真相。与 dsh系统重试互补而非替代——在内置重试耗尽或不覆盖的错误码上追加保障。
★ 4
MIT
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-auto-retry