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 387358788ee1505712f9b4b801e084027fca91f5
parent eec758f353fd1f68ada655a3c51b516496ab2754
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sat, 24 Oct 2026 23:35:44 +0000

refactor(command): extract clear-openpod to COMMAND_NAME constant

- Define COMMAND_NAME = "clear-openpod" at top of command/index.ts
- Use the constant for the command name in registerCommand
- No behavior change

Diffstat:
Mcommand/index.ts | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/command/index.ts b/command/index.ts @@ -4,6 +4,8 @@ import type { OpenpodContext } from "../context"; import { clear } from "./clear"; +const COMMAND_NAME = "clear-openpod"; + export async function registerCommand( ctx: Plugin.Context, deps: OpenpodContext, @@ -13,7 +15,7 @@ export async function registerCommand( await ctx.command.transform((editor) => { editor.add({ - name: "clear-openpod", + name: COMMAND_NAME, description: "Stop and delete all openpod Lima instances and remove the entire ~/.local/share/openpod directory", execute: async ({ sessionID }) => {