runtime v0.11.0
@personaai/runtime 0.11.0
Framework-agnostic runtime engine — the shared brain every adapter wraps
@personaai/runtime 0.11.0
Framework-agnostic runtime engine. Adapters (@personaai/adapters/express, nextjs/server, nestjs) are thin translators over this.
Server-side only. Holds
PERSONA_CREDENTIAL— never bundle.
Install
If you use Express/Next/Nest, install @personaai/adapters instead — it wraps this.
The sacred contract: resolveUser
Persona never authenticates users. You tell the runtime who the request is from:
resolveUser returns string | null — null/throw → runtime responds 401. See .
Quickstart (raw Node)
For framework installs, see .
Capabilities (opt-in, default off)
Disabled capabilities' routes are absent (404/405), not 403. See .
Routes
Core always-on routes: see . Capability-gated routes: see .