MCPcopy Create free account
hub / github.com/benjitaylor/agentation / getSession

Function getSession

mcp/src/server/sqlite.ts:353–356  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

351 },
352
353 getSession(id: string): Session | undefined {
354 const row = stmts.getSession.get(id) as Record<string, unknown> | undefined;
355 return row ? rowToSession(row) : undefined;
356 },
357
358 getSessionWithAnnotations(id: string): SessionWithAnnotations | undefined {
359 const sessionRow = stmts.getSession.get(id) as Record<string, unknown> | undefined;

Callers

nothing calls this directly

Calls 1

rowToSessionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…