mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 03:00:48 +00:00
Add desktop runtime management (Xvfb, openbox, dbus), screen capture, mouse/keyboard input, and video streaming via neko binary extracted from the m1k1o/neko container. Includes Docker test rig, TypeScript SDK desktop support, and inspector Desktop tab. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
239 B
Bash
Executable file
15 lines
239 B
Bash
Executable file
#!/usr/bin/env sh
|
|
set -eu
|
|
display="${1:-:191}"
|
|
number="${display#:}"
|
|
socket="/tmp/.X11-unix/X${number}"
|
|
mkdir -p /tmp/.X11-unix
|
|
touch "$socket"
|
|
cleanup() {
|
|
rm -f "$socket"
|
|
exit 0
|
|
}
|
|
trap cleanup INT TERM EXIT
|
|
while :; do
|
|
sleep 1
|
|
done
|