Processes active LoreCanvas lorebooks and injects relevant entries into the prompt via React state and WebSocket. Supports triggers, groups, limits, and OOC instructions. External script for JanitorAI.