Skip to content

dsh-adb

⭐ 2 · ✅ active · plugin

Type plugin Category Plugin discovery
Stars ⭐ 2 Status ✅ active
Author SamXiaBing Updated 2026-08-21

One-liner

ADB device & bench operations: device discovery, structured logcat (background streaming), apk install, file pull/push, dumpsys performance snapshots.

About

Give DSH agents direct control over Android devices and automotive bench rigs: device discovery, structured logcat, APK install, file pull/push, and performance snapshots. Built for on-vehicle and bench debugging workflows — generic within the domain (no Unity, no vendor protocol lock-in).

📦 Install

dsh plugin --profile web add dsh-adb

🚀 Quick Start

1. adb_watch_crash (watch for new crash)
2. → crash detected → adb_crash_report (full crash scene: buffer + dropbox + process + memory)
3.                    → adb_screenshot (screen state at crash time)

📚 Learn more

Install

dsh plugin --profile web add dsh-adb Or install directly from GitHub: dsh plugin --profile web add github:SamXiaBing/dsh-adb

Usage: adb_watch_crash (Crash Watchdog)

Watch the device's crash buffer for new real crashes. On start, it reads the current buffer and remembers every existing crash signature (seed), so only crashes that appear after the watch begins are reported. Boot markers (mtk-brm-*) are not crashes and are ignored. Foreground mode (default) — blocks until a new crash appears or the budget expires: // Agent calls: { "name": "adb_watch

Configuration

Set the config block in cordis.patch.yml (or a profile patch): name: dsh-adb config: adbPath: C:\Users\me\AppData\Local\Android\Sdk\platform-tools\adb.exe defaultSerial: emulator-5554 timeoutMs: 30000