bothy-sdk
    Preparing search index...

    Class Envelope

    One delivered event; its token never renders (it is a Secret).

    Implements

    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    The event decoded with the tolerance layer: known with its generated type, unknown (still acknowledgeable) or ephemeral for an autocomplete request.

    id: string

    The envelope id.

    raw: Readonly<Record<string, unknown>>

    The envelope as received, without invocation_token.

    redelivered: boolean

    The delivery field redelivered.

    seq: number | undefined

    The seq; undefined for an ephemeral event.

    token: Secret | undefined

    The delivery field invocation_token, if any.

    type: string

    The event type, for example agent.invocation.

    Accessors

    • get ephemeral(): boolean

      True for an event without seq (no inbox, no acknowledgement).

      Returns boolean