mobilecli 0.2.0 → 0.3.66

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.
package/README.md CHANGED
@@ -221,6 +221,40 @@ Example output for `apps foreground`:
221
221
  }
222
222
  ```
223
223
 
224
+ ### Agent Management 🤖
225
+
226
+ On **iOS**, the on-device agent is required for touch input (taps, swipes, button presses), screen capture streaming, and UI tree inspection. These capabilities are not available through standard iOS tooling without an agent running on the device.
227
+
228
+ On **Android**, most features work without the agent, but installing it enables non-ASCII text input (e.g. Japanese, Chinese, Korean, emoji) which is not possible through `adb` alone.
229
+
230
+ ```bash
231
+ # Check if the agent is installed on a device
232
+ mobilecli agent status --device <device-id>
233
+
234
+ # Install the agent
235
+ mobilecli agent install --device <device-id>
236
+
237
+ # Force reinstall the agent
238
+ mobilecli agent install --device <device-id> --force
239
+
240
+ # Install on a real iOS device (requires provisioning profile)
241
+ mobilecli agent install --device <device-id> --provisioning-profile /path/to/profile.mobileprovision
242
+ ```
243
+
244
+ Example output for `agent status`:
245
+ ```json
246
+ {
247
+ "status": "ok",
248
+ "data": {
249
+ "message": "Agent version 0.0.12 is installed on device",
250
+ "agent": {
251
+ "version": "0.0.12",
252
+ "bundleId": "com.mobilenext.devicekit-iosUITests.xctrunner"
253
+ }
254
+ }
255
+ }
256
+ ```
257
+
224
258
  ### Crash Reports 💥
225
259
 
226
260
  ```bash
@@ -282,7 +316,7 @@ wscat -c ws://localhost:12000/ws
282
316
  ## Platform-Specific Notes
283
317
 
284
318
  ### iOS Real Devices
285
- - Currently requires that you install and run WebDriverAgent manually. You may change the BUNDLE IDENTIFIER, and *mobilecli* will be able to launch it if needed, as long as the identifier ends with `*.WebDriverAgent`.
319
+ - Requires the on-device agent. Install it with `mobilecli agent install --device <device-id> --provisioning-profile /path/to/profile.mobileprovision`. A valid Apple provisioning profile is needed to re-sign the agent for your device.
286
320
 
287
321
  ## Development 👩‍💻
288
322
 
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobilecli",
3
- "version": "0.2.0",
3
+ "version": "0.3.66",
4
4
  "author": "Mobile Next",
5
5
  "description": "A universal command-line tool for managing iOS and Android devices, simulators, emulators and apps",
6
6
  "repository": {