AI Agent Hub
Back to plugins
🖥️

dsh-mobile-keys

Client Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install liujuntao123/dsh-mobile-keys

Paste the following prompt into your AI chat to install this plugin:

In any directory run dsh plugin --profile web add git+https://github.com/liujuntao123/dsh-mobile-keys.git, then restart dsh web and hard-refresh the browser (Ctrl+F5) to activate.

About this plugin

Drafting multi-line prompts in the DeepSeek Harness web UI from a phone or tablet used to mean a small ritual of frustration: the soft keyboard has no Shift, so Enter fires the send and the line break you wanted is lost. dsh-mobile-keys is a browser-side bundle plugin that quietly swaps the binding on mobile devices-Enter inserts a line break, Ctrl+Enter sends-while desktop behaviour stays exactly as DSH shipped it.

Detection blends several signals at once (user-agent, touch-point count, pointer type, and viewport width), so a screen rotation or a docked external monitor is picked up immediately yet a touchscreen laptop or all-in-one is not misclassified. In mobile mode the plugin intervenes only at the capture phase inside the Lexical editor: it swallows the bare Enter, synthesizes one keydown with shiftKey true on the Lexical root, and lets DSH native line-break path handle selection, undo history, and controlled updates. IME composition, open popovers or dialogs, the ask-a-question card, and every non-editor target are left untouched; outside mobile mode the plugin is a no-op. Preferences live in browser localStorage, each device keeps its own, and there is no backend to talk to.

Day-to-day control is intentionally light: a single toggle under Settings > General labelled Mobile Hotkey Mode shows the live binding and detection verdict with a one-tap reset-to-auto; the slash command /mobilekeys in the composer offers quick auto / on / off switching; and a small console API (window.__dshMobileKeys) is there for debugging. No key recording, no extra build step-beyond a refresh it is invisible. If you routinely draft multi-line prompts on a phone, a tablet with an external keyboard, or any touch-first device, this plugin removes the tiny tax of splitting one thought into several messages.

Use Cases

  • Drafting a multi-line prompt on a phone where the soft keyboard has no Shift key for line breaks
  • Switching between touch and desktop mode on the same device and expecting key bindings to follow instantly
  • Needing a zero-backend, refresh-and-go solution with no extra dependencies or setup

Best For

  • Users who routinely compose long prompts in the DSH web UI from a phone or tablet
  • People on hybrid devices like touchscreen laptops or all-in-one machines
  • Mobile-focused developers who want key bindings to just work without manual configuration