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

Function consumePostCompaction

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

Source from the content-addressed store, hash-verified

777/** Consume the post-compaction flag. Returns true once after compaction,
778 * then returns false until the next compaction. */
779export function consumePostCompaction(): boolean {
780 const was = STATE.pendingPostCompaction
781 STATE.pendingPostCompaction = false
782 return was
783}
784
785export function getLastInteractionTime(): number {
786 return STATE.lastInteractionTime

Callers 1

logAPISuccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected