MCPcopy
hub / github.com/opactorai/Claudable / applyChanges

Function applyChanges

lib/services/cli/codex.ts:1029–1038  ·  view source on GitHub ↗
(
  projectId: string,
  projectPath: string,
  instruction: string,
  model: string = CODEX_DEFAULT_MODEL,
  _sessionId?: string,
  requestId?: string,
)

Source from the content-addressed store, hash-verified

1027}
1028
1029export async function applyChanges(
1030 projectId: string,
1031 projectPath: string,
1032 instruction: string,
1033 model: string = CODEX_DEFAULT_MODEL,
1034 _sessionId?: string,
1035 requestId?: string,
1036): Promise<void> {
1037 await executeCodex(projectId, projectPath, instruction, model ?? getDefaultModelForCli('codex'), requestId, false);
1038}

Callers

nothing calls this directly

Calls 2

getDefaultModelForCliFunction · 0.90
executeCodexFunction · 0.85

Tested by

no test coverage detected