(filePath: string)
| 31 | } |
| 32 | |
| 33 | function readSessionFile(filePath: string): SessionFile | null { |
| 34 | try { |
| 35 | return JSON.parse(fs.readFileSync(filePath, "utf8")) as SessionFile; |
| 36 | } catch { |
| 37 | return null; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | function summarizeSession(session: SessionFile): { |
| 42 | id: string; |
no outgoing calls
no test coverage detected