Client → daemon: liveness/identity probe.
const ping: PingRequest = { type: 'ping' }; ping.type; // 'ping' — the daemon answers with a `pong` chunk
type: "ping"
Discriminator; always 'ping'.
Client → daemon: liveness/identity probe.
const ping: PingRequest = { type: 'ping' }; ping.type; // 'ping' — the daemon answers with a `pong` chunk
type: "ping"
Discriminator; always 'ping'.
import { type PingRequest } from "lib/commands/daemon/protocol.ts";