fix: kill orphaned MCP child processes and expose OPENCODE_PID on shu… (#15516)

This commit is contained in:
ryanwyler
2026-03-01 05:38:17 -07:00
committed by GitHub
parent 38704acacd
commit c4c0b23bff
3 changed files with 39 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ let cli = yargs(hideBin(process.argv))
process.env.AGENT = "1"
process.env.OPENCODE = "1"
process.env.OPENCODE_PID = String(process.pid)
Log.Default.info("opencode", {
version: Installation.VERSION,