qiqi
|
94680fd127
|
perf(images): 缩略图入库预热 + 稳定 key + Blob/objectURL + 按需切原图(v3.25.73)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 25s
|
2026-11-21 06:53:32 +08:00 |
|
qiqi
|
e08fdb6271
|
feat(market): M3 zip 整包安装 + 逐文件 sha256 + 原子换位 v3.25.46
- gen-market 产出 <id>-<version>.zip(STORE)+ bundle/bundleSize/bundleSha256/files[];保留单文件兼容
- 安装器:下载→整包校验→解包→逐文件 sha256→路径白名单→体积/数量上限→.new→.old→rename→清理(失败回滚)
- storage-file 增 renameDir/existsDir;卸载目录插件保留 plugin-data
- 新增 scripts/plugin-zip.js 与 plugin-bundle / plugin-install 两组测试(含覆盖升级与拒绝路径)
|
2026-11-20 10:20:09 +08:00 |
|
qiqi
|
7b1164febb
|
feat(plugin): 插件数据层 M2 —— ctx.data(原子写 + 串行队列 + 旧数据迁移)v3.25.42
- 新增 src/plugin-data.js:read/write/patch/remove/size;桌面落 plugin-data/<id>.json(tmp+rename),
同一插件读写串行排队,maxBytes 上限(默认 2MiB/最高 16MiB)超限抛错且不破坏已有数据
- storage-file 增加 pluginData 命名空间(read/write/remove/list)
- stripLegacy:宿主 init 前同步暂存 iwb_plugins[id].data,插件首次 read 时落盘并清暂存
- 备份携带 items.pluginData 并支持恢复;存储体检显示「插件数据 N 个 / X KB」
- 非桌面环境走 IWBStorageLocal 门面 → 内存兜底(仅测试)
- 新增 tests/plugin-data-test.js(串行/上限/迁移/备份)
|
2026-11-20 09:27:53 +08:00 |
|
qiqi
|
7ed3ba6738
|
feat(plugin): 插件目录化 M1 —— 目录插件加载 + 旧单文件兼容 v3.25.41
- loader 新增 loadFolder():manifest → main.js(逐文件 sha256,内置信随包 index.json)→ blob 注入;
样式文本暂存,激活时注入、停用时移除(配合 host 新增 onActivate/onDeactivate 钩子)
- storage-file 增加 plugins.listDirs/readFile/writeFile/writeBinary/mkdir/removeDir(按段校验,禁 ..)
- app.js:三路合并支持目录条目(dir/main/style/files),失败隔离 + 按 id 排序
- 修复:无 iwb_plugins 记录时插件永不激活(首次安装面板显示「未加载」)
- 备份模块兼容目录形态;市场暂时跳过目录插件(M3 zip 后恢复)
- 试点:image-annotate 转为 plugins/image-annotate/{manifest.json,main.js}
- 方案文档 docs/PLUGIN-ARCHITECTURE-PLAN.md 一并入库
|
2026-11-20 09:08:56 +08:00 |
|
qiqi
|
cf93080d17
|
fix(storage): 启动时补齐工作子目录(windows 全新安装缺 images/canvas → 写图失败;目录缺失也避免白屏)v3.25.13
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m25s
|
2026-11-18 13:42:09 +08:00 |
|
qiqi
|
1ffe067e12
|
fix(image): 写 blob 前确保 images/<cat> 目录存在(Windows 全新安装缺目录 → 写失败 → 退 Cache → 重启丢图);桌面端不再回退不持久的 Cache Storage(v3.25.12)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m53s
|
2026-11-18 13:34:27 +08:00 |
|
qiqi
|
9e400e2348
|
fix(image): 惰性绑定 ImageBlobStore(避免绑定到未就绪运行时)+ kv.put 失败返回对象(裸 false 会被当成成功,产出空引用)
|
2026-11-18 12:46:34 +08:00 |
|
qiqi
|
56b5f49646
|
fix(storage): 图片登记后立即落盘;GC 确认弹窗报出保留/断链数量(P0,v3.25.9)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m27s
|
2026-11-18 12:13:32 +08:00 |
|
qiqi
|
49b419251e
|
fix(images): 拖入同图不再被去重拦掉(可重复添加);gcImages 计入画布引用,避免误删在用图片(v3.25.8)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m12s
|
2026-11-18 11:43:32 +08:00 |
|
qiqi
|
3bbf1ea85d
|
perf(image): 图库清单去 base64(367KB→1.6KB,按 thumbHash 读文件)+ 画布显示缩略图 768px 落盘
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m36s
|
2026-11-17 15:36:20 +08:00 |
|
qiqi
|
e9a6402373
|
chore(log): _boot.log 超过 256KB 只保留最后 64KB(窗口多屏恢复已有中心点校验,无需改)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 2m0s
|
2026-11-17 15:17:12 +08:00 |
|
qiqi
|
0ec11bfca8
|
perf(storage): gcImages 递归子目录 + trash 30 天轮转(本机清出 20.2MB 未引用图片)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m58s
|
2026-11-17 15:08:23 +08:00 |
|
qiqi
|
49b8cb3abd
|
feat(plugins): P3 开发者模式(plugins/local/<id>/plugin.js 免签名加载)+ SDK 文档与示例插件
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m22s
|
2026-11-17 13:47:30 +08:00 |
|
qiqi
|
51bc9c581a
|
feat(plugins): P2 插件市场(market 索引生成 + 应用内安装/更新/卸载,sha256 校验写 plugins/)
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m10s
|
2026-11-17 11:49:34 +08:00 |
|
qiqi
|
5da4f255d8
|
feat(plugins): P1 插件外置(<资料目录>/plugins 覆盖内置、sha256 校验、blob 注入、来源标签);CSP 放行 blob:
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m11s
|
2026-11-17 11:29:47 +08:00 |
|
qiqi
|
945fcf0dff
|
fix(types): 补齐图库 item 字段与 __TAURI__ 声明,修复 CI 类型检查
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 7s
|
2026-11-17 10:33:04 +08:00 |
|
qiqi
|
857acd30d3
|
fix(settings): 下载目录授权不再覆盖 data-dir.txt(数据库目录显示/打开错位)
|
2026-11-17 08:57:37 +08:00 |
|
qiqi
|
ada8916fd6
|
fix(storage): 从 WebView localStorage 一次性捞回被截断的画布(957→1337 节点,空画布归零)
|
2026-11-17 08:49:18 +08:00 |
|
qiqi
|
8725e65fcd
|
fix(storage): 画布文件名少了 2 个字符导致键对不上(节点显示为空);加一次性文件名修复
|
2026-11-17 08:44:19 +08:00 |
|
qiqi
|
b193dc38ff
|
feat(settings): 目录设置重构(数据库/图片导出 + 切换/转移)+ 去掉并发与 Webhook + 分组间距
|
2026-11-17 08:40:58 +08:00 |
|
qiqi
|
88428ca5ff
|
fix(gallery): 图库清单回填缩略图(修复「图片已丢失」)
|
2026-11-17 08:29:18 +08:00 |
|
qiqi
|
99f676f460
|
fix(storage): 图库清单改为 library/gallery/index.json;迁移改为先写后删 + 清单自愈重建
|
2026-11-17 07:48:44 +08:00 |
|
qiqi
|
a0f88bf306
|
feat(storage): images 按来源分二级目录(canvas/gallery/thumbs/legacy)+ 下载改为按需落盘不弹窗 + 缩略图 512
|
2026-11-17 07:45:31 +08:00 |
|
qiqi
|
5025a70ff9
|
feat(storage): 资源库按分类单独成文件(library/prompts|groups|gallery.json)
|
2026-11-17 07:01:58 +08:00 |
|
qiqi
|
21a32c0fe3
|
feat(desktop): 每张画布单独成文件(canvases/<id>.json)+ 托盘左键直接唤出窗口
|
2026-11-17 06:45:59 +08:00 |
|
qiqi
|
2b8bcbb74c
|
fix(desktop): 关闭浏览器专有兜底(SW 注册 / Cache 虚拟路径 / 5MB 告警 / 自动快照)+ 隐藏与失焦时强制刷盘
|
2026-11-17 06:38:27 +08:00 |
|
qiqi
|
f0ee2c1c61
|
feat(storage): 清理未引用图片(移入 trash/,不直接删)
|
2026-11-16 22:23:10 +08:00 |
|
qiqi
|
586b5aaf9b
|
feat(storage): 去内联 base64(阈值 3000)+ 首启目录向导 + 资料目录切换
|
2026-11-16 22:17:46 +08:00 |
|
qiqi
|
135589cd6f
|
feat(storage): 资料目录落盘(data.json + images/ 内容寻址)+ IndexedDB 图片一次性迁移
|
2026-11-16 22:02:55 +08:00 |
|