Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Merge branch 'feat/mobile-ios-android' of https://github.com/autonomous-ai/autonomous-harness into feat/mobile-ios-android

Dev jacob8741b40b971e
diff --cc mobile/lib/state/app_state.dart
index 57a9f9382,001c2eb1a..f6f831432
--- a/mobile/lib/state/app_state.dart
+++ b/mobile/lib/state/app_state.dart
@@@ -3613,8 -4013,11 +4033,12 @@@ class AppNotifier extends ChangeNotifie
}
void _replaceAgents(MachineState machine, List<Agent> agents) {
+ // Whatever was here before, this list came from the machine itself — see
+ // [MachineState.agentsFromCache]. Cleared before the loops below, which are
+ // exactly the code that retires an agent the cache was wrong about.
+ machine.agentsFromCache = false;
final nextIds = agents.map((agent) => agent.id).toSet();
+ final previous = {for (final agent in machine.agents) agent.id: agent};
for (final old in machine.agents.where(
(agent) => !nextIds.contains(agent.id),
)) {