MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / trajectoryPath

Function trajectoryPath

src/agent/trajectory.ts:52–55  ·  view source on GitHub ↗
(projectRoot: string)

Source from the content-addressed store, hash-verified

50}
51
52function trajectoryPath(projectRoot: string): string {
53 const hash = createHash('sha1').update(projectRoot).digest('hex').slice(0, 16);
54 return path.join(os.homedir(), '.qodex', 'trajectories', `${hash}.jsonl`);
55}
56
57/**
58 * Append one successful trajectory. Best-effort: a write failure is logged and

Callers 3

recordTrajectoryFunction · 0.85
countTrajectoriesFunction · 0.85
getTrajectoryDatasetPathFunction · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected