237abc1e9e
Pure helpers for handing a session to an external terminal: the `--tui --resume <id>` argv, a launcher script that carries the resolved runtime's command and PYTHONPATH, and per-platform emulator resolution. macOS opens the .command with no -a so LaunchServices routes it to whichever app the user bound to shell scripts; Linux leads with Debian's x-terminal-emulator alternative before the concrete emulators; Windows prefers Windows Terminal over a cmd console.