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

Function getBaseCommand

packages/server/src/executors/codex.executor.ts:185–187  ·  view source on GitHub ↗

* 获取基础命令

()

Source from the content-addressed store, hash-verified

183}
184
185function getCodexConfigPathForEnv(env: NodeJS.ProcessEnv, explicitConfigPath?: string): string {
186 if (explicitConfigPath) return path.resolve(explicitConfigPath);
187 const codexHome = env.CODEX_HOME
188 || path.join(env.HOME || env.USERPROFILE || os.homedir(), '.codex');
189 return path.join(codexHome, 'config.toml');
190}

Callers 1

buildCommandBuilderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected