MCPcopy Create free account
hub / github.com/cortexkit/magic-context / defaultDeps

Function defaultDeps

packages/cli/src/lib/opencode-detect.ts:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48function defaultDeps(): DetectDeps {
49 return {
50 exists: existsSync,
51 home: homedir(),
52 platform: process.platform,
53 env: process.env,
54 onPath: findOnPath,
55 };
56}
57
58/** Stock OpenCode CLI location (~/.opencode/bin), OS-specific binary name. */
59function stockCliBinary(d: DetectDeps): string {

Callers 2

detectOpenCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected