Function announceHandshake

  • Announce this SDK's version to the host (§6). Sends sdk-handshake eagerly (best-effort — the host may already be listening) AND replies to a host request-handshake (the robust path, mirroring the other request-* pulls). Idempotent; safe to call more than once. Returns an unsubscribe fn.

    Returns () => void