fix: Provide OPENCODE & AGENT env vars (#3843)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Stephen Collings
2025-11-04 01:25:35 +00:00
committed by opencode
parent af9a1797b5
commit b275e18d28
3 changed files with 12 additions and 2 deletions

View File

@@ -62,7 +62,8 @@ const cli = yargs(hideBin(process.argv))
})(),
})
process.env["OPENCODE"] = "1"
process.env.AGENT = "1"
process.env.OPENCODE = "1"
Log.Default.info("opencode", {
version: Installation.VERSION,