ACP v2 TypeScript SDK — UNSTABLE DRAFT - v2.0.0
    Preparing search index...

    Class AgentProtocolRouterExperimental

    Routes a client connection to a version-specific ACP agent implementation, including the experimental draft ACP v2 API.

    The router consumes the first wire item, which must be an initialize request or a single-entry batch containing one. Endpoints exposing v2 select the highest configured version at or below the requested version. V1-only endpoints retain the legacy fallback to v1. Only initialize params and optional batch framing are normalized. Later wire items are forwarded unchanged.

    Implements

    Index