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

Function resolveClient

apps/local/src/installation.ts:22–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20// hosting apps/local (`executor web`, `daemon run --foreground`, stdio MCP)
21// is the CLI. Mirrors resolveSurface in ./analytics.ts.
22const resolveClient = (): SurfaceClient =>
23 process.env.EXECUTOR_CLIENT === "desktop" ? "desktop" : "cli";
24
25export const CHANNEL: InstallationChannel = resolveChannel(LOCAL_VERSION);
26export const VERSION: string = LOCAL_VERSION;

Callers 1

installation.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected