Files
deepseek-harness/packages/client/ui-brand-official

description, kind
description kind
Official DeepSeek Harness brand occupants for the sidebar, active only in official builds; for users and maintainers choosing or replacing brand presentation. package-reference

@deepseek-ai/dsh-client-ui-brand-official

English | 中文

Summary

This package gives an official client build the DeepSeek Harness mark and name in the sidebar. Other build profiles keep the shell's fish mark and local-build label, while the conversation hero always uses the animated fish. Choose it for deployments branded as DeepSeek Harness; deployments with another identity should provide a replacement brand package. It has no runtime state and does not affect model requests.

Table of Contents


Use this package

Mount this plugin in the browser roster of a deployment whose identity is DeepSeek's own, then build the client with the official profile so the occupants register.

Choosing the profile

DSH_CLIENT_BUILD_PROFILE selects which brand renders. An official build shows the official mark and name in the sidebar; any other value leaves the shell fallbacks — the fish mark and the local-build label — in place. The conversation hero shows the animated hero fish from dsh-client-ui-conversation regardless of profile, because that fallback is already the official mark. The plugin still loads and validates in both cases; only the registration is profile-gated.

Replacing the brand

A deployment with its own identity leaves this package out and composes another package that occupies the sidebar slots — and the hero slot, which this package leaves on its fallback. Occupying a slot is the only composition route; there is no brand configuration surface here.


Understand the implementation

Implementation internals — click to expand

The two occupants install as one declaration-aware registration set: nested ctx.slots.inject() calls wait on the sidebar declaration, so the set works whether this row activates before or after the declarer, withdraws both occupants when the declaration collapses, and leaves no partial brand mix during HMR. The browser half is src/client/index.ts; the node half is an empty Loader seat. The browser title is a build-environment concern (DSH_CLIENT_TITLE), outside the slot system.


Further Exploration

Read these pages when the brand surface is not enough. They move from the slots this package occupies to the shell that renders them.

  • ui-sidebar — declares sidebar.brand.mark and sidebar.brand.name and renders their fallbacks.
  • ui-conversation — declares conversation.hero.brand.mark in the hero.
  • Web client architecture — how browser plugin rows load and register slots.

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

These limits define how brand presentation is supplied. They are current package constraints, not a brand-design comparison or a task backlog.

  • 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.

Dev Note

Working context for maintainers — click to expand

None.

Runtime invariant: No companion is published. The package retains no mutable state, and its three slot occupants install and leave through one transactional effect.