You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1ad70b7
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(session): remove the snapshot, revert and session-diff subsystem (#181)
Nothing in this CLI reads worktree snapshots, patch parts, session diffs or
revert state, so delete the subsystem instead of keeping it behind the
default-off switch from #172:
- src/snapshot/, session/revert.ts, session/summary.ts and the
`debug snapshot` command
- step snapshots and patch parts in the processor, Snapshot.init in
bootstrap and Snapshot.setDefault in run (plus its README note)
- SessionRevert.cleanup and SessionSummary.summarize in prompt
- Session summary/revert fields, setRevert/clearRevert/setSummary/diff and
the session.diff event; session_diff sync in share-next and import
- storage/storage.ts, whose only remaining callers were session diffs
Compatibility:
- the `snapshot` config key is still accepted, documented as deprecated,
ignored, and logs one warning
- sessions stored by older versions keep loading: legacy `patch` and
`snapshot` parts are skipped when parts are read, extra `snapshot`,
`summary` and `revert` data is ignored, and the DB columns stay
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments