fix(repl): fix ESLint errors for CI compliance
- Add Apache 2.0 license headers to all source files
- Fix import ordering and sort-imports issues
- Change type aliases to interfaces where required
- Add eslint-disable for browser APIs (BroadcastChannel, localStorage)
falsely flagged as unsupported Node.js features
- Fix missing .js file extension in import