DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Theme Blackhole — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
T

dsh-theme-blackhole

Theme Blackhole

DeepSeek Harness Web UI 的黑洞主题插件:采用 WebGL 实现的 Schwarzschild 黑洞背景,搭配深空玻璃面板,可从 Settings > General > 主题-黑洞切换。安装到 Web 配置文件:dsh plugin --profile web add <path-to-this-package>

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:jiangwangyang/dsh-theme-blackhole#0d5a290ee2b0df50e4c5a4e29c1252fe3d2374e4
README兼容性版本
hero

兼容性与来源证明

Theme Blackhole 以 dsh-theme-blackhole 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/21

版本

0.1.0stable
2026/8/21

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
未声明
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/9/14
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包Pet@linxin666/dsh-pet适用于 dsh Web GUI 的多宠物伴侣插件:由注册表驱动的浮动宠物,可响应模型活动,支持为每只宠物命名、抚摸/喂食互动以及亲密度评分

README

dsh-theme-blackhole

English | 中文

A black hole theme plugin for the dsh (DeepSeek Harness) Web UI: a WebGL real-time ray-traced Schwarzschild black hole as the application background, paired with a deep-space glass panel palette, switchable from Settings > General > Theme - Black Hole.

hero

Features

  • WebGL Schwarzschild black hole background: null-geodesic ray tracing renders gravitational lensing, the accretion disk and the photon ring in real time, with a slow automatic camera orbit
  • Deep-space glass panels: translucent dark token overrides plus backdrop blur let the black hole show through softly behind the content; the brand accent becomes accretion-disk amber
  • First-class theme: registered into the theme runtime; the settings row toggle syncs both ways with the appearance settings, persists across reloads, and boots without flashing the default theme
  • Performance-friendly with graceful degradation: half-resolution rendering, 30fps cap, honors the system reduced-motion preference, and falls back to a pure-black deep-space backdrop when WebGL is unavailable

Installation

This plugin relies on the webServer service of a web profile. It only works with profiles that include a web server (such as web); do not install it into headless profiles.

dsh plugin --profile web add github:jiangwangyang/dsh-theme-blackhole

Usage

After installing and starting, go to Settings > General > Theme - Black Hole:

  • Turn on: switches to the black hole theme; the toggle is persisted and survives reloads and restarts
  • Turn off: restores your previous built-in theme (light / dark / follow system); your original preference is never lost
  • Switch away from the appearance row: when you switch back to a built-in theme in the appearance settings, the toggle is written back to off, keeping the two settings consistent

How It Works

Overall Architecture

The plugin consists of a host side and a client side, plus two static assets:

PartFileResponsibility
Host sidesrc/index.jsServes /blackhole/* static assets (read from disk per request); registers the theme-blackhole settings namespace; injects boot assets into index.html when the toggle is on
Client sidesrc/client/index.jsBuild-free client bundle: registers the black hole theme into the ThemeRuntime, registers the settings row, and drives the DOM visuals according to theme activation
Paletteassets/blackhole.css--dsw-* design token overrides gated by html[data-dsh-blackhole]
Rendererassets/blackhole.jsSchwarzschild black hole WebGL renderer, exposing only the window.DshBlackhole = { start, stop } controller

Boot Injection and Gating

All theme visuals are gated by the data-dsh-blackhole attribute on the html element: the palette overrides apply while the attribute is present, and the default palette is fully restored once it is removed, leaving no residue.

  • When the persisted toggle is on, the host side injects the activation marker, the stylesheet and a deferred renderer script before </head>, avoiding a flash of the default theme before the client plugin loads; nothing is injected when the toggle is off
  • On activation the client side adopts the already-present resource tags (which carry the same marker) instead of inserting duplicates; the renderer script only defines the controller and is started/stopped idempotently by the client on theme/change events
  • The black hole theme id is not part of ui-theme's built-in settings schema; the toggle persists in the plugin's own theme-blackhole.enabled namespace — a boundary dsh reserves for third-party themes

The Black Hole Renderer (assets/blackhole.js)

For each pixel, the renderer casts a ray from the camera and performs null-geodesic (photon trajectory) ray tracing in Schwarzschild spacetime, entirely within the fragment shader.

Orbital equation and integration. In the Schwarzschild metric, conservation of angular momentum confines each light ray to a plane through the black hole's center, so there is no need to integrate the full 3D geodesic equations. Introducing the dimensionless quantity u = r_s / r (where r_s = 2M is the Schwarzschild radius) reduces the geodesic to a scalar orbital equation:

d^2u/dphi^2 = 1.5 u^2 - u

where phi is the azimuthal angle within the orbital plane. The shader constructs an orthonormal basis (a, b) for the orbital plane from the camera position and ray direction, derives the initial values u0 and du/dphi from the angle of incidence, then integrates with classical fourth-order Runge-Kutta (RK4) for up to 420 steps. The step size adapts to u (dphi = 0.04 / (1 + 2.5u)): steps shrink near the black hole to preserve accuracy in the strongly curved region, without wasting work far away.

Integration terminates in three ways:

  • u <= 0: the ray escapes to infinity and samples the starfield background
  • u >= 1 (r < r_s): the ray crosses the event horizon and is captured; the pixel is black
  • The ray has passed periapsis, is heading outward, and is farther than the camera's initial distance: early escape, saving steps

Gravitational lensing. Because rays follow curved trajectories, the line of sight for a single pixel may wind around the black hole multiple times, so images of the accretion disk appear above and below the black hole (lensed images) and form an Einstein ring — these effects are not post-processing textures but a natural consequence of geodesic integration.

Accretion disk. Each integration step checks for crossings of the disk plane (tilted 20 degrees) via a sign change of the normal dot product, then locates the intersection by linear interpolation and shades it:

  • Matter orbits at the Keplerian angular velocity Omega = sqrt(M / r^3); inside the ISCO (3 r_s) lies a plunging region with strong shear and inflow
  • The density is tangentially stretched spiral fbm turbulence noise
  • The temperature profile follows T ~ r^(-3/4), scaled with mass by the astrophysical law T ~ M^(-1/4); color comes from an approximate blackbody spectrum

Relativistic transfer. Disk shading accounts for first-order relativistic effects:

  • Doppler beaming: the Doppler factor dop = 1 / (gamma (1 - beta cos)) is computed from the Keplerian velocity; the side moving toward the observer brightens significantly and shifts blue, with a dop^3 term in the brightness
  • Gravitational redshift: g_grav = sqrt(1 - r_s / r); photons near the horizon lose energy, and the color physically shifts with the total redshift factor g = dop * g_grav
  • Plunging matter dims and reddens as it falls into the horizon

Photon ring glow. Each ray's periapsis distance is recorded; rays whose periapsis grazes the photon sphere (r = 1.5 r_s) receive a warm glow overlay, outlining the photon ring.

Remaining components. An exponentially decaying volumetric haze glows above and below the disk; the starfield background consists of a galactic-band nebula (fbm noise) plus two layers of hashed stars, sampled after gravitational bending so the background stars are lensed too. The final color goes through exposure, ACES tone mapping and gamma correction.

Camera and performance. Fixed parameters (mass M = 0.5, camera distance 11, pitch 0.38 rad, 50-degree field of view); the camera orbits slowly at 0.05 rad/s, with no interaction and no tunables. Performance strategy:

  • The render resolution is 0.5 x devicePixelRatio (capped at 2) times the window size — half-resolution rendering balances performance and clarity, with the browser upscaling to fullscreen
  • The RAF loop is capped at 30fps; it skips rendering but not timing, so the orbit speed is unaffected
  • When the system reduced-motion preference is on, only a single static frame is rendered and the loop never starts
  • If WebGL is unavailable or shader compilation fails, the canvas layer is hidden and the fallback backdrop on body (pure black with a faint accretion-disk amber halo) shows through
  • On stop, the RAF is cancelled, the GL context is proactively destroyed via loseContext, and the canvas layer is removed without a trace

The Deep-Space Glass Palette (assets/blackhole.css)

All rules are gated by html[data-dsh-blackhole] and override the Web UI's --dsw-* design tokens:

  • The canvas layer sits at z-index: 0, above the body background and below #root; #root applies backdrop-filter: blur(16px), so translucent panels see a soft-focused black hole through the blurred backdrop
  • Background tokens become layered translucent glass; higher layers (menus, popovers, toasts) are more opaque to preserve readability
  • Brand and interactive accents become accretion-disk amber (rgb(245, 158, 11)), with a cool blue-white text gradient
  • Shiki dark code-highlighting tokens are set as well; code blocks use a nearly opaque night-sky base

Project Structure

.
├── cordis.patch.yml      # bundle patch: declares the plugin id and name
├── package.json          # exports, dsh.bundle / dsh.client manifest
├── src
│   ├── index.js          # host side
│   └── client
│       └── index.js      # client side (build-free)
└── assets
    ├── blackhole.css     # deep-space glass palette
    └── blackhole.js      # WebGL black hole renderer

License

MIT