#!/bin/sh
# vnext shim — ALL boot logic lives in `conveyor-agent boot`
# (packages/conveyor-agent/src/boot/). Keep this file dumb: env floor, exec.
# The npm self-update preflight is no longer a separate blocking process here —
# `conveyor-agent boot` runs it concurrently with the boot pipeline and gates
# only the runner spawn / workbench daemon on the result (self-update.ts), so
# each container saves a full node+npm process launch on the boot critical path.
set -eu
export HOME=/home/conveyor
export PATH="/home/conveyor/.bun/bin:${PATH}"
export NO_UPDATE_NOTIFIER=1
exec conveyor-agent boot
