Taler97/dsh-rollback

Taler97★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

File-mutation rollback plugin for DeepSeek Harness

README 摘要

dsh-rollback English 中文 File-mutation rollback plugin for DeepSeek Harness: it observes every successful tool result for the pre-image a write / edit mutation reports, checkpoints that pre-image into the workspace git object database or a snapshot store, and exposes restore through a model-facing rollback files tool and a /rollback human command. It registers no service and changes no loop code — capture rides the tools/result observation event, and restore writes files directly (never through the fs policy seam or the sandbox, because undoing a mutation must not be gated by the policy the mutation passed). Install The package is an installable bundle (declares dsh.bundle ), so it plugs into a profile without touching the harness. All you need is a dsh CLI; the runtime peer packages ( @deepseek-ai/dsh-tools , @deepseek-ai/cordis , ...) resolve from the dsh installation itself, so nothing else is installed. Prerequisites - A dsh CLI on the machine ( dsh plugin shells out to pnpm , so pnpm must be on PATH ). - A profile to install into — demo below is initialized on first use; use any name. Install from npm (recommended) Other sources work the same way: Verify the install 1. The prof…

在 GitHub 查看完整 README →
工具/开发checkpointdeepseek-harnessdshdsh-pluginrollback

分类