MainWindowAccessor gets an internal constructor so tests can hand the
services a headless window of their own (the test application has no
desktop lifetime): dialogs are clicked and dismissed for real, and the
pickers, clipboard and launcher run against the headless platform.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>