Mooling0602/dsh-mloader ↗★ 3

dsh-mloader

Multi-runtime plugin loader for DeepSeek Harness: hosts Python and WebAssembly plugins as capabilities of one Cordis plugin.

套件
dsh-mloader
相容性
待驗證
版本
0.1.0
授權
LGPL-3.0-only
最近更新
2026年11月8日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Mooling0602/dsh-mloader

Configuration

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:

KeyDefaultWhat it controls
roots[]Extra directories to scan for plugin directories, on top of the profile one.
profilePluginstrueWhether `
/mloader/pluginsis scanned.falsescans onlyrootsand disables the shared Python environment unlessprofileDir` is set.
profileDirdetectedOverrides the profile directory the loader resolves through dsh, which is otherwise detected. For tests.
autoEnabletrueWhether installed plugins start with dsh. false leaves them discovered until you load one.
pythonBinpython3The 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.
enablePycfalseWhether 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.
statusTooltrueWhether the plugin status and management tools are registered for the model.
commandtrueThe /mloader command: true for the default name, a string for a custom name, false to disable it.
seedExamplestrueWhether the bundled complete Python example is released and refreshed in the profile on every start. Source-only examples are never released.
consoletrueTerminal output: true for lifecycle lines, 'verbose' for scan detail as well, false for silence.
watchtrueWhether plugin directories added or removed while dsh runs are mounted or unmounted without a restart.
wasm.enabledtrueWhether 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.