isRemoteDesktopInstallState (shared/remote-desktop-install.ts)

imcodes · shared/remote-desktop-install.ts · typescript · MIT
infra, tag:knn-classified

Defines constants and type guard for remote‑desktop installation states and error codes across platforms.

// Source: https://github.com/im4codes/imcodes | License: MIT | Copyright 2026 IM.codes
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Remote-desktop worker installation on a normal (FULL) daemon.
 *
 * A controlled node release stages the native worker through the atomic
 * self-upgrade script, but the first-install executable is intentionally a
 * single file and may need to fetch its same-version sidecars. A normal daemon
 * installed from npm has the same on-demand need. These types carry that request
 * and its outcome; the signalling protocol in `remote-desktop.ts` is untouched.
 */

/**
 * Advertised by a daemon that could serve remote control but has no worker
 * installed yet. It is deliberately distinct from `REMOTE_DESKTOP_CAPABILITY`,
 * which means "re

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key