MCPcopy Create free account
hub / github.com/Kevin7Qi/codex-collab / runFilePath

Function runFilePath

src/threads.ts:262–264  ·  view source on GitHub ↗
(stateDir: string, runId: string)

Source from the content-addressed store, hash-verified

260}
261
262function runFilePath(stateDir: string, runId: string): string {
263 return join(runsDir(stateDir), `${runId}.json`);
264}
265
266export function generateRunId(): string {
267 return `run-${Date.now().toString(36)}-${randomBytes(3).toString("hex")}`;

Callers 4

createRunFunction · 0.85
loadRunFunction · 0.85
updateRunFunction · 0.85
removeRunsForThreadFunction · 0.85

Calls 1

runsDirFunction · 0.85

Tested by

no test coverage detected