Memory sessions

memorySessionPlugin keeps sessions in memory. It is Worker-safe: no SQL and no filesystem.

import { memorySessionPlugin } from '@buildautomaton/plugins';

memorySessionPlugin()

Worker host uses this when there is no work Durable Object storage. Prefer SQL sessions when you need records to survive the isolate.