DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Plan Build Toggle — DSH Plugin for DeepSeek Harness
← Plugins
P

dsh-plan-build-toggle

Plan Build Toggle

DSH web client plugin: a persistent OpenChamber-style Plan|Build toggle on the composer (with Tab-to-switch), driving the native /plan command channel over the host plan projection

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:jdqingm/dsh-plan-build-toggle#05fa468efd4dbb3337c03fbcb5944112e2b7c010
READMECompatibilityVersions

Compatibility and provenance

Plan Build Toggle is published as dsh-plan-build-toggle and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
8/31/2026

Versions

0.1.0stable
8/31/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
8/31/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

dsh-plan-build-toggle

A DeepSeek Harness web-client plugin: a persistent, OpenChamber-style Plan|Build toggle on the composer, driving DSH's native /plan channel over the host plan projection.

English | 简体中文

Why

DSH already ships plan mode end-to-end (@deepseek-ai/dsh-plan-mode: the /plan / /plan off commands, the per-session plan projection, the exit_plan_mode review). Its built-in composer control (dsh-client-ui-plan), however, only reveals a "Plan ×" chip after plan mode is on — there is no visible mode control in the default Build state.

OpenChamber's form factor is different: a persistent mode control on the input bar, with bare Tab switching between Build and Plan. This plugin fills exactly that gap on DSH — same seat, same command channel, no second vocabulary of modes.

What you get

  • Persistent segmented pill (Plan|Build) in the composer's mode-control area (the built-in chip's own seat, conversation.input.plan). Active segment highlighted: Plan in warn colors, Build in neutral.
  • Two-way switching through command.execute — clicking Plan runs /plan, clicking Build runs /plan off, exactly as if you typed them.
  • Tab / Shift+Tab to switch (the OpenChamber/opencode convention) while the caret is in this session's composer editor. Strictly scoped:
    • bare Tab only — any ⌘/Ctrl/Alt chord passes through untouched;
    • yields to any earlier handler that already consumed the event (defaultPrevented), so a future autocomplete-over-Tab keeps priority;
    • fires only when focus is inside the session's own editor (popups, settings, other sessions are unaffected);
    • does nothing when the plan projection is absent (drafts, presets without plan mode) or while a switch is in flight.
  • Host projection is the source of truth: the shown target is pending ? !active : active — a folded host value, not client optimism. Switches made while the agent runs queue as pending and self-correct as projection frames arrive.
  • Inline error state when the command channel rejects a switch.
  • Replaces the built-in chip cleanly: the bundle patch disables the stock ui-plan row, so the single-instance seat never collides. Uninstall to restore stock behavior.

Boundaries (same as DSH plan mode)

  • Plan mode is soft guidance (a policy prompt section), not an enforced sandbox. For hard read-only planning, compose separate sandbox / approval presets — this plugin only drives the mode vocabulary.
  • No control on draft sessions (plan state is per-session).
  • Exiting still happens via the model's exit_plan_mode review, rendered by the Web plan-review flow.

Install

Via the in-app Community Market

Once published, the plugin appears in Market → Installable on your selected catalog source (npm-backed, repository-backlink verified). Install there, or with the official CLI:

dsh plugin --profile desktop add dsh-plan-build-toggle@0.1.0

From source (no npm publish needed)

git clone https://github.com/jdqingm/dsh-plan-build-toggle.git
cd dsh-plan-build-toggle
bash scripts/install.sh desktop   # copies into the profile + registers the bundle

Either way: restart the DSH app afterwards — the browser roster is computed at host boot.

Uninstall

  1. Remove dsh-plan-build-toggle from dsh.profile.bundles in ~/.dsh/profiles/<profile>/package.json (or uninstall via Market/CLI if installed that way).
  2. Delete ~/.dsh/profiles/<profile>/node_modules/dsh-plan-build-toggle.
  3. Restart the app — the stock "Plan ×" chip returns (the ui-plan row is no longer disabled).

How it is built

Two halves, no build step:

  • lib/client.js — the browser half: a hand-written window.__ModuleLoader__.load payload (the same module format the official client plugins ship). React comes from the shared module graph; CSS is injected once under a data-plugin-css guard.
  • lib/index.js — an empty node-side apply(), so the package appears as a host roster row; dsh.client in package.json declares the browser half and its load-order deps.
  • cordis.patch.yml — the bundle patch layer: inserts the roster row and disables the built-in ui-plan row (seat handover). Listed via dsh.bundle.patch, so adding the package to dsh.profile.bundles is all the mounting it needs.

Iteration: edit lib/client.js, re-run scripts/install.sh, refresh the page. The webserver serves plugin assets with cache-control: no-cache, so no app restart is needed unless the roster itself changes.

License

MIT