Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): 帧轮询的 mutation 状态按字段去重
Kirozeng8183a80f6e8b
diff --git a/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx b/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsxindex 88e2d9fda3..59b4a4292a 100644--- a/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx+++ b/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx@@ -914,7 +914,22 @@ export function IOSSimulatorTabBody({);}const nextMutation = resultMutation(result);- if (!cancelled && nextMutation) setLiveMutation(nextMutation);+ // Main re-reports the mutation state on every frame poll, each time as a+ // fresh object. Compare by field so an unchanged poll does not defeat the+ // viewport dedupe above and re-render the whole panel per cycle.+ if (!cancelled && nextMutation) {+ setLiveMutation((previous) =>+ previous &&+ previous.instanceId === nextMutation.instanceId &&+ previous.activeSource === nextMutation.activeSource &&+ previous.lastSource === nextMutation.lastSource &&+ previous.queuedAgentMutations === nextMutation.queuedAgentMutations &&+ previous.agentPaused === nextMutation.agentPaused &&+ previous.takeoverPending === nextMutation.takeoverPending+ ? previous+ : nextMutation,+ );+ }};const attemptNativeRecovery = async (): Promise<IOSSimulatorToolResponse | null> => {if (