{ "name": "bare-os-ctx-bare", "section": 7, "title": "ctx.bare library and drive bundles", "synopsis": ["# reference — not a shell command"], "description": "Documents BARE_OS_BARE_MODULES and BARE_OS_BARE_DRIVE_BUNDLES for the booter ctx.bare registry. In-image scripts (AsyncFunction) use ctx.bare. instead of import(). Keys come from host dynamic import of packages listed in packages/bare-os-booter/lib/bare-module-manifest.json, then optional merge from trusted IIFE bundles under /lib/bare/bundles/ on the system image (see manifest.json there). Set BARE_OS_BARE_MODULES=0 to omit ctx.bare entirely. Set BARE_OS_BARE_DRIVE_BUNDLES=0 to skip executing drive bundles (host imports only). Rebuild bundles with npm run build -w bare-os-bare-libs.", "options": [], "keywords": [ "BARE_OS_BARE_MODULES", "BARE_OS_BARE_DRIVE_BUNDLES", "ctx.bare", "bare-module-manifest", "bare-os-bare-libs" ], "environment": [ "BARE_OS_BARE_MODULES — set to 0 or false to disable ctx.bare (hardened sessions).", "BARE_OS_BARE_DRIVE_BUNDLES — set to 0 or false to skip loading /lib/bare/bundles/*.js into ctx.bare." ], "seeAlso": [ { "name": "bare-os-developer-guide", "section": 7 } ], "bareOsNotes": "See developer-guide/05-modules-and-imports.md and 12-bare-modules-and-pear-ecosystem.md.", "examples": [] }