Files
nexu-io--open-design/mocks/bin/opencode-cli
T
wehub-resource-sync 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
chore: import upstream snapshot with attribution
2026-07-13 12:00:47 +08:00

8 lines
357 B
Bash
Executable File

#!/usr/bin/env bash
# Alias wrapper for opencode-cli — the primary bin name OD resolves for
# the opencode RuntimeAgentDef (bin: 'opencode-cli', fallbackBins: ['opencode']).
# Delegates to the same mock as mocks/bin/opencode.
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
exec node "$HERE/../mock-agent.mjs" --as opencode "$@"