dsh-tab-plan-toggle: Toggle Plan mode with Tab in the input field

Introduction

Entering Plan mode in DeepSeek Harness (DSH) is commonly done by typing /plan or by finding the corresponding entry in the interface. When frequently switching between “normal chat” and “plan first, then execute” while composing messages, repeatedly typing commands or clicking menus can interrupt your train of thought. This article introduces the community plugin dsh-tab-plan-toggle: use the Tab key in the Web version’s message input box (composer) to toggle Plan mode on and off, eliminating the need to type /plan every time.

What Is This

dsh-tab-plan-toggle is published by maintainer sujalmandal and is classified as a client-side plugin. In one sentence: when the message box is focused, pressing Tab opens or closes Plan mode; Tab behavior in other areas remains unchanged.

Repository: https://github.com/sujalmandal/dsh-tab-plan-toggle
Community Directory: https://www.skillhub.cn/plugins/sujalmandal/dsh-tab-plan-toggle

Core Functionality

The plugin’s behavior matches the description in the README and can be summarized in the following table:

Action Result
Press Tab inside the message box Plan mode turns on
Press Tab again inside the message box Plan mode turns off

When Plan mode is enabled, a blue Plan badge appears in the message box, and the prompt text changes to describe your task to generate plan, making it easy to confirm the current state.

Scope of Effect: Tab only toggles Plan when the cursor is inside the message input box; Tab in the editor, reading area, or other controls retains the system default behavior. When the / or @ command menu is open, Tab is used to move between menu items and will not toggle Plan (consistent with the Harness’s original interaction). It works in both new sessions and existing ones.

Implementation Notes (for your understanding): The current version (0.2.0 in package.json) toggles the mode via the Harness’s public /plan and /plan off commands, and reads the Plan status exposed by the application. It does not use private APIs or host-side code; the README explains that this approach is more stable after Harness upgrades. The plugin has not been published to npm and must be installed from GitHub as documented.

Installation and Activation

Environment requirements (from the README):

  • DeepSeek Harness 0.2.0-rc.2 or a newer version
  • Using the Web UI (dsh web)

Run the installation command in the terminal (the command must match the original documentation):

dsh plugin --profile web add github:sujalmandal/dsh-tab-plan-toggle

After installation, restart DeepSeek Harness Web:

dsh web

Open the application, click into the message box, and press Tab to verify that Plan toggling works.

Update: Same as installation — simply run the add command above again to pull the latest version and overwrite the old one.

Uninstall:

dsh plugin --profile web remove dsh-tab-plan-toggle

Then re-run dsh web; Tab will revert to its behavior before the plugin was installed.

Typical Usage

  1. Start dsh web and enter any conversation.
  2. Use the mouse or keyboard shortcuts to place focus in the bottom message input box.
  3. Press Tab once: Plan mode turns on, and a Plan badge with the corresponding prompt appears.
  4. Enter your task description and generate or use a plan following the Harness’s existing workflow.
  5. When you need to return to normal chat, press Tab again inside the message box to turn Plan off.

If pressing Tab has no effect, first confirm that focus is inside the message box; if you are navigating within a / or @ menu, close or move out of the menu before trying again.

Use Cases and Notes

Who It’s For: Developers who frequently switch between Plan and normal chat in DSH Web; users who want to reduce /plan typing and rely on keyboard-driven workflows.

Permissions and Security: DSH plugins run under the permissions of the current dsh process. Before installing, it is recommended to review the repository’s source code and the MIT License to ensure compliance with your security policy. Community directories such as SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer; plugins are published by community maintainers.

Common Questions (excerpted from the README): Tab not toggling when focus is outside the message box is expected behavior; after a minor Harness version upgrade, because the plugin uses the public command interface, it is generally less likely to be silently broken than older versions that rely on internal implementations.

Conclusion

dsh-tab-plan-toggle binds the Plan mode toggle to the Tab key in the message box, staying consistent with the interface badge and the Harness’s built-in Plan controls. If you are already using DSH Web and your version meets the requirements, you can install it using the command above and try it in the composer.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye