Tool windows open/close immediately — diagnostic build:
- CSP set to null to eliminate it as a variable. The CSP was blocking
IPC initialization in child WebviewWindows on macOS WKWebView.
- Added tauri://error listeners to ALL WebviewWindow creations (tool,
help, editor, detach). If window creation fails on the Rust side,
an alert will show the error instead of silently closing.
- If tool windows work with csp:null, we know the CSP was the cause
and can craft a macOS-compatible policy. If they still fail, the
error alert will reveal the actual Rust-side error.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>