(stateDir: string)
| 91 | } |
| 92 | |
| 93 | export function agentRecordPath(stateDir: string): string { |
| 94 | return path.join(stateDir, 'terminal-agent-pid'); |
| 95 | } |
| 96 | |
| 97 | /** Read the current record. Returns null on missing/malformed file. */ |
| 98 | export function readAgentRecord(stateDir: string): AgentRecord | null { |
no outgoing calls
no test coverage detected