wlj521/dsh-ui-tweaks

Live-tune the DSH Web conversation UI from Settings: message font size, Claude Desktop-style markdown tables, dialog width, an optional timeline rail, and a GitBar with branch management, per-file diff, and commit & push.

dsh-ui-tweaks live-tunes the DeepSeek Harness conversation UI from the Settings panel, with all changes applying without a reload. It offers: code font size (absolute 8-32px, default 11); a theme selector (Default, Minimal which tints markdown inline code Anthropic red, and a Neon poster skin with light/dark schemes); a Timeline selector (Native turn rail, or the classic Web navigation rail with message previews, a detail bubble, and click-to-jump); a toggleable GitBar (a session-header branch chip plus a code diff tab with per-file diffs, partial-commit file checkboxes, a commit band, a coloured SVG commit graph, and Tag management); a toggleable Archive manager page (restore/delete archived sessions, batch actions); a toggleable MCP manager page (list/add/edit/enable/disable/delete/restart MCP servers, persisting to cordis.patch.yml); a toggleable /init slash command that submits an AGENTS.md bootstrap prompt; task alerts (tab-title flash, Web Notifications, and a synthesized chime for finish/interaction events across all sessions); and a precise cache-hit figure rewritten to two decimals.

UI Enhancements ★ 1 updated 2026-08-17
View on GitHub ↗

Install

npx -y @deepseek-ai/dsh plugin --profile desktop add dsh-ui-tweaks

The recommended prebuilt form is npx -y @deepseek-ai/dsh plugin --profile desktop add dsh-ui-tweaks; a GitHub-source form is also documented (npx -y @deepseek-ai/dsh plugin --profile desktop add github:wlj521/dsh-ui-tweaks, which builds lib/ locally via prepare and therefore needs allowBuilds: dsh-ui-tweaks: true in the profile's pnpm-workspace.yaml since pnpm 10.26 blocks prepare by default). Versions can be pinned (dsh-ui-tweaks@0.19.2 or github:wlj521/dsh-ui-tweaks#v0.19.2). The npm package dsh-ui-tweaks was re-verified live on 2026-09-30 (0.20.0) with its repository field back-linking to github.com/wlj521/dsh-ui-tweaks (MIT). A local-directory install picked in the desktop app is a third path (run pnpm install first). Restart the DSH desktop app once after installing.

Compatibility

Currently targets DSH v0.2.0-rc.2. The settings page is derived from the plugin's exported Config (since DSH 0.1.7 the old settings.register() is gone), and because the Web settings RPC only exposes a fixed allowlist of namespaces since rc.6 the plugin owns its configuration via a same-origin route (/_dsh/ui-tweaks/settings). Values can also be hand-edited in the profile's cordis.patch.yml (settings.yaml was retired in DSH 0.1.7). The GitHub-source install must allow the prepare build or the install ships no lib/ and the plugin fails to load. If pnpm reports symlink/hoist errors, set nodeLinker: hoisted in the profile's pnpm-workspace.yaml.

Details

Recent updates

The README documents each feature, the full cordis.patch.yml config block (timelineStyle, themeStyle, gitBarEnabled, archiveManagerEnabled, initCommandEnabled, preciseCacheHitEnabled, notificationsEnabled), the three install paths (npm, GitHub source with allowBuilds, local directory), version-pinning syntax, the development commands (pnpm install/build/typecheck), and a detailed "How it works" section covering the server Config schema, the client runtime style element, the precise-cache-hit composer seat reading useProjection('tokenUsage'), the delete-session sidebar menu item, and the settings nav glyph handling.

FAQ

How do I install dsh-ui-tweaks?
The README's recommended prebuilt form is npx -y @deepseek-ai/dsh plugin --profile desktop add dsh-ui-tweaks, then restart the DSH desktop app. A GitHub-source form and a local-directory form are also documented; the npm package was re-verified on 2026-09-30 with its repository back-linking to wlj521/dsh-ui-tweaks.
Do I need to reload the page after changing a setting?
No -- the README states all changes apply live with no reload, and the same values can be hand-edited in the profile's cordis.patch.yml.
Why did the GitHub-source install fail to load?
Because lib/ is a build artifact produced by prepare, which pnpm 10.26+ blocks by default; the README says to add allowBuilds: dsh-ui-tweaks: true to the profile's pnpm-workspace.yaml, or use the npm path whose tarball already contains the artifacts.

Alternatives

a179-sanae/dsh-auto-collapse · condaThinker/dsh-left-sidebar-collapse · HongMing-Huang/dsh-file-upload

More plugins in UI Enhancements

Browse more in UI Enhancements

Guides for UI Enhancements plugins