Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心

dsh-backup

DeepSeek Harness plugin: /backup, /backup-list and /backup-restore commands to back up, list and restore the DSH home directory. DeepSeek Harness 备份插件:一键备份 DSH 主目录(~/.dsh)为时间戳 tar.gz 归档、查看历史备份并恢复。

usertoandy @usertoandy ⬇ 1 ★ 0 main

安装

dsh plugin --profile web add github:usertoandy/dsh-backup
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

DeepSeek Harness plugin: /backup, /backup-list and /backup-restore commands to back up, list and restore the DSH home directory. DeepSeek Harness 备份插件:一键备份 DSH 主目录(~/.dsh)为时间戳 tar.gz 归档、查看历史备份并恢复。

该插件未提供要点说明,请参考仓库 README。

  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/usertoandy/dsh-backup
许可证未标注(见仓库)
主要语言main
下载量1
GitHub 星标0
最近推送2026-09-05
收录日期2026-09-19
分类工具与能力

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# @wildusk/dsh-backup

DeepSeek Harness plugin backup. Archives are written to `~/.dsh-backup`.

Repository: https://github.com/usertoandy/dsh-backup.git

## Commands

| Command | Function |
| --- | --- |
| `/backup` | Archive the DSH home to `~/.dsh-backup/dsh-backup-.tar.gz` and report the archive path and size. |
| `/backup-list` | List the existing archives in `~/.dsh-backup` (number, filename, size, date). |
| `/backup-restore` | Ask (via the harness question UI) which backup to restore and how, then extract it into the DSH home. |

### Restore modes

The confirm question offers the original tool's three answers:

- `yes` — extract over the current files; files not in the backup are kept.
- `clean` — empty the DSH home first, then extract (exact restore of the backup).
  Refused when the target resolves to `/` or the user's home directory.
- `no` — cancel the restore.

After a restore you may need to restart any running `dsh` processes.

## Install

The host loads `src/index.ts` directly (no build step). Install straight
from the npm registry — `dsh plugin add` forwards the package name to pnpm
inside the profile directory, then activates the bundle automatically
(the bundles list is updated by the reconcile step):

```sh
dsh plugin --profile web add @wildusk/dsh-backup
```

Restart `dsh web` afterwards; `/backup`, `/backup-list` and `/backup-restore`
then appear in the command palette.

At runtime the plugin uses the host-provided `commands` and `userQuestions`
services plus `tar` on the PATH.

## Files

- `src/index.ts` — plugin entry: `name` / `inject` / `apply`.
- `src/commands.ts` — the three command handlers and their output text.
- `src/backup-core.ts` — timestamped tar.gz creation, listing and guarded
  restore (asynchronous, abort-aware).

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。