nai
Nai milk-frog mascot appearance layer for the DeepSeek Harness web GUI: wears the bundled milk-frog artwork as the GUI background (surface-token fade with opacity, blur, scrim and position controls), seats the matching square avatar as the sidebar and conversation brand mark, and edits it all from a Settings section. 适合想要将 DSH 界面主题和图标定制为 Nai 奶青蛙形象的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/naiConfiguration
The config lives at $DSH_HOME/nai.json (default ~/.dsh/nai.json) and is edited by the Settings section; it is also reachable over HTTP.
| Field | Default | Meaning |
|---|---|---|
wallpaper | true | Wear the Nai artwork as the GUI background |
brand | true | Replace the sidebar and hero logos with the Nai avatar |
surfaceOpacity | 60 | Shell surface opacity in % — lower shows more of the wallpaper, higher keeps the shell opaque (25–100) |
blur | 0 | Gaussian blur applied to the wallpaper, in px (0–24) |
scrim | 35 | Palette-matched wash over the wallpaper — black in the dark theme, white in the light theme — for a readable transcript, in % (0–90) |
position | center | Wallpaper background-position: center, left, right, top, bottom |
| Route | Method | Purpose |
|---|---|---|
/api/nai/config | GET / PUT | Read / write the config (writes are same-origin only) |
/api/nai/wallpaper | GET | The 16:9 background artwork |
/api/nai/mark | GET | The square avatar artwork |
/api/nai/diag | GET / POST | Last browser-side diagnostic report (mount state, surface overrides, errors) |
Every value is clamped server-side; unknown keys are dropped.
配置
配置文件为 $DSH_HOME/nai.json(默认 ~/.dsh/nai.json),字段与取值范围见上方英文表格;服务端会做钳制并丢弃未知字段。