DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-guard

x

dsh-guard

Manifest valid

A development safety kit: rolling config snapshots, automatic rollback on plugin failures, boot-failure rescue, and an in-settings management panel.

UI (client)hasBundlePatch

dsh-guard

DSH 开发配套守护插件:滚动快照 + 失败自动回退 + 本机管理面板。

能力

  • 滚动快照:每次存档保留最近 N 份(默认 5,带时间戳+原因),同时镜像 last-good 供外部启动器/bat 互操作
  • 自动存档:启动成功且度过宽限期后自动存档(reason=auto)
  • 自动回退:监听到插件运行失败,三道护栏内自动回退 last-good(每启动一次、宽限期内、快照早于本次启动)
  • 管理面板(仅本机):http://127.0.0.1:<端口>/dsh-guard —— 状态 / 快照列表 / 一键存档 / 回退 / 恢复备份 / 事件日志
  • 管理 API(仅本机):/api/dsh-guard/{status,snapshots,backups,log,save,rollback,restore}
  • 事件日志:snapshotRoot/guard.log

配置(profile 补丁层,均可省略)

- id: dsh-guard
  config:
    snapshotRoot: D:\path\to\snapshots
    profileDir: C:\path\to\profiles\web
    sourceDirs: [D:\path\to\plugin-src]
    restartCommand: D:\path\to\restart.bat   # 空 = 只回退不重启
    graceMs: 120000
    autoSaveDelayMs: 150000
    keepSnapshots: 5

安全边界(重要)

  • boot 崩坏插件救不了:进程在启动期崩溃时插件无法运行,boot 救援由外部启动器承担(见 dsh-balance-float 仓库的 windows/launch-dsh.vbs SNAP_TOOL 机制)
  • 管理面板/API 仅限本机回环地址访问
  • 每次启动最多自动回退一次(防死循环)

测试

node test.mjs   # 21 项

License

MIT

Compatibility

DSH 0.2.1-alpha.4: failedDSH 0.1.7-alpha.2: failedDSH 0.2.1-alpha.3: failed

Versions

Latest versionPublishedSize
1.0.0——

Comments

Loading…

Similar plugins

dsh-plugin-guard

DSH Desktop plugin safety guard: self-repairs plugin load crashes and runs 8 core safety checks (2 optional: deep-config & smoke), prompting you when a plugin changes. Non-commercial source-available.

Security & AuditDevelopment & InfrastructureManifest valid

★ 0

↓ 153/wk

dsh plugin --profile web add dsh-plugin-guard

by lire1131

DSH crash-rescue plugin: undo config & plugin-code changes, secret-safe snapshots, one-click SAFE MODE, plus offline CLI/GUI that work even when DSH won't boot.

Security & AuditManifest valid

★ 125

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-undo-savepoint

by caparisen

Development kit for DeepSeek Harness plugins: compose a profile, boot a throwaway shadow, verify the host half, capture the client half, roll back a broken profile

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add @citisen/dsh-plugin-dev

by 863683348

Installation safety gate for DSH plugins: antivirus-style scan of install scripts, permissions, secrets and network callbacks on local directories or npm tarballs, returning a BLOCK/WARN/PASS verdict

Security & AuditTools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-plugin-gate

by Zlyraz

Crash protection for installed plugins: crash cards with one-click disable, static pre-flight inspection, black-box crash telemetry, and a safe-mode rescue profile for a broken UI.

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add dsh-ballute

Static and runtime security guard for dsh: rule-based scans for malicious code, prompt injection and token waste, runtime interception of dangerous tool calls, /scan command, plugin_scan tool, web pan

Security & AuditDevelopment & InfrastructureManifest valid

★ 0

dsh plugin --profile web add dsh-security-guard