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

Function isBareMode

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

Source from the content-addressed store, hash-verified

89 * — notably startKeychainPrefetch() at main.tsx top-level.
90 */
91export function isBareMode(): boolean {
92 return (
93 isEnvTruthy(process.env.NCODE_SIMPLE) ||
94 isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE) ||
95 process.argv.includes('--bare')
96 )
97}
98
99/**
100 * Parses an array of environment variable strings into a key-value object

Callers 15

context.tsFile · 0.85
submitMessageMethod · 0.85
startDeferredPrefetchesFunction · 0.85
runFunction · 0.85
logTenguInitFunction · 0.85
setupFunction · 0.85
runStartupPrefetchesFunction · 0.85
envUtils.test.tsFile · 0.85
isAnthropicAuthEnabledFunction · 0.85
getAuthTokenSourceFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.70

Tested by

no test coverage detected