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

Function markPostCompaction

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

Source from the content-addressed store, hash-verified

763/** Mark that a compaction just occurred. The next API success event will
764 * include isPostCompaction=true, then the flag auto-resets. */
765export function markPostCompaction(): void {
766 STATE.pendingPostCompaction = true
767}
768
769/** Consume the post-compaction flag. Returns true once after compaction,
770 * 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