lurenjia-l/dsh-sao-ui: Replace DSH Left Sidebar with SAO-Style Cascading Menu

Introduction

DeepSeek Harness’s interface is plugin-based, but the native left sidebar offers limited styling options. Developers who want to replace the left navigation with an Sword Art Online (SAO)–style main-button cascade menu—without breaking the host structure—while also overlaying a boot screen, wallpaper layer, HUD, and sound effects will find a solution in lurenjia-l/dsh-sao-ui. This plugin takes over the visual presentation of the left sidebar; all assets are read at runtime from the local SAO Utils 2 theme directory and are not bundled with the plugin package.

Plugin Positioning & Problem Solved

This is a skin plugin for the DSH Web client (the UI launched via dsh web). It does not alter the host’s core logic; it only modifies DOM styles and layout, replacing the left sidebar with an SAO main button + cascade menu while providing a Link Start boot screen, wallpaper layer, HUD, floating-window appearance, and a full set of sound effects. Maintained by lurenjia-l, it falls under the “fun reskin” category.

The plugin package contains no images, fonts, or audio files. Textures, fonts, voice lines, and SFX are all read from your local machine at runtime (SAO Utils 2 theme pack / Wallpaper Engine Workshop). The host only delivers the page. To achieve a full SAO-style experience, your local machine needs SAO Utils 2 + the theme pack com.gpbeta.theme.sao, as well as Wallpaper Engine (Workshop content, appid 431960). The plugin still works without these assets, though the HP bar and clock will fall back to a pure-CSS look.

Core Features

The native left sidebar is hidden (DOM and layout are preserved), replaced by an SAO main button + cascade menu. Menu items are read in real time from the sidebar.panellist slot; panels registered by third-party plugins will appear automatically. Clicking a menu item calls ctx.layout.selectPanel(id) to drive the native panel switch.

On page load, a white background is shown with colored light bars sweeping across the camera for approximately 4.7 seconds. A custom WebGL injection is placed in <head> so no white flash frame appears before rendering. Optional character voice lines and a “dive” sound effect are included; click once or press Esc to skip.

Wallpaper Library + Real Rendering

Directly lists wallpapers from the local Wallpaper Engine Workshop. video wallpapers play as real mp4 (HTTP Range streaming, seekable); Web wallpapers run in a cross-origin sandboxed iframe; scene / application wallpapers are handed off to the Wallpaper Engine executable to open its own rendering window.

HUD & Task Bar

HP bar = remaining context (contextPressure); LV = conversation count; balance slot = cache hit rate; when no data is available, a — is displayed. A SAO-style task bar at the top of the conversation is rendered by projecting the todos array.

Floating Windows

Conversation window, right panel, settings window, and global panels can all be dragged, resized, collapsed, and restored with a one-click ⟲; right-panel tabs can be dragged out into independent floating windows and dragged back in.

Four Appearance Schemes + Light/Dark Theme

Conversation appearance supports “Native / A Task HUD / B Task Log / C NPC Dialog / D Dual-Column” via pure-CSS switching. The light/dark theme controls the entire interface (not just the left column); a gradient dimming strip on the left stops precisely at the native column’s right boundary.

Sound Effects

Click / expand-collapse / open-close panels / window minimize-restore-close / new / archive / apply—15 actions each have a dedicated sound effect. Additionally, two event sounds: “conversation execution complete” and “your selection is needed.”

Installation & Activation

The plugin is a standard DSH bundle: the dsh.bundle.patch field in package.json points to the bundled cordis.patch.yml. Once installed, DSH applies that patch layer, inserting the plugin entry into the loader.

Method A: Local Directory / Git

Add the dependency in the package.json of the target profile (e.g., ~/.dsh/profiles/web/package.json) and list it under dsh.profile.bundles:

{
  "name": "dsh-profile-web",
  "private": true,
  "dependencies": {
    "dsh-sao-ui": "file:../dsh-sao-ui"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-sao-ui"
      ]
    }
  }
}

To install directly from GitHub, change the dependency value to "github:lurenjia-l/dsh-sao-ui".

Method B: Pack & Install

git clone https://github.com/lurenjia-l/dsh-sao-ui.git
cd dsh-sao-ui
npm pack            # produces dsh-sao-ui-1.4.0.tgz, then install this tarball via DSH's plugin manager

After installation, restart DSH (the Host side needs to reload its routes), then refresh the page: the SAO main button should appear on the left. To uninstall, simply remove the dependency and the bundles entry, then restart.

Configuration

All config items live under config in cordis.patch.yml. Every field can be left empty (empty = auto-detect). The active configuration at runtime is determined by the profile’s patch layer; changes take effect after a restart. For day-to-day tweaks, there is no need to edit this file—the settings window (bottom-left “Settings” → secondary menu → “SAO Interface Skin”) exposes all user-adjustable options.

Field Default Description
assetsDir '' SAO Utils theme pack root directory (...\Packages\com.gpbeta.theme.sao). If empty, auto-detects E:\SteamLibrary\....
appSoundsDir '' Second asset root: SAO Utils 2\Sounds (ProgramStart.wav, PopupPanel.wav). If empty, derived two levels up from assetsDir.
wallpaperEngineDir '' Wallpaper Engine Workshop library root (...\steamapps\workshop\content\431960). If empty, iterates through Steam libraryfolders.vdf libraries.
wallpaperEnginePath '' Path to wallpaper64.exe; used to invoke the Wallpaper Engine executable for scene / application wallpapers. If empty, derived from the Steam library.
wallpaperPath '' Absolute path to a single image wallpaper; mutually exclusive with “Wallpaper Library.”
fontPath '' Path to SAOUI-Regular.otf. If empty, searches two levels up from the theme pack root for Fonts/.
startup true Whether to inject the Link Start boot screen (set to false to skip injection entirely).
startupVoice 'SAO.Kirito' Boot voice id: SAO.Kirito / SAO.Asuna / ALO.Kirito / ALO.Asuna / ALO.Leafa / GGO.Kirito / GGO.Kirito2 / GGO.Sinon / GGO.Sinon2 / none.
startupSfx 'SAO.NerveGear' Dive / load SFX id: SAO.NerveGear / ALO.NerveGear / ALO.AmuSphere / GGO.AmuSphere / none.
startupSfxDelay 620 How many milliseconds after the animation start to play the load SFX (default: waits for “Link Start!” to finish).
startupVolume 0.7 Startup volume 0–1 (shared by voice and SFX).

Asset whitelisting, per-file size limits (images 512 KB / audio 2 MB), and path-escape protection are all handled in lib/whitelist.js.

Typical Usage

After installation, restart DSH and refresh the page. The left sidebar will display the SAO main button; clicking it expands the cascade menu, whose items correspond one-to-one with the host’s native left column. On first use, check the “SAO Interface Skin” section in the settings window to confirm that asset path auto-detection succeeded. If the wallpaper library fails to load, manually fill in wallpaperEngineDir on the settings page.

Use Cases & Cautions

Ideal for developers who want to transform the DSH interface into an SAO style, particularly those familiar with the DeepSeek Harness plugin system and willing to prepare SAO Utils 2 and Wallpaper Engine locally.

The plugin runs with the current dsh process permissions and relies on local file paths for asset reads. Review the source code and license before installing. The plugin code is licensed under MIT. Textures / fonts / voice / SFX are not distributed with this plugin; they are read from your local machine at runtime. Wallpapers are your own local content—read-only, never copied, bundled, or uploaded.

Conclusion

lurenjia-l/dsh-sao-ui takes over the DSH left sidebar via a patch layer, providing an SAO-style cascade menu, boot screen, wallpaper layer, and HUD while keeping the host’s core logic intact. For the full feature list and known limitations, see the plugin directory page and the GitHub repository.

  • Plugin directory: https://www.skillhub.cn/plugins/lurenjia-l/dsh-sao-ui
  • GitHub repository: https://github.com/lurenjia-l/dsh-sao-ui
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye