chore: add OPENCODE env var (#1780)

This commit is contained in:
Stibbs
2025-08-11 15:56:42 +10:00
committed by GitHub
parent 62b8c7aee0
commit 8ed72ae087

View File

@@ -58,6 +58,8 @@ const cli = yargs(hideBin(process.argv))
})(), })(),
}) })
process.env["OPENCODE"] = "1"
Log.Default.info("opencode", { Log.Default.info("opencode", {
version: Installation.VERSION, version: Installation.VERSION,
args: process.argv.slice(2), args: process.argv.slice(2),