Skip to content

fix(cli): follow up on the 0.8 command changes - #551

Closed
RasulOs wants to merge 2 commits into
fix/cli-0.8-regressionsfrom
fix/cli-0.8-followups
Closed

RasulOs wants to merge 2 commits into
fix/cli-0.8-regressionsfrom
fix/cli-0.8-followups

Conversation

@RasulOs

@RasulOs RasulOs commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #550; retarget to develop once it merges.

Changes

  • Declare click>=8.3,<9 as a dependency. It only came in through llama-index, and newer releases printed a second "Did you mean" after ours.
  • device commands follow device.portal_mode: disabled no longer switches the keyboard, required no longer falls back to plain ADB.
  • device ping fails when the Portal is missing or the UI tree is unusable.
  • The "install it with mobilerun device setup" hint is shown only for a missing Portal on an ADB device.
  • Removed provider names (GoogleGenAI, openai_oauth, ...) name their replacement. run --device-id points at --backend-device; --no-debug, --no-vision-only, --no-system, --tcp, --no-tcp say to omit them.
  • README upgrade table: -p renames, --tcp, apps --no-system, Portal auto-install.
  • Tests no longer read MOBILERUN_API_KEY / MOBILERUN_CLOUD_API_KEY from the shell.

Testing

  • Full suite: 2,975 passed.
  • Android 16 emulator: device ping with and without the Portal, portal_mode: disabled leaves the keyboard alone, removed flag and provider hints.

🤖 Generated with Claude Code

RasulOs and others added 2 commits November 17, 2026 10:05
- Declare click as a dependency. It was only installed through
  llama-index, so a fresh install picked a newer release that printed a
  second "Did you mean" after ours. Our suggestion is now a plain usage
  error and reads the same on every supported release.
- Device commands pass the configured `device.portal_mode` to the
  driver. `disabled` no longer switches the keyboard and `required` no
  longer falls back to plain ADB.
- `device ping` fails when the Portal is missing or the UI tree is
  unusable instead of reporting success from the ADB fallback.
- Removed provider names (`GoogleGenAI`, `openai_oauth`, ...) say which
  name replaces them. `run --device-id` points at `--backend-device`,
  and flags that only restated a default say to omit them.
- Tests no longer pick up a cloud key exported in the shell.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- The "install it with device setup" hint is shown only when the Portal
  is missing on an ADB device, not for an unreachable Portal URL or iOS
  portal.
- `device ping` upgrades only the default Portal mode to required, so
  an invalid `device.portal_mode` is reported there as on other
  commands.
- `--open-browser` is no longer answered with "omit it": the Mobilerun
  sign-in needs `--browser`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@RasulOs RasulOs closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant