MCPcopy
hub / github.com/claude-code-best/claude-code / adoptResumedSessionFile

Function adoptResumedSessionFile

src/utils/sessionStorage.ts:1567–1571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1565 * later calls (compaction, exit cleanup) absorb SDK writes normally.
1566 */
1567export function adoptResumedSessionFile(): void {
1568 const project = getProject()
1569 project.sessionFile = getTranscriptPath()
1570 project.reAppendSessionMetadata(true)
1571}
1572
1573/**
1574 * 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.70

Tested by

no test coverage detected