MCPcopy
hub / github.com/colbymchenry/codegraph / daemonInternalSet

Function daemonInternalSet

src/mcp/index.ts:98–101  ·  view source on GitHub ↗

Whether this process was spawned to BE the detached daemon.

()

Source from the content-addressed store, hash-verified

96
97/** Whether this process was spawned to BE the detached daemon. */
98function daemonInternalSet(): boolean {
99 const raw = process.env[DAEMON_INTERNAL_ENV];
100 return !!raw && raw !== '0' && raw.toLowerCase() !== 'false';
101}
102
103/**
104 * Resolve the project root the daemon machinery should key on. Returns

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected