rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ZenithJoyH/dsh-quote
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
⚠️ 当前请从 GitHub 源安装。 npm 上的
0.1.0是旧包,还没有 bundle patch,插件管理器会拒绝一键安装;带 bundle patch 的0.1.1正在等待发布。Install from GitHub for now. npm
0.1.0predates the bundle patch and is refused by the plugin manager;0.1.1is pending publication.
一个 DeepSeek Harness (dsh) Web 插件:把引用变成输入框上方的多张引用卡片,发送时再合并成带出处的引用块。
A DSH Web plugin that collects quotes as cards above the composer and sends them as one attributed blockquote.
原来的引用插件把整段原文以 > … 直接塞进输入框:引用一多,输入框就被原文淹没,删起来也费劲。dsh-quote-cards 把「选什么」和「写什么」分开:
安装后 DSH 自带的「引用文本」按钮会被替换成「引用卡片」,选中文字旁只会有一个引用入口。 3. 在每张卡片下方的回复框里写「对这一条的回复」,也可以在最底部输入框补一段总回复; 4. 需要先存草稿不发送(例如任务还在执行)→ 点「放入输入框」;确认要发时再点「发送引用回复」,或按 Enter / 点官方发送按钮。发出的消息形如:
> **引用 · 助手 · 14:22**
> 原来的那段话……
对第一段的回复。
> **引用 · 选中文字**
> 另一段被选中的话……
对第二段的回复。
补充说明(可选)。
提示:如果只写了卡片里的回复、底部输入框为空,发送按钮是卡片区右下角那个;官方发送按钮在草稿为空时是禁用的。
dsh plugin --profile web add github:ZenithJoyH/dsh-quote
桌面端 profile 使用:
dsh plugin --profile desktop add github:ZenithJoyH/dsh-quote
安装后重启 dsh web / 桌面端(或刷新页面)。
目前不要用 npm 安装:
0.1.0没有 bundle patch,插件管理器会报 “not a bundle”。
0.1.1 发布后可用:
dsh plugin --profile web add dsh-quote-cards
把本仓库复制到 dsh profile 的 node_modules 下,例如:
cp -R dsh-quote "$DSH_HOME/profiles/desktop/node_modules/dsh-quote-cards"
把包名加入 profile 的 dsh.profile.bundles,让 Loader 应用它的 cordis.patch.yml。编辑 $DSH_HOME/profiles/desktop/package.json:
{
"dsh": {
"profile": {
"bundles": [
"...",
"dsh-quote-cards"
]
}
}
}
不要把 dsh-quote-cards 再手动写进 cordis.patch.yml 的 insert,否则会和 bundle patch 重复挂载。
重启 dsh web / 桌面端,刷新页面。
dsh plugin --profile web remove dsh-quote-cards
或手动删除 profile dsh.profile.bundles 中的 dsh-quote-cards 条目和 node_modules/dsh-quote-cards 目录,重启即可。
platform: web);dsh.client,platform: web)形式提供,挂载两个官方槽位:conversation.input.dock:输入框上方的引用卡片;conversation.chat.assistant-actions:AI 回复操作行的「引用」按钮。useSyncExternalStore 订阅。inputActions.setDraft(合并结果) + inputActions.submit();其余情况完全放行。mouseup / selectionchange,只响应聊天区域内的选区。setDraft 重写草稿,因此草稿里如果已经有 @文件 之类的富文本引用 chip,会被替换为纯文本;纯文字草稿和附件不受影响。无构建步骤,lib/client.js 是手写的 dsh client-bundle 格式。Node 冒烟测试(无需浏览器):
node test/client.smoke.cjs
测试覆盖引用合并、去重、上限、卡片增删、发送路径和槽位注册。
quote(ISC 许可);dsh-client-ui-conversation 与 dsh-client-ui-message-feedback。MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。