* Fix terminal input handling
- Fix stale executionId issue in terminal input handler
- Add proper terminal focus management
- Fix timing issues with input handler registration
- Remove invalid terminal.off() cleanup method
- Add isTerminalReady state to ensure proper initialization order
- Clean up debugging console logs
Fixes issue where terminal input would stop working after script restarts
due to stale executionId being captured in the input handler closure.
* Fix TypeScript build errors
- Fix unsafe argument type for removeEventListener
- Remove unused eslint-disable directive
- Build now passes successfully