#!/bin/zsh
# clicker-vnc — thin wrapper around components/macos/screen-sharing-relay/vnc_relay.py
#
# Why this exists: see components/macos/screen-sharing-relay/README.md
# Routes mouse/keyboard through com.apple.screensharingd to bypass macOS 26
# SwiftUI hit-test filtering (no reboot needed; only Screen Sharing toggle).
set -euo pipefail
HERE=${0:A:h}
PYTHON=${PYTHON:-/usr/bin/python3}
exec "$PYTHON" "$HERE/../components/macos/screen-sharing-relay/vnc_relay.py" "$@"
