sailfork / t3code-github / apps/ server/ src/ provider/ testFixtures/ codexCollabMockPeer.sh

#!/usr/bin/env bash
# Wrapper so the Codex provider probe can spawn the mock peer: it always
# passes "app-server" as the first argument (real codex CLI subcommand);
# discard it and exec node on the .mjs peer.
shift
exec node "$(dirname "$0")/codexCollabMockPeer.mjs" "$@"