Run archive script in a terminal tab instead of a headless process (#176)
Replace the `bash -lc` headless process for archive scripts with a
real Ghostty terminal tab. The script runs in the user's full shell
environment with visible output, and completion is detected via
COMMAND_FINISHED (shell integration) and SHOW_CHILD_EXITED callbacks.
Ctrl+C reports the signal exit code, Ctrl+D and manual tab close are
treated as cancellation. Success auto-closes the tab; failure leaves
it open for inspection.
The terminal layer is generic via BlockingScriptKind so future script
types (e.g. delete) require only adding an enum case and reducer
handling — zero changes to the terminal infrastructure.
authored by