DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-chat-thinking-editor

y

dsh-chat-thinking-editor

Manifest valid★ 3

DSH plugin: directly edit the body and thinking chain (thinking) of any AI message within the DeepSeek Harness conversation. Preserve the AI's intelligence, making the AI fully match your wishes. 🐛 Fixed the issue where selecting and deleting triggered a cascade clear. | DeepSeek Harness plugin to edit any assistant reply + reasoning/thinking chain. Make the AI output

UI (client)hasBundlePatch

dsh-chat-thinking-editor

让 AI 按你的来。它不行,你自己来。

用 DeepSeek Harness 用了这么久,我算是想明白了一件事:模型再聪明,也有它就喜欢犟的时候。尤其在碰上一些技术向的活儿的时候——逆向点东西、拆个协议、翻一翻底层逻辑——它动不动就卡住,然后甩给你那句熟悉的:

「这个我帮不了你,因为它可能会违反……」

懂的人都懂。后面省略号什么内容,你自己脑补也补得出来。

你重新问它一遍?它还是那句话。你换个说法再试?还是那句话,顶多加一句「建议你走正规流程」之类的。烧一堆 token,结果它连脑子里那段长长的思考,都还是沿着它自己那套「不行」一直推下去。

所以我就写了这个插件。别跟 AI 较劲了,直接改它。

它不配合,你就把它那条回答,连同它脑子里折腾的那串思维链,一起拎出来改掉。改完保存,之后这整个对话——包括它接下来写的东西、想的过程——全都只认你改好的那个版本。它正文明明堂堂地收着你的意思,连它推演的那条路都是按你的方向走的。

一句话:保留 AI 的聪明,改掉你不想要的部分,让它彻底听你的话。

中文 · English


它都能干嘛

  • 每条 AI 消息的操作条上,多了根小铅笔;
  • 点开弹出编辑框,回复内容和思考链两个都能改;
  • 不只是眼前那条——这个会话里所有它说过的回复都列出来给你,连工具调用中间夹着的那几条也算;
  • 改完保存,AI 就只认你的版本;同一句想改几次改几次,不用重新跑。

一些贴心小细节:图片、工具调用这些非文本的东西会原样留着不动;正文留空就算清空这段,思考链留空就把那个思维块删掉;agent 正在跑的时候会锁住不能改,免得你们俩同时动同一段话打起来。

安装

前提:装好 DeepSeek Harness(dsh,推荐 0.1.5-rc.2 及以上版本)。

已经发到 npm 了,一行就完事:

dsh plugin --profile web add dsh-chat-thinking-editor

想改源码、跟着一起折腾的,clone 下来走本地路径挂也行:

git clone https://github.com/yumiao-dev/dsh-chat-thinking-editor.git
dsh plugin --profile web add /path/to/dsh-chat-thinking-editor

想手搓挂载的话,把 cordis.patch.yml 里那行合进你 profile 的 dsh.profile.bundles 层,重启 dsh web 就完事。

装完刷新一下 DSH 页面,就能看到那根铅笔了。

怎么用

  1. DSH 里跑一段对话,找一条你不满意的 AI 回复;
  2. 鼠标挪上去,点铅笔;
  3. 在「编辑助手消息」里点开那条;
  4. 改正文,改思考链,爱改哪个改哪个(留空=删掉那部分);
  5. 点保存——之后它就顺着你的版本往下走了。

注意:关窗口得点左上角那个关闭按钮(点遮罩和按 Esc 都不会关,这是故意的,免得手机上瞎碰到)。

顺带修的一个小毛病

写这插件的时候顺手修了个烦人的 bug:以前你对其中一个编辑框「全选(Ctrl/Cmd+A)→ 删除」,另一个框的内容也会跟着被清空。原因是选区在弹窗里串了,两个相邻输入框被一起选中了。现在全选只影响你当前正编辑的那一栏,不会误伤隔壁。

兼容性

  • 目标版本:DeepSeek Harness 0.1.5-rc.2+(依赖区间 ^0.1.1-rc.2);
  • 环境:Node 22.19+ / 24+,pnpm 11;
  • 底层走的是官方 surface replacement 事件(和 compact 那套机制是同一个东西)和 conversation.chat.assistant-actions 槽位,不碰私有接口。

提醒一句:DSH 官方自己都标了 developer preview,接口往后大概率还会变。哪天升级 DSH 之后发现不好用了,来提个 issue 就行。

目录结构

.
├── src/           # TypeScript 源码(Host + 前端逻辑)
├── lib/           # 编译产物,npm 入口
├── cordis.patch.yml  # DSH 挂载声明
├── package.json
└── README.md

License

MIT

写给在 dsh-plugin 专区晃悠的你:与其跟一个嘴硬的模型来回折腾,不如把它掰过来。这插件就是干这个的。

Versions

Latest versionPublishedSize
0.1.1——
0.1.2——

Comments

Loading…

Similar plugins

dsh-prompt-polish

by JoukoPuro

一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM

Sessions & MessagesManifest valid

★ 4

↓ 116/wk

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-prompt-polish

by hg1048596-pixel

DeepSeek Harness (DSH) 插件:在模型读取前撤回已发送的文字消息,支持单条与全部撤回。A DeepSeek Harness plugin that recalls sent-but-unread text messages before the model reads them — one-by-one or all at once.

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 127

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-recall-unread

by roushanyyzz

让 AI 在对话中每修改一个文件,你就立刻看到它改了什么。 DSH(DeepSeek Harness)插件:拦截 write / edit 工具调用,在对话流的工具卡片位置直接渲染 git 风格文件差异——支持上下对比与左右对比,逐行高亮

Manifest valid

★ 0

MIT

TypeScript

Aug 20, 2026

dsh plugin --profile web add dsh-diff-vis

by yingjian666

DeepSeek Harness (dsh) 插件:注入系统提示词,强制 Agent 的思维链 / 规划 / 工具推理全程使用简体中文,防止中文思考漂移为英文。零外部依赖,任意本地目录 link 即装。

Sessions & MessagesDevelopment & InfrastructureManifest valid

★ 4

MIT

JavaScript

Sep 17, 2026

dsh plugin --profile web add dsh-zh-thinking

by jasen215

DeepSeek Harness (DSH) plugin for self-improving AI agents: continual learning, persistent memory, cross-session knowledge, review-and-refine workflows, and automatic rollback.

Development & InfrastructureMemory & ContextManifest valid

★ 9

↓ 444/wk

MIT

TypeScript

Sep 24, 2026

dsh plugin --profile agent add dsh-continual-harness

by tuogusa

DeepSeek Harness 思维导图插件:AI 回答自动整理为可编辑 Markdown,支持导出文件和生成图片;核心逻辑已内置,单包发布。

Manifest valid

★ 0

↓ 506/wk

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-mindmap