Biobuilder-ai/dsh-plugin-ui-toggle

Biobuilder-ai★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

deepseek-harness的插件,可以在web页面直接开关插件,轻量方便

README 摘要

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 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: / disabled: true false rows into a managed block at the end of that file. 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 …

在 GitHub 查看完整 README →
工具/开发dsh-pluginweb ui

分类