mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
The host screen re-read repo.list every minute and on every repo or SSH event. Each reply carried every repo's uploaded icon inline as a data URL (up to 400 KB each, barely compressible), although repos rarely change. repo.list now takes an optional afterSnapshotId and answers unchanged when the caller already holds the exact reply. The id is content-derived (the hashing moves to content-snapshot-id.ts, shared with worktree.ps). The phone keeps the last catalog per client, reuses it on unchanged replies and still refreshes SSH host labels and health. repo.list declared no params, so older hosts ignore the field and answer the full catalog as before; callers that send nothing get the byte-exact legacy reply. Icons still render from the same data, at the same size.