(id: string)
| 356 | }, |
| 357 | |
| 358 | getSessionWithAnnotations(id: string): SessionWithAnnotations | undefined { |
| 359 | const sessionRow = stmts.getSession.get(id) as Record<string, unknown> | undefined; |
| 360 | if (!sessionRow) return undefined; |
| 361 | |
| 362 | const annotationRows = stmts.getAnnotationsBySession.all(id) as Record<string, unknown>[]; |
| 363 | |
| 364 | return { |
| 365 | ...rowToSession(sessionRow), |
| 366 | annotations: annotationRows.map(rowToAnnotation), |
| 367 | }; |
| 368 | }, |
| 369 | |
| 370 | updateSessionStatus(id: string, status: SessionStatus): Session | undefined { |
| 371 | const updatedAt = new Date().toISOString(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…