(status: TerminalSessionSnapshot['status'])
| 90 | } |
| 91 | |
| 92 | function isRestartableTerminalStatus(status: TerminalSessionSnapshot['status']) { |
| 93 | return status === 'exited' || status === 'error' |
| 94 | } |
| 95 | |
| 96 | function ensureProcessStarted(record: TerminalSessionRecord, reason: 'started' | 'restarted') { |
| 97 | if (record.process) { |
no outgoing calls
no test coverage detected