DeepSeek Harness plugin

dsh-plugin-ui-toggle

Turn any composed dsh plugin on or off from the web UI. Switches take effect live and survive a restart, because they are written as `disabled:` rows into the profile's own cordis.patch.yml.

Jump to install

Source facts

Repository
Biobuilder-ai/dsh-plugin-ui-toggle
Latest update
Aug 20, 2026
Category
UI Enhancements
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-21

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Biobuilder-ai/dsh-plugin-ui-toggle
Plugin: dsh-plugin-ui-toggle
Author: Biobuilder-ai

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-plugin-ui-toggle

中文

Turn any composed dsh plugin on or off from the web UI — Settings → Plugins → Plugin switches.

Every row is one entry in the Loader tree. Flip a switch and it:

  • takes effect immediately, with no restart, and
  • survives a restart, because the switch is stored as a disabled: row in the profile's own cordis.patch.yml — the very file dsh composes the plugin tree from at boot.

Zero runtime dependencies, no build step.

Install

dsh plugin --profile web add github:Biobuilder-ai/dsh-plugin-ui-toggle

Then restart dsh web. dsh plugin adds the package to dsh.profile.bundles on its own, because this package declares dsh.bundle in its manifest.

How it works

dsh already watches the profile's cordis.patch.yml through the HMR service (watchUserPatches in @deepseek-ai/dsh-app-boot) and re-applies the whole user patch layer whenever the file changes. So this plugin does exactly one thing: it writes - id: <entry id> / disabled: true|false rows into a managed block at the end of that file.

# >>> dsh-plugin-ui-toggle:begin — managed block, edited from the web UI
- id: "web-ui-git-graph"
  disabled: true
# <<< dsh-plugin-ui-toggle:end

The write itself is what applies the change: the entry's fiber starts or unwinds from the patch re-apply. The plugin never calls Entry.update(), and therefore never writes back into the composed cordis.yml.

Nothing outside the two markers is touched — hand-written rows and comments above the block survive byte for byte. You can edit the block by hand, or delete it entirely to clear every override.

Because persistence and live application are the same mechanism, there is no second state store that can drift out of sync with the running tree.

Entry ids

The id a switch writes is the unqualified patch id (web-ui-pet), not the Loader's qualified path (include:web-ui-pet) — applyEntryPatches matches the former. The qualified path rides along as a path field for display only.

Rows that cannot be switched off

A few entries would take away the surface the switch panel itself lives on; turning one off would leave no way back except editing the patch file by hand. They are marked Required in the UI, and the host refuses the write with HTTP 409:

dsh-plugin-ui-toggle, @deepseek-ai/dsh-host-webserver, @deepseek-ai/dsh-host-frontend-static, @deepseek-ai/dsh-web-frontend, @deepseek-ai/dsh-client-modules, @deepseek-ai/dsh-api-gateway, @deepseek-ai/dsh-client-ui-layout, @deepseek-ai/dsh-client-ui-settings, @deepseek-ai/dsh-client-ui-settings-plugins.

Everything else is fair game, including host-side capability plugins. Switching off something you depend on makes that capability disappear; delete its row from the managed block to get it back.

HTTP surface

Same-origin, consumed by the browser half:

MethodPathPurpose
GET/ui-toggle/entriesList patchable entries with their current state
POST/ui-toggle/setBody { id, enabled }; writes the managed block

Composition

The package contributes one host row from the bundle patch it ships:

- insert:
    - id: ui-toggle
      name: 'dsh-plugin-ui-toggle'

The browser half is loaded from the dsh.client manifest and registers a settings.plugins.tab slot. webServer is picked up through ctx.inject rather than declared as a required service, so the row still activates in a headless profile — there it simply contributes nothing.

Requirements

  • dsh with the web profile (@deepseek-ai/dsh-web-app)
  • The webServer host service and the settings.plugins.tab client slot, both shipped in the stock web composition

License

MIT