qiqi
|
60161b50eb
|
fix(album): 选完文件夹立即刷新读不到目录(st.node 未更新)+ 提示被 sync 隐藏(v1.2.1)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
|
2026-11-30 10:51:02 +08:00 |
|
qiqi
|
3a5d0d7604
|
chore(release): 3.26.116 三平台条目齐平 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
|
2026-11-30 10:45:34 +08:00 |
|
qiqi
|
90f06a3408
|
chore(release): 3.26.116 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 37s
|
2026-11-30 10:07:56 +08:00 |
|
qiqi
|
937766ecf6
|
docs: v3.26.116 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 36s
|
2026-11-30 10:05:31 +08:00 |
|
qiqi
|
d0caf58bf3
|
docs: 计划勾选上限保护已完成
|
2026-11-30 09:57:19 +08:00 |
|
qiqi
|
a43673ed66
|
feat(album): 文件夹上限保护(>500 张中止)+ v3.26.116 版本与 CHANGELOG
|
2026-11-30 09:57:13 +08:00 |
|
qiqi
|
a4dc50ed5e
|
feat(album): 相册文件夹模式 + 固化可靠性修复(v1.2.0)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 41s
宿主:
- wCleanIdb 保留集改为递归整个 node.data(原只扫 data/url/result,漏 items[].src ⇒ 固化后的 blob 被当孤儿删,实测 18 个条目丢 16 个)
- 收藏组同步修复;新增 tests/idb-gc-plugin-refs-test.js 防回退
插件 album 1.2.0:
- 来源徽标(已固化/引用/网络/丢失)
- 固化计数只算本地路径引用,批量跳过已固化并提示
- 单删/清空时清理 ctx.files 缩略图
- 文件夹模式:单图任务 + 文件夹监控两个开关、模式说明、按模式隐藏控件、刷新(增量 diff)、全部重载(二次确认)、忽略名单 folderSkip、底部路径与已忽略计数
计划与复盘:docs/plans/album-folder-mode.md(含勾选状态与优化总结)
|
2026-11-30 09:54:01 +08:00 |
|
qiqi
|
03191d24dc
|
docs: 内存与图库插件复盘(2026-11-30)
新增 docs/standards/memory-and-gallery-lessons-2026-11-30.md:
- 回归判据(imgBigN=0 / imgDataMB<5 / imgBlobN≈domImgs / 30s-60s 13~15MB / ready-2s 150~190MB 带)
- 六处有效改动、宫格原图 base64 的证据链与修法
- 发布 latest.json 事故与两脚本分工
- 与 Win 构建机的五条协作约定
架构文档 §1.5 增加指向该复盘的链接。
|
2026-11-30 08:55:08 +08:00 |
|
qiqi
|
ccde6a8ad4
|
chore(publish): release.sh 校验线上 latest.json + 文档写清两个发布脚本的分工
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
|
2026-11-30 07:30:55 +08:00 |
|
qiqi
|
7a3d268f73
|
chore(release): 3.26.115 补齐 darwin-x86_64 条目 + dmg 按 publish-update 产物更新
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 32s
|
2026-11-30 07:30:17 +08:00 |
|
qiqi
|
53b649cb17
|
docs: 内存基线标题改 115 + 记 112–115 同属一个 150–190MB 启动带
|
2026-11-30 07:21:45 +08:00 |
|
qiqi
|
4bfcf5e2cf
|
docs: 内存基线定稿为 v3.26.115 实测(稳态 13~15MB、启动瞬时峰 158MB 记为已知项)
|
2026-11-30 07:18:53 +08:00 |
|
qiqi
|
980633cfb9
|
chore(release): 3.26.115 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
|
2026-11-30 07:15:08 +08:00 |
|
qiqi
|
6a858bb10d
|
chore(release): 3.26.115 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
|
2026-11-30 07:01:24 +08:00 |
|
qiqi
|
cfacf47f73
|
docs: v3.26.115 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 32s
|
2026-11-30 07:00:04 +08:00 |
|
qiqi
|
59e591fcb0
|
fix(memory): hydrate 不再预读全部图片引用(v3.26.115)
114 二次启动验证:after-thumbs 111→10MB(缩略图复用成立),ready-2s 166→172MB 没降 ⇒ 启动固定峰。
根因是 wHydrateWorkspace 对每个引用都 wEnsureImgUrl,111 个各读 1.9MB 成 Uint8Array,GC 来不及收。
改为交给显示层按需解析,只读真正渲染到的节点。
|
2026-11-30 06:58:02 +08:00 |
|
qiqi
|
dae9b8b4a9
|
docs: 补内存基线与三条不变量(v3.26.114 实测)
|
2026-11-30 06:52:00 +08:00 |
|
qiqi
|
d60103f22e
|
chore(release): 3.26.114 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 37s
|
2026-11-30 06:41:35 +08:00 |
|
qiqi
|
0dbdbc46c0
|
chore(release): 3.26.114 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
|
2026-11-30 06:31:41 +08:00 |
|
qiqi
|
8233dcb191
|
docs: v3.26.114 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
|
2026-11-30 06:30:04 +08:00 |
|
qiqi
|
ff3e5bc8df
|
fix(memory): 宫格缩略图 settle 加 3 路并发闸门(v3.26.114)
113 稳态已达标(60s heap 16MB、imgBigN 0、imgDataMB 0.5MB),但 ready-2s 出现 370MB 瞬时峰:
settle() 为每个图库条目把原图读成 dataURL(2~8MB),上百条同时等待 ⇒ 瞬时几百 MB。
加 3 路并发闸门,峰值随并发走而不随条目数走。
|
2026-11-30 06:28:02 +08:00 |
|
qiqi
|
acd1e0fa96
|
chore(release): 3.26.113 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m35s
|
2026-11-29 23:29:58 +08:00 |
|
qiqi
|
596614da9e
|
chore(release): 3.26.113 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m37s
|
2026-11-29 23:16:55 +08:00 |
|
qiqi
|
ffa666f9d6
|
docs: v3.26.113 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 1m40s
|
2026-11-29 23:15:11 +08:00 |
|
qiqi
|
040fb575ff
|
fix(memory): 图库宫格不再渲染原图 base64(v3.26.113)
诊断包实测:111 张 2~8MB 的 data: 图不在画布节点里(无 data-node-id、无 class),而在图库宫格。
链路:thumbFor() → localCopySrcOf()(读原图成 dataURL)→ display() 首帧返回原图。
- gallery-sync.thumbFor 改为 settle():等显示缩略图就绪(最多 3s),超大 dataURL 一律不返回
- wDisplayThumbOf:>512KB dataURL 不作为 img src 返回(null)
|
2026-11-29 23:13:09 +08:00 |
|
qiqi
|
bd08ffd8ef
|
diag(memory): 记录大 data: 图片所属节点(imgBigSample)+ thumbsN 改名 galleryThumbN
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 57s
|
2026-11-29 22:50:29 +08:00 |
|
qiqi
|
7c14e858eb
|
chore(release): 3.26.112 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 3m3s
|
2026-11-29 22:35:22 +08:00 |
|
qiqi
|
6c3973e3e6
|
docs: v3.26.112 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 54s
|
2026-11-29 22:33:01 +08:00 |
|
qiqi
|
54f140bb9b
|
fix(memory): 缩略图缓存不再收原图;超大数据视为缺失(v3.26.112)
111 实测 ready-2s 51MB(占位生效),但 30s 涨到 304MB 且 imgDataN=111 / imgDataMB=260MB:
生成失败/降级路径 remember(key, 原图dataURL) 把原图当缩略图缓存,画布于是拿 2.3MB base64 当图显示。
- image-display-thumb:>512KB dataURL 一律不入缩略图缓存(四处 remember 加保护),并记录 thumb-fail 证据
- image-thumb-pick:缓存里是超大 dataURL 时视为缺失 → 占位 + 重新排队
- 内存构成新增 imgBigN / imgMaxKB
|
2026-11-29 22:30:53 +08:00 |
|
qiqi
|
60cce3ccb1
|
chore(release): 3.26.111 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m4s
|
2026-11-29 22:27:36 +08:00 |
|
qiqi
|
9cbdaf57b8
|
chore(release): 3.26.111 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m11s
|
2026-11-29 22:24:03 +08:00 |
|
qiqi
|
e51eb9a087
|
docs: v3.26.111 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m17s
|
2026-11-29 22:21:36 +08:00 |
|
qiqi
|
d94c0c89e4
|
fix(memory): 缩略图回 640 + 补齐磁盘缺失 + 缺图先占位(v3.26.111)
用户实测 108 约 150MB,110 涨到数倍。对账后是三条叠加:
1) DISPLAY_THUMB_MAX 1024→640(解码内存 ∝ 面积,2.56 倍)
2) wPreloadDisplayThumbs 读不到缩略图时改为排队生成(原来只有渲染到的节点才排队,切走画板永远补不齐)
3) 本地图缺缩略图时先占位不再解原图;远程 http(s) 仍直出;生成并发 2→4
|
2026-11-29 22:19:34 +08:00 |
|
qiqi
|
e7ac0212fb
|
diag(memory): 补 30s/60s 内存采样点 + DOM 图片来源分布(data:/blob:)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m43s
|
2026-11-29 22:10:42 +08:00 |
|
qiqi
|
371af6f562
|
chore(release): 3.26.110 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 55s
|
2026-11-29 22:05:39 +08:00 |
|
qiqi
|
b70f5c763d
|
chore(release): 3.26.110 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m52s
|
2026-11-29 22:02:31 +08:00 |
|
qiqi
|
081da7b42d
|
docs: v3.26.110 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m3s
|
2026-11-29 21:54:58 +08:00 |
|
qiqi
|
004227f074
|
fix(memory): 图片字节冷读加 4 路并发闸门(v3.26.110)
Windows 实测:启动后 usedJSHeapSize 34MB → 440~557MB,而画板数据只有 0.5MB。
根因:首帧渲染时对 111 个图片引用同时发起读盘,每个 1~6MB 读成 Uint8Array 再 copy 进 Blob。
改为 getBlob 冷读 4 路并发(缓存命中不排队),堆峰值随并发走而不随画布图片数走;stats 增加读取并发观测。
|
2026-11-29 21:52:53 +08:00 |
|
qiqi
|
870508a33f
|
chore(release): 3.26.109 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m26s
|
2026-11-29 21:18:15 +08:00 |
|
qiqi
|
9ecd2e9176
|
chore(release): 3.26.109 站点/下载页产物
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m37s
|
2026-11-29 21:00:29 +08:00 |
|
qiqi
|
5554b3f250
|
docs: v3.26.109 CHANGELOG 条目 + 架构基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 2s
|
2026-11-29 20:57:06 +08:00 |
|
qiqi
|
24eb1b69c9
|
feat(release): v3.26.109 —— 内存/流畅度收敛 + 参考图修复 + 插件 sticky 1.0.10
- 内存:首帧前预热显示缩略图(避免整屏解码原图)、带图节点视口裁剪 240→80、
DISPLAY_THUMB_MAX 640→1024、放大后不再切原图解码(上限 2× 缩略图长边)
- 参考图:修复 url 引用对象未解析导致的 [object Object] 破图;失效图改为明确占位(双击重新导入)
- 新增 {__cache}→{__blob} 迁移(只迁移可读字节,读不到不动)
- 图片节点按图片比例收边、内边距收窄
- 诊断:帧时长探针(正式包默认关闭,IWB_PERF_PROBE=1 才启用)、edge-drop 换板误报过滤、缓存计数
- 插件 sticky 1.0.10:移除左侧栏面板
|
2026-11-29 20:53:16 +08:00 |
|
qiqi
|
5ed1172064
|
fix(canvas): Esc 不再关闭右侧栏(用户明确要求)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m28s
现象:按 Esc 会把右侧栏(图库/提示词/风格库面板)连同里面的筛选、选中状态一起关掉,误按代价太大。
- src/ui-canvas-pointer.js:cancel 级联里删掉 `if (drawerOpen) setDrawerOpen(false)` 这一档。
Esc 仍负责:取消拖拽/框选/连线 → 关连线菜单/右键菜单/工作台更多/设置弹窗 → 抓手复位
- 右侧栏仍可用:顶栏按钮 / N 键 / 拖拽分隔条(行为不变)
- tests/iwb-stability.spec.js:新增「Esc 不关闭右栏」用例(不用固定等待,toBeVisible 自带重试)
Tab 切换左右栏的方案已分析过,本次不动。
|
2026-11-29 13:13:50 +08:00 |
|
qiqi
|
8e9a3b6ded
|
feat(plugins): 新增资料目录插件索引体检/修复脚本 plugins:doctor
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 51s
背景:手工往 <资料目录>/plugins/ 拷文件、没更新同目录 index.json 时,加载器按索引里的旧哈希校验,
报「完整性校验失败(main.js 的 sha256 不符)」(2026-11-29 便利贴 1.0.8 实发)。
- scripts/plugin-index-doctor.js:扫描目录与索引,逐条报告 版本差异 / 哈希不符 / 文件缺失 / 未登记 / 孤儿条目;
默认只报告(有待修项时非 0 退出),--write 按实际文件重写索引并自动备份 index.json.bak-<时间戳>
- package.json: npm run plugins:doctor(可带资料目录与 --write)
- docs/standards/plugin-source-of-truth.md:命令表补该脚本,排错行的处置改为指向它
用法:
npm run plugins:doctor # 默认扫 ~/Documents/ImageWorkbench
npm run plugins:doctor -- /path/to/data # 指定资料目录(只报告)
npm run plugins:doctor -- /path/to/data --write # 写入修复
|
2026-11-29 12:48:02 +08:00 |
|
qiqi
|
a9b19e67de
|
docs(plugins): 补「手工拷插件文件导致 index.json 哈希不符」的排错行
|
2026-11-29 12:44:30 +08:00 |
|
qiqi
|
43de3b0054
|
chore(guard): 发布脚本与 pre-push 都接插件两仓一致性检查
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 49s
- scripts/release.sh、scripts/publish-update.sh:开头加前置门禁(不一致直接退出,不发包不传 NAS),
末尾加收尾复核(发布过程中若有人手改产物层,这里立刻暴露)
- scripts/git-hooks/pre-push + scripts/install-git-hooks.sh + npm run hooks:install:
推送桌面仓前自动比对两仓,不一致拒绝推送;源仓不存在时跳过(CI/别人机器不阻塞)
- docs/standards/plugin-source-of-truth.md §4 补「四道关卡」表与钩子安装方法
|
2026-11-29 12:35:33 +08:00 |
|
qiqi
|
fd9575a96e
|
chore(plugins): 两仓同步 + 一致性守卫 + 插件规范(gallery 1.9.6 / promptlib 1.14.9 / sticky 1.0.8)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m0s
插件源码改回源仓(iwb-plugins-desktop),桌面仓 plugins/ 只作产物:
- 源仓侧:把 11-28 直接改在产物层的图库/提示词库改动回写为源码;修 validate 的字段扫描(先扫 register 块,
找不到再回退整份文件,避免被业务代码 id: 'q' 误命中、也兼顾 __IWB_*_MANIFEST__ 构建产物);
gallery 1.9.6 修「全部重试无效」与「量不到宽度时塌成 1 列」,promptlib 1.14.9
- 本仓侧:node scripts/sync-plugins-from-repo.js 重新生成 plugins/(gallery 1.9.6 / promptlib 1.14.9 / sticky 1.0.8)
新增机制:
- scripts/check-plugins-sync.js:逐插件比对产物与源仓(main.js/styles.css 的 sha256 + manifest/index 版本),
不一致列出清单并给出修复命令;源仓不存在时跳过(CI/别人机器不阻塞)
- gen-market.js 开头调用该守卫:两仓不一致直接中止,不允许发市场
- package.json: npm run check:plugins
- docs/standards/plugin-source-of-truth.md:两仓职责、目录对照、三条红线、日常流程、应急回写步骤、常见错误对照
验证:源仓 npm run validate 15/15、npm test 全绿;桌面仓 verify:ci 32 passed。
|
2026-11-29 12:30:01 +08:00 |
|
qiqi
|
7b11c90b0a
|
chore(release): 3.26.108 三平台齐平(windows 条目入 latest.json + 下载页)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m37s
windows 包由 work 机在 0ccc904 构建(5,173,673 B / f55a1305…),mac 侧正式私钥签名后:
- latest-windows.json:version 3.26.108,windows-x86_64 签名 456 字节
- latest.json:合并 windows 条目(合并用「远程文件 + 本地 node」完成,未重跑 publish-update.sh,
避免重建 mac 产物导致 dmg 字节变化与已登记的 sha256 不符)
三平台:darwin-aarch64 / darwin-x86_64 / windows-x86_64,顶层 version 3.26.108
- site/releases.json:登记 windows 条目;下载页三行全部 3.26.108;首页/插件页同步刷新
|
2026-11-28 21:14:36 +08:00 |
|
qiqi
|
b7371f6565
|
fix(site): 下载页按平台取「最近一个有包的版本」,避免三平台分批发布时旧平台变「暂未提供」
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m22s
现象:mac 先发 3.26.108、win 还在构建时,下载页 Windows 行从「3.26.107 下载」变成「暂未提供」——
等于把仍在用的旧版下载入口也关掉了。
原因:gen-release-page 只读 data.releases[0](最新版本)的 platforms,那一版缺少某平台就没有条目。
改动:新增 newestFor(key),逐平台回溯到最近一个真正提供该包的版本,行内版本号用该条目自己的版本;
三平台同批发布时行为不变。
|
2026-11-28 21:10:46 +08:00 |
|
qiqi
|
2cd5a07b6f
|
chore(release): 3.26.108 发布记录(mac 双架构已上线)+ CHANGELOG 补充
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m7s
- CHANGELOG:3.26.108 追加补充条目(插件升级、滚轮切图、accent token、存储/同步修正、右键菜单精简、strip-plugins 修复)
- site/releases.json:登记 darwin-aarch64 / darwin-x86_64 两个 dmg(size + sha256 + 指纹)
aarch64 9,531,052 B / 9a7f7f69…;x64 9,940,859 B / a0530cae…
线上状态:latest.json = 3.26.108(两个 darwin 平台,签名已写入),dmg 与 app.tar.gz 均已 200 且大小匹配。
windows 条目等 work 机包到位后,用 publish-windows-update.sh + 重跑 publish-update.sh 合并。
|
2026-11-28 21:01:37 +08:00 |
|