rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
PROJECT README
English | 中文
A DeepSeek Harness appearance plugin: custom theme color, background wallpaper (image / video / algorithmically generated), and per-surface opacity & blur control. Compatible with DSH 0.2.0-rc.1 through 0.2.2-rc.3 — and every host release above it.
![]() Custom homepage · wallpaper + theme color applied |
![]() Theme color picker · PS-style wheel + HSL/RGB inputs |
![]() Per-surface opacity and blur |
![]() Background editor · pan and zoom |
![]() Generated background · mesh gradient / Shader / geometric |
![]() Generated background · geometric low-poly |
![]() Export and import configs to share them |
|
dsh-any-theme.json (config + wallpaper + the whole rotation pool) that restores anywhere.code chips and produced chips move together.-webkit-text-stroke (0–4px, 0 = off) in auto-contrast / gray / black / white / accent / custom. Code blocks, inline code, icons and the host's gradient-shimmer text are exempt automatically.~/.dsh/.dsh-any-background-data/, not in localStorage.0.2.1-rc.5 and the newly opened 0.2.2 line)0.2.1-rc.4, 0.2.1-rc.5, 0.2.2-alpha.2.rc.4 / rc.5 change nothing. Every shipped file of the 296 @deepseek-ai/dsh-* packages in a 0.2.1-rc.3 install was hashed through rc.5: 30 files moved in total, and not one of them is a stylesheet this plugin reads. Three are inlined version-string literals; the rest are the host's settings-tab tooltip becoming conditional and the reasoning-body slot gaining a rawText. No token, no [class*="…"] class shape, no z-index and no data-slot key moved, so both builds join the v0-2-1 row and their verdict rises from line to exact.0.2.2 is a new patch line, so v0-2-2 opens its own facts folder. That release is big (1151 files changed, 1709 added), but every fact this plugin claims was re-read and still holds: _handle{z-index:11} / _leadingSeat{z-index:15} / _overlayLayer{z-index:20} are byte-identical (so the sidebar column's ceiling of 1 and the header row's 10 are argued exactly as before), the four menu-frost tokens and the 8 --dsw-menu-backdrop-filter consumers are unchanged, the host still composes --dsw-font-family on body (the font rule's !important still has to win), the five session-header slot keys stand, and all 75 host selectors this plugin writes still match. The host's peer gate is byte-identical too.0.2.2 worth recording: --dsw-specific-sidebar-nav-item-hover is deleted host-side, together with its only consumer — the plugin still writes the token, which now writes something nobody reads, and since the host stopped painting that hover at all there is no regression against the host default; and ui-plugin-manager gained a new consumer of the token the main-interface slider takes over (a pointer-events:none underlay behind the page header), which paints nothing at the default value but is a new row on the "who reads this token" list.npm test verifies that engines.dsh, the six peer ranges and dsh.compatibility.dsh each name every verified build and all keep their uncapped tail, and that lib/ really carries those builds and their channels — so editing src/ without re-bundling is now caught outright.0.2.2-rc.2 / 0.2.2-rc.3)backdrop-filter) sits behind an opaque card, where it is a visual no-op — but its filter surface still makes the compositor rebuild every video frame, and the sampling intermittently catches the dark title-bar strip. applyViewCards now skips the underlay entirely when the card's opacity slider is at 100% (verified pixel-identical by the reporter); translucent cards keep their frost, the trajectory view is untouched.dsh-session-manager is registered and pinned. Its whole dialog set (.sm-panelDialog and siblings, the overlay layer hosting the header menu / custom select lists) paints through color-mix of --dsw-alias-bg-layer-1 and reads layer-2/3 directly, so the 「对话框选项面板」 slider faded it translucent with no frost of its own — its text mixed with the wallpaper and the bottom panel underneath. The new pin re-declares the three layer tokens OPAQUE on its roots (the market-popover precedent: token literal only, no frost, and the plugin's own 「弹窗不透明度」 mix keeps working over the pinned literal). The settings card now lists it as pinned; the boot log names it.lastRotate) intact, like the host's own activation path. Escape/Enter accessible, current item inert.0.2.2-rc.2 and 0.2.2-rc.3 (source-tree reads of both tags). Same patch line, same adapter answer, verdict exact. The one behavioral delta: design-platform.css gained darwin-only --dsw-specific-sidebar-wash-top/-bottom (+ -tint, -glass-*) painting the macOS sidebar column — the tint derives from the fill token so it already followed the slider; the two static washes joined the 「侧边栏」 opacity group (own plugin vars; toRgba now also parses the modern rgb(r g b / a) syntax they are written in), and both are inert on non-darwin hosts. conversation.hero.frame / [data-phase='hero'] mounts no [data-chat-flow], which applyViewCards already treats as "view not mounted". Gate ranges, peer enums and dshReleases now name both builds; master-only changes (DocumentStyles data-plugin/data-path pipeline, ThemePresenter style-tag observer) are recorded in the adapter for the next release.0.2.2-rc.1 · issue #34 registry & reporting · issue #33 numeric input & region highlight)0.2.2-rc.1 on a real host. An isolated test profile under launcher homes/0.2.2-rc.1 (local plugin via link, plus dshmarket 1.73.16 / dsh-better-sidebar 0.30.1 / dsh-update-checker 1.7.3) boots dsh web: the gate admits the plugin, read answers host.version=0.2.2-rc.1 / channel=0.2.2, and the config round-trip lands on disk. A separate headless Chrome boot reports 179 style[data-plugin] sheets and all three "unregistered" log lines from issue #34, verbatim. The build now joins all four gate ranges and dshReleases; its verdict rises from line to exact.lib/client.js artifacts, _handle{z-index:11} / _leadingSeat{z-index:15} / _overlayLayer{z-index:20}, the menu token names, 9 --dsw-menu-backdrop-filter consumers, data-shimmer / data-shell-bottom / data-rightbar-col and the session-header slot keys all still resolve. What moved: --dsw-menu-surface-fill (#f8f9fa94 / #43454a73 → #fcfdfeb3 / #303136a3), --dsw-font-family (now a single var(--dsh-font-family-text-default), still a body declaration so the font rule's !important still wins), and --dsh-dockkit-float-top is no longer emitted (this folder emits no promotion, so it is unaffected). The adapter only asks for token NAMES, so its answer stands; details live in v0-2-2/adapter.ts. Pixel-level A/B for blur / occlusion is still open.--dsw-alias-bg-layer-1) and dsh-update-checker's two buttons (--dsw-alias-bg-layer-2) — re-declaring only the token literal, never background, geometry or frost; all four selector names are 0-hit in that host's artifacts. dsh-better-sidebar is registered as reviewed, deliberately not pinned: its whole panel is exactly what the Main-interface slider is for, so pinning it would take the slider away from the user. Every pin still lives in the one -third-party dynamic sheet, so the switch removes all of it at once.setBlur / applyPartOpacities paint; the rest use only data-* markers and runtime tags from this plugin's own rules. No host node is written and no third-party z-index is touched — a single fixed, pointer-events:none outline layer is removed on mouse-out and on leaving the settings page. Positions update from capture-phase scroll / resize, never rAF. The hint reuses the plugin's own scheme resolver rScheme() (forced override > theme-color lightness > wallpaper brightness verdict) and paints its inverse: a translucent WHITE plate on a dark interface, a translucent BLACK plate on a light one, with the tag inverted the same way. Strictly neutral black/white — not --dsw-alias-brand-primary (extracted from the wallpaper, so it collides after a theme-color change) and not a fixed accent (which collides with a wallpaper of that same color). The plate breathes slowly and continuously (2.4s ease-in-out, fill opacity 22% ↔ 100% — not a one-shot flash); only the fill pseudo-element animates, so the two non-overlapping dashed rings (near-white border + near-black outline) and the tag stay steady. prefers-reduced-motion falls back to a static plate, and nested targets collapse to the outermost box so alpha never stacks. Measured luminance delta: white-on-dark 0.243 / black-on-light 0.240, versus 0.015 / 0 if the direction is chosen wrongly; on an amber wallpaper the white / black plates still give 0.067 / 0.178. When a region is absent on the current page the card says so rather than drawing a guessed box — the honest answer to "some surfaces only exist once a conversation is open". The other three requests (per-module annotations, a post-turn token-usage module, a model-picker submenu) need per-surface structural probing and are NOT in this release.# published on the npm registry
dsh plugin --profile web add dsh-any-background
# or straight from the GitHub repository
dsh plugin --profile web add github:Tkingxiao/dsh-any-background
Then launch:
dsh web
The plugin appears as a "Theme" section in Settings.
npx @deepseek-ai/dsh plugin --profile web add dsh-any-background
npx @deepseek-ai/dsh web
The lib/ directory is committed, so installs need no build step. To rebuild after editing src/:
git clone https://github.com/Tkingxiao/dsh-any-background.git
cd dsh-any-background
pnpm install
pnpm run bundle
pnpm dsh plugin --profile web add "dsh-any-background"
pnpm dsh web
dsh web: 0.2.0-rc.1 ~ 0.2.2-rc.3, and everything above it. The gate names each build that was checked and then closes with an uncapped >=0.2.0-rc.1. That umbrella is deliberate: the host enforces exactly this peer list — a release it does not name is disabled before a single module is imported — so a range that runs out is a wall in front of a plugin that would have kept working. (More precisely: the host's app-boot unmetRequirements reads engines.dsh alone when that field is present and ignores peerDependencies, so all four places must say the same thing but engines.dsh is what actually decides whether the plugin loads.)
How an unseen build runs: it gets the closest verified set of facts plus a log line saying how far from exact that is. The worst a stale fact can cost is one slider no longer fading a surface the host has since moved; a version check that failed closed would cost the whole plugin.
Verified builds (dsh.compatibility.dshReleases):
| Host build | Facts folder | Notes |
|---|---|---|
0.2.0-rc.1 |
v0-2-0-rc-1 |
verified by diffing its tag, package by package |
0.2.0-rc.2 |
v0-2-0-rc-2 |
same; this rc renamed the token a sticky menu group heading paints from, so it opened its own facts |
0.2.1-alpha.1 ~ 0.2.1-rc.5 |
v0-2-1 |
facts unchanged, folded into one folder; every checked build gets its own row with an exact verdict. rc.4 and rc.5 ship artifacts byte-identical to rc.3, file by file |
0.2.2-alpha.2 |
v0-2-2 |
a new patch line, so its own facts folder; every claim re-read and still true (z-index ladder, menu frost tokens, font token composition, header slot keys, 75 host selectors matching) |
0.2.2-rc.1 |
v0-2-2 |
checked on a real host: gate / RPC / boot self-check all pass; every rule input still hits across 98 artifacts, three moved evidence literals recorded in the adapter; exact verdict |
0.2.2-rc.2 / 0.2.2-rc.3 |
v0-2-2 |
re-read from both tags' source: same line, same answer; the one behavioral delta — darwin-only sidebar wash tokens — joined the 「侧边栏」 slider group and is inert elsewhere; verdict exact |
above 0.2.2-rc.3 |
reuses the closest row | an unverified build takes that line's adapter, stated in the log |
Facts are isolated per release: the host release is resolved on the Node half and handed down through the read RPC; styling and logic only ask the adapter questions (who owns this surface, which layer carries the frost, which token fades a menu) and never compare version strings. Supporting a new host means adding one version folder and registering it.
A restart is still needed after installing or updating the plugin: the compatibility check runs while the profile is composed, not when the plugin is updated. Features that depend on a specific host structure (the right sidebar's panel blur, the official sidebar's "Theme" card) enable themselves only where that structure exists; everything else behaves identically across the range.
The 0.1.5 / 0.1.6 / 0.1.7 era is out of the supported range: those fact folders assert things nothing re-checks any more, and a table nobody verifies is worse than no table. An older host is now refused at composition rather than quietly restyled by the wrong adapter.
DSHA — the DeepSeek Harness Android launcher (ROOT-free, Termux-free). Its bundled dsh is 0.1.5-rc.2, below this plugin's supported floor: the peer gate refuses it at composition, so the plugin never loads there.
deepseek-harness-desktop — supported. Windows-only behavior (the caption band, the native window controls) applies on the desktop shell only.
package.json declares dsh.bundle.patch: ./cordis.patch.yml (a loader insert layer) and the repository ships ready-to-use prebuilt artifacts (lib/index.js, lib/client.js). No install scripts, no postinstall, no native binaries, no build step at install time.<dsh home>/.dsh-any-background-data/ (config, wallpaper, rotation pool, video, font) and touches nothing outside it; config writes are atomic (temp file + rename). These files live on the real disk, so they are outside generation restore — it neither captures nor rolls them back; deleting the directory is a full plugin reset.child_process, no native modules, no dynamically downloaded binaries./dsh-any-background/{video,wallpaper,font} (GET/HEAD streaming) with the matching */upload POST routes (100 MB cap), plus the dedicated RPC channel /dsh-any-background, all under the local dsh web server. No extra listening ports.dsh web to load the client bundle; settings changes afterwards apply live and persist automatically. Changing plugin version requires a restart to pick up the new lib/client.js.pnpm run typecheck (full tsc check), pnpm run bundle (tsdown emits lib/), and npm test, which starts the real host half and round-trips config writes, reads and profiles plus the upload fence. Visual changes go through two further paths: a local mock page that measures computed values, and real dsh web testing slider by slider.[data-sidebar-right-panel]) and CSS token names. A host restyle of those layers can leave a slider ineffective for its surface — cosmetic only, nothing breaks. The version-specific half of those selectors lives inside its own version folder, so a host revision normally means editing that one file.-webkit-text-stroke may clip about 1px at the edge of some single-line ellipsis containers.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。