MCPcopy
hub / github.com/garrytan/gstack / HostProfile

Interface HostProfile

browse/src/stealth.ts:49–52  ·  view source on GitHub ↗

* Host hardware values resolved at browser-manager startup. Values come * from the gbd `host_profile.go` detection (system_profiler + sysctl * on macOS), passed through the GSTACK_* env vars. Each field falls * back to a documented default if the env var is missing or unparseable.

Source from the content-addressed store, hash-verified

47 * back to a documented default if the env var is missing or unparseable.
48 */
49interface HostProfile {
50 hwConcurrency: number;
51 deviceMemory: number;
52}
53
54// Exported for the clamp/fallback unit test. The platform spoof is owned by
55// the UA-CH cmdline switch in buildGStackLaunchArgs (which reads GSTACK_PLATFORM

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected