MCPcopy
hub / github.com/codeaashu/claude-code / isRunningOnHomespace

Function isRunningOnHomespace

src/utils/envUtils.ts:118–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 * Check if running on Homespace (ant-internal cloud environment)
117 */
118export function isRunningOnHomespace(): boolean {
119 return (
120 process.env.USER_TYPE === 'ant' &&
121 isEnvTruthy(process.env.COO_RUNNING_ON_HOMESPACE)
122 )
123}
124
125/**
126 * Conservative check for whether Claude Code is running inside a protected

Callers 8

showSetupScreensFunction · 0.85
OnboardingFunction · 0.85
ConfigFunction · 0.85
ClaudeInChromeMenuFunction · 0.85
authStatusFunction · 0.85
_tempFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected