Back to home@WongYuYe

dsh-composer-recall

Arrow-key input history for the DSH web composer on 0.1.2-alpha.1

Stars
0
Language
JavaScript
Created
Mar 13, 2026
Updated
Sep 7, 2026
GitHub repo

Introduction

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 <textarea> 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