MCPcopy Index your code
hub / github.com/codeaashu/claude-code / consumePostCompaction

Function consumePostCompaction

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

Source from the content-addressed store, hash-verified

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

Callers 1

logAPISuccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected