Skip to content
dsh.fish
Bundle

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.

Source
dygin
stars
5 stars
License
Apache-2.0
Updated
Updated 7 days ago

Readme

# dsh-recover-context

> v1.0.4

恢复上下文插件

- **↶ **:点击后,**这个问题及其之后的所有内容**(对话上下文 + 工作区里产生的文件变更)都会被回退掉——旧会话归档保留日志,新会话从提问之前继续。之后你可以换个方向重新提问,模型不会再被错误的上下文干扰。
- **✎ **点击把原问题文本载入输入框,**此时不改变任何上下文**;编辑后提交的那一瞬间执行回退并重新提问。


## 安装

```bash
dsh plugin --profile web add dsh-recover-context@latest
```


## License

Apache-2.0

Install

dsh plugin --profile web add github:dygin/dsh-recover-context#5bc260fb7a2f68a4d8d8fc9d48384586279577af

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
Source