dsh-plan-toggle
Manifest validPersistent 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.
dsh-plan-toggle
A DeepSeek Harness (DSH) web client plugin: a persistent plan-mode toggle button in the composer tool row.
The shipped Plan × badge only shows while plan mode is already active. This plugin replaces it with a two-state toggle that is always visible, so you can turn plan mode on or off in one click without typing commands.
English
What it does
- Replaces the show-only-when-active
Plan ×badge with a persistent two-state chip:Plan(off state) → click to turn plan mode onPlan ×(on state) → click to turn plan mode off
- Drives the same
/planand/plan offcommand channel and the officialplanprojection, so it stays in sync with plan mode everywhere. - Keeps its own locale namespace (
plan-toggle), avoiding a dictionary collision with the officialplannamespace.
Install
Add the package as a dependency and to the bundle list of your profile's package.json:
// package.json (profile)
{
"dependencies": {
"@dsh-external/dsh-plan-toggle": "github:Nanmu-del/dsh-plan-toggle#<commit>"
},
"dsh": {
"profile": {
"bundles": [
// ...other bundles
"@dsh-external/dsh-plan-toggle"
]
}
}
}
Then:
pnpm install
# restart dsh web
Structure
| Path | Role |
| --- | --- |
| lib/index.js | Host half (no host-side behavior; the toggle is a pure client surface) |
| lib/client.js | Client bundle: the toggle button + locale dictionaries |
| cordis.patch.yml | Bundle patch that inserts the host entry |
Usage
Click the toggle chip in the composer tool row, or use the equivalent commands:
/plan— turn plan mode on/plan off— turn plan mode off
License
中文
功能
- 用一颗常驻的两态按钮替代官方「仅开启时才显示的
Plan ×徽章」:Plan(关闭态)→ 点击开启 plan modePlan ×(开启态)→ 点击关闭 plan mode
- 复用官方
/plan、/plan off命令通道和plan投影,与 plan mode 全局保持一致。 - 使用独立 locale 命名空间(
plan-toggle),避免与官方plan命名空间词典冲突。
安装
在 profile 的 package.json 里加入依赖和 bundle:
// package.json (profile)
{
"dependencies": {
"@dsh-external/dsh-plan-toggle": "github:Nanmu-del/dsh-plan-toggle#<commit>"
},
"dsh": {
"profile": {
"bundles": [
// ...其它 bundle
"@dsh-external/dsh-plan-toggle"
]
}
}
}
然后:
pnpm install
# 重启 dsh web
结构
| 路径 | 职责 |
| --- | --- |
| lib/index.js | 宿主半区(无宿主侧行为;按钮是纯客户端表面) |
| lib/client.js | 客户端 bundle:切换按钮 + 词典 |
| cordis.patch.yml | 插入宿主条目的 bundle patch |
使用
点击 composer 工具行的切换按钮,或使用等效命令:
/plan— 开启 plan mode/plan off— 关闭 plan mode
License
From the same category
by omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 3.6k
↓ 73.8k/wk
MIT
TypeScript
Sep 14, 2026
dsh plugin --profile web add dsh-better-sidebarby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3k
↓ 8k/wk
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add @deepseek-harness-tui/dsh-tuiby MeteorNOX
DeepSeek Harness(DSH)一只住在 DSH 界面右下角的小鲸鱼娘,帮你盯着DeepSeek账户余额。QQ弹弹,支持拖拽吸附、左吸附翻转、数字滚动动画,随界面自动启用,建议直接喊来你的dsh安装
★ 2.4k
↓ 6.4k/wk
MIT
JavaScript
Sep 14, 2026
dsh plugin --profile web add dsh-whale-widgetby omdsh-dev
GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop ba
★ 450
↓ 6k/wk
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add @changfenhuang/dsh-genuiby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 277
↓ 462/wk
Apache-2.0
TypeScript
Sep 14, 2026
dsh plugin --profile web add @huiliyi37/dsh-tianshu-tuiby Nagi-ovo
在 DSH 对话中生成交互式可视化|Render model-generated interactive cards inside DSH conversations
★ 258
BSD-3-Clause
TypeScript
Aug 27, 2026
dsh plugin --profile web add @dsh-external/dsh-visualize