ravenli059/dsh-android-agent

ravenli059★ 1TypeScript最后同步: 2026-08-20

在 GitHub 打开

支持从dshweb连接到android手机,进行各种操作

README 摘要

dsh-android-agent — Android phone testing plugin for DSH 中文 English A mobile-app testing plugin for DeepSeek Harness: it connects over WebSocket to an Android phone running dsh-android-agent on the same LAN and lets you open apps, tap at coordinates, input text, swipe, send key events, take screenshots and dump the UI tree from the dsh-web「Phone」panel, with the same phone tools exposed to agents. Built entirely on official NPM SDK packages — no dsh source changes. Features Feature Description Device management CRUD phone devices (alias / WebSocket URL / token / notes); stored in /.dsh/dsh-phone.json (0600) Connections One WebSocket per device (ws://phone-ip:8080/ws?token=...), auto-reconnect (max 3), 5s status refresh Open app openApp by package name (e.g. com.android.settings) Tap / swipe tap/swipe at pixel coordinates, configurable gesture duration Input text inputText — optional tap-to-focus first (accessibility ACTION SET TEXT / paste based) Key events keyevent (back=4, home=3, recents=187, enter=66, delete=67 ...) Screenshot preview + download from the panel; agent tool saves into /.dsh/phone-screenshots UI tree getUI dumps accessibility nodes (text / class / bounds / actions)…

在 GitHub 查看完整 README →
Agent/智能体dsh-androiddsh-pluginagent

分类