DeepSeek Harness Plugin

23swccp/dsh-undo-plugin

Stars ★ 3 Downloads (30d) 628 Category Sessions & Messages Added 2026-08-21 npm dsh-undo-plugin

Conversation and workspace undo: use the /undo timeline, session-header action, or message icon to roll back before any sent prompt; private Shadow Git snapshots restore files, the reverted turns stay out of model context, and Undo Rollback can recover mistakes. Includes archived-session management and per-tool colored cards.

Install

# from npm (prebuilt)

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:23swccp/dsh-undo#path:/packages/bundle-rollback

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Conversation undo/rollback plugin for DeepSeek Harness (dsh).

  • Message-level rollback — the enter-key icon under a sent prompt, the session-header rollback button, the /undo command, or the composer strip: restores the file tree from a plugin-private Shadow Git snapshot (never touches your .git) and forks the conversation, so the model never sees the reverted prompt, reply, or tool calls
  • /undo node axis — exact /undo opens a lineage timeline: choose a rollback point or hand the selected turn to dsh's native Trajectory view, where the full selected turn is marked
  • Archive tasks — list, restore, and hide archived sessions from Settings
  • Tool cards — per-tool colored cards and the reasoning-and-actions fold in the dsh web conversation trail

Install

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

Requires dsh 0.1.0-rc.6 or newer. Restart dsh web after installing.

Full documentation: 中文 | English

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.