nexu-io--open-design
10 行
456 B
Bash
可执行文件
10 行
456 B
Bash
可执行文件
#!/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 "$@"
|