Chuyển đến nội dung chính

dsh-composer-recall

Đã xác minh

dsh-composer-recall · v0.1.3 · MIT · Giao diện web

Arrow-key input history for DSH 0.1.2-alpha.1: press ↑ in an empty composer (or at the start of the draft) to recall this session's prompts, ↓ to go forward, Esc to restore what you were typing.

Cài đặt

dsh plugin add dsh-composer-recall

Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.

Mã nguồn

Thẻ

Readme

dsh-composer-recall

Awesome DSH Plugin npm License: MIT

简体中文 | 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