openpod

An opencode plugin that spins up a dedicated virtual machine for each session to isolate agent work.
git clone https://unitehenry.com/git/openpod.git
Log | Files | Refs | README

test (301B)


      1 #!/usr/bin/env bash
      2 set -euo pipefail
      3 
      4 # Ensure Node.js v24 is available
      5 script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
      6 "$script_dir/node" --version >/dev/null
      7 
      8 if [[ "$@" == "opencode" ]]; then
      9   npx vitest run opencode.test.ts
     10   exit 0
     11 fi
     12 
     13 npx vitest run --exclude opencode.test.ts "$@"