Skip to content

dsh-agent-avatar

Verified

dsh-agent-avatar · v1.1.0 · MIT · Web UI

Put your own image where the DSH Web GUI's sidebar brand mark goes (client half, sidebar.brand.mark) and override the page favicon (host half via webServer.tapIndex). Ships default icons in lib/; set config.iconPath to use your own PNG.

Install

dsh plugin add dsh-agent-avatar

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Creators

Readme

dsh-agent-avatar

Replace the DeepSeek Harness Web GUI's sidebar brand mark with your own image, and override the page icon.

What it does

Two halves, one package:

Row Entry Role
dsh-agent-avatar lib/index.js (host, no-op) + exports["./client"] registers your image into the single-occupancy sidebar.brand.mark slot
dsh-agent-avatar/favicon lib/favicon-host.js rewrites <link rel="icon"> on every index response through webServer.tapIndex

Ships as a bundle (dsh.bundle.patch), so the Web sidebar's Plugins page can enable, disable and remove it.

Install

dsh plugin --profile <profile> add dsh-agent-avatar

Built and tested against DSH 0.2.0-rc.2.

⚠️ The slot is single-occupancy

sidebar.brand.mark holds one occupant, and the shipped @deepseek-ai/dsh-client-ui-brand-official package registers there too. Whichever registers later wins, so the official mark can displace yours. Disable it in the same profile:

- id: ui-brand-official
  disabled: true

Side effect: the sidebar's brand text then falls back to the shell's own localized label, which the official package used to supply.

Your own image

The package ships default icons in lib/ (avatar-128.png, avatar-48.png, avatar-24.png). To use your own PNG, point the config at it:

- id: agent-avatar-favicon
  config:
    iconPath: 'C:\path\to\your-icon-128.png'

A square PNG around 128 px works best: it is measured clearly sharper than a 64 px source, at an acceptable size.

Preferences

Nothing is stored in the browser: the image comes from disk on every index response, so a page refresh is enough after changing iconPath.

License

MIT