rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:hezhaochao/dsh-quick-prompts
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个 DeepSeek Harness(DSH)插件:在输入框旁放一个「⚡ 快捷语」按钮, 点开就能把你常用的提示词一键填进输入框。纯浏览器端实现,零依赖、零网络请求、零 token 消耗。
engines.dsh: ">=0.2.0-rc.1 <0.3.0-0",覆盖整个 0.2.x 系列conversation.input.right 插槽与 __ModuleLoader__ 客户端模块系统,
未依赖任何 @deepseek-ai/* 宿主包;0.2.1 系列的破坏性变更(invariant 插件移除、
composer 统计拆分等)均不涉及这两个接口dsh-quick-prompts:v1),完全本地,可随意备份打开 DeepSeek Harness 的插件管理面板,搜索 dsh-quick-prompts 或从 GitHub 安装:
dsh plugin --profile <你的 profile> add github:hezhaochao/dsh-quick-prompts
# 从 GitHub 安装
dsh plugin --profile desktop add github:hezhaochao/dsh-quick-prompts
# 或本地 link(克隆本仓库后)
dsh plugin --profile desktop add link:"<本仓库的绝对路径>"
dsh plugin --profile <你的 profile> remove dsh-quick-prompts
安装 / 卸载后重启 DSH 生效。
desktopprofile 请通过桌面端的插件面板管理。
Esc、点击弹层外或滚动页面可关闭弹层沿用了 DSH 插件生态的标准形态,两个半边:
| 半边 | 文件 | 作用 |
|---|---|---|
| 宿主侧 | lib/index.js |
cordis 插件入口,零依赖零服务,只做客户端产物静态审计(绝不抛错) |
| 浏览器侧 | lib/client.js |
__ModuleLoader__ 模块,往 conversation.input.right 插槽注册按钮组件 |
cordis.patch.yml 声明 bundle patch,把本包挂进 DSH 配置树(- insert: id: quick-prompts)body,避免被输入区裁剪<textarea> 写入走「原生 value setter + input 事件」,让 React 正确感知;
contenteditable 输入走 execCommand("insertText")git clone https://github.com/hezhaochao/dsh-quick-prompts.git
cd dsh-quick-prompts
node test/client.test.mjs # 离线单测(vm 沙箱加载 bundle,无需浏览器/DSH)
npm test # 同上
本地真机验证(不影响现有 profile):
dsh plugin --profile zz-test add link:"<本仓库的绝对路径>"
dsh --profile zz-test --dump-config # 应能看到 id: quick-prompts 条目
MIT © hezhaochao
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-ai、deepseek-harness。