export namespace Flag { export const OPENCODE_AUTO_SHARE = truthy("OPENCODE_AUTO_SHARE") function truthy(key: string) { const value = process.env[key]?.toLowerCase() return value === "true" || value === "1" } }