mobitru-mobile-cli 1.0.0-beta.0 → 1.0.0-beta.1
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/CHANGELOG.md +1 -0
- package/README.md +17 -6
- package/mobitru-mobile-cli.js +33 -31
- package/package.json +1 -1
- package/skills/SKILL.md +38 -0
- package/skills/references/mobile-sessions.md +66 -13
package/CHANGELOG.md
CHANGED
|
@@ -17,4 +17,5 @@ Initial release. Drives real Android and iOS devices on Mobitru cloud via Appium
|
|
|
17
17
|
- Custom Appium scripts via `appium-run` (mocha-style, single-job-at-a-time)
|
|
18
18
|
- Web sessions: `open-url`, `click-web-element`
|
|
19
19
|
- Session state persists across CLI invocations
|
|
20
|
+
- Parallel device sessions: drive multiple devices simultaneously via `-s/--session` (or `MOBITRU_CLI_SESSION` env), with `session-list` / `session-current` / `stop --all` for management
|
|
20
21
|
- Bundled agent skill installable via `mobitru-mobile-cli install --skills=claude|agents`
|
package/README.md
CHANGED
|
@@ -61,17 +61,28 @@ Switching between native and web sessions on the **same device** is fast (~5-10s
|
|
|
61
61
|
|
|
62
62
|
## Parallel devices
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Drive multiple cloud devices in parallel by naming each session with `-s/--session`. Each session has its own daemon and its own active booking.
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
# Terminal 1
|
|
68
|
-
|
|
67
|
+
# Terminal 1 — Android
|
|
68
|
+
mobitru-mobile-cli -s android device-use <serial-a>
|
|
69
|
+
mobitru-mobile-cli -s android snapshot
|
|
69
70
|
|
|
70
|
-
# Terminal 2
|
|
71
|
-
|
|
71
|
+
# Terminal 2 — iOS, in parallel
|
|
72
|
+
mobitru-mobile-cli -s ios device-use <serial-b>
|
|
73
|
+
mobitru-mobile-cli -s ios snapshot
|
|
72
74
|
```
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
`MOBITRU_CLI_SESSION=<name>` sets a per-shell default so you don't have to type `-s` on every command. The `-s` flag overrides the env for a single invocation. Without either, commands resolve to the `default` session — fully backward-compatible.
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
mobitru-mobile-cli session-list # what's running, on what device
|
|
80
|
+
mobitru-mobile-cli session-current # which session this shell resolves to
|
|
81
|
+
mobitru-mobile-cli stop # stop the current session (releases its device + cleans up)
|
|
82
|
+
mobitru-mobile-cli stop --all # stop every session (releases every device)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Works on Linux, macOS, and Windows.
|
|
75
86
|
|
|
76
87
|
## Commands
|
|
77
88
|
|