dsh-client-ui-brand-official/packages/client/ui-brand-official官方

175.3kStar19.0kFork0Issue752Watching

在 DSH 客户端 sidebar 和 conversation 区域填充 DeepSeek 官方品牌标识,仅在 `DSH_CLIENT_BUILD_PROFILE` 为 `official` 时生效的官方品牌占位插件

语言
TypeScript
License
MIT
分支
master
ai-agentscordisdshdsh-plugin

安装

$ dsh plugin --profile web add npm:@deepseek-ai/dsh-client-ui-brand-official

在终端中运行以上命令,通过 dsh CLI 安装此插件。可在右上角切换 Profile。 第一次用 dsh?看这篇新手教程

English | 中文

This package fills sidebar.brand.mark, sidebar.brand.name, and conversation.hero.brand.mark only when DSH_CLIENT_BUILD_PROFILE is official. Other builds load the plugin but register no occupants, leaving the shell fallbacks visible.

The three occupants install as one declaration-aware registration set through nested slots.inject() calls. The package therefore works whether its row activates before or after the sidebar and conversation declarers, withdraws all occupants when either declaration collapses, and leaves no partial brand mix during HMR. It retains no runtime state. The node half is an empty Loader seat, and the browser title remains a build-environment concern outside this package.

Model Experience

None, as the package contributes browser presentation only; nothing here reaches a model request.

KV Cache effect

None; this package neither assembles nor sends a provider request.

Known Limitations and Deferred Work

  • The package supplies one occupant set — alternative presentation belongs in another Cordis package occupying the same slots.
  • The browser title is independentDSH_CLIENT_TITLE selects title text at build time rather than through a UI slot.
dsh-client-ui-brand-official/packages/client/ui-brand-official — DeepSeek Harness 插件 | deepseek-plugin.org