From ac9ad935bf53b0163df54dc835945b0011096aec Mon Sep 17 00:00:00 2001 From: lutz-grex Date: Thu, 16 Apr 2026 14:50:35 +0200 Subject: [PATCH] fix(sdk): switch to mobilerun_sdk module and revert org urls --- .github/workflows/bounty.yml | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 18 +++++++++--------- SKILL.md | 2 +- docs/docs.json | 4 ++-- docs/features/telemetry.mdx | 2 +- docs/guides/device-setup.mdx | 2 +- docs/guides/docker.mdx | 14 +++++++------- docs/guides/overview.mdx | 12 ++++++------ mobilerun/cli/doctor.py | 2 +- mobilerun/config_manager/loader.py | 2 +- mobilerun/portal.py | 2 +- mobilerun/tools/driver/cloud.py | 6 +++--- pyproject.toml | 6 +++--- 14 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/bounty.yml b/.github/workflows/bounty.yml index 9beea1d..09331d2 100644 --- a/.github/workflows/bounty.yml +++ b/.github/workflows/bounty.yml @@ -5,7 +5,7 @@ on: types: [labeled] env: - ORG: mobilerun + ORG: droidrun PROJECT_NUMBER: 2 PROJECT_TOKEN: ${{ secrets.BOUNTY_SECRET }} @@ -87,7 +87,7 @@ jobs: } } }' \ - -f owner="mobilerun" \ + -f owner="droidrun" \ -f repo="mobilerun" \ -F number=104 \ --jq '.data.repository.issue as $i | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9d21d0..7ee9278 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ Thank you for your interest in contributing to Mobilerun! This document provides - Join our [Discord server](https://discord.gg/ZZbKEZZkwK) for discussions - Follow us on [Twitter/X](https://x.com/mobilerun_ai) - Check our [Documentation](https://docs.mobilerun.ai) -- Report bugs and request features through [GitHub Issues](https://github.com/mobilerun/mobilerun/issues) +- Report bugs and request features through [GitHub Issues](https://github.com/droidrun/mobilerun/issues) ## Security Checks diff --git a/README.md b/README.md index 2d2d88b..09bd37a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Cloud](https://img.shields.io/badge/Cloud-☁️-0D9373?style=for-the-badge)](https://cloud.mobilerun.ai/sign-in?waitlist=true) -[![GitHub stars](https://img.shields.io/github/stars/mobilerun/mobilerun?style=social)](https://github.com/mobilerun/mobilerun/stargazers) +[![GitHub stars](https://img.shields.io/github/stars/droidrun/mobilerun?style=social)](https://github.com/droidrun/mobilerun/stargazers) [![mobilerun.ai](https://img.shields.io/badge/mobilerun.ai-white)](https://mobilerun.ai) [![Twitter Follow](https://img.shields.io/twitter/follow/mobilerun_ai?style=social)](https://x.com/mobilerun_ai) [![Discord](https://img.shields.io/discord/1360219330318696488?color=white&label=Discord&logo=discord&logoColor=white)](https://discord.gg/ZZbKEZZkwK) @@ -26,14 +26,14 @@ -[Deutsch](https://zdoc.app/de/mobilerun/mobilerun) | -[Español](https://zdoc.app/es/mobilerun/mobilerun) | -[français](https://zdoc.app/fr/mobilerun/mobilerun) | -[日本語](https://zdoc.app/ja/mobilerun/mobilerun) | -[한국어](https://zdoc.app/ko/mobilerun/mobilerun) | -[Português](https://zdoc.app/pt/mobilerun/mobilerun) | -[Русский](https://zdoc.app/ru/mobilerun/mobilerun) | -[中文](https://zdoc.app/zh/mobilerun/mobilerun) +[Deutsch](https://zdoc.app/de/droidrun/mobilerun) | +[Español](https://zdoc.app/es/droidrun/mobilerun) | +[français](https://zdoc.app/fr/droidrun/mobilerun) | +[日本語](https://zdoc.app/ja/droidrun/mobilerun) | +[한국어](https://zdoc.app/ko/droidrun/mobilerun) | +[Português](https://zdoc.app/pt/droidrun/mobilerun) | +[Русский](https://zdoc.app/ru/droidrun/mobilerun) | +[中文](https://zdoc.app/zh/droidrun/mobilerun) diff --git a/SKILL.md b/SKILL.md index 4bdbe9d..ff2af5e 100644 --- a/SKILL.md +++ b/SKILL.md @@ -8,7 +8,7 @@ description: Mobilerun documentation reference. Use when users ask about Mobiler Mobilerun is an open-source (MIT) framework for controlling Android and iOS devices through LLM agents. It enables mobile automation using natural language commands. -- **GitHub**: https://github.com/mobilerun/mobilerun +- **GitHub**: https://github.com/droidrun/mobilerun - **Docs site**: https://docs.mobilerun.ai - **License**: MIT - **Install**: `uv tool install mobilerun` (Google Gemini, OpenAI, Ollama, OpenRouter included by default) diff --git a/docs/docs.json b/docs/docs.json index cd8cc16..3ca74ea 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -87,7 +87,7 @@ { "tab": "GitHub", "icon": "github", - "href": "https://github.com/mobilerun/mobilerun" + "href": "https://github.com/droidrun/mobilerun" } ] }, @@ -105,7 +105,7 @@ }, "footer": { "socials": { - "github": "https://github.com/mobilerun/mobilerun", + "github": "https://github.com/droidrun/mobilerun", "x": "https://x.com/mobilerun_ai", "discord": "https://discord.gg/gdekvkJFvn", "website": "https://mobilerun.ai" diff --git a/docs/features/telemetry.mdx b/docs/features/telemetry.mdx index 69a3ff4..6897b39 100644 --- a/docs/features/telemetry.mdx +++ b/docs/features/telemetry.mdx @@ -12,7 +12,7 @@ Telemetry helps us: We do not collect any personal or sensitive data. All telemetry is strictly anonymized and used only to improve the framework for everyone. -If you have questions or concerns, please reach out on [GitHub](https://github.com/mobilerun/mobilerun) or review our privacy policy. +If you have questions or concerns, please reach out on [GitHub](https://github.com/droidrun/mobilerun) or review our privacy policy. --- diff --git a/docs/guides/device-setup.mdx b/docs/guides/device-setup.mdx index 4ff0046..ca51b48 100644 --- a/docs/guides/device-setup.mdx +++ b/docs/guides/device-setup.mdx @@ -355,7 +355,7 @@ The iOS Portal is an Xcode project that runs as a UI test — it launches an HTT ```bash - git clone https://github.com/mobilerun/ios-portal.git + git clone https://github.com/droidrun/ios-portal.git cd ios-portal ``` diff --git a/docs/guides/docker.mdx b/docs/guides/docker.mdx index 6dd3762..6bd197d 100644 --- a/docs/guides/docker.mdx +++ b/docs/guides/docker.mdx @@ -53,7 +53,7 @@ Follow the steps below to ensure your host system is properly configured to moun Pull the image from the GitHub Container Registry: ```bash -docker pull ghcr.io/mobilerun/mobilerun:latest +docker pull ghcr.io/droidrun/mobilerun:latest ``` Before running the container, note that the following options are always required when launching Mobilerun in Docker: @@ -73,7 +73,7 @@ docker run \ --device /dev/phone1/phone:/dev/phone \ --volume /dev/bus/usb:/dev/bus/usb \ --volume ~/.android:/home/mobilerun/.android \ - ghcr.io/mobilerun/mobilerun:latest \ + ghcr.io/droidrun/mobilerun:latest \ ``` @@ -87,7 +87,7 @@ docker run \ --device /dev/phone1/phone:/dev/phone \ --volume /dev/bus/usb:/dev/bus/usb \ --volume ~/.android:/home/mobilerun/.android \ - ghcr.io/mobilerun/mobilerun:latest \ + ghcr.io/droidrun/mobilerun:latest \ setup ``` @@ -101,7 +101,7 @@ docker run \ --device /dev/phone1/phone:/dev/phone \ --volume /dev/bus/usb:/dev/bus/usb \ --volume ~/.android:/home/mobilerun/.android \ - ghcr.io/mobilerun/mobilerun:latest \ + ghcr.io/droidrun/mobilerun:latest \ ping ``` @@ -111,13 +111,13 @@ Now you’re ready to control your device using Docker and natural language: ```bash # Using default configuration with Google API key -docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --env GOOGLE_API_KEY=your-api-key-here ghcr.io/mobilerun/mobilerun:latest run "Open the settings app and tell me the Android version" +docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --env GOOGLE_API_KEY=your-api-key-here ghcr.io/droidrun/mobilerun:latest run "Open the settings app and tell me the Android version" # Override provider and model -docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --env OPENAI_API_KEY=your-api-key-here ghcr.io/mobilerun/mobilerun:latest run "Open a browser and search for mobilerun" -p OpenAI -m gpt-4o +docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --env OPENAI_API_KEY=your-api-key-here ghcr.io/droidrun/mobilerun:latest run "Open a browser and search for mobilerun" -p OpenAI -m gpt-4o # Use a locally-running LLM, example for LM Studio running in the LAN -docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --network host ghcr.io/mobilerun/mobilerun:latest run "Open a browser and search for mobilerun" -p OpenAILike -m gpt-oss --api_base http://IP-of-LMStudio-server:PORT/v1 +docker run --group-add plugdev --device /dev/phone1/phone:/dev/phone --volume /dev/bus/usb:/dev/bus/usb --volume ~/.android:/home/mobilerun/.android --network host ghcr.io/droidrun/mobilerun:latest run "Open a browser and search for mobilerun" -p OpenAILike -m gpt-oss --api_base http://IP-of-LMStudio-server:PORT/v1 ``` #### Troubleshooting diff --git a/docs/guides/overview.mdx b/docs/guides/overview.mdx index 68d5a77..fa1e9cc 100644 --- a/docs/guides/overview.mdx +++ b/docs/guides/overview.mdx @@ -32,14 +32,14 @@ Welcome to the Mobilerun Guides! This section provides step-by-step instructions ### Templates -Explore real-world examples and starter projects in the [mobilerun-examples repository](https://github.com/mobilerun/mobilerun-examples): +Explore real-world examples and starter projects in the [mobilerun-examples repository](https://github.com/droidrun/mobilerun-examples): -- **[LinkedInJobsScraper](https://github.com/mobilerun/mobilerun-examples/tree/main/LinkedInJobsScraper)** - Agentic workflow that searches LinkedIn for roles, evaluates matches, and prepares tailored applications -- **[LinkedInLeads](https://github.com/mobilerun/mobilerun-examples/tree/main/LinkedInLeads)** - End-to-end lead discovery and enrichment for LinkedIn companies and roles -- **[TwitterPost](https://github.com/mobilerun/mobilerun-examples/tree/main/TwitterPost)** - Finds trending topics, drafts posts, and generates images to publish on X/Twitter -- **[play2048](https://github.com/mobilerun/mobilerun-examples/tree/main/play2048)** - MobileAgent that plays the 2048 game on play2048.co +- **[LinkedInJobsScraper](https://github.com/droidrun/mobilerun-examples/tree/main/LinkedInJobsScraper)** - Agentic workflow that searches LinkedIn for roles, evaluates matches, and prepares tailored applications +- **[LinkedInLeads](https://github.com/droidrun/mobilerun-examples/tree/main/LinkedInLeads)** - End-to-end lead discovery and enrichment for LinkedIn companies and roles +- **[TwitterPost](https://github.com/droidrun/mobilerun-examples/tree/main/TwitterPost)** - Finds trending topics, drafts posts, and generates images to publish on X/Twitter +- **[play2048](https://github.com/droidrun/mobilerun-examples/tree/main/play2048)** - MobileAgent that plays the 2048 game on play2048.co -Each example includes a self-contained workflow with entrypoint, configuration, and sample data. See the [README](https://github.com/mobilerun/mobilerun-examples) for setup instructions and contribution guidelines. +Each example includes a self-contained workflow with entrypoint, configuration, and sample data. See the [README](https://github.com/droidrun/mobilerun-examples) for setup instructions and contribution guidelines. --- diff --git a/mobilerun/cli/doctor.py b/mobilerun/cli/doctor.py index 1ecec66..3b34329 100644 --- a/mobilerun/cli/doctor.py +++ b/mobilerun/cli/doctor.py @@ -84,7 +84,7 @@ async def check_sdk_version(debug: bool) -> CheckResult: for host in GITHUB_API_HOSTS: try: - url = f"{host}/repos/mobilerun/mobilerun/releases/latest" + url = f"{host}/repos/droidrun/mobilerun/releases/latest" resp = requests.get(url, timeout=10) if resp.status_code == 200: data = resp.json() diff --git a/mobilerun/config_manager/loader.py b/mobilerun/config_manager/loader.py index 76facae..717975c 100644 --- a/mobilerun/config_manager/loader.py +++ b/mobilerun/config_manager/loader.py @@ -73,7 +73,7 @@ class ConfigLoader: raise OutdatedConfigError( f"Config at {user_config_path} is outdated (missing _version).\n" "Please update your config based on the latest example:\n" - "https://github.com/mobilerun/mobilerun/blob/main/mobilerun/config_example.yaml" + "https://github.com/droidrun/mobilerun/blob/main/mobilerun/config_example.yaml" ) old_version = user_dict["_version"] diff --git a/mobilerun/portal.py b/mobilerun/portal.py index 16c1614..853998e 100644 --- a/mobilerun/portal.py +++ b/mobilerun/portal.py @@ -52,7 +52,7 @@ _PORTAL_META = { # Artifact channels — download helpers use explicit channel parameter _ARTIFACT_CHANNELS = { PORTAL_PACKAGE_NAME: { - "repo": "mobilerun/mobilerun-portal", + "repo": "droidrun/mobilerun-portal", "asset_name": "mobilerun-portal", }, LEGACY_PORTAL_PACKAGE_NAME: { diff --git a/mobilerun/tools/driver/cloud.py b/mobilerun/tools/driver/cloud.py index 310734a..af2a2b9 100644 --- a/mobilerun/tools/driver/cloud.py +++ b/mobilerun/tools/driver/cloud.py @@ -1,6 +1,6 @@ """CloudDriver — MobileRun cloud device driver. -Wraps the ``mobilerun`` SDK (``AsyncMobilerun``) to provide device I/O +Wraps the ``mobilerun_sdk`` SDK (``AsyncMobilerun``) to provide device I/O for cloud-hosted devices via the MobileRun API. """ @@ -9,8 +9,8 @@ from __future__ import annotations import logging from typing import Any, Awaitable, Dict, List, Optional, TypeVar -from mobilerun import AsyncMobilerun -from mobilerun._exceptions import APIConnectionError, APITimeoutError, ConflictError +from mobilerun_sdk import AsyncMobilerun +from mobilerun_sdk._exceptions import APIConnectionError, APITimeoutError, ConflictError from mobilerun.tools.driver.base import DeviceDisconnectedError, DeviceDriver diff --git a/pyproject.toml b/pyproject.toml index 61cf374..8218954 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [ "llama-index-llms-google-genai>=0.8.5", "llama-index-llms-ollama>=0.7.2", "llama-index-llms-openrouter>=0.4.2", - "mobilerun-sdk", + "mobilerun-sdk>=3.1.0", ] requires-python = ">=3.11,<3.14" readme = "README.md" @@ -49,8 +49,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/mobilerun/mobilerun" -"Bug Tracker" = "https://github.com/mobilerun/mobilerun/issues" +Homepage = "https://github.com/droidrun/mobilerun" +"Bug Tracker" = "https://github.com/droidrun/mobilerun/issues" Documentation = "https://docs.mobilerun.ai/" [project.optional-dependencies]