openpod

An opencode plugin that spins up a dedicated virtual machine for each session to isolate agent work.
git clone https://unitehenry.com/git/openpod.git
Log | Files | Refs | README

commit a1cbcd057a927ffb9cbe96860c28e380d85efbda
parent 4da1d4867b6c77f7e25a54de5821b124294b1f8e
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 25 Oct 2026 20:10:59 +0000

test(opencode): verify no lima instance created for non-git prompt

Diffstat:
Mopencode.test.ts | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/opencode.test.ts b/opencode.test.ts @@ -3,6 +3,7 @@ import { describe, it, expect, beforeEach, afterEach } from "vitest"; import * as fs from "node:fs"; import * as path from "node:path"; import * as os from "node:os"; +import { execSync } from "node:child_process"; import openpod from "./index"; describe("opencode", () => { @@ -65,6 +66,10 @@ describe("opencode", () => { expect(fs.existsSync(path.join(openpodRoot, session.id))).toBe(false); + // Verify no lima instance was created for this session + const listOutput = execSync("limactl list", { encoding: "utf8" }); + expect(listOutput).not.toContain(session.id); + // Clean up temp directory try { fs.rmSync(tempDir, { recursive: true, force: true });