đ Hutch
Checkpoint and undo system for AI agent sessions - safe burrow to return to.
Overview
Hutch provides checkpoint and undo functionality for AI agent sessions, allowing you to save state and rollback changes.
Features
- đž Automatic checkpoints at turn boundaries
- đ Named manual checkpoints
- âŠī¸ Undo to previous states
- đ File change tracking
- đŋ Persistent storage backend
Installation
[]
= "0.1"
Usage
use ;
async
Auto-checkpointing
use ;
use TaskId;
// Enable auto-checkpointing at turn boundaries
let config = CheckpointConfig ;
let manager = new;
// Checkpoint automatically saved at each turn
let task_id = new;
manager.checkpoint_turn.await?;
manager.checkpoint_turn.await?;
File Tracking
use PathBuf;
// Track file changes for checkpoint restore
manager.record_file_change;
Part of the Goblin Family
- warhorn - Protocol types
- trinkets - Tool registry
- wardstone - Sandboxing
- skulk - MCP connections
- hutch - Checkpoints (you are here)
- ambush - Task planning
- cabal - Orchestration
License
MIT OR Apache-2.0