feiyang-dev/dsh-vault

DeepSeek Harness 数据保险箱插件(dsh-vault)—— 自动备份、清空检测、一键恢复,保护聊天记录与工作区数据;可经桌面端一键安装或命令行 dsh plugin add 安装。

Project Overview项目介绍

dsh-vault is a native plugin built exclusively for DeepSeek Harness (DSH), designed to prevent accidental data loss from DSH’s automatic factory reset triggered by plugin load failures. It backs up all critical user data, including chat history, workspace configurations, settings, and API credentials, to a secure location outside the default ~/.dsh directory that is not touched during data wipes. To install the plugin, the recommended method is one-click installation via the DeepSeek Harness Desktop app, or you can install it via the DSH CLI with the command dsh plugin --profile web add @feiyang666/dsh-vault. It is packaged as a standard Cordis bundle plugin that works with both web and desktop DSH instances.

After installation and a restart of DSH, the plugin runs automatically, starting its first backup 6 seconds after DSH launches. It then runs debounced backups 2 minutes after any session or setting change, plus scheduled backups every 15 minutes to ensure you always have a recent recovery point. On every launch, it compares the current session count against the last backup to detect accidental data wipes and alert you immediately. You can manage backups, trigger manual backups, restore by scope, or delete old backups directly from the Backup Manager page added to DSH’s settings. It is ideal for any DSH user, especially those who frequently test new plugins.

This plugin requires Node.js version 18 or higher to run, and is released under the permissive MIT open source license, meaning it is free to use, modify, and distribute. Because backups include sensitive information like your API credentials stored in .credentials.yaml, you should keep your backup directory (~/.dsh-backups/) secure, for example by storing it on an encrypted disk or cloud drive. When restoring data, you should quit the DSH desktop app first to avoid locked chat history files that can interrupt the restore process. You can also generate a one-click offline restore script to use after quitting DSH.

dsh-vault是专为DeepSeek Harness打造的原生插件,核心功能是为DSH本地存储的所有关键数据提供自动备份、擦除检测和一键恢复能力。它将聊天历史、工作区数据、用户设置、访问凭据等重要内容备份到~/.dsh目录之外的安全位置,避免DSH客户端因插件加载失败强制清空本地数据,保障用户核心数据不会意外丢失。

用户可以通过DeepSeek Harness桌面客户端一键安装,也可以通过DSH命令行工具安装到指定配置文件。安装后插件会自动在启动6秒后完成首次备份,之后每15分钟定时备份,数据变更后也会自动触发备份,还会在启动时检测数据是否被意外擦除并发出警报。所有DSH用户都可以使用它来保障数据安全,尤其是频繁安装测试插件的用户。

该插件要求Node.js版本不低于18,支持网页端和桌面端DSH,采用MIT开源许可协议免费使用。备份包含API密钥等敏感信息,用户需要自行保障备份目录的安全,恢复数据前建议先退出桌面客户端,避免聊天历史文件被锁定导致恢复失败,还支持手动生成离线恢复脚本。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @feiyang666/dsh-vault

把 feiyang-dev/dsh-vault 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeek Harness Data Vault (dsh-vault) 🛡

English · 简体中文

GitHub · npm · MIT License

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.

License Node Platform


🔔 Important Notice (2026-08-16): This project has been renamed

1️⃣ Repository renamed

Old New (current)
GitHub repo feiyang-dev/deepseekharnessdesktop-vault feiyang-dev/dsh-vault
Local remote https://github.com/feiyang-dev/deepseekharnessdesktop-vault.git https://github.com/feiyang-dev/dsh-vault.git

The 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.git

2️⃣ 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-vault remains 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.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev deepseek-harness-media 下一个 Next whalechan-dsh-theme →