mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 09:37:33 +00:00
* fix(plugins): keep binary editor edits across renames, reloads and twin tabs - Renaming a binary file with unsaved plugin-editor edits gave its tab a new id, and the bytes store took the old id's disappearance as a close and dropped the edit. The bytes now move with the tab as the rename lands. - Tabs of one file share one dirty flag, so they now share one bytes draft; before, saving one tab marked both clean and dropped the other's edit. - A reload that reads the same bytes keeps the document, so the editor is not sent a new version that turns an edit in flight into a conflict. * fix(plugins): finish a twin-tab bytes save through any tab still open A tab that closed mid-save left its twin with the old hash, and a twin adopting a shared draft no longer lets its own older read replace it. * fix(plugins): hand a closed tab's bytes draft to its open twin; drop stale reads A twin that had not shown the file yet lost the draft when the tab holding it closed, and a read that started before an edit and save could replace the newer saved bytes. Boxes now count edits and saves; a read only lands if none happened since it started.