# small-tailqwq/dsh-deep-whale architecture

> Architecture diagram of the GitHub repository small-tailqwq/dsh-deep-whale, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/small-tailqwq/dsh-deep-whale
- Repository: https://github.com/small-tailqwq/dsh-deep-whale

## Overview

This repository packages two presentation-only DeepSeek Harness skins and a skin manager. The user installs the manager and skins, opens Settings → Skin Management, selects a skin, and sees the change take effect immediately; the manager also prevents multiple skins being active together and applies per-skin preferences. The graph preserves major skin-specific presentation areas and manager capabilities. Some client subsystems are represented at directory level where their detailed implementation was not sampled; links are limited to documented or excerpted relationships.

Main entry points: [`orca-link/src/client/index.ts`](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/index.ts) (Orca presentation), [`skin-manager/src/client/SkinManager.tsx`](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/SkinManager.tsx) (Manager panel), [`orca-link/src/client/mutation-filter.ts`](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/mutation-filter.ts) (Mutation filtering), [`maid-atelier/src/client/index.ts`](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/index.ts) (Maid presentation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_manager["Skin manager"]
  node_manager_plugin["Manager plugin<br/>[index.ts]"]
  node_manager_panel["Manager panel<br/>[SkinManager.tsx]"]
  node_runtime["Settings runtime<br/>[runtime.ts]"]
  node_preferences["Preferences<br/>[preferences.ts]"]
  node_transfer["Preference transfer<br/>[transfer.ts]"]
  node_contract["Skin contract<br/>[contract.ts]"]
  node_protocol["Customization protocol<br/>[protocol.ts]"]
end

subgraph group_maid["Maid Atelier"]
  node_maid_plugin["Maid skin plugin<br/>[index.ts]"]
  node_maid_client["Maid presentation<br/>[index.ts]"]
  node_maid_custom["Maid customization<br/>[customization.ts]"]
  node_maid_composer["Composer behavior<br/>[composer-scroll.ts]"]
  node_maid_cards["Table cards<br/>[table-card.ts]"]
end

subgraph group_orca["Orca Link"]
  node_orca_plugin["Orca skin plugin<br/>[index.ts]"]
  node_orca_client["Orca presentation<br/>[index.ts]"]
  node_orca_custom["Orca customization<br/>[customization.ts]"]
  node_orca_composer["Composer behavior"]
  node_orca_motion["Composer motion<br/>[composer-motion.ts]"]
  node_orca_icons["Icons<br/>[icons.ts]"]
  node_orca_pricing["Pricing light<br/>[pricing-light.ts]"]
  node_mutation["Mutation filtering<br/>[mutation-filter.ts]"]
end

subgraph group_assets["Shared assets"]
  node_asset_server["Artwork server<br/>[skin-assets.ts]"]
end

node_user(("User"))
node_dsh["DSH host"]
node_browser["Browser UI"]

node_user -->|"chooses skin"| node_manager_panel
node_dsh -->|"loads plugin"| node_manager_plugin
node_manager_panel -->|"uses runtime"| node_runtime
node_runtime -->|"uses preferences"| node_preferences
node_runtime -->|"uses transfer"| node_transfer
node_manager_panel -->|"exports settings"| node_transfer
node_manager_panel -->|"reads skin settings"| node_protocol
node_manager_plugin -->|"checks compatibility"| node_contract
node_manager_panel -->|"renders controls"| node_browser
node_manager_plugin -->|"updates skin switches"| node_dsh
node_maid_plugin -->|"installs artwork route"| node_asset_server
node_maid_plugin -.->|"registers skin"| node_dsh
node_maid_client -->|"installs customization"| node_maid_custom
node_maid_client -->|"installs behavior"| node_maid_composer
node_maid_client -->|"installs cards"| node_maid_cards
node_orca_plugin -->|"installs artwork route"| node_asset_server
node_orca_plugin -.->|"registers skin"| node_dsh
node_orca_client -->|"installs customization"| node_orca_custom
node_orca_client -->|"installs behavior"| node_orca_composer
node_orca_client -->|"installs motion"| node_orca_motion
node_orca_client -->|"installs icons"| node_orca_icons
node_orca_client -->|"installs pricing"| node_orca_pricing
node_orca_composer -->|"filters mutations"| node_mutation
node_orca_motion -->|"filters mutations"| node_mutation
node_orca_icons -->|"filters mutations"| node_mutation
node_orca_pricing -->|"filters mutations"| node_mutation

click node_manager_plugin "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/index.ts"
click node_manager_panel "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/SkinManager.tsx"
click node_runtime "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/runtime.ts"
click node_preferences "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/preferences.ts"
click node_transfer "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/transfer.ts"
click node_contract "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/contract.ts"
click node_protocol "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/protocol.ts"
click node_maid_plugin "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/index.ts"
click node_maid_client "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/index.ts"
click node_maid_custom "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/customization.ts"
click node_maid_composer "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/composer-scroll.ts"
click node_maid_cards "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/table-card.ts"
click node_orca_plugin "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/index.ts"
click node_orca_client "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/index.ts"
click node_orca_custom "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/customization.ts"
click node_orca_composer "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/composer-collapse.ts"
click node_orca_motion "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/composer-motion.ts"
click node_orca_icons "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/icons.ts"
click node_orca_pricing "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/pricing-light.ts"
click node_mutation "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/mutation-filter.ts"
click node_asset_server "https://github.com/small-tailqwq/dsh-deep-whale/blob/main/shared/skin-assets.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_manager_plugin,node_manager_panel,node_runtime,node_preferences,node_transfer,node_contract,node_protocol,node_user,node_browser toneBlue
class node_maid_plugin,node_maid_client,node_maid_custom,node_maid_composer,node_maid_cards toneAmber
class node_orca_plugin,node_orca_client,node_orca_custom,node_orca_composer,node_orca_motion,node_orca_icons,node_orca_pricing,node_mutation toneMint
class node_asset_server toneRose
class node_dsh toneIndigo
```

## Components

### Skin manager

- [Manager plugin](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/index.ts): `skin-manager/src/index.ts`
- [Manager panel](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/SkinManager.tsx): `skin-manager/src/client/SkinManager.tsx`
- [Settings runtime](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/runtime.ts): `skin-manager/src/client/runtime.ts`
- [Preferences](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/preferences.ts): `skin-manager/src/client/preferences.ts`
- [Preference transfer](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/client/transfer.ts): `skin-manager/src/client/transfer.ts`
- [Skin contract](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/contract.ts): `skin-manager/src/contract.ts`
- [Customization protocol](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/skin-manager/src/protocol.ts): `skin-manager/src/protocol.ts`

### Maid Atelier

- [Maid skin plugin](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/index.ts): `maid-atelier/src/index.ts`
- [Maid presentation](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/index.ts): `maid-atelier/src/client/index.ts`
- [Maid customization](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/customization.ts): `maid-atelier/src/client/customization.ts`
- [Composer behavior](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/composer-scroll.ts): `maid-atelier/src/client/composer-scroll.ts`
- [Table cards](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/maid-atelier/src/client/table-card.ts): `maid-atelier/src/client/table-card.ts`

### Orca Link

- [Orca skin plugin](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/index.ts): `orca-link/src/index.ts`
- [Orca presentation](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/index.ts): `orca-link/src/client/index.ts`
- [Orca customization](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/customization.ts): `orca-link/src/client/customization.ts`
- [Composer behavior](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/composer-collapse.ts): `orca-link/src/client/composer-collapse.ts`
- [Composer motion](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/composer-motion.ts): `orca-link/src/client/composer-motion.ts`
- [Icons](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/icons.ts): `orca-link/src/client/icons.ts`
- [Pricing light](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/pricing-light.ts): `orca-link/src/client/pricing-light.ts`
- [Mutation filtering](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/orca-link/src/client/mutation-filter.ts): `orca-link/src/client/mutation-filter.ts`

### Shared assets

- [Artwork server](https://github.com/small-tailqwq/dsh-deep-whale/blob/main/shared/skin-assets.ts): `shared/skin-assets.ts`

### Other components

- **User**
- **DSH host**
- **Browser UI**

## Connections

- User → Manager panel: chooses skin (evidence: `README.md`)
- DSH host → Manager plugin: loads plugin (evidence: `README.md`)
- Manager panel → Settings runtime: uses runtime (evidence: `skin-manager/src/client/SkinManager.tsx`)
- Settings runtime → Preferences: uses preferences (evidence: `skin-manager/src/client/runtime.ts`)
- Settings runtime → Preference transfer: uses transfer (evidence: `skin-manager/src/client/runtime.ts`)
- Manager panel → Preference transfer: exports settings (evidence: `skin-manager/src/client/SkinManager.tsx`)
- Manager panel → Customization protocol: reads skin settings (evidence: `skin-manager/src/client/SkinManager.tsx`)
- Manager plugin → Skin contract: checks compatibility (evidence: `skin-manager/src/index.ts`)
- Manager panel → Browser UI: renders controls (evidence: `skin-manager/src/client/SkinManager.tsx`)
- Manager plugin → DSH host: updates skin switches (evidence: `README.md`)
- Maid skin plugin → Artwork server: installs artwork route (evidence: `maid-atelier/src/index.ts`)
- Maid skin plugin → DSH host: registers skin
- Maid presentation → Maid customization: installs customization (evidence: `maid-atelier/src/client/index.ts`)
- Maid presentation → Composer behavior: installs behavior (evidence: `maid-atelier/src/client/index.ts`)
- Maid presentation → Table cards: installs cards (evidence: `maid-atelier/src/client/index.ts`)
- Orca skin plugin → Artwork server: installs artwork route (evidence: `orca-link/src/index.ts`)
- Orca skin plugin → DSH host: registers skin
- Orca presentation → Orca customization: installs customization (evidence: `orca-link/src/client/index.ts`)
- Orca presentation → Composer behavior: installs behavior (evidence: `orca-link/src/client/index.ts`)
- Orca presentation → Composer motion: installs motion (evidence: `orca-link/src/client/index.ts`)
- Orca presentation → Icons: installs icons (evidence: `orca-link/src/client/index.ts`)
- Orca presentation → Pricing light: installs pricing (evidence: `orca-link/src/client/index.ts`)
- Composer behavior → Mutation filtering: filters mutations (evidence: `orca-link/src/client/composer-collapse.ts`)
- Composer motion → Mutation filtering: filters mutations (evidence: `orca-link/src/client/composer-motion.ts`)
- Icons → Mutation filtering: filters mutations (evidence: `orca-link/src/client/icons.ts`)
- Pricing light → Mutation filtering: filters mutations (evidence: `orca-link/src/client/pricing-light.ts`)
