MCPcopy Create free account
hub / github.com/Noumena-Network/code / getHostPlatformForAnalytics

Function getHostPlatformForAnalytics

src/utils/env.ts:332–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 * process.platform reports the container OS but the actual host platform differs.
331 */
332export function getHostPlatformForAnalytics(): Platform {
333 const override = process.env.CLAUDE_CODE_HOST_PLATFORM
334 if (override === 'win32' || override === 'darwin' || override === 'linux') {
335 return override
336 }
337 return env.platform
338}

Callers 3

logUnaryPermissionEventFunction · 0.85
user.tsFile · 0.85
metadata.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected