A11 TypeScript API - v0.2.1
    Preparing search index...

    Class ActionRegistry

    Catalogue of action contracts and the handlers this process can execute.

    A session consults its registry when an ActionMessage arrives: the schema validates and maps ports, and the optional handler performs local work. Client-only entries may omit handlers while still exposing schemas for constructing remote calls or model tool definitions. Registrations are copied so later caller mutation cannot change a live service contract.

    Index
    • Clone registrations, normally removing all input and output autofills. Use the cleared copy before sharing a registry across an agent or trust boundary so context-specific defaults do not cross implicitly.

      Parameters

      • clearAutofills: boolean = true

      Returns StatusOr<ActionRegistry>

    • Snapshot registered names in insertion order.

      Returns string[]