- Restore the powershell/ps literal union on
TerminalSubprocessCheckError.command; the widening to Schema.String
was unnecessary once the capture path got its own error class.
- Decide session liveness before registerTerminalProcesses, so a
terminal that exited or restarted mid-tick cannot get its old process
tree re-registered with port discovery.
Co-Authored-By: Claude Fable 5 <[email protected]>