FreakingGenius - v0.1.0
    Preparing search index...

    Loads and caches PersonaProfile definitions by ID.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetches and caches a persona by its ID. Subsequent calls with the same ID return from cache.

      Parameters

      • personaId: string

        The persona identifier from SessionConfig.personaId.

      Returns Promise<PersonaProfile>

      The validated PersonaProfile.

      If the persona file cannot be fetched or fails schema validation.