MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / readSessionFile

Function readSessionFile

demo/server/session-log.ts:33–39  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

31}
32
33function 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
41function summarizeSession(session: SessionFile): {
42 id: string;

Callers 1

listSessionSummariesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected