Chuyển đến nội dung chính

dsh-chat-avatar

Đã xác minh

dsh-chat-avatar · v0.1.0 · MIT · Giao diện web

DSH Web 头像插件:在每轮 AI 回复左侧与你的每条输入右侧各显示一个头像,可上传、调尺寸、选圆形或方形框。

Cài đặt

dsh plugin add dsh-chat-avatar

Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.

Mã nguồn

Thẻ

Tác giả

Readme

dsh-chat-avatar

给 DeepSeek Harness(dsh)的 Web 界面加头像:每轮 AI 回复左侧一个、你的每条输入右侧一个,两侧各自可自定义。

An avatar plugin for the DeepSeek Harness Web UI: one avatar on the left of each turn's final AI reply, one on the right of each of your messages.

圆形头像框

方形头像框

功能 / Features

  • AI 头像 —— 每轮最终 AI 回复左侧,贴该条消息第一行的左上角。一轮只有一个:轮次开始时挂在第一条助手步骤上,出现更靠后的步骤就移过去,整轮结束停在最终回答上。
  • 用户头像 —— 每条输入(含运行期追问)右侧,贴第一行右上角。
  • 两侧各自可配:显示 / 隐藏、上传图片(PNG / JPG / WebP / GIF,动态图会动,≤ 20MB)、尺寸 16–128 px、头像框形状(圆形 / 方形,默认圆形)。
  • 没上传就不显示:不会出现空头像框,也没有内置默认图。
  • 设置入口:设置 → 左侧边栏 →「头像」。
  • 不依赖任何 @deepseek-ai/* 包(客户端只用 slots,宿主只用 webServer),没有 peer 版本耦合问题。

安装 / Install

# 从 GitHub
dsh plugin --profile web add github:Rabbit-bot-No-002/dsh-chat-avatar

# 从本地目录
dsh plugin --profile web add link:/path/to/dsh-chat-avatar

装好后刷新页面。

License

MIT