dygin/dsh-recover-context ↗★ 0
dsh-recover-context
DSH web plugin: roll back to before any of your questions, or edit the last one and resubmit, restoring the workspace files the discarded turns produced.
AI 분석
核心用途是提供一键回退对话上下文及同步撤销工作区文件变更的功能。适合在 Agent 偏离预期或产生错误代码时,需要无污染重新提问的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dygin/dsh-recover-contextdsh-recover-context
v1.0.4
恢复上下文插件
- **↶ **:点击后,这个问题及其之后的所有内容(对话上下文 + 工作区里产生的文件变更)都会被回退掉——旧会话归档保留日志,新会话从提问之前继续。之后你可以换个方向重新提问,模型不会再被错误的上下文干扰。
- **✎ **点击把原问题文本载入输入框,此时不改变任何上下文;编辑后提交的那一瞬间执行回退并重新提问。
安装
dsh plugin --profile web add dsh-recover-context@latest
License
Apache-2.0