nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zhouatie/dsh-device-deck
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Device Deck is a DeepSeek Harness plugin for device work inside the Harness Web UI.
It starts with an Android device mirror, then grows into one control surface for Android, iOS, and Web devices, with the agent able to inspect and drive them.
Status: alpha (
0.6.1). The Android and iOS mirrors are usable. Web mirroring and AI E2E testing are on the roadmap.
devicectl,
then mirror the screen over WebDriverAgent MJPEG. Tap, swipe, wheel scroll, the
back gesture, type text, open links, press Home, and capture screenshots. The
first launch builds WebDriverAgent.host or host:port./sdcard/Download/ on the selected device.+ menu or from the
Device screenshot command in the command menu. The chosen shot becomes a
draft attachment.device_screenshot returns a screenshot as an image. See
Agent tool under Usage.Ctrl+M opens or closes the mirror.Roadmap items are not implemented. Do not treat them as available features.
>=0.2.2-rc.1 <0.3.0 with plugin support.adb from Android platform-tools for Android devices.emulator for AVD management.xcodebuild.iproxy (libimobiledevice), and a device with Developer Mode
enabled. An Apple ID must be signed in to Xcode for automatic signing.pbcopy on macOS, clip
on Windows, and wl-copy, xclip, or xsel on Linux. If the host clipboard
is unavailable, the browser clipboard is used.The bundle ships scrcpy-server 3.3.3, so a separate scrcpy install is not
required.
The Host half reads these environment variables. All are optional.
| Variable | Purpose | Default |
|---|---|---|
DSH_HOME |
Data root. Screenshots, uploads, state, and the WebDriverAgent cache live under $DSH_HOME/device-deck. |
~/.dsh |
DSH_DEVICE_MIRROR_ADB |
Path to adb. |
Search the common SDK folders, then PATH |
DSH_DEVICE_DECK_WDA_PROJECT |
Path to WebDriverAgent.xcodeproj. |
Bundled appium-webdriveragent |
DSH_DEVICE_DECK_WDA_BUNDLE_ID |
Bundle ID for the WebDriverAgent build. | com.dsh.devicedeck.wda |
DSH_DEVICE_DECK_IOS_TEAM |
Apple development team ID for device signing. | Teams from the Xcode preferences, free personal team first |
DSH_DEVICE_DECK_IPROXY |
Path to iproxy. |
/opt/homebrew/bin, /usr/local/bin, /usr/bin, then PATH |
DSH_DEVICE_DECK_SIMULATOR_APP |
Simulator app or Device Hub to open. | Resolved from xcode-select -p |
Clone the repository:
git clone https://github.com/zhouatie/dsh-device-deck.git
cd dsh-device-deck
Install dependencies:
pnpm install
Install this folder as a bundle in Harness. Use Settings → Plugins, or the plugin manager with the absolute path of this folder.
Refresh the Harness Web page once.
For a local-folder install, the bundle is linked. Keep the folder in place and
run pnpm install there after dependency changes.
The package is published as dsh-device-deck. Install the current version with:
dsh plugin --profile web add dsh-device-deck@0.6.1
To install from the plugin market, enable
@deepseek-ai/dsh-experimental-plugin-market-bundle, then use
Plugins → Discover → Add index source with:
https://raw.githubusercontent.com/zhouatie/dsh-device-deck/main/market/index.json
+ menu, choose Device screenshot, then pick a shot. The
shot is added to the composer; add text before sending. The command menu
provides the same picker as Device screenshot.To send a file, click the paperclip in the left rail and choose a file. The file
is pushed to /sdcard/Download/<name> on the selected Android device.
To copy the current page address on Android, click the copy icon in the left rail. The address goes to the system clipboard.
Wireless ADB:
192.168.1.102:5555
A bare host is accepted; port 5555 is added automatically.
device_screenshotThe tool captures an Android device screen, or returns a saved screenshot, and attaches it to the conversation as an image.
| Parameter | Type | Meaning |
|---|---|---|
serial |
string, optional | Android device serial. Defaults to the device selected in the mirror. |
fresh |
boolean, optional | true captures the screen now. The default uses the selected screenshot, or the newest shot of the device. |
The result holds path, serial, width, and height, plus an image
attachment when the attachments service is available. If that service is
unavailable, the tool returns text only.
The tool uses adb. It does not capture iOS devices or simulators.
/api/device-deck/* routes and starts one scrcpy
session per Android device.iproxy, and relays the MJPEG stream. Input actions go through the
WebDriverAgent HTTP API.$DSH_HOME/device-deck/screenshots. The newest 30 per
device are kept; the selected screenshot is never removed.dumpsys, a React
Native deep link from logcat, or a WebView URL through the WebView DevTools
socket. The result is written to the system clipboard.$DSH_HOME/device-deck/state.json.$DSH_HOME/device-deck/uploads, pushed with adb push, and deleted after the
transfer.adb or
xcrun. Screenshots go to the current chat only when you add them to the composer and send them.$DSH_HOME/device-deck/wda./url endpoint and needs
iOS 16.4 or later. Older versions fall back to Siri and may fail.adb shell input text for ASCII on Android. Other text is
pasted through the scrcpy clipboard, so the Android mirror must be open.logcat within the last 10 minutes, and an H5 URL needs WebView
debugging enabled./sdcard/Download.pnpm install
pnpm build
pnpm check
The Client half is authored in src/client/ and bundled into lib/client.js
by scripts/build-client.mjs (esbuild). Do not edit lib/client.js directly.
Run pnpm build after changing src/client/, then commit the rebuilt
lib/client.js and lib/client.js.map.
The Host half is split across host/*.js. index.js only registers the plugin
and its routes. pnpm check rebuilds the Client bundle, checks its syntax, and
loads every Host module.
Layout:
| Path | Purpose |
|---|---|
index.js |
Host plugin entry: routes and teardown |
host/ |
Host modules: adb, android, config, devices, emulator, http, ios, ios-mirror, screenshots, state, stream, tool, util |
src/client/ |
Client source: UI, mirror, picker, store, API, styles |
lib/client.js |
Generated Client bundle (esbuild) |
lib/client.js.map |
Generated source map |
scripts/ |
Build and check scripts |
bin/ |
Bundled scrcpy server and its version file |
cordis.patch.yml |
Bundle patch |
locale/ |
Plugin Manager titles and descriptions |
market/ |
Plugin market index and its README |
RELEASING.md |
npm release flow |
icon.svg |
Plugin icon |
Read CONTRIBUTING.md before opening a pull request.
Plugin code: MIT.
The bundled scrcpy server is Apache-2.0. See LICENSE-scrcpy and NOTICE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent。