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

Function clearPendingHint

source code/utils/claudeCodeHints.ts:164–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162
163/** Clear the slot without flipping the session flag — for rejected hints. */
164export function clearPendingHint(): void {
165 if (pendingHint !== null) {
166 pendingHint = null
167 notify()
168 }
169}
170
171/** Flip the once-per-session flag. Call only when a dialog is actually shown. */
172export function markShownThisSession(): void {

Callers 1

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected