Files
t3code/apps/server/src/provider/testFixtures/codexCollabMockPeer.sh
T
2026-08-06 00:32:28 -04:00

7 lines
278 B
Bash
Executable File

#!/usr/bin/env bash
# Wrapper so CodexSessionRuntime can spawn the mock peer: the runtime 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" "$@"