fix(cli): restore KILO env var (regression from #8808)

This commit is contained in:
kiloconnect[bot]
2026-05-04 13:18:57 +00:00
parent 7923c87f24
commit db26be6b5d
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@kilocode/cli": patch
---
Restore the `KILO=1` environment variable so plugins and tooling can distinguish the Kilo CLI from upstream OpenCode.
+1 -1
View File
@@ -135,7 +135,7 @@ let cli = yargs(args) // kilocode_change
Heap.start()
process.env.AGENT = "1"
process.env.OPENCODE = "1"
process.env.KILO = "1"
process.env.KILO_PID = String(process.pid)
Log.Default.info("opencode", {