@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface RegistrySyncConfig

    interface RegistrySyncConfig {
        client: RegistryClient;
        pollIntervalMs?: number;
        indexes?: { agents?: boolean; authorizations?: boolean };
        cursorStore?: CursorStore;
        onError?: (error: Error) => void;
    }
    Index

    Properties

    RegistryClient instance to use for API calls.

    pollIntervalMs?: number

    Polling interval in milliseconds. Default: 30000 (30s).

    indexes?: { agents?: boolean; authorizations?: boolean }

    Choose which indexes to maintain.

    Type Declaration

    • Optionalagents?: boolean

      Agent inventory profiles. Default: true.

    • Optionalauthorizations?: boolean

      Authorization entries (agent→domain mappings). Default: true.

    cursorStore?: CursorStore

    Optional cursor store for persisting the feed cursor between restarts.

    onError?: (error: Error) => void

    Called on errors during polling/bootstrap.