Tool windows (still closing instantly with CSP=null):
- Root cause: Vite adds crossorigin attribute to <script> and <link> tags
in index.html. This forces CORS mode for resource loading. WKWebView's
Tauri custom protocol handler (tauri://) may not return proper CORS
headers for child WebviewWindows, causing the module script to fail
to load and the window to close immediately.
- Fix: Vite plugin strips crossorigin from built HTML via transformIndexHtml
- Also set crossOriginLoading: false for Rollup output chunks
Status bar:
- h-[48px] text-base px-6 — 48px height with 16px text, explicit pixel
value to avoid Tailwind spacing ambiguity
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>