Implement Bus event-based coordination between bash tool and TUI renderer to properly handle interactive commands like GPG signing, SSH, and git rebase. Prevents terminal corruption, control character leakage, and keyboard protocol issues by suspending TUI rendering before spawning stdio-inherit subprocesses. - Add TerminalControl module with suspend/resume coordination via Bus events - Wrap interactive bash commands with TUI suspend/resume lifecycle - Add TUI event handlers for renderer suspend/resume with ack handshake - Set OPENCODE_TUI=1 environment variable for TUI mode detection - Generate terminal tokens for request tracking with timeout handling Fixes GPG pinentry dialog disappearing, password input routing to wrong location, escape sequences appearing as garbage, and keyboard shortcuts becoming characters. |
||
|---|---|---|
| .. | ||
| js | ||
| .gitignore | ||
| openapi.json | ||