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

Function adoptResumedSessionFile

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

Source from the content-addressed store, hash-verified

1528 * later calls (compaction, exit cleanup) absorb SDK writes normally.
1529 */
1530export function adoptResumedSessionFile(): void {
1531 const project = getProject()
1532 project.sessionFile = getTranscriptPath()
1533 project.reAppendSessionMetadata(true)
1534}
1535
1536/**
1537 * 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