dsh plugins中文
← Back to popular plugin directory

HTTP API

lanbaolu/dsh-fail-soft · skills

Part: Mounting cover · File: lib/mount.js · Function: dynamically loaded by the DSH kernel (when DSHFAILSOFT=1) before mounting in the include tree: bad plug-ins → isolate → eliminate and try again

★ 9GitHub stars
1Forks
2026-09-01Last updated
JavaScriptLanguage
—License

Key features

  • Plug-in errors are automatically isolated: bad plug-ins are disabled, other plug-ins are started as usual, and isolation management and recovery UI are provided.
  • Desktop App is supported starting from 0.1.17 - when the dsh kernel runs in the Electron main process and the argv has no kernel path, it is located from process.resourcesPath → app.asar.unpacked)
  • Even if the registration fails, it will only be downgraded to no panel, and the core isolation capabilities will remain as usual)
  • Automatic quarantineBad plug-in activation failed → Diagnostic print + write - id: \n disabled: true (with # quarantined by @lanbaolu/dsh-fail-soft annotation) to profile's cordis.patch.yml → Eliminate and retry mounting → The service starts as usual.

Requirements

  • The kernel requires the "fail-soft delegation slot" patch (very small, only discovery and delegation, all logic is in this plug-in).
  • If the kernel is the official original version, it will be automatically patched. Please restart dsh after the first installation to make the mount take effect.

Install command

dsh plugin --profile web add github:lanbaolu/dsh-fail-soft
View GitHub repository ↗Back to popular plugin directory