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 'bubu/mobile-onboarding' into feat/mobile-ios-android

bubu-dudu8f386f29c1e0
diff --cc mobile/lib/phone/agent_swipe.dart
index 2fde11171,1ea23c9eb..c464365d1
--- a/mobile/lib/phone/agent_swipe.dart
+++ b/mobile/lib/phone/agent_swipe.dart
@@@ -3,9 -3,9 +3,10 @@@ import 'dart:async'
import 'package:flutter/material.dart';
import 'package:harness_mobile/state/app_state.dart';
+
import 'agent_index.dart';
import 'terminal_page.dart';
+import 'voice_input_controller.dart';
/// The agents a terminal page can swipe between, in the order the list drew them.
///
@@@ -155,9 -152,11 +158,12 @@@ class _AgentSwipeHostState extends Stat
@override
void dispose() {
+ _voice.dispose();
_controller?.dispose();
_detachAll();
+ // Leaving the terminal means the next launch starts on the list. A process the OS kills never
+ // gets here, which is what leaves the record behind for the reopen.
+ widget.notifier.lastOpenedAgent.forget(_current);
super.dispose();
}