v0.6.4
GM Prep reliability
Fixes a case where a long GM Prep generation could succeed on the server but never appear in Foundry, because the WebSocket was torn down (Cloudflare idle timeout) before the completion event arrived.
Client hardening
- Progress keeps the request alive — the generation timeout now resets on each progress update ("no progress for 10 min" rather than a flat 10-min cap), so long generations no longer time out prematurely.
- Timeout recovery — if the completion event is lost, the client polls the server for the script's real status and recovers a finished script instead of failing.
- Reconnect self-heal — an in-flight generation is reconciled automatically when the connection returns.
New: recover missing GM Prep journals
- A "Recover GM Prep journals" button in the Content Manager (GM only) re-scans your saved scripts and rebuilds any journals that are missing.
- Also available from the console/macros via
game.loremaster.recoverGMPrepJournals().
Compatibility: Foundry VTT v12–v13.