forked from openclaw/mcporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner
More file actions
executable file
·13 lines (10 loc) · 529 Bytes
/
Copy pathrunner
File metadata and controls
executable file
·13 lines (10 loc) · 529 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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" "$@"