Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

1.1 KB
Raw Blame
#!/usr/bin/env bash
set -u; cd "$(dirname "$0")/.."; bad=0
# shellcheck source=runtimes.sh
. toolchain/runtimes.sh
if harness_node 18; then echo "ok   node $(node --version) (vite and the pane)"; else bad=1; fi
if [ -x node_modules/.bin/vite ]; then
  echo "ok   phaser $(node -p "require('./node_modules/phaser/package.json').version" 2>/dev/null) · vite $(node -p "require('./node_modules/vite/package.json').version" 2>/dev/null)"
else
  echo "miss node_modules — run toolchain/setup.sh"; bad=1
fi
if [ -f viewer.mjs ] && [ -f viewer/frame.js ] && [ -f viewer/probe.js ] && [ -f viewer/guard.js ]; then
  echo "ok   pane: the game frame around vite (viewer.mjs, viewer/)"
else
  echo "miss viewer.mjs or viewer/ — the checkout is incomplete"; bad=1
fi
if [ -f skills/scenes/SKILL.md ] && [ -f skills/harness-phaser/SKILL.md ]; then
  echo "ok   skills: $(find skills -name SKILL.md | wc -l | tr -d ' ')"
else
  echo "miss skills/ — the checkout is incomplete"; bad=1
fi
command -v python3 >/dev/null 2>&1 && echo "ok   $(python3 --version)" || { echo "miss python3 (the verdict)"; bad=1; }
exit $bad