add automatic heap snapshots for high-memory cli processes (#20788)

This commit is contained in:
Dax
2026-04-02 22:34:33 -04:00
committed by GitHub
parent 8daeacc989
commit aa2239d5de
4 changed files with 66 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ function falsy(key: string) {
export namespace Flag {
export const OPENCODE_AUTO_SHARE = truthy("OPENCODE_AUTO_SHARE")
export const OPENCODE_AUTO_HEAP_SNAPSHOT = truthy("OPENCODE_AUTO_HEAP_SNAPSHOT")
export const OPENCODE_GIT_BASH_PATH = process.env["OPENCODE_GIT_BASH_PATH"]
export const OPENCODE_CONFIG = process.env["OPENCODE_CONFIG"]
export declare const OPENCODE_PURE: boolean