mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
* perf(renderer): add unfocused slowdown to shared visibility poll primitives installWindowVisibilityInterval gains slowWhileUnfocused (focus read at tick time, overdue catch-up on window focus) and the git status refresh scheduler gains cadenceScale + retime(). Opt-in; focused cadence is unchanged. * refactor(source-control): extract git status scheduler window-presence hook * perf(ssh): slow remote port, git status and compare polls while unfocused Visible-but-unfocused windows poll workspace/host ports, branch compare, stale conflict probes and active git status 4x slower, so agent edits no longer drive remote git status every 3s behind another app. Hidden windows still pause; window focus runs overdue work immediately. * perf(source-control): keep activity debounce when refocus re-times git status * test: drop cadence-count tests for unfocused poll slowdown