feat: conversations on the left, the transcript on the right (#6)

This commit was merged in pull request #6.
This commit is contained in:
2026-10-03 21:09:36 +00:00
parent d448a4377b
commit 9b35fcef11
5 changed files with 223 additions and 158 deletions
+5
View File
@@ -22,6 +22,11 @@ function newId(): string {
return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
}
/** Builds the lightweight index record kept in the session list. */
export function summarizeSession(session: Session): SessionSummary {
return summarize(session);
}
function sessionKey(id: string): string {
return `${STORAGE_SESSION_PREFIX}${id}`;
}