- Início
- Plugins
- Temas e aparência
- mc-harness-ui
mc-harness-ui
collinsliu615/mc-harness-ui
Block-world skin with cave and plains palettes, hard 2px edges, inlined pixel fonts, chests for projects, a swinging tool per running task, a permission-driven game-mode badge, and reasoning effort shown as ores.
Instalar
dsh plugin --profile web add github:collinsliu615/mc-harness-uiREADME
dsh-plugin-mc-harness-ui
Turns the DeepSeek Harness Web UI into a block world — grass blocks, chests, pickaxes, ores for reasoning levels. This is not a mockup: it is a client plugin you install. The palette, the fonts and every decoration go through DSH's own extension points, so install it and you get a skin, remove it and you get the original back.
English · 简体中文

Screenshots
| Conversation | Model menu |
|---|---|
![]() | ![]() |
Trailer (76s, 60fps)
Contact sheet · how it was made
A 2.5s studio sting, then 13 shots. Every interface frame in it is a screenshot
of the running plugin or a screen recording of it being used — typing a prompt,
watching it think, reading the answer. The mp4 itself is rendered locally and
not stored in this repo (56 MB); promo/README.md has the exact commands.
Install
# npm (recommended) — restart dsh afterwards
dsh plugin --profile web add dsh-plugin-mc-harness-ui
# from GitHub: npm runs prepare, so the fonts and CSS are inlined at install time
dsh plugin --profile web add github:CollinsLiu615/mc-harness-ui
# hack on it: the profile entry becomes a link, edits take effect immediately
dsh plugin --profile web add link:~/path/to/mc-harness-ui
To remove it:
dsh plugin --profile web remove dsh-plugin-mc-harness-ui
Restart dsh --profile web after installing. The skin only covers the Web UI; the terminal
is untouched.
Requires DSH 0.2.2-rc.3 or newer and Node >= 20 (declared in engines, so an install on an
unverified host is refused). Tested on 0.2.2-rc.5.
What shows up in the UI
Dark reads as a cave, light reads as plains. All 126 theme tokens are rewritten, every corner
radius is zeroed, shadows become hard offsets, and borders are assembled from four corners plus
four edges into a notched nine-slice — not a border.
On top of that layer, six places get something:
| Where | What |
|---|---|
| Sidebar top-left, new-session page centre | A grass block, drawn pixel by pixel with <rect> |
| Bottom status bar | Full-width HUD: grass block + DEEPSEEK HARNESS + game-mode badge + worlds/sessions/running + ten hearts |
| Sidebar workspaces | A chest (in the wood colours of the vanilla chest texture) |
| Sidebar session rows | A tool, grouped by folder; a running task swings its tool left and right |
| Under the composer | A hotbar: ten hearts + an XP track + EXP 32%, and that track is context usage |
| Model menu | Reasoning effort becomes a row of ores |
Every task wears a tool
Each workspace counts as one piece of work: sessions inside a folder share one tool, and
neighbouring folders never repeat it — wood / stone / copper / iron / gold / diamond / netherite
× sword / axe / pickaxe / shovel / hoe / spear, 42 of them dealt in order. The icons are the
game's own 49 items at 16×16, blown up with image-rendering: pixelated — no redrawing, no
outline pass. While a session runs,
its tool swings left, swings right, pauses, swings again — a discrete steps() animation, so it
never turns into a smooth spin, and nothing swings under prefers-reduced-motion.
Reasoning effort is an ore
Levels map to minerals by meaning, not by position: off is coal, minimal an iron ingot,
low gold, medium redstone, high lapis, xhigh diamond, max always netherite. A model with
four levels gets coal / gold / lapis / netherite; only an id it cannot place falls back to an even
spread. Level names and the current value come from modelDirectories; when a model has no
reasoning levels at all, the row does not render. The built-in "reasoning effort" row is hidden
with CSS so the same setting never appears twice.
Game mode is the permission preset
The badge at the bottom reads the session's permission preset:
| Permission | Badge |
|---|---|
read-only | SPECTATOR (grey) |
workspace-write | SURVIVAL (grass green) |
full-access | CREATIVE (cyan) |
Unreadable means hidden. Never invent a value.
The numbers at the bottom
worlds 9 · sessions 199 · running 0 comes from real useWorkspaces / useSessionStatus
snapshots, not decoration. The stock circular context meter is hidden, and that same figure
appears once, as EXP 32% on the XP track — there is no reason to show it twice.
Where the icons come from
assets/items/ holds 49 vanilla 16×16 item textures — seven ores and 42 tools, exactly as
the game shows them, not redrawn. They are not this project's property and are not
covered by LICENSE; see THIRD-PARTY.md.
When the game adds items, or you want your own resource pack's art in there:
node scripts/extract-items.mjs # finds the game, pulls the textures, rebuilds
node scripts/extract-items.mjs ~/Library/Application\ Support/minecraft
node scripts/extract-items.mjs path/to/client.jar
node scripts/extract-items.mjs --from some/folder/of/pngs
It looks in ~/Library/Application Support/minecraft, %APPDATA%\.minecraft and ~/.minecraft
on its own. Modern launchers keep textures in assets/objects/ described by
assets/indexes/*.json, older versions still carry them inside the jar — both paths are handled,
and every file read from the object store is checked against the sha1 the index names, so a
half-finished download is skipped instead of baked in.
Nothing opens a hole: names vanilla never had (copper tools, spears) fall back to a drawn icon — six silhouettes × seven material palettes, no two of the 42 alike:

The chest is the exception: a Minecraft chest is a 3D block model, and
textures/entity/chest/normal.png holds six unfolded faces rather than a 16×16 icon. So the
chest is hand-drawn and only borrows the vanilla wood colours (#a07020 / #c08a2e).
FAQ
Will this break my UI? No. It does three things: override theme tokens, register six slots, register a dictionary. Disable or uninstall it and everything is back to normal.
Why does text on buttons look a little soft?
The pixel font is natively 12px and is scaled up at 14px body size. If it bothers you, swap the
font stack in client.js back to a system stack.
After upgrading DSH, some borders disappeared. Built-in components use CSS Modules, and their class names carry a build hash. The token, font and slot layers never break; the class-name layer (bubbles, panel borders) degrades silently — edges vanish, nothing crashes. Follow the new hashes and it comes back.
Build it yourself
node build.mjs # inline assets/skin.css and the base64 fonts into the BUILD block of client.js
node build.mjs --public # same, but force the drawn icons (for a build without the textures)
node test/smoke.mjs # offline self-check: render the six decorations with real React and assert
scripts/release.sh "what changed" # bump + tag + push + publish, in one command
client.js is the hand-written plugin source; build.mjs only rewrites the part between
/* BUILD:BEGIN … */ and /* BUILD:END */ (the font and stylesheet text). The Host's asset route
serves images only, so CSS and woff2 have to be inlined — which is why that file is one and a half
megabytes.
Deeper notes on the design, where each token comes from and the traps along the way: docs/DETAIL.md.
Credits
Code and drawn graphics are CC BY-NC 4.0 (Attribution-NonCommercial), see
LICENSE. The vanilla item textures in assets/items/ belong to Mojang and are outside
that licence. Ark Pixel and Press Start 2P are SIL OFL. Minecraft is a trademark of Mojang
Synergies AB, and this project is not affiliated with Mojang or Microsoft. Every third-party
detail is in THIRD-PARTY.md.
Plugins relacionados
dsh-wallpaper-engine
elysia395/dsh-wallpaper-engine
dsh-deep-whale (maid-atelier)
small-tailqwq/dsh-deep-whale
dsh-claude-style
nwflower/dsh-claude-style
dsh-deep-whale
small-tailqwq/dsh-deep-whale

