dyhyfjn/dsh-rollback-withdraw0

dsh-rollback-withdraw

Trae-style withdraw for DeepSeek Harness Web: a rollback button on every user/assistant message that restores the workspace code (git commits or hard-link file snapshots) and forks the session back to the last completed turn. 会话撤回插件:每条消息一键回滚代码与对话。

AI 분석

适合需要频繁调试代码和回退对话的开发者。通过一键回滚代码和会话,能有效避免因模型生成错误代码而手动撤销的繁琐操作。

패키지
dsh-rollback-withdraw
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dyhyfjn/dsh-rollback-withdraw

Usage

  1. Chat with the agent as usual; a rollback point is recorded automatically after every completed turn.
  2. Hover a message and click the undo icon — click once to arm ("confirm"), click again to execute.
  3. The workspace is restored and the UI switches to the forked, rolled-back session. Continue from there.

The git-branch icon in the session header shows git-mode status:

  • lit (brand color + green dot) = git auto-commit on;
  • dimmed = off, or the workspace is not a git repository (tooltip explains);
  • disabled when the workspace has no git repo.

Configuration

KeyWhereDefaultMeaning
gitAutoCommit/.dsh-rollback/config.jsontrueuse git commits as rollback points when the workspace is a git repo

Ignored paths (never snapshotted, committed, or deleted): node_modules, .git, dist, build, .next, .venv, __pycache__, .idea, .vscode, coverage, *.pyc, *.log, … (see IGNORE_DIRS / IGNORE_FILES in lib/index.js).