Adds custom icons to the DSH Settings sidebar and exposes a keyed `settings.section.icon` slot for third-party settings sections.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-ui-settings-icons
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:suntianc/dsh-ui-settings-icons
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
Current release: v0.1.3-alpha.5
A self-contained DeepSeek Harness UI plugin that enhances the DSH Settings navigation sidebar with custom icon support. It opens a new keyed slot (settings.section.icon) for third-party plugins while providing built-in vector icons for known capability packages.
Features
Keyed Icon Slot (settings.section.icon)
- Declares a new keyed child slot
settings.section.iconunder the settings shell. - Any third-party plugin registering a settings section under
settings.sectioncan inject its own custom SVG or React icon component keyed by its sectionid. - Dynamic slot reactivity: icon updates subscribe to the SlotCore ledger and re-render without restarting the web interface.
Built-in Icon Presets and Fallbacks
- Ships with tailored 16x16 vector icons for:
codex-auth/ GPT Auth (OpenAI / ChatGPT logo)antigravity-auth(Google Antigravity / Gemini spark logo)- Stock DSH sections:
models,agent-presets,plugins
- Gracefully falls back to DSH's standard gear icon (
IconSettingsOutline16) when a section provides no custom icon and matches no preset.
Full Chrome and Accessibility Parity
- Retains 100% feature and visual parity with DSH's default settings shell.
- Supports keyboard navigation (
Escapecloses the dialog and restores trigger focus), ARIA dialog attributes (aria-modal,aria-labelledby,aria-current), wide/compact sidebar trigger states, current connection recovery/reconnect feedback, and the native configuration file launcher (settings.action/open-document).
Zero-Conflict Cordis Composition
- Replaces the default
ui-settings-generalrow viacordis.patch.ymlto prevent duplicate slot declaration conflicts. - Adheres strictly to DSH's pure lifecycle model: all child slots, dictionaries, and store subscriptions dispose cleanly upon plugin unload.
Integrating Third-Party Icons
If you are developing a DSH plugin and want to supply a custom navigation icon for your settings section:
import type { Context } from '@deepseek-ai/cordis'
import type {} from '@deepseek-ai/dsh-client-ui-renderer/client'
import type {} from '@deepseek-ai/dsh-client-ui-settings/client'
import type {} from 'dsh-ui-settings-icons/client'
import { MyPluginIcon } from './MyPluginIcon.tsx'
import { MySettingsPanel } from './MySettingsPanel.tsx'
export function apply(ctx: Context): void {
// 1. Register your settings section body
ctx.slots.inject('settings.section', () => ctx.slots.register({
name: 'settings.section',
id: 'my-plugin',
order: 50,
label: () => 'My Plugin',
}, MySettingsPanel))
// 2. Register your custom navigation icon (key matching section id)
ctx.slots.inject('settings.section.icon', () => ctx.slots.register({
name: 'settings.section.icon',
key: 'my-plugin',
}, MyPluginIcon))
}
Requirements
- DeepSeek Harness
0.1.2-alpha.5(the tested package baseline). - Node.js
^22.19.0or>=24.0.0.
Plugin versions through 0.1.2 target the retired DSH 0.1.1-rc.1 client topology and do not load on 0.1.2-alpha.5.
Install from npm (recommended)
The npm package includes prebuilt Host and browser bundles, so no install-time build permission is required:
dsh plugin --profile web add dsh-ui-settings-icons@0.1.3-alpha.5
Restart dsh web, open Settings, and enjoy customized section icons.
Install a prebuilt release
dsh plugin --profile web add https://github.com/suntianc/dsh-ui-settings-icons/releases/download/v0.1.3-alpha.5/dsh-ui-settings-icons-0.1.3-alpha.5.tgz
Restart dsh web and open Settings.
Install from GitHub source
dsh plugin --profile web add github:suntianc/dsh-ui-settings-icons
Git dependencies are built by the package's prepare script. pnpm 10+ blocks that script until explicitly allowed, so the first command may print an allowBuilds key and stop. Copy the exact key printed by dsh under allowBuilds in ~/.dsh/profiles/web/pnpm-workspace.yaml, then run the command again. Only grant this permission after reviewing the source.
For a reproducible install, pin a release tag or commit:
dsh plugin --profile web add github:suntianc/dsh-ui-settings-icons#v0.1.3-alpha.5
Install a tarball
git clone https://github.com/suntianc/dsh-ui-settings-icons.git
cd dsh-ui-settings-icons
pnpm install
pnpm pack
dsh plugin --profile web add ./dsh-ui-settings-icons-0.1.3-alpha.5.tgz
Upgrade
Stop the running dsh web process and update the Web profile to the current release:
dsh plugin --profile web add dsh-ui-settings-icons@0.1.3-alpha.5
dsh plugin --profile web list
After the list reports dsh-ui-settings-icons@0.1.3-alpha.5, restart dsh web and refresh the browser.
Host configuration
The bundle patch replaces the stock ui-settings-general row:
| Row | Export | Purpose |
|---|---|---|
ui-settings-general (disabled) |
@deepseek-ai/dsh-client-ui-settings-general |
Disabled to avoid slot declaration collision |
ui-settings-icons |
dsh-ui-settings-icons |
Enhanced settings shell with icon slot and presets |
Development
pnpm install
pnpm run check
pnpm run build emits:
lib/index.js— Host plugin entry point;lib/invariant.js— Slot constants companion;lib/client.cjs— Loader-compatible browser plugin with inline CSS Modules;lib/types/**— TypeScript declarations.
Friendship links
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 6885
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 6885
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 3338
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 2837
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 1726
A fixed-corner whale widget showing DeepSeek balance, today usage, per-turn cost and random talk lines, with sound effects and a menu.
Devin-AXIS/deepseek-design#deepseek-idesign★ 722
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.