← 返回列表
D

dsh-icon-theme

v0.1.0 · 1 天前发布

Auto-detected, user-customizable icons for DeepSeek Harness settings and sidebar surfaces.

deepseekharnessdshdsh-pluginiconstheme

README

dsh-icon-theme

English | 简体中文

为 DeepSeek Harness 的设置导航和侧边栏功能自动分配统一图标,并支持逐项手动更改。

!设置页总览

为什么做这个插件

DSH 0.1.x 的设置贡献提供稳定 ID 和名称,但尚未提供图标字段,所以许多第三方页面都会回退成相同的齿轮。dsh-icon-theme 从实时插槽账本发现功能,优先保留可信原图标,用一套精简的 Fluent 风格图标补齐缺口,并允许用户覆盖每一项。

  • 通用识别实时生效且经过优先级遮蔽后的 settings.sectionsidebar.footer.action;只有侧边栏部分渲染、无法按顺序对应时,才使用经过审核的插件兼容记录。

  • settings.section:market 这样的稳定键保存选择,不依赖中文、英文或 DOM 顺序。

  • 内置 50 个 Fluent UI 16 Regular 图标,以及经过审核的 dsh-market 单色原图标。

  • 运行时不请求图标 CDN、Iconify、GitHub、webfont,也不扫描其他插件包。

  • 卸载或热重载时完整恢复宿主 SVG 和插件添加的 DOM 标记。

  • 明确区分“当前未渲染”和“非图标卡片”,不会假装已经更改成功。

  • 目标既没有可信匹配、也没有原图标时,统一使用设置齿轮回退。
  • 安装

    npm 包目前尚未发布。当前版本可以从源码安装:

    ```bash
    git clone https://github.com/yzke/dsh-icon-theme.git
    cd dsh-icon-theme
    npm ci
    npm run build
    dsh plug

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-icon-theme
    Repo
    git+https://github.com/yzke/dsh-icon-theme.git
    Engines
    {"node":">=22"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-locale"],"platform":"web"}}