DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Backup — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@wildusk/dsh-backup

Backup

DeepSeek Harness 插件:提供 /backup、/backup-list 和 /backup-restore 命令,用于备份、列出和恢复 DSH 主目录。DeepSeek Harness 备份插件:一键将 DSH 主目录(~/.dsh)备份为带时间戳的 tar.gz 归档、查看历史备份并恢复。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @wildusk/dsh-backup@0.1.4
README兼容性版本

兼容性与来源证明

Backup 以 @wildusk/dsh-backup 发布,当前版本为 0.1.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.4stable
2026/9/16
0.1.3stable
2026/9/15
0.1.2stable
2026/9/5

相关插件

正在加载相关插件…

最新版
0.1.4
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
35.5 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
223
安全扫描
✓ v0.1.4 扫描通过
最近提交
2026/9/5
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

@wildusk/dsh-backup

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

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

Commands

CommandFunction
/backupArchive the DSH home to ~/.dsh-backup/dsh-backup-<timestamp>.tar.gz and report the archive path and size.
/backup-listList the existing archives in ~/.dsh-backup (number, filename, size, date).
/backup-restoreAsk (via the harness question UI) which backup to restore and how, then extract it into the DSH home.

Fresh-session visibility

Command output is log-only (command/run + command/done), and the harness deliberately keeps a session with no model turn on its empty hero: a generic command row does not count as conversation content. Without help, a /backup-list result in a brand-new session is logged durably but stays invisible until some later message activates the transcript.

The plugin therefore ships a small web client face (src/client.js). For /backup, /backup-list and /backup-restore it projects the typed command line as a right-aligned input bubble anchored just before the durable result row. That extra node activates the chat view, so the result card renders immediately in a fresh session. The generic command lifecycle is unchanged.

Reading the result

The shipped command row folds its outcome into a single nowrap, ellipsised line and only reveals the full text after a click on the disclosure chevron — which hides a /backup-list table behind an interaction. The client face therefore also replaces that card for the three commands (conversation.chat.commandview, keyed by command name): the command line and a state dot are followed by the whole outcome text, rendered directly with no click needed. Very long output stays bounded by an internal scroll area.

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 — reject the restore.

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

Declining (no) and dismissing the dialog both settle as a normal outcome with an explicit message — Restore rejected — you chose "no". Nothing was changed. or Restore rejected — you dismissed the dialog. Nothing was changed. — rather than as a failure. This matters: a thrown handler settles the row as an error and re-raises to the caller, so the command request itself fails and no message reaches the transcript.

Install

The host loads src/index.ts directly and the browser loads src/client.js directly — no build step for either half. 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):

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

Restart dsh web afterwards; /backup, /backup-list and /backup-restore then appear in the command palette. A restart is required (not just a reload) when upgrading a version that adds the client face, because the browser module graph caches each package's dsh.client verdict until boot.

At runtime the host half uses the host-provided commands and userQuestions services plus tar on the PATH; the browser half uses the client-provided uiConversation and slots services.

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).
  • src/client.js — browser half: the command-input Conversation Definition, its keyed Chat Node renderer, and the always-expanded command-result card (served unbundled).
  • tests/core.test.mjs — host round-trip and registration tests.
  • tests/client.test.mjs — browser projection tests (node, no React).

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Better Sidebardsh-better-sidebarDSH web 插件:类似 VSCode 的右侧边栏(资源管理器 / 编辑器 / 终端 / git / 浏览器),按对话会话隔离。提供服务,供其他插件注册侧边栏标签页和文件查看器。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Plugindsh-pluginDeepSeek Harness 社区插件市场,遵循官方插件规范——无需离开应用即可浏览、搜索并安装 9000+ 个由人工精选的社区插件。· DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。