Make resolver report the format-option origins recorded by sources.
A resolver built by canonicalFormatLegacyResolverFromRoutes carries
each route's seller_declared origin, which AgentClient reads to rewrite
options the seller never declared on the canonical wire. A resolver that
wraps or composes it is a new function and would otherwise carry none.
Returns resolver itself, so the call can wrap a composition inline.
Make
resolverreport the format-option origins recorded bysources.A resolver built by canonicalFormatLegacyResolverFromRoutes carries each route's
seller_declaredorigin, whichAgentClientreads to rewrite options the seller never declared on the canonical wire. A resolver that wraps or composes it is a new function and would otherwise carry none. Returnsresolveritself, so the call can wrap a composition inline.