070959e133
landing-page-staging / Deploy landing page to staging (push) Has been skipped
landing-page-ci / Validate landing page (push) Failing after 4s
visual-baseline / Capture visual baselines (push) Has been cancelled
bake-plugin-previews / Bake plugin previews (push) Has been cancelled
10 lines
456 B
Bash
Executable File
10 lines
456 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Mock wrapper for codex — runs the bundled mock-agent in this agent's
|
|
# stdout protocol. The wrapper accepts (and ignores) any flags the real
|
|
# CLI would take; the mock doesn't honor model selection, tool gates, or
|
|
# permission modes — recording selection is via OD_MOCKS_*
|
|
# env vars (see ../README.md).
|
|
set -euo pipefail
|
|
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
|
|
exec node "$HERE/../mock-agent.mjs" --as codex "$@"
|