WongYuYe/dsh-composer-recall0

dsh-composer-recall

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.

AI 分析

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

パッケージ
dsh-composer-recall
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/09/07

インストール

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

ドキュメント

README 全文を読む ↗

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