dsh-device-badge

For users running Harness on more than one machine, shows the identity of the terminal DSH is installed on, right in the sidebar account row — so you can tell at a glance which device's chat you are looking at. Laptops show the model name and battery percentage with a macOS-style charging glyph, so you know how much power is left; iMac, Mac mini, Windows desktops and NAS boxes (Synology, ZSpace, UGREEN, fnOS) show a matching outlined device icon instead. When space runs short the badge steps down through full model name, product family, then icon only, and hovering always reveals the full model.

Overview

For users running Harness on more than one machine, shows the identity of the terminal DSH is installed on, right in the sidebar account row — so you can tell at a glance which device's chat you are looking at. Laptops show the model name and battery percentage with a macOS-style charging glyph, so you know how much power is left; iMac, Mac mini, Windows desktops and NAS boxes (Synology, ZSpace, UGREEN, fnOS) show a matching outlined device icon instead. When space runs short the badge steps down through full model name, product family, then icon only, and hovering always reveals the full model.

Installation

Install from GitHub

dsh plugin --profile web add github:JhanSu/dsh-device-badge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.