MCPcopy Create free account

hub / github.com/zai-org/Open-AutoGLM / functions

Functions223 in github.com/zai-org/Open-AutoGLM

↓ 1 callersMethodtap
Tap at coordinates.
phone_agent/device_factory.py:56
↓ 1 callersMethodtype_text
Type text.
phone_agent/device_factory.py:108
Method__init__
Initialize the device factory. Args: device_type: The type of device to use (ADB or HDC).
phone_agent/device_factory.py:22
Method__init__
( self, model_config: ModelConfig | None = None, agent_config: IOSAgentConfig | None =
phone_agent/agent_ios.py:67
Method__init__
( self, model_config: ModelConfig | None = None, agent_config: AgentConfig | None = No
phone_agent/agent.py:64
Method__init__
( self, wda_url: str = "http://localhost:8100", session_id: str | None = None,
phone_agent/actions/handler_ios.py:41
Method__init__
( self, device_id: str | None = None, confirmation_callback: Callable[[str], bool] | N
phone_agent/actions/handler.py:35
Method__init__
Initialize HDC connection manager. Args: hdc_path: Path to HDC executable.
phone_agent/hdc/connection.py:82
Method__init__
(self, config: ModelConfig | None = None)
phone_agent/model/client.py:49
Method__init__
Initialize iOS connection manager. Args: wda_url: WebDriverAgent URL (default: http://localhost:8100).
phone_agent/xctest/connection.py:47
Method__init__
Initialize ADB connection manager. Args: adb_path: Path to ADB executable.
phone_agent/adb/connection.py:47
Method__init__
Initialize all timing configurations.
phone_agent/config/timing.py:107
Method__post_init__
(self)
phone_agent/agent_ios.py:28
Method__post_init__
(self)
phone_agent/agent.py:26
Method__post_init__
Load values from environment variables if present.
phone_agent/config/timing.py:21
Method__post_init__
Load values from environment variables if present.
phone_agent/config/timing.py:51
Method__post_init__
Load values from environment variables if present.
phone_agent/config/timing.py:89
Method_default_confirmation
Default confirmation callback using console input.
phone_agent/actions/handler_ios.py:272
Method_default_confirmation
Default confirmation callback using console input.
phone_agent/actions/handler.py:321
Method_default_takeover
Default takeover callback using console input.
phone_agent/actions/handler_ios.py:278
Method_default_takeover
Default takeover callback using console input.
phone_agent/actions/handler.py:327
Method_handle_back
Handle back gesture (swipe from left edge).
phone_agent/actions/handler_ios.py:201
Method_handle_back
Handle back button action.
phone_agent/actions/handler.py:190
Method_handle_call_api
Handle API call action (placeholder for summarization).
phone_agent/actions/handler_ios.py:260
Method_handle_call_api
Handle API call action (placeholder for summarization).
phone_agent/actions/handler.py:247
Method_handle_double_tap
Handle double tap action.
phone_agent/actions/handler_ios.py:211
Method_handle_double_tap
Handle double tap action.
phone_agent/actions/handler.py:202
Method_handle_home
Handle home button action.
phone_agent/actions/handler_ios.py:206
Method_handle_home
Handle home button action.
phone_agent/actions/handler.py:196
Method_handle_interact
Handle interaction request (user choice needed).
phone_agent/actions/handler_ios.py:266
Method_handle_interact
Handle interaction request (user choice needed).
phone_agent/actions/handler.py:253
Method_handle_launch
Handle app launch action.
phone_agent/actions/handler_ios.py:126
Method_handle_launch
Handle app launch action.
phone_agent/actions/handler.py:118
Method_handle_long_press
Handle long press action.
phone_agent/actions/handler_ios.py:221
Method_handle_long_press
Handle long press action.
phone_agent/actions/handler.py:213
Method_handle_note
Handle note action (placeholder for content recording).
phone_agent/actions/handler_ios.py:254
Method_handle_note
Handle note action (placeholder for content recording).
phone_agent/actions/handler.py:241
Method_handle_swipe
Handle swipe action.
phone_agent/actions/handler_ios.py:178
Method_handle_swipe
Handle swipe action.
phone_agent/actions/handler.py:175
Method_handle_takeover
Handle takeover request (login, captcha, etc.).
phone_agent/actions/handler_ios.py:248
Method_handle_takeover
Handle takeover request (login, captcha, etc.).
phone_agent/actions/handler.py:235
Method_handle_tap
Handle tap action.
phone_agent/actions/handler_ios.py:139
Method_handle_tap
Handle tap action.
phone_agent/actions/handler.py:130
Method_handle_type
Handle text input action.
phone_agent/actions/handler_ios.py:161
Method_handle_type
Handle text input action.
phone_agent/actions/handler.py:151
Method_handle_wait
Handle wait action.
phone_agent/actions/handler_ios.py:237
Method_handle_wait
Handle wait action.
phone_agent/actions/handler.py:224
Method_send_keyevent
Send a keyevent to the device.
phone_agent/actions/handler.py:258
Functionback
Press the back button. Args: device_id: Optional HDC device ID. delay: Delay in seconds after pressing back. If None, uses c
phone_agent/hdc/device.py:213
Functionback
Press the back button. Args: device_id: Optional ADB device ID. delay: Delay in seconds after pressing back. If None, uses c
phone_agent/adb/device.py:170
Functioncheck_app_installed
Check if an app is installed on the iOS device. Args: app_name: The display name of the app. wda_url: WebDriverAgent URL.
phone_agent/config/apps_ios.py:243
Functioncheck_model_api
Check if the model API is accessible and the specified model exists. Checks: 1. Network connectivity to the API endpoint 2. Model ex
ios.py:162
Functionclear_text
Clear text in the currently focused input field. Args: device_id: Optional HDC device ID for multi-device setups. Note:
phone_agent/hdc/input.py:66
Functionclear_text
Clear text in the currently focused input field. Args: wda_url: WebDriverAgent URL. session_id: Optional WDA session ID.
phone_agent/xctest/input.py:64
Methodcontext
Get the current conversation context.
phone_agent/agent_ios.py:270
Methodcontext
Get the current conversation context.
phone_agent/agent.py:246
Functiondetect_and_set_adb_keyboard
Detect current keyboard and switch to ADB Keyboard if available. Args: device_id: Optional HDC device ID for multi-device setups.
phone_agent/hdc/input.py:92
Functiondetect_and_set_adb_keyboard
Detect current keyboard and switch to ADB Keyboard if needed. Args: device_id: Optional ADB device ID for multi-device setups.
phone_agent/adb/input.py:56
Functiondo
Helper function for creating 'do' actions.
phone_agent/actions/handler.py:390
Functiondouble_tap
Double tap at the specified coordinates. Args: x: X coordinate. y: Y coordinate. device_id: Optional HDC device ID.
phone_agent/hdc/device.py:105
Functiondouble_tap
Double tap at the specified coordinates. Args: x: X coordinate. y: Y coordinate. device_id: Optional ADB device ID.
phone_agent/adb/device.py:64
Methodenable_tcpip
Enable TCP/IP debugging on a USB-connected device. This allows subsequent wireless connections to the device. Args:
phone_agent/adb/connection.py:219
Functionexample_multiple_tasks
Batch task example / 批量任务示例
examples/basic_usage.py:93
Functionexample_remote_device
Remote device example / 远程设备示例
examples/basic_usage.py:118
Functionexample_step_by_step
Step-by-step execution example (for debugging) / 单步执行示例(用于调试)
examples/basic_usage.py:73
Functionexample_with_callbacks
Task example with callbacks / 带回调的任务示例
examples/basic_usage.py:44
Methodexecute
Execute an action from the AI model. Args: action: The action dictionary from the model. screen_width: Curre
phone_agent/actions/handler_ios.py:53
Functionget_app_info_by_id
Get app information from iTunes API using App Store ID. Args: app_store_id: The numeric App Store ID (e.g., "414478124" for WeChat).
phone_agent/config/apps_ios.py:312
Functionget_app_info_from_itunes
Get app information from iTunes API using bundle ID. Args: bundle_id: The iOS bundle ID. Returns: Dictionary with app i
phone_agent/config/apps_ios.py:282
Functionget_app_name
Get the app name from a package name. Args: package_name: The HarmonyOS bundle name. Returns: The display name of the a
phone_agent/config/apps_harmonyos.py:243
Functionget_app_name
Get the app name from a package name. Args: package_name: The Android package name. Returns: The display name of the ap
phone_agent/config/apps.py:204
Functionget_app_name
Get the app name from an iOS bundle ID. Args: bundle_id: The iOS bundle ID. Returns: The display name of the app, or No
phone_agent/config/apps_ios.py:217
Functionget_current_app
Get the currently focused app name. Args: device_id: Optional ADB device ID for multi-device setups. Returns: The app n
phone_agent/adb/device.py:12
Methodget_device_info
Get detailed information about a device. Args: device_id: Device ID. If None, uses first available device. Retu
phone_agent/hdc/connection.py:212
Methodget_device_info
Get detailed information about a device. Args: device_id: Device UDID. If None, uses first available device. Re
phone_agent/xctest/connection.py:152
Methodget_device_info
Get detailed information about a device. Args: device_id: Device ID. If None, uses first available device. Retu
phone_agent/adb/connection.py:175
Methodget_device_ip
Get the IP address of a connected device. Args: device_id: Device ID. If None, uses first available device. Ret
phone_agent/adb/connection.py:257
Methodget_device_name
Get the device name. Args: device_id: Device UDID. If None, uses first available device. Returns: D
phone_agent/xctest/connection.py:307
Functionget_package_name
Get the package name for an app. Args: app_name: The display name of the app. Returns: The HarmonyOS bundle name, or No
phone_agent/config/apps_harmonyos.py:230
Functionget_package_name
Get the package name for an app. Args: app_name: The display name of the app. Returns: The Android package name, or Non
phone_agent/config/apps.py:191
Functionget_pasteboard
Get the device pasteboard (clipboard) content. Args: wda_url: WebDriverAgent URL. Returns: Pasteboard content or None i
phone_agent/xctest/input.py:271
Functionget_screen_size
Get the screen dimensions. Args: wda_url: WebDriverAgent URL. session_id: Optional WDA session ID. Returns: Tup
phone_agent/xctest/device.py:395
Functionget_screenshot
Capture a screenshot from the connected HarmonyOS device. Args: device_id: Optional HDC device ID for multi-device setups. t
phone_agent/hdc/screenshot.py:26
Functionget_screenshot
Capture a screenshot from the connected Android device. Args: device_id: Optional ADB device ID for multi-device setups. tim
phone_agent/adb/screenshot.py:25
Functionget_screenshot_png
Get screenshot as PNG bytes. Args: wda_url: WebDriverAgent URL. session_id: Optional WDA session ID. device_id: Opti
phone_agent/xctest/screenshot.py:209
Functionget_timing_config
Get the global timing configuration. Returns: The global TimingConfig instance.
phone_agent/config/timing.py:119
Functionhome
Press the home button. Args: device_id: Optional HDC device ID. delay: Delay in seconds after pressing home. If None, uses c
phone_agent/hdc/device.py:234
Functionhome
Press the home button. Args: device_id: Optional ADB device ID. delay: Delay in seconds after pressing home. If None, uses c
phone_agent/adb/device.py:189
Methodis_connected
Check if a device is connected. Args: device_id: Device ID to check. If None, checks if any device is connected.
phone_agent/hdc/connection.py:236
Methodis_connected
Check if a device is connected. Args: device_id: Device ID to check. If None, checks if any device is connected.
phone_agent/adb/connection.py:199
Functionis_keyboard_shown
Check if the on-screen keyboard is currently shown. Args: wda_url: WebDriverAgent URL. session_id: Optional WDA session ID.
phone_agent/xctest/input.py:208
Functionlaunch_app
Launch an app by name. Args: app_name: The app name (must be in APP_PACKAGES). device_id: Optional HDC device ID. de
phone_agent/hdc/device.py:255
Functionlaunch_app
Launch an app by name. Args: app_name: The app name (must be in APP_PACKAGES). device_id: Optional ADB device ID. de
phone_agent/adb/device.py:208
Functionlist_devices
Quick helper to list connected devices. Returns: List of DeviceInfo objects.
phone_agent/hdc/connection.py:373
Functionlist_devices
Quick helper to list connected devices. Returns: List of DeviceInfo objects.
phone_agent/adb/connection.py:345
Functionlist_supported_apps
Get a list of all supported app names. Returns: List of app names.
phone_agent/config/apps_harmonyos.py:259
Functionlong_press
Long press at the specified coordinates. Args: x: X coordinate. y: Y coordinate. duration_ms: Duration of press in m
phone_agent/hdc/device.py:130
Functionlong_press
Long press at the specified coordinates. Args: x: X coordinate. y: Y coordinate. duration_ms: Duration of press in m
phone_agent/adb/device.py:91
Methodmodule
Get the appropriate device module (adb or hdc).
phone_agent/device_factory.py:33
Functionmy_confirmation
Sensitive operation confirmation callback / 敏感操作确认回调
examples/basic_usage.py:48
← previousnext →101–200 of 223, ranked by callers