
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
Automated, UI-managed backup and restore for DeepSeek Harness: full+incremental backups of sessions, memory, and config, with a settings card showing history and a restore button.
DeepSeek Harness 的自动备份与还原插件。在设置页提供完整界面:备份状态、一键备份、历史列表、还原、自定义策略——全部热重载生效,无需重启 dsh。
平台:Windows 10/11。默认路径、目录结构按 Windows 编写;Linux/macOS 支持规划中(服务端仅用 Node 内置模块,跨平台迁移成本低)。
| 项 | 默认值 | 说明 |
|---|---|---|
| 全量间隔 | 720 小时(每月) | 可设为每周(168h)等 |
| 增量间隔 | 24 小时(每天) | 可设为每小时(1h)等 |
| 全量保留 | 2 份 | 只留最新+上一份 |
| 增量保留 | 30 天 | 按天数保留 |
| 备份位置 | dsh 安装目录下的 备份 文件夹 | 可自定义 |
热重载:在设置页修改后立即生效,无需重启 dsh。 判断逻辑:距上次全量 ≥ 全量间隔 → 全量;否则距上次任意备份 ≥ 增量间隔 → 增量。
session.jsonl.zstd)+ storages,可直接放回数据目录记忆归档\<项目>\记忆.md——按时间顺序的完整时间线(会话标题、用户消息原文、关键操作),按项目自动分类.credentials.yaml、modlens-config.json 结构性排除方式一:npm 安装(推荐)
npm install dsh-backup
dsh plugin --profile web add dsh-backup
dsh plugin add会自动完成注册;若你的 dsh 版本不支持该命令,手动在$DSH_HOME/profiles/web/package.json的dsh.profile.bundles中追加"dsh-backup"即可。
方式二:Git 克隆(从源码安装)
# 克隆本仓库
git clone https://github.com/Wntediluvian/dsh-plugins.git
将 dsh-plugins/dsh-backup 目录复制到 web profile 的 node_modules 下:
$DSH_HOME/profiles/web/node_modules/dsh-backup/
然后在 $DSH_HOME/profiles/web/package.json 的 dsh.profile.bundles 中追加 "dsh-backup",重启 dsh。
零依赖:插件仅使用 Node.js 内置模块(
node:fs/node:path/node:zlib),无需联网安装任何额外包。
dsh-backup/
├── package.json # dsh.client / exports 声明
├── cordis.patch.yml # 挂载服务端插件
├── lib/
│ ├── index.js # 服务端:备份引擎 + 路由 + 定时/事件 + 热重载
│ └── client.js # 浏览器端:设置页卡片
├── README.md
└── CHANGELOG.md
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /dsh-backup/status | 备份状态 |
| GET | /dsh-backup/history | 备份历史 |
| POST | /dsh-backup/backup | {type:'full'|'incremental'} 立即备份 |
| POST | /dsh-backup/restore | {backup:<路径>, scope:'memory'|'config'} 还原 |
| GET/POST | /dsh-backup/config | 读/写配置(热重载) |
持久化在 <备份根目录>\备份工作目录\config.json(设置页编辑,或手动改文件):
{
"backupRoot": "<备份根目录>",
"fullIntervalHours": 720,
"incrementIntervalHours": 24,
"fullRetention": 2,
"incrementRetention": 30
}
手动改文件后重启 dsh 生效;设置页修改则立即生效。
<备份根目录>\
├── 全量备份\ ← 全量(保留 N 份)
│ └── <时间戳>-全量\
│ ├── 会话\ ← 完整会话(原始层级)
│ ├── storages\
│ ├── 配置\ ← settings.yaml + 匿名ID(不含 API key)
│ ├── 插件配置\
│ ├── 记忆归档\
│ └── 备份清单.json
├── 增量备份\ ← 增量(保留 N 天)
│ └── <时间戳>-增量\
│ ├── 会话\ ← 有变化的会话
│ ├── 记忆归档\
│ └── 变更记录.json
└── 备份工作目录\ ← 运行时工作区(勿删)
├── config.json ← 用户配置
├── 记忆归档\ ← 最新人类可读记忆
└── 当前状态\ ← 最近备份镜像
lib/index.js:零依赖(node 内置),代码跨平台友好lib/client.js:手写 lazy-CJS bundle 协议,零构建,与 modlens 同构MIT
FAQs
Automated, UI-managed backup and restore for DeepSeek Harness: full+incremental backups of sessions, memory, and config, with a settings card showing history and a restore button.
The npm package dsh-backup receives a total of 38 weekly downloads. As such, dsh-backup popularity was classified as not popular.
We found that dsh-backup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.