Skip to content

Self-improving AI Employees for everyone

refactor(nodes): migrate B9 plugins to folder shape (android — 16 plugins)

trohitg4828cd36268c
diff --git a/server/nodes/android/airplane_mode_control.py b/server/nodes/android/airplane_mode_control/__init__.py
similarity index 82%
rename from server/nodes/android/airplane_mode_control.py
rename to server/nodes/android/airplane_mode_control/__init__.py
index 18b31891..3ae26ce9 100644
--- a/server/nodes/android/airplane_mode_control.py
+++ b/server/nodes/android/airplane_mode_control/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class AirplaneModeControlNode(AndroidServiceBase):
diff --git a/server/nodes/android/app_launcher.py b/server/nodes/android/app_launcher/__init__.py
similarity index 92%
rename from server/nodes/android/app_launcher.py
rename to server/nodes/android/app_launcher/__init__.py
index ef5dcbc5..d47cd2d6 100644
--- a/server/nodes/android/app_launcher.py
+++ b/server/nodes/android/app_launcher/__init__.py
@@ -2,7 +2,7 @@ from typing import Optional
from pydantic import ConfigDict, Field
-from ._base import AndroidServiceBase, AndroidServiceParams
+from .._base import AndroidServiceBase, AndroidServiceParams
class AppLauncherParams(AndroidServiceParams):
diff --git a/server/nodes/android/app_list.py b/server/nodes/android/app_list/__init__.py
similarity index 79%
rename from server/nodes/android/app_list.py
rename to server/nodes/android/app_list/__init__.py
index 8e3418fc..99b8e451 100644
--- a/server/nodes/android/app_list.py
+++ b/server/nodes/android/app_list/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class AppListNode(AndroidServiceBase):
diff --git a/server/nodes/android/audio_automation.py b/server/nodes/android/audio_automation/__init__.py
similarity index 83%
rename from server/nodes/android/audio_automation.py
rename to server/nodes/android/audio_automation/__init__.py
index 119a6d17..11b56365 100644
--- a/server/nodes/android/audio_automation.py
+++ b/server/nodes/android/audio_automation/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class AudioAutomationNode(AndroidServiceBase):
diff --git a/server/nodes/android/battery_monitor.py b/server/nodes/android/battery_monitor/__init__.py
similarity index 83%
rename from server/nodes/android/battery_monitor.py
rename to server/nodes/android/battery_monitor/__init__.py
index 651317f6..3c9cf28c 100644
--- a/server/nodes/android/battery_monitor.py
+++ b/server/nodes/android/battery_monitor/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class BatteryMonitorNode(AndroidServiceBase):
diff --git a/server/nodes/android/bluetooth_automation.py b/server/nodes/android/bluetooth_automation/__init__.py
similarity index 84%
rename from server/nodes/android/bluetooth_automation.py
rename to server/nodes/android/bluetooth_automation/__init__.py
index 54fe951e..e514a025 100644
--- a/server/nodes/android/bluetooth_automation.py
+++ b/server/nodes/android/bluetooth_automation/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class BluetoothAutomationNode(AndroidServiceBase):
diff --git a/server/nodes/android/camera_control.py b/server/nodes/android/camera_control/__init__.py
similarity index 81%
rename from server/nodes/android/camera_control.py
rename to server/nodes/android/camera_control/__init__.py
index 9b339974..cbadd798 100644
--- a/server/nodes/android/camera_control.py
+++ b/server/nodes/android/camera_control/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class CameraControlNode(AndroidServiceBase):
diff --git a/server/nodes/android/device_state_automation.py b/server/nodes/android/device_state_automation/__init__.py
similarity index 84%
rename from server/nodes/android/device_state_automation.py
rename to server/nodes/android/device_state_automation/__init__.py
index 598b1e95..338d354f 100644
--- a/server/nodes/android/device_state_automation.py
+++ b/server/nodes/android/device_state_automation/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class DeviceStateAutomationNode(AndroidServiceBase):
diff --git a/server/nodes/android/environmental_sensors.py b/server/nodes/android/environmental_sensors/__init__.py
similarity index 83%
rename from server/nodes/android/environmental_sensors.py
rename to server/nodes/android/environmental_sensors/__init__.py
index e41f9d2d..d5184bb6 100644
--- a/server/nodes/android/environmental_sensors.py
+++ b/server/nodes/android/environmental_sensors/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class EnvironmentalSensorsNode(AndroidServiceBase):
diff --git a/server/nodes/android/location.py b/server/nodes/android/location/__init__.py
similarity index 82%
rename from server/nodes/android/location.py
rename to server/nodes/android/location/__init__.py
index c7539196..56750973 100644
--- a/server/nodes/android/location.py
+++ b/server/nodes/android/location/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class LocationNode(AndroidServiceBase):
diff --git a/server/nodes/android/media_control.py b/server/nodes/android/media_control/__init__.py
similarity index 81%
rename from server/nodes/android/media_control.py
rename to server/nodes/android/media_control/__init__.py
index c5fd2234..4c883703 100644
--- a/server/nodes/android/media_control.py
+++ b/server/nodes/android/media_control/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class MediaControlNode(AndroidServiceBase):
diff --git a/server/nodes/android/motion_detection.py b/server/nodes/android/motion_detection/__init__.py
similarity index 83%
rename from server/nodes/android/motion_detection.py
rename to server/nodes/android/motion_detection/__init__.py
index c1697104..da7fbe55 100644
--- a/server/nodes/android/motion_detection.py
+++ b/server/nodes/android/motion_detection/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class MotionDetectionNode(AndroidServiceBase):
diff --git a/server/nodes/android/network_monitor.py b/server/nodes/android/network_monitor/__init__.py
similarity index 83%
rename from server/nodes/android/network_monitor.py
rename to server/nodes/android/network_monitor/__init__.py
index e448083d..67f50ac3 100644
--- a/server/nodes/android/network_monitor.py
+++ b/server/nodes/android/network_monitor/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class NetworkMonitorNode(AndroidServiceBase):
diff --git a/server/nodes/android/screen_control_automation.py b/server/nodes/android/screen_control_automation/__init__.py
similarity index 84%
rename from server/nodes/android/screen_control_automation.py
rename to server/nodes/android/screen_control_automation/__init__.py
index 4e1bc442..f0aff02d 100644
--- a/server/nodes/android/screen_control_automation.py
+++ b/server/nodes/android/screen_control_automation/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class ScreenControlAutomationNode(AndroidServiceBase):
diff --git a/server/nodes/android/system_info.py b/server/nodes/android/system_info/__init__.py
similarity index 79%
rename from server/nodes/android/system_info.py
rename to server/nodes/android/system_info/__init__.py
index 62812b70..a61b5746 100644
--- a/server/nodes/android/system_info.py
+++ b/server/nodes/android/system_info/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class SystemInfoNode(AndroidServiceBase):
diff --git a/server/nodes/android/wifi_automation.py b/server/nodes/android/wifi_automation/__init__.py
similarity index 80%
rename from server/nodes/android/wifi_automation.py
rename to server/nodes/android/wifi_automation/__init__.py
index 7e8686b7..6bfbcacb 100644
--- a/server/nodes/android/wifi_automation.py
+++ b/server/nodes/android/wifi_automation/__init__.py
@@ -1,4 +1,4 @@
-from ._base import AndroidServiceBase
+from .._base import AndroidServiceBase
class WifiAutomationNode(AndroidServiceBase):