Responsibilities
Built-in plugins and recovery
Before Harness starts, the desktop checks the active profile and restores missing integrations or outdated paths from bundled copies. Failures are logged. The built-in bridge can recover automatically, but first-time preparation of runtimes, the core, and selected community plugins still needs network access. The current release manifest lists 13 packages underplugins.built-in:
Mobile UI adapts the browser interface; Remote manages SSH and inbound sharing. The local Codex / Claude Code kernel entry left the built-in set and is now provided by the DSH Third Kernel community preset.
Preset and community plugins are installed, upgraded, or removed as needed. The manifest’s
plugins.depercated list holds deprecated IDs (including dsh-tauri-kernel, dsh-tauri-ssh, and dsh-win-terminal-inspector); the desktop filters those IDs out of the installed list and recovery paths.
Local paths and hot reload
Besides registry sources, plugins can be mounted from a local directory: the spec is normalized tolink: plus an absolute path, so the profile stores a link declaration to the source directory rather than a copy.
The desktop keeps a separate HMR patch layer for these plugins. Before Harness starts, the mounted local source directories become watch roots, written to cordis.hmr.patch.yml in application data and injected with --patch into the core’s @deepseek-ai/dsh-hmr. That file is independent of profile patches you write by hand and is removed when the switch is off or no local plugin is mounted.
The patch layer only defines the watch scope: the core’s HMR performs the actual reload, disposing and re-importing the plugin and rebuilding its fiber without restarting the Harness service. Ignore rules cover node_modules, hidden directories, and cache and data directories.
Communication path
Mobile UI only adapts the client. Remote communicates through its host HTTP routes. Features needing native desktop capabilities use this bridge path:- The embedded Harness client invokes an integration exposed by its client plugin.
- The plugin sends a structured request through the desktop bridge.
- Tauri command handlers validate the operation and call the responsible Rust service.
- Results or lifecycle events return to the client and update its panel state.