@ash-qw/dsh-theme-prts 1.2.1 → 1.3.0

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,22 @@
1
1
  # 变更记录
2
2
 
3
+ ## 1.3.0 - 2026-10-13
4
+
5
+ - 会话主题新增 Baker 风格呈现:参考《明日方舟:终末地》的通讯界面,采用紧凑消息气泡、圆形头像与三段细环;原“通讯链路”更名为 Baker,“原有”更名为“经典”,并以卡片形式选择。
6
+ - 支持分别自定义用户与 AI 头像:点击设置中的头像即可上传、预览、拖动裁剪,支持滑块、滚轮、触摸板缩放与恢复默认。预览保留完整原图,圆形选区明亮、外围压暗,支持触屏和键盘调整。
7
+ - 头像原图与裁剪参数保存在服务端,同一 DSH 实例内同步,可随时基于原图重新裁剪;保存替换后覆盖旧原图,不累计历史图片。支持 PNG、JPEG、WebP、GIF、AVIF,单张最大 5 MB,动图使用第一帧。
8
+ - 新增 DSH 会话头像工具:AI 可使用当前会话上传或图像工具返回的图片,更换用户/AI 头像、重新裁剪或恢复默认;使用配置版本检查避免覆盖其它页面刚保存的修改。
9
+ - 统一文件修改卡片、交付卡片、正文文件引用及旧版生成文件按钮的圆角玻璃样式,修复边框断角、悬停仅四边变黄,以及外层裁切造成修改卡片四角变淡的问题。
10
+ - 收窄主题黄色焦点框的作用范围,保留主题控件的焦点提示,不再覆盖插件市场搜索框等第三方页面。
11
+ - 修复服务热重载后上传图片时报失效上下文错误,以及较大图片编码校验触发“Maximum call stack size exceeded”的问题。
12
+ - 当前支持的 DSH 版本仍为 0.2.0-rc.2,运行环境要求不变。
13
+
14
+ ## 1.2.2 - 2026-10-13
15
+
16
+ - 修复触屏长按徽记期间轻微移动后,徽记已浮起却中断排序的问题;避免将浏览器正常的指针捕获交接误判为拖动取消。
17
+ - 修复选项上普通滑动被同一交接误判打断的问题,并支持在仅剩一个徽记或暂时不能排序时继续滑动浏览。
18
+ - 保留长按排序、松手保存、边缘自动滚动,以及真正中断时恢复原顺序的行为。
19
+
3
20
  ## 1.2.1 - 2026-10-13
4
21
 
5
22
  - 修复正文轮换徽记长按排序时仍显示普通光标的问题,支持抓取与拖动光标;改善触屏排序,避免长按拖动被页面滚动打断,并保留滑动浏览和边缘自动滚动。
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 会话主题下显示,工具不会切换设备本地的主题选项。