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

Function markPostCompaction

src/bootstrap/state.ts:771–773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

769/** Mark that a compaction just occurred. The next API success event will
770 * include isPostCompaction=true, then the flag auto-resets. */
771export function markPostCompaction(): void {
772 STATE.pendingPostCompaction = true
773}
774
775/** Consume the post-compaction flag. Returns true once after compaction,
776 * then returns false until the next compaction. */

Callers 4

callFunction · 0.85
compactConversationFunction · 0.85
autoCompactIfNeededFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected