MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / adoptResumedSessionFile

Function adoptResumedSessionFile

source code/utils/sessionStorage.ts:1532–1536  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1530 * later calls (compaction, exit cleanup) absorb SDK writes normally.
1531 */
1532export function adoptResumedSessionFile(): void {
1533 const project = getProject()
1534 project.sessionFile = getTranscriptPath()
1535 project.reAppendSessionMetadata(true)
1536}
1537
1538/**
1539 * Append a context-collapse commit entry to the transcript. One entry per

Callers 3

onSelectFunction · 0.85
REPLFunction · 0.85

Calls 3

getProjectFunction · 0.85
getTranscriptPathFunction · 0.85

Tested by

no test coverage detected