返回目录
模型与 MCP 插件

dsh-mode-switcher

gaoyinxin/dsh-mode-switcher

Claude Code-style Tab shortcut and toolbar switcher between Plan and Build modes for DeepSeek Harness, with seamless per-mode model presets.

Stars
0
Forks
0
Issues
0
更新
27 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:gaoyinxin/dsh-mode-switcher

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

@gaoyinxin/dsh-mode-switcher

English | 中文

Switch seamlessly between Plan and Build modes in DeepSeek Harness via Tab key or toolbar button like Claude Code, while automatically remembering each mode's model directly from the native model selector on the right.

Features

  • Keyboard Shortcut Toggle:
    • Press Tab at any time while typing in the composer (whether empty or with drafted text) to smoothly toggle between Build and Plan modes without losing draft text or cursor position.
    • Automatically yields to @ mention and / slash command popup menus.
  • Unified Toolbar Button:
    • Overrides the conversation.input.plan slot via priority shadowing (priority: -10), replacing the native one-way "Plan" close chip and preventing duplicate buttons.
    • Persistently displays [ 🛠️ Build ⇥ Tab ] / [ 📋 Plan ⇥ Tab ] status; click to toggle.
  • Seamless Per-Mode Model Memory (Uses Native Model Selector):
    • No extra settings button or modal needed — directly use the native model selector on the right of the composer.
    • Whatever model (and reasoning effort) you select while in Plan mode is automatically remembered as your Plan mode model.
    • Whatever model (and reasoning effort) you select while in Build mode is automatically remembered as your Build mode model.
    • Switching between Plan and Build modes (via Tab, button click, /plan, or plan approval) automatically restores the model for that mode.
  • Native Bilingual Support:
    • Fully supports English and Simplified Chinese tooltips and accessibility labels, automatically adapting to the browser's display language.

Screenshots

Plan mode (amber) Build mode (blue)
Plan mode Build mode

The chip shows the mode you are in and switches to the other one when clicked or when Tab is pressed.

Installation

Method 1: From npm (Recommended)

dsh plugin add @gaoyinxin/dsh-mode-switcher

The package is prebuilt, so the install skips the build-approval step.

Method 2: Via DSH Plugin Market

  1. In DeepSeek Harness Settings, navigate to Plugins -> Discover.
  2. Click Manage Index Sources… -> Add Index Source.
  3. Enter the market index URL:
    https://gaoyinxin.github.io/dsh-mode-switcher/index.json
  4. Search for Mode Switcher in the market list and click Install.

Method 3: Straight from the repository

dsh plugin add git+https://github.com/gaoyinxin/dsh-mode-switcher.git#v1.0.4

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、deepseek。