DeepSeek Harness 插件

sujalmandal/dsh-tab-plan-toggle

Star 数 ★ 0 分类 UI 增强 收录于 2026-09-25

在 DSH Web 输入框中按 Tab 键开/关 plan 模式。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

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

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Press Tab to turn Plan mode on and off, right from the message box.

No typing /plan. No hunting through menus. Just tap Tab while you're typing.


What it does

You do this What happens
Press Tab in the message box Plan mode turns on
Press Tab again Plan mode turns off

A blue Plan badge appears in the message box whenever Plan mode is on, and the hint text changes to "describe your task to generate plan" — so you always know where you stand.

Tab behaves normally everywhere else. It only toggles Plan mode when your cursor is in the message box, so it never gets in your way while you're writing code, reading, or moving around the app.


Install

Open a terminal and run:

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

Then restart DeepSeek Harness:

dsh web

That's it. Open the app and try pressing Tab while typing a message.


Everyday questions

I pressed Tab and nothing happened. Make sure your cursor is actually in the message box — click into it first. Tab does nothing if you're focused somewhere else, which is on purpose.

The / command menu is open and Tab isn't toggling. That's intended. Inside the / and @ menus, Tab moves between menu items, exactly as it always has.

Does it work in every conversation? Yes. It works in new chats and in conversations you already have open.

Will it survive DeepSeek Harness updates? Yes — and this is the main thing the current version fixes. Earlier versions reached into the app's internals, so a Harness update could quietly break them. This version only uses the same public, supported controls the app itself uses to toggle Plan mode. It has nothing private left to break.


Updating

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

Run the same command as installing. It fetches the newest version and replaces the old one.


Uninstalling

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

Then restart dsh web. Tab goes straight back to its normal behaviour.


Requirements

  • DeepSeek Harness 0.2.0-rc.2 or newer
  • The web UI (dsh web)

For the curious

This is a small client-side plugin. It watches for Tab inside the composer, then runs DeepSeek Harness's own /plan and /plan off commands — the exact same ones you'd type by hand.

It installs straight from the GitHub repository rather than the npm registry, since it isn't published there — the install command above already points at the right place.

Because it goes through the app's public command interface and its public plan-mode state, it reads the real value the app uses to decide whether Plan mode is on. That means the badge, the button, and this plugin always agree — there's no separate copy of the state that can drift.

It uses no host-side code and no private APIs, which is what makes it durable across updates.


License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。