Verify (Gitea) / gate (build · unit · facts) (push) Failing after 46s
用户反馈两套外观系统互相破坏(自动配色下改色无效、关掉后 19 个变量停在派生值)、 字体颜色不能调。管线改成 derive(seeds,dark) → 叠加 overrides → 一次写完。 - 去掉「自动配色」大开关:每项默认跟随派生,改哪项覆盖哪项,↺ 恢复跟随 (VS Code workbench.colorCustomizations 模型);亮/暗覆盖分开存,互不串味 - 数据模型 v2(seeds/overrides/overridesDark/sizes/presets),v1 配置自动迁移: 只有旧版明确关掉自动配色时的手写色才固化成覆盖,不凭空制造覆盖 - 字体开放:界面主/次 + 节点主/次 4 项,带对比度徽标与「夹到 4.5:1」按钮 - 新增 --iwb-node-text/-text2;.iwb-node 作用域内把 --iwb-text/-text2 重映射过去, 插件节点零改动跟随节点文字(插件界面全部走 CSS 变量,变量名只增不改) - 新增 --iwb-tint:半透明底色基色与文字色解耦(32 处 color-mix 换基色), 调字不再连带改悬停/标签/分隔底色 - 覆盖 bg/panel 后联动重算 chrome/dock/插件四层,避免「暖面板 + 冷灰顶栏」割裂 - 补洞 --iwb-surface/--iwb-hover/--iwb-text-dim(插件此前只能吃硬编码兜底,暗色会白底) - 内置「休息」预设:低刺激暖灰,亮/暗正文均 >= 4.5:1 - 修 --iwb-canvas-bg/--iwb-border/--iwb-warn 三处 var(自己) 的无效声明 - 测试:新增 appearance-v2-test(迁移/覆盖/一次写完/休息对比度/插件变量名不变); page-chrome 的 --iwb-tab-active 断言改到 tint 基色
46 lines
6.3 KiB
JSON
46 lines
6.3 KiB
JSON
{
|
|
"name": "image-workbench-web",
|
|
"private": true,
|
|
"version": "3.26.41",
|
|
"description": "Browser-based node canvas image workbench",
|
|
"scripts": {
|
|
"build": "node scripts/build.js && node scripts/copy-plugins.js",
|
|
"tauri": "tauri",
|
|
"app:dev": "tauri dev",
|
|
"app:build": "tauri build",
|
|
"lint": "eslint src app.js",
|
|
"test": "node tests/relay-task-graph-fixture-test.js && node tests/plugin-style-node-test.js && node tests/inherit-text-test.js",
|
|
"test:unit": "node tests/plugin-archive-test.js && node tests/plugin-files-policy-test.js && node tests/theme-plugin-tokens-test.js && node tests/appearance-v2-test.js && node tests/image-prompt-cover-test.js && node tests/unit-test.js && node tests/canvas-actions-test.js && node tests/canvas-performance-test.js && node tests/canvas-drag-performance-test.js && node tests/resize-observer-performance-test.js && node tests/node-drag-jank-test.js && node tests/edge-graph-performance-test.js && node tests/persistence-export-images-test.js && node tests/settings-hotkeys-size-presets-test.js && node tests/custom-size-validation-test.js && node tests/image-node-performance-test.js && node tests/drag-frame-performance-test.js && node tests/canvas-edge-memo-test.js && node tests/canvas-node-transform-test.js && node tests/canvas-dot-zoom-test.js && node tests/duplicate-ws-fresh-source-test.js && node tests/single-canvas-shell-test.js && node tests/navigation-layout-test.js && node tests/home-canvas-library-test.js && node tests/left-resource-layout-test.js && node tests/interface-hierarchy-test.js && node tests/three-page-layout-test.js && node tests/page-chrome-regression-test.js && node tests/task-cache-test.js && node tests/storage-config-shape-test.js && node tests/storage-zip-test.js && node tests/canvas-node-factory-test.js && node tests/runtime-error-test.js && node tests/runtime-lifecycle-test.js && node tests/runtime-fetch-test.js && node tests/runtime-channel-test.js && node tests/runtime-boundary-test.js && node tests/runtime-record-test.js && node tests/runtime-recovery-test.js && node tests/runtime-diagnostic-record-test.js && node tests/runtime-metrics-test.js && node tests/runtime-run-context-test.js && node tests/runtime-execution-context-test.js && node tests/storage-gc-canvas-refs-test.js && node tests/storage-health-test.js && node tests/generation-state-test.js && node tests/canvas-store-test.js && node tests/storage-result-test.js && node tests/storage-local-test.js && node tests/storage-domain-test.js && node tests/storage-runtime-test.js && node tests/storage-indexeddb-test.js && node tests/generation-scheduler-test.js && node tests/gallery-query-test.js && node tests/gallery-hydration-test.js && node tests/image-blob-store-test.js && node tests/image-preview-derive-test.js && node tests/image-format-test.js && node tests/clipboard-graph-test.js && node tests/clipboard-graph-fallback-test.js && node tests/image-admit-test.js && node tests/image-dedupe-test.js && node tests/clipboard-kind-test.js && node tests/clipboard-paste-test.js && node tests/clipboard-copy-test.js && node tests/paste-once-test.js && node tests/list-e2e-specs-test.js && node tests/desktop-csp-loopback-test.js && node tests/architecture-boundary-guard-test.js && node tests/plugin-host-test.js && node tests/plugin-data-test.js && node tests/plugin-loader-test.js && node tests/plugin-bundle-test.js && node tests/plugin-install-test.js && node tests/plugin-gallery-render-test.js && node tests/plugin-gallery-recovery-test.js && node tests/plugin-gallery-ux-test.js && node tests/plugin-grouplib-render-test.js && node tests/plugin-promptlib-render-test.js && node tests/image-compress-test.js && node tests/storage-fallback-indexeddb-test.js && node tests/canvas-normalize-test.js && node tests/canvas-geometry-test.js && node tests/canvas-history-test.js && node tests/canvas-ops-test.js && node tests/canvas-text-test.js && node tests/history-store-test.js && node tests/plugin-integrity-test.js && node tests/workspace-sessions-store-test.js && node tests/workspace-list-test.js && node tests/workspace-purge-test.js && node tests/provider-ping-test.js && node tests/runtime-diagnostics-hotpath-test.js && node tests/storage-log-failure-test.js && node tests/storage-convergence-test.js && node tests/swallow-wiring-test.js && node tests/workbench-logic-test.js && node tests/storage-autobackup-test.js && node tests/storage-outputs-mutate-test.js && node tests/sync-facts-guard-test.js && node tests/e2e-fixed-waits-ratchet-test.js && node tests/shell-render-behavior-test.js && node tests/canvas-meta-notice-behavior-test.js && node tests/source-text-ratchet-test.js && node tests/plugin-theme-contract-test.js && node tests/prompt-md-roundtrip-test.js && node tests/generation-results-store-test.js && node tests/out-groups-order-test.js && node tests/native-overlay-park-test.js && node tests/ui-dock-sanitize-test.js && node tests/ui-minimap-fit-test.js && node tests/ui-workbench-hooks-test.js",
|
|
"test:diagnostics": "node tests/runtime-diagnostics-hotpath-test.js",
|
|
"test:facts": "node tests/architecture-facts-guard-test.js && node tests/release-records-test.js",
|
|
"plugins:gc": "node scripts/plugins-publish.mjs --gc",
|
|
"coverage:browser": "npm run build && node scripts/coverage-browser.js",
|
|
"audit:pins": "node scripts/audit-source-pins.js",
|
|
"test:e2e": "npm run build && node scripts/serve-test.js",
|
|
"test:e2e:local": "node scripts/serve-test.js",
|
|
"verify:ci": "npm run build && node --check app.js && node --check dist/app.js && node scripts/check-dist.js && npm run lint && npm run typecheck && npm run test:unit && npm test && npm run test:facts",
|
|
"verify": "npm run verify:ci && npm run test:e2e",
|
|
"verify:release": "node scripts/verify-release.js",
|
|
"coverage:e2e": "node scripts/coverage-e2e.js",
|
|
"sync:facts": "node scripts/sync-facts.js",
|
|
"sync:facts:write": "node scripts/sync-facts.js --write",
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"release:desktop": "bash scripts/release.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.64.1",
|
|
"@tauri-apps/cli": "^2.12.4",
|
|
"esbuild": "0.28.2",
|
|
"eslint": "^10.13.0",
|
|
"globals": "^17.13.0",
|
|
"jsdom": "^24.1.3",
|
|
"playwright": "^1.64.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
|
"@tauri-apps/plugin-fs": "^2.7.1",
|
|
"@tauri-apps/plugin-http": "^2.9.0"
|
|
}
|
|
}
|