deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dyhyfjn/dsh-rollback-withdraw
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Trae-style withdraw for DeepSeek Harness Web. A one-click rollback button on every user question and assistant answer that rewinds both the workspace code and the conversation itself (memory, trajectory, goals) to the state before that message.
Every completed turn in a DSH web session becomes a rollback point. Click the undo icon next to any message and the workspace files are restored to the last completed turn before it, while the session is forked at that point and the rolled-back conversation opens automatically — exactly as if that exchange never happened.
git reset --hard + a safe git clean.rollback checkpoint <seq>; a withdraw restores via git reset --hard + git clean that preserves dependency/build directories. Space-efficient and aligned with normal git workflows..dsh-rollback/config.json.dsh.bundle + dsh.client), it starts with the client; no re-activation after restarts.| Item | Notes |
|---|---|
| OS | Windows (uses robocopy + PowerShell 5.1+); other platforms planned |
| Git | optional — only needed for git mode |
| DSH | web profile (dsh web) |
# from npm
dsh plugin --profile web add dsh-rollback-withdraw
# or from this repository
dsh plugin --profile web add github:dyhyfjn/dsh-rollback-withdraw
# or a local build
npm pack && dsh plugin --profile web add ./dsh-rollback-withdraw-0.1.0.tgz
Restart the web app afterwards — plugin-set changes take effect on restart.
The git-branch icon in the session header shows git-mode status:
session/event and records a checkpoint at every turn/end — a git commit, or a hard-link snapshot under <workspace>/.dsh-rollback/snap/<session>/<seq>/./rollback/rpc (the static-plugin channel that replaces the dynamic harness.handle).turn/end before the message), restores the files, then the client forks the session at that sequence and opens the child.| Key | Where | Default | Meaning |
|---|---|---|---|
gitAutoCommit |
<workspace>/.dsh-rollback/config.json |
true |
use 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).
/rollback/rpc is a same-origin, unauthenticated route on the localhost web server — this tool assumes personal, localhost-only usage. Do not expose the harness port to untrusted networks.
git reset --hard + git clean (ignored directories preserved) — untracked non-ignored files are deleted on rollback.npm pack # produce the publishable tarball
node --check lib/index.js lib/client.js # syntax gate
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。