From 3dd95094f5cf4d64c75f0194d6947e5b0d84b821 Mon Sep 17 00:00:00 2001 From: Michael Renner Date: Thu, 22 Jan 2026 18:24:05 +0100 Subject: [PATCH] fix: allow pi-test.sh to run from any directory (#905) --- pi-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pi-test.sh b/pi-test.sh index fa78e54f..34c26c24 100755 --- a/pi-test.sh +++ b/pi-test.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash set -euo pipefail -npx tsx packages/coding-agent/src/cli.ts "$@" +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +npx tsx "$SCRIPT_DIR/packages/coding-agent/src/cli.ts" "$@"