MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/executors/codex.executor.ts:195–199  ·  view source on GitHub ↗
(config: CodexConfig = {})

Source from the content-addressed store, hash-verified

193 * Keep an executor-provided config path only when it is genuinely explicit.
194 * Codex's default path is process-global, so it must be recomputed from the
195 * provider's effective env (CODEX_HOME/HOME) for each probe.
196 */
197function getExplicitMcpConfigPath(configPath: string | null): string | undefined {
198 if (!configPath) return undefined;
199 const processDefault = path.join(getCodexConfigDir(), 'config.toml');
200 return path.resolve(configPath) === path.resolve(processDefault) ? undefined : configPath;
201}
202

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected