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 04be6bde4a5112c2b4400f02a95c2e58476d9e25
parent c20a215ae54be5654aa7470657947d1edc00a194
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 25 Oct 2026 02:22:45 +0000

refactor(cleanup): rename lima helper functions to stopLimaInstance and deleteLimaInstance

Diffstat:
Mcontext/cleanup.ts | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/context/cleanup.ts b/context/cleanup.ts @@ -12,7 +12,7 @@ export function initCleanup(openpodRoot: string, logger?: Logger): Cleanup { const log = (message: string, level?: string) => logger?.log?.(message, level); - function stopLima(limaName: string): void { + function stopLimaInstance(limaName: string): void { // best-effort stop (ignore errors) try { spawnSync("limactl", ["stop", limaName, "--force"], { stdio: "ignore" }); @@ -22,7 +22,7 @@ export function initCleanup(openpodRoot: string, logger?: Logger): Cleanup { } } - function deleteLima(limaName: string): void { + function deleteLimaInstance(limaName: string): void { // delete the lima instance try { const result = spawnSync("limactl", ["delete", limaName, "--force"], { @@ -56,8 +56,8 @@ export function initCleanup(openpodRoot: string, logger?: Logger): Cleanup { log(`[cleanup] starting for ${sessionID}`); - stopLima(limaName); - deleteLima(limaName); + stopLimaInstance(limaName); + deleteLimaInstance(limaName); removePodDirectory(podDir); }