MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / markPostCompaction

Function markPostCompaction

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

Source from the content-addressed store, hash-verified

771/** Mark that a compaction just occurred. The next API success event will
772 * include isPostCompaction=true, then the flag auto-resets. */
773export function markPostCompaction(): void {
774 STATE.pendingPostCompaction = true
775}
776
777/** Consume the post-compaction flag. Returns true once after compaction,
778 * 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