DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-composer-keys

k

dsh-composer-keys

Manifest valid★ 4

⌨️ Keyboard shortcuts for the DSH chat composer — ↑↓ cycle history, Ctrl+C clear input. DSH web plugin.

UI (client)hasBundlePatch

dsh-composer-keys ⌨️

Keyboard shortcuts for the DeepSeek Harness (DSH) Web chat composer.

中文文档:简体中文

License Version Platform PRs Welcome

Type faster, navigate history with pure keyboard. No mouse needed.


✨ Features

ShortcutAction
↑ Arrow UpFill the composer with the previous user message from history
↓ Arrow DownMove to the next user message; at the end, restore your original input
Ctrl+CClear the composer when no text is selected (avoids conflict with Copy)

Behavior details

  • History cycling follows shell-style semantics: press ↑ to walk backwards through your previously sent messages; press ↓ to walk forward again; at the newest end it restores whatever you had typed before you started navigating.
  • Ctrl+C only clears when the composer has content and no text is selected — if you have selected text, the browser's native Copy takes precedence.
  • Uses Ctrl+C only, identical on Windows and macOS (on macOS, Cmd+C stays the system Copy).

📦 Install

From GitHub

dsh plugin --profile web add https://github.com/kexin8/dsh-composer-keys.git

From a local checkout

git clone https://github.com/kexin8/dsh-composer-keys.git
dsh plugin --profile web add link:~/dsh-composer-keys

Via npm (when published)

npm i dsh-composer-keys
dsh plugin --profile web add dsh-composer-keys

After installing, restart the DSH Web GUI and reload the page.


🧩 How it works

A client-only plugin. It registers an invisible component in the conversation.composer.dock slot (the additive, non-destructive input-region seat), which attaches a keydown listener on document and intercepts shortcuts only while the composer textarea is focused:

  • Arrow Up/Down — reads historical user messages from the live ConversationSnapshot and fills the composer via inputActions.setDraft().
  • Ctrl+C — calls setDraft('') when the input is non-empty and nothing is selected.

No host process code, no persistence, no settings — pure client-side, stops cleanly on plugin stop/update.


🗂 Project structure

dsh-composer-keys/
├── lib/
│   ├── index.js        # host stub (client-only plugin)
│   └── client.js       # client module (__ModuleLoader__ format)
├── cordis.patch.yml    # cordis composition patch (inserts the plugin row)
├── package.json        # dsh plugin manifest
└── README.md

🤝 Contributing

PRs are welcome! Please make sure the plugin still works in the DSH Web GUI after your change. Keep the client code plain-JavaScript (no TypeScript/JSX in the shipped lib/ output) and never add host-side logic unless the feature truly needs it.

📄 License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-rc.3: failedDSH 0.2.1-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.1.3——
0.1.4——

Comments

Loading…

Similar plugins

dsh-enter-send

by Nalleyer

dsh plugin: switch the chat composer between Enter-send and Ctrl+Enter-send from Settings → General.

Manifest valid

★ 0

MIT

TypeScript

Oct 8, 2026

dsh plugin --profile web add dsh-enter-send

by bosenok

Select chat text and add it to the composer as an annotation.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-add-to-chat

by 904915452

DeepSeek Harness plugin: configurable keyboard shortcuts (settings UI + input history + approval/plan hotkeys)

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @zhangqingyu/dsh-keyboard-shortcuts

by baisama-cloud

Command history for the DeepSeek Harness (DSH) web GUI composer — press ↑ / ↓ to cycle through your previously sent instructions, then restore the draft you were editing when you reach the end of the

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 3

↓ 1.3k/wk

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-composer-history

by Xiaofei-fei

Terminal-style input for the DSH web composer: Up/Down prompt history (prefix search + Ctrl+R), selection toolbar (copy/quote), right-click paste, toggleable chat TOC.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 8

↓ 2.8k/wk

MIT

TypeScript

Oct 28, 2026

dsh plugin --profile web add dsh-prompt-history

by NormanFxxkingRockwell

Minimal ↑/↓ input history for the DSH web composer: press ↑/↓ to walk back through sent messages. Nothing else.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

↓ 80/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-keyboard-history