adb-dsh-plugin: A DeepSeek Harness Tool for Controlling Android Devices via ADB

adb-dsh-plugin is an MIT licensed DSH plugin for securely controlling Android devices via ADB. It does not spawn additional proxies or concatenate commands in the host shell; instead, it spawns ADB processes via Harness's `ctx.subprocess` service, inheriting cancellation and timeout signals to prevent the model from freely concatenating commands. Core capabilities include device discovery, information retrieval, application package management, system service querying, UI hierarchy analysis, input operations, file transfer, log capture, and screen capture. `adb_shell` is not registered by default and needs to be explicitly enabled; destructive operations such as cleaning and uninstalling applications are disabled by default. The plugin supports configuration for device whitelists, timeout limits, and output size limits, and can be accessed via `restrictHostPathsT...

Read More