You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Massive TUI Controller Extraction: Extracted the main UI event loop and state machine out of bin/free-coding-models.js into a dedicated src/app.js controller. This cuts the main executable size drastically and makes the TUI architecture more modular and testable.
Robust Error Boundaries: Wrapped all critical asynchronous operations, keypress handlers, UI render timers, and polling cycles with comprehensive try/catch blocks. Instead of the TUI crashing and destroying the terminal scrollback on unexpected errors, it will now gracefully exit the alternate screen buffer, print a formatted stack trace, and point users to the GitHub issue tracker and feedback form.
Global Crash Resiliency: Added uncaughtException and unhandledRejection listeners at the entry point to guarantee terminal restoration even if a library fails catastrophically.