Tianlight: DSH Web Interface Skin Plugin

Preface

The DeepSeek Harness (DSH) Web client defaults to a functionality-oriented interface. When working in the conversation window for long periods, the background, typography, and visual hierarchy tend to remain at the system default style. The community already offers skin-type plugins that hook into the Web client via dsh.bundle.patch and dsh.client; if you want fullscreen dynamic wallpapers, glass-style panels, and a configurable wallpaper library layered on top of the DSH main interface rather than running a separate wallpaper app, you need a skin solution aimed at the Web GUI.

The following introduces the plugin dsh-client-ui-skin-tianlight (package name @dsh-external/dsh-client-ui-skin-tianlight) by maintainer MilkySnowWay123 under the SkillHub category “Fun Dress-Up”. It is a DSH Web skin plugin, not a standalone application; it integrates through the wiring line ui-skin-tianlight and the body attribute data-dsh-tianlight. The GitHub repository currently has about 2 stars, with an MIT license.

What is this

TIANLIGHT targets the DSH Web GUI: Makoto Shinkai-style skylight color palette, a fullscreen looping dynamic wallpaper laid at the bottom layer of the interface, glass-textured panels, a draggable mint kitten desktop pet, and a self-built wallpaper and typography control panel.

Compared with “just changing the CSS theme”, this plugin handles the wallpaper library, ShaderToy-style GLSL, optional WebWallGL scenes, uploads, and auto-rotation in the browser half, while providing asset routing, streaming uploads, and scene adaptation pages in the host half. apply() is wrapped entirely in try/catch; if an exception occurs the skin may not appear, but it will not prevent entering DSH.

Core Features

Wallpapers and Layers

  • Dynamic wallpaper: A fullscreen looping video fixed at the bottom layer, lifting the interface one layer up.
  • Replaceable assets: Put mp4 / webm / mov / m4v / png / jpg / jpeg / webp / avif / gif / svg into assets/ for automatic recognition; you can also paste a remote direct link in the panel’s “URL Import” (files without an extension will be probed as image/video, non-direct links will error). For format details, see the repository’s docs/FORMATS.md.
  • Static frames: Capture 6 frames from the current video, click one to fix it as a static wallpaper, and restore to dynamic with one click; frame extraction from cross-origin URLs will be blocked by the browser.
  • Default source priority (when no manual selection exists): bg-main.mp4 → bg-4k.mp4 → other videos → the first image → built-in gradient; missing files fall back level by level without a white screen.
  • ShaderToy style: Local GLSL fragments (iTime / iResolution / iMouse / optional u_audio), including presets for aurora/nebula/water ripples/audio aurora; compilation failures only show a prompt without replacing the current wallpaper, with a frame rate cap of 30fps.
  • WebWallGL scenes: Optional Wallpaper Engine scene channel (built-in MIT-licensed WebWallGL 3.0, located in vendor/webwallgl/), rendering project.json + scene.pkg in a sandboxed iframe; first-frame timeout or engine failure falls back to the previous playable wallpaper or video. Requires browser WebGL2, directory names must be ASCII.
  • Overlay layers: A/B two slots, presets (vignette/grain/glow/scanlines) or images, adjustable opacity and blend mode.
  • Auto-rotation: Sequential or random, interval from 30 seconds to 10 minutes, can rotate only favorites; deferred when the page is hidden, in power-saving mode, or manually paused.

Wallpaper Panel and Operations

  • Entry: The “Wallpaper” tab on the left; when blocked by the sidebar, press Alt+W to toggle the panel.
  • Change wallpaper in one glance: By default opens a unified mixed wallpaper library (local + uploaded + WE videos/scenes), click a thumbnail to apply immediately; the top can filter by “All / Local / WE”.
  • Upload: Select images/videos in the panel, default single file limit 512MB (environment variable TIANLIGHT_UPLOAD_MAX adjustable), saved to assets/uploads/; same names automatically get -1 etc. suffixes, Chinese or 4K filenames will be sanitized to playable ASCII names.
  • Playback and quality: The viewport can pause/resume (persists after refresh), 0.5–1.5x speed, and horizontal flip; brightness/contrast/saturation filters are off by default, when enabled there is a fullscreen compositing cost.
  • Performance tiers: ShaderToy and sidebar mirror can choose auto / 60 / 30 / 15fps; the panel top shows the real playback status (dynamic playing, paused, autoplay blocked, etc.) and a recovery entry.

Interface and Interaction

  • Glass panels: Input boxes, bubbles, menus, and settings panels are uniformly translucent frosted; the settings panel does not do real-time background blur to avoid frame drops from double-layer backdrop-filter on fullscreen videos.
  • Typography panel (Aa): Font size, interface font family, code font family, font weight, line height, letter spacing, and one-click reset; draggable, with a close button in the top-right corner.
  • Reasoning tier slider: Spring damping, continuous dragging, tier snapping, connecting to the official remote.session.modelCatalog / selectModel.
  • Wallpaper-adaptive color scheme: When the panel is opened, extract a primary color from the current screen to derive the accent color (config item --tl-accent defaults to #2b74c9, can be overridden by the color picker in the panel).
  • Mint kitten: Draggable desktop pet, breathes, responds when approached, click to open the interaction menu; assets/cat.png is the desktop pet asset and does not participate in wallpaper candidates.
  • Light/dark themes: Two token sets, both keeping the wallpaper visible.

Compatibility and Security Boundaries

Item Description
Tested version DSH 0.2.0-rc.2 (Web)
Minimum requirement Version supporting dsh.client (from 0.1.5)
Node >=18 (see package.json engines)

For non-Web profiles or when some services are missing, the plugin is handled as optional and suspended rather than dragging down the host. After upgrading DSH, it is recommended to run node tools/upgrade-check.mjs to verify the client loader, hash selectors, modelCatalog contract, etc.; FAIL indicates the skin may not load, WARN indicates only visual degradation.

Installation and Activation

The steps given in the README use Windows directory junctions as an example; the core is linking into the profile’s node_modules, registering the bundle, writing to cordis.patch.yml, then restarting DSH.

1. Place this directory anywhere, link into the profile:
   mklink /J "%USERPROFILE%\.dsh\profiles\web\node_modules\@dsh-external\dsh-client-ui-skin-tianlight" "D:\path\to\skin-tianlight"
2. Register in the profile's package.json:
   "dsh": { "profile": { "bundles": ["@dsh-external/dsh-client-ui-skin-tianlight"] } }
3. Insert into the profile's cordis.patch.yml:
   - id: ui-skin-tianlight
     name: '@dsh-external/dsh-client-ui-skin-tianlight'
     disabled: false
4. After restarting DSH, press Ctrl+F5

This version adds new upload, scene, and engine adaptation routes on the host side, so you need to restart dsh web once after installing or updating; afterwards, if you only change browser-side code under src/, a Ctrl+F5 is usually sufficient. The upload directory is assets/uploads/; the WE scene root directory is configured in the wallpaper panel.

The plugin runs with the current user’s permissions along with the DSH process; please review the repository source code and MIT license yourself before installing, and confirm the rights to redistribute the demo assets (such as bg-main.mp4, bg-4k.mp4, cat.png).

Typical Usage

Replace default wallpaper with files

No code changes needed, just put files into assets/ under the plugin directory:

assets/
  bg-main.mp4     ← preferred video
  bg-4k.mp4       ← alternative / 4K
  rain.webp       ← static image wallpaper
  cat.png         ← desktop pet asset, does not participate in wallpaper candidates

Change wallpaper and advanced options in the panel

  1. Open the left “Wallpaper” or press Alt+W.
  2. Click a thumbnail in the mixed library to apply immediately; use “All / Local / WE” to filter sources.
  3. “URL Import”, WE directory, and GLSL are for pulling in remote resources or shaders; picture, appearance, auto-rotation, save, etc. are collected under “Advanced”.
  4. For streaming uploads, select local images/videos in the panel, files are written to assets/uploads/.

Adjust glass and masks (CSS variables)

Variable Default (Light / Dark) Effect
--tl-panel-fill 0.84 / 0.88 Modal panel fill
--tl-glass-fill 0.30 / 0.38 Glass surface fill
--tl-glass-blur 12px / 14px Glass blur radius (small surface areas)
--tl-shell 0 Global surface opacity, 0 means the wallpaper is fully visible
--tl-overlay 0.82 / 0.84 Menu/popup overlay mask

The reasoning slider feel is affected by parameters like stiffness (default 170) and damping (default 25); larger values mean crisper response and smaller rebound.

Development and verification (when changing skin logic)

Browser-side source code is in src/, lib/client.js is the build artifact, do not edit it directly. Common commands:

node tools/build.mjs        # Generate lib/client.js from src/
node tools/upgrade-check.mjs # Compatibility self-check after DSH upgrade
node tools/test.mjs         # Logic regression tests (Range, filename safety, wallpaper discovery, etc.)

Applicable Scenarios and Notes

Suitable for: Users who work in the DSH Web client for long periods and want the wallpaper (including 4K video), glass UI, wallpaper library, and optional WE/WebGL scenes integrated with the main interface; willing to verify compatibility themselves on versions around 0.2.0-rc.2.

Notes:

  • The plugin is not an official SkillHub or DeepSeek product; the community directory is an independent site, installation methods follow the README, do not invent commands like dsh plugin add that do not appear in the documentation.
  • The complete repository may come with about 70MB of default demo videos and desktop pet images; for lightweight use you can delete assets/bg-main.mp4, bg-4k.mp4, cat.png, and a gradient fallback will be used when missing.
  • Cross-origin wallpaper color extraction and video frame capture are limited by the browser’s same-origin policy; enabling picture filters or excessively high mirror frame rates on 4K/high frame rate may cause frame drops, and the panel will prompt to disable filters or reduce tiers.
  • Audio response (such as ShaderToy “Audio Aurora”) only analyzes microphone levels after manual activation, does not record or upload, and is released when the panel is closed or the page is hidden.

Conclusion

TIANLIGHT gathers dynamic wallpapers, wallpaper libraries, glass typography, and desktop pets into a single skin chain of DSH Web, distinguishing between host routing and browser injection, and trying to only degrade visually when compatibility fails. To enable it locally, follow the README to complete the profile link, bundle, and cordis.patch.yml configuration, then restart dsh web to verify.

  • SkillHub directory page: https://www.skillhub.cn/plugins/MilkySnowWay123/dsh-client-ui-skin-tianlight
  • GitHub: https://github.com/MilkySnowWay123/dsh-client-ui-skin-tianlight
羽毛球分组比赛记分
小程序二维码

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

Xiaoye