MCPcopy Create free account
hub / github.com/WJX20/claude-code / isCompactBoundaryMessage

Function isCompactBoundaryMessage

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

Source from the content-addressed store, hash-verified

4645 * Checks if a message is a compact boundary marker
4646 */
4647export function isCompactBoundaryMessage(
4648 message: Message | NormalizedMessage,
4649): message is SystemCompactBoundaryMessage {
4650 return message?.type === 'system' && message.subtype === 'compact_boundary'
4651}
4652
4653/**
4654 * 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