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

Function removeExtraFields

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

Source from the content-addressed store, hash-verified

1849}
1850
1851export function removeExtraFields(
1852 transcript: TranscriptMessage[],
1853): SerializedMessage[] {
1854 return transcript.map(m => {
1855 const { isSidechain, parentUuid, ...serializedMessage } = m
1856 return serializedMessage
1857 })
1858}
1859
1860/**
1861 * 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