chore: add OPENCODE env var (#1780)

pull/1778/head
Stibbs 2025-08-11 15:56:42 +10:00 committed by GitHub
parent 62b8c7aee0
commit 8ed72ae087
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

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