- defaultSpawnDetached now waits a grace period after spawn to catch
processes that exit non-zero immediately, allowing runFirstAvailablePlan
to fall through to the next strategy instead of silently succeeding.
- normalizeAppCandidates returns [undefined] (the platform-default branch)
when the resolved candidate list is empty, so an empty app array behaves
the same as omitting app entirely.
- Treat container env detection consistently when resolving desktop launch options
- Fall back to direct kill if `taskkill` exits nonzero or cannot spawn
- Add coverage for the WSL container and taskkill fallback cases
- Extract shared Windows command/process utilities
- Add process tree kill and probe process wrappers
- Cover output truncation and Windows command behavior with tests
- Move browser/editor launch logic out of `open.ts`
- Wire server startup and WebSocket tests to `DesktopLauncher`
- Add validation and fallback error coverage for launch attempts