Skip to content

feat: add phone control and diagnostics for 0.3.0 - #18

Merged
CN059 merged 2 commits into
devfrom
agent/phone-control-diagnostics
Sep 30, 2026
Merged

CN059 merged 2 commits into
devfrom
agent/phone-control-diagnostics

Conversation

@CN059

@CN059 CN059 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

MBrain 0.3.0 adds 16 structured tools so MCP clients can operate Android UI and diagnose applications without constructing shell commands for each task.

  • Phone control: node trees, selector/coordinate click and long press, Unicode text input, swipes, navigation, waits, and text clipboard operations through a fixed app_process helper.
  • Diagnostics: bounded logs, AppOps get/set with readback, process and resource reports, network state, and DNS/TCP probes. Tools register under the enabled Root/Shizuku source.
  • Use the fixed development package com.powercess.mbrain.dev and launcher name MBrain 开发版; release remains com.powercess.mbrain. Update test scripts and development docs to stop using temporary capability-test package names.
  • Prepare version 0.3.0 (code 5) and release notes. No release tag is created by this PR.

Validation:

  • Debug, AndroidTest, and Release APK builds; 140 JVM tests and 14 script tests passed.
  • Debug/Release lint: 0 errors (33/26 warnings); both APKs passed four-ABI checks.
  • Connected Android 15 device: all capability smoke checks and authenticated Shizuku/MCP integration passed with the fixed development package. Clipboard restoration and credentials remain device-local.
  • Staged-source scan: no findings. Other Android versions, OEMs, and direct Root execution have not been validated.

@CN059
CN059 merged commit 587d7e5 into dev Sep 30, 2026
2 checks passed
@CN059
CN059 deleted the agent/phone-control-diagnostics branch September 30, 2026 03:38
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