@ash-qw/dsh-theme-prts 1.2.2 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # 变更记录
2
2
 
3
+ ## 1.3.1 - 2026-10-14
4
+
5
+ - Baker 新增“合并过程回复头像”开关,默认开启:过程正文仅首条显示头像,最终回答独立保留头像;关闭后每条回复均显示,折叠展开不改变消息对齐。
6
+ - 经典主题新增“正文徽记”开关,可停止正文粒子效果;Baker 自动停用正文徽记,减少不可见粒子计算。保留已有素材配置,新会话徽记独立显示。修复切换到已有会话时残留新会话徽记画面的问题。
7
+ - 优化 Baker 正文表格和引用的圆角、留白,保留引用左侧竖线及宽表格横向滚动;经典主题正文引用继续沿用原生样式。
8
+ - 增加行内文件链接留白,改善 Baker 用户消息中文件引用的对比度;修复多文件编辑卡片内部重复边框。
9
+ - 修复点击动画覆盖宿主光标设置的冲突,减少系统光标与主题光标切换异常。
10
+ - 修复刷新时临时输入框的圆角、虚线边框与主题轮廓叠加。徽记仍先显示内置素材,服务端配置返回后切换自定义素材,不增加启动等待。
11
+ - 当前支持的 DSH 版本仍为 0.2.0-rc.2,运行环境要求不变。
12
+
13
+ ## 1.3.0 - 2026-10-13
14
+
15
+ - 会话主题新增 Baker 风格呈现:参考《明日方舟:终末地》的通讯界面,采用紧凑消息气泡、圆形头像与三段细环;原“通讯链路”更名为 Baker,“原有”更名为“经典”,并以卡片形式选择。
16
+ - 支持分别自定义用户与 AI 头像:点击设置中的头像即可上传、预览、拖动裁剪,支持滑块、滚轮、触摸板缩放与恢复默认。预览保留完整原图,圆形选区明亮、外围压暗,支持触屏和键盘调整。
17
+ - 头像原图与裁剪参数保存在服务端,同一 DSH 实例内同步,可随时基于原图重新裁剪;保存替换后覆盖旧原图,不累计历史图片。支持 PNG、JPEG、WebP、GIF、AVIF,单张最大 5 MB,动图使用第一帧。
18
+ - 新增 DSH 会话头像工具:AI 可使用当前会话上传或图像工具返回的图片,更换用户/AI 头像、重新裁剪或恢复默认;使用配置版本检查避免覆盖其它页面刚保存的修改。
19
+ - 统一文件修改卡片、交付卡片、正文文件引用及旧版生成文件按钮的圆角玻璃样式,修复边框断角、悬停仅四边变黄,以及外层裁切造成修改卡片四角变淡的问题。
20
+ - 收窄主题黄色焦点框的作用范围,保留主题控件的焦点提示,不再覆盖插件市场搜索框等第三方页面。
21
+ - 修复服务热重载后上传图片时报失效上下文错误,以及较大图片编码校验触发“Maximum call stack size exceeded”的问题。
22
+ - 当前支持的 DSH 版本仍为 0.2.0-rc.2,运行环境要求不变。
23
+
3
24
  ## 1.2.2 - 2026-10-13
4
25
 
5
26
  - 修复触屏长按徽记期间轻微移动后,徽记已浮起却中断排序的问题;避免将浏览器正常的指针捕获交接误判为拖动取消。
package/README.en.md CHANGED
@@ -13,6 +13,8 @@ A personal, non-commercial Arknights / P.R.T.S. fan UI plugin for DeepSeek Harne
13
13
 
14
14
  The theme is disabled by default.
15
15
 
16
+ The Baker conversation theme is inspired by the messenger in Arknights: Endfield. Select Baker under Appearance, then click either avatar to upload, crop, or restore its default. Original images and crop positions are stored on the server and shared within the same DSH instance, allowing later re-cropping. Drag to reposition and use the slider, mouse wheel, or trackpad to zoom. Changes apply after confirmation. Animated images use the first frame; each upload is limited to 5 MB.
17
+
16
18
  ## Compatibility
17
19
 
18
20
  - Supports DeepSeek Harness `0.2.0-rc.2` on Web and the official desktop client. The Web version has been verified locally, and the official desktop client has been verified through actual use. The earlier `0.1.7`, `0.1.5`, and `0.1.2` release lines are no longer in the compatibility declaration.
@@ -79,3 +81,7 @@ npm run check
79
81
  ```
80
82
 
81
83
  See [CHANGELOG.md](CHANGELOG.md) for release history and [RELEASING.md](RELEASING.md) for maintainer release instructions.
84
+
85
+ ### Set Baker avatars from a DSH conversation
86
+
87
+ Upload an image and ask the AI to set it as your Baker avatar, or have it generate/edit an image first. `prts_avatar_inspect` reads current configuration and conversation images; `prts_avatar_apply` replaces user/AI avatars, re-crops the current original, or restores defaults. Changes are shared within the DSH instance. Replacing an avatar discards its previous original. Avatars appear in Baker mode; tools do not change the device-local conversation theme.
package/README.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  主题安装后默认关闭,不会立即改变页面。
15
15
 
16
+ Baker 会话主题参考《明日方舟:终末地》的通讯界面。在主题设置「外观」中选择 Baker,点击用户或 AI 头像即可上传、裁剪或恢复默认。原图与裁剪位置保存在服务端,同一 DSH 实例内共享,之后可继续裁剪;支持拖动定位、滑块及滚轮/触摸板缩放。确认后保存,动图使用第一帧,单张最大 5 MB。
17
+
16
18
  ## 兼容性
17
19
 
18
20
  - 当前支持 DeepSeek Harness `0.2.0-rc.2` 的 Web 端和官方桌面客户端;Web 端已在本地验证,官方桌面客户端已实际使用验证。此前的 `0.1.7`、`0.1.5`、`0.1.2` 发布线不再列入兼容声明。
@@ -79,3 +81,7 @@ npm run check
79
81
  ```
80
82
 
81
83
  版本变化见 [CHANGELOG.md](CHANGELOG.md),维护者发布步骤见 [RELEASING.md](RELEASING.md)。
84
+
85
+ ### 在 DSH 会话中设置 Baker 头像
86
+
87
+ 可上传图片后对 AI 说:“把这张图设为我的 Baker 头像,裁剪到人物面部。”也可以让 AI 生成或编辑图片后直接设置。工具 `prts_avatar_inspect` 查看当前配置与会话图片;`prts_avatar_apply` 支持更换用户/AI 头像、基于已有原图重新裁剪和恢复默认。头像在当前 DSH 实例共享,保存替换后不保留旧原图;仅在 Baker 会话主题下显示,工具不会切换设备本地的主题选项。