SIGN IN SIGN UP

feat: implement checkpoint service integration with git operations (#317427)

* feat: implement checkpoint service integration with git operations

- Added new methods to IAgentHostGitService for capturing working trees, committing trees, updating refs, deleting refs, resolving refs, and computing file diffs between refs.
- Integrated checkpoint service into AgentService and related classes to manage session data and git state.
- Enhanced AgentSideEffects to capture turn checkpoints and baseline checkpoints for sessions.
- Updated SessionDataService to emit events before deleting session data, allowing for async cleanup.
- Modified session database schema to include checkpoint references and added methods to manage them.
- Updated tests to cover new checkpoint functionalities and ensure proper integration with existing services.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: enhance agent host services with checkpoint integration and update diff parsing

* test: update turn complete test to await promise resolution for accurate assertions

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
D
Don Jayamanne committed
9c67e1f54fdf77841daef7c37a376f12a322c5ef
Parent: fa3b176
Committed by GitHub <noreply@github.com> on 5/20/2026, 3:36:39 AM