storebound/tools
CRT 08eb314196 Desktop: never a blank window (frozen-prototype fix, error screens, logs, state migration, boot check)
The signed release showed only its background colour and never started the sidecar. Tauri's freezePrototype
freezes Object.prototype before the bundle runs; d3-color and d3-format (under the visx charts) assign
`constructor` / `toString` on plain objects while loading, which throws on a frozen prototype, so the bundle
stopped before React drew anything. The saved state was not the cause.

- build/freeze-safe.ts: Vite plugin that rewrites those assignments in dependencies into a helper that defines
  the property when the frozen prototype would refuse it
- error boundaries for the window, each screen and each app tab (Copy details, Reload, Reset saved state with a
  backup); public/boot.js shows the same panel when the bundle fails or the window stays empty
- logs/host.log (start, saved state, sidecar start/stop, panics) and logs/webview.log (log_webview), rotated,
  home as ~, keys, tokens and e-mail addresses replaced
- state.json `version` 2 with an explicit 1 -> 2 migration (original kept as state.json.v1.bak), per-entry
  tolerant parsing, partial settings keep their fields, unreadable files kept aside
- folders that are gone: "Folder not found" with Locate... (project_locate) / Remove; portfolio reads skip them
- tools/desktop-boot-check.ts: the built window with the release CSP and the frozen prototype, a mocked host from
  the state fixtures (empty, D1 with folders gone, D3) and the real sidecar, through every screen; in bun run ci,
  the Forgejo CI workflow and the macOS release
2026-10-11 01:36:34 +00:00
..
vds Desktop release pipeline: privacy scan of every artifact, path-free builds, macOS universal app + DMG (Developer ID + notarization or an ad-hoc -unsigned preview) with self-tests of the exact artifacts, signed latest.json, Forgejo workflow for Linux and Windows, root-owned publish step for storebound.dev 2026-10-10 21:16:59 +00:00
build-sidecars.ts Sidecar leak check: skip a generic build home (/root in a CI container is a substring of the bun runtime itself); privacy-scan still checks every home 2026-10-10 21:38:41 +00:00
ci.ts Desktop: never a blank window (frozen-prototype fix, error screens, logs, state migration, boot check) 2026-10-11 01:36:34 +00:00
desktop-boot-check.ts Desktop: never a blank window (frozen-prototype fix, error screens, logs, state migration, boot check) 2026-10-11 01:36:34 +00:00
desktop-release.ts Desktop: never a blank window (frozen-prototype fix, error screens, logs, state migration, boot check) 2026-10-11 01:36:34 +00:00
desktop-version.ts Desktop D5: one desktop version (package.json desktopVersion) checked in CI; updater public key; NSIS per user with the WebView2 bootstrapper 2026-10-10 21:16:59 +00:00
diagrams.ts No hand-written SVG: visx charts, lucide icons, Mermaid journey diagram 2026-10-11 00:49:30 +00:00
fixture-art.ts Phosphor icons and the real store marks 2026-10-11 01:00:46 +00:00
gen-adapters.ts 0.5.0: mobile apps and games positioning (README, site, og image, skills, CLI, MCP, adapters), MCP tools for subscriptions and catalog diff, tests, changelog 2026-10-10 17:47:09 +00:00
i18n-check.ts Desktop D2 UI: design system, portfolio, release timeline, catalog parity, listings, health, reviews, TestFlight, checks, command palette, toasts, first-run guide, en + tr with i18n check, 7:1 theme check, dev fixture mode and screenshot harness 2026-10-10 19:34:47 +00:00
privacy-scan.ts privacy-scan: a partial upstream path in a container's compressed bytes is left to the full check of the unpacked file 2026-10-10 22:09:49 +00:00
scrub.ts Desktop host: offline read cache (SQLite), job ids for progress and cancel, parallel live portfolio, project init, verified ffmpeg / Chrome for Testing downloads into app data 2026-10-10 19:34:46 +00:00
site-icons.ts Phosphor icons and the real store marks 2026-10-11 01:00:46 +00:00
tools-manifest.ts Desktop host: offline read cache (SQLite), job ids for progress and cancel, parallel live portfolio, project init, verified ffmpeg / Chrome for Testing downloads into app data 2026-10-10 19:34:46 +00:00