Home

mweinbach / agent-coworker

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

refactor: extract BackupPage components, add session locking, and clean up backup handling

7 months ago

5e51fea
Authored
mweinbach3/11/2026, 4:18:44 AM
Extract BackupSidebar, BackupDetailView, and CheckpointDeltaView into
standalone components. Add per-session locking in WorkspaceBackupService
to prevent concurrent mutations. Make syncSessionBackupAvailability
required instead of optional. Fix sessionId reference in backup store
action, add maxEntries limit to delta snapshots, and DRY up test harness.

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

Parente4dacc1

9 files changed
  • .gitignore+1−1
  • apps/desktop/src/app/store.actions/backup.ts+1−2
  • apps/desktop/src/ui/settings/pages/BackupPage.tsx+396−306
  • apps/desktop/test/backup-page.test.ts+45−50
  • src/server/session/AgentSession.ts+5−1
  • src/server/session/SessionContext.ts+1−1
  • src/server/session/SessionMetadataManager.ts+2−2
  • src/server/sessionBackup/delta.ts+10−5
  • src/server/workspaceBackups.ts+78−55