host

command
v0.2.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 62 Imported by: 0

Documentation

Overview

host is the runner. It loads a package whose entrypoint is a SOURCE FILE, runs it inside an interpreter that is itself a wasm module, and executes each declared host command on the guest's behalf.

The guest gets no filesystem, no environment and no network. NO WithFSConfig. NO WithEnv. The one exception is the Python interpreter, which needs its standard library: it gets a READ-ONLY mount of that directory and nothing else (see guestConfig).

Interpreters are downloaded on first use against a pinned digest and are never compiled into this binary (interpreters.go).

host [--approve] [--journal FILE] <package-dir> [script args...]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL