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

    A11 TypeScript API - v0.2.1

    Public TypeScript surface for building A11 browser and Node agents.

    Backend
    BytePacketType
    ChannelEndpointRole
    InvalidStatusAccessBehaviour
    LlmHeaders
    NormalizedContentType
    Role
    SignallingMessageType
    StatusCode
    StreamMode
    TurnRelayType
    AbortedException
    Action
    ActionHeaderSchema
    ActionMessage
    ActionPortSchema
    ActionRegistry
    ActionSchema
    AlreadyExistsException
    AsyncNode
    ByteReassembler
    CancelledException
    ChannelWireStream
    Chunk
    ChunkMetadata
    ChunkStoreReader
    ChunkStoreWriter
    DataLossException
    DeadlineExceededException
    FailedPreconditionException
    HttpSseClientWireStream
    InProcessWireStream
    InternalException
    InvalidArgumentException
    LocalChunkStore
    NodeFragment
    NodeMap
    NodeRef
    NotFoundException
    OutOfRangeException
    PermissionDeniedException
    Port
    ResourceExhaustedException
    SerializationRegistry
    Session
    SessionWithRecv
    SignallingMessage
    StatusException
    ToolAdapter
    TurnServer
    UnauthenticatedException
    UnavailableException
    UnimplementedException
    UnknownException
    WebRtcWireStream
    WebSocketSignallingClient
    WebSocketWireStream
    WireMessage
    WireStreamWithRecv
    AbortedError
    ActionCall
    ActionCreateOptions
    ActionHeaderSchemaOptions
    ActionMessageOptions
    ActionPortSchemaOptions
    ActionRegistryLike
    ActionSchemaOptions
    ActionSessionContext
    ActionSettings
    AlreadyExistsError
    AsyncNodeOptions
    BinaryChannel
    BinaryChannelCallbacks
    ByteChunkingOptions
    BytePacket
    CancelledError
    ChannelFramingOptions
    ChunkMetadataOptions
    ChunkOptions
    ChunkStore
    ChunkStoreReaderOptions
    ChunkStoreWrite
    ChunkStoreWriterOptions
    DataLossError
    DeadlineExceededError
    DecodedStatus
    FailedPreconditionError
    GemmaEngine
    HttpSseOptions
    InternalError
    InvalidArgumentError
    MakeActionOptions
    NodeFragmentOptions
    NodeRefOptions
    NonOkStatus
    NormalizedByteChunkingOptions
    NormalizedChannelFramingOptions
    NormalizedMessage
    NormalizedPart
    NormalizedSessionOptions
    NormalizedWireStreamOptions
    NotFoundError
    OkStatus
    OutOfRangeError
    PermissionDeniedError
    ReceivedSessionMessage
    ResourceExhaustedError
    SerializationCodec
    SessionCreateOptions
    SessionOptions
    SignallingMessageOptions
    SignallingTransport
    StatusJson
    ToolDefinition
    TurnServerOptions
    UnauthenticatedError
    UnavailableError
    UnimplementedError
    UnknownError
    WebRtcConfiguration
    WebSocketClientOptions
    WebSocketLike
    WebSocketSignallingClientOptions
    WireMessageOptions
    WireStream
    WireStreamOptions
    WritableWireStream
    A11ActionConfig
    A11Peer
    ActionHandler
    AsyncByteSource
    ByteMap
    ByteMapInput
    ByteSource
    ChunkStoreFactory
    ClaudeCreateMessageConfig
    Deadline
    FetchFunction
    GeminiCreateInteractionConfig
    GeminiStateMode
    GemmaConfig
    GemmaEngineFactory
    HttpHeaders
    Interaction
    InteractionNormalizer
    OllamaCreateChatConfig
    OnActionCancelled
    OnSessionStreamDone
    OnSessionStreamMessage
    OnSignallingMessage
    OnWireDone
    OnWireMessage
    PeerConnectionFactory
    PortValueSchemas
    SerializedData
    Status
    StatusOr
    UsageMetadata
    WebSocketFactory
    WireDeadline
    a11ActionConfigSchema
    a11PeerSchema
    ABORT_STATUS_HEADER
    ACTION_DISPATCH_STATUS_OUTPUT
    ACTION_HEADER_PREFIX
    ACTION_STATUS_MIMETYPE
    ACTION_STATUS_OUTPUT
    BACKEND_METADATA_KEY
    CANCEL_ACTION_HEADER
    CANCEL_ACTION_NAME
    CLAUDE_DEFAULT_MODEL
    claudeCreateMessageConfigSchema
    DEFAULT_MODEL
    DEFAULT_MODEL_ASSET_PATH
    DEFAULT_ROLE
    DEFAULT_SSE_CONNECT_ENDPOINT
    DEFAULT_SSE_MESSAGE_ENDPOINT
    DEFAULT_STOP_SEQUENCES
    GEMINI_DEFAULT_MODEL
    geminiCreateInteractionConfigSchema
    geminiStateModeSchema
    gemmaConfigSchema
    GLOBAL_WEBRTC_SIGNALLING_ENDPOINT
    INTERACT_WITH_GEMMA_SCHEMA
    INTERACT_WITH_LLM_SCHEMA
    JSON_MIMETYPE
    MAX_SINGLE_MESSAGE_SIZE
    MAX_SINGLE_WIRE_MESSAGE_SIZE
    MINIMUM_BYTE_PACKET_SIZE
    MODEL_CACHE_NAME
    MSGPACK_MIMETYPE
    OCTET_STREAM_MIMETYPE
    OLLAMA_DEFAULT_MODEL
    ollamaCreateChatConfigSchema
    SESSION_STATUS_HEADER
    SSE_HTTP_HEADER_PREFIX
    SSE_STREAM_ID_HEADER
    usageMetadataSchema
    WHOLE_JSON_OUTPUT
    a11PeerFromString
    a11PeerToString
    abortedError
    actionNameMatchesAllowed
    alreadyExistsError
    base64Decode
    base64Encode
    cancelledError
    cloneChunk
    cloneFragment
    concatBytes
    copyByteMap
    dataLossError
    deadlineExceededError
    decodeStatus
    decodeStatusChunk
    executeActionsFromInteraction
    failedPreconditionError
    fetchModelAssetBuffer
    fromChunk
    getAllowedLlmActionPatterns
    getError
    getGlobalSerializationRegistry
    getStatusAndValue
    getToolDefinitions
    getValue
    hasChunkStoreShape
    interactionBackend
    interactWithGemma
    interactWithLlm
    internalError
    invalidArgumentError
    invokeWireCallback
    isAbortedError
    isAlreadyExistsError
    isCancelledError
    isDataLossError
    isDeadlineExceededError
    isFailedPreconditionError
    isInternalError
    isInvalidArgumentError
    isNotFoundError
    isOk
    isOutOfRangeError
    isPermissionDeniedError
    isResourceExhaustedError
    isStatus
    isStatusChunk
    isUnauthenticatedError
    isUnavailableError
    isUnimplementedError
    isUnknownError
    makeHalfCloseMessage
    makeInteraction
    makeNullChunk
    makeTextMessageInteraction
    noexcept
    noexceptFetch
    normalizeByteChunkingOptions
    normalizeByteMap
    normalizeChannelFramingOptions
    normalizeInteraction
    normalizeSessionHeaders
    normalizeSessionOptions
    normalizeWireHeaders
    normalizeWireStreamOptions
    notFoundError
    okStatus
    organiseAndDeduplicateJsonschema
    outOfRangeError
    packStatus
    parseBytePacket
    parseInteraction
    permissionDeniedError
    randomId
    registerInteractionNormalizer
    resetGemmaEngineFactory
    resourceExhaustedError
    setGemmaEngineFactory
    setGlobalSerializationRegistry
    splitBytesIntoPackets
    statusCodeFromHttp
    statusCodeFromWebSocket
    statusCodeToWebSocket
    statusFromChunk
    statusFromJson
    statusFromResponse
    statusFromUnknown
    statusToChunk
    statusToJson
    terminate
    throwForError
    toBytes
    toBytesAsync
    toChunk
    unauthenticatedError
    unavailableError
    unimplementedError
    unknownError
    unpackStatus
    utf8Decode
    utf8Encode
    validateA11Peer
    validateName
    valueOrTerminate
    valueOrThrow
    wireDeadlineMillis
    wireMessageFromJsonValue
    wireMessageToJsonValue
    zodParse
    zodToJsonSchema