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 pull request #1428 from autonomous-ai/feat/desktop-phone-offer-tracking

tony496sf96f15e11589
diff --cc desktop/lib/screens/swarm_screen.dart
index 827c86127,74c778aec..2f6260cc6
--- a/desktop/lib/screens/swarm_screen.dart
+++ b/desktop/lib/screens/swarm_screen.dart
@@@ -3423,17 -3430,8 +3431,17 @@@ class _SwarmScreenState extends State<S
? null
: () {
_closeSearch(restoreFocus: false);
- unawaited(_addPhone());
+ unawaited(_addPhone(from: AddPhoneOpening.machines));
},
+ onApproveDevice: () async {
+ _pickerModalChanged(true);
+ try {
+ await approveDeviceByCode(context, app);
+ } finally {
+ _pickerModalChanged(false);
+ if (mounted && _search != null) _focusSearch();
+ }
+ },
);
void _openResourcePicker(String prefix) {