MCPcopy Create free account
hub / github.com/tiann/hapi / resolveWindowsCodexCommand

Function resolveWindowsCodexCommand

cli/src/codex/utils/codexExecutable.ts:59–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function resolveWindowsCodexCommand(): CodexCommand {
60 for (const candidate of findWhereResults('codex')) {
61 const resolved = resolveWindowsCandidate(candidate);
62 if (resolved) {
63 return resolved;
64 }
65 }
66
67 return { command: 'codex', args: [] };
68}
69
70export function resolveCodexCommand(): CodexCommand {
71 if (process.platform !== 'win32') {

Callers 1

resolveCodexCommandFunction · 0.85

Calls 2

resolveWindowsCandidateFunction · 0.85
findWhereResultsFunction · 0.70

Tested by

no test coverage detected