termancy Guide Components Commands API

sys

sys - the operating system, as a command-line program needs it, grouped by concern: system, security, observability, distribution. Every file is also re-exported under a flat name (sys.dirs, sys.log, ...).

The module imports only std. Nothing here starts a thread, opens a socket, or writes a file unless the caller calls a function that says it does.

Declarations

systemDirectories, processes, signals, files, daemons: the OS as a program uses it.
securitySecure memory, path sandboxing, OAuth, WebAuthn.
sshSSH keys, signatures, and a server for terminal programs.
webA terminal in the browser: a page and a WebSocket server for terminal programs.
observabilityLogging, crash reports, phase timing, trace context, opt-in telemetry.
distributionSemantic versions, self-update, package manifests.

The full API reference