Lutra/crates/engine/src
danny 8a71f7bd08 M1.13: watch open buffers' folders, bufferFocused, truncated tree row
- The parent directory of every open buffer is pinned in the project
  watcher (workspace::sync_buffer_dirs after every command): it counts
  against the cap but is never evicted while a buffer in it is open, so
  reloads and fileChangedOnDisk arrive for never-expanded folders.
- file.open on an already-open buffer emits the new bufferFocused {id};
  the editor activates that tab and it outranks pending adoptions.
- The project tree shows a "Listing truncated" note row
  (project.tree.truncated) after a partly listed directory.
- Tests: engine (pinning, eviction, focus), control channel
  (bufferFocused), Vitest (tab switch, race, truncated row).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 16:20:11 +02:00
..
cmd M1.13: watch open buffers' folders, bufferFocused, truncated tree row 2026-10-16 16:20:11 +02:00
buffers.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
command.rs M1.4: desktop bridge: engine events to the window, folder picker, live project tree 2026-10-15 06:41:49 +02:00
engine.rs M1.13: watch open buffers' folders, bufferFocused, truncated tree row 2026-10-16 16:20:11 +02:00
error.rs M1.3: engine workspace, file and buffer commands, event stream 2026-10-14 20:24:44 +02:00
event.rs M1.13: watch open buffers' folders, bufferFocused, truncated tree row 2026-10-16 16:20:11 +02:00
guard.rs M0.6: command registry, guard, theme tokens, app.about and app.quit 2026-10-14 06:40:15 +02:00
journal.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
lib.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
registry.rs M0.6: command registry, guard, theme tokens, app.about and app.quit 2026-10-14 06:40:15 +02:00
settings.rs M1.9a: engine dirs and settings backend 2026-10-16 15:23:43 +02:00
state.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
theme.rs M1.10: light theme, live theme switching, editor tokens 2026-10-16 15:49:23 +02:00
workspace.rs M1.13: watch open buffers' folders, bufferFocused, truncated tree row 2026-10-16 16:20:11 +02:00