rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:thirteenkai/dsh-resend-editor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness(DSH)插件:编辑已发出的消息,然后重发。
发出去 10 张图加一大段文字,才发现图放错了、字写错了?不用重新复制文字、再一张张拖图:点消息下方的 ✎,原文和图片会原样出现在消息位置的编辑卡里,改完直接发。
+、往卡片里拖,或在文字框里粘贴@ 选图,插入【文件名】(同名图写成【图N 文件名】)⌘↵ 发送,Esc 取消提示词里不用再写「图一是情景,2 是豆包奶奶……」:在官方输入框里键入 @,菜单最上面是待发送的图片(缩略图 + 文件名),选中后插入一个 @豆包奶奶.png 标签。
@豆包。@ 紧跟在文字后面(如 奶奶@)也能用:官方菜单只认行首或空格后的 @,这种情况由插件弹一个只列图片的小菜单,↑↓ 选择、回车或 Tab 插入、Esc 关闭。@ 前面是英文字母或数字时(如邮箱 kay@)不弹。对话里的图片——自己发的、DeepSeek 生成后在回复里展示的、工具读取的——鼠标悬停时右上角出现「复制」「下载」;点开大图预览时右上角也有这两个按钮。
官方输入框里待发送的图片和文件也可以直接拖动调整顺序,发送时按新顺序发出。点缩略图仍然是查看原图。
点带图片消息下方的官方复制按钮,复制的是整条消息,不只是文字:
| 编辑的是 | 做法 |
|---|---|
| 第二条及以后 | 从上一轮结束处 fork 出一个新聊天(带着之前的对话),把改后的内容发出去 |
| 第一条 | 前面没有可切的轮次,在同一工作区开一个新聊天发出去 |
原聊天原样保留,侧栏里会多一个新聊天。例如聊了 10 条后编辑第 2 条:新聊天里是第 1 条 + 改过的第 2 条,原聊天的 10 条一条不少。新聊天里编辑后发出的那条消息下方有「↩ 原对话」,点一下跳回原聊天。只分叉对话,不改动工作区文件。
在终端执行(macOS 桌面版):
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add dsh-resend-editor
完全退出 DSH(⌘Q)后重新打开。
如果装了 dsh-recall-plugin,它也会在消息上加编辑按钮,两者同时启用会冲突。在
~/.dsh/profiles/desktop/cordis.patch.yml末尾加上下面两行停用它(不需要卸载):- id: recall disabled: true
dev/ 下是隔离测试环境:本地假模型(OpenAI 兼容)+ 独立 DSH_HOME 的 web profile,不碰真实会话。给假模型发「读图 <绝对路径>」会触发一次 read_image 工具调用,「出图 <绝对路径>」会回复 Markdown 图片。
node dev/mock-llm.mjs 43125
DSH_HOME=/tmp/dsh-test DSH_MOCK_KEY=mock "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" --profile web --patch dev/test-patch.yml --no-open --port 43126
然后用 dsh plugin --profile web add link:<本仓库路径>(同样带 DSH_HOME)装进测试 profile,打开终端打印的带 token 的地址。
调试:在 DSH 页面控制台执行 localStorage.setItem('dsh-resend-editor:debug','1') 后刷新,可用 window.__dshResendEditor.ctx 查看运行时服务。
A DeepSeek Harness plugin that lets you edit a message you already sent — change the text, remove images, drag to reorder them, add more — and resend it. Editing the first message of a session works too.
@ in the input box to reference a pending image by file name: it inserts an @photo.png tag that is sent as [photo.png] ([Image 3 image.png] when names repeat), and turns red (blocking the send) if that image is removed. An @ typed right after non-ASCII text (e.g. Chinese without a space) opens a plugin menu that lists only images.Install:
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add dsh-resend-editor
Quit DSH (⌘Q) and reopen. If dsh-recall-plugin is installed, disable it (see the note above) to avoid two edit buttons.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。