MCPcopy
hub / github.com/codeaashu/claude-code / setPendingHint

Function setPendingHint

src/utils/claudeCodeHints.ts:155–159  ·  view source on GitHub ↗
(hint: ClaudeCodeHint)

Source from the content-addressed store, hash-verified

153
154/** Raw store write. Callers should gate first (see module comment). */
155export function setPendingHint(hint: ClaudeCodeHint): void {
156 if (shownThisSession) return
157 pendingHint = hint
158 notify()
159}
160
161/** Clear the slot without flipping the session flag — for rejected hints. */
162export function clearPendingHint(): void {

Callers 1

maybeRecordPluginHintFunction · 0.85

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected