Skip to content

feat(core): add session snapshot and revert system#33226

Merged
thdxr merged 1 commit into
devfrom
snapshot-system
Jun 24, 2026
Merged

feat(core): add session snapshot and revert system#33226
thdxr merged 1 commit into
devfrom
snapshot-system

Conversation

@thdxr

@thdxr thdxr commented Jun 21, 2026

Copy link
Copy Markdown
Member

Summary

  • add a backend-neutral Git service with repository, index, tree, diff, preview, and restore operations
  • add per-worktree core snapshot storage and capture settled V2 session step snapshots
  • add stateless revert preview and durable revert commit APIs with optional file restoration
  • flatten Location service composition and regenerate the V2 JavaScript SDK

Testing

  • bun turbo typecheck
  • bun test test/snapshot.test.ts test/git.test.ts test/session-projector.test.ts test/session-runner-tool-events.test.ts in packages/core
  • bun test test/server/httpapi-public-openapi.test.ts test/server/httpapi-exercise.test.ts in packages/opencode

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@thdxr thdxr force-pushed the snapshot-system branch from 103a0f4 to 566659d Compare June 24, 2026 23:08
@thdxr thdxr enabled auto-merge (squash) June 24, 2026 23:09
@thdxr thdxr force-pushed the snapshot-system branch from 566659d to 300ef2b Compare June 24, 2026 23:27
@thdxr thdxr merged commit 9bb5370 into dev Jun 24, 2026
14 of 17 checks passed
@thdxr thdxr deleted the snapshot-system branch June 24, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant