DeepSeek Harness Plugin

WongYuYe/dsh-composer-recall

Stars ★ 0 Downloads (30d) 67 Category UI Enhancements Added 2026-09-07 npm dsh-composer-recall

Arrow-key input history for DSH 0.1.2-alpha.1: press ↑ in an empty composer to recall this session's prompts, ↓ to go forward, Esc to restore the draft.

Install

# from npm (prebuilt)

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

# from a prebuilt release tarball

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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

Surface Status
Harness DeepSeek Harness 0.1.2-alpha.1 (Lexical composer)
Platforms Web GUI / DSH Desktop
Persistence Current 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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.