Joeytisaly/dsh-client-ui-wallpaper

Joeytisaly★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

README 摘要

@joeytisaly/dsh-client-ui-wallpaper English 中文 Wallpaper plugin for DeepSeek Harness web: a photo behind the web surface, set from General settings → Wallpaper . The Host half owns the /wallpaper route (GET serves the stored photo, POST atomically stores an upload capped at 15 MB, DELETE removes it) with the file rooted at $DSH HOME/wallpaper , registers the durable ui-wallpaper.enabled flag through the Host settings document, and injects a pre-plugin bootstrap so the first paint already carries the photo. The browser half reads the flag through the settings scope, projects the served URL onto document.body as the background-image (the only DOM write this feature owns), and registers the Wallpaper row into the General section's item slot. It also injects one stylesheet that makes the --dsw-alias- surfaces translucent so the photo shows through, over whatever palette the theme plugin resolved — the theme registry and token sheets are never touched. The route is method-dispatched on one exact /wallpaper path: GET answers with the sniffed content type ( Cache-Control: no-store ), 404 when absent; POST accepts JPEG/PNG/GIF/WebP magic bytes only (413 over the cap, 415 otherwise) and wri…

在 GitHub 查看完整 README →
终端/TUIdsh-plugin

分类