Every OTA self-update and every ISO capture was implicitly relying on /opt/archipelago/web-ui/aiui/ already being present on disk. Any node that had its web-ui directory atomically swapped (for example by a manual deployment shipping only neode-ui dist output) lost aiui entirely and the AI Assistant tab fell through to the "needs to be enabled" placeholder. self-update.sh: drop the rsync --exclude aiui preservation trick and instead stage demo/aiui into the freshly-built dist tree before rsync. demo/aiui in the repo is now the source of truth; every update overwrites the on-disk copy with a matching version rather than carrying forward whatever stale bundle happened to survive. build-auto-installer-iso.sh: prepend demo/aiui to the AIUI search list so ISO builds from a fresh repo clone pick it up automatically, without requiring a side-checkout of the AIUI project or a live dev server. This matches create-release-manifest.sh which already bakes demo/aiui into the release tarball (lines 86-89).
8.5 KiB
Executable File
8.5 KiB
Executable File