#!/bin/sh
# seedance-direct engine launcher (vendored into videoclaw-v3).
# videoclaw spawns this via `sh -lc "<command>"`, pipes ONE JSON object on stdin,
# reads ONE JSON object on stdout. Self-locating so the engine folder is relocatable.
# Wire-up (optional — with the in-tree default this is only needed to force this
# engine, or from another checkout): VCLAW_SEEDANCE_DIRECT_ADAPTER=<this>/run.sh
DIR="$(cd "$(dirname "$0")" && pwd)"
exec "$DIR/.venv/bin/python" "$DIR/adapter.py" "$@"
