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.

606 B
Raw Blame
#!/usr/bin/env bash
# Exit 0 when this machine can run the viewer. One line per check; Harness shows them.
set -u
cd "$(dirname "$0")"
ok=0
# `cadgen doctor` says "cadgen <version>" first; when it cannot, the pinned version stands in.
if [ -x .venv/bin/cadgen ]; then v="$(.venv/bin/cadgen doctor . 2>/dev/null | head -1)"; echo "ok   ${v:-cadgen $(cat CADGEN_VERSION)}"; else echo "miss .venv/bin/cadgen — run setup.sh"; ok=1; fi
if .venv/bin/python -c 'import build123d' >/dev/null 2>&1; then echo "ok   build123d + OpenCascade"; else echo "miss build123d (OpenCascade) in the venv"; ok=1; fi
exit $ok