/** * Z.AI Search Adapter (DESIGN.md §5, §7, §11 — P2-03). * * Implements the real Z.AI Provider Descriptor with Search support. * The Adapter owns credentials, transport lifecycle, Provider field * mapping, and failure normalization. Shared execution owns cache and * retry policy, so Adapter invocations disable client-owned cache and * retries (`noCache: true, disableRetry: true`). * * Boundary rules (ARCHITECTURE.md §2): * - May import capability types, normalized errors, Provider-specific * transport (ZaiMcpClient), and Provider identity types. * - Must NOT import command presentation, output mode, or another * Provider's Adapter. * * Field mapping (DESIGN.md §7): * title -> title * link -> url * content -> summary * media -> source * publish_date -> date * * The Adapter sends only `search_query`, domain, recency, content size, * and location to the Provider. It NEVER sends count. */ import type { ProviderDescriptor, ZaiAdapterDependencies } from "../types.js"; /** * Build the Z.AI Provider Descriptor. The descriptor advertises the * Search Capability and constructs an Adapter whose `search` Capability * owns credentials, transport lifecycle, Provider field mapping, and * failure normalization. Construction is side-effect-free; transport is * built and torn down per invocation. */ export declare function createZaiDescriptor(dependencies?: ZaiAdapterDependencies): ProviderDescriptor; //# sourceMappingURL=adapter.d.ts.map