/** * ACP Registry integration. Resolves curated ACP-compatible agents (for * example the registry-backed `Codex CLI` and `Claude Agent` adapters) from the * ACP Registry so they can drive the generic ACP front door. The install * directory is injectable for deterministic testing. * * Registry source: https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json */ import { Effect } from "effect"; import { HttpClient } from "effect/unstable/http"; export declare const ACP_REGISTRY_URL = "https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json"; export type AcpRegistryAgent = { id: string; name?: string; version?: string; description?: string; distribution?: Record; }; export type AcpRegistry = { agents: AcpRegistryAgent[]; }; export type InstalledAcpAdapter = { id: string; name: string; version: string; distribution: Record; installedAt: string; metadataPath: string; }; export declare function fetchAcpRegistry(url?: string): Effect.Effect; export type InstallAcpAdaptersOptions = { agentIds: string[]; installDir: string; url?: string; }; export declare function installAcpAdapters(options: InstallAcpAdaptersOptions): Effect.Effect;