chore: run pi test script with node

This commit is contained in:
Mario Zechner
2026-05-20 02:26:01 +02:00
parent b141e1fa24
commit 04e93af5c4

View File

@@ -54,10 +54,4 @@ if [[ "$NO_ENV" == "true" ]]; then
echo "Running without API keys..."
fi
TSX_BIN="$SCRIPT_DIR/node_modules/.bin/tsx"
if [[ ! -x "$TSX_BIN" ]]; then
echo "tsx not found at $TSX_BIN. Run npm install from the repo root first." >&2
exit 1
fi
"$TSX_BIN" "$SCRIPT_DIR/packages/coding-agent/src/cli.ts" ${ARGS[@]+"${ARGS[@]}"}
node "$SCRIPT_DIR/packages/coding-agent/src/cli.ts" ${ARGS[@]+"${ARGS[@]}"}