API reference

Deferred browser APIs

0/7Coverage0/7Strict (zero caveats)

These are browser platform APIs that are deliberately out of scope for a compiler that targets native CLI tools and microservices — there is no DOM, no browser permission model, and no service-worker lifecycle to hang them on. A few of them are interesting only as shapes: the same familiar surface could one day be re-backed by an OS-native implementation, and those rows note where that would genuinely earn its keep. Nothing on this page is implemented.

Exact Works, with caveats Not supported

Notifications API

Not supported
// not implemented

The Web Notifications API shows desktop notifications from a page. The Notification shape maps cleanly onto real OS notification systems — macOS Notification Center, Linux libnotify/notify-send — so a native reinterpretation would be a genuinely useful CLI capability. What stays out of scope is the browser side: permission prompts and service-worker-driven delivery. It is noted as a possible future native reinterpretation, not a committed target.

Storage API (localStorage / sessionStorage)

Not supported
// not implemented

The Web Storage API is the browser's synchronous key/value store. Its getItem/setItem/removeItem shape backs naturally onto a file-persisted native key/value store, with sessionStorage as an in-process sibling — a lighter-weight companion to a native storage layer and handy for CLI config and state persistence. It is noted as a possible future native reinterpretation, not a committed target.

Clipboard API

Not supported
// not implemented

The Clipboard API reads from and writes to the system clipboard through navigator.clipboard. That read/write maps onto the OS clipboard tools (macOS pbcopy/pbpaste, Linux xclip/wl-copy), which would be useful for CLI tooling; the async, permission-gated access model is the browser-specific part left behind. It is noted as a possible future native reinterpretation, not a committed target.

Push API

Not supported
// not implemented

The Push API delivers server-sent messages to a page even when it is not open. It requires a Service Worker plus browser push infrastructure, and there is no meaningful native reinterpretation of that model, so it is out of scope.

Service Worker API

Not supported
// not implemented

Service Workers are browser-only background scripts with their own install/activate/fetch lifecycle sitting between a page and the network. That model has no counterpart in a native binary, so it is out of scope.

Geolocation API

Not supported
// not implemented

The Geolocation API exposes the device's location through a browser permission prompt. It is a hardware sensor tied to that browser permission model, with nothing to reinterpret in a native CLI context, so it is out of scope.

Canvas / WebGL / WebGPU

Not supported
// not implemented

Canvas, WebGL, and WebGPU are the browser's 2D and GPU drawing surfaces. Graphics rendering is not part of a CLI or microservice target, so these are out of scope; direct framebuffer or hardware output is a separate track altogether rather than a reinterpretation of these APIs.