MCPcopy Index your code
hub / github.com/codeaashu/claude-code / removeExtraFields

Function removeExtraFields

src/utils/sessionStorage.ts:1814–1821  ·  view source on GitHub ↗
(
  transcript: TranscriptMessage[],
)

Source from the content-addressed store, hash-verified

1812}
1813
1814export function removeExtraFields(
1815 transcript: TranscriptMessage[],
1816): SerializedMessage[] {
1817 return transcript.map(m => {
1818 const { isSidechain, parentUuid, ...serializedMessage } = m
1819 return serializedMessage
1820 })
1821}
1822
1823/**
1824 * Splice the preserved segment back into the chain after compaction.

Callers 4

convertToLogOptionFunction · 0.85
loadFullLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected