DeepSeek Harness Plugin

liggest/dsh-alt-enter-newline

Stars ★ 0 Downloads (30d) 852 Category UI Enhancements Added 2026-10-10 npm dsh-alt-enter-newline

Adds Alt+Enter as a newline to the DeepSeek Harness (dsh) web composer.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-alt-enter-newline

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

dsh plugin --profile web add github:liggest/dsh-alt-enter-newline

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 | 简体中文

Adds Alt+Enter as a newline to the DeepSeek Harness (dsh) web composer.

dsh's default keys are: Enter sends, Shift+Enter breaks the line, Ctrl+Enter cuts into a running conversation, and Alt+Enter is unbound. With this plugin, Alt+Enter also breaks the line, matching the habit of other AI clients.

The plugin simply replays Alt+Enter as Shift+Enter and lets the composer handle it — dsh itself is not modified, and uninstalling leaves nothing behind.

Install

Install from the market or the Plugin Manager in the dsh Web GUI, or from the command line (replace web with your profile name; same below):

dsh plugin --profile web add dsh-alt-enter-newline

You can also just ask your dsh agent to install it. Refresh the page afterwards; the shortcut reference (Ctrl+/, or the View button on the Settings shortcuts row) gains an "Alt+Enter new line" row.

Compatibility

  • Enter during IME composition and AltGr keyboard layouts are unaffected;
  • other shortcuts such as Ctrl+Alt+Enter (pane fullscreen) keep working;
  • tested against dsh 0.1.7-rc.2. The plugin relies on some dsh internals; if it stops working after a dsh upgrade, please report it in Issues.

Uninstall

dsh plugin --profile web remove dsh-alt-enter-newline

Or uninstall it from the Plugin Manager.

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.