全部插件

DSH / BUNDLE / CLIENT-UI

dsh-rerun-turn

v0.2.5DDDMUC / dsh-rerun-turn59f094129e

可安装组合包UI 与客户端插件社区 · Topic 自动分析Web UI

概览

dsh-rerun-turn

源码级技术说明Infix rerun for DeepSeek Harness: re-run any earlier turn in place - the reply is regenerated from the same prompt while every later turn survives, so subsequent model calls read A B C1 D E F G. Implemented with the official surface-replace contract plus a faithful replay of the tail; the append-only session log is never rewritten.展开完整技术说明收起技术说明
Infix rerun for DeepSeek Harness: re-run any earlier turn in place - the reply is regenerated from the same prompt while every later turn survives, so subsequent model calls read A B C1 D E F G. Implemented with the official surface-replace contract plus a faithful replay of the tail; the append-only session log is never rewritten.

README / ZH

插件文档

目录摘要

Infix rerun for DeepSeek Harness: re-run any earlier turn in place - the reply is regenerated from the same prompt while every later turn survives, so subsequent model calls read A B C1 D E F G. Implemented with the official surface-replace contract plus a faithful replay of the tail; the append-only session log is never rewritten.

dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。

在 GitHub 阅读完整 README

LIMITATIONS

已知限制

- **只能重跑有提示词的轮次**:目标回答所属轮次必须有一条 `user/message` 提示词(人类提问或注入的用户消息都算);系统提示词头不可重跑。 - **一次重跑整轮**:点某一步的回答 = 重跑它所在的整个轮次(提示词重新发送、整轮重新生成)。多步轮次的中间回答同样按整轮处理。 - **带文件附件的提示词拒绝重跑**(`attachments-unsupported`):prompt 准入要求文件走上传收据,durable 引用无法直接重送;图片可以。 - **重放副本是有损拷贝**:`usage`、内嵌 stream 被丢弃(防 token 统计翻倍);系统消息与 deliverable/workspace/todo 等纯记账事件不复制;被重放轮次里的工具**不会重新执行**(结果照抄)。 - **重跑期间用户又发消息**:重放会等会话空闲(忙时延后、最多 ~60 秒后转交续传),仍可能把副本排到新轮次之后——这是同一时间只有一个写者的自然限制,也是续传路径存在的原因。 - **卸载插件后**:重跑已经落地的效果保留(全是官方事件);但被退役的旧行会重新显示,界面看起来像重复(模型上下文不受影响)。 - **会话必须当前置活**(web 实例已打开);忙碌(有未闭合轮次/压缩中)时拒绝。 - **没有撤销**:重跑是破坏性的上下文操作(旧轮次从模型视野永久退役,日志里仍在)。想保留原文形成分支要走官方的 fork,未实现。 - **兄弟插件的已知问题(与本插件无关)**:`dsh-delete-turn` 0.1.x 删除模型回答时会落一条 `system/message` 替换载体(source 为 `plugin:dsh-delete-turn`),而格式只允许 system-prompt 来源的 system 消息——含这种事件的会话在冷读时报 `seed system/message ... must have system-prompt source`、历史打不开。修复方向与 `dsh-edit-turn` 0.2.4 相同(载体改为不占轮次的 `user/message`,或空 `developer/message` + 合成轮)。本仓库的修复工具能用 `--force` 截断这类坏日志。