qiqi
|
9ef5218856
|
perf: v3.26.152 简化卡片 hover 效果 + 可见空闲回收
|
2026-12-01 01:51:10 +08:00 |
|
qiqi
|
0ccc9041d0
|
fix(promptlib): 1.14.8 给新 token 加兜底,旧客户端也能正常显示
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m34s
1.14.7 直接用 var(--iwb-accent-on-surface) / var(--iwb-accent-tint),但这两个 token 是 3.26.108 才加进客户端的;
3.26.107 及更早的客户端取不到值 → 药丸会变成透明底 + 继承色。
- styles.css:两个 var() 都补上 color-mix 兜底值(与 token 定义一致),新旧客户端视觉一致
|
2026-11-28 20:56:01 +08:00 |
|
qiqi
|
04cc527002
|
feat(tokens): 新增 --iwb-accent-on-surface / --iwb-accent-tint 并接入生成链
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m27s
「强调色当文字用」以前各插件各自混色,暗色下对比度不足。现在固化成两个语义 token:
- --iwb-accent-on-surface = color-mix(--iwb-brand 45%, --iwb-text):文字/图标用的安全强调色
- --iwb-accent-tint = color-mix(--iwb-brand 18%, transparent):选中标签/药丸的淡底
两者都是关系式(跟随主题与自定义强调色),不写死 hex
生成链:scripts/gen-tokens.js 的 LIGHT_ONLY 表 → src/design-tokens.css / dist/tokens.json
(npm run tokens:write 重生成,tokens:check 守卫)
落地:
- plugins/promptlib 1.14.7:参考图药丸改用这两个 token
- style.css:质量档位选中态、右键菜单 hover 底改用这两个 token(顺手去掉两处散落的 12% mix)
- docs/standards/design-tokens.md 新增 §3.9:取值、成对用法、四条规则(填充用 brand / 文字用 accent-on-surface 等)
|
2026-11-28 20:48:09 +08:00 |
|
qiqi
|
73a56c60f2
|
fix(promptlib): 1.14.6 强调色当文字用时与正文色混合,修暗色对比度
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m18s
暗色下「封面作参考图 1 张」是 brand 蓝直接压深灰底,对比度不足。
- .iwb-plp-nref.is-on 的文字色改为 color-mix(brand 45%, --iwb-text):
亮色混深更沉、暗色混浅更亮,两端都过 4.5:1(估算 8.8:1 / 5.1:1)
这是仓库既有写法(--iwb-focus-ring 也是 brand-text 混出来的),不新增token、不写死颜色
- 药丸底 tint 从 14% 提到 18%(暗色下淡底更可见)
- 勾选框描边改为 color-mix(--iwb-border2 70%, --iwb-text2):暗色描边提亮一档,未选中也能看清
|
2026-11-28 20:33:42 +08:00 |
|
qiqi
|
9b535e77ce
|
fix(promptlib): 1.14.4/1.14.5 参考图勾选框对齐与暗色修正
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m1s
用户反馈:勾选后对勾没对齐;取消勾选是紫色;暗色下勾选框发黑。
- 未选中药丸改中性色:原来底/文字沿用了 promptlib 的紫色 accent(--iwb-plp-accent),
现在用 --iwb-layer + --iwb-text2,只有 is-on 才是 brand 蓝
- 勾选框尺寸 14→15px、圆角改 --iwb-set-check-radius(4px) 呈方形(原来 6px 在 14px 上像圆点)
- 对勾改用 left/top 50% + translate(-50%,-58%) 居中,不再靠像素偏移
- 暗色:未选中填充用 --iwb-field(深一档的灰),避免在暗色药丸上变成黑块;边框仍用 --iwb-border2
- is-on 时张数 em 跟随文字色(opacity .8),不再固定灰
|
2026-11-28 20:27:12 +08:00 |
|
qiqi
|
016d837aae
|
feat(promptlib): 1.14.3 参考图勾选框改成自绘蓝色实心勾(与样式节点一致)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m13s
- styles.css:.iwb-plp-nref 的 input[type=checkbox] 改 appearance:none 自绘:14px 圆角方块,
选中时 brand 底 + 白色对勾(对勾用 --iwb-on-brand,不写死 #fff —— 插件主题契约禁止裸中性色)
圆角用 --iwb-radius-chip(尺度闭集,否则 plugin-scale-contract 棘轮报新增 4px)
- .iwb-plp-nref.is-on:选中时药丸底色切成 brand 淡底 + brand 文字(同样式节点)
- main.js:st 里带上 refRow,同步时 toggle is-on
|
2026-11-28 20:16:59 +08:00 |
|
qiqi
|
de92f0ec90
|
feat(promptlib): 1.14.2 提示词模板的「封面作参考图」开关移到头部(对齐样式节点)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m32s
用户要求:提示词变量节点里「图片参考选择」的位置,照样式节点改造。
原来 refRow 挂在节点最底部(变量列表之后),变量一多就要滚到底才点得到;样式节点是放在标题下方。
- plugins/promptlib/main.js:buildTplSkeleton 里把 refRow 挂进 titleBox(标题 + 变量数下方),
底部不再追加
- styles.css:.iwb-plp-nref 从「底部分隔行」改成浅色药丸(inline-flex + accent 淡底 + 圆角),
与样式节点的「示例图作参考 1 张」一致
- 版本 1.14.2,manifest 与 plugins/index.json 哈希同步
|
2026-11-28 20:03:46 +08:00 |
|
qiqi
|
87276f2473
|
chore(plugins): 同步 promptlib 1.13.1(变量栏去 i 按钮 + 行间分割线)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 58s
- 变量编辑右栏删掉每行的 i 圆按钮(与整行点击重复),整行点击成为唯一入口;
展开态由 caret 主色 + 整行 hover 反馈表达。
- 分割线按 design-tokens.md §3.11 的 --iwb-set-divider 公式落在「行与行之间」,
1px 实线、首行与末行之后都不画;标题下与展开字段前不另画线。
- 市场包 promptlib-1.13.1.zip、market/index.json、市场首页、下载站索引与页面
全部同步;公网回读索引版本与 zip sha256 一致。
|
2026-11-25 13:56:05 +08:00 |
|
qiqi
|
5dd4dd0a74
|
chore(plugins): 内置 promptlib 同步 1.13.0(正文 {} 里放内容原文、名宽 4 字、内容框 10 行)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 55s
|
2026-11-24 18:52:56 +08:00 |
|
qiqi
|
5cfda44b46
|
chore(plugins): 内置 promptlib 同步 1.12.3(变量三字段 + 节点默认空、内容兜底)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m4s
|
2026-11-24 18:32:33 +08:00 |
|
qiqi
|
7035d8fad2
|
chore(plugins): 内置 promptlib 同步 1.12.2(搜索框常驻修中文输入 + 变量标签定宽 6 字)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 53s
|
2026-11-24 18:16:47 +08:00 |
|
qiqi
|
348bf56c3f
|
chore(plugins): 内置 promptlib 同步 1.12.0(变量四字段 + 节点多行变量框)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 44s
|
2026-11-24 18:01:13 +08:00 |
|
qiqi
|
e966b348b9
|
feat(backup): v3.26.59 备份带上插件文件(提示词封面不再换机丢失)
P0(宿主):
- 备份 ZIP 新增 plugin-files/<插件id>/<文件名> 通道,恢复时写回沙箱;
此前只备份 JSON ⇒ 换机后「提示词都在、封面全是灰块」,而状态行写着「已恢复」
- IWBStorageFile.pluginFiles 增 readBytes / listAll(不 mkdir、只读字节)
- IWBPluginData 增 listFiles / readFile / restoreFiles:清单一次给出、字节逐条读写
(插件文件单插件上限 64MB,攒数组会 OOM)
- 校验和口径统一:images / imagesData / pluginFiles / pluginFilesData 全部排除;
JSON 兜底导出按自身内容重算 checksum,避免「换个打包形态就报校验不一致」
- 备份二次确认的体积/张数把插件文件计入;恢复摘要显示「含 N 个插件文件(封面等)」
- tests/plugin-data-test:新增插件文件清单/读字节/写回 三条行为断言
P1(插件 promptlib 1.11.0,随包同步):
- 封面保存/上传即落成文件(JSON 只留文件名)、孤儿封面可回收
(启动后一次 + 删词条后一次 + 设置页手动入口;空集合/非插件数据来源一律不删)
- 四处内联 djb2 哈希合并为 coverFileName,同图不再存两份
- 样式散值归零(4px→6px、margin 13px→12px),插件尺度棘轮基线保持 0
|
2026-11-24 15:16:08 +08:00 |
|
qiqi
|
054db215cd
|
feat(plugins): 同步提示词库 promptlib v1.10.1(移除封面开关 + 详情竖向分割线)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 46s
|
2026-11-24 14:25:17 +08:00 |
|
qiqi
|
1ebb07d389
|
feat(plugins): 同步提示词库 promptlib v1.9.3(编辑区变量浅主色底色)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m3s
|
2026-11-24 13:36:10 +08:00 |
|
qiqi
|
2f8f355716
|
feat(plugins): 分享/导入分享、单节点收藏走提示词库、组内解组、图库打开目录与删除字节、插件设置页 token 化
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m1s
|
2026-11-24 10:39:25 +08:00 |
|
qiqi
|
12ed8e6cbf
|
chore(plugins): promptlib 1.8.24 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 41s
|
2026-11-23 20:13:23 +08:00 |
|
qiqi
|
56961d6d8a
|
chore(plugins): promptlib 1.8.23 尺寸 token 迁移 + 基线下调
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 1m4s
|
2026-11-23 20:12:16 +08:00 |
|
qiqi
|
293c500dca
|
chore(plugins): promptlib 1.8.22 颜色 token 迁移同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m51s
|
2026-11-23 20:06:05 +08:00 |
|
qiqi
|
01c922d7e4
|
chore(plugins): promptlib 1.8.21 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 44s
|
2026-11-23 10:09:42 +08:00 |
|
qiqi
|
7c0896ed97
|
chore(plugins): promptlib 1.8.20 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 28s
|
2026-11-23 10:08:05 +08:00 |
|
qiqi
|
fcb429772e
|
chore(plugins): promptlib 1.8.19 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 23s
|
2026-11-23 10:07:41 +08:00 |
|
qiqi
|
3abe96d389
|
chore(plugins): promptlib 1.8.17 市场同步(1.8.8 样式基线)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s
|
2026-11-23 09:54:20 +08:00 |
|
qiqi
|
8c87ae2743
|
chore(plugins): promptlib 1.8.16 市场同步(样式回退)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s
|
2026-11-23 09:51:20 +08:00 |
|
qiqi
|
5ca6cda7a5
|
chore(plugins): promptlib 1.8.15 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 34s
|
2026-11-23 09:48:55 +08:00 |
|
qiqi
|
edc0b1f916
|
chore(plugins): promptlib 1.8.14 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 11s
|
2026-11-23 09:48:43 +08:00 |
|
qiqi
|
9a011dc825
|
chore(plugins): promptlib 1.8.13 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 33s
|
2026-11-23 09:47:37 +08:00 |
|
qiqi
|
f1462a5862
|
chore(plugins): promptlib 1.8.12 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 2s
|
2026-11-23 09:47:24 +08:00 |
|
qiqi
|
cd7d478782
|
chore(plugins): promptlib 1.8.11 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 11s
|
2026-11-23 09:47:08 +08:00 |
|
qiqi
|
071f7f44d6
|
chore(plugins): promptlib 1.8.10 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 43s
|
2026-11-23 09:46:22 +08:00 |
|
qiqi
|
bc77f007a0
|
fix(windows): 内存探测改用 GetProcessMemoryInfo,不再启动 PowerShell
|
2026-11-23 00:57:46 +08:00 |
|
qiqi
|
f6c66fcd89
|
chore(plugins): promptlib 1.8.8 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m45s
|
2026-11-22 23:51:05 +08:00 |
|
qiqi
|
262bcc037b
|
chore(plugins): promptlib 1.8.7 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m55s
|
2026-11-22 23:48:22 +08:00 |
|
qiqi
|
bb0b3f3e8f
|
chore(plugins): promptlib 1.8.4 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 51s
|
2026-11-22 23:39:45 +08:00 |
|
qiqi
|
204f9103aa
|
chore(plugins): promptlib 1.8.3 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 1m32s
|
2026-11-22 23:38:10 +08:00 |
|
qiqi
|
8e40ba2870
|
chore(plugins): promptlib 1.8.2 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m34s
|
2026-11-22 23:36:28 +08:00 |
|
qiqi
|
d45065101b
|
chore(plugins): promptlib 1.8.1 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m0s
|
2026-11-22 23:35:11 +08:00 |
|
qiqi
|
702fbf5132
|
chore(plugins): promptlib 1.8.0 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m13s
|
2026-11-22 23:32:15 +08:00 |
|
qiqi
|
8944f2a78f
|
chore(plugins): promptlib 1.7.9 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m1s
|
2026-11-22 23:29:05 +08:00 |
|
qiqi
|
16109a39f4
|
chore(plugins): promptlib 1.7.7 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 5m20s
|
2026-11-22 23:20:27 +08:00 |
|
qiqi
|
b25ba45872
|
chore(plugins): promptlib 1.7.6 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 59s
|
2026-11-22 23:17:41 +08:00 |
|
qiqi
|
b8f5d4d8eb
|
chore(plugins): promptlib 1.7.5 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m6s
|
2026-11-22 23:16:00 +08:00 |
|
qiqi
|
fb69d17615
|
chore(plugins): promptlib 1.7.4 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 1m52s
|
2026-11-22 23:14:07 +08:00 |
|
qiqi
|
98f7f8e6d4
|
chore(plugins): promptlib 1.7.3 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 49s
|
2026-11-22 23:10:53 +08:00 |
|
qiqi
|
0e80c55adf
|
chore(plugins): promptlib 1.7.2 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 50s
|
2026-11-22 23:08:34 +08:00 |
|
qiqi
|
dd58e4a7b5
|
chore(plugins): promptlib 1.7.1 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 3m54s
|
2026-11-22 23:02:03 +08:00 |
|
qiqi
|
e9435a5cfe
|
chore(plugins): promptlib 1.7.0 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 52s
|
2026-11-22 22:58:15 +08:00 |
|
qiqi
|
054aec958e
|
chore(plugins): promptlib 1.6.23 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m40s
|
2026-11-22 22:33:28 +08:00 |
|
qiqi
|
96c786e8ca
|
chore(plugins): promptlib 1.6.22 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m27s
|
2026-11-22 22:31:47 +08:00 |
|
qiqi
|
3792081ddd
|
chore(plugins): promptlib 1.6.21 市场同步
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m23s
|
2026-11-22 22:28:22 +08:00 |
|