WASD258-jpg/dsh-context-surgery

WASD258-jpg★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Surgical rewriting of the model-visible conversation history of a DSH session (surface replacement). Edit reply vs reasoning chain separately.

README 摘要

dsh-context-surgery 中文 English Surgical rewriting of the model-visible conversation history of a DSH session (surface replacement): fix an out-of-character reply, retcon a scene, or correct wording — the model's next request reads the edited history as if it had always been that way. Reply text and the reasoning chain are edited separately . This is a community project. It is not an official DeepSeek plugin and does not imply any endorsement by DeepSeek. Features - Per-message surgery buttons — every AI message's action row (slot conversation.chat.assistant-actions , order 20): ✏️ edit reply, 💡 edit thinking (shown only when the message has a reasoning block), 🗑️ delete. - Separate reply / thinking editing — part=reply rewrites only text blocks (keeps reasoning and tool calls); part=thinking only reasoning blocks (empty text removes them all); part=all rewrites the whole message as plain text. - /context command family — list / edit / think / clear-think / rewrite / delete / replace from the chat input. - Model-callable tools — context list , context edit , context delete , context replace (for self-correction loops). - HTTP API — GET /list , GET /message , POST /edit /delete /re…

在 GitHub 查看完整 README →
工具/开发contextcordisdeepseek-harnessdshdsh-pluginhistory

分类