UNPKG

histoire

Version:

A fast story book powered by Vite

24 lines • 1.17 kB
import type { UiAgentRegistry } from '@histoire/shared'; /** Canonical published catalog, shared with task-runner. */ export declare const ACP_REGISTRY_URL = "https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json"; /** Platform user cache never writes binaries into project source. */ export declare function agentCacheDirectory(): string; /** Cached registry owner with injectable remote dependency for offline tests. */ export declare function createAgentRegistry(options?: { /** Override user cache for tests. */ cacheDir?: string; /** Remote boundary. */ fetch?: typeof fetch; /** Platform override for catalog availability. */ platform?: string; /** Architecture override for catalog availability. */ arch?: string; }): { load: (force?: boolean) => Promise<UiAgentRegistry>; /** Resolve only validated server-side registry definitions. */ distribution(id: string): Promise<import("./registry-schema.js").AgentDistribution>; /** Validated HTTPS logo URL of a registry entry, if any. */ iconUrl(id: string): Promise<string | undefined>; cacheDir: string; }; //# sourceMappingURL=registry.d.ts.map