electron-agent-bridge
    Preparing search index...

    Module @electron-agent-bridge/core

    @electron-agent-bridge/core: Shared contracts: protocol table, error codes, result envelopes, budgets and privacy helpers. Isomorphic; depends on zod only.

    @electron-agent-bridge/core

    npm

    The protocol of electron-agent-bridge: every method's parameters and results as zod schemas, error codes, result envelopes with limitations, and the shared budgets, redaction and shape helpers. You rarely install it yourself: it comes with @electron-agent-bridge/electron and @electron-agent-bridge/mcp.

    MIT licensed.

    BridgeError
    ByteRing
    LineDecoder
    BridgeErrorData
    BridgeErrorOptions
    ByteRingOptions
    EndpointDirInput
    Envelope
    FittedText
    MethodDef
    Redacted
    RedactOptions
    RingEntry
    RingPage
    RingStats
    RpcErrorObject
    ShapeField
    ShapeLimits
    SocketPathInput
    Action
    ActionType
    Capability
    ConnectionMode
    DetachReason
    ErrorCode
    Feature
    Handshake
    IpcEvent
    JsonValue
    LaunchBridgeOptions
    Limitation
    Locator
    LogEntry
    MethodData
    MethodInput
    MethodName
    MethodParams
    NetworkRecord
    Observations
    RecordedEvent
    ResolvedElement
    RpcRequest
    RpcResponse
    SessionRole
    ShapeNode
    StepResult
    TargetInfo
    TargetKind
    WaitCondition
    ActionSchema
    BridgeErrorDataSchema
    CapabilitySchema
    CAPS
    ConnectionModeSchema
    DEFAULT_SENSITIVE_KEYS
    DetachReasonSchema
    ENDPOINT_DIR_NAME
    ERROR_CODES
    ErrorCodeSchema
    FEATURES
    HandshakeSchema
    IpcEventSchema
    LAUNCH_OPTIONS_ENV
    LaunchBridgeOptionsSchema
    LIMITATION_CODES
    LimitationSchema
    LocatorSchema
    LogEntrySchema
    MAX_LAUNCH_OPTIONS_BYTES
    MAX_LINE_CHARS
    MAX_SCHEMA_CHARS
    MAX_SOCKET_PATH_BYTES
    Methods
    NetworkRecordSchema
    ObservationsSchema
    PROTOCOL_VERSION
    RecordedEventSchema
    REDACTED
    RefSchema
    ResolvedElementSchema
    RPC_ERROR
    RpcRequestSchema
    RpcResponseSchema
    SessionRoleSchema
    StepResultSchema
    TargetInfoSchema
    TargetKindSchema
    TargetSelectorSchema
    WaitConditionSchema
    anyGlobMatcher
    compactLimitations
    droppedLimitation
    encodeLine
    endpointDirectory
    envelopeSchema
    estimateTokens
    fitToTokens
    globMatcher
    handshakeFileName
    isMethodName
    isProtocolCompatible
    isSensitiveKey
    jsonByteSize
    mergeShape
    methodsAllowed
    ok
    parseLaunchOptions
    parseVersion
    redact
    redactedLimitation
    renderShape
    rpcError
    rpcResult
    shapeOf
    shapeTreeOf
    socketPath
    truncatedLimitation
    tupleShapeOf
    utf8Length