12 lines
823 B
Markdown
12 lines
823 B
Markdown
# /lib/bare (system image)
|
|
|
|
Self-contained **`ctx.bare` support** on the system Hyperdrive:
|
|
|
|
- **`bare-module-manifest.json`** — copy of the booter manifest (same keys and packages as host resolution).
|
|
- **`manifest.json`** — drive loader index: `bundles` lists IIFE paths that assign into `globalThis.__bare_os_stdlib__`; `bundleStats` summarizes esbuild success vs stub-only placeholders.
|
|
- **`bundles/*.js`** — one file per manifest row. Successful builds are full IIFE bundles; failures are no-op stubs (see file header). Regenerate with `npm run build -w bare-os-bare-libs`.
|
|
|
|
At boot the booter runs **drive bundles first**, then (unless **`BARE_OS_BARE_HOST_IMPORTS=0`**) fills any missing keys via host `import()`.
|
|
|
|
Trusted image only: executing these bundles is equivalent to running seeded `/bin` utilities.
|