All plugins

DSH / BUNDLE / CLIENT-UI

@jochenyang/dsh-rewind-plugin

v0.4.1JochenYang / dsh-rewind-plugin4cd8e2d457

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

@jochenyang/dsh-rewind-plugin

Message recall for DSH: cut the conversation back to before a chosen user message so it leaves the model's context, hide it in the transcript, and put its original text back in the composer. Works through the kernel's own surface-replacement mechanism, so nothing is deleted from the session log.

README / EN

Package documentation

Registry summary

Message recall for DSH: cut the conversation back to before a chosen user message so it leaves the model's context, hide it in the transcript, and put its original text back in the composer. Works through the kernel's own surface-replacement mechanism, so nothing is deleted from the session log.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- 由本插件观察不到其写入的工具改动的文件——命令行命令、模型跑的脚本、渲染器——由工作区快照负责, 而不是那两条写入瀑布。快照是有上限的(文件数、总字节、单文件字节、截止时间,以及工具调用的 abort signal),所以特别大的目录树、读不了的文件、符号链接或超时的遍历都可能留下没覆盖到的路径。每次撤回 都会报告覆盖度——`full`、`partial` 或 `none`——连同原因和涉及的写入工具,缺口是看得见的,而不是静默的。 - 依赖、版本控制与缓存目录(`node_modules`、`.git` 等)故意不在覆盖范围内,所以跑过 `npm install` 的 撤回不会报告依赖树;而 `dist/` 这类构建产物是会被遍历的。 - `size` + `mtime` 都没变就当作没变。一个把旧 mtime 恢复回来、大小又刚好相同的写入者会被漏掉——这是 所有同步工具都要做的取舍。 - 占位符是一条内容为空的 `user/message`。DeepSeek 的请求构造会丢掉空的用户消息,所以它在那边不产生 面向模型的回合;换成不丢空用户内容的 provider,一次撤回会多出一条空的用户消息。