Repository navigation
Releases
Releases · foreee/dsh-app-restart
v0.1.2 - nav icon through the official icon slot
What's changed
Fixed: the nav row showed the shell's fallback gear next to the restart glyph on DeepSeek Harness 0.2.2.
DSH 0.2.2 moved the settings nav fallback glyph into a span.navIcon wrapper. The previous build hid that fallback through a label element plus a :has() stylesheet rule, which no longer matched, so both icons rendered.
This release registers the glyph through the shell's own settings.section.icon slot instead:
ctx.slots.inject("settings.section.icon", () => ctx.slots.register({
name: "settings.section.icon",
id: "app-restart",
order: 100
}, RestartGlyph));No label markup, no stylesheet override, no DOM probing. On shells that predate the slot the section still works and keeps the shell's fallback gear.
Also
engines.dsh/peerDependenciesnow spell out prerelease branches: the old>=0.2.0-rc.2 <0.3.0-0range silently excluded every0.2.2-*prerelease under node-semver rules.- Tests cover the icon registration contract (id matches the section id, size prop honoured, glyph shape).
Install
dsh plugin --profile desktop add "https://github.com/foreee/dsh-app-restart"Or use the prebuilt tarball attached below.