File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- # This script verifies that the terminal-bench agent entry point
4+ # This script verifies that the terminal-bench agent entry point
55# referenced in mux-run.sh is valid and can be executed (imports resolve).
66
77REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
@@ -39,14 +39,14 @@ echo "Verifying agent CLI startup (checking imports)..."
3939if ! output=$( bun " $FULL_CLI_PATH " --help 2>&1 ) ; then
4040 # It failed, which is expected (no args/bad args), but we need to check WHY
4141 exit_code=$?
42-
42+
4343 # Check for known import/worker errors
4444 if echo " $output " | grep -qE " Module not found|Worker error|Cannot find module" ; then
4545 echo " ❌ Error: Agent CLI failed to start due to import/worker errors:"
4646 echo " $output "
4747 exit 1
4848 fi
49-
49+
5050 # If it failed just because of arguments, that's fine - it means the code loaded.
5151 echo " ✅ Agent CLI loaded successfully (ignoring argument errors)"
5252else
You can’t perform that action at this time.
0 commit comments