MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / currentDaemonScopeId

Function currentDaemonScopeId

apps/cli/src/daemon-state.ts:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61};
62
63export const currentDaemonScopeId = (): string => {
64 const explicitScope = process.env.EXECUTOR_SCOPE_DIR?.trim();
65 if (explicitScope && explicitScope.length > 0) {
66 return `scope:${resolve(explicitScope)}`;
67 }
68 return `cwd:${resolve(process.cwd())}`;
69};
70
71// ---------------------------------------------------------------------------
72// Paths

Callers 4

resolveDaemonTargetFunction · 0.90
runDaemonSessionFunction · 0.90

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected