rocketwright 3.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rocketwright-3.12.0/.gitignore +41 -0
- rocketwright-3.12.0/LICENSE +202 -0
- rocketwright-3.12.0/NOTICE +20 -0
- rocketwright-3.12.0/PKG-INFO +324 -0
- rocketwright-3.12.0/README.md +287 -0
- rocketwright-3.12.0/THIRD_PARTY_LICENSES.md +158 -0
- rocketwright-3.12.0/docs/README.md +69 -0
- rocketwright-3.12.0/docs/media/README.md +25 -0
- rocketwright-3.12.0/examples/README.md +22 -0
- rocketwright-3.12.0/examples/android-app/README.md +37 -0
- rocketwright-3.12.0/examples/cef-app-sdk/README.md +14 -0
- rocketwright-3.12.0/examples/claude-code-cli/README.md +52 -0
- rocketwright-3.12.0/examples/codex/README.md +12 -0
- rocketwright-3.12.0/examples/cursor/README.md +12 -0
- rocketwright-3.12.0/examples/custom-connector/README.md +46 -0
- rocketwright-3.12.0/examples/embed-host/README.md +23 -0
- rocketwright-3.12.0/examples/fastapi-embed/README.md +50 -0
- rocketwright-3.12.0/examples/iframe/README.md +26 -0
- rocketwright-3.12.0/examples/mac-app-sdk/README.md +19 -0
- rocketwright-3.12.0/examples/tauri-app-sdk/README.md +25 -0
- rocketwright-3.12.0/examples/token-budget/README.md +48 -0
- rocketwright-3.12.0/examples/web-component/README.md +49 -0
- rocketwright-3.12.0/helper/Package.swift +43 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Accessibility.swift +179 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Arguments.swift +245 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Capture.swift +202 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/FrameScheduler.swift +72 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Input.swift +171 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/JSON.swift +84 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/MacWindow.swift +152 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Orientation.swift +131 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Overlay.swift +285 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Recording.swift +434 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Requests.swift +159 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Rotation.swift +58 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Screen.swift +142 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Server.swift +223 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Video.swift +125 -0
- rocketwright-3.12.0/helper/Sources/HelperCore/Wire.swift +122 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/AccessibilityReader.swift +204 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/CaptureDevice.swift +195 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/Disclaimed.swift +46 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/Framebuffer.swift +141 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/Frameworks.swift +84 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/H264Stream.swift +295 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/HIDTransports.swift +149 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/MacAccessibility.swift +241 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/MacOverlay.swift +352 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/MacPermissions.swift +34 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/MacWindowCapture.swift +76 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/MacWindowDevice.swift +153 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/Pictures.swift +73 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/PixelSource.swift +91 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/RecordingRenderer.swift +395 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/ScreenFeed.swift +60 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/SimDeviceHandle.swift +67 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/SimulatorDevice.swift +154 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/UnixSocket.swift +119 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/UsbCapture.swift +245 -0
- rocketwright-3.12.0/helper/Sources/HelperPlatform/Warming.swift +29 -0
- rocketwright-3.12.0/helper/Sources/ObjCGuard/ObjCGuard.m +11 -0
- rocketwright-3.12.0/helper/Sources/ObjCGuard/include/ObjCGuard.h +12 -0
- rocketwright-3.12.0/helper/Sources/rocketwright-helper/main.swift +162 -0
- rocketwright-3.12.0/helper/Support/Info.plist +12 -0
- rocketwright-3.12.0/helper/Tests/Fixtures/wire-vectors.json +69 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/AccessibilityTests.swift +73 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/ArgumentsTests.swift +63 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/CaptureTests.swift +108 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/InputTests.swift +90 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/MacWindowTests.swift +101 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/OrientationTests.swift +128 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/OverlayTests.swift +283 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/PictureTests.swift +129 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/RecordingTests.swift +261 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/RotationTests.swift +41 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/ServerTests.swift +293 -0
- rocketwright-3.12.0/helper/Tests/HelperCoreTests/WireTests.swift +122 -0
- rocketwright-3.12.0/protocol/README.md +93 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/error-inactive.json +6 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/error-unauthorized.json +6 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/hierarchy-alert.json +158 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/hierarchy-keyboard.json +446 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/hierarchy-swiftui.json +234 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/hierarchy-tagged.json +254 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/hierarchy-uikit.json +375 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/examples/listing.json +12 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/hierarchy.schema.json +167 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/input.schema.json +210 -0
- rocketwright-3.12.0/protocol/app-sdk/v1/listing.schema.json +89 -0
- rocketwright-3.12.0/protocol/v1/agent-event.schema.json +110 -0
- rocketwright-3.12.0/protocol/v1/client-input.schema.json +297 -0
- rocketwright-3.12.0/protocol/v1/close-codes.json +33 -0
- rocketwright-3.12.0/protocol/v1/common.schema.json +173 -0
- rocketwright-3.12.0/protocol/v1/constants.json +14 -0
- rocketwright-3.12.0/protocol/v1/hello.schema.json +50 -0
- rocketwright-3.12.0/protocol/v1/http.schema.json +342 -0
- rocketwright-3.12.0/protocol/v1/input-refused.schema.json +12 -0
- rocketwright-3.12.0/protocol/v1/screen-text.schema.json +43 -0
- rocketwright-3.12.0/protocol/v1/settings.schema.json +213 -0
- rocketwright-3.12.0/protocol/v1/status.schema.json +134 -0
- rocketwright-3.12.0/protocol/v1/stream.schema.json +12 -0
- rocketwright-3.12.0/pyproject.toml +172 -0
- rocketwright-3.12.0/scripts/hatch_build.py +74 -0
- rocketwright-3.12.0/sdk/cef/README.md +70 -0
- rocketwright-3.12.0/sdk/web/README.md +33 -0
- rocketwright-3.12.0/src/rocketwright/__init__.py +6 -0
- rocketwright-3.12.0/src/rocketwright/__main__.py +7 -0
- rocketwright-3.12.0/src/rocketwright/_version.py +4 -0
- rocketwright-3.12.0/src/rocketwright/api.py +103 -0
- rocketwright-3.12.0/src/rocketwright/build/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/build/checkouts.py +271 -0
- rocketwright-3.12.0/src/rocketwright/build/derived.py +111 -0
- rocketwright-3.12.0/src/rocketwright/build/destination.py +102 -0
- rocketwright-3.12.0/src/rocketwright/build/flutter.py +542 -0
- rocketwright-3.12.0/src/rocketwright/build/flutter_log.py +205 -0
- rocketwright-3.12.0/src/rocketwright/build/flutter_run.py +343 -0
- rocketwright-3.12.0/src/rocketwright/build/folders.py +38 -0
- rocketwright-3.12.0/src/rocketwright/build/gradle.py +489 -0
- rocketwright-3.12.0/src/rocketwright/build/gradle_log.py +73 -0
- rocketwright-3.12.0/src/rocketwright/build/junit.py +125 -0
- rocketwright-3.12.0/src/rocketwright/build/project_files.py +52 -0
- rocketwright-3.12.0/src/rocketwright/build/provider.py +461 -0
- rocketwright-3.12.0/src/rocketwright/build/runner.py +601 -0
- rocketwright-3.12.0/src/rocketwright/build/schemes.py +129 -0
- rocketwright-3.12.0/src/rocketwright/build/source.py +59 -0
- rocketwright-3.12.0/src/rocketwright/build/stamp.py +192 -0
- rocketwright-3.12.0/src/rocketwright/build/wda.py +147 -0
- rocketwright-3.12.0/src/rocketwright/build/xcodebuild.py +734 -0
- rocketwright-3.12.0/src/rocketwright/build/xcresult.py +365 -0
- rocketwright-3.12.0/src/rocketwright/build/xctestplan.py +105 -0
- rocketwright-3.12.0/src/rocketwright/cli/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/cli/android.py +135 -0
- rocketwright-3.12.0/src/rocketwright/cli/app_command.py +129 -0
- rocketwright-3.12.0/src/rocketwright/cli/config_command.py +150 -0
- rocketwright-3.12.0/src/rocketwright/cli/context.py +187 -0
- rocketwright-3.12.0/src/rocketwright/cli/device_command.py +58 -0
- rocketwright-3.12.0/src/rocketwright/cli/devices.py +142 -0
- rocketwright-3.12.0/src/rocketwright/cli/doctor.py +82 -0
- rocketwright-3.12.0/src/rocketwright/cli/helper.py +251 -0
- rocketwright-3.12.0/src/rocketwright/cli/login.py +113 -0
- rocketwright-3.12.0/src/rocketwright/cli/main.py +80 -0
- rocketwright-3.12.0/src/rocketwright/cli/mcp.py +56 -0
- rocketwright-3.12.0/src/rocketwright/cli/open_viewer.py +53 -0
- rocketwright-3.12.0/src/rocketwright/cli/record.py +130 -0
- rocketwright-3.12.0/src/rocketwright/cli/serve.py +76 -0
- rocketwright-3.12.0/src/rocketwright/cli/settings_command.py +38 -0
- rocketwright-3.12.0/src/rocketwright/cli/stop.py +209 -0
- rocketwright-3.12.0/src/rocketwright/cli/tokens.py +88 -0
- rocketwright-3.12.0/src/rocketwright/cli/tools.py +29 -0
- rocketwright-3.12.0/src/rocketwright/cli/version.py +31 -0
- rocketwright-3.12.0/src/rocketwright/cli/wda.py +285 -0
- rocketwright-3.12.0/src/rocketwright/cli/xcode.py +90 -0
- rocketwright-3.12.0/src/rocketwright/config/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/config/discovery.py +19 -0
- rocketwright-3.12.0/src/rocketwright/config/env.py +34 -0
- rocketwright-3.12.0/src/rocketwright/config/model.py +174 -0
- rocketwright-3.12.0/src/rocketwright/config/observe_languages.py +91 -0
- rocketwright-3.12.0/src/rocketwright/config/provenance.py +39 -0
- rocketwright-3.12.0/src/rocketwright/config/schema.py +1103 -0
- rocketwright-3.12.0/src/rocketwright/config/settings_store.py +34 -0
- rocketwright-3.12.0/src/rocketwright/config/toml_source.py +139 -0
- rocketwright-3.12.0/src/rocketwright/config/writer.py +218 -0
- rocketwright-3.12.0/src/rocketwright/connectors/__init__.py +8 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/adb_input.py +134 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/connector.py +230 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/geometry.py +115 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/keys.py +59 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/scrcpy.py +269 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/scrcpy_roles.py +202 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/scrcpy_source.py +204 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/screen.py +69 -0
- rocketwright-3.12.0/src/rocketwright/connectors/android/uiautomator.py +256 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/__init__.py +12 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/client.py +160 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/discovery.py +182 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/document.py +229 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/errors.py +30 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/merge.py +95 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/reader.py +218 -0
- rocketwright-3.12.0/src/rocketwright/connectors/app/wire.py +37 -0
- rocketwright-3.12.0/src/rocketwright/connectors/base.py +375 -0
- rocketwright-3.12.0/src/rocketwright/connectors/helper_process.py +414 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/companion.py +195 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/connector.py +93 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/engine.py +202 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/frameworks.py +51 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/orientation.py +157 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/proto/__init__.py +8 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/proto/idb.proto +1301 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/proto/idb_grpc.py +776 -0
- rocketwright-3.12.0/src/rocketwright/connectors/idb/proto/idb_pb2.py +452 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/cable.py +49 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/capture.py +147 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/connector.py +409 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/screen.py +78 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/wda.py +320 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/wda_client.py +347 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/wda_roles.py +520 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/wda_setup.py +178 -0
- rocketwright-3.12.0/src/rocketwright/connectors/iphone/wda_source.py +247 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mac/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mac/connector.py +344 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/client.py +140 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/connector.py +84 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/hierarchy.py +225 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/merge.py +68 -0
- rocketwright-3.12.0/src/rocketwright/connectors/mcpbridge/reader.py +221 -0
- rocketwright-3.12.0/src/rocketwright/connectors/native/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/native/client.py +275 -0
- rocketwright-3.12.0/src/rocketwright/connectors/native/connector.py +182 -0
- rocketwright-3.12.0/src/rocketwright/connectors/native/helper.py +490 -0
- rocketwright-3.12.0/src/rocketwright/connectors/native/wire.py +98 -0
- rocketwright-3.12.0/src/rocketwright/connectors/registry.py +231 -0
- rocketwright-3.12.0/src/rocketwright/connectors/simctl/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/connectors/simctl/capture.py +66 -0
- rocketwright-3.12.0/src/rocketwright/connectors/simctl/connector.py +78 -0
- rocketwright-3.12.0/src/rocketwright/core/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/core/actions.py +1825 -0
- rocketwright-3.12.0/src/rocketwright/core/activity.py +155 -0
- rocketwright-3.12.0/src/rocketwright/core/android_backend.py +256 -0
- rocketwright-3.12.0/src/rocketwright/core/android_control.py +442 -0
- rocketwright-3.12.0/src/rocketwright/core/android_devices.py +260 -0
- rocketwright-3.12.0/src/rocketwright/core/availability.py +63 -0
- rocketwright-3.12.0/src/rocketwright/core/backends.py +277 -0
- rocketwright-3.12.0/src/rocketwright/core/cleanup.py +127 -0
- rocketwright-3.12.0/src/rocketwright/core/contact_sheet.py +75 -0
- rocketwright-3.12.0/src/rocketwright/core/control.py +457 -0
- rocketwright-3.12.0/src/rocketwright/core/device_changes.py +300 -0
- rocketwright-3.12.0/src/rocketwright/core/device_logs.py +168 -0
- rocketwright-3.12.0/src/rocketwright/core/device_settings.py +112 -0
- rocketwright-3.12.0/src/rocketwright/core/devices.py +564 -0
- rocketwright-3.12.0/src/rocketwright/core/drivers.py +150 -0
- rocketwright-3.12.0/src/rocketwright/core/events.py +46 -0
- rocketwright-3.12.0/src/rocketwright/core/flows.py +353 -0
- rocketwright-3.12.0/src/rocketwright/core/frames.py +413 -0
- rocketwright-3.12.0/src/rocketwright/core/gestures.py +268 -0
- rocketwright-3.12.0/src/rocketwright/core/given.py +89 -0
- rocketwright-3.12.0/src/rocketwright/core/instance.py +244 -0
- rocketwright-3.12.0/src/rocketwright/core/login.py +252 -0
- rocketwright-3.12.0/src/rocketwright/core/mac_backend.py +168 -0
- rocketwright-3.12.0/src/rocketwright/core/manager.py +1536 -0
- rocketwright-3.12.0/src/rocketwright/core/masking.py +113 -0
- rocketwright-3.12.0/src/rocketwright/core/reaper.py +98 -0
- rocketwright-3.12.0/src/rocketwright/core/recording_sources.py +168 -0
- rocketwright-3.12.0/src/rocketwright/core/recordings.py +1101 -0
- rocketwright-3.12.0/src/rocketwright/core/refusals.py +275 -0
- rocketwright-3.12.0/src/rocketwright/core/render.py +97 -0
- rocketwright-3.12.0/src/rocketwright/core/runtime.py +600 -0
- rocketwright-3.12.0/src/rocketwright/core/screen_input.py +269 -0
- rocketwright-3.12.0/src/rocketwright/core/screen_relay.py +327 -0
- rocketwright-3.12.0/src/rocketwright/core/selections.py +194 -0
- rocketwright-3.12.0/src/rocketwright/core/signing.py +94 -0
- rocketwright-3.12.0/src/rocketwright/core/status.py +69 -0
- rocketwright-3.12.0/src/rocketwright/core/text_entry.py +126 -0
- rocketwright-3.12.0/src/rocketwright/core/text_overlay.py +71 -0
- rocketwright-3.12.0/src/rocketwright/core/tickets.py +43 -0
- rocketwright-3.12.0/src/rocketwright/core/touch.py +225 -0
- rocketwright-3.12.0/src/rocketwright/daemon/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/daemon/app.py +550 -0
- rocketwright-3.12.0/src/rocketwright/daemon/auth.py +210 -0
- rocketwright-3.12.0/src/rocketwright/daemon/confirmations.py +110 -0
- rocketwright-3.12.0/src/rocketwright/daemon/health.py +47 -0
- rocketwright-3.12.0/src/rocketwright/daemon/lease.py +76 -0
- rocketwright-3.12.0/src/rocketwright/daemon/lifecycle.py +105 -0
- rocketwright-3.12.0/src/rocketwright/daemon/passes.py +151 -0
- rocketwright-3.12.0/src/rocketwright/daemon/pauses.py +46 -0
- rocketwright-3.12.0/src/rocketwright/daemon/policy.py +39 -0
- rocketwright-3.12.0/src/rocketwright/daemon/scope_names.py +81 -0
- rocketwright-3.12.0/src/rocketwright/daemon/tokens.py +302 -0
- rocketwright-3.12.0/src/rocketwright/doctor/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/doctor/android.py +118 -0
- rocketwright-3.12.0/src/rocketwright/doctor/checks.py +548 -0
- rocketwright-3.12.0/src/rocketwright/doctor/flutter.py +32 -0
- rocketwright-3.12.0/src/rocketwright/doctor/macos.py +104 -0
- rocketwright-3.12.0/src/rocketwright/doctor/real_devices.py +250 -0
- rocketwright-3.12.0/src/rocketwright/doctor/report.py +59 -0
- rocketwright-3.12.0/src/rocketwright/doctor/tap.py +142 -0
- rocketwright-3.12.0/src/rocketwright/doctor/worktree.py +90 -0
- rocketwright-3.12.0/src/rocketwright/host_copy.py +436 -0
- rocketwright-3.12.0/src/rocketwright/hosting.py +221 -0
- rocketwright-3.12.0/src/rocketwright/legacy.py +72 -0
- rocketwright-3.12.0/src/rocketwright/mcp/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/mcp/launcher.py +685 -0
- rocketwright-3.12.0/src/rocketwright/mcp/relay.py +794 -0
- rocketwright-3.12.0/src/rocketwright/perception/__init__.py +9 -0
- rocketwright-3.12.0/src/rocketwright/perception/backtracking.py +276 -0
- rocketwright-3.12.0/src/rocketwright/perception/bar_names.py +49 -0
- rocketwright-3.12.0/src/rocketwright/perception/budget.py +66 -0
- rocketwright-3.12.0/src/rocketwright/perception/capture.py +36 -0
- rocketwright-3.12.0/src/rocketwright/perception/imagehash.py +81 -0
- rocketwright-3.12.0/src/rocketwright/perception/in_front.py +116 -0
- rocketwright-3.12.0/src/rocketwright/perception/model.py +92 -0
- rocketwright-3.12.0/src/rocketwright/perception/occlusion.py +393 -0
- rocketwright-3.12.0/src/rocketwright/perception/ocr.py +289 -0
- rocketwright-3.12.0/src/rocketwright/perception/orientation.py +177 -0
- rocketwright-3.12.0/src/rocketwright/perception/readers.py +488 -0
- rocketwright-3.12.0/src/rocketwright/perception/settle.py +241 -0
- rocketwright-3.12.0/src/rocketwright/perception/snapshot.py +500 -0
- rocketwright-3.12.0/src/rocketwright/perception/system_alert.py +87 -0
- rocketwright-3.12.0/src/rocketwright/perception/vision/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/perception/vision/helper.py +355 -0
- rocketwright-3.12.0/src/rocketwright/perception/vision/probe.py +24 -0
- rocketwright-3.12.0/src/rocketwright/perception/vision/text_recognizer.swift +144 -0
- rocketwright-3.12.0/src/rocketwright/perception/wait.py +236 -0
- rocketwright-3.12.0/src/rocketwright/platform/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/platform/adb.py +488 -0
- rocketwright-3.12.0/src/rocketwright/platform/android_sdk.py +171 -0
- rocketwright-3.12.0/src/rocketwright/platform/codesign.py +38 -0
- rocketwright-3.12.0/src/rocketwright/platform/developer_dir.py +72 -0
- rocketwright-3.12.0/src/rocketwright/platform/device_data.py +65 -0
- rocketwright-3.12.0/src/rocketwright/platform/devicectl.py +414 -0
- rocketwright-3.12.0/src/rocketwright/platform/emulator.py +268 -0
- rocketwright-3.12.0/src/rocketwright/platform/errors.py +15 -0
- rocketwright-3.12.0/src/rocketwright/platform/flutter.py +142 -0
- rocketwright-3.12.0/src/rocketwright/platform/git.py +63 -0
- rocketwright-3.12.0/src/rocketwright/platform/identifiers.py +84 -0
- rocketwright-3.12.0/src/rocketwright/platform/images.py +61 -0
- rocketwright-3.12.0/src/rocketwright/platform/java.py +71 -0
- rocketwright-3.12.0/src/rocketwright/platform/json_lines.py +266 -0
- rocketwright-3.12.0/src/rocketwright/platform/keyboard.py +110 -0
- rocketwright-3.12.0/src/rocketwright/platform/keychain.py +79 -0
- rocketwright-3.12.0/src/rocketwright/platform/keymap.py +95 -0
- rocketwright-3.12.0/src/rocketwright/platform/local_signing.py +241 -0
- rocketwright-3.12.0/src/rocketwright/platform/lockdown.py +192 -0
- rocketwright-3.12.0/src/rocketwright/platform/macos.py +221 -0
- rocketwright-3.12.0/src/rocketwright/platform/passwords.py +393 -0
- rocketwright-3.12.0/src/rocketwright/platform/process.py +118 -0
- rocketwright-3.12.0/src/rocketwright/platform/simctl.py +400 -0
- rocketwright-3.12.0/src/rocketwright/platform/swift.py +76 -0
- rocketwright-3.12.0/src/rocketwright/platform/swiftpm.py +52 -0
- rocketwright-3.12.0/src/rocketwright/platform/usbmux.py +205 -0
- rocketwright-3.12.0/src/rocketwright/platform/xcode.py +30 -0
- rocketwright-3.12.0/src/rocketwright/platform/xcrun.py +129 -0
- rocketwright-3.12.0/src/rocketwright/protocol/__init__.py +47 -0
- rocketwright-3.12.0/src/rocketwright/protocol/_generated.py +1249 -0
- rocketwright-3.12.0/src/rocketwright/protocol/messages.py +220 -0
- rocketwright-3.12.0/src/rocketwright/py.typed +0 -0
- rocketwright-3.12.0/src/rocketwright/scope.py +106 -0
- rocketwright-3.12.0/src/rocketwright/seams.py +255 -0
- rocketwright-3.12.0/src/rocketwright/server/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/server/agent_routes.py +54 -0
- rocketwright-3.12.0/src/rocketwright/server/envelope.py +28 -0
- rocketwright-3.12.0/src/rocketwright/server/http_routes.py +291 -0
- rocketwright-3.12.0/src/rocketwright/server/log_redaction.py +68 -0
- rocketwright-3.12.0/src/rocketwright/server/pages.py +86 -0
- rocketwright-3.12.0/src/rocketwright/server/security.py +161 -0
- rocketwright-3.12.0/src/rocketwright/server/settings_routes.py +189 -0
- rocketwright-3.12.0/src/rocketwright/server/settings_view.py +92 -0
- rocketwright-3.12.0/src/rocketwright/server/socket_routes.py +61 -0
- rocketwright-3.12.0/src/rocketwright/server/static/viewer/embed.html +14 -0
- rocketwright-3.12.0/src/rocketwright/server/static/viewer/index.html +14 -0
- rocketwright-3.12.0/src/rocketwright/server/static/viewer/start.js +61 -0
- rocketwright-3.12.0/src/rocketwright/storage/__init__.py +3 -0
- rocketwright-3.12.0/src/rocketwright/storage/app_support.py +116 -0
- rocketwright-3.12.0/src/rocketwright/storage/claims.py +147 -0
- rocketwright-3.12.0/src/rocketwright/storage/private.py +135 -0
- rocketwright-3.12.0/src/rocketwright/testing/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/testing/adb.py +422 -0
- rocketwright-3.12.0/src/rocketwright/testing/android_sdk.py +44 -0
- rocketwright-3.12.0/src/rocketwright/testing/app_sdk.py +211 -0
- rocketwright-3.12.0/src/rocketwright/testing/asgi.py +96 -0
- rocketwright-3.12.0/src/rocketwright/testing/checkouts.py +72 -0
- rocketwright-3.12.0/src/rocketwright/testing/contract.py +120 -0
- rocketwright-3.12.0/src/rocketwright/testing/daemon.py +94 -0
- rocketwright-3.12.0/src/rocketwright/testing/fakes.py +1115 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/README.md +6 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-am-start-bad.txt +3 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-am-start.txt +8 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-logcat-uid.txt +12 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-package-missing.txt +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-package.txt +45 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-pm-uid.txt +2 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-uiautomator-landscape.xml +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-uiautomator-search.xml +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-uiautomator-settings.xml +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-window-search.txt +493 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/android-window-settings.txt +491 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-ios27.json +162 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-ipad-landscape-left-ios26.json +551 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-ipad-upside-down-ios26.json +491 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-turned-left-ios26.json +457 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-turned-right-ios26.json +491 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-alert-upright-ios26.json +469 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-app-sdk-alert.json +137 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-app-sdk-keyboard.json +1257 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-app-sdk-swiftui.json +340 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-app-sdk-tagged.json +237 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-app-sdk-uikit.json +340 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-files-navigation-bar-de-ios26.json +551 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-files-tab-bar-de-ios26.json +495 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-floating-button-ios26.json +541 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-health-tab-bar-ios26.json +488 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-home-complete.json +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-home-ios27.json +447 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-keyboard-ios27.json +1261 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-macos-chromium.json +5525 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-macos-webkit.json +5927 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-native-files-navigation-bar-de-ios26.json +427 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-probe-ios27.json +444 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-probe-ipad-upside-down-ios26.json +133 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-probe-rotated-left-ios26.json +133 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-safari-ios27.json +188 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-safari-typed.json +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-back-button-ios26.json +395 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-interactable.json +1 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-ios27.json +425 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-search-field-ios26.json +426 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-toolbar-ja-ios26.json +397 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-settings-under-navigation-bar-ios26.json +533 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-landscape-left-ios26.json +363 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-landscape-right-ios26.json +363 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-maps-alert-ios26.json +382 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-portrait-ios26.json +370 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-reminders-portrait-ios26.json +345 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-safari-landscape-left-ios26.json +1166 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/ax-turned-safari-landscape-right-ios26.json +1166 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/development-certificate.pem +24 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-appearance.json +46 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-apps.json +59 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-devices.json +1065 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-displays.json +63 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-launch-missing.json +58 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-launch.json +53 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-lock-state.json +27 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-processes.json +39 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/devicectl-screenshot.json +31 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/flutter-build-ios-error.log +24 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/flutter-integration-results.json +20 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/flutter-unit-results.json +16 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/gradle-aapt-error.log +55 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/gradle-kotlin-error.log +51 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/gradle-output-metadata.json +21 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/gradle-test-failure.log +166 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/junit-android-failure.xml +48 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-answers.json +183 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-alert.txt +46 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-home.txt +257 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-keyboard.txt +92 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-probe.txt +39 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-safari.txt +77 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/mcpbridge-hierarchy-settings.txt +169 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/simctl-devices.json +73 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/simctl-runtimes.json +114 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-list-names.json +20 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-list.json +17 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-settings-test.json +55 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-settings.json +13 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-test-plans-none.json +3 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcodebuild-test-plans.json +10 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-build-broken.json +32 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-build-ok.json +27 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-build-results-unbuilt.json +36 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-summary-retries.json +56 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-summary-swift-testing-xcode27.json +63 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-summary-swift-testing.json +60 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-summary-unbuilt.json +24 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-summary.json +49 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-tests-retries.json +165 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-tests-swift-testing-xcode27.json +135 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-tests-swift-testing.json +125 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcresult-test-tests.json +93 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcscheme-staging.xcscheme +91 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xcscheme-test-plans.xcscheme +86 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xctestplan-everything.xctestplan +38 -0
- rocketwright-3.12.0/src/rocketwright/testing/fixtures/xctestplan-units-only.xctestplan +42 -0
- rocketwright-3.12.0/src/rocketwright/testing/flutter.py +277 -0
- rocketwright-3.12.0/src/rocketwright/testing/gradle.py +123 -0
- rocketwright-3.12.0/src/rocketwright/testing/guards.py +190 -0
- rocketwright-3.12.0/src/rocketwright/testing/macos.py +92 -0
- rocketwright-3.12.0/src/rocketwright/testing/native.py +243 -0
- rocketwright-3.12.0/src/rocketwright/testing/pictures.py +58 -0
- rocketwright-3.12.0/src/rocketwright/testing/recording.py +67 -0
- rocketwright-3.12.0/src/rocketwright/testing/results.py +16 -0
- rocketwright-3.12.0/src/rocketwright/testing/rig.py +225 -0
- rocketwright-3.12.0/src/rocketwright/testing/scrcpy.py +148 -0
- rocketwright-3.12.0/src/rocketwright/testing/usbmux.py +236 -0
- rocketwright-3.12.0/src/rocketwright/testing/vision.py +86 -0
- rocketwright-3.12.0/src/rocketwright/testing/wda.py +278 -0
- rocketwright-3.12.0/src/rocketwright/tools/__init__.py +2 -0
- rocketwright-3.12.0/src/rocketwright/tools/act.py +86 -0
- rocketwright-3.12.0/src/rocketwright/tools/app.py +209 -0
- rocketwright-3.12.0/src/rocketwright/tools/context.py +232 -0
- rocketwright-3.12.0/src/rocketwright/tools/device.py +510 -0
- rocketwright-3.12.0/src/rocketwright/tools/flow.py +356 -0
- rocketwright-3.12.0/src/rocketwright/tools/login.py +281 -0
- rocketwright-3.12.0/src/rocketwright/tools/matrix.py +397 -0
- rocketwright-3.12.0/src/rocketwright/tools/record.py +184 -0
- rocketwright-3.12.0/src/rocketwright/tools/registry.py +116 -0
- rocketwright-3.12.0/src/rocketwright/tools/results.py +48 -0
- rocketwright-3.12.0/src/rocketwright/tools/schemas.py +648 -0
- rocketwright-3.12.0/src/rocketwright/tools/screenshot.py +158 -0
- rocketwright-3.12.0/src/rocketwright/tools/snapshot.py +36 -0
- rocketwright-3.12.0/src/rocketwright/validation.py +46 -0
- rocketwright-3.12.0/tests/unit/protocol/test_messages.py +139 -0
- rocketwright-3.12.0/viewer/README.md +60 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
.venv/
|
|
5
|
+
/build/
|
|
6
|
+
dist/
|
|
7
|
+
*.egg-info/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.mypy_cache/
|
|
10
|
+
.ruff_cache/
|
|
11
|
+
.coverage
|
|
12
|
+
.coverage.*
|
|
13
|
+
coverage.json
|
|
14
|
+
coverage.xml
|
|
15
|
+
htmlcov/
|
|
16
|
+
|
|
17
|
+
# Swift
|
|
18
|
+
helper/.build/
|
|
19
|
+
helper/.swiftpm/
|
|
20
|
+
/.build/
|
|
21
|
+
/.swiftpm/
|
|
22
|
+
xcuserdata/
|
|
23
|
+
*.xcresult
|
|
24
|
+
|
|
25
|
+
# Node
|
|
26
|
+
node_modules/
|
|
27
|
+
viewer/dist/
|
|
28
|
+
viewer/coverage/
|
|
29
|
+
*.tgz
|
|
30
|
+
|
|
31
|
+
# The committed standalone viewer bundle lives in src/rocketwright/server/static/viewer/ and is not ignored.
|
|
32
|
+
|
|
33
|
+
# macOS and editors
|
|
34
|
+
.DS_Store
|
|
35
|
+
.idea/
|
|
36
|
+
.vscode/
|
|
37
|
+
*.swp
|
|
38
|
+
*.profraw
|
|
39
|
+
|
|
40
|
+
# Test fixtures that are build logs: kept, whatever a global ignore of *.log says.
|
|
41
|
+
!src/rocketwright/testing/fixtures/*.log
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Rocketwright
|
|
2
|
+
Copyright 2026 Soflution Ltd
|
|
3
|
+
|
|
4
|
+
This product includes software from SimMirror, Copyright 2026 Andrew Kochulab,
|
|
5
|
+
licensed under the Apache License, Version 2.0. Soflution Ltd has modified it.
|
|
6
|
+
|
|
7
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
8
|
+
|
|
9
|
+
It includes third-party material under its own licenses; see THIRD_PARTY_LICENSES.md:
|
|
10
|
+
- idb_companion's gRPC protocol definition (facebook/idb), MIT License,
|
|
11
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
12
|
+
- In the native helper, simulator input and accessibility bridges written after facebook/idb's
|
|
13
|
+
FBSimulatorControl (MIT License, Copyright (c) Meta Platforms, Inc. and affiliates) and
|
|
14
|
+
EvanBacon/serve-sim (Apache License 2.0, Copyright 2026 Evan Bacon).
|
|
15
|
+
- Icon paths from Lucide (lucide.dev), ISC License,
|
|
16
|
+
Copyright (c) Lucide Contributors 2022; portions Copyright (c) Cole Bemis 2013-2022 (Feather, MIT).
|
|
17
|
+
|
|
18
|
+
Rocketwright is an independent project. It is not affiliated with, endorsed by or sponsored by Apple Inc.,
|
|
19
|
+
Anthropic PBC or Meta Platforms, Inc. iOS, iPhone, Xcode and Simulator are trademarks of Apple Inc.
|
|
20
|
+
Claude and Claude Code are trademarks of Anthropic PBC.
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: rocketwright
|
|
3
|
+
Version: 3.12.0
|
|
4
|
+
Summary: Mirror and drive iOS Simulators, real iPhones, Android devices and macOS apps from Claude Code, CLI agents and the browser.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Soflutionltd/rocketwright
|
|
6
|
+
Project-URL: Documentation, https://github.com/Soflutionltd/rocketwright/tree/main/docs
|
|
7
|
+
Project-URL: Issues, https://github.com/Soflutionltd/rocketwright/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/Soflutionltd/rocketwright/blob/main/CHANGELOG.md
|
|
9
|
+
Author: Soflution Ltd
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
License-File: THIRD_PARTY_LICENSES.md
|
|
14
|
+
Keywords: ai-agents,claude-code,ios-simulator,mcp,screen-mirroring,simulator,ui-automation
|
|
15
|
+
Classifier: Development Status :: 3 - Alpha
|
|
16
|
+
Classifier: Environment :: MacOS X
|
|
17
|
+
Classifier: Framework :: FastAPI
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Operating System :: MacOS
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Topic :: Software Development :: Testing
|
|
27
|
+
Classifier: Typing :: Typed
|
|
28
|
+
Requires-Python: >=3.10
|
|
29
|
+
Requires-Dist: fastapi<1,>=0.115
|
|
30
|
+
Requires-Dist: grpclib<0.5,>=0.4.9
|
|
31
|
+
Requires-Dist: pillow<13,>=11.1
|
|
32
|
+
Requires-Dist: protobuf<8,>=7.36
|
|
33
|
+
Requires-Dist: tomli>=2; python_version < '3.11'
|
|
34
|
+
Requires-Dist: tomlkit>=0.13
|
|
35
|
+
Requires-Dist: uvicorn[standard]>=0.35
|
|
36
|
+
Description-Content-Type: text/markdown
|
|
37
|
+
|
|
38
|
+
<!-- mcp-name: io.github.Soflutionltd/rocketwright -->
|
|
39
|
+
|
|
40
|
+
<h1 align="center">
|
|
41
|
+
<picture>
|
|
42
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/media/brand/rocketwright-logo-dark.svg">
|
|
43
|
+
<img src="docs/media/brand/rocketwright-logo.svg" alt="Rocketwright" width="520">
|
|
44
|
+
</picture>
|
|
45
|
+
</h1>
|
|
46
|
+
|
|
47
|
+
**Playwright stops at the browser. Rocketwright puts the whole phone in your AI agent's hands.**
|
|
48
|
+
|
|
49
|
+
iOS Simulators, real iPhones and iPads, Android emulators and phones, and macOS apps -- driven by Claude Code, Codex,
|
|
50
|
+
Cursor or any MCP agent, watched live in a browser tab, at the speed of a few milliseconds a step. One tool, every
|
|
51
|
+
device, no glue.
|
|
52
|
+
|
|
53
|
+
*Formerly Simtrail: the `simtrail` command still works, and an existing install is taken up as it is.*
|
|
54
|
+
|
|
55
|
+
[](https://github.com/Soflutionltd/rocketwright/actions/workflows/ci.yml)
|
|
56
|
+
[](LICENSE)
|
|
57
|
+
[](https://github.com/Soflutionltd/rocketwright/releases)
|
|
58
|
+
|
|
59
|
+
<img src="docs/media/hero.gif" width="100%"
|
|
60
|
+
alt="A Claude Code session driving a calendar app on an iPhone 17 simulator in the viewer: it opens an event, scrolls
|
|
61
|
+
through its notes, then fills in and saves a new one, the agent's cursor gliding to each spot before it taps">
|
|
62
|
+
|
|
63
|
+
## Fast where an agent feels it
|
|
64
|
+
|
|
65
|
+
Measured on an Apple Silicon Mac with an iOS 26.5 simulator, Rocketwright 3.11 (November 2026):
|
|
66
|
+
|
|
67
|
+
| What the agent does | Time | Calls |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| Act, then read the screen that resulted | **41 ms** | 1 -- the answer carries the new screen |
|
|
70
|
+
| First screen of a session | **57 ms** | the device is attached while the agent is still thinking |
|
|
71
|
+
| Launch an app and read its real first screen | **~2 s** | 1 -- not the splash screen, the app |
|
|
72
|
+
| A new project's own simulator, ready | **17 s** | copied from a booted template instead of 31 s from blank |
|
|
73
|
+
| Hot reload of a Flutter change on the device | **~1 s** | each compile error as `file:line` |
|
|
74
|
+
| The viewer, after the daemon restarts | **4.4 s** | back by itself, no click |
|
|
75
|
+
|
|
76
|
+
Snapshots are a few lines of text -- `e2 button "General" (201,319)` -- instead of screenshots, so an agent spends a
|
|
77
|
+
fraction of the tokens to read a screen, and reaches for a picture only when a question is visual.
|
|
78
|
+
|
|
79
|
+
## Everything, in one tool
|
|
80
|
+
|
|
81
|
+
| | Rocketwright | Playwright | Maestro | mobile-mcp |
|
|
82
|
+
|---|:---:|:---:|:---:|:---:|
|
|
83
|
+
| iOS Simulator apps | ✅ | ❌ browsers only | ✅ | ✅ |
|
|
84
|
+
| Real iPhones and iPads | ✅ | ❌ | ❌ not yet supported | ✅ |
|
|
85
|
+
| Android emulators and phones | ✅ | Chrome and WebView only, experimental | ✅ | ✅ |
|
|
86
|
+
| macOS apps | ✅ | ❌ | -- | -- |
|
|
87
|
+
| Live viewer in any browser tab, with the agent's cursor | ✅ | -- | ✅ | ✅ |
|
|
88
|
+
| Builds, tests and installs (Xcode, Gradle, Flutter hot reload) | ✅ | -- | -- | -- |
|
|
89
|
+
| Signs in from 1Password, Bitwarden or the Keychain; the agent never sees the password | ✅ | -- | -- | -- |
|
|
90
|
+
| Reads a game or a canvas from its pixels | ✅ | -- | -- | -- |
|
|
91
|
+
| Each project its own simulator; several agents at once, never on each other's device | ✅ | -- | -- | -- |
|
|
92
|
+
| Records any flow as an MP4 or a GIF, every touch drawn in | ✅ | ✅ video | -- | -- |
|
|
93
|
+
|
|
94
|
+
✅ documented · ❌ documented as unsupported · -- not documented. Checked against each project's own documentation on
|
|
95
|
+
26 November 2026: [Playwright](https://playwright.dev/docs/api/class-android),
|
|
96
|
+
[Maestro](https://github.com/mobile-dev-inc/maestro), [mobile-mcp](https://github.com/mobile-next/mobile-mcp).
|
|
97
|
+
Something out of date? Open an issue and we fix it.
|
|
98
|
+
|
|
99
|
+
## Why Rocketwright
|
|
100
|
+
|
|
101
|
+
- **See the simulator anywhere.** A live H.264 or JPEG stream in a Chrome tab, an iframe or a `<rocket-wright>` web
|
|
102
|
+
component, with touch, scrolling, typing, hardware buttons and light and dark mode.
|
|
103
|
+
- **Watch what the agent does.** Every agent gesture is announced before it lands, and the viewer's cursor glides to
|
|
104
|
+
the spot first -- so you can follow along, and step in: an agent waits for your hand to be still.
|
|
105
|
+
- **Spend fewer tokens.** Agents read accessibility snapshots with stable element refs and diffs between screens, act
|
|
106
|
+
in batches with waits, and reach for a screenshot only when a question is visual.
|
|
107
|
+
- **Read screens accessibility cannot.** A game or a canvas reads from its pixels, and an app under development can
|
|
108
|
+
share its own views, so icon-only buttons and hand-drawn controls read by name.
|
|
109
|
+
- **Test on a real iPhone.** Plug it in and it sits beside the simulators: live over the cable at up to 60 fps, touched
|
|
110
|
+
and typed on from the browser or by an agent, and given back everything Rocketwright changed on it.
|
|
111
|
+
- **Type like a person, on any keyboard.** Text goes in as the real keys of the Mac's own layout -- AZERTY, QWERTZ,
|
|
112
|
+
US -- with no paste prompt, on iOS 26 and 27.
|
|
113
|
+
- **Show what happened.** Record a flow as an MP4 or a GIF with every touch drawn in -- at 60 or 120 frames a second
|
|
114
|
+
for a short animation, or only the part of the screen that matters -- and put it in a pull request.
|
|
115
|
+
|
|
116
|
+
## Install
|
|
117
|
+
|
|
118
|
+
**Claude Code**, with the plugin (tools, a skill that teaches snapshot-first use, and `/rocketwright:open`):
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
/plugin marketplace add Soflutionltd/rocketwright
|
|
122
|
+
/plugin install rocketwright@rocketwright
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**Any MCP client**, as a stdio server:
|
|
126
|
+
|
|
127
|
+
```sh
|
|
128
|
+
claude mcp add rocketwright -- uvx --from git+https://github.com/Soflutionltd/rocketwright rocketwright mcp
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Configurations for [Codex](docs/clients/codex.md), [Cursor](docs/clients/cursor.md) and
|
|
132
|
+
[other clients](docs/clients/other-mcp.md).
|
|
133
|
+
The plugin includes four [workflow skills](docs/clients/skills.md); the release also packages them for Codex and Cursor.
|
|
134
|
+
|
|
135
|
+
**The command**, for `rocketwright open`, `doctor` and the rest:
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
uv tool install git+https://github.com/Soflutionltd/rocketwright
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**The viewer library**, for your own pages, is in [`viewer/`](viewer/README.md).
|
|
142
|
+
|
|
143
|
+
**Requirements:** an Apple Silicon Mac, Xcode 26 or later, and [uv](https://docs.astral.sh/uv/). Nothing
|
|
144
|
+
else: Rocketwright drives a simulator with its own helper, which comes in the package. A real iPhone needs Developer Mode,
|
|
145
|
+
and an Apple development team to be touched. Details in [Installation](docs/installation.md).
|
|
146
|
+
|
|
147
|
+
## Quickstart
|
|
148
|
+
|
|
149
|
+
```sh
|
|
150
|
+
rocketwright doctor # check this Mac, ending with a real tap on a simulator
|
|
151
|
+
rocketwright open # this project's simulator, live in a browser tab
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Then ask your agent:
|
|
155
|
+
|
|
156
|
+
> Open Settings → General → About and tell me which iOS version this simulator runs. Use sim_snapshot rather than
|
|
157
|
+
> screenshots.
|
|
158
|
+
|
|
159
|
+
With an iPhone plugged in, unlocked and in Developer Mode:
|
|
160
|
+
|
|
161
|
+
> Switch to my iPhone, build and run the app on it, walk through sign-up and record it as a GIF.
|
|
162
|
+
|
|
163
|
+
The first time, press **Set up touch** in the viewer: it builds WebDriverAgent with your project's own signing team.
|
|
164
|
+
|
|
165
|
+
[Getting started](docs/getting-started.md) explains what happens along the way.
|
|
166
|
+
|
|
167
|
+
## Features
|
|
168
|
+
|
|
169
|
+
**Live viewer.** H.264 through WebCodecs where the page can decode it, JPEG otherwise, negotiated per connection.
|
|
170
|
+
Touch, drag, scroll, typing and paste, Home and Lock, light and dark, and a device picker. It reconnects by itself
|
|
171
|
+
after a blip and says plainly when the simulator is off. Its menus, toolbar, settings panel and messages are in
|
|
172
|
+
English.
|
|
173
|
+
|
|
174
|
+
**Agent cursor.** Every agent gesture -- tap, long press, swipe, drag, typing -- reaches the viewer before it lands, and
|
|
175
|
+
the viewer's own pointer glides there first (`agent.cursor_lead_ms`), labelled with what the agent is doing --
|
|
176
|
+
Tapping “Add”, Reading the screen, Thinking…, Building. After a real break it waits in a corner. Never the Mac's pointer. On a macOS app the same
|
|
177
|
+
pointer is drawn over the app's own window on the Mac too, click-through and out of every capture.
|
|
178
|
+
|
|
179
|
+
**Screen understanding.** A snapshot is a few lines -- `e2 button "General" (201,319)` -- with refs that stay with their
|
|
180
|
+
elements across scrolls, a digest, and diffs. `sim_act` plays up to 20 steps in one call and waits for text, its
|
|
181
|
+
absence, or the screen to settle -- past a spinner or a pulsing dot that never stops. An app turned to landscape is
|
|
182
|
+
read and touched in its own points, `sim_device rotate` turns a simulator, and a tap on what a tab bar, a toolbar or
|
|
183
|
+
the keyboard covers is refused with how to reach it. See [Screen understanding](docs/screen-understanding.md).
|
|
184
|
+
|
|
185
|
+
**Observe mode.** For a walkthrough on an account the agent must not change, `agent.observe` refuses a tap on what
|
|
186
|
+
reads like Delete, Save, Send or Sign out -- in English and a dozen other languages, or styled destructive by its app --
|
|
187
|
+
unless the call confirms it. See [Security](docs/security.md).
|
|
188
|
+
|
|
189
|
+
**Reading pixels.** A screen whose accessibility says nothing -- a game, a canvas, an app still loading -- reads as the
|
|
190
|
+
text macOS's Vision finds in it, with refs to tap and text to wait for, and the viewer can outline what was read
|
|
191
|
+
(`perception.ocr`). See [Read from pixels](docs/screen-understanding.md#read-from-pixels).
|
|
192
|
+
|
|
193
|
+
**App SDK.** An app under development can link **RocketwrightKit**, a small Swift package, and call `Rocketwright.start()`:
|
|
194
|
+
in a Debug build on the simulator it shares its own UIKit and SwiftUI views, so an icon-only button, a card with a tap
|
|
195
|
+
gesture or a hand-drawn control reads by name, and `.rocketwright("Settings")` names a SwiftUI view. Optional, and nothing
|
|
196
|
+
of it is in a Release build. See [The app SDK](docs/app-sdk.md).
|
|
197
|
+
|
|
198
|
+
**Real devices.** A cabled iPhone or iPad shows up beside the simulators, and an agent can switch to it
|
|
199
|
+
(`sim_device list` and `choose`): its live screen over the cable; its apps, logs, look and
|
|
200
|
+
location through Xcode's `devicectl`; and touching, typing and its element tree through WebDriverAgent, set up once
|
|
201
|
+
with a click and signed by your project's own team -- a tap lands in about a third of a second. It is reached only over
|
|
202
|
+
the cable, and what Rocketwright changes on it is put back when it is let go. See [Real devices](docs/real-devices.md).
|
|
203
|
+
|
|
204
|
+
**Android.** Android emulators and phones sit beside the simulators, with the same viewer, cursor and tools: adb
|
|
205
|
+
lists, starts and drives them, scrcpy's server -- set up once with a click -- shows the screen live, UI Automator reads
|
|
206
|
+
it for snapshots, and `sim_build_run` and `sim_test` build a Gradle project with its own wrapper. A phone is never
|
|
207
|
+
started or shut down, and what Rocketwright changes on it is put back. See [Android](docs/android.md).
|
|
208
|
+
|
|
209
|
+
**Flutter.** A Flutter app is built, tested and installed by the same tools -- `flutter build`, `flutter test` and
|
|
210
|
+
its integration tests on the device, with a flavor and dart-defines kept off the command line -- and `sim_flutter`
|
|
211
|
+
keeps it running for hot reload: each saved change on the device in about a second, or each compile error as
|
|
212
|
+
`file:line` while the app keeps the code it had. See [Flutter](docs/flutter.md).
|
|
213
|
+
|
|
214
|
+
**Recording.** The viewer's Record button, `sim_record` or `rocketwright record` keep a device's screen as an MP4, a GIF
|
|
215
|
+
or both, with each touch drawn where it landed and a 9:41 status bar, and `preset: "pr"` keeps one small enough for
|
|
216
|
+
a pull request. See [Recording](docs/recording.md).
|
|
217
|
+
|
|
218
|
+
**Replayable flows.** `sim_flow save` keeps a walkthrough under a name -- steps and waits exactly as `sim_act` takes
|
|
219
|
+
them -- as a readable JSON file in the project's state folder, and `sim_flow run` plays it again in one call, by any
|
|
220
|
+
agent: each ref is found again by what it named, long flows are split into calls of 20 steps, and `{{email}}`-style
|
|
221
|
+
variables are given at run time. A step that types into a secure field must type a variable, so a password is never
|
|
222
|
+
kept, and the answer says each value as its name.
|
|
223
|
+
|
|
224
|
+
**Device matrix.** `sim_matrix` captures the same screen on several devices -- UDIDs, or presets such as
|
|
225
|
+
`small_iphone`, `large_iphone`, `ipad` and `android` -- in light and dark and at a chosen text size, launching the app
|
|
226
|
+
and playing a saved flow first. Each screenshot is saved in one folder beside a captioned contact sheet, every device
|
|
227
|
+
gets back the look it had, and one another agent holds is skipped unless the call steals it.
|
|
228
|
+
|
|
229
|
+
**Connectors.** Rocketwright's own native helper gives full control with nothing to install; idb_companion still can,
|
|
230
|
+
and the simctl connector mirrors the screen view-only when neither is there, and says why. `auto` uses the fastest that
|
|
231
|
+
works and falls back when one fails. More connectors plug in through an entry point. See
|
|
232
|
+
[Connectors](docs/connectors.md).
|
|
233
|
+
|
|
234
|
+
**Embedding.** An [iframe](docs/embedding/iframe.md) with a one-shot ticket, the
|
|
235
|
+
[`<rocketwright>` element](docs/embedding/web-component.md) themed with CSS custom properties, or Rocketwright
|
|
236
|
+
[inside a Python application](docs/embedding/python-fastapi.md) with its own sign-in.
|
|
237
|
+
|
|
238
|
+
**Settings panel.** `rocketwright open --settings` puts every setting a click away in the viewer, a tab per section,
|
|
239
|
+
saved for one project or all of them and applied before it says so. Settings that decide what runs or who may reach
|
|
240
|
+
the daemon wait for a code from `rocketwright settings confirm`. See [The settings panel](docs/settings.md).
|
|
241
|
+
|
|
242
|
+
**Doctor.** Checks Xcode, its Simulator frameworks, runtimes, the native helper and idb_companion, Device Hub and the
|
|
243
|
+
desktop session, the text reader and an app's shared hierarchy, then proves a tap reaches a simulator. See [the doctor](docs/doctor.md).
|
|
244
|
+
|
|
245
|
+
**Security.** Loopback only, a Host allowlist, exact Origin checks, CORS and framing only for origins you list, hashed
|
|
246
|
+
scoped tokens, and one-shot codes in URL fragments. See [Security](docs/security.md).
|
|
247
|
+
|
|
248
|
+
**Sign-in from a password manager.** `sim_login` signs an app in with a login saved in 1Password -- or Bitwarden, or
|
|
249
|
+
a program of yours -- searching every vault, for the account the person named and no other, and the agent never sees
|
|
250
|
+
the password: it is typed straight into the app's secure field, masked in every answer and in the viewer, and refused
|
|
251
|
+
in observe mode, while recording and on real devices unless allowed. Off until `login.sources` names a password manager.
|
|
252
|
+
See [Signing in](docs/login.md).
|
|
253
|
+
|
|
254
|
+
**Build and test.** `sim_build_run` and `sim_test` build with xcodebuild for the agent's simulator, install and
|
|
255
|
+
launch, and answer with only what failed and where -- each failing test named so it can be run again alone, and on
|
|
256
|
+
another simulator when asked -- and with the folder, branch and commit they built. They build the git worktree the
|
|
257
|
+
agent works in, with the configuration its scheme runs. Off by default, since they run commands: `rocketwright config
|
|
258
|
+
set build.tools true`.
|
|
259
|
+
|
|
260
|
+
## Measure the token cost
|
|
261
|
+
|
|
262
|
+
`benchmarks/tool_budget.py` calls each read-only tool through the same MCP relay a client uses and prints each answer's
|
|
263
|
+
bytes, estimated tokens and latency on your own screens; see [the token budget example](examples/token-budget/).
|
|
264
|
+
Measured with Rocketwright 2.4.0 on an iOS simulator using the native connector, showing Settings → General:
|
|
265
|
+
30 calls per tool after a separate initial round and 3 warmup rounds (2026-10-29). Host and device details are omitted
|
|
266
|
+
from the public report for privacy.
|
|
267
|
+
|
|
268
|
+
| Call | Tool | Bytes | Tokens (est.) | p50 ms | p95 ms |
|
|
269
|
+
|---|---|---:|---:|---:|---:|
|
|
270
|
+
| device info | `sim_device` | 275 | 49 | 260.1 | 282.9 |
|
|
271
|
+
| snapshot, full | `sim_snapshot` | 561 | 112 | 74.3 | 83.3 |
|
|
272
|
+
| snapshot, diff of an unchanged screen | `sim_snapshot` | 83 | 5 | 66.5 | 73.5 |
|
|
273
|
+
| screenshot, 400 px wide | `sim_screenshot` | 55958 | 469 | 15.5 | 17.0 |
|
|
274
|
+
| screenshot, 1200 px wide | `sim_screenshot` | 251484 | 4181 | 24.2 | 25.8 |
|
|
275
|
+
|
|
276
|
+
On a physical iOS device over USB with WebDriverAgent, the same 30-round run measured 199 estimated tokens for a
|
|
277
|
+
full snapshot (p50 859.1 ms), 5 for an unchanged-screen diff (817.9 ms), and 469 for a 400-pixel screenshot (31.4 ms).
|
|
278
|
+
|
|
279
|
+
Bytes are the whole answer, an image's base64 included; tokens are estimates (text at about 4 characters a token,
|
|
280
|
+
an image at about 750 pixels a token), not billed usage or whole-task costs. All measured calls succeeded. See the
|
|
281
|
+
[performance report](docs/performance.md) for real-iPhone results, initial-call timings, raw samples and the older
|
|
282
|
+
baseline. Different connectors and environments make these separate observations, not a before/after speedup claim.
|
|
283
|
+
|
|
284
|
+
## Compatibility
|
|
285
|
+
|
|
286
|
+
| | Expected to work |
|
|
287
|
+
|---|---|
|
|
288
|
+
| macOS | 26 (15 with Xcode 16.4, view-only) |
|
|
289
|
+
| Xcode | 26 and 27 |
|
|
290
|
+
| Connectors | native helper (full control), idb_companion 1.5 (full control), simctl (view-only) |
|
|
291
|
+
| Real devices | an iPhone or iPad that Xcode's `devicectl` reaches, by cable (view-only without WebDriverAgent) |
|
|
292
|
+
| Android | emulators and phones adb reaches, with the Android SDK; scrcpy 5.0.1 for the live screen; Gradle builds |
|
|
293
|
+
| App SDK | Debug builds on the iOS Simulator, iOS 16 or later |
|
|
294
|
+
| Clients | Claude Code, Codex, Cursor, any stdio MCP client |
|
|
295
|
+
| Browsers | Chrome, Safari, Firefox, Edge |
|
|
296
|
+
|
|
297
|
+
Rows checked on real hardware are marked verified, with the date, in [Compatibility](docs/compatibility.md).
|
|
298
|
+
|
|
299
|
+
From 1.0 the tools, the protocol, the embedding API, the viewer package, settings and the command line are held to
|
|
300
|
+
[what Rocketwright promises not to break](docs/stability.md): a release adds, and never breaks; 2.0 broke nothing.
|
|
301
|
+
Connectors are the exception, and pin a minor version.
|
|
302
|
+
|
|
303
|
+
## Documentation
|
|
304
|
+
|
|
305
|
+
[Everything](docs/README.md): getting started, clients, embedding, screen understanding, connectors, security,
|
|
306
|
+
architecture, and the reference for [tools](docs/reference/tools.md), [configuration](docs/reference/configuration.md),
|
|
307
|
+
the [command line](docs/reference/cli.md) and the [protocol](docs/reference/protocol.md).
|
|
308
|
+
|
|
309
|
+
## Roadmap
|
|
310
|
+
|
|
311
|
+
How Rocketwright relates to other tools is in [Comparison](docs/comparison.md).
|
|
312
|
+
|
|
313
|
+
## Contributing
|
|
314
|
+
|
|
315
|
+
Contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md); AI
|
|
316
|
+
coding agents read [AGENTS.md](AGENTS.md). Report security issues privately as described in [SECURITY.md](SECURITY.md).
|
|
317
|
+
Questions go to [Discussions](https://github.com/Soflutionltd/rocketwright/discussions).
|
|
318
|
+
|
|
319
|
+
## License
|
|
320
|
+
|
|
321
|
+
[Apache-2.0](LICENSE). See [NOTICE](NOTICE) and [THIRD_PARTY_LICENSES.md](THIRD_PARTY_LICENSES.md).
|
|
322
|
+
|
|
323
|
+
Rocketwright is an independent project, not affiliated with Apple or Anthropic. iOS, iPhone, Xcode and Simulator are
|
|
324
|
+
trademarks of Apple Inc.; Claude and Claude Code are trademarks of Anthropic PBC.
|