OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wang-xudong/dsh-plugin-undo
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Conversation undo for DeepSeek Harness: undo the last n turns within the current session — no new session, no project file changes.
Most conversation-rewind plugins use sessions.fork to copy a history prefix into a new session (the original session is kept or archived). This plugin undoes in place on the current session's surface, so:
/undo or /undo 1 — undo the last completed turn/undo 3 — undo the last 3 completed turns/undo all — undo every turn currently visible to the modelAfter undo:
Undone turns collapse in the chat view as:
↩ 第 N 轮已撤销 · 点击展开
Click the header to expand or collapse that turn in place. The /undo command card itself is hidden; the folded headers are the only visible undo feedback.
turn/start / turn/endsurfaceOp: { op: 'replace', start, end } over their surface range/undo command nodes and folds the undone turns with DOM/CSSdsh plugin --profile <profile> add file:/path/to/dsh-plugin-undo
Restart the profile:
dsh --profile <profile>
No additional configuration is required.
Type in the session input:
/undo
/undo 1
/undo 3
/undo all
The command requires the session to be idle. Stop the running turn first if the UI reports it is busy.
Published entry points live in lib/; source lives in src/. Build and create the distributable tarball:
npm run build
npm pack
This produces dsh-plugin-undo-<version>.tgz, which can also be installed directly:
dsh plugin --profile <profile> add file:/path/to/dsh-plugin-undo-<version>.tgz
dsh-plugin-undo/
├── README.md
├── README_zh.md
├── cordis.patch.yml
├── package.json
├── scripts/
│ └── build.mjs
├── src/ # source
│ ├── index.js # host: /undo command and surface replacement
│ └── client.js # web: folds undone turns, hides the command card
└── lib/ # build output (generated by npm run build)
/undo runsCLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: conversation-undo。