← 返回列表
D

@zoytown/dsh-avatar

v0.1.0 · 0 天前发布

DeepSeek Harness (dsh) plugin for wallpaper theming — upload images from the Settings page, pick one, and the whole dsh web UI renders over it with an adjustable readability mask and blur.

dsh-plugindeepseek-harnessdshcordisdeepseekpluginthemewallpaperbackgroundcustomization

README

@zoytown/dsh-avatar

English | 中文

DeepSeek Harness(dsh)的壁纸主题插件:
在设置页上传图片,选中后整个 dsh Web 界面以它为背景——遮罩强度、背景模糊、填充方式均可调。

  • 界面内上传——点击或拖拽(png / jpg / webp / gif,默认单张 20 MB 上限);

  • 文件以内容寻址名落盘 ~/.dsh/avatar/v1/
  • 图库——已上传图片的缩略图网格;点选即应用,悬停可删除,选「无背景」恢复纯色主题

  • 可读性控制——遮罩滑杆(界面表面在图片上保持半透明)、模糊滑杆、铺满/完整/平铺三种填充;

  • 调整即时预览并自动保存
  • 明暗自适应——遮罩颜色跟随当前 light/dark 配色自动取色;一张图同时服务两种外观
  • 安装

    bash
    dsh plugin --profile web add @zoytown/dsh-avatar

    然后在 dsh Web 界面打开 设置 → 背景。卸载用
    dsh plugin --profile web remove @zoytown/dsh-avatar——界面完全还原;已上传的图片保留在
    ~/.dsh/avatar/,需要时手动删除该目录。

    配置

    row 配置(在你的 cordis.patch.yml 里按 id dsh-avatar 覆盖;必须整体重述所有字段):

    | 字段 | 默认值 | 含义 |
    |---|---|---|
    | maxImageBytes | 20971520 | 单张图片上传上限(字节) |
    | `

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @zoytown/dsh-avatar
    Repo
    git+https://github.com/zoyluoblue/deepseek-harness-avatar.git
    Engines
    {"node":"^22.19 || >=24"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-theme"],"immediately":false}}