Stream terminal output and process exit code from Plugin

Hello! We plan to release the Reworked Terminal API in the upcoming 2025.3 release.
It includes a long-awaited possibility of tracking command execution in the terminal.
Please read the announcement: Reworked Terminal API is available in 2025.3