mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
* perf(native-chat): one chat's status change wakes only that chat The renderer status feed copied every retained summary and called every listener on each one-session update, and the status bridge walked every open tab. Adopt the common keyed-entity pattern: update the session in place, wake only readers registered for that session, and give the bridge a session-to-tabs index. Option state now reads only the runtime permission answer, so a reply preview no longer re-renders the chat. * fix(native-chat): keep the phone's permission projection and prune stale retry members Restore projectRuntimePermission for the phone app, ignore a malformed conversation-name list as the names fold does, drop superseded bridge members from the retry set, key resume-run ids by the run's start, and update the continuation test mock. * perf(native-chat): retry and resume-run checks look only at the touched host and chats Keep the bridge's retry set per host so another host's update never scans it, and check only the resume-run entries an update touched. * test: give the launch create-message feed fake the per-chat subscription * test: drop call-count assertions from the bridge contact-loss test Keep the behavior it guards: no throw, revocation applied, later listeners still notified, and the reconnect snapshot projects.