AAI SDK
    Preparing search index...

    Function buildClientConfig

    • Build the GET /client-config response body from an agent-shaped config.

      Every server that serves the endpoint (self-hosted host/server.ts, the platform's per-slug handler, the CLI dev server) goes through this, so a surface rule can't drift between them.

      Parameters

      • src: { greeting?: string; name?: string; sessionUrl?: string }

      Returns { greeting?: string; name?: string; sessionUrl?: string }