The full parallel test run on Windows can delay file events by more
than the 100 ms debounce, which split one burst into two events and
failed the test intermittently. Use a 300 ms debounce, longer quiet
windows and explicit wait timeouts.
Use node-pty for native terminal support and chokidar for recursive cross-platform watching with atomic-save normalization. Validate terminal messages, detach clients safely, and expose debounced typed notebook events.