Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor: extract session snapshot schemas/migrations into sessionStore/snapshots

4 months ago

9503c35
Authored
mweinbach6/9/2026, 5:36:53 PM
Mechanical move of the V1-V7 persisted-snapshot types, zod schemas, and
parsePersistedSessionSnapshot migration parser into
src/server/sessionStore/snapshots.ts. sessionStore.ts keeps file I/O and
re-exports the public surface, so no call sites change.
sessionStore.ts: 1,078 -> 185 lines.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Parent9c078c9

2 files changed
  • src/server/sessionStore.ts+9−902
  • src/server/sessionStore/snapshots.ts+905−0