Compare commits

..

2 Commits

Author SHA1 Message Date
d11df74ecd Add --enable-kernel-install to container start 2026-02-24 10:23:57 -08:00
7d7b621423 4 2026-02-24 09:59:15 -08:00
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@because/sandlot", "name": "@because/sandlot",
"version": "0.0.3", "version": "0.0.4",
"description": "Sandboxed, branch-based development with Claude", "description": "Sandboxed, branch-based development with Claude",
"type": "module", "type": "module",
"bin": { "bin": {

View File

@ -236,9 +236,9 @@ export async function start(): Promise<void> {
export async function ensure(log?: (msg: string) => void): Promise<void> { export async function ensure(log?: (msg: string) => void): Promise<void> {
requireContainer() requireContainer()
// Ensure the container daemon is running // Ensure the container daemon is running (--enable-kernel-install skips interactive prompt)
if (DEBUG) await $`container system start`.nothrow() if (DEBUG) await $`container system start --enable-kernel-install`.nothrow()
else await $`container system start`.nothrow().quiet() else await $`container system start --enable-kernel-install`.nothrow().quiet()
const s = await status() const s = await status()
if (s === "running") return if (s === "running") return