WongYuYe/dsh-composer-recall0

dsh-composer-recall

适用于 DSH 0.1.2-alpha.1 的方向键输入历史插件:在空输入框中按 ↑ 召回本会话的提示词,↓ 向前移动,Esc 恢复草稿

AI 分析

为输入框引入类似终端的命令历史召回机制,支持上下键翻阅历史输入。适合需要频繁重复或微调历史输入提示词的用户。

包名
dsh-composer-recall
版本
0.1.1
许可证
MIT
最近更新
2026年9月7日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WongYuYe/dsh-composer-recall

dsh-composer-recall

Awesome DSH Plugin

English | 简体中文

Arrow-key input history for the DeepSeek Harness composer on 0.1.2-alpha.1.

Press in an empty box (or with the caret at the start) to recall this session's prompts. walks forward. Esc restores the draft you were typing.

Built for the Lexical composer (div[data-composer-input]) and the official setDraft() API. Older history plugins that still look for session.getSnapshot().nodes or a `` crash or do nothing on this host.

Install

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

or from GitHub:

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

Restart DSH Desktop (or refresh the web GUI) after installing.

From source:

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

Use

  1. Focus the composer.
  2. With an empty draft, or with the caret at the start of the draft, press .
  3. Press again for older prompts, to move forward.
  4. Press Esc to leave history and restore the stashed draft.
  5. Typing while browsing keeps the recalled text and leaves history mode.

History is the user messages currently rendered in the open session. It is not a global ring across workspaces.

Compatibility

SurfaceStatus
HarnessDeepSeek Harness 0.1.2-alpha.1 (Lexical composer)
PlatformsWeb GUI / DSH Desktop
PersistenceCurrent session only (rendered user rows)

Why this exists

On 0.1.2-alpha.1 the session snapshot no longer exposes nodes, and the composer is a Lexical contenteditable rather than a textarea. Community history plugins targeting the rc line crash or silently no-op. This plugin reads [data-chat-flow-kind="user"] rows and writes through shell.setDraft(text).

License

MIT