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

Function isCompactBoundaryMessage

src/utils/messages.ts:4608–4612  ·  view source on GitHub ↗
(
  message: Message | NormalizedMessage,
)

Source from the content-addressed store, hash-verified

4606 * Checks if a message is a compact boundary marker
4607 */
4608export function isCompactBoundaryMessage(
4609 message: Message | NormalizedMessage,
4610): message is SystemCompactBoundaryMessage {
4611 return message?.type === 'system' && message.subtype === 'compact_boundary'
4612}
4613
4614/**
4615 * Finds the index of the last compact boundary marker in the messages array

Callers 11

_temp3Function · 0.85
insertMessageChainMethod · 0.85
persistToRemoteMethod · 0.85
loadTranscriptFileFunction · 0.85
processSlashCommandFunction · 0.85
REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected