dsh-mode-switch
Manifest validPersistent one-click plan/build mode toggle for DeepSeek Harness Web: switches the session plan state through the built-in /plan command.
@local/dsh-mode-switch — 持久化「计划/执行」模式切换按钮
在输入框工具行(conversation.input.left)提供一个常驻按钮,一键切换
plan / build 模式。与内置 /plan、/plan off、exit_plan_mode 共用同一
状态机(按钮切换走 remote.commands.execute 的 /plan 命令通道)。
组成
| 文件 | 作用 |
|---|---|
package.json | 声明 dsh.client(web 平台、inject slots/remote/remote.commands)与 exports["./client"] |
lib/index.js | Host 半(空 apply,仅为组合行可加载而存在) |
client.js | 浏览器半:注册按钮 UI,切换走内置 /plan 命令通道 |
安装位置
- 源码:
$DSH_HOME\extensions\mode-switch\ - 加载副本:
$DSH_HOME\profiles\web\node_modules\@local\dsh-mode-switch\ - 组合行:
$DSH_HOME\profiles\web\cordis.patch.yml中id: mode-switch
注:副本是物理拷贝(未走 pnpm install)。若日后对 profile 执行
pnpm install,该目录可能被清理;重新拷贝即可(或改用dependencies中的link:声明)。
卸载
- 从
$DSH_HOME\profiles\web\cordis.patch.yml删除mode-switch行 - 删除
$DSH_HOME\profiles\web\node_modules\@local\dsh-mode-switch\ - (可选)删除
$DSH_HOME\extensions\mode-switch\ - 重启 DSH
生效
组合行在进程启动时解析(Web 表面未启用 HMR),修改后需重启 DSH。
Comments
Loading…
Similar plugins
Plan / Build mode switcher for DeepSeek Harness: a composer dropdown plus a default-mode setting for new sessions.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-plan-build-modeby a903067276-rgb
One-click enter/exit Plan mode for the DSH web input bar, a quick-click shortcut for /plan
★ 6
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-plan-switchby Nanmu-del
Persistent plan-mode toggle button in the DSH Web composer: a two-state control (Plan / Plan ×) that turns plan mode on and off, replacing the shipped show-only-when-active badge.
★ 0
MIT
JavaScript
Sep 8, 2026
dsh plugin --profile web add @dsh-external/dsh-plan-toggleby jdqingm
OpenChamber-style persistent Plan|Build composer toggle for DeepSeek Harness, with Tab-to-switch. Drives the native /plan channel over the host plan projection.
★ 0
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-plan-build-toggleby sujalmandal
Toggle DeepSeek Harness plan mode with Tab in the composer
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-tab-plan-toggleby Yaaaaaaa233
On-demand planning for DeepSeek Harness: execute simple tasks directly and call a configurable planning model for complex ones.
★ 0
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-plan-and-execute