dsh-mloader
Multi-runtime plugin loader for DeepSeek Harness: hosts Python and WebAssembly plugins as capabilities of one Cordis plugin.
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Mooling0602/dsh-mloaderConfiguration
The defaults are already correct. On the web Plugins page, open the dsh-mloader bundle to edit and save the loader settings. Saving uses the active profile's configuration editor and can reload the loader. The editor writes the complete current loader configuration as a profile override. If the bundled example refresh is enabled, reloading replaces local changes in the example directory.
Alternatively, target the dsh-mloader id in the profile's cordis.patch.yml:
- id: dsh-mloader
config:
console: false
Every key is optional. The default column is what dsh-mloader uses when you leave the key out, so the only reason to set one is that your situation differs from it:
| Key | Default | What it controls |
|---|---|---|
roots | [] | Extra directories to scan for plugin directories, on top of the profile one. |
profilePlugins | true | Whether ` |
/mloader/pluginsis scanned.falsescans onlyrootsand disables the shared Python environment unlessprofileDir` is set. | ||
profileDir | detected | Overrides the profile directory the loader resolves through dsh, which is otherwise detected. For tests. |
autoEnable | true | Whether installed plugins start with dsh. false leaves them discovered until you load one. |
pythonBin | python3 | The base Python interpreter used to create the shared environment. Python plugins run in that environment. |
shellPath | [] | Directories to prepend to the PATH used by Python environment setup and plugins. Use absolute paths; ~ is not expanded. |
enablePyc | false | Whether Python keeps the bytecode cache it writes beside a plugin. Off means a reload always runs the code on disk, so turning it on trades that for a faster start. |
statusTool | true | Whether the plugin status and management tools are registered for the model. |
command | true | The /mloader command: true for the default name, a string for a custom name, false to disable it. |
seedExamples | true | Whether the bundled complete Python example is released and refreshed in the profile on every start. Source-only examples are never released. |
console | true | Terminal output: true for lifecycle lines, 'verbose' for scan detail as well, false for silence. |
watch | true | Whether plugin directories added or removed while dsh runs are mounted or unmounted without a restart. |
wasm.enabled | true | Whether the WebAssembly backend is enabled. It is on by default; false keeps WebAssembly plugins disabled. |
The shape of each value, the bytecode cache trade-off and the restart checklist are in CONTEXT.