()
| 298 | } |
| 299 | |
| 300 | function isKVM(): boolean { |
| 301 | if (platform() !== "linux") return false; |
| 302 | try { |
| 303 | const sysVendor = readFileSync("/sys/class/dmi/id/sys_vendor", "utf-8").trim(); |
| 304 | return sysVendor === "QEMU" || sysVendor.includes("KVM"); |
| 305 | } catch { |
| 306 | return false; |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Gemini managed-agent sandbox — Google's Managed Agents runtime (the |
no outgoing calls
no test coverage detected