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

Interface SessionFile

demo/server/session-log.ts:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7const CURRENT_FILE = path.join(SESSION_DIR, "current.json");
8
9interface SessionFile {
10 id?: string;
11 createdAt?: string;
12 updatedAt?: string;
13 messages?: { role: string; content?: string }[];
14}
15
16function readBody(req: IncomingMessage): Promise<string> {
17 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected