Context
src/snapshot/diff.zig has a working diffSnapshots() function but no HTTP endpoint exposes it.
Implementation
- Add
/diff/snapshot?tab_id= route in router.zig
- Store previous snapshot per tab in Bridge (or use existing snapshot cache)
- Return delta: added/removed/changed nodes
- agent-browser equivalent:
diff snapshot
Acceptance Criteria
- Navigate, snapshot, navigate again, call
/diff/snapshot → returns meaningful delta
- Supports optional previous snapshot param
Co-authored-by: blackfloofie 265516171+blackfloofie@users.noreply.github.com
Context
src/snapshot/diff.zighas a workingdiffSnapshots()function but no HTTP endpoint exposes it.Implementation
/diff/snapshot?tab_id=route inrouter.zigdiff snapshotAcceptance Criteria
/diff/snapshot→ returns meaningful deltaCo-authored-by: blackfloofie 265516171+blackfloofie@users.noreply.github.com