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

node (321B)


      1 #!/usr/bin/env bash
      2 set -euo pipefail
      3 
      4 if ! command -v node >/dev/null 2>&1; then
      5   echo "Error: node is not installed" >&2
      6   exit 1
      7 fi
      8 
      9 node_version=$(node -v)
     10 if [[ ! "$node_version" =~ ^v24\. ]]; then
     11   echo "Error: Node.js version 24 is required (found $node_version)" >&2
     12   exit 1
     13 fi
     14 
     15 exec "$(command -v node)" "$@"