MCPcopy Create free account
hub / github.com/EvoMap/evolver / getMarkedSessionsPath

Function getMarkedSessionsPath

src/adapters/scripts/evolver-session-start.js:383–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381// trace dir so both collection ledgers share one home. The env override keeps
382// tests hermetic and lets an operator relocate the ledger.
383function getMarkedSessionsPath() {
384 if (process.env.EVOLVER_MARKED_SESSIONS_FILE) return process.env.EVOLVER_MARKED_SESSIONS_FILE;
385 const dir = process.env.EVOLVER_SETTINGS_DIR
386 || process.env.EVOLVER_SESSION_STATE_DIR
387 || path.join(os.homedir(), '.evolver');
388 return path.join(dir, 'marked-sessions.jsonl');
389}
390
391// Pull the tool's session_id out of the hook's stdin payload. Claude Code,
392// Codex, and Cursor all pass `session_id` (Claude Code / Cursor) on the

Callers 1

recordMarkedSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected