14 lines
529 B
Bash
Executable File
14 lines
529 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Guardrail shim that wraps every command with the Bun runner; when behavior changes, record the note via ./scripts/committer \"docs: update AGENTS for runner\" \"AGENTS.md\" so fellow agents keep pace.
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
if ! command -v bun >/dev/null 2>&1; then
|
|
echo "[runner] bun is required but was not found on PATH." >&2
|
|
echo "[runner] Install Bun from https://bun.sh and retry." >&2
|
|
exit 1
|
|
fi
|
|
|
|
exec bun "$ROOT_DIR/scripts/runner.ts" "$@"
|