DeepSeek Harness 插件

WongYuYe/dsh-composer-recall

Star 数 ★ 1 下载量(近 30 天) 798 分类 UI 增强 收录于 2026-09-07 npm dsh-composer-recall

DSH 0.1.2-alpha.1 输入框历史:空输入框按 ↑ 召回当前会话刚发过的话,↓ 前进,Esc 还原正在打的草稿。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-composer-recall

# Release 预构建包

dsh plugin --profile web add "https://github.com/WongYuYe/dsh-composer-recall/releases/latest/download/dsh-composer-recall.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:WongYuYe/dsh-composer-recall

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

简体中文 | English

给 DSH Desktop 输入框用的方向键历史:空着按 ↑ 召回本会话刚发过的话,↓ 前进,Esc 还原正在打的草稿。

适配现在的 Lexical 输入框。去读 session.getSnapshot().nodes 或 <textarea> 的旧历史插件,在这个版本上会崩或没反应。

安装

dsh plugin --profile desktop add dsh-composer-recall

或从 GitHub:

dsh plugin --profile desktop add github:WongYuYe/dsh-composer-recall

装完刷新 Web GUI,或重启 DSH Desktop。

从源码:

git clone https://github.com/WongYuYe/dsh-composer-recall.git
cd dsh-composer-recall
dsh plugin --profile desktop add .

需要 DeepSeek Harness 0.1.2-alpha.1 及以上(Lexical 输入框)。

使用

  1. 聚焦输入框。
  2. 草稿为空,或光标在开头时,按 ↑。
  3. 再按 ↑ 看更早的消息,↓ 前进。
  4. Esc 退出历史,还原暂存的草稿。
  5. 浏览时直接打字会留下召回的内容,并退出历史。

历史只来自当前会话已经显示出来的用户消息,不是跨工作区的全局环。

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。