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 5dacac911ae2ecae69032e1833198cbb98253ef9
parent f9c81dd597e332e1e07e3d6d7364bda8f9238dc9
Author: Henry Unite <unitehenry@gmail.com>
Date:   Mon, 19 Oct 2026 19:55:35 +0000

refactor: correct single backslash escaping
Diffstat:
Mshell.ts | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shell.ts b/shell.ts @@ -28,8 +28,8 @@ export async function registerShell( if (limaName) { const originalCommand = event.command; - const escapedCwd = event.cwd.replace(/'/g, "'\\''"); - const escapedCmd = originalCommand.replace(/'/g, "'\\''"); + const escapedCwd = event.cwd.replace(/'/g, "'\''"); + const escapedCmd = originalCommand.replace(/'/g, "'\''"); event.command = `limactl shell --preserve-env --workdir='${escapedCwd}' ${limaName} bash -c '${escapedCmd}'`; writeLog( `redirected shell command for lima ${limaName} (cwd=${event.cwd})`,