mirror of
https://github.com/droidrun/droidrun.git
synced 2026-05-23 07:40:37 +00:00
fix(sdk): switch to mobilerun_sdk module and revert org urls
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
|||||||
types: [labeled]
|
types: [labeled]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ORG: mobilerun
|
ORG: droidrun
|
||||||
PROJECT_NUMBER: 2
|
PROJECT_NUMBER: 2
|
||||||
PROJECT_TOKEN: ${{ secrets.BOUNTY_SECRET }}
|
PROJECT_TOKEN: ${{ secrets.BOUNTY_SECRET }}
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}' \
|
}' \
|
||||||
-f owner="mobilerun" \
|
-f owner="droidrun" \
|
||||||
-f repo="mobilerun" \
|
-f repo="mobilerun" \
|
||||||
-F number=104 \
|
-F number=104 \
|
||||||
--jq '.data.repository.issue as $i |
|
--jq '.data.repository.issue as $i |
|
||||||
|
|||||||
+1
-1
@@ -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
|
- Join our [Discord server](https://discord.gg/ZZbKEZZkwK) for discussions
|
||||||
- Follow us on [Twitter/X](https://x.com/mobilerun_ai)
|
- Follow us on [Twitter/X](https://x.com/mobilerun_ai)
|
||||||
- Check our [Documentation](https://docs.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
|
## Security Checks
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
[](https://cloud.mobilerun.ai/sign-in?waitlist=true)
|
[](https://cloud.mobilerun.ai/sign-in?waitlist=true)
|
||||||
|
|
||||||
|
|
||||||
[](https://github.com/mobilerun/mobilerun/stargazers)
|
[](https://github.com/droidrun/mobilerun/stargazers)
|
||||||
[](https://mobilerun.ai)
|
[](https://mobilerun.ai)
|
||||||
[](https://x.com/mobilerun_ai)
|
[](https://x.com/mobilerun_ai)
|
||||||
[](https://discord.gg/ZZbKEZZkwK)
|
[](https://discord.gg/ZZbKEZZkwK)
|
||||||
@@ -26,14 +26,14 @@
|
|||||||
</picture>
|
</picture>
|
||||||
|
|
||||||
|
|
||||||
[Deutsch](https://zdoc.app/de/mobilerun/mobilerun) |
|
[Deutsch](https://zdoc.app/de/droidrun/mobilerun) |
|
||||||
[Español](https://zdoc.app/es/mobilerun/mobilerun) |
|
[Español](https://zdoc.app/es/droidrun/mobilerun) |
|
||||||
[français](https://zdoc.app/fr/mobilerun/mobilerun) |
|
[français](https://zdoc.app/fr/droidrun/mobilerun) |
|
||||||
[日本語](https://zdoc.app/ja/mobilerun/mobilerun) |
|
[日本語](https://zdoc.app/ja/droidrun/mobilerun) |
|
||||||
[한국어](https://zdoc.app/ko/mobilerun/mobilerun) |
|
[한국어](https://zdoc.app/ko/droidrun/mobilerun) |
|
||||||
[Português](https://zdoc.app/pt/mobilerun/mobilerun) |
|
[Português](https://zdoc.app/pt/droidrun/mobilerun) |
|
||||||
[Русский](https://zdoc.app/ru/mobilerun/mobilerun) |
|
[Русский](https://zdoc.app/ru/droidrun/mobilerun) |
|
||||||
[中文](https://zdoc.app/zh/mobilerun/mobilerun)
|
[中文](https://zdoc.app/zh/droidrun/mobilerun)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
Mobilerun is an open-source (MIT) framework for controlling Android and iOS devices through LLM agents.
|
||||||
It enables mobile automation using natural language commands.
|
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
|
- **Docs site**: https://docs.mobilerun.ai
|
||||||
- **License**: MIT
|
- **License**: MIT
|
||||||
- **Install**: `uv tool install mobilerun` (Google Gemini, OpenAI, Ollama, OpenRouter included by default)
|
- **Install**: `uv tool install mobilerun` (Google Gemini, OpenAI, Ollama, OpenRouter included by default)
|
||||||
|
|||||||
+2
-2
@@ -87,7 +87,7 @@
|
|||||||
{
|
{
|
||||||
"tab": "GitHub",
|
"tab": "GitHub",
|
||||||
"icon": "github",
|
"icon": "github",
|
||||||
"href": "https://github.com/mobilerun/mobilerun"
|
"href": "https://github.com/droidrun/mobilerun"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"socials": {
|
"socials": {
|
||||||
"github": "https://github.com/mobilerun/mobilerun",
|
"github": "https://github.com/droidrun/mobilerun",
|
||||||
"x": "https://x.com/mobilerun_ai",
|
"x": "https://x.com/mobilerun_ai",
|
||||||
"discord": "https://discord.gg/gdekvkJFvn",
|
"discord": "https://discord.gg/gdekvkJFvn",
|
||||||
"website": "https://mobilerun.ai"
|
"website": "https://mobilerun.ai"
|
||||||
|
|||||||
@@ -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.
|
<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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -355,7 +355,7 @@ The iOS Portal is an Xcode project that runs as a UI test — it launches an HTT
|
|||||||
<Steps>
|
<Steps>
|
||||||
<Step title="Clone the iOS Portal repository">
|
<Step title="Clone the iOS Portal repository">
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/mobilerun/ios-portal.git
|
git clone https://github.com/droidrun/ios-portal.git
|
||||||
cd ios-portal
|
cd ios-portal
|
||||||
```
|
```
|
||||||
</Step>
|
</Step>
|
||||||
|
|||||||
@@ -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:
|
Pull the image from the GitHub Container Registry:
|
||||||
|
|
||||||
```bash
|
```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:
|
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 \
|
--device /dev/phone1/phone:/dev/phone \
|
||||||
--volume /dev/bus/usb:/dev/bus/usb \
|
--volume /dev/bus/usb:/dev/bus/usb \
|
||||||
--volume ~/.android:/home/mobilerun/.android \
|
--volume ~/.android:/home/mobilerun/.android \
|
||||||
ghcr.io/mobilerun/mobilerun:latest \
|
ghcr.io/droidrun/mobilerun:latest \
|
||||||
<mobilerun command>
|
<mobilerun command>
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ docker run \
|
|||||||
--device /dev/phone1/phone:/dev/phone \
|
--device /dev/phone1/phone:/dev/phone \
|
||||||
--volume /dev/bus/usb:/dev/bus/usb \
|
--volume /dev/bus/usb:/dev/bus/usb \
|
||||||
--volume ~/.android:/home/mobilerun/.android \
|
--volume ~/.android:/home/mobilerun/.android \
|
||||||
ghcr.io/mobilerun/mobilerun:latest \
|
ghcr.io/droidrun/mobilerun:latest \
|
||||||
setup
|
setup
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ docker run \
|
|||||||
--device /dev/phone1/phone:/dev/phone \
|
--device /dev/phone1/phone:/dev/phone \
|
||||||
--volume /dev/bus/usb:/dev/bus/usb \
|
--volume /dev/bus/usb:/dev/bus/usb \
|
||||||
--volume ~/.android:/home/mobilerun/.android \
|
--volume ~/.android:/home/mobilerun/.android \
|
||||||
ghcr.io/mobilerun/mobilerun:latest \
|
ghcr.io/droidrun/mobilerun:latest \
|
||||||
ping
|
ping
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -111,13 +111,13 @@ Now you’re ready to control your device using Docker and natural language:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Using default configuration with Google API key
|
# 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
|
# 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
|
# 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
|
#### Troubleshooting
|
||||||
|
|||||||
@@ -32,14 +32,14 @@ Welcome to the Mobilerun Guides! This section provides step-by-step instructions
|
|||||||
|
|
||||||
### Templates
|
### 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
|
- **[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/mobilerun/mobilerun-examples/tree/main/LinkedInLeads)** - End-to-end lead discovery and enrichment for LinkedIn companies and roles
|
- **[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/mobilerun/mobilerun-examples/tree/main/TwitterPost)** - Finds trending topics, drafts posts, and generates images to publish on X/Twitter
|
- **[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/mobilerun/mobilerun-examples/tree/main/play2048)** - MobileAgent that plays the 2048 game on play2048.co
|
- **[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.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ async def check_sdk_version(debug: bool) -> CheckResult:
|
|||||||
|
|
||||||
for host in GITHUB_API_HOSTS:
|
for host in GITHUB_API_HOSTS:
|
||||||
try:
|
try:
|
||||||
url = f"{host}/repos/mobilerun/mobilerun/releases/latest"
|
url = f"{host}/repos/droidrun/mobilerun/releases/latest"
|
||||||
resp = requests.get(url, timeout=10)
|
resp = requests.get(url, timeout=10)
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
data = resp.json()
|
data = resp.json()
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class ConfigLoader:
|
|||||||
raise OutdatedConfigError(
|
raise OutdatedConfigError(
|
||||||
f"Config at {user_config_path} is outdated (missing _version).\n"
|
f"Config at {user_config_path} is outdated (missing _version).\n"
|
||||||
"Please update your config based on the latest example:\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"]
|
old_version = user_dict["_version"]
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ _PORTAL_META = {
|
|||||||
# Artifact channels — download helpers use explicit channel parameter
|
# Artifact channels — download helpers use explicit channel parameter
|
||||||
_ARTIFACT_CHANNELS = {
|
_ARTIFACT_CHANNELS = {
|
||||||
PORTAL_PACKAGE_NAME: {
|
PORTAL_PACKAGE_NAME: {
|
||||||
"repo": "mobilerun/mobilerun-portal",
|
"repo": "droidrun/mobilerun-portal",
|
||||||
"asset_name": "mobilerun-portal",
|
"asset_name": "mobilerun-portal",
|
||||||
},
|
},
|
||||||
LEGACY_PORTAL_PACKAGE_NAME: {
|
LEGACY_PORTAL_PACKAGE_NAME: {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"""CloudDriver — MobileRun cloud device driver.
|
"""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.
|
for cloud-hosted devices via the MobileRun API.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -9,8 +9,8 @@ from __future__ import annotations
|
|||||||
import logging
|
import logging
|
||||||
from typing import Any, Awaitable, Dict, List, Optional, TypeVar
|
from typing import Any, Awaitable, Dict, List, Optional, TypeVar
|
||||||
|
|
||||||
from mobilerun import AsyncMobilerun
|
from mobilerun_sdk import AsyncMobilerun
|
||||||
from mobilerun._exceptions import APIConnectionError, APITimeoutError, ConflictError
|
from mobilerun_sdk._exceptions import APIConnectionError, APITimeoutError, ConflictError
|
||||||
|
|
||||||
from mobilerun.tools.driver.base import DeviceDisconnectedError, DeviceDriver
|
from mobilerun.tools.driver.base import DeviceDisconnectedError, DeviceDriver
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -23,7 +23,7 @@ dependencies = [
|
|||||||
"llama-index-llms-google-genai>=0.8.5",
|
"llama-index-llms-google-genai>=0.8.5",
|
||||||
"llama-index-llms-ollama>=0.7.2",
|
"llama-index-llms-ollama>=0.7.2",
|
||||||
"llama-index-llms-openrouter>=0.4.2",
|
"llama-index-llms-openrouter>=0.4.2",
|
||||||
"mobilerun-sdk",
|
"mobilerun-sdk>=3.1.0",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.11,<3.14"
|
requires-python = ">=3.11,<3.14"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@@ -49,8 +49,8 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://github.com/mobilerun/mobilerun"
|
Homepage = "https://github.com/droidrun/mobilerun"
|
||||||
"Bug Tracker" = "https://github.com/mobilerun/mobilerun/issues"
|
"Bug Tracker" = "https://github.com/droidrun/mobilerun/issues"
|
||||||
Documentation = "https://docs.mobilerun.ai/"
|
Documentation = "https://docs.mobilerun.ai/"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user