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