Rivet Dynamic Actor Registry
Per-tenant untrusted code running as isolated Rivet actors, using the dynamicActor loader added in rivetkit 2.3.0. One dynamic definition backs every workspace: the load hook resolves actor source as a string per actor key, from a sibling actor, object storage or an HTTP fetch, and the runtime evaluates it in a Node process capped by memoryLimit and cpuTimeLimitMs. Includes an editable source actor with revision tracking, registry setup, a typed client, and the untyped action() escape hatch that dynamic actors require because they have no compile time action map.
npx shadcn@latest add https://ui.aryank.space/r/rivet-dynamic-actor-registry.jsonInstalls from ui.aryank.space. To add it by hand, copy the files in Files below, or register the @compronents namespace via the docs.
One dynamic definition backs every workspace; the load hook resolves the tenant's actor source per key and it runs inside a memory-capped Node process.