prgrmrwy/ohmydsh--packages-sidebar-session-provider-icon ↗★ 1

dsh-sidebar-session-provider-icon

在侧边栏会话中显示当前所选模型的品牌图标 适合需要直观识别各会话所用模型品牌的 DSH 用户。

套件
dsh-sidebar-session-provider-icon
相容性
待驗證
Harness 依賴範圍
^0.2.0-rc.2
Cordis 依賴範圍
^4.0.4
版本
0.1.5
授權
MIT
最近更新
2026年10月10日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:prgrmrwy/ohmydsh#4d0809d824b42ae9b548bda8aa0ce9bdf105adf2&path:packages/sidebar-session-provider-icon

Configuration

None. The plugin row carries no config fields and the package reads no environment variables.

Recognized brands:

DimensionBrands
provider and modelDeepSeek, OpenAI/GPT/Codex, Anthropic/Claude, Grok/xAI, Kimi/Moonshot, GLM (Zhipu), MiniMax, Pi, OpenClaw, Hermes Agent (the misspelling hermas is also accepted), OpenCode, Qwen, Tencent Hunyuan (hy3, hy4-*), Meituan LongCat, Xiaomi MiMo, Gemini/Gemma, NVIDIA (Nemotron), Meta (Muse Spark, Llama), Ant Group (Ling/Ring), OpenRouter, ByteDance Seed
provider onlyTrae (trae, trae-ai, traex*; exact name or prefix, never a substring)

The model dimension covers every identifiable model family in the OpenCode Go / Zen catalogs, plus the GPT, DeepSeek, Gemini, OpenRouter and ByteDance Seed families in the current TraeX catalog.

Brand art is pinned and vendored, never hand-drawn and never fetched from a CDN at runtime:

  • every brand except OpenCode: @lobehub/icons-static-svg@1.94.0, MIT; the color variant is used where one exists;
  • OpenCode: the official provider SVG from anomalyco/opencode at commit 5e75e5e9901f0d178f425bfb47f1bd46cbe78a59, MIT.

Per-file source URLs and SHA-256 checksums are listed in src/client/assets/README.md. Some color SVGs carry gradient/clip ids; the corner instance suffixes them with -sub so copies on the same page never resolve each other's definitions.

To add a brand: put the SVG in src/client/assets/, record source, pin, license and SHA-256 in the assets README, then add rules and tests to providerBrandOf / modelBrandOf in logos.ts.