Overview of the LangDiff Tracker Module
mainThe Tracker module enables change tracking to generate JSON Patch diffs. This is useful for implementing progressive UIs where you only want to transmit or apply the differences between states.
Core Classes:
ChangeTracker: The abstract base class for all tracking implementations.JSONPatchChangeTracker: Standard implementation for JSON Patch tracking.EfficientJSONPatchChangeTracker: An enhanced version that supports optimizedappendoperations.
Utility Functions:
track_change(): Wraps an existing object to enable automatic change tracking.apply_change(): Applies JSON Patch operations to a target object.