MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / isRestartableTerminalStatus

Function isRestartableTerminalStatus

desktop/terminal/manager.ts:92–94  ·  view source on GitHub ↗
(status: TerminalSessionSnapshot['status'])

Source from the content-addressed store, hash-verified

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

Callers 2

openTerminalFunction · 0.85
writeTerminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected