fix(sdk): switch to mobilerun_sdk module and revert org urls

This commit is contained in:
lutz-grex
2026-04-16 14:50:35 +02:00
parent 239eb282e7
commit ac9ad935bf
14 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -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 |
+1 -1
View File
@@ -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
+9 -9
View File
@@ -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 @@
</picture>
[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)
</div>
+1 -1
View File
@@ -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)
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -12,7 +12,7 @@ Telemetry helps us:
<b>We do not collect any personal or sensitive data.</b> 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.
---
+1 -1
View File
@@ -355,7 +355,7 @@ The iOS Portal is an Xcode project that runs as a UI test — it launches an HTT
<Steps>
<Step title="Clone the iOS Portal repository">
```bash
git clone https://github.com/mobilerun/ios-portal.git
git clone https://github.com/droidrun/ios-portal.git
cd ios-portal
```
</Step>
+7 -7
View File
@@ -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 \
<mobilerun command>
```
@@ -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 youre 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
+6 -6
View File
@@ -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.
---
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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"]
+1 -1
View File
@@ -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: {
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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]