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.3 KB
Raw Blame
#!/usr/bin/env bash
set -u; cd "$(dirname "$0")/.."; bad=0
# shellcheck disable=SC1091
. ./VERSIONS
# shellcheck source=runtimes.sh
. toolchain/runtimes.sh
if [ "$(uname -s)-$(uname -m)" = Darwin-x86_64 ]; then echo "miss rdkit ${RDKIT} has no Intel Mac build — this harness needs an Apple Silicon Mac, or Linux"; exit 1; fi
if [ -x .venv/bin/python ] && .venv/bin/python -c 'import rdkit' 2>/dev/null; then echo "ok   rdkit $(.venv/bin/python -c 'import rdkit; print(rdkit.__version__)')"; else echo "miss .venv with rdkit — run toolchain/setup.sh"; bad=1; fi
if [ -x .venv/bin/python ] && .venv/bin/python -c 'import pandas' 2>/dev/null; then echo "ok   pandas $(.venv/bin/python -c 'import pandas; print(pandas.__version__)') · numpy $(.venv/bin/python -c 'import numpy; print(numpy.__version__)')"; else echo "warn pandas/numpy missing — tables and enumerations need them"; fi
if harness_node 18; then echo "ok   node $(node --version) (the pane's server)"; else bad=1; fi
if [ -f node_modules/3dmol/build/3Dmol-min.js ]; then echo "ok   3dmol $(node -p "require('3dmol/package.json').version") (the pane)"; else echo "miss node_modules — run toolchain/setup.sh"; bad=1; fi
if [ -f pane/index.html ] && [ -f pane/app.js ]; then echo "ok   pane (3D, 2D, properties, conformers, series)"; else echo "miss pane/ — reinstall the package"; bad=1; fi
exit $bad