commit 5d0cbf1730d43324a9ee24fed87e75cd8808cc67
parent ba45b958cc9181d3a5b1ed5292b9e43700957287
Author: Henry Unite <unitehenry@gmail.com>
Date: Mon, 26 Oct 2026 04:53:30 +0000
chore: debug shell test
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/opencode.test.ts b/opencode.test.ts
@@ -229,6 +229,9 @@ describe("opencode", () => {
await new Promise((r) => setTimeout(r, 100));
}
+ console.log('[SESSION ID] ' + session.id);
+ console.log(execSync('limactl list'), { stdio: "ignore" }.stdout);
+
// Call shell.create — this triggers ctx.shell.hook("create.before"),
// which wraps the command with `limactl shell ... bash -c 'hostname'`
// so it executes inside the session's lima VM.