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 04ff3b346a8af1ffc3e7ffbd63a1044d096fca66
parent de91a57473f642e92af1874b5a1b042dd67a15ca
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 18 Oct 2026 17:56:42 +0000

chore: install script

Diffstat:
A.gitignore | 3+++
Aindex.ts | 8++++++++
Ascripts/install | 15+++++++++++++++
3 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +node_modules +package.json +package-lock.json diff --git a/index.ts b/index.ts @@ -0,0 +1,8 @@ +import { Plugin } from "@opencode/plugin" + +export default Plugin.define({ + id: "openpod", + async setup(ctx) { + await ctx.storage.set("loaded", true) + }, +}) diff --git a/scripts/install b/scripts/install @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -euo pipefail + +if ! command -v node >/dev/null 2>&1; then + echo "Error: node is not installed" >&2 + exit 1 +fi + +if [[ ! "$(node -v)" =~ ^v24\. ]]; then + echo "Error: Node.js version 24 is required" >&2 + exit 1 +fi + +npm install @opencode/plugin