HuanLinOTO/dsh-plugin-sidebar-brand-text0

@huanlin/dsh-plugin-sidebar-brand-text

替换侧边栏左上角的品牌名与构建徽标文案(默认 DSH Local Build + commit hash),经 WebUI 插件配置页卡片实时配置。 | Replace the sidebar's top-left brand name and build-revision badge text (defaults to DSH Local Build + commit hash) via a live settings card in the Plugin Config page.

包名
@huanlin/dsh-plugin-sidebar-brand-text
版本
0.4.1
最近更新
2026年8月23日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-sidebar-brand-text

配置

WebUI 插件配置页(推荐)

安装插件后,在 DSH WebUI 的设置 → 插件配置页里会出现「侧边栏品牌文案」卡片,展开后含两个输入框:

字段说明
品牌名称侧边栏 logo 右侧显示的文案。替换默认的「DSH Local Build」。
版本徽标品牌名右侧的小徽标文案。留空则不显示徽标。

修改后点「保存」即持久化到 $DSH_HOME/settings.yaml,侧边栏实时生效,无需重启。

cordis.patch.yml(first-boot seed)

cordis.patch.yml 里的 config 块是 first-boot seed,仅在 settings.yaml 中无对应值时使用:

- insert:
    - id: sidebar-brand-text
      name: '@huanlin/dsh-plugin-sidebar-brand-text'
      config:
        name: 'DSH Local Build'
        revision: ''

用户在设置界面修改后,值持久化到 settings.yaml,覆盖 seed。

WebUI 插件配置页(推荐)

安装插件后,在 DSH WebUI 的设置 → 插件配置页里会出现「侧边栏品牌文案」卡片,展开后含两个输入框:

字段说明
品牌名称侧边栏 logo 右侧显示的文案。替换默认的「DSH Local Build」。
版本徽标品牌名右侧的小徽标文案。留空则不显示徽标。

修改后点「保存」即持久化到 $DSH_HOME/settings.yaml,侧边栏实时生效,无需重启。