Skip to content

Polish v2 MCP defaults, ADB config propagation, and wheel extras. - #439

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1014296533
Nov 6, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1014296533

Conversation

@copybara-service

Copy link
Copy Markdown

Polish v2 MCP defaults, ADB config propagation, and wheel extras.

  • Default _SERIAL to '' in mcp/android_mcp_server.py (removing # pyrefly: ignore[bad-argument-type]) and guard AdbController._command_prefix against empty device_name so android-env-mcp works without --serial.
  • Propagate config.adb_path into config.adb_controller.adb_path in android_device_loader._prepare_emulator_configs even when config.adb_controller is already set, and reuse config.adb_controller when constructing AdbController.
  • Set adb_path directly on AndroidDeviceConfig in examples/run_random_agent.py and examples/run_acme_agent.py to match the documented AndroidDeviceConfig usage.
  • Align optional dependencies (acme and testing) between BUILD.bazel (android_env_wheel) and pyproject.toml.
  • Update copy.bara.sky github_code_url to /tree/main/, update METADATA remote_location and Copybara-Submit-docs-presubmit timeout (to 1800), and remove unused import numpy as np from README.md and README.zh.md.

@copybara-service
copybara-service Bot force-pushed the test_1014296533 branch 3 times, most recently from 3c20e7b to a684b2b Compare November 6, 2026 16:57
- Default `_SERIAL` to `''` in `mcp/android_mcp_server.py` (removing `# pyrefly: ignore[bad-argument-type]`) and guard `AdbController._command_prefix` against empty `device_name` so `android-env-mcp` works without `--serial`.
- Propagate `config.adb_path` into `config.adb_controller.adb_path` in `android_device_loader._prepare_emulator_configs` even when `config.adb_controller` is already set, and reuse `config.adb_controller` when constructing `AdbController`.
- Set `adb_path` directly on `AndroidDeviceConfig` in `examples/run_random_agent.py` and `examples/run_acme_agent.py` to match the documented `AndroidDeviceConfig` usage.
- Align optional dependencies (`acme` and `testing`) between `BUILD.bazel` (`android_env_wheel`) and `pyproject.toml`.
- Update `copy.bara.sky` `github_code_url` to `/tree/main/`, update `METADATA` `remote_location` and `Copybara-Submit-docs-presubmit` timeout (to `1800`), and remove unused `import numpy as np` from `README.md` and `README.zh.md`.

PiperOrigin-RevId: 1015602619
@copybara-service
copybara-service Bot merged commit 3abbffc into main Nov 6, 2026
6 checks passed
@copybara-service
copybara-service Bot deleted the test_1014296533 branch November 6, 2026 17:08
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