Files
buzz/desktop/src-tauri
Taylor Ho 5d9ce58dd3 feat: local file watcher with inline diffs below agent turns
Backend (Rust):
- file_watcher.rs: notify crate watches per-channel project dirs
- Debounced 500ms, ignores .git/node_modules/binaries/large files
- similar crate computes unified diffs against snapshots
- Tauri event emission (file-diff) to frontend
- Per-channel project dir config persisted to project-dirs.json
- Commands: get/set_project_dir, start/stop_file_watcher, resnapshot

Frontend (React):
- useLocalFileDiffs hook listens for Tauri file-diff events
- Synthetic TimelineMessage (kind:40008) merges into timeline
- Renders through existing DiffMessage -> DiffViewer pipeline
- Project directory UI in channel management sheet
- Auto-starts watcher when opening channel with configured dir

Local-only for v1 — no relay events emitted.
2026-04-10 22:54:55 -10:00
..
2026-03-09 13:02:11 -07:00
2026-03-24 13:33:45 -07:00