rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:soffits/dsh-desktop-view
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Watch the desktop on the machine that runs your DeepSeek Harness agent, in real time through the Web UI, with audio, and step in when it needs help: a login via QR code, a CAPTCHA, or a dialog it wasn't ready for. Control also gives you the clipboard in both directions, along with file uploads and downloads.
The plugin passes the desktop stream along from cua-spacesd (the daemon that lives in Cua's desktop images) and from Cua's web viewer, using DSH's existing web server plus its login. No new port or subdomain is opened, and the daemon's credentials stay out of the browser.
/desktop-view/, served from your DSH origin. It supports touch on a phone, and you can share a link to it. ?control=1 drops you right into control mode, so a stuck agent can send you one: it sends /desktop-view/?control=1&help=1&session=<its session id>, and once you give control back, the agent wakes up and keeps going.cua-spacesd 0.12 or later on the same machine, with the DSH process able to reach the env token (on Cua's desktop image that means 127.0.0.1:3211, the token being at /run/cua/env-token).Directly from GitHub:
dsh plugin --profile web add github:soffits/dsh-desktop-view
Alternatively, add the bundle through the Web UI's plugin manager. Restart DSH afterwards.
Every option appears as a field in the desktop-view plugin row.
| Setting | Default | Description |
|---|---|---|
endpoint |
http://127.0.0.1:3211 |
Where cua-spacesd listens. Keep it on loopback, since this address receives the env token. |
tokenFile |
/run/cua/env-token |
File containing the env token; it stays on the server at all times. |
maxFps |
30 |
Frame rate requested by the viewer. Reducing it lowers CPU and bandwidth use. |
clipboard |
true |
Clipboard syncing while you hold control. |
filesRoot |
~ |
Desktop folder you can browse, upload to and download from while you hold control. Leaving it empty disables file transfer. |
microphone |
true |
Let your microphone reach the desktop while you hold control, where the desktop supports it. |
idleSeconds |
120 |
After this many seconds with no input, control reverts to watching. |
stateFile |
/tmp/dsh-desktop-view/control.json |
Where the plugin writes the control state that the agent reads. |
notifyAgent |
wake |
Notify the session that opened the view whenever control changes: wake (returning control wakes the agent if it is running or sent the help link; otherwise the note waits), quiet (notes always wait for the agent's next step), off. |
As an example, stateFile contains:
{
"controller": "user",
"since": "2026-11-08T12:00:00.000Z",
"sessionId": "01H…",
"updatedAt": "2026-11-08T12:00:04.120Z"
}
When the owner holds control, controller is "user"; otherwise it is null. In the null case, the file also records the most recent reason control ended (lastReason: released, idle, disconnected, replaced, stopped). Any script or skill that drives the desktop should check it first and yield whenever the value is not null.
When notifyAgent is on, the session that opened a view gets a short note each time someone takes control (queued; the agent is never woken for it) and each time control returns. The return note wakes the agent only when it has to carry on: it is still running, or the view came from its help link (help=1). Otherwise it waits quietly for the agent's next step, so no turn starts for nothing. In the chat the notes appear as a small "Desktop control" row.
no-store, no referrer, and a content security policy that is strict and same-origin.MIT. The desktop viewer displayed is Cua's web viewer, which your own cua-spacesd serves at runtime under Cua's FSL-1.1-MIT licence; the plugin here is independent of Cua and neither includes nor redistributes that viewer.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。