@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface ResolvedAgentScope

    Result of resolving a single agent's authorization scope against an adagents.json file. properties are the locally-resolved entries (in-file). cross_publisher selectors point at other publishers' files; resolving them to concrete Property objects requires fetching those publishers' adagents.json separately. unresolvable communicates why the agent's scope is empty when it is.

    Index
    properties: Property[]

    Locally-resolved properties (subset of top-level properties[], or inline).

    Cross-publisher selectors the caller must resolve against other files. Preserved verbatim from the source file — compact publisher_domains[] entries are NOT expanded here. Use ResolvedAgentScope.cross_publisher_expanded when iterating by publisher domain.

    cross_publisher_expanded: SinglePublisherPropertySelector[]

    Same selectors as ResolvedAgentScope.cross_publisher with every compact-form entry fanned out to its singular equivalents. A selector with publisher_domains: [a,b,c] contributes three entries here, one per domain, each carrying the same predicate ('all' or 'by_tag' + property_tags). Callers that index by publisher_domain should iterate this array, not cross_publisher — see adcp#4504.

    Optionalmatched_entry

    matched_entry?: AuthorizedAgent

    The matched agent entry, or undefined if no entry matched the agent URL. When several entries match (AdCP 3.3+), the first in document order; see ResolvedAgentScope.matched_entries.

    matched_entries?: AuthorizedAgent[]

    Every entry that matched the agent URL, in document order. At AdCP 3.3 or later more than one entry can match (an exact entry and an origin-only entry, say); the scope above is the union of theirs. Set at AdCP 3.3 or later whenever an entry matched; omitted below 3.3, where at most one entry can resolve.

    Per-entry fields the resolver does not combine are read from here. signing_keys combines by the rule in adcontextprotocol/adcp#9016, over the entries that match the agent AND authorize the signed message's scope (they resolve, are in their effective window, cover the country and the property). Use resolvePublisherSigningKeyPin, which takes that scope; this list alone is not scope-filtered.

    • Pinned only if every such entry pins. If any of them has no signing_keys (absent or empty), the publisher does not pin the agent for that message. An entry that authorizes nothing for the message never pins or unpins it.
    • The allowed keys are the union. When every such entry pins, the agent may sign with a key pinned by any of them.
    • Per property. A message about several properties must satisfy each property's pin, as it must satisfy each publisher's.

    The AAO directory's signing_keys_pinned is a scope-agnostic summary of the same rule.

    Why the resolution returned an empty result, when it did.