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 cb6caec50fd9dff7a42a62c4b2ec4510967b124c
parent 32bd6072c69f0fdf27caf55cc02b526fabba852a
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 25 Oct 2026 00:29:32 +0000

refactor(prompt): remove comments explaining logic

- Remove numbered step comments (1., 2., 3., 5., 6.) from handle()
- Code is now self-explanatory after prior simplifications

Diffstat:
Mprompt/handle.ts | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/prompt/handle.ts b/prompt/handle.ts @@ -104,7 +104,6 @@ export function handle(params: HandleParams): void { return true; } - // 1. Check if git is enabled const gitEnabled = isGitEnabled(dir); logger.log(`session ${sessionId} prompt - gitEnabled: ${gitEnabled}`); @@ -125,14 +124,12 @@ export function handle(params: HandleParams): void { logger.log(`${target} already exists`); move(sessionId, target); } else { - // 2. Check if origin remote exists const originUrl = getOriginUrl(dir); if (!originUrl) { logger.log(`no origin remote configured`); return; } - // 3. Clone repo from origin to target dir if necessary (no need to clone remotes) logger.log(`cloning from origin ${originUrl} -> ${target}`); if (!cloneProject(originUrl, target)) { return; @@ -145,12 +142,10 @@ export function handle(params: HandleParams): void { logger.log(`already in ${target} directory`); } - // 5. Create lima instance if necessary if (!limaInstanceExists(sessionId)) { createLimaInstance(sessionId, target); } - // 6. Start lima instance startLimaInstance(sessionId); }