AI Agent Hub
Back to plugins
🖥️

dsh-enter-lock

Client Updated 2026.08.23

Run the following command in DeepSeek Harness:

dsh plugin install AIFireForAll/dsh-enter-lock

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

In DeepSeek Harness, you can install this plugin using the command `dsh plugin install AIFireForAll/dsh-enter-lock`, or obtain it from the GitHub repository at https://github.com/AIFireForAll/dsh-enter-lock.

About this plugin

Have you ever accidentally sent an unfinished prompt or a chunk of code by pressing the Enter key while chatting in DeepSeek Harness Web? This is especially common when using Chinese IME, where a simple Enter to confirm a candidate word can prematurely fire off a message and break your train of thought.

The dsh-enter-lock plugin is designed to solve exactly this. It adds a clear lock icon button to your chat composer. With a single click or a keyboard shortcut (Ctrl/⌘+Shift+K), you can "lock" the Enter key. While locked, pressing Enter won't send a message, allowing you to compose and edit your input with complete peace of mind. It even remembers the lock state per conversation, so you can tailor the behavior for each chat without interference.

The plugin embodies a philosophy of minimal intervention for maximum safety. It doesn't alter the composer's core mechanics; it simply adds a protective layer at the final send step. Clicking the native send button with your mouse still works, and Shift+Enter for new lines is unaffected, ensuring your workflow remains seamless. Whether you're a content creator crafting the perfect response, a developer writing intricate code, or any user frustrated by IME-related mishaps, this plugin helps you stay focused and in control.

Use Cases

  • Preventing accidental message sending when pressing Enter to confirm candidate words in Chinese IME
  • Avoiding premature submission of incomplete drafts while editing long prompts, code, or structured text
  • Managing input protection state independently across multiple switched conversations

Best For

  • DeepSeek Harness users who frequently use Chinese IME
  • Content creators, developers, and professionals needing fine-grained control over input workflow
  • Any user wishing to avoid interruptions or accidental submissions caused by keyboard mishaps in chat