weijia
|
f49d69cf92
|
fix: 桌宠气泡 (#102)
* refactor: 精简desktop_pet_v2 — 内联_find_bubble_asset、删debug log、去重复RGBA检查
- 内联 _find_bubble_asset() 到 build_bubble_image (减少一层函数调用)
- 删除2处 /tmp/pet_toast_debug.log 写入
- 去除 Mac load_skin 中重复的 RGBA 转换检查
- 所有气泡核心逻辑(ImageOps.contain/非对称padding/alpha crop/tail扫描/定位公式)完整保留
- 785行 → 763行 (-22行)
* fix: 修复气泡文字碰边框问题,基于不透明区域计算文字padding
* feat: 添加自定义聊天气泡图片
* style: shift bubble text up 3px for better visual centering
|
2026-04-18 10:48:30 +08:00 |
|
Liang Jiaqing
|
39f90149fb
|
fix: change desktop pet port 51983->41983 (avoid Hyper-V reserved range) & update wechat group QR code
|
2026-04-15 23:50:48 +08:00 |
|
Jiaqing Liang
|
e3a2526932
|
feat: add plan mode (enter/exit/completion check/verification gate/periodic hints)
|
2026-04-15 17:02:54 +08:00 |
|
wjl2023
|
bb0290f576
|
fix: normalize bubble text and adjust padding for better readability
|
2026-04-15 14:43:14 +08:00 |
|
Liang Jiaqing
|
74abb77a0b
|
refactor: rename default_model->model, add thinking_type support, fix pet urlopen error handling
|
2026-04-14 21:14:05 +08:00 |
|
Liang Jiaqing
|
793bb3f1b8
|
refactor(pet): extract PetBase, deduplicate _start_server/safe wrappers, add singleton guard
|
2026-04-14 12:05:55 +08:00 |
|
Liang Jiaqing
|
0b54df85be
|
feat: desktop pet v2 with 8 skins and state notifications
|
2026-04-14 11:07:58 +08:00 |
|