interface PingRequest

Client → daemon: liveness/identity probe.

const ping: PingRequest = { type: 'ping' };
ping.type; // 'ping' — the daemon answers with a `pong` chunk

Properties

type: "ping"

Discriminator; always 'ping'.

Usage

import { type PingRequest } from "lib/commands/daemon/protocol.ts";